Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
Label | string | ||
Description | string | ||
ProductId | string | ||
Version | int32 | ||
DisplayOrder | Pointer to NullableInt32 | [optional] | |
Image | Pointer to string | [optional] | |
Price | Pointer to string | [optional] | |
Type | Pointer to string | [optional] | |
SupportedProperties | Pointer to []string | [optional] | |
SupportedOptions | Pointer to []NameValue | [optional] | |
Approvals | Pointer to map[string]interface{} | [optional] |
func NewOfferCreate(name string, label string, description string, productId string, version int32, ) *OfferCreate
NewOfferCreate instantiates a new OfferCreate 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 NewOfferCreateWithDefaults() *OfferCreate
NewOfferCreateWithDefaults instantiates a new OfferCreate 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 *OfferCreate) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *OfferCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetName(v string)
SetName sets Name field to given value.
func (o *OfferCreate) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *OfferCreate) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *OfferCreate) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *OfferCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *OfferCreate) GetProductId() string
GetProductId returns the ProductId field if non-nil, zero value otherwise.
func (o *OfferCreate) GetProductIdOk() (*string, bool)
GetProductIdOk returns a tuple with the ProductId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetProductId(v string)
SetProductId sets ProductId field to given value.
func (o *OfferCreate) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *OfferCreate) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetVersion(v int32)
SetVersion sets Version field to given value.
func (o *OfferCreate) GetDisplayOrder() int32
GetDisplayOrder returns the DisplayOrder field if non-nil, zero value otherwise.
func (o *OfferCreate) GetDisplayOrderOk() (*int32, bool)
GetDisplayOrderOk returns a tuple with the DisplayOrder field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetDisplayOrder(v int32)
SetDisplayOrder sets DisplayOrder field to given value.
func (o *OfferCreate) HasDisplayOrder() bool
HasDisplayOrder returns a boolean if a field has been set.
func (o *OfferCreate) SetDisplayOrderNil(b bool)
SetDisplayOrderNil sets the value for DisplayOrder to be an explicit nil
func (o *OfferCreate) UnsetDisplayOrder()
UnsetDisplayOrder ensures that no value is present for DisplayOrder, not even an explicit nil
func (o *OfferCreate) GetImage() string
GetImage returns the Image field if non-nil, zero value otherwise.
func (o *OfferCreate) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetImage(v string)
SetImage sets Image field to given value.
func (o *OfferCreate) HasImage() bool
HasImage returns a boolean if a field has been set.
func (o *OfferCreate) GetPrice() string
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *OfferCreate) GetPriceOk() (*string, bool)
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetPrice(v string)
SetPrice sets Price field to given value.
func (o *OfferCreate) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (o *OfferCreate) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *OfferCreate) 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 *OfferCreate) SetType(v string)
SetType sets Type field to given value.
func (o *OfferCreate) HasType() bool
HasType returns a boolean if a field has been set.
func (o *OfferCreate) GetSupportedProperties() []string
GetSupportedProperties returns the SupportedProperties field if non-nil, zero value otherwise.
func (o *OfferCreate) GetSupportedPropertiesOk() (*[]string, bool)
GetSupportedPropertiesOk returns a tuple with the SupportedProperties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetSupportedProperties(v []string)
SetSupportedProperties sets SupportedProperties field to given value.
func (o *OfferCreate) HasSupportedProperties() bool
HasSupportedProperties returns a boolean if a field has been set.
func (o *OfferCreate) GetSupportedOptions() []NameValue
GetSupportedOptions returns the SupportedOptions field if non-nil, zero value otherwise.
func (o *OfferCreate) GetSupportedOptionsOk() (*[]NameValue, bool)
GetSupportedOptionsOk returns a tuple with the SupportedOptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetSupportedOptions(v []NameValue)
SetSupportedOptions sets SupportedOptions field to given value.
func (o *OfferCreate) HasSupportedOptions() bool
HasSupportedOptions returns a boolean if a field has been set.
func (o *OfferCreate) GetApprovals() map[string]interface{}
GetApprovals returns the Approvals field if non-nil, zero value otherwise.
func (o *OfferCreate) GetApprovalsOk() (*map[string]interface{}, bool)
GetApprovalsOk returns a tuple with the Approvals field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OfferCreate) SetApprovals(v map[string]interface{})
SetApprovals sets Approvals field to given value.
func (o *OfferCreate) HasApprovals() bool
HasApprovals returns a boolean if a field has been set.
func (o *OfferCreate) SetApprovalsNil(b bool)
SetApprovalsNil sets the value for Approvals to be an explicit nil
func (o *OfferCreate) UnsetApprovals()
UnsetApprovals ensures that no value is present for Approvals, not even an explicit nil