RHAPI_InventorySessionCreateRequest
Summary
Members | Descriptions |
---|---|
struct FRHAPI_InventorySessionCreateRequest | Request 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
Members | Descriptions |
---|---|
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. |
public virtual void WriteJson (TSharedRef< TJsonWriter<>> & Writer) const | Writes 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 () 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. |
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.