public class SegmentMembership extends Resource
| Modifier and Type | Method and Description |
|---|---|
static SegmentMembershipCreator |
creator(String pathServiceSid,
String pathIdentity,
String segment)
Create a SegmentMembershipCreator to execute create.
|
static SegmentMembershipDeleter |
deleter(String pathServiceSid,
String pathIdentity,
String pathSegment)
Create a SegmentMembershipDeleter to execute delete.
|
boolean |
equals(Object o) |
static SegmentMembershipFetcher |
fetcher(String pathServiceSid,
String pathIdentity,
String pathSegment)
Create a SegmentMembershipFetcher to execute fetch.
|
static SegmentMembership |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SegmentMembership object using the
provided ObjectMapper.
|
static SegmentMembership |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SegmentMembership object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getIdentity()
Returns The The identity.
|
String |
getSegment()
Returns The The segment.
|
String |
getServiceSid()
Returns The The service_sid.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
String |
toString() |
public static SegmentMembershipCreator creator(String pathServiceSid, String pathIdentity, String segment)
pathServiceSid - The service_sidpathIdentity - The identitysegment - The segmentpublic static SegmentMembershipDeleter deleter(String pathServiceSid, String pathIdentity, String pathSegment)
pathServiceSid - The service_sidpathIdentity - The identitypathSegment - The segmentpublic static SegmentMembershipFetcher fetcher(String pathServiceSid, String pathIdentity, String pathSegment)
pathServiceSid - The service_sidpathIdentity - The identitypathSegment - The segmentpublic static SegmentMembership fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static SegmentMembership fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final String getServiceSid()
public final String getIdentity()
public final String getSegment()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.