public class APNSChannelResponse extends Object implements Serializable
| Constructor and Description |
|---|
APNSChannelResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application that the channel applies to.
|
String |
getCreationDate()
The date and time when this channel was created.
|
String |
getDefaultAuthenticationMethod()
The default authentication method used for APNs.
|
Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
Boolean |
getHasCredential()
Not used.
|
Boolean |
getHasTokenKey()
Indicates whether the channel is configured with a key for APNs token
authentication.
|
String |
getId()
(Deprecated) An identifier for the channel.
|
Boolean |
getIsArchived()
Indicates whether or not the channel is archived.
|
String |
getLastModifiedBy()
The user who last updated this channel.
|
String |
getLastModifiedDate()
The date and time when this channel was last modified.
|
String |
getPlatform()
The platform type.
|
Integer |
getVersion()
The channel version.
|
int |
hashCode() |
Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
Boolean |
isHasCredential()
Not used.
|
Boolean |
isHasTokenKey()
Indicates whether the channel is configured with a key for APNs token
authentication.
|
Boolean |
isIsArchived()
Indicates whether or not the channel is archived.
|
void |
setApplicationId(String applicationId)
The ID of the application that the channel applies to.
|
void |
setCreationDate(String creationDate)
The date and time when this channel was created.
|
void |
setDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method used for APNs.
|
void |
setEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
void |
setHasCredential(Boolean hasCredential)
Not used.
|
void |
setHasTokenKey(Boolean hasTokenKey)
Indicates whether the channel is configured with a key for APNs token
authentication.
|
void |
setId(String id)
(Deprecated) An identifier for the channel.
|
void |
setIsArchived(Boolean isArchived)
Indicates whether or not the channel is archived.
|
void |
setLastModifiedBy(String lastModifiedBy)
The user who last updated this channel.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date and time when this channel was last modified.
|
void |
setPlatform(String platform)
The platform type.
|
void |
setVersion(Integer version)
The channel version.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
APNSChannelResponse |
withApplicationId(String applicationId)
The ID of the application that the channel applies to.
|
APNSChannelResponse |
withCreationDate(String creationDate)
The date and time when this channel was created.
|
APNSChannelResponse |
withDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method used for APNs.
|
APNSChannelResponse |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
APNSChannelResponse |
withHasCredential(Boolean hasCredential)
Not used.
|
APNSChannelResponse |
withHasTokenKey(Boolean hasTokenKey)
Indicates whether the channel is configured with a key for APNs token
authentication.
|
APNSChannelResponse |
withId(String id)
(Deprecated) An identifier for the channel.
|
APNSChannelResponse |
withIsArchived(Boolean isArchived)
Indicates whether or not the channel is archived.
|
APNSChannelResponse |
withLastModifiedBy(String lastModifiedBy)
The user who last updated this channel.
|
APNSChannelResponse |
withLastModifiedDate(String lastModifiedDate)
The date and time when this channel was last modified.
|
APNSChannelResponse |
withPlatform(String platform)
The platform type.
|
APNSChannelResponse |
withVersion(Integer version)
The channel version.
|
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - The ID of the application that the channel applies
to.public APNSChannelResponse withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - The ID of the application that the channel applies
to.public String getCreationDate()
public void setCreationDate(String creationDate)
creationDate - The date and time when this channel was created.public APNSChannelResponse withCreationDate(String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate - The date and time when this channel was created.public String getDefaultAuthenticationMethod()
public void setDefaultAuthenticationMethod(String defaultAuthenticationMethod)
defaultAuthenticationMethod - The default authentication method used
for APNs.public APNSChannelResponse withDefaultAuthenticationMethod(String defaultAuthenticationMethod)
Returns a reference to this object so that method calls can be chained together.
defaultAuthenticationMethod - The default authentication method used
for APNs.public Boolean isEnabled()
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
enabled - If the channel is enabled for sending messages.public APNSChannelResponse withEnabled(Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled - If the channel is enabled for sending messages.public Boolean isHasCredential()
public Boolean getHasCredential()
public void setHasCredential(Boolean hasCredential)
hasCredential - Not used. Retained for backwards compatibility.public APNSChannelResponse withHasCredential(Boolean hasCredential)
Returns a reference to this object so that method calls can be chained together.
hasCredential - Not used. Retained for backwards compatibility.public Boolean isHasTokenKey()
public Boolean getHasTokenKey()
public void setHasTokenKey(Boolean hasTokenKey)
hasTokenKey - Indicates whether the channel is configured with a key
for APNs token authentication. Provide a token key by setting
the TokenKey attribute.public APNSChannelResponse withHasTokenKey(Boolean hasTokenKey)
Returns a reference to this object so that method calls can be chained together.
hasTokenKey - Indicates whether the channel is configured with a key
for APNs token authentication. Provide a token key by setting
the TokenKey attribute.public String getId()
public void setId(String id)
id - (Deprecated) An identifier for the channel. Retained for
backwards compatibility.public APNSChannelResponse withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - (Deprecated) An identifier for the channel. Retained for
backwards compatibility.public Boolean isIsArchived()
public Boolean getIsArchived()
public void setIsArchived(Boolean isArchived)
isArchived - Indicates whether or not the channel is archived.public APNSChannelResponse withIsArchived(Boolean isArchived)
Returns a reference to this object so that method calls can be chained together.
isArchived - Indicates whether or not the channel is archived.public String getLastModifiedBy()
public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy - The user who last updated this channel.public APNSChannelResponse withLastModifiedBy(String lastModifiedBy)
Returns a reference to this object so that method calls can be chained together.
lastModifiedBy - The user who last updated this channel.public String getLastModifiedDate()
public void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate - The date and time when this channel was last
modified.public APNSChannelResponse withLastModifiedDate(String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The date and time when this channel was last
modified.public String getPlatform()
public void setPlatform(String platform)
platform - The platform type. For this channel, the value is always
"ADM."public APNSChannelResponse withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
platform - The platform type. For this channel, the value is always
"ADM."public Integer getVersion()
public void setVersion(Integer version)
version - The channel version.public APNSChannelResponse withVersion(Integer version)
Returns a reference to this object so that method calls can be chained together.
version - The channel version.public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.