Package com.boldsign.model
Class SenderIdentityViewModel
- java.lang.Object
-
- com.boldsign.model.SenderIdentityViewModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class SenderIdentityViewModel extends Object
SenderIdentityViewModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSenderIdentityViewModel.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPROVED_DATEstatic StringSERIALIZED_NAME_BRAND_IDstatic StringSERIALIZED_NAME_CREATED_BYstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LOCALEstatic StringSERIALIZED_NAME_META_DATAstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_NOTIFICATION_SETTINGSstatic StringSERIALIZED_NAME_REDIRECT_URLstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description SenderIdentityViewModel()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_BY
public static final String SERIALIZED_NAME_CREATED_BY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPROVED_DATE
public static final String SERIALIZED_NAME_APPROVED_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NOTIFICATION_SETTINGS
public static final String SERIALIZED_NAME_NOTIFICATION_SETTINGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BRAND_ID
public static final String SERIALIZED_NAME_BRAND_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REDIRECT_URL
public static final String SERIALIZED_NAME_REDIRECT_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_META_DATA
public static final String SERIALIZED_NAME_META_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCALE
public static final String SERIALIZED_NAME_LOCALE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public SenderIdentityViewModel id(String id)
-
setId
public void setId(String id)
-
name
public SenderIdentityViewModel name(String name)
-
setName
public void setName(String name)
-
email
public SenderIdentityViewModel email(String email)
-
setEmail
public void setEmail(String email)
-
status
public SenderIdentityViewModel status(String status)
-
setStatus
public void setStatus(String status)
-
createdBy
public SenderIdentityViewModel createdBy(String createdBy)
-
setCreatedBy
public void setCreatedBy(String createdBy)
-
approvedDate
public SenderIdentityViewModel approvedDate(String approvedDate)
-
setApprovedDate
public void setApprovedDate(String approvedDate)
-
notificationSettings
public SenderIdentityViewModel notificationSettings(NotificationSettings notificationSettings)
-
getNotificationSettings
@Nullable public NotificationSettings getNotificationSettings()
Get notificationSettings- Returns:
- notificationSettings
-
setNotificationSettings
public void setNotificationSettings(NotificationSettings notificationSettings)
-
brandId
public SenderIdentityViewModel brandId(String brandId)
-
setBrandId
public void setBrandId(String brandId)
-
redirectUrl
public SenderIdentityViewModel redirectUrl(String redirectUrl)
-
setRedirectUrl
public void setRedirectUrl(String redirectUrl)
-
metaData
public SenderIdentityViewModel metaData(Map<String,String> metaData)
-
putMetaDataItem
public SenderIdentityViewModel putMetaDataItem(String key, String metaDataItem)
-
locale
public SenderIdentityViewModel locale(String locale)
-
setLocale
public void setLocale(String locale)
-
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 SenderIdentityViewModel
-
fromJson
public static SenderIdentityViewModel fromJson(String jsonString) throws IOException
Create an instance of SenderIdentityViewModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SenderIdentityViewModel
- Throws:
IOException- if the JSON string is invalid with respect to SenderIdentityViewModel
-
toJson
public String toJson()
Convert an instance of SenderIdentityViewModel to an JSON string- Returns:
- JSON string
-
-