public static interface GCMChannelResponse.Builder extends SdkPojo, CopyableBuilder<GCMChannelResponse.Builder,GCMChannelResponse>
| Modifier and Type | Method and Description |
|---|---|
GCMChannelResponse.Builder |
applicationId(String applicationId)
The unique identifier for the application that the GCM channel applies to.
|
GCMChannelResponse.Builder |
creationDate(String creationDate)
The date and time when the GCM channel was enabled.
|
GCMChannelResponse.Builder |
credential(String credential)
The Web API Key, also referred to as an API_KEY or server key, that you received from Google to
communicate with Google services.
|
GCMChannelResponse.Builder |
defaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method used for GCM.
|
GCMChannelResponse.Builder |
enabled(Boolean enabled)
Specifies whether the GCM channel is enabled for the application.
|
GCMChannelResponse.Builder |
hasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
|
GCMChannelResponse.Builder |
hasFcmServiceCredentials(Boolean hasFcmServiceCredentials)
Returns true if the JSON file provided by Google during registration process was used in the
ServiceJson field of the request.
|
GCMChannelResponse.Builder |
id(String id)
(Deprecated) An identifier for the GCM channel.
|
GCMChannelResponse.Builder |
isArchived(Boolean isArchived)
Specifies whether the GCM channel is archived.
|
GCMChannelResponse.Builder |
lastModifiedBy(String lastModifiedBy)
The user who last modified the GCM channel.
|
GCMChannelResponse.Builder |
lastModifiedDate(String lastModifiedDate)
The date and time when the GCM channel was last modified.
|
GCMChannelResponse.Builder |
platform(String platform)
The type of messaging or notification platform for the channel.
|
GCMChannelResponse.Builder |
version(Integer version)
The current version of the GCM channel.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGCMChannelResponse.Builder applicationId(String applicationId)
The unique identifier for the application that the GCM channel applies to.
applicationId - The unique identifier for the application that the GCM channel applies to.GCMChannelResponse.Builder creationDate(String creationDate)
The date and time when the GCM channel was enabled.
creationDate - The date and time when the GCM channel was enabled.GCMChannelResponse.Builder credential(String credential)
The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.
credential - The Web API Key, also referred to as an API_KEY or server key, that you received from
Google to communicate with Google services.GCMChannelResponse.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".
defaultAuthenticationMethod - The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".GCMChannelResponse.Builder enabled(Boolean enabled)
Specifies whether the GCM channel is enabled for the application.
enabled - Specifies whether the GCM channel is enabled for the application.GCMChannelResponse.Builder hasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
hasCredential - (Not used) This property is retained only for backward compatibility.GCMChannelResponse.Builder hasFcmServiceCredentials(Boolean hasFcmServiceCredentials)
Returns true if the JSON file provided by Google during registration process was used in the ServiceJson field of the request.
hasFcmServiceCredentials - Returns true if the JSON file provided by Google during registration process was used in the
ServiceJson field of the request.GCMChannelResponse.Builder id(String id)
(Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.
id - (Deprecated) An identifier for the GCM channel. This property is retained only for backward
compatibility.GCMChannelResponse.Builder isArchived(Boolean isArchived)
Specifies whether the GCM channel is archived.
isArchived - Specifies whether the GCM channel is archived.GCMChannelResponse.Builder lastModifiedBy(String lastModifiedBy)
The user who last modified the GCM channel.
lastModifiedBy - The user who last modified the GCM channel.GCMChannelResponse.Builder lastModifiedDate(String lastModifiedDate)
The date and time when the GCM channel was last modified.
lastModifiedDate - The date and time when the GCM channel was last modified.GCMChannelResponse.Builder platform(String platform)
The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.
platform - The type of messaging or notification platform for the channel. For the GCM channel, this value is
GCM.GCMChannelResponse.Builder version(Integer version)
The current version of the GCM channel.
version - The current version of the GCM channel.Copyright © 2023. All rights reserved.