Package com.boldsign.model
Class SenderIdentityCreator
- java.lang.Object
-
- com.boldsign.model.SenderIdentityCreator
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class SenderIdentityCreator extends Object
SenderIdentityCreator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSenderIdentityCreator.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EMAIL_ADDRESSstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_TEAM_IDstatic StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description SenderIdentityCreator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()SenderIdentityCreatoremailAddress(String emailAddress)booleanequals(Object o)static SenderIdentityCreatorfromJson(String jsonString)Create an instance of SenderIdentityCreator given an JSON stringStringgetEmailAddress()Get emailAddressStringgetName()Get nameStringgetTeamId()Get teamIdStringgetUserId()Get userIdinthashCode()SenderIdentityCreatorname(String name)voidsetEmailAddress(String emailAddress)voidsetName(String name)voidsetTeamId(String teamId)voidsetUserId(String userId)SenderIdentityCreatorteamId(String teamId)StringtoJson()Convert an instance of SenderIdentityCreator to an JSON stringStringtoString()SenderIdentityCreatoruserId(String userId)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_EMAIL_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TEAM_ID
public static final String SERIALIZED_NAME_TEAM_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public SenderIdentityCreator name(String name)
-
setName
public void setName(String name)
-
emailAddress
public SenderIdentityCreator emailAddress(String emailAddress)
-
setEmailAddress
public void setEmailAddress(String emailAddress)
-
userId
public SenderIdentityCreator userId(String userId)
-
setUserId
public void setUserId(String userId)
-
teamId
public SenderIdentityCreator teamId(String teamId)
-
setTeamId
public void setTeamId(String teamId)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to SenderIdentityCreator
-
fromJson
public static SenderIdentityCreator fromJson(String jsonString) throws IOException
Create an instance of SenderIdentityCreator given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SenderIdentityCreator
- Throws:
IOException- if the JSON string is invalid with respect to SenderIdentityCreator
-
toJson
public String toJson()
Convert an instance of SenderIdentityCreator to an JSON string- Returns:
- JSON string
-
-