Skip to content

RHAPI_CacheInfo

Summary

MembersDescriptions
struct FRHAPI_CacheInfoCache information for the resource it is attached to. The etag value can be used with the If-None-Match and If-Match headers.

struct FRHAPI_CacheInfo

struct FRHAPI_CacheInfo
: public FRHAPI_Model

Cache information for the resource it is attached to. The etag value can be used with the If-None-Match and If-Match headers.

Summary

MembersDescriptions
public FString Etag
public FString StrRep_Optional
public bool StrRep_IsSettrue if StrRep_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 & GetEtag()Gets the value of Etag.
public inline const FString & GetEtag() constGets the value of Etag.
public inline void SetEtag(FString NewValue)Sets the value of Etag.
public inline FString & GetStrRep()Gets the value of StrRep_Optional, regardless of it having been set.
public inline const FString & GetStrRep() constGets the value of StrRep_Optional, regardless of it having been set.
public inline const FString & GetStrRep(const FString & DefaultValue) constGets the value of StrRep_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetStrRep(FString & OutValue) constFills OutValue with the value of StrRep_Optional and returns true if it has been set, otherwise returns false.
public inline FString * GetStrRepOrNull()Returns a pointer to StrRep_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetStrRepOrNull() constReturns a pointer to StrRep_Optional, if it has been set, otherwise returns nullptr.
public inline void SetStrRep(FString NewValue)Sets the value of StrRep_Optional and also sets StrRep_IsSet to true.
public inline void ClearStrRep()Clears the value of StrRep_Optional and sets StrRep_IsSet to false.

Members

public FString Etag

public FString StrRep_Optional

public bool StrRep_IsSet

true if StrRep_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 & GetEtag()

Gets the value of Etag.

public inline const FString & GetEtag() const

Gets the value of Etag.

public inline void SetEtag(FString NewValue)

Sets the value of Etag.

public inline FString & GetStrRep()

Gets the value of StrRep_Optional, regardless of it having been set.

public inline const FString & GetStrRep() const

Gets the value of StrRep_Optional, regardless of it having been set.

public inline const FString & GetStrRep(const FString & DefaultValue) const

Gets the value of StrRep_Optional, if it has been set, otherwise it returns DefaultValue.

public inline bool GetStrRep(FString & OutValue) const

Fills OutValue with the value of StrRep_Optional and returns true if it has been set, otherwise returns false.

public inline FString * GetStrRepOrNull()

Returns a pointer to StrRep_Optional, if it has been set, otherwise returns nullptr.

public inline const FString * GetStrRepOrNull() const

Returns a pointer to StrRep_Optional, if it has been set, otherwise returns nullptr.

public inline void SetStrRep(FString NewValue)

Sets the value of StrRep_Optional and also sets StrRep_IsSet to true.

public inline void ClearStrRep()

Clears the value of StrRep_Optional and sets StrRep_IsSet to false.