Class SubAccount
java.lang.Object
sendpost_java_sdk.SubAccount
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-12-22T13:35:12.742682+05:30[Asia/Kolkata]",
comments="Generator version: 7.13.0")
public class SubAccount
extends Object
SubAccount
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumType of the sub-account -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem(String labelsItem) addSmtpAuthsItem(SMTPAuth smtpAuthsItem) booleanstatic SubAccountCreate an instance of SubAccount given an JSON stringAPI key for the sub-account.UNIX epoch nano timestamp when the sub-account was created.Member who created the sub-accountgetId()Unique ID for the sub-account.Indicates whether the sub-account is a Plus sub-accountLabels associated with the sub-accountgetName()Name of the sub-account.SMTP Auths associated with the sub-accountgetType()Type of the sub-accountMember who updated the sub-accountinthashCode()voidvoidsetCreated(Integer created) voidsetCreatedBy(Member createdBy) voidvoidvoidvoidvoidsetSmtpAuths(List<SMTPAuth> smtpAuths) voidsetType(SubAccount.TypeEnum type) voidsetUpdatedBy(Member updatedBy) toJson()Convert an instance of SubAccount to an JSON stringtoString()type(SubAccount.TypeEnum type) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_API_KEY
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_IS_PLUS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_CREATED_BY
- See Also:
-
SERIALIZED_NAME_UPDATED_BY
- See Also:
-
SERIALIZED_NAME_SMTP_AUTHS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SubAccount
public SubAccount()
-
-
Method Details
-
id
-
getId
-
setId
-
name
-
getName
-
setName
-
created
-
getCreated
-
setCreated
-
apiKey
-
getApiKey
-
setApiKey
-
labels
-
addLabelsItem
-
getLabels
-
setLabels
-
isPlus
-
getIsPlus
-
setIsPlus
-
type
-
getType
-
setType
-
createdBy
-
getCreatedBy
-
setCreatedBy
-
updatedBy
-
getUpdatedBy
-
setUpdatedBy
-
smtpAuths
-
addSmtpAuthsItem
-
getSmtpAuths
-
setSmtpAuths
-
equals
-
hashCode
-
toString
-
validateJsonElement
Validates 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 SubAccount
-
fromJson
Create an instance of SubAccount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubAccount
- Throws:
IOException- if the JSON string is invalid with respect to SubAccount
-
toJson
-