Skip to content

RHAPI_InventorySessionCreateRequest

Summary

MembersDescriptions
struct FRHAPI_InventorySessionCreateRequestRequest body for creating a new Inventory Session.

struct FRHAPI_InventorySessionCreateRequest

struct FRHAPI_InventorySessionCreateRequest
: public FRHAPI_Model

Request body for creating a new Inventory Session.

Summary

MembersDescriptions
public ERHAPI_Platform SessionPlatform_OptionalThe platform for the session.
public bool SessionPlatform_IsSettrue if SessionPlatform_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 ERHAPI_Platform & GetSessionPlatform()Gets the value of SessionPlatform_Optional, regardless of it having been set.
public inline const ERHAPI_Platform & GetSessionPlatform() constGets the value of SessionPlatform_Optional, regardless of it having been set.
public inline const ERHAPI_Platform & GetSessionPlatform(const ERHAPI_Platform & DefaultValue) constGets the value of SessionPlatform_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetSessionPlatform(ERHAPI_Platform & OutValue) constFills OutValue with the value of SessionPlatform_Optional and returns true if it has been set, otherwise returns false.
public inline ERHAPI_Platform * GetSessionPlatformOrNull()Returns a pointer to SessionPlatform_Optional, if it has been set, otherwise returns nullptr.
public inline const ERHAPI_Platform * GetSessionPlatformOrNull() constReturns a pointer to SessionPlatform_Optional, if it has been set, otherwise returns nullptr.
public inline void SetSessionPlatform(ERHAPI_Platform NewValue)Sets the value of SessionPlatform_Optional and also sets SessionPlatform_IsSet to true.
public inline void ClearSessionPlatform()Clears the value of SessionPlatform_Optional and sets SessionPlatform_IsSet to false.

Members

public ERHAPI_Platform SessionPlatform_Optional

The platform for the session.

public bool SessionPlatform_IsSet

true if SessionPlatform_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 ERHAPI_Platform & GetSessionPlatform()

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

public inline const ERHAPI_Platform & GetSessionPlatform() const

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

public inline const ERHAPI_Platform & GetSessionPlatform(const ERHAPI_Platform & DefaultValue) const

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

public inline bool GetSessionPlatform(ERHAPI_Platform & OutValue) const

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

public inline ERHAPI_Platform * GetSessionPlatformOrNull()

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

public inline const ERHAPI_Platform * GetSessionPlatformOrNull() const

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

public inline void SetSessionPlatform(ERHAPI_Platform NewValue)

Sets the value of SessionPlatform_Optional and also sets SessionPlatform_IsSet to true.

public inline void ClearSessionPlatform()

Clears the value of SessionPlatform_Optional and sets SessionPlatform_IsSet to false.