Skip to content

RHAPI_OAuthTokenExchange

Summary

MembersDescriptions
struct FRHAPI_OAuthTokenExchangeOAuth token exchange request.

struct FRHAPI_OAuthTokenExchange

struct FRHAPI_OAuthTokenExchange
: public FRHAPI_Model

OAuth token exchange request.

Summary

MembersDescriptions
public ERHAPI_OAuthTokenEchangeGrantType GrantTypeGrant type for the OAuth exchange.
public FString Codeauthorization_code for the OAuth exchange.
public bool AcceptedEula_OptionalIf true, the user has accepted the EULA.
public bool AcceptedEula_IsSettrue if AcceptedEula_Optional has been set to a value
public bool AcceptedTos_OptionalIf true, the user has accepted the TOS.
public bool AcceptedTos_IsSettrue if AcceptedTos_Optional has been set to a value
public bool AcceptedPrivacyPolicy_OptionalIf true, the user has accepted the Privacy Policy.
public bool AcceptedPrivacyPolicy_IsSettrue if AcceptedPrivacyPolicy_Optional has been set to a value
public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue)Fills this object with data from the passed in JSON.
public virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) constWrites the data from this object into the specified JSON Writer stream.
public inline ERHAPI_OAuthTokenEchangeGrantType & GetGrantType()Gets the value of GrantType.
public inline const ERHAPI_OAuthTokenEchangeGrantType & GetGrantType() constGets the value of GrantType.
public inline void SetGrantType(ERHAPI_OAuthTokenEchangeGrantType NewValue)Sets the value of GrantType.
public inline FString & GetCode()Gets the value of Code.
public inline const FString & GetCode() constGets the value of Code.
public inline void SetCode(FString NewValue)Sets the value of Code.
public inline bool & GetAcceptedEula()Gets the value of AcceptedEula_Optional, regardless of it having been set.
public inline const bool & GetAcceptedEula() constGets the value of AcceptedEula_Optional, regardless of it having been set.
public inline const bool & GetAcceptedEula(const bool & DefaultValue) constGets the value of AcceptedEula_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetAcceptedEula(bool & OutValue) constFills OutValue with the value of AcceptedEula_Optional and returns true if it has been set, otherwise returns false.
public inline bool * GetAcceptedEulaOrNull()Returns a pointer to AcceptedEula_Optional, if it has been set, otherwise returns nullptr.
public inline const bool * GetAcceptedEulaOrNull() constReturns a pointer to AcceptedEula_Optional, if it has been set, otherwise returns nullptr.
public inline void SetAcceptedEula(bool NewValue)Sets the value of AcceptedEula_Optional and also sets AcceptedEula_IsSet to true.
public inline void ClearAcceptedEula()Clears the value of AcceptedEula_Optional and sets AcceptedEula_IsSet to false.
public inline bool IsAcceptedEulaDefaultValue() constReturns true if AcceptedEula_Optional is set and matches the default value.
public inline void SetAcceptedEulaToDefault()Sets the value of AcceptedEula_Optional to its default and also sets AcceptedEula_IsSet to true.
public inline bool & GetAcceptedTos()Gets the value of AcceptedTos_Optional, regardless of it having been set.
public inline const bool & GetAcceptedTos() constGets the value of AcceptedTos_Optional, regardless of it having been set.
public inline const bool & GetAcceptedTos(const bool & DefaultValue) constGets the value of AcceptedTos_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetAcceptedTos(bool & OutValue) constFills OutValue with the value of AcceptedTos_Optional and returns true if it has been set, otherwise returns false.
public inline bool * GetAcceptedTosOrNull()Returns a pointer to AcceptedTos_Optional, if it has been set, otherwise returns nullptr.
public inline const bool * GetAcceptedTosOrNull() constReturns a pointer to AcceptedTos_Optional, if it has been set, otherwise returns nullptr.
public inline void SetAcceptedTos(bool NewValue)Sets the value of AcceptedTos_Optional and also sets AcceptedTos_IsSet to true.
public inline void ClearAcceptedTos()Clears the value of AcceptedTos_Optional and sets AcceptedTos_IsSet to false.
public inline bool IsAcceptedTosDefaultValue() constReturns true if AcceptedTos_Optional is set and matches the default value.
public inline void SetAcceptedTosToDefault()Sets the value of AcceptedTos_Optional to its default and also sets AcceptedTos_IsSet to true.
public inline bool & GetAcceptedPrivacyPolicy()Gets the value of AcceptedPrivacyPolicy_Optional, regardless of it having been set.
public inline const bool & GetAcceptedPrivacyPolicy() constGets the value of AcceptedPrivacyPolicy_Optional, regardless of it having been set.
public inline const bool & GetAcceptedPrivacyPolicy(const bool & DefaultValue) constGets the value of AcceptedPrivacyPolicy_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetAcceptedPrivacyPolicy(bool & OutValue) constFills OutValue with the value of AcceptedPrivacyPolicy_Optional and returns true if it has been set, otherwise returns false.
public inline bool * GetAcceptedPrivacyPolicyOrNull()Returns a pointer to AcceptedPrivacyPolicy_Optional, if it has been set, otherwise returns nullptr.
public inline const bool * GetAcceptedPrivacyPolicyOrNull() constReturns a pointer to AcceptedPrivacyPolicy_Optional, if it has been set, otherwise returns nullptr.
public inline void SetAcceptedPrivacyPolicy(bool NewValue)Sets the value of AcceptedPrivacyPolicy_Optional and also sets AcceptedPrivacyPolicy_IsSet to true.
public inline void ClearAcceptedPrivacyPolicy()Clears the value of AcceptedPrivacyPolicy_Optional and sets AcceptedPrivacyPolicy_IsSet to false.
public inline bool IsAcceptedPrivacyPolicyDefaultValue() constReturns true if AcceptedPrivacyPolicy_Optional is set and matches the default value.
public inline void SetAcceptedPrivacyPolicyToDefault()Sets the value of AcceptedPrivacyPolicy_Optional to its default and also sets AcceptedPrivacyPolicy_IsSet to true.

Members

public ERHAPI_OAuthTokenEchangeGrantType GrantType

Grant type for the OAuth exchange.

public FString Code

authorization_code for the OAuth exchange.

public bool AcceptedEula_Optional

If true, the user has accepted the EULA.

public bool AcceptedEula_IsSet

true if AcceptedEula_Optional has been set to a value

public bool AcceptedTos_Optional

If true, the user has accepted the TOS.

public bool AcceptedTos_IsSet

true if AcceptedTos_Optional has been set to a value

public bool AcceptedPrivacyPolicy_Optional

If true, the user has accepted the Privacy Policy.

public bool AcceptedPrivacyPolicy_IsSet

true if AcceptedPrivacyPolicy_Optional has been set to a value

public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue)

Fills this object with data from the passed in JSON.

Parameters

  • JsonValue Data from the API call.

Returns

true if parsing of the JSON data was successful.

public virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) const

Writes the data from this object into the specified JSON Writer stream.

Parameters

  • Writer JSON Writer stream to push .

public inline ERHAPI_OAuthTokenEchangeGrantType & GetGrantType()

Gets the value of GrantType.

public inline const ERHAPI_OAuthTokenEchangeGrantType & GetGrantType() const

Gets the value of GrantType.

public inline void SetGrantType(ERHAPI_OAuthTokenEchangeGrantType NewValue)

Sets the value of GrantType.

public inline FString & GetCode()

Gets the value of Code.

public inline const FString & GetCode() const

Gets the value of Code.

public inline void SetCode(FString NewValue)

Sets the value of Code.

public inline bool & GetAcceptedEula()

Gets the value of AcceptedEula_Optional, regardless of it having been set.

public inline const bool & GetAcceptedEula() const

Gets the value of AcceptedEula_Optional, regardless of it having been set.

public inline const bool & GetAcceptedEula(const bool & DefaultValue) const

Gets the value of AcceptedEula_Optional, if it has been set, otherwise it returns DefaultValue.

public inline bool GetAcceptedEula(bool & OutValue) const

Fills OutValue with the value of AcceptedEula_Optional and returns true if it has been set, otherwise returns false.

public inline bool * GetAcceptedEulaOrNull()

Returns a pointer to AcceptedEula_Optional, if it has been set, otherwise returns nullptr.

public inline const bool * GetAcceptedEulaOrNull() const

Returns a pointer to AcceptedEula_Optional, if it has been set, otherwise returns nullptr.

public inline void SetAcceptedEula(bool NewValue)

Sets the value of AcceptedEula_Optional and also sets AcceptedEula_IsSet to true.

public inline void ClearAcceptedEula()

Clears the value of AcceptedEula_Optional and sets AcceptedEula_IsSet to false.

public inline bool IsAcceptedEulaDefaultValue() const

Returns true if AcceptedEula_Optional is set and matches the default value.

public inline void SetAcceptedEulaToDefault()

Sets the value of AcceptedEula_Optional to its default and also sets AcceptedEula_IsSet to true.

public inline bool & GetAcceptedTos()

Gets the value of AcceptedTos_Optional, regardless of it having been set.

public inline const bool & GetAcceptedTos() const

Gets the value of AcceptedTos_Optional, regardless of it having been set.

public inline const bool & GetAcceptedTos(const bool & DefaultValue) const

Gets the value of AcceptedTos_Optional, if it has been set, otherwise it returns DefaultValue.

public inline bool GetAcceptedTos(bool & OutValue) const

Fills OutValue with the value of AcceptedTos_Optional and returns true if it has been set, otherwise returns false.

public inline bool * GetAcceptedTosOrNull()

Returns a pointer to AcceptedTos_Optional, if it has been set, otherwise returns nullptr.

public inline const bool * GetAcceptedTosOrNull() const

Returns a pointer to AcceptedTos_Optional, if it has been set, otherwise returns nullptr.

public inline void SetAcceptedTos(bool NewValue)

Sets the value of AcceptedTos_Optional and also sets AcceptedTos_IsSet to true.

public inline void ClearAcceptedTos()

Clears the value of AcceptedTos_Optional and sets AcceptedTos_IsSet to false.

public inline bool IsAcceptedTosDefaultValue() const

Returns true if AcceptedTos_Optional is set and matches the default value.

public inline void SetAcceptedTosToDefault()

Sets the value of AcceptedTos_Optional to its default and also sets AcceptedTos_IsSet to true.

public inline bool & GetAcceptedPrivacyPolicy()

Gets the value of AcceptedPrivacyPolicy_Optional, regardless of it having been set.

public inline const bool & GetAcceptedPrivacyPolicy() const

Gets the value of AcceptedPrivacyPolicy_Optional, regardless of it having been set.

public inline const bool & GetAcceptedPrivacyPolicy(const bool & DefaultValue) const

Gets the value of AcceptedPrivacyPolicy_Optional, if it has been set, otherwise it returns DefaultValue.

public inline bool GetAcceptedPrivacyPolicy(bool & OutValue) const

Fills OutValue with the value of AcceptedPrivacyPolicy_Optional and returns true if it has been set, otherwise returns false.

public inline bool * GetAcceptedPrivacyPolicyOrNull()

Returns a pointer to AcceptedPrivacyPolicy_Optional, if it has been set, otherwise returns nullptr.

public inline const bool * GetAcceptedPrivacyPolicyOrNull() const

Returns a pointer to AcceptedPrivacyPolicy_Optional, if it has been set, otherwise returns nullptr.

public inline void SetAcceptedPrivacyPolicy(bool NewValue)

Sets the value of AcceptedPrivacyPolicy_Optional and also sets AcceptedPrivacyPolicy_IsSet to true.

public inline void ClearAcceptedPrivacyPolicy()

Clears the value of AcceptedPrivacyPolicy_Optional and sets AcceptedPrivacyPolicy_IsSet to false.

public inline bool IsAcceptedPrivacyPolicyDefaultValue() const

Returns true if AcceptedPrivacyPolicy_Optional is set and matches the default value.

public inline void SetAcceptedPrivacyPolicyToDefault()

Sets the value of AcceptedPrivacyPolicy_Optional to its default and also sets AcceptedPrivacyPolicy_IsSet to true.