Class Ios
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.Integration
-
- com.zendesk.sunshine_conversations_client.model.Ios
-
public class Ios extends Integration
Ios
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ATTACHMENTS_ENABLEDstatic java.lang.StringJSON_PROPERTY_AUTO_UPDATE_BADGEstatic java.lang.StringJSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONSstatic java.lang.StringJSON_PROPERTY_CERTIFICATEstatic java.lang.StringJSON_PROPERTY_DEFAULT_RESPONDERstatic java.lang.StringJSON_PROPERTY_DEFAULT_RESPONDER_IDstatic java.lang.StringJSON_PROPERTY_PASSWORDstatic java.lang.StringJSON_PROPERTY_PRODUCTIONstatic java.lang.StringJSON_PROPERTY_TYPEprotected java.lang.Stringtype-
Fields inherited from class com.zendesk.sunshine_conversations_client.model.Integration
JSON_PROPERTY_DISPLAY_NAME, JSON_PROPERTY_ID, JSON_PROPERTY_STATUS
-
-
Constructor Summary
Constructors Constructor Description Ios()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IosautoUpdateBadge(java.lang.Boolean autoUpdateBadge)IoscanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)Ioscertificate(java.lang.String certificate)IosdefaultResponder(DefaultResponderDefaultResponder defaultResponder)IosdefaultResponderId(java.lang.String defaultResponderId)booleanequals(java.lang.Object o)java.lang.BooleangetAttachmentsEnabled()Allows users to send attachments.java.lang.BooleangetAutoUpdateBadge()Use the unread count of the conversation as the application badge.java.lang.BooleangetCanUserCreateMoreConversations()Allows users to create more than one conversation on the iOS integration.java.lang.StringgetCertificate()The binary of your APN certificate base64 encoded.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getCertificate_JsonNullable()DefaultResponderDefaultRespondergetDefaultResponder()Get defaultResponderjava.lang.StringgetDefaultResponderId()The default responder ID for the integration.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getDefaultResponderId_JsonNullable()java.lang.StringgetPassword()The password for your APN certificate.java.lang.BooleangetProduction()The APN environment to connect to (Production, if true, or Sandbox).java.lang.StringgetType()To configure an ios integration, call the create integration endpoint with a base64 encoded Apple Push Notification certificate from the [Apple Developer Portal](https://developer.apple.com/).inthashCode()Iospassword(java.lang.String password)Iosproduction(java.lang.Boolean production)voidsetAutoUpdateBadge(java.lang.Boolean autoUpdateBadge)voidsetCanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)voidsetCertificate(java.lang.String certificate)voidsetCertificate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificate)voidsetDefaultResponder(DefaultResponderDefaultResponder defaultResponder)voidsetDefaultResponderId(java.lang.String defaultResponderId)voidsetDefaultResponderId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> defaultResponderId)voidsetPassword(java.lang.String password)voidsetProduction(java.lang.Boolean production)voidsetType(java.lang.String type)java.lang.StringtoString()Iostype(java.lang.String type)-
Methods inherited from class com.zendesk.sunshine_conversations_client.model.Integration
displayName, getDisplayName, getDisplayName_JsonNullable, getId, getStatus, setDisplayName, setDisplayName_JsonNullable, setStatus, status
-
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
type
protected java.lang.String type
-
JSON_PROPERTY_CERTIFICATE
public static final java.lang.String JSON_PROPERTY_CERTIFICATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD
public static final java.lang.String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRODUCTION
public static final java.lang.String JSON_PROPERTY_PRODUCTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTO_UPDATE_BADGE
public static final java.lang.String JSON_PROPERTY_AUTO_UPDATE_BADGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONS
public static final java.lang.String JSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ATTACHMENTS_ENABLED
public static final java.lang.String JSON_PROPERTY_ATTACHMENTS_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEFAULT_RESPONDER_ID
public static final java.lang.String JSON_PROPERTY_DEFAULT_RESPONDER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEFAULT_RESPONDER
public static final java.lang.String JSON_PROPERTY_DEFAULT_RESPONDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public Ios type(java.lang.String type)
- Overrides:
typein classIntegration
-
getType
@Nullable public java.lang.String getType()
To configure an ios integration, call the create integration endpoint with a base64 encoded Apple Push Notification certificate from the [Apple Developer Portal](https://developer.apple.com/).- Overrides:
getTypein classIntegration- Returns:
- type
-
setType
public void setType(java.lang.String type)
- Overrides:
setTypein classIntegration
-
certificate
public Ios certificate(java.lang.String certificate)
-
getCertificate
@Nullable public java.lang.String getCertificate()
The binary of your APN certificate base64 encoded. To base64 encode your certificate you can use this command in the terminal: `openssl base64 -in YOUR_CERTIFICATE.p12 | tr -d '\\n'`- Returns:
- certificate
-
getCertificate_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getCertificate_JsonNullable()
-
setCertificate_JsonNullable
public void setCertificate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificate)
-
setCertificate
public void setCertificate(java.lang.String certificate)
-
password
public Ios password(java.lang.String password)
-
getPassword
@Nullable public java.lang.String getPassword()
The password for your APN certificate.- Returns:
- password
-
setPassword
public void setPassword(java.lang.String password)
-
production
public Ios production(java.lang.Boolean production)
-
getProduction
@Nullable public java.lang.Boolean getProduction()
The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified.- Returns:
- production
-
setProduction
public void setProduction(java.lang.Boolean production)
-
autoUpdateBadge
public Ios autoUpdateBadge(java.lang.Boolean autoUpdateBadge)
-
getAutoUpdateBadge
@Nullable public java.lang.Boolean getAutoUpdateBadge()
Use the unread count of the conversation as the application badge.- Returns:
- autoUpdateBadge
-
setAutoUpdateBadge
public void setAutoUpdateBadge(java.lang.Boolean autoUpdateBadge)
-
canUserCreateMoreConversations
public Ios canUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)
-
getCanUserCreateMoreConversations
@Nullable public java.lang.Boolean getCanUserCreateMoreConversations()
Allows users to create more than one conversation on the iOS integration.- Returns:
- canUserCreateMoreConversations
-
setCanUserCreateMoreConversations
public void setCanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)
-
getAttachmentsEnabled
@Nullable public java.lang.Boolean getAttachmentsEnabled()
Allows users to send attachments. By default, the setting is set to true. This setting can only be configured in Zendesk Admin Center.- Returns:
- attachmentsEnabled
-
defaultResponderId
public Ios defaultResponderId(java.lang.String defaultResponderId)
-
getDefaultResponderId
@Nullable public java.lang.String getDefaultResponderId()
The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide.- Returns:
- defaultResponderId
-
getDefaultResponderId_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getDefaultResponderId_JsonNullable()
-
setDefaultResponderId_JsonNullable
public void setDefaultResponderId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> defaultResponderId)
-
setDefaultResponderId
public void setDefaultResponderId(java.lang.String defaultResponderId)
-
defaultResponder
public Ios defaultResponder(DefaultResponderDefaultResponder defaultResponder)
-
getDefaultResponder
@Nullable public DefaultResponderDefaultResponder getDefaultResponder()
Get defaultResponder- Returns:
- defaultResponder
-
setDefaultResponder
public void setDefaultResponder(DefaultResponderDefaultResponder defaultResponder)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classIntegration
-
hashCode
public int hashCode()
- Overrides:
hashCodein classIntegration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classIntegration
-
-