RHAPI_CreateInventoryRequest
Summary
Members | Descriptions |
---|---|
struct FRHAPI_CreateInventoryRequest | Request to Create a new Inventory. |
struct FRHAPI_CreateInventoryRequest
struct FRHAPI_CreateInventoryRequest : public FRHAPI_Model
Request to Create a new Inventory.
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 | |
public ERHAPI_CreateInventoryType Type_Optional | |
public bool Type_IsSet | true if Type_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_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. |
public inline const int32 & GetItemId () const | Gets the value of ItemId. |
public inline void SetItemId (int32 NewValue) | Sets the value of ItemId. |
public inline bool IsItemIdDefaultValue () const | Returns true if ItemId matches the default value. |
public inline void SetItemIdToDefault () | Sets the value of ItemId to its default |
public inline ERHAPI_CreateInventoryType & GetType () | Gets the value of Type_Optional, regardless of it having been set. |
public inline const ERHAPI_CreateInventoryType & GetType () const | Gets the value of Type_Optional, regardless of it having been set. |
public inline const ERHAPI_CreateInventoryType & GetType (const ERHAPI_CreateInventoryType & DefaultValue) const | Gets the value of Type_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetType (ERHAPI_CreateInventoryType & OutValue) const | Fills OutValue with the value of Type_Optional and returns true if it has been set, otherwise returns false. |
public inline ERHAPI_CreateInventoryType * GetTypeOrNull () | Returns a pointer to Type_Optional, if it has been set, otherwise returns nullptr. |
public inline const ERHAPI_CreateInventoryType * GetTypeOrNull () const | Returns a pointer to Type_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetType (ERHAPI_CreateInventoryType NewValue) | Sets the value of Type_Optional and also sets Type_IsSet to true. |
public inline void ClearType () | Clears the value of Type_Optional and sets Type_IsSet to false. |
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
public ERHAPI_CreateInventoryType
Type_Optional
public bool
Type_IsSet
true if Type_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_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.
public inline const int32 &
GetItemId
() const
Gets the value of ItemId.
public inline void
SetItemId
(int32 NewValue)
Sets the value of ItemId.
public inline bool
IsItemIdDefaultValue
() const
Returns true if ItemId matches the default value.
public inline void
SetItemIdToDefault
()
Sets the value of ItemId to its default
public inline ERHAPI_CreateInventoryType &
GetType
()
Gets the value of Type_Optional, regardless of it having been set.
public inline const ERHAPI_CreateInventoryType &
GetType
() const
Gets the value of Type_Optional, regardless of it having been set.
public inline const ERHAPI_CreateInventoryType &
GetType
(const ERHAPI_CreateInventoryType & DefaultValue) const
Gets the value of Type_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetType
(ERHAPI_CreateInventoryType & OutValue) const
Fills OutValue with the value of Type_Optional and returns true if it has been set, otherwise returns false.
public inline ERHAPI_CreateInventoryType *
GetTypeOrNull
()
Returns a pointer to Type_Optional, if it has been set, otherwise returns nullptr.
public inline const ERHAPI_CreateInventoryType *
GetTypeOrNull
() const
Returns a pointer to Type_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetType
(ERHAPI_CreateInventoryType NewValue)
Sets the value of Type_Optional and also sets Type_IsSet to true.
public inline void
ClearType
()
Clears the value of Type_Optional and sets Type_IsSet to false.