Package com.hellosign.openapi.model
Class AccountCreateRequest
- java.lang.Object
-
- com.hellosign.openapi.model.AccountCreateRequest
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AccountCreateRequest extends java.lang.ObjectAccountCreateRequest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_CLIENT_IDstatic java.lang.StringJSON_PROPERTY_CLIENT_SECRETstatic java.lang.StringJSON_PROPERTY_EMAIL_ADDRESSstatic java.lang.StringJSON_PROPERTY_LOCALE
-
Constructor Summary
Constructors Constructor Description AccountCreateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountCreateRequestclientId(java.lang.String clientId)AccountCreateRequestclientSecret(java.lang.String clientSecret)java.util.Map<java.lang.String,java.lang.Object>createFormData()AccountCreateRequestemailAddress(java.lang.String emailAddress)booleanequals(java.lang.Object o)Return true if this AccountCreateRequest object is equal to o.java.lang.StringgetClientId()Used when creating a new account with OAuth authorization.java.lang.StringgetClientSecret()Used when creating a new account with OAuth authorization.java.lang.StringgetEmailAddress()The email address which will be associated with the new Account.java.lang.StringgetLocale()The locale used in this Account.inthashCode()AccountCreateRequestlocale(java.lang.String locale)voidsetClientId(java.lang.String clientId)voidsetClientSecret(java.lang.String clientSecret)voidsetEmailAddress(java.lang.String emailAddress)voidsetLocale(java.lang.String locale)java.lang.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_EMAIL_ADDRESS
public static final java.lang.String JSON_PROPERTY_EMAIL_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLIENT_ID
public static final java.lang.String JSON_PROPERTY_CLIENT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLIENT_SECRET
public static final java.lang.String JSON_PROPERTY_CLIENT_SECRET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOCALE
public static final java.lang.String JSON_PROPERTY_LOCALE
- See Also:
- Constant Field Values
-
-
Method Detail
-
emailAddress
public AccountCreateRequest emailAddress(java.lang.String emailAddress)
-
getEmailAddress
@Nonnull public java.lang.String getEmailAddress()
The email address which will be associated with the new Account.- Returns:
- emailAddress
-
setEmailAddress
public void setEmailAddress(java.lang.String emailAddress)
-
clientId
public AccountCreateRequest clientId(java.lang.String clientId)
-
getClientId
@Nullable public java.lang.String getClientId()
Used when creating a new account with OAuth authorization. See [OAuth 2.0 Authorization](https://app.hellosign.com/api/oauthWalkthrough#OAuthAuthorization)- Returns:
- clientId
-
setClientId
public void setClientId(java.lang.String clientId)
-
clientSecret
public AccountCreateRequest clientSecret(java.lang.String clientSecret)
-
getClientSecret
@Nullable public java.lang.String getClientSecret()
Used when creating a new account with OAuth authorization. See [OAuth 2.0 Authorization](https://app.hellosign.com/api/oauthWalkthrough#OAuthAuthorization)- Returns:
- clientSecret
-
setClientSecret
public void setClientSecret(java.lang.String clientSecret)
-
locale
public AccountCreateRequest locale(java.lang.String locale)
-
getLocale
@Nullable public java.lang.String getLocale()
The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values.- Returns:
- locale
-
setLocale
public void setLocale(java.lang.String locale)
-
equals
public boolean equals(java.lang.Object o)
Return true if this AccountCreateRequest object is equal to o.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
createFormData
public java.util.Map<java.lang.String,java.lang.Object> createFormData() throws ApiException- Throws:
ApiException
-
-