Skip to content
RallyHere Docs
GitHub

RHAPI_Notes

Summary

MembersDescriptions
struct FRHAPI_NotesNotes to set for the Player’s friend. If you don’t want to modify notes, no not include in body when adding a friend.

struct FRHAPI_Notes

struct FRHAPI_Notes
  : public FRHAPI_Model

Notes to set for the Player’s friend. If you don’t want to modify notes, no not include in body when adding a friend.

Summary

MembersDescriptions
public FString Notes_Optional
public bool Notes_IsSettrue if Notes_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 FString & GetNotes()Gets the value of Notes_Optional, regardless of it having been set.
public inline const FString & GetNotes() constGets the value of Notes_Optional, regardless of it having been set.
public inline const FString & GetNotes(const FString & DefaultValue) constGets the value of Notes_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetNotes(FString & OutValue) constFills OutValue with the value of Notes_Optional and returns true if it has been set, otherwise returns false.
public inline FString * GetNotesOrNull()Returns a pointer to Notes_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetNotesOrNull() constReturns a pointer to Notes_Optional, if it has been set, otherwise returns nullptr.
public inline void SetNotes(FString NewValue)Sets the value of Notes_Optional and also sets Notes_IsSet to true.
public inline void ClearNotes()Clears the value of Notes_Optional and sets Notes_IsSet to false.

Members

public FString Notes_Optional

public bool Notes_IsSet

true if Notes_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 FString & GetNotes()

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

public inline const FString & GetNotes() const

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

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

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

public inline bool GetNotes(FString & OutValue) const

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

public inline FString * GetNotesOrNull()

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

public inline const FString * GetNotesOrNull() const

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

public inline void SetNotes(FString NewValue)

Sets the value of Notes_Optional and also sets Notes_IsSet to true.

public inline void ClearNotes()

Clears the value of Notes_Optional and sets Notes_IsSet to false.