Aspose::Email::Clients::Google::BaseDataObject Class Reference

Base class for google data objects. More...

Inherits Object.

Inherited by Aspose::Email::Clients::Google::AccessControlRule, and Aspose::Email::Clients::Google::Calendar.

Public Member Functions

virtual System::String get_Kind ()
 Type of the resource More...
 
virtual System::String get_ETag ()
 An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests. This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. ETags can also be used for optimistic concurrency control, as a way to help prevent simultaneous updates of a resource from overwriting each other. More...
 
virtual void set_ETag (System::String value)
 An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests. This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. ETags can also be used for optimistic concurrency control, as a way to help prevent simultaneous updates of a resource from overwriting each other. More...
 
virtual System::String get_Id ()
 Identifier of the resource. More...
 
virtual void set_Id (System::String value)
 Identifier of the resource. More...
 
 BaseDataObject (System::String kind)
 Initializes a new instance of the class. More...
 
 BaseDataObject (System::String kind, System::String id)
 Initializes a new instance of the class. More...
 
 BaseDataObject (System::String kind, System::String id, System::String eTag)
 Initializes a new instance of the class. More...
 

Detailed Description

Base class for google data objects.

Constructor & Destructor Documentation

◆ BaseDataObject() [1/3]

Aspose::Email::Clients::Google::BaseDataObject::BaseDataObject ( System::String  kind)

Initializes a new instance of the class.

Parameters
kindType of the resource

◆ BaseDataObject() [2/3]

Aspose::Email::Clients::Google::BaseDataObject::BaseDataObject ( System::String  kind,
System::String  id 
)

Initializes a new instance of the class.

Parameters
kindType of the resource
idIdentifier of the resource.

◆ BaseDataObject() [3/3]

Aspose::Email::Clients::Google::BaseDataObject::BaseDataObject ( System::String  kind,
System::String  id,
System::String  eTag 
)

Initializes a new instance of the class.

Parameters
kindType of the resource
idIdentifier of the resource.
eTagAn entity tag

Member Function Documentation

◆ get_ETag()

virtual System::String Aspose::Email::Clients::Google::BaseDataObject::get_ETag ( )
virtual

An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests. This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. ETags can also be used for optimistic concurrency control, as a way to help prevent simultaneous updates of a resource from overwriting each other.

◆ get_Id()

virtual System::String Aspose::Email::Clients::Google::BaseDataObject::get_Id ( )
virtual

Identifier of the resource.

◆ get_Kind()

virtual System::String Aspose::Email::Clients::Google::BaseDataObject::get_Kind ( )
virtual

Type of the resource

◆ set_ETag()

virtual void Aspose::Email::Clients::Google::BaseDataObject::set_ETag ( System::String  value)
virtual

An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests. This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. ETags can also be used for optimistic concurrency control, as a way to help prevent simultaneous updates of a resource from overwriting each other.

◆ set_Id()

virtual void Aspose::Email::Clients::Google::BaseDataObject::set_Id ( System::String  value)
virtual

Identifier of the resource.