RHAPI_AdOpportunity
Summary
Members | Descriptions |
---|---|
struct FRHAPI_AdOpportunity |
struct FRHAPI_AdOpportunity
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`](#structFRHAPI__AdOpportunity_1ad3fcac6b407583b0eff0b79eca7062f2)
The number of seconds the ad is.
#### `public FString `[`OpportunityId`](#structFRHAPI__AdOpportunity_1a08262c81d1b61b8000582e45c4b54049)
The ID of the ad opportunity.
#### `public virtual bool `[`FromJson`](#structFRHAPI__AdOpportunity_1a021b3507f5edc302686d770788269419)`(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`](#structFRHAPI__AdOpportunity_1a4a1100d7ce89db79898d59dc8017effd)`(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`](#structFRHAPI__AdOpportunity_1a8dcf652a8c0b7ab48dd3c39f80628aab)`()`
Gets the value of AdUrl.
#### `public inline const FString & `[`GetAdUrl`](#structFRHAPI__AdOpportunity_1a5e81eba4f2fc85ab5c798c0d0e4b0b25)`() const`
Gets the value of AdUrl.
#### `public inline void `[`SetAdUrl`](#structFRHAPI__AdOpportunity_1a163059957b31cb5bf11118d670732e04)`(FString NewValue)`
Sets the value of AdUrl.
#### `public inline int32 & `[`GetSeconds`](#structFRHAPI__AdOpportunity_1a81af9bc21531a9b893c63701c3a32226)`()`
Gets the value of Seconds.
#### `public inline const int32 & `[`GetSeconds`](#structFRHAPI__AdOpportunity_1a64f89adb2f2bc8a770256f856171edb1)`() const`
Gets the value of Seconds.
#### `public inline void `[`SetSeconds`](#structFRHAPI__AdOpportunity_1a39d50942df6398873b5371b0b8c3f01a)`(int32 NewValue)`
Sets the value of Seconds.
#### `public inline bool `[`IsSecondsDefaultValue`](#structFRHAPI__AdOpportunity_1a9e54ef7649ae8449e4b91140e44019cc)`() const`
Returns true if Seconds matches the default value.
#### `public inline void `[`SetSecondsToDefault`](#structFRHAPI__AdOpportunity_1ad114b28f826eab6f93f6fb78fc405714)`()`
Sets the value of Seconds to its default
#### `public inline FString & `[`GetOpportunityId`](#structFRHAPI__AdOpportunity_1a6403415eb727e767876069dd98fd0296)`()`
Gets the value of OpportunityId.
#### `public inline const FString & `[`GetOpportunityId`](#structFRHAPI__AdOpportunity_1af16ec49a16ce1243bd2f250e0673d9b9)`() const`
Gets the value of OpportunityId.
#### `public inline void `[`SetOpportunityId`](#structFRHAPI__AdOpportunity_1ac464e608478a61280f9af03bbd03c1dc)`(FString NewValue)`
Sets the value of OpportunityId.