public final class ContactGroup
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the People API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ContactGroup() |
| Modifier and Type | Method and Description |
|---|---|
ContactGroup |
clone() |
java.lang.String |
getEtag()
The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
java.lang.String |
getFormattedName()
The read-only name translated and formatted in the viewer's account locale or the `Accept-
Language` HTTP header locale for system groups names.
|
java.lang.String |
getGroupType()
The read-only contact group type.
|
java.lang.Integer |
getMemberCount()
The total number of contacts in the group irrespective of max members in specified in the
request.
|
java.util.List<java.lang.String> |
getMemberResourceNames()
The list of contact person resource names that are members of the contact group.
|
ContactGroupMetadata |
getMetadata()
Metadata about the contact group.
|
java.lang.String |
getName()
The contact group name set by the group owner or a system provided name for system groups.
|
java.lang.String |
getResourceName()
The resource name for the contact group, assigned by the server.
|
ContactGroup |
set(java.lang.String fieldName,
java.lang.Object value) |
ContactGroup |
setEtag(java.lang.String etag)
The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
ContactGroup |
setFormattedName(java.lang.String formattedName)
The read-only name translated and formatted in the viewer's account locale or the `Accept-
Language` HTTP header locale for system groups names.
|
ContactGroup |
setGroupType(java.lang.String groupType)
The read-only contact group type.
|
ContactGroup |
setMemberCount(java.lang.Integer memberCount)
The total number of contacts in the group irrespective of max members in specified in the
request.
|
ContactGroup |
setMemberResourceNames(java.util.List<java.lang.String> memberResourceNames)
The list of contact person resource names that are members of the contact group.
|
ContactGroup |
setMetadata(ContactGroupMetadata metadata)
Metadata about the contact group.
|
ContactGroup |
setName(java.lang.String name)
The contact group name set by the group owner or a system provided name for system groups.
|
ContactGroup |
setResourceName(java.lang.String resourceName)
The resource name for the contact group, assigned by the server.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getEtag()
null for nonepublic ContactGroup setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getFormattedName()
null for nonepublic ContactGroup setFormattedName(java.lang.String formattedName)
formattedName - formattedName or null for nonepublic java.lang.String getGroupType()
null for nonepublic ContactGroup setGroupType(java.lang.String groupType)
groupType - groupType or null for nonepublic java.lang.Integer getMemberCount()
null for nonepublic ContactGroup setMemberCount(java.lang.Integer memberCount)
memberCount - memberCount or null for nonepublic java.util.List<java.lang.String> getMemberResourceNames()
null for nonepublic ContactGroup setMemberResourceNames(java.util.List<java.lang.String> memberResourceNames)
memberResourceNames - memberResourceNames or null for nonepublic ContactGroupMetadata getMetadata()
null for nonepublic ContactGroup setMetadata(ContactGroupMetadata metadata)
metadata - metadata or null for nonepublic java.lang.String getName()
null for nonepublic ContactGroup setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getResourceName()
null for nonepublic ContactGroup setResourceName(java.lang.String resourceName)
resourceName - resourceName or null for nonepublic ContactGroup set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ContactGroup clone()
clone in class com.google.api.client.json.GenericJson