RHAPI_AdOpportunity
Summary
Members | Descriptions |
---|---|
struct FRHAPI_AdOpportunity |
struct FRHAPI_AdOpportunity
struct FRHAPI_AdOpportunity
: public FRHAPI_Model
Summary
Members | Descriptions |
---|---|
public FString AdUrl | The URL to the ad. |
public int32 Seconds | The number of seconds the ad is. |
public FString OpportunityId | The ID of the ad opportunity. |
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 FString & GetAdUrl () | Gets the value of AdUrl. |
public inline const FString & GetAdUrl () const | Gets the value of AdUrl. |
public inline void SetAdUrl (FString NewValue) | Sets the value of AdUrl. |
public inline int32 & GetSeconds () | Gets the value of Seconds. |
public inline const int32 & GetSeconds () const | Gets the value of Seconds. |
public inline void SetSeconds (int32 NewValue) | Sets the value of Seconds. |
public inline bool IsSecondsDefaultValue () const | Returns true if Seconds matches the default value. |
public inline void SetSecondsToDefault () | Sets the value of Seconds to its default |
public inline FString & GetOpportunityId () | Gets the value of OpportunityId. |
public inline const FString & GetOpportunityId () const | Gets the value of OpportunityId. |
public inline void SetOpportunityId (FString NewValue) | Sets the value of OpportunityId. |
Members
public FString
AdUrl
The URL to the ad.
public int32
Seconds
The number of seconds the ad is.
public FString
OpportunityId
The ID of the ad opportunity.
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 &
GetAdUrl
()
Gets the value of AdUrl.
public inline const FString &
GetAdUrl
() const
Gets the value of AdUrl.
public inline void
SetAdUrl
(FString NewValue)
Sets the value of AdUrl.
public inline int32 &
GetSeconds
()
Gets the value of Seconds.
public inline const int32 &
GetSeconds
() const
Gets the value of Seconds.
public inline void
SetSeconds
(int32 NewValue)
Sets the value of Seconds.
public inline bool
IsSecondsDefaultValue
() const
Returns true if Seconds matches the default value.
public inline void
SetSecondsToDefault
()
Sets the value of Seconds to its default
public inline FString &
GetOpportunityId
()
Gets the value of OpportunityId.
public inline const FString &
GetOpportunityId
() const
Gets the value of OpportunityId.
public inline void
SetOpportunityId
(FString NewValue)
Sets the value of OpportunityId.