|
androidenterprise
v1
|
#include <android_enterprise_service.h>
Public Member Functions | |
| EntitlementsResource (AndroidEnterpriseService *service) | |
| ~EntitlementsResource () | |
| EntitlementsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &enterprise_id, const absl::string_view &user_id, const absl::string_view &entitlement_id) const |
| EntitlementsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &enterprise_id, const absl::string_view &user_id, const absl::string_view &entitlement_id) const |
| EntitlementsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &enterprise_id, const absl::string_view &user_id) const |
| EntitlementsResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &enterprise_id, const absl::string_view &user_id, const absl::string_view &entitlement_id, const Entitlement &_content_) const |
Acts as message factory for accessing data.
|
explicit |
Standard constructor.
| [in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
|
inline |
Standard destructor.
| EntitlementsResource_DeleteMethod * google_androidenterprise_api::AndroidEnterpriseService::EntitlementsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | enterprise_id, | ||
| const absl::string_view & | user_id, | ||
| const absl::string_view & | entitlement_id | ||
| ) | const |
Creates a new EntitlementsResource_DeleteMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | enterprise_id | The ID of the enterprise. |
| [in] | user_id | The ID of the user. |
| [in] | entitlement_id | The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm". |
Execute the method instance, then destroy it when they are finished. | EntitlementsResource_GetMethod * google_androidenterprise_api::AndroidEnterpriseService::EntitlementsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | enterprise_id, | ||
| const absl::string_view & | user_id, | ||
| const absl::string_view & | entitlement_id | ||
| ) | const |
Creates a new EntitlementsResource_GetMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | enterprise_id | The ID of the enterprise. |
| [in] | user_id | The ID of the user. |
| [in] | entitlement_id | The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm". |
Execute the method instance, then destroy it when they are finished. | EntitlementsResource_ListMethod * google_androidenterprise_api::AndroidEnterpriseService::EntitlementsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | enterprise_id, | ||
| const absl::string_view & | user_id | ||
| ) | const |
Creates a new EntitlementsResource_ListMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | enterprise_id | The ID of the enterprise. |
| [in] | user_id | The ID of the user. |
Execute the method instance, then destroy it when they are finished. | EntitlementsResource_UpdateMethod * google_androidenterprise_api::AndroidEnterpriseService::EntitlementsResource::NewUpdateMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | enterprise_id, | ||
| const absl::string_view & | user_id, | ||
| const absl::string_view & | entitlement_id, | ||
| const Entitlement & | _content_ | ||
| ) | const |
Creates a new EntitlementsResource_UpdateMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | enterprise_id | The ID of the enterprise. |
| [in] | user_id | The ID of the user. |
| [in] | entitlement_id | The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm". |
| [in] | <em>content</em> | The data object to update. |
Execute the method instance, then destroy it when they are finished.