Struct google_playmoviespartner1::AccountMethods [] [src]

pub struct AccountMethods<'a, C, A> where C: 'a, A: 'a { /* fields omitted */ }

A builder providing access to all methods supported on account resources. It is not used directly, but through the PlayMovies hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate yup_oauth2 as oauth2;
extern crate google_playmoviespartner1 as playmoviespartner1;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use playmoviespartner1::PlayMovies;
 
let secret: ApplicationSecret = Default::default();
let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate,
                              hyper::Client::new(),
                              <MemoryStorage as Default>::default(), None);
let mut hub = PlayMovies::new(hyper::Client::new(), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `avails_get(...)`, `avails_list(...)`, `components_list(...)`, `components_type_get(...)`, `experience_locales_get(...)`, `experience_locales_list(...)`, `orders_get(...)`, `orders_list(...)`, `store_infos_country_get(...)` and `store_infos_list(...)`
// to build up your call.
let rb = hub.accounts();

Methods

impl<'a, C, A> AccountMethods<'a, C, A>
[src]

Create a builder to help you perform the following task:

List Orders owned or managed by the partner. See Authentication and Authorization rules and List methods rules for more information about this method.

Arguments

  • accountId - REQUIRED. See General rules for more information about this field.

Create a builder to help you perform the following task:

Get a StoreInfo given its video id and country. See Authentication and Authorization rules and Get methods rules for more information about this method.

Arguments

  • accountId - REQUIRED. See General rules for more information about this field.
  • videoId - REQUIRED. Video ID.
  • country - REQUIRED. Edit country.

Create a builder to help you perform the following task:

Get an Order given its id. See Authentication and Authorization rules and Get methods rules for more information about this method.

Arguments

  • accountId - REQUIRED. See General rules for more information about this field.
  • orderId - REQUIRED. Order ID.

Create a builder to help you perform the following task:

Get an Avail given its avail group id and avail id.

Arguments

  • accountId - REQUIRED. See General rules for more information about this field.
  • availId - REQUIRED. Avail ID.

Create a builder to help you perform the following task:

List Avails owned or managed by the partner. See Authentication and Authorization rules and List methods rules for more information about this method.

Arguments

  • accountId - REQUIRED. See General rules for more information about this field.

Create a builder to help you perform the following task:

Get an ExperienceLocale given its id. See Authentication and Authorization rules and Get methods rules for more information about this method.

Arguments

  • accountId - REQUIRED. See General rules for more information about this field.
  • elId - REQUIRED. ExperienceLocale ID, as defined by Google.

Create a builder to help you perform the following task:

List StoreInfos owned or managed by the partner. See Authentication and Authorization rules and List methods rules for more information about this method.

Arguments

  • accountId - REQUIRED. See General rules for more information about this field.

Create a builder to help you perform the following task:

List ExperienceLocales owned or managed by the partner. See Authentication and Authorization rules and List methods rules for more information about this method.

Arguments

  • accountId - REQUIRED. See General rules for more information about this field.

Create a builder to help you perform the following task:

List Components owned or managed by the partner. See Authentication and Authorization rules and List methods rules for more information about this method.

Arguments

  • accountId - REQUIRED. See General rules for more information about this field.

Create a builder to help you perform the following task:

Get a Component given its id.

Arguments

  • accountId - REQUIRED. See General rules for more information about this field.
  • componentId - REQUIRED. Component ID.
  • type - REQUIRED. Component Type.

Trait Implementations

impl<'a, C, A> MethodsBuilder for AccountMethods<'a, C, A>
[src]