Skip to content

RHAPI_PersonInfoResponse

Summary

MembersDescriptions
struct FRHAPI_PersonInfoResponseResponse for getting a person’s info.

struct FRHAPI_PersonInfoResponse

struct FRHAPI_PersonInfoResponse
: public FRHAPI_Model

Response for getting a person’s info.

Summary

MembersDescriptions
public FGuid PersonId_OptionalPerson ID.
public bool PersonId_IsSettrue if PersonId_Optional has been set to a value
public int32 ActivePlayerId_OptionalActive player ID, if the person has an active player.
public bool ActivePlayerId_IsSettrue if ActivePlayerId_Optional has been set to a value
public FString Email_OptionalEmail address.
public bool Email_IsSettrue if Email_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 FGuid & GetPersonId()Gets the value of PersonId_Optional, regardless of it having been set.
public inline const FGuid & GetPersonId() constGets the value of PersonId_Optional, regardless of it having been set.
public inline const FGuid & GetPersonId(const FGuid & DefaultValue) constGets the value of PersonId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPersonId(FGuid & OutValue) constFills OutValue with the value of PersonId_Optional and returns true if it has been set, otherwise returns false.
public inline FGuid * GetPersonIdOrNull()Returns a pointer to PersonId_Optional, if it has been set, otherwise returns nullptr.
public inline const FGuid * GetPersonIdOrNull() constReturns a pointer to PersonId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetPersonId(FGuid NewValue)Sets the value of PersonId_Optional and also sets PersonId_IsSet to true.
public inline void ClearPersonId()Clears the value of PersonId_Optional and sets PersonId_IsSet to false.
public inline int32 & GetActivePlayerId()Gets the value of ActivePlayerId_Optional, regardless of it having been set.
public inline const int32 & GetActivePlayerId() constGets the value of ActivePlayerId_Optional, regardless of it having been set.
public inline const int32 & GetActivePlayerId(const int32 & DefaultValue) constGets the value of ActivePlayerId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetActivePlayerId(int32 & OutValue) constFills OutValue with the value of ActivePlayerId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetActivePlayerIdOrNull()Returns a pointer to ActivePlayerId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetActivePlayerIdOrNull() constReturns a pointer to ActivePlayerId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetActivePlayerId(int32 NewValue)Sets the value of ActivePlayerId_Optional and also sets ActivePlayerId_IsSet to true.
public inline void ClearActivePlayerId()Clears the value of ActivePlayerId_Optional and sets ActivePlayerId_IsSet to false.
public inline bool IsActivePlayerIdDefaultValue() constReturns true if ActivePlayerId_Optional is set and matches the default value.
public inline void SetActivePlayerIdToDefault()Sets the value of ActivePlayerId_Optional to its default and also sets ActivePlayerId_IsSet to true.
public inline FString & GetEmail()Gets the value of Email_Optional, regardless of it having been set.
public inline const FString & GetEmail() constGets the value of Email_Optional, regardless of it having been set.
public inline const FString & GetEmail(const FString & DefaultValue) constGets the value of Email_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetEmail(FString & OutValue) constFills OutValue with the value of Email_Optional and returns true if it has been set, otherwise returns false.
public inline FString * GetEmailOrNull()Returns a pointer to Email_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetEmailOrNull() constReturns a pointer to Email_Optional, if it has been set, otherwise returns nullptr.
public inline void SetEmail(FString NewValue)Sets the value of Email_Optional and also sets Email_IsSet to true.
public inline void ClearEmail()Clears the value of Email_Optional and sets Email_IsSet to false.

Members

public FGuid PersonId_Optional

Person ID.

public bool PersonId_IsSet

true if PersonId_Optional has been set to a value

public int32 ActivePlayerId_Optional

Active player ID, if the person has an active player.

public bool ActivePlayerId_IsSet

true if ActivePlayerId_Optional has been set to a value

public FString Email_Optional

Email address.

public bool Email_IsSet

true if Email_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 FGuid & GetPersonId()

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

public inline const FGuid & GetPersonId() const

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

public inline const FGuid & GetPersonId(const FGuid & DefaultValue) const

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

public inline bool GetPersonId(FGuid & OutValue) const

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

public inline FGuid * GetPersonIdOrNull()

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

public inline const FGuid * GetPersonIdOrNull() const

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

public inline void SetPersonId(FGuid NewValue)

Sets the value of PersonId_Optional and also sets PersonId_IsSet to true.

public inline void ClearPersonId()

Clears the value of PersonId_Optional and sets PersonId_IsSet to false.

public inline int32 & GetActivePlayerId()

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

public inline const int32 & GetActivePlayerId() const

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

public inline const int32 & GetActivePlayerId(const int32 & DefaultValue) const

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

public inline bool GetActivePlayerId(int32 & OutValue) const

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

public inline int32 * GetActivePlayerIdOrNull()

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

public inline const int32 * GetActivePlayerIdOrNull() const

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

public inline void SetActivePlayerId(int32 NewValue)

Sets the value of ActivePlayerId_Optional and also sets ActivePlayerId_IsSet to true.

public inline void ClearActivePlayerId()

Clears the value of ActivePlayerId_Optional and sets ActivePlayerId_IsSet to false.

public inline bool IsActivePlayerIdDefaultValue() const

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

public inline void SetActivePlayerIdToDefault()

Sets the value of ActivePlayerId_Optional to its default and also sets ActivePlayerId_IsSet to true.

public inline FString & GetEmail()

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

public inline const FString & GetEmail() const

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

public inline const FString & GetEmail(const FString & DefaultValue) const

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

public inline bool GetEmail(FString & OutValue) const

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

public inline FString * GetEmailOrNull()

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

public inline const FString * GetEmailOrNull() const

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

public inline void SetEmail(FString NewValue)

Sets the value of Email_Optional and also sets Email_IsSet to true.

public inline void ClearEmail()

Clears the value of Email_Optional and sets Email_IsSet to false.