Class OathClientResponse
java.lang.Object
markets.alpaca.client.openapi.broker.model.OathClientResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class OathClientResponse
extends Object
implements Serializable
OathClientResponse
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumACTIVE or DISABLED -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRedirectUriItem(String redirectUriItem) description(String description) booleanstatic OathClientResponseCreate an instance of OathClientResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.OAuth client idGet descriptionGet liveTradingApprovedgetName()Broker name (your name)URL of Privacy PolicyGet redirectUriACTIVE or DISABLEDURL of Terms of UsegetUrl()Get urlinthashCode()liveTradingApproved(Boolean liveTradingApproved) privacyPolicy(String privacyPolicy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.redirectUri(List<String> redirectUri) voidsetClientId(String clientId) voidsetDescription(String description) voidsetLiveTradingApproved(Boolean liveTradingApproved) voidvoidsetPrivacyPolicy(String privacyPolicy) voidsetRedirectUri(List<String> redirectUri) voidvoidsetTermsOfUse(String termsOfUse) voidstatus(OathClientResponse.StatusEnum status) termsOfUse(String termsOfUse) toJson()Convert an instance of OathClientResponse to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CLIENT_ID
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_LIVE_TRADING_APPROVED
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_PRIVACY_POLICY
- See Also:
-
SERIALIZED_NAME_REDIRECT_URI
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TERMS_OF_USE
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OathClientResponse
public OathClientResponse()
-
-
Method Details
-
clientId
-
getClientId
OAuth client id- Returns:
- clientId
-
setClientId
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
liveTradingApproved
-
getLiveTradingApproved
Get liveTradingApproved- Returns:
- liveTradingApproved
-
setLiveTradingApproved
-
name
-
getName
Broker name (your name)- Returns:
- name
-
setName
-
privacyPolicy
-
getPrivacyPolicy
URL of Privacy Policy- Returns:
- privacyPolicy
-
setPrivacyPolicy
-
redirectUri
-
addRedirectUriItem
-
getRedirectUri
Get redirectUri- Returns:
- redirectUri
-
setRedirectUri
-
status
-
getStatus
ACTIVE or DISABLED- Returns:
- status
-
setStatus
-
termsOfUse
-
getTermsOfUse
URL of Terms of Use- Returns:
- termsOfUse
-
setTermsOfUse
-
url
-
getUrl
Get url- Returns:
- url
-
setUrl
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the OathClientResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int 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 OathClientResponse
-
fromJson
Create an instance of OathClientResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OathClientResponse
- Throws:
IOException- if the JSON string is invalid with respect to OathClientResponse
-
toJson
Convert an instance of OathClientResponse to an JSON string- Returns:
- JSON string
-