Skip to content

RHAPI_InventorySessionCreateResponse

Summary

MembersDescriptions
struct FRHAPI_InventorySessionCreateResponseResponse 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

MembersDescriptions
public FString SessionIdThe ID of the session.
public ERHAPI_Platform SessionPlatform_OptionalThe platform for the session.
public bool SessionPlatform_IsSettrue if SessionPlatform_Optional has been set to a value
public FString OrderId_OptionalThe ID of the Order generated for any Loot given during the creation of the Inventory Session.
public bool OrderId_IsSettrue 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) constWrites 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() constGets 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() 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.
public inline FString & GetOrderId()Gets the value of OrderId_Optional, regardless of it having been set.
public inline const FString & GetOrderId() constGets the value of OrderId_Optional, regardless of it having been set.
public inline const FString & GetOrderId(const FString & DefaultValue) constGets the value of OrderId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetOrderId(FString & OutValue) constFills 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() constReturns 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

  • 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 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.