Skip to content

RHAPI_BaseModel

Summary

MembersDescriptions
struct FRHAPI_ModelBase class for all RallyHereAPI data models.

struct FRHAPI_Model

Base class for all RallyHereAPI data models.

Summary

MembersDescriptions
public GENERATED_BODY(WithNoDestructor)
public inline virtual ~FRHAPI_Model()
public inline virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue)Fills this object with data from the passed in JSON.
public inline virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) constWrites the data from this object into the specified JSON Writer stream.

Members

public GENERATED_BODY(WithNoDestructor)


#### `public inline virtual `[`~FRHAPI_Model`](#structFRHAPI__Model_1ace9ebc0be8edfb46766c86c756630ee4)`()`
#### `public inline virtual bool `[`FromJson`](#structFRHAPI__Model_1a96477760fd6707ecca6b56b8d151beab)`(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 inline virtual void `[`WriteJson`](#structFRHAPI__Model_1a1571819a105ad9b51e09b51d134c2d0a)`(TSharedRef< TJsonWriter<>> & Writer) const`

Writes the data from this object into the specified JSON Writer stream.

Parameters

  • Writer JSON Writer stream to push .