google_youtube_api_v3/youtube/third

Types

pub type LinkStatus {
  LinkStatusUnknown
  LinkStatusFailed
  LinkStatusPending
  LinkStatusLinked
}

Constructors

  • LinkStatusUnknown
  • LinkStatusFailed
  • LinkStatusPending
  • LinkStatusLinked

A third party account link resource represents a link between a YouTube account or a channel and an account on a third-party service.

pub type ThirdPartyLink {
  ThirdPartyLink(
    etag: option.Option(String),
    kind: option.Option(String),
    linking_token: option.Option(String),
    snippet: option.Option(ThirdPartyLinkSnippet),
    status: option.Option(ThirdPartyLinkStatus),
  )
}

Constructors

pub type ThirdPartyLinkListResponse {
  ThirdPartyLinkListResponse(
    etag: option.Option(String),
    items: option.Option(List(ThirdPartyLink)),
    kind: option.Option(String),
  )
}

Constructors

Basic information about a third party account link, including its type and type-specific information.

pub type ThirdPartyLinkSnippet {
  ThirdPartyLinkSnippet(
    channel_to_affiliate_program_link: option.Option(
      channel.ChannelToAffiliateProgramLinkDetails,
    ),
    channel_to_store_link: option.Option(
      channel.ChannelToStoreLinkDetails,
    ),
    type_: option.Option(Type),
  )
}

Constructors

The third-party link status object contains information about the status of the link.

pub type ThirdPartyLinkStatus {
  ThirdPartyLinkStatus(link_status: option.Option(LinkStatus))
}

Constructors

Type of the link named after the entities that are being linked.

pub type Type {
  TypeLinkUnspecified
  TypeChannelToStoreLink
  TypeChannelToAffiliateProgramLink
}

Constructors

  • TypeLinkUnspecified
  • TypeChannelToStoreLink
  • TypeChannelToAffiliateProgramLink

Values

pub fn link_status_decoder() -> decode.Decoder(LinkStatus)
pub fn link_status_to_string(value: LinkStatus) -> String
pub fn third_party_link_decoder() -> decode.Decoder(
  ThirdPartyLink,
)
pub fn third_party_link_list_response_to_json(
  value: ThirdPartyLinkListResponse,
) -> json.Json
pub fn third_party_link_snippet_decoder() -> decode.Decoder(
  ThirdPartyLinkSnippet,
)
pub fn third_party_link_snippet_to_json(
  value: ThirdPartyLinkSnippet,
) -> json.Json
pub fn third_party_link_status_decoder() -> decode.Decoder(
  ThirdPartyLinkStatus,
)
pub fn third_party_link_status_to_json(
  value: ThirdPartyLinkStatus,
) -> json.Json
pub fn third_party_link_to_json(
  value: ThirdPartyLink,
) -> json.Json
pub fn type_decoder() -> decode.Decoder(Type)
pub fn type_to_string(value: Type) -> String
✨ Search Document