RHAPI_InventorySessionCreateRequest
Summary
Members | Descriptions |
---|---|
struct FRHAPI_InventorySessionCreateRequest | Request body for creating a new Inventory Session. |
struct FRHAPI_InventorySessionCreateRequest
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`](#structFRHAPI__InventorySessionCreateRequest_1ab4b7db4ec8fc04e689de59d6277dd7fd)
true if SessionPlatform_Optional has been set to a value
#### `public virtual bool `[`FromJson`](#structFRHAPI__InventorySessionCreateRequest_1a0ad9b032707d5e257a32fdb6b775ba2a)`(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`](#structFRHAPI__InventorySessionCreateRequest_1ac9b911adc322b031836db578fd705c6f)`(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`](#structFRHAPI__InventorySessionCreateRequest_1a399a8e0b4eff8aa1b5e32465b09bcd1a)`()`
Gets the value of SessionPlatform_Optional, regardless of it having been set.
#### `public inline const ERHAPI_Platform & `[`GetSessionPlatform`](#structFRHAPI__InventorySessionCreateRequest_1a71d76d23f6e179dd66d70bf12320b279)`() const`
Gets the value of SessionPlatform_Optional, regardless of it having been set.
#### `public inline const ERHAPI_Platform & `[`GetSessionPlatform`](#structFRHAPI__InventorySessionCreateRequest_1ad83246843db2f5a6cbad43766265996f)`(const ERHAPI_Platform & DefaultValue) const`
Gets the value of SessionPlatform_Optional, if it has been set, otherwise it returns DefaultValue.
#### `public inline bool `[`GetSessionPlatform`](#structFRHAPI__InventorySessionCreateRequest_1acbb25e0e1ca49d59732c2f58fa7ce40b)`(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`](#structFRHAPI__InventorySessionCreateRequest_1a6b04a45761ddcd173be6bd2f1663b9e4)`()`
Returns a pointer to SessionPlatform_Optional, if it has been set, otherwise returns nullptr.
#### `public inline const ERHAPI_Platform * `[`GetSessionPlatformOrNull`](#structFRHAPI__InventorySessionCreateRequest_1aa24dff40feb38b6811dbdb940b04c681)`() const`
Returns a pointer to SessionPlatform_Optional, if it has been set, otherwise returns nullptr.
#### `public inline void `[`SetSessionPlatform`](#structFRHAPI__InventorySessionCreateRequest_1a851b5285b0f1ba825dd40d5d9b5eef43)`(ERHAPI_Platform NewValue)`
Sets the value of SessionPlatform_Optional and also sets SessionPlatform_IsSet to true.
#### `public inline void `[`ClearSessionPlatform`](#structFRHAPI__InventorySessionCreateRequest_1aad55a63e039262d87c1dd0715bd54d71)`()`
Clears the value of SessionPlatform_Optional and sets SessionPlatform_IsSet to false.