public class APNSVoipChannelResponse extends Object implements Serializable
| Constructor and Description |
|---|
APNSVoipChannelResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationId()
Application id
|
String |
getCreationDate()
When was this segment 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()
If the channel is registered with a token key for authentication.
|
String |
getId()
Channel ID.
|
Boolean |
getIsArchived()
Is this channel archived
|
String |
getLastModifiedBy()
Who made the last change
|
String |
getLastModifiedDate()
Last date this was updated
|
String |
getPlatform()
The platform type.
|
Integer |
getVersion()
Version of channel
|
int |
hashCode() |
Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
Boolean |
isHasCredential()
Not used.
|
Boolean |
isHasTokenKey()
If the channel is registered with a token key for authentication.
|
Boolean |
isIsArchived()
Is this channel archived
|
void |
setApplicationId(String applicationId)
Application id
|
void |
setCreationDate(String creationDate)
When was this segment 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)
If the channel is registered with a token key for authentication.
|
void |
setId(String id)
Channel ID.
|
void |
setIsArchived(Boolean isArchived)
Is this channel archived
|
void |
setLastModifiedBy(String lastModifiedBy)
Who made the last change
|
void |
setLastModifiedDate(String lastModifiedDate)
Last date this was updated
|
void |
setPlatform(String platform)
The platform type.
|
void |
setVersion(Integer version)
Version of channel
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
APNSVoipChannelResponse |
withApplicationId(String applicationId)
Application id
|
APNSVoipChannelResponse |
withCreationDate(String creationDate)
When was this segment created
|
APNSVoipChannelResponse |
withDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method used for APNs.
|
APNSVoipChannelResponse |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
APNSVoipChannelResponse |
withHasCredential(Boolean hasCredential)
Not used.
|
APNSVoipChannelResponse |
withHasTokenKey(Boolean hasTokenKey)
If the channel is registered with a token key for authentication.
|
APNSVoipChannelResponse |
withId(String id)
Channel ID.
|
APNSVoipChannelResponse |
withIsArchived(Boolean isArchived)
Is this channel archived
|
APNSVoipChannelResponse |
withLastModifiedBy(String lastModifiedBy)
Who made the last change
|
APNSVoipChannelResponse |
withLastModifiedDate(String lastModifiedDate)
Last date this was updated
|
APNSVoipChannelResponse |
withPlatform(String platform)
The platform type.
|
APNSVoipChannelResponse |
withVersion(Integer version)
Version of channel
|
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - Application idpublic APNSVoipChannelResponse withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - Application idpublic String getCreationDate()
public void setCreationDate(String creationDate)
creationDate - When was this segment createdpublic APNSVoipChannelResponse withCreationDate(String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate - When was this segment createdpublic String getDefaultAuthenticationMethod()
public void setDefaultAuthenticationMethod(String defaultAuthenticationMethod)
defaultAuthenticationMethod - The default authentication method used
for APNs.public APNSVoipChannelResponse 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 APNSVoipChannelResponse 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 APNSVoipChannelResponse 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 - If the channel is registered with a token key for
authentication.public APNSVoipChannelResponse withHasTokenKey(Boolean hasTokenKey)
Returns a reference to this object so that method calls can be chained together.
hasTokenKey - If the channel is registered with a token key for
authentication.public String getId()
public void setId(String id)
id - Channel ID. Not used, only for backwards compatibility.public APNSVoipChannelResponse withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - Channel ID. Not used, only for backwards compatibility.public Boolean isIsArchived()
public Boolean getIsArchived()
public void setIsArchived(Boolean isArchived)
isArchived - Is this channel archivedpublic APNSVoipChannelResponse withIsArchived(Boolean isArchived)
Returns a reference to this object so that method calls can be chained together.
isArchived - Is this channel archivedpublic String getLastModifiedBy()
public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy - Who made the last changepublic APNSVoipChannelResponse withLastModifiedBy(String lastModifiedBy)
Returns a reference to this object so that method calls can be chained together.
lastModifiedBy - Who made the last changepublic String getLastModifiedDate()
public void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate - Last date this was updatedpublic APNSVoipChannelResponse withLastModifiedDate(String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - Last date this was updatedpublic String getPlatform()
public void setPlatform(String platform)
platform - The platform type. Will be APNS.public APNSVoipChannelResponse withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
platform - The platform type. Will be APNS.public Integer getVersion()
public void setVersion(Integer version)
version - Version of channelpublic APNSVoipChannelResponse withVersion(Integer version)
Returns a reference to this object so that method calls can be chained together.
version - Version of channelpublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.