RHAPI_SessionTemplates
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_SessionTemplates | A mapping of RallyHere session template types to the templates. |
struct FRHAPI_SessionTemplates
struct FRHAPI_SessionTemplates
: public FRHAPI_Model
A mapping of RallyHere session template types to the templates.
Summary
| Members | Descriptions |
|---|---|
public TMap< FString, FRHAPI_SessionTemplate>Templates_Optional | Dictionary of SessionTemplates keyed on their template type. |
public bool Templates_IsSet | true if Templates_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 TMap< FString, FRHAPI_SessionTemplate> &GetTemplates() | Gets the value of Templates_Optional, regardless of it having been set. |
public inline const TMap< FString, FRHAPI_SessionTemplate> &GetTemplates() const | Gets the value of Templates_Optional, regardless of it having been set. |
public inline const TMap< FString, FRHAPI_SessionTemplate> &GetTemplates(const TMap< FString, FRHAPI_SessionTemplate > & DefaultValue) const | Gets the value of Templates_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetTemplates(TMap< FString, FRHAPI_SessionTemplate > & OutValue) const | Fills OutValue with the value of Templates_Optional and returns true if it has been set, otherwise returns false. |
public inline TMap< FString, FRHAPI_SessionTemplate> *GetTemplatesOrNull() | Returns a pointer to Templates_Optional, if it has been set, otherwise returns nullptr. |
public inline const TMap< FString, FRHAPI_SessionTemplate> *GetTemplatesOrNull() const | Returns a pointer to Templates_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetTemplates(TMap< FString, FRHAPI_SessionTemplate > NewValue) | Sets the value of Templates_Optional and also sets Templates_IsSet to true. |
public inline void ClearTemplates() | Clears the value of Templates_Optional and sets Templates_IsSet to false. |
Members
public TMap< FString, FRHAPI_SessionTemplate>Templates_Optional
Dictionary of SessionTemplates keyed on their template type.
public bool Templates_IsSet
true if Templates_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 TMap< FString, FRHAPI_SessionTemplate> &GetTemplates()
Gets the value of Templates_Optional, regardless of it having been set.
public inline const TMap< FString, FRHAPI_SessionTemplate> &GetTemplates() const
Gets the value of Templates_Optional, regardless of it having been set.
public inline const TMap< FString, FRHAPI_SessionTemplate> &GetTemplates(const TMap< FString, FRHAPI_SessionTemplate > & DefaultValue) const
Gets the value of Templates_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetTemplates(TMap< FString, FRHAPI_SessionTemplate > & OutValue) const
Fills OutValue with the value of Templates_Optional and returns true if it has been set, otherwise returns false.
public inline TMap< FString, FRHAPI_SessionTemplate> *GetTemplatesOrNull()
Returns a pointer to Templates_Optional, if it has been set, otherwise returns nullptr.
public inline const TMap< FString, FRHAPI_SessionTemplate> *GetTemplatesOrNull() const
Returns a pointer to Templates_Optional, if it has been set, otherwise returns nullptr.
public inline void SetTemplates(TMap< FString, FRHAPI_SessionTemplate > NewValue)
Sets the value of Templates_Optional and also sets Templates_IsSet to true.
public inline void ClearTemplates()
Clears the value of Templates_Optional and sets Templates_IsSet to false.