Skip to main content

RHAPI_PostGameEventsResponse

Summary​

MembersDescriptions
struct FRHAPI_PostGameEventsResponse

struct FRHAPI_PostGameEventsResponse ​

struct FRHAPI_PostGameEventsResponse
: public FRHAPI_Model

Summary​

MembersDescriptions
public int32 PostedEventsNumber of events successfully posted to Event Hub.
public TArray< FRHAPI_JsonValue>Errors_Optionallist of validation failure for each event.
public bool Errors_IsSettrue if Errors_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 int32 & GetPostedEvents()Gets the value of PostedEvents.
public inline const int32 & GetPostedEvents() constGets the value of PostedEvents.
public inline void SetPostedEvents(const int32 & NewValue)Sets the value of PostedEvents.
public inline void SetPostedEvents(int32 && NewValue)Sets the value of PostedEvents using move semantics.
public inline bool IsPostedEventsDefaultValue() constReturns true if PostedEvents matches the default value.
public inline void SetPostedEventsToDefault()Sets the value of PostedEvents to its default
public inline TArray< FRHAPI_JsonValue> &GetErrors()Gets the value of Errors_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_JsonValue> &GetErrors() constGets the value of Errors_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_JsonValue> &GetErrors(const TArray< FRHAPI_JsonValue > & DefaultValue) constGets the value of Errors_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetErrors(TArray< FRHAPI_JsonValue > & OutValue) constFills OutValue with the value of Errors_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< FRHAPI_JsonValue> *GetErrorsOrNull()Returns a pointer to Errors_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< FRHAPI_JsonValue> *GetErrorsOrNull() constReturns a pointer to Errors_Optional, if it has been set, otherwise returns nullptr.
public inline void SetErrors(const TArray< FRHAPI_JsonValue > & NewValue)Sets the value of Errors_Optional and also sets Errors_IsSet to true.
public inline void SetErrors(TArray< FRHAPI_JsonValue > && NewValue)Sets the value of Errors_Optional and also sets Errors_IsSet to true using move semantics.
public inline void ClearErrors()Clears the value of Errors_Optional and sets Errors_IsSet to false.
public inline bool IsErrorsSet() constChecks whether Errors_Optional has been set.

Members​

public int32 PostedEvents ​

Number of events successfully posted to Event Hub.

public TArray< FRHAPI_JsonValue>Errors_Optional ​

list of validation failure for each event.

public bool Errors_IsSet ​

true if Errors_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 int32 & GetPostedEvents() ​

Gets the value of PostedEvents.

public inline const int32 & GetPostedEvents() const ​

Gets the value of PostedEvents.

public inline void SetPostedEvents(const int32 & NewValue) ​

Sets the value of PostedEvents.

public inline void SetPostedEvents(int32 && NewValue) ​

Sets the value of PostedEvents using move semantics.

public inline bool IsPostedEventsDefaultValue() const ​

Returns true if PostedEvents matches the default value.

public inline void SetPostedEventsToDefault() ​

Sets the value of PostedEvents to its default

public inline TArray< FRHAPI_JsonValue> &GetErrors() ​

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

public inline const TArray< FRHAPI_JsonValue> &GetErrors() const ​

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

public inline const TArray< FRHAPI_JsonValue> &GetErrors(const TArray< FRHAPI_JsonValue > & DefaultValue) const ​

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

public inline bool GetErrors(TArray< FRHAPI_JsonValue > & OutValue) const ​

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

public inline TArray< FRHAPI_JsonValue> *GetErrorsOrNull() ​

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

public inline const TArray< FRHAPI_JsonValue> *GetErrorsOrNull() const ​

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

public inline void SetErrors(const TArray< FRHAPI_JsonValue > & NewValue) ​

Sets the value of Errors_Optional and also sets Errors_IsSet to true.

public inline void SetErrors(TArray< FRHAPI_JsonValue > && NewValue) ​

Sets the value of Errors_Optional and also sets Errors_IsSet to true using move semantics.

public inline void ClearErrors() ​

Clears the value of Errors_Optional and sets Errors_IsSet to false.

public inline bool IsErrorsSet() const ​

Checks whether Errors_Optional has been set.