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 hyper_rustls;
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::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())),
                              <MemoryStorage as Default>::default(), None);
let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `avails_get(...)`, `avails_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]

[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.

[src]

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.

[src]

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.

[src]

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.

[src]

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.

[src]

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.

Trait Implementations

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