calendar
v3
|
#include <calendar_service.h>
Public Member Functions | |
SettingsResource (CalendarService *service) | |
~SettingsResource () | |
SettingsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &setting) const |
SettingsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_) const |
SettingsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_) const |
SettingsResource_WatchMethod * | NewWatchMethod (client::AuthorizationCredential *_credential_, const Channel &_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.
SettingsResource_GetMethod * google_calendar_api::CalendarService::SettingsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | setting | ||
) | const |
Creates a new SettingsResource_GetMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | setting | The id of the user setting. |
Execute
the method instance, then destroy it when they are finished. SettingsResource_ListMethod * google_calendar_api::CalendarService::SettingsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a new SettingsResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
Execute
the method instance, then destroy it when they are finished. SettingsResource_ListMethodPager * google_calendar_api::CalendarService::SettingsResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a pager for iterating over incremental result pages.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
SettingsResource_WatchMethod * google_calendar_api::CalendarService::SettingsResource::NewWatchMethod | ( | client::AuthorizationCredential * | _credential_, |
const Channel & | _content_ | ||
) | const |
Creates a new SettingsResource_WatchMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | <em>content</em> | The data object to watch. |
Execute
the method instance, then destroy it when they are finished.