RHAPI_InventorySessionCreateResponse
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_InventorySessionCreateResponse | Response body for creating a new Inventory Session. |
struct FRHAPI_InventorySessionCreateResponse
struct FRHAPI_InventorySessionCreateResponse
: public FRHAPI_Model
Response body for creating a new Inventory Session.
Summary
| Members | Descriptions |
|---|---|
public FString SessionId | The ID of the session. |
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 FString OrderId_Optional | The ID of the Order generated for any Loot given during the creation of the Inventory Session. |
public bool OrderId_IsSet | true if OrderId_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 FString & GetSessionId() | Gets the value of SessionId. |
public inline const FString & GetSessionId() const | Gets the value of SessionId. |
public inline void SetSessionId(FString NewValue) | Sets the value of SessionId. |
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. |
public inline FString & GetOrderId() | Gets the value of OrderId_Optional, regardless of it having been set. |
public inline const FString & GetOrderId() const | Gets the value of OrderId_Optional, regardless of it having been set. |
public inline const FString & GetOrderId(const FString & DefaultValue) const | Gets the value of OrderId_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetOrderId(FString & OutValue) const | Fills OutValue with the value of OrderId_Optional and returns true if it has been set, otherwise returns false. |
public inline FString * GetOrderIdOrNull() | Returns a pointer to OrderId_Optional, if it has been set, otherwise returns nullptr. |
public inline const FString * GetOrderIdOrNull() const | Returns a pointer to OrderId_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetOrderId(FString NewValue) | Sets the value of OrderId_Optional and also sets OrderId_IsSet to true. |
public inline void ClearOrderId() | Clears the value of OrderId_Optional and sets OrderId_IsSet to false. |
Members
public FString SessionId
The ID of the session.
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 FString OrderId_Optional
The ID of the Order generated for any Loot given during the creation of the Inventory Session.
public bool OrderId_IsSet
true if OrderId_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
JsonValueData 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
WriterJSON Writer stream to push .
public inline FString & GetSessionId()
Gets the value of SessionId.
public inline const FString & GetSessionId() const
Gets the value of SessionId.
public inline void SetSessionId(FString NewValue)
Sets the value of SessionId.
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.
public inline FString & GetOrderId()
Gets the value of OrderId_Optional, regardless of it having been set.
public inline const FString & GetOrderId() const
Gets the value of OrderId_Optional, regardless of it having been set.
public inline const FString & GetOrderId(const FString & DefaultValue) const
Gets the value of OrderId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetOrderId(FString & OutValue) const
Fills OutValue with the value of OrderId_Optional and returns true if it has been set, otherwise returns false.
public inline FString * GetOrderIdOrNull()
Returns a pointer to OrderId_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetOrderIdOrNull() const
Returns a pointer to OrderId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetOrderId(FString NewValue)
Sets the value of OrderId_Optional and also sets OrderId_IsSet to true.
public inline void ClearOrderId()
Clears the value of OrderId_Optional and sets OrderId_IsSet to false.