RHAPI_UpdateInventoryRequestById
Summary
Members | Descriptions |
---|---|
struct FRHAPI_UpdateInventoryRequestById | Request to Update Inventory by an existing Inventory ID. If the Inventory entry does not exist, then the request will fail. |
struct FRHAPI_UpdateInventoryRequestById
struct FRHAPI_UpdateInventoryRequestById
: public FRHAPI_Model
Request to Update Inventory by an existing Inventory ID. If the Inventory entry does not exist, then the request will fail.
Summary
Members | Descriptions |
---|---|
public ERHAPI_InventoryBucket Bucket_Optional | Inventory Bucket for this Inventory Operation. |
public bool Bucket_IsSet | true if Bucket_Optional has been set to a value |
public int32 Count_Optional | Count for this Inventory Operation. |
public bool Count_IsSet | true if Count_Optional has been set to a value |
public FDateTime Expires_Optional | Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone. |
public bool Expires_IsSet | true if Expires_Optional has been set to a value |
public TMap< FString, FString > CustomData_Optional | Arbitrary data map that can be set to add additional data to Inventory. |
public bool CustomData_IsSet | true if CustomData_Optional has been set to a value |
public int32 ItemId_Optional | Item ID for this Inventory Operation. If the Item ID is not set during an Update Inventory Request, then the Item ID will not be modified on the existing Inventory Record. |
public bool ItemId_IsSet | true if ItemId_Optional has been set to a value |
public FGuid InventoryId | Inventory ID for this Inventory Operation. |
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_InventoryBucket & GetBucket () | Gets the value of Bucket_Optional, regardless of it having been set. |
public inline const ERHAPI_InventoryBucket & GetBucket () const | Gets the value of Bucket_Optional, regardless of it having been set. |
public inline const ERHAPI_InventoryBucket & GetBucket (const ERHAPI_InventoryBucket & DefaultValue) const | Gets the value of Bucket_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetBucket (ERHAPI_InventoryBucket & OutValue) const | Fills OutValue with the value of Bucket_Optional and returns true if it has been set, otherwise returns false. |
public inline ERHAPI_InventoryBucket * GetBucketOrNull () | Returns a pointer to Bucket_Optional, if it has been set, otherwise returns nullptr. |
public inline const ERHAPI_InventoryBucket * GetBucketOrNull () const | Returns a pointer to Bucket_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetBucket (ERHAPI_InventoryBucket NewValue) | Sets the value of Bucket_Optional and also sets Bucket_IsSet to true. |
public inline void ClearBucket () | Clears the value of Bucket_Optional and sets Bucket_IsSet to false. |
public inline int32 & GetCount () | Gets the value of Count_Optional, regardless of it having been set. |
public inline const int32 & GetCount () const | Gets the value of Count_Optional, regardless of it having been set. |
public inline const int32 & GetCount (const int32 & DefaultValue) const | Gets the value of Count_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetCount (int32 & OutValue) const | Fills OutValue with the value of Count_Optional and returns true if it has been set, otherwise returns false. |
public inline int32 * GetCountOrNull () | Returns a pointer to Count_Optional, if it has been set, otherwise returns nullptr. |
public inline const int32 * GetCountOrNull () const | Returns a pointer to Count_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetCount (int32 NewValue) | Sets the value of Count_Optional and also sets Count_IsSet to true. |
public inline void ClearCount () | Clears the value of Count_Optional and sets Count_IsSet to false. |
public inline bool IsCountDefaultValue () const | Returns true if Count_Optional is set and matches the default value. |
public inline void SetCountToDefault () | Sets the value of Count_Optional to its default and also sets Count_IsSet to true. |
public inline FDateTime & GetExpires () | Gets the value of Expires_Optional, regardless of it having been set. |
public inline const FDateTime & GetExpires () const | Gets the value of Expires_Optional, regardless of it having been set. |
public inline const FDateTime & GetExpires (const FDateTime & DefaultValue) const | Gets the value of Expires_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetExpires (FDateTime & OutValue) const | Fills OutValue with the value of Expires_Optional and returns true if it has been set, otherwise returns false. |
public inline FDateTime * GetExpiresOrNull () | Returns a pointer to Expires_Optional, if it has been set, otherwise returns nullptr. |
public inline const FDateTime * GetExpiresOrNull () const | Returns a pointer to Expires_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetExpires (FDateTime NewValue) | Sets the value of Expires_Optional and also sets Expires_IsSet to true. |
public inline void ClearExpires () | Clears the value of Expires_Optional and sets Expires_IsSet to false. |
public inline TMap< FString, FString > & GetCustomData () | Gets the value of CustomData_Optional, regardless of it having been set. |
public inline const TMap< FString, FString > & GetCustomData () const | Gets the value of CustomData_Optional, regardless of it having been set. |
public inline const TMap< FString, FString > & GetCustomData (const TMap< FString, FString > & DefaultValue) const | Gets the value of CustomData_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetCustomData (TMap< FString, FString > & OutValue) const | Fills OutValue with the value of CustomData_Optional and returns true if it has been set, otherwise returns false. |
public inline TMap< FString, FString > * GetCustomDataOrNull () | Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr. |
public inline const TMap< FString, FString > * GetCustomDataOrNull () const | Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetCustomData (TMap< FString, FString > NewValue) | Sets the value of CustomData_Optional and also sets CustomData_IsSet to true. |
public inline void ClearCustomData () | Clears the value of CustomData_Optional and sets CustomData_IsSet to false. |
public inline int32 & GetItemId () | Gets the value of ItemId_Optional, regardless of it having been set. |
public inline const int32 & GetItemId () const | Gets the value of ItemId_Optional, regardless of it having been set. |
public inline const int32 & GetItemId (const int32 & DefaultValue) const | Gets the value of ItemId_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetItemId (int32 & OutValue) const | Fills OutValue with the value of ItemId_Optional and returns true if it has been set, otherwise returns false. |
public inline int32 * GetItemIdOrNull () | Returns a pointer to ItemId_Optional, if it has been set, otherwise returns nullptr. |
public inline const int32 * GetItemIdOrNull () const | Returns a pointer to ItemId_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetItemId (int32 NewValue) | Sets the value of ItemId_Optional and also sets ItemId_IsSet to true. |
public inline void ClearItemId () | Clears the value of ItemId_Optional and sets ItemId_IsSet to false. |
public inline bool IsItemIdDefaultValue () const | Returns true if ItemId_Optional is set and matches the default value. |
public inline void SetItemIdToDefault () | Sets the value of ItemId_Optional to its default and also sets ItemId_IsSet to true. |
public inline FGuid & GetInventoryId () | Gets the value of InventoryId. |
public inline const FGuid & GetInventoryId () const | Gets the value of InventoryId. |
public inline void SetInventoryId (FGuid NewValue) | Sets the value of InventoryId. |
Members
public ERHAPI_InventoryBucket
Bucket_Optional
Inventory Bucket for this Inventory Operation.
public bool
Bucket_IsSet
true if Bucket_Optional has been set to a value
public int32
Count_Optional
Count for this Inventory Operation.
public bool
Count_IsSet
true if Count_Optional has been set to a value
public FDateTime
Expires_Optional
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone.
public bool
Expires_IsSet
true if Expires_Optional has been set to a value
public TMap< FString, FString >
CustomData_Optional
Arbitrary data map that can be set to add additional data to Inventory.
public bool
CustomData_IsSet
true if CustomData_Optional has been set to a value
public int32
ItemId_Optional
Item ID for this Inventory Operation. If the Item ID is not set during an Update Inventory Request, then the Item ID will not be modified on the existing Inventory Record.
public bool
ItemId_IsSet
true if ItemId_Optional has been set to a value
public FGuid
InventoryId
Inventory ID for this Inventory Operation.
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_InventoryBucket &
GetBucket
()
Gets the value of Bucket_Optional, regardless of it having been set.
public inline const ERHAPI_InventoryBucket &
GetBucket
() const
Gets the value of Bucket_Optional, regardless of it having been set.
public inline const ERHAPI_InventoryBucket &
GetBucket
(const ERHAPI_InventoryBucket & DefaultValue) const
Gets the value of Bucket_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetBucket
(ERHAPI_InventoryBucket & OutValue) const
Fills OutValue with the value of Bucket_Optional and returns true if it has been set, otherwise returns false.
public inline ERHAPI_InventoryBucket *
GetBucketOrNull
()
Returns a pointer to Bucket_Optional, if it has been set, otherwise returns nullptr.
public inline const ERHAPI_InventoryBucket *
GetBucketOrNull
() const
Returns a pointer to Bucket_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetBucket
(ERHAPI_InventoryBucket NewValue)
Sets the value of Bucket_Optional and also sets Bucket_IsSet to true.
public inline void
ClearBucket
()
Clears the value of Bucket_Optional and sets Bucket_IsSet to false.
public inline int32 &
GetCount
()
Gets the value of Count_Optional, regardless of it having been set.
public inline const int32 &
GetCount
() const
Gets the value of Count_Optional, regardless of it having been set.
public inline const int32 &
GetCount
(const int32 & DefaultValue) const
Gets the value of Count_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetCount
(int32 & OutValue) const
Fills OutValue with the value of Count_Optional and returns true if it has been set, otherwise returns false.
public inline int32 *
GetCountOrNull
()
Returns a pointer to Count_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 *
GetCountOrNull
() const
Returns a pointer to Count_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetCount
(int32 NewValue)
Sets the value of Count_Optional and also sets Count_IsSet to true.
public inline void
ClearCount
()
Clears the value of Count_Optional and sets Count_IsSet to false.
public inline bool
IsCountDefaultValue
() const
Returns true if Count_Optional is set and matches the default value.
public inline void
SetCountToDefault
()
Sets the value of Count_Optional to its default and also sets Count_IsSet to true.
public inline FDateTime &
GetExpires
()
Gets the value of Expires_Optional, regardless of it having been set.
public inline const FDateTime &
GetExpires
() const
Gets the value of Expires_Optional, regardless of it having been set.
public inline const FDateTime &
GetExpires
(const FDateTime & DefaultValue) const
Gets the value of Expires_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetExpires
(FDateTime & OutValue) const
Fills OutValue with the value of Expires_Optional and returns true if it has been set, otherwise returns false.
public inline FDateTime *
GetExpiresOrNull
()
Returns a pointer to Expires_Optional, if it has been set, otherwise returns nullptr.
public inline const FDateTime *
GetExpiresOrNull
() const
Returns a pointer to Expires_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetExpires
(FDateTime NewValue)
Sets the value of Expires_Optional and also sets Expires_IsSet to true.
public inline void
ClearExpires
()
Clears the value of Expires_Optional and sets Expires_IsSet to false.
public inline TMap< FString, FString > &
GetCustomData
()
Gets the value of CustomData_Optional, regardless of it having been set.
public inline const TMap< FString, FString > &
GetCustomData
() const
Gets the value of CustomData_Optional, regardless of it having been set.
public inline const TMap< FString, FString > &
GetCustomData
(const TMap< FString, FString > & DefaultValue) const
Gets the value of CustomData_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetCustomData
(TMap< FString, FString > & OutValue) const
Fills OutValue with the value of CustomData_Optional and returns true if it has been set, otherwise returns false.
public inline TMap< FString, FString > *
GetCustomDataOrNull
()
Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr.
public inline const TMap< FString, FString > *
GetCustomDataOrNull
() const
Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetCustomData
(TMap< FString, FString > NewValue)
Sets the value of CustomData_Optional and also sets CustomData_IsSet to true.
public inline void
ClearCustomData
()
Clears the value of CustomData_Optional and sets CustomData_IsSet to false.
public inline int32 &
GetItemId
()
Gets the value of ItemId_Optional, regardless of it having been set.
public inline const int32 &
GetItemId
() const
Gets the value of ItemId_Optional, regardless of it having been set.
public inline const int32 &
GetItemId
(const int32 & DefaultValue) const
Gets the value of ItemId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetItemId
(int32 & OutValue) const
Fills OutValue with the value of ItemId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 *
GetItemIdOrNull
()
Returns a pointer to ItemId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 *
GetItemIdOrNull
() const
Returns a pointer to ItemId_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetItemId
(int32 NewValue)
Sets the value of ItemId_Optional and also sets ItemId_IsSet to true.
public inline void
ClearItemId
()
Clears the value of ItemId_Optional and sets ItemId_IsSet to false.
public inline bool
IsItemIdDefaultValue
() const
Returns true if ItemId_Optional is set and matches the default value.
public inline void
SetItemIdToDefault
()
Sets the value of ItemId_Optional to its default and also sets ItemId_IsSet to true.
public inline FGuid &
GetInventoryId
()
Gets the value of InventoryId.
public inline const FGuid &
GetInventoryId
() const
Gets the value of InventoryId.
public inline void
SetInventoryId
(FGuid NewValue)
Sets the value of InventoryId.