Skip to content

RHAPI_FriendRelationship

Summary

MembersDescriptions
struct FRHAPI_FriendRelationshipRepresents the relationship with a potential friend.

struct FRHAPI_FriendRelationship

struct FRHAPI_FriendRelationship
: public FRHAPI_Model

Represents the relationship with a potential friend.

Summary

MembersDescriptions
public FGuid FriendsPlayerUuid
public ERHAPI_FriendshipStatus Status
public FString Notes_Optional
public bool Notes_IsSettrue if Notes_Optional has been set to a value
public FDateTime LastModifiedOn
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 & GetFriendsPlayerUuid()Gets the value of FriendsPlayerUuid.
public inline const FGuid & GetFriendsPlayerUuid() constGets the value of FriendsPlayerUuid.
public inline void SetFriendsPlayerUuid(FGuid NewValue)Sets the value of FriendsPlayerUuid.
public inline ERHAPI_FriendshipStatus & GetStatus()Gets the value of Status.
public inline const ERHAPI_FriendshipStatus & GetStatus() constGets the value of Status.
public inline void SetStatus(ERHAPI_FriendshipStatus NewValue)Sets the value of Status.
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.
public inline FDateTime & GetLastModifiedOn()Gets the value of LastModifiedOn.
public inline const FDateTime & GetLastModifiedOn() constGets the value of LastModifiedOn.
public inline void SetLastModifiedOn(FDateTime NewValue)Sets the value of LastModifiedOn.

Members

public FGuid FriendsPlayerUuid


#### `public ERHAPI_FriendshipStatus `[`Status`](#structFRHAPI__FriendRelationship_1ada33400fa075474a9311b95c1c691686)
#### `public FString `[`Notes_Optional`](#structFRHAPI__FriendRelationship_1a64f787e21add9b85b4cd7c45cfd5d678)
#### `public bool `[`Notes_IsSet`](#structFRHAPI__FriendRelationship_1a0045e135ce9d4acd6734b217462072b4)

true if Notes_Optional has been set to a value


#### `public FDateTime `[`LastModifiedOn`](#structFRHAPI__FriendRelationship_1afa70cca868e2e54b587fc6db2874ea49)
#### `public virtual bool `[`FromJson`](#structFRHAPI__FriendRelationship_1a3c5901357dd68c86a27c2797ec1403bc)`(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`](#structFRHAPI__FriendRelationship_1a7485c9a1f8dfa91d225c7666c5b61574)`(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 & `[`GetFriendsPlayerUuid`](#structFRHAPI__FriendRelationship_1a3785aa62cd6f6af26ecfacef771d4982)`()`

Gets the value of FriendsPlayerUuid.


#### `public inline const FGuid & `[`GetFriendsPlayerUuid`](#structFRHAPI__FriendRelationship_1a9032516c74fb94a9621231a5e14fe2f6)`() const`

Gets the value of FriendsPlayerUuid.


#### `public inline void `[`SetFriendsPlayerUuid`](#structFRHAPI__FriendRelationship_1a1ded577ee2dfcd218422e1e689f6f87f)`(FGuid NewValue)`

Sets the value of FriendsPlayerUuid.


#### `public inline ERHAPI_FriendshipStatus & `[`GetStatus`](#structFRHAPI__FriendRelationship_1ad5e4babfae7dc5e263cbe174c8eb4183)`()`

Gets the value of Status.


#### `public inline const ERHAPI_FriendshipStatus & `[`GetStatus`](#structFRHAPI__FriendRelationship_1af7968de90683a91203ef0a81757d535a)`() const`

Gets the value of Status.


#### `public inline void `[`SetStatus`](#structFRHAPI__FriendRelationship_1a08f135a51b59218b3c476caf11565ce5)`(ERHAPI_FriendshipStatus NewValue)`

Sets the value of Status.


#### `public inline FString & `[`GetNotes`](#structFRHAPI__FriendRelationship_1a60bcdc9a11fb9eaae0e810c002471199)`()`

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


#### `public inline const FString & `[`GetNotes`](#structFRHAPI__FriendRelationship_1ad28ea9035e76544076b8b45edbaaa137)`() const`

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


#### `public inline const FString & `[`GetNotes`](#structFRHAPI__FriendRelationship_1a793dce2ed3478cef9a17cf6f5146cca8)`(const FString & DefaultValue) const`

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


#### `public inline bool `[`GetNotes`](#structFRHAPI__FriendRelationship_1ada53f67cf3954122cc28792378702f87)`(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`](#structFRHAPI__FriendRelationship_1aff8ac1c222bba6abb53393db48fe1840)`()`

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


#### `public inline const FString * `[`GetNotesOrNull`](#structFRHAPI__FriendRelationship_1a444b81546e3ed27cb23353ed8d38e1aa)`() const`

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


#### `public inline void `[`SetNotes`](#structFRHAPI__FriendRelationship_1a049fff80356674c164f723ce35670dc8)`(FString NewValue)`

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


#### `public inline void `[`ClearNotes`](#structFRHAPI__FriendRelationship_1a80279de05c50dc3699f2cbfd93ae5b1d)`()`

Clears the value of Notes_Optional and sets Notes_IsSet to false.


#### `public inline FDateTime & `[`GetLastModifiedOn`](#structFRHAPI__FriendRelationship_1aed27c3940fa2dedebae068962c9decc5)`()`

Gets the value of LastModifiedOn.


#### `public inline const FDateTime & `[`GetLastModifiedOn`](#structFRHAPI__FriendRelationship_1a7ee0bbea10de5dafb4f1714b5639587f)`() const`

Gets the value of LastModifiedOn.


#### `public inline void `[`SetLastModifiedOn`](#structFRHAPI__FriendRelationship_1af7fdb53b511ed604ba48b9b20ea2f27a)`(FDateTime NewValue)`

Sets the value of LastModifiedOn.