Skip to content
RallyHere Docs
GitHub

RHAPI_BodyUpdateOpportunityById

Summary

MembersDescriptions
struct FRHAPI_BodyUpdateOpportunityById

struct FRHAPI_BodyUpdateOpportunityById

struct FRHAPI_BodyUpdateOpportunityById
  : public FRHAPI_Model

Summary

MembersDescriptions
public ERHAPI_OpportunityState StateState of the opportunity.
public ERHAPI_OpportunityAbortReason AbortReason_OptionalReason for aborting the opportunity.
public bool AbortReason_IsSettrue if AbortReason_Optional has been set to a value
public int32 AbortSeconds_OptionalNumber of seconds into the video when the abort happened.
public bool AbortSeconds_IsSettrue if AbortSeconds_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 ERHAPI_OpportunityState & GetState()Gets the value of State.
public inline const ERHAPI_OpportunityState & GetState() constGets the value of State.
public inline void SetState(ERHAPI_OpportunityState NewValue)Sets the value of State.
public inline ERHAPI_OpportunityAbortReason & GetAbortReason()Gets the value of AbortReason_Optional, regardless of it having been set.
public inline const ERHAPI_OpportunityAbortReason & GetAbortReason() constGets the value of AbortReason_Optional, regardless of it having been set.
public inline const ERHAPI_OpportunityAbortReason & GetAbortReason(const ERHAPI_OpportunityAbortReason & DefaultValue) constGets the value of AbortReason_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetAbortReason(ERHAPI_OpportunityAbortReason & OutValue) constFills OutValue with the value of AbortReason_Optional and returns true if it has been set, otherwise returns false.
public inline ERHAPI_OpportunityAbortReason * GetAbortReasonOrNull()Returns a pointer to AbortReason_Optional, if it has been set, otherwise returns nullptr.
public inline const ERHAPI_OpportunityAbortReason * GetAbortReasonOrNull() constReturns a pointer to AbortReason_Optional, if it has been set, otherwise returns nullptr.
public inline void SetAbortReason(ERHAPI_OpportunityAbortReason NewValue)Sets the value of AbortReason_Optional and also sets AbortReason_IsSet to true.
public inline void ClearAbortReason()Clears the value of AbortReason_Optional and sets AbortReason_IsSet to false.
public inline int32 & GetAbortSeconds()Gets the value of AbortSeconds_Optional, regardless of it having been set.
public inline const int32 & GetAbortSeconds() constGets the value of AbortSeconds_Optional, regardless of it having been set.
public inline const int32 & GetAbortSeconds(const int32 & DefaultValue) constGets the value of AbortSeconds_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetAbortSeconds(int32 & OutValue) constFills OutValue with the value of AbortSeconds_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetAbortSecondsOrNull()Returns a pointer to AbortSeconds_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetAbortSecondsOrNull() constReturns a pointer to AbortSeconds_Optional, if it has been set, otherwise returns nullptr.
public inline void SetAbortSeconds(int32 NewValue)Sets the value of AbortSeconds_Optional and also sets AbortSeconds_IsSet to true.
public inline void ClearAbortSeconds()Clears the value of AbortSeconds_Optional and sets AbortSeconds_IsSet to false.
public inline bool IsAbortSecondsDefaultValue() constReturns true if AbortSeconds_Optional is set and matches the default value.
public inline void SetAbortSecondsToDefault()Sets the value of AbortSeconds_Optional to its default and also sets AbortSeconds_IsSet to true.

Members

public ERHAPI_OpportunityState State

State of the opportunity.

public ERHAPI_OpportunityAbortReason AbortReason_Optional

Reason for aborting the opportunity.

public bool AbortReason_IsSet

true if AbortReason_Optional has been set to a value

public int32 AbortSeconds_Optional

Number of seconds into the video when the abort happened.

public bool AbortSeconds_IsSet

true if AbortSeconds_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_OpportunityState & GetState()

Gets the value of State.

public inline const ERHAPI_OpportunityState & GetState() const

Gets the value of State.

public inline void SetState(ERHAPI_OpportunityState NewValue)

Sets the value of State.

public inline ERHAPI_OpportunityAbortReason & GetAbortReason()

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

public inline const ERHAPI_OpportunityAbortReason & GetAbortReason() const

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

public inline const ERHAPI_OpportunityAbortReason & GetAbortReason(const ERHAPI_OpportunityAbortReason & DefaultValue) const

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

public inline bool GetAbortReason(ERHAPI_OpportunityAbortReason & OutValue) const

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

public inline ERHAPI_OpportunityAbortReason * GetAbortReasonOrNull()

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

public inline const ERHAPI_OpportunityAbortReason * GetAbortReasonOrNull() const

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

public inline void SetAbortReason(ERHAPI_OpportunityAbortReason NewValue)

Sets the value of AbortReason_Optional and also sets AbortReason_IsSet to true.

public inline void ClearAbortReason()

Clears the value of AbortReason_Optional and sets AbortReason_IsSet to false.

public inline int32 & GetAbortSeconds()

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

public inline const int32 & GetAbortSeconds() const

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

public inline const int32 & GetAbortSeconds(const int32 & DefaultValue) const

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

public inline bool GetAbortSeconds(int32 & OutValue) const

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

public inline int32 * GetAbortSecondsOrNull()

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

public inline const int32 * GetAbortSecondsOrNull() const

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

public inline void SetAbortSeconds(int32 NewValue)

Sets the value of AbortSeconds_Optional and also sets AbortSeconds_IsSet to true.

public inline void ClearAbortSeconds()

Clears the value of AbortSeconds_Optional and sets AbortSeconds_IsSet to false.

public inline bool IsAbortSecondsDefaultValue() const

Returns true if AbortSeconds_Optional is set and matches the default value.

public inline void SetAbortSecondsToDefault()

Sets the value of AbortSeconds_Optional to its default and also sets AbortSeconds_IsSet to true.