Skip to content

RHAPI_PersonEmailListRequest

Summary

MembersDescriptions
struct FRHAPI_PersonEmailListRequestRequest to update a person’s email list subscriptions.

struct FRHAPI_PersonEmailListRequest

struct FRHAPI_PersonEmailListRequest
: public FRHAPI_Model

Request to update a person’s email list subscriptions.

Summary

MembersDescriptions
public TArray< int32 > EmailListIds_OptionalList of all email list ids the user is subscribed to, even if already subscribed before request.
public bool EmailListIds_IsSettrue if EmailListIds_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 TArray< int32 > & GetEmailListIds()Gets the value of EmailListIds_Optional, regardless of it having been set.
public inline const TArray< int32 > & GetEmailListIds() constGets the value of EmailListIds_Optional, regardless of it having been set.
public inline const TArray< int32 > & GetEmailListIds(const TArray< int32 > & DefaultValue) constGets the value of EmailListIds_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetEmailListIds(TArray< int32 > & OutValue) constFills OutValue with the value of EmailListIds_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< int32 > * GetEmailListIdsOrNull()Returns a pointer to EmailListIds_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< int32 > * GetEmailListIdsOrNull() constReturns a pointer to EmailListIds_Optional, if it has been set, otherwise returns nullptr.
public inline void SetEmailListIds(TArray< int32 > NewValue)Sets the value of EmailListIds_Optional and also sets EmailListIds_IsSet to true.
public inline void ClearEmailListIds()Clears the value of EmailListIds_Optional and sets EmailListIds_IsSet to false.

Members

public TArray< int32 > EmailListIds_Optional

List of all email list ids the user is subscribed to, even if already subscribed before request.

public bool EmailListIds_IsSet

true if EmailListIds_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 TArray< int32 > & GetEmailListIds()

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

public inline const TArray< int32 > & GetEmailListIds() const

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

public inline const TArray< int32 > & GetEmailListIds(const TArray< int32 > & DefaultValue) const

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

public inline bool GetEmailListIds(TArray< int32 > & OutValue) const

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

public inline TArray< int32 > * GetEmailListIdsOrNull()

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

public inline const TArray< int32 > * GetEmailListIdsOrNull() const

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

public inline void SetEmailListIds(TArray< int32 > NewValue)

Sets the value of EmailListIds_Optional and also sets EmailListIds_IsSet to true.

public inline void ClearEmailListIds()

Clears the value of EmailListIds_Optional and sets EmailListIds_IsSet to false.