Name | Type | Description | Notes |
---|---|---|---|
Type | string | ||
Id | string | ||
Attributes | Pointer to SubscriptionOfferCodeCustomCodeUpdateRequestDataAttributes | [optional] |
func NewSubscriptionOfferCodeUpdateRequestData(type_ string, id string, ) *SubscriptionOfferCodeUpdateRequestData
NewSubscriptionOfferCodeUpdateRequestData instantiates a new SubscriptionOfferCodeUpdateRequestData 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
func NewSubscriptionOfferCodeUpdateRequestDataWithDefaults() *SubscriptionOfferCodeUpdateRequestData
NewSubscriptionOfferCodeUpdateRequestDataWithDefaults instantiates a new SubscriptionOfferCodeUpdateRequestData 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
func (o *SubscriptionOfferCodeUpdateRequestData) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *SubscriptionOfferCodeUpdateRequestData) 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.
func (o *SubscriptionOfferCodeUpdateRequestData) SetType(v string)
SetType sets Type field to given value.
func (o *SubscriptionOfferCodeUpdateRequestData) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SubscriptionOfferCodeUpdateRequestData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionOfferCodeUpdateRequestData) SetId(v string)
SetId sets Id field to given value.
func (o *SubscriptionOfferCodeUpdateRequestData) GetAttributes() SubscriptionOfferCodeCustomCodeUpdateRequestDataAttributes
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *SubscriptionOfferCodeUpdateRequestData) GetAttributesOk() (*SubscriptionOfferCodeCustomCodeUpdateRequestDataAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionOfferCodeUpdateRequestData) SetAttributes(v SubscriptionOfferCodeCustomCodeUpdateRequestDataAttributes)
SetAttributes sets Attributes field to given value.
func (o *SubscriptionOfferCodeUpdateRequestData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.