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.Object
AccountCreateRequest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JSON_PROPERTY_CLIENT_ID
static java.lang.String
JSON_PROPERTY_CLIENT_SECRET
static java.lang.String
JSON_PROPERTY_EMAIL_ADDRESS
static java.lang.String
JSON_PROPERTY_LOCALE
-
Constructor Summary
Constructors Constructor Description AccountCreateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountCreateRequest
clientId(java.lang.String clientId)
AccountCreateRequest
clientSecret(java.lang.String clientSecret)
java.util.Map<java.lang.String,java.lang.Object>
createFormData()
AccountCreateRequest
emailAddress(java.lang.String emailAddress)
boolean
equals(java.lang.Object o)
Return true if this AccountCreateRequest object is equal to o.java.lang.String
getClientId()
Used when creating a new account with OAuth authorization.java.lang.String
getClientSecret()
Used when creating a new account with OAuth authorization.java.lang.String
getEmailAddress()
The email address which will be associated with the new Account.java.lang.String
getLocale()
The locale used in this Account.int
hashCode()
AccountCreateRequest
locale(java.lang.String locale)
void
setClientId(java.lang.String clientId)
void
setClientSecret(java.lang.String clientSecret)
void
setEmailAddress(java.lang.String emailAddress)
void
setLocale(java.lang.String locale)
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
createFormData
public java.util.Map<java.lang.String,java.lang.Object> createFormData() throws ApiException
- Throws:
ApiException
-
-