Class UsAppToPerson
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.messaging.v1.service.UsAppToPerson
-
- All Implemented Interfaces:
Serializable
public class UsAppToPerson extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
creator
public static UsAppToPersonCreator creator(String pathMessagingServiceSid, String brandRegistrationSid, String description, List<String> messageSamples, String usAppToPersonUsecase, Boolean hasEmbeddedLinks, Boolean hasEmbeddedPhone)
-
fetcher
public static UsAppToPersonFetcher fetcher(String pathMessagingServiceSid, String pathSid)
-
deleter
public static UsAppToPersonDeleter deleter(String pathMessagingServiceSid, String pathSid)
-
reader
public static UsAppToPersonReader reader(String pathMessagingServiceSid)
-
fromJson
public static UsAppToPerson fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a UsAppToPerson object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- UsAppToPerson object represented by the provided JSON
-
fromJson
public static UsAppToPerson fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a UsAppToPerson object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- UsAppToPerson object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getBrandRegistrationSid
public final String getBrandRegistrationSid()
-
getMessagingServiceSid
public final String getMessagingServiceSid()
-
getDescription
public final String getDescription()
-
getUsAppToPersonUsecase
public final String getUsAppToPersonUsecase()
-
getHasEmbeddedLinks
public final Boolean getHasEmbeddedLinks()
-
getHasEmbeddedPhone
public final Boolean getHasEmbeddedPhone()
-
getCampaignStatus
public final String getCampaignStatus()
-
getCampaignId
public final String getCampaignId()
-
getIsExternallyRegistered
public final Boolean getIsExternallyRegistered()
-
getMessageFlow
public final String getMessageFlow()
-
getOptInMessage
public final String getOptInMessage()
-
getOptOutMessage
public final String getOptOutMessage()
-
getHelpMessage
public final String getHelpMessage()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
getMock
public final Boolean getMock()
-
-