Skip to content

RHAPI_TokenRequest

Summary

MembersDescriptions
struct FRHAPI_TokenRequestOAuth2 Token Request.

struct FRHAPI_TokenRequest

struct FRHAPI_TokenRequest
: public FRHAPI_Model

OAuth2 Token Request.

Summary

MembersDescriptions
public ERHAPI_OAuthGrantType GrantTypeOAuth2 grant type.
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_OAuthGrantType & GetGrantType()Gets the value of GrantType.
public inline const ERHAPI_OAuthGrantType & GetGrantType() constGets the value of GrantType.
public inline void SetGrantType(ERHAPI_OAuthGrantType NewValue)Sets the value of GrantType.

Members

public ERHAPI_OAuthGrantType GrantType

OAuth2 grant type.

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_OAuthGrantType & GetGrantType()

Gets the value of GrantType.

public inline const ERHAPI_OAuthGrantType & GetGrantType() const

Gets the value of GrantType.

public inline void SetGrantType(ERHAPI_OAuthGrantType NewValue)

Sets the value of GrantType.