Patreon.API.V2.Resource.Campaign (patreon v0.2.0)

Link to this section Summary

Link to this section Types

Specs

t() :: %Patreon.API.V2.Resource.Campaign{
  created_at: DateTime.t(),
  creation_name: String.t() | nil,
  discord_server_id: String.t() | nil,
  google_analytics_id: String.t() | nil,
  has_rss: boolean(),
  has_sent_rss_notify: boolean(),
  id: term(),
  image_small_url: String.t(),
  image_url: String.t(),
  is_charged_immediately: boolean() | nil,
  is_monthly: boolean() | nil,
  is_nsfw: boolean(),
  main_video_embed: String.t() | nil,
  main_video_url: String.t() | nil,
  one_liner: String.t() | nil,
  patron_count: integer(),
  pay_per_name: String.t() | nil,
  pledge_url: term(),
  published_at: DateTime.t(),
  rss_artwork_url: String.t() | nil,
  rss_feed_title: String.t(),
  show_earnings: boolean(),
  summary: String.t() | nil,
  thanks_embed: String.t() | nil,
  thanks_msg: String.t() | nil,
  thanks_video_url: String.t() | nil,
  url: String.t(),
  vanity: String.t() | nil
}

Link to this section Functions

Link to this function

from_response(decoded)

Specs

from_response(map()) :: %Patreon.API.V2.Resource.Campaign{
  created_at: term(),
  creation_name: term(),
  discord_server_id: term(),
  google_analytics_id: term(),
  has_rss: term(),
  has_sent_rss_notify: term(),
  id: term(),
  image_small_url: term(),
  image_url: term(),
  is_charged_immediately: term(),
  is_monthly: term(),
  is_nsfw: term(),
  main_video_embed: term(),
  main_video_url: term(),
  one_liner: term(),
  patron_count: term(),
  pay_per_name: term(),
  pledge_url: term(),
  published_at: term(),
  rss_artwork_url: term(),
  rss_feed_title: term(),
  show_earnings: term(),
  summary: term(),
  thanks_embed: term(),
  thanks_msg: term(),
  thanks_video_url: term(),
  url: term(),
  vanity: term()
}
from_response(map()) :: %Patreon.API.V2.Resource.Campaign{
  created_at: term(),
  creation_name: term(),
  discord_server_id: term(),
  google_analytics_id: term(),
  has_rss: term(),
  has_sent_rss_notify: term(),
  id: term(),
  image_small_url: term(),
  image_url: term(),
  is_charged_immediately: term(),
  is_monthly: term(),
  is_nsfw: term(),
  main_video_embed: term(),
  main_video_url: term(),
  one_liner: term(),
  patron_count: term(),
  pay_per_name: term(),
  pledge_url: term(),
  published_at: term(),
  rss_artwork_url: term(),
  rss_feed_title: term(),
  show_earnings: term(),
  summary: term(),
  thanks_embed: term(),
  thanks_msg: term(),
  thanks_video_url: term(),
  url: term(),
  vanity: term()
}
from_response(map()) :: %Patreon.API.V2.Resource.Campaign{
  created_at: term(),
  creation_name: term(),
  discord_server_id: term(),
  google_analytics_id: term(),
  has_rss: term(),
  has_sent_rss_notify: term(),
  id: term(),
  image_small_url: term(),
  image_url: term(),
  is_charged_immediately: term(),
  is_monthly: term(),
  is_nsfw: term(),
  main_video_embed: term(),
  main_video_url: term(),
  one_liner: term(),
  patron_count: term(),
  pay_per_name: term(),
  pledge_url: term(),
  published_at: term(),
  rss_artwork_url: term(),
  rss_feed_title: term(),
  show_earnings: term(),
  summary: term(),
  thanks_embed: term(),
  thanks_msg: term(),
  thanks_video_url: term(),
  url: term(),
  vanity: term()
}
Link to this function

opts_to_query(include_fields)