Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.57 KB

File metadata and controls

93 lines (50 loc) · 2.57 KB

SubscriptionState

Properties

Name Type Description Notes
Type string
Subscription Subscription
Reason string

Methods

NewSubscriptionState

func NewSubscriptionState(type_ string, subscription Subscription, reason string, ) *SubscriptionState

NewSubscriptionState instantiates a new SubscriptionState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewSubscriptionStateWithDefaults

func NewSubscriptionStateWithDefaults() *SubscriptionState

NewSubscriptionStateWithDefaults instantiates a new SubscriptionState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetType

func (o *SubscriptionState) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *SubscriptionState) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *SubscriptionState) SetType(v string)

SetType sets Type field to given value.

GetSubscription

func (o *SubscriptionState) GetSubscription() Subscription

GetSubscription returns the Subscription field if non-nil, zero value otherwise.

GetSubscriptionOk

func (o *SubscriptionState) GetSubscriptionOk() (*Subscription, bool)

GetSubscriptionOk returns a tuple with the Subscription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSubscription

func (o *SubscriptionState) SetSubscription(v Subscription)

SetSubscription sets Subscription field to given value.

GetReason

func (o *SubscriptionState) GetReason() string

GetReason returns the Reason field if non-nil, zero value otherwise.

GetReasonOk

func (o *SubscriptionState) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReason

func (o *SubscriptionState) SetReason(v string)

SetReason sets Reason field to given value.

[Back to Model list] [Back to API list] [Back to README]