| Name | Type | Description | Notes |
|---|---|---|---|
| DiscountAmount | Pointer to float32 | [optional] | |
| DiscountCode | Pointer to string | [optional] | |
| DiscountPercent | Pointer to float32 | [optional] | |
| DiscountStatus | Pointer to string | [optional] | |
| DiscountType | Pointer to string | [optional] | |
| Id | Pointer to int32 | [optional] | |
| RemainingCount | Pointer to int32 | [optional] | |
| ResourceCount | Pointer to int32 | [optional] | |
| ResourceId | Pointer to int32 | [optional] | |
| ResourceName | Pointer to string | [optional] |
func NewContractDiscountPlanFields() *ContractDiscountPlanFields
NewContractDiscountPlanFields instantiates a new ContractDiscountPlanFields 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 NewContractDiscountPlanFieldsWithDefaults() *ContractDiscountPlanFields
NewContractDiscountPlanFieldsWithDefaults instantiates a new ContractDiscountPlanFields 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 *ContractDiscountPlanFields) GetDiscountAmount() float32
GetDiscountAmount returns the DiscountAmount field if non-nil, zero value otherwise.
func (o *ContractDiscountPlanFields) GetDiscountAmountOk() (*float32, bool)
GetDiscountAmountOk returns a tuple with the DiscountAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractDiscountPlanFields) SetDiscountAmount(v float32)
SetDiscountAmount sets DiscountAmount field to given value.
func (o *ContractDiscountPlanFields) HasDiscountAmount() bool
HasDiscountAmount returns a boolean if a field has been set.
func (o *ContractDiscountPlanFields) GetDiscountCode() string
GetDiscountCode returns the DiscountCode field if non-nil, zero value otherwise.
func (o *ContractDiscountPlanFields) GetDiscountCodeOk() (*string, bool)
GetDiscountCodeOk returns a tuple with the DiscountCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractDiscountPlanFields) SetDiscountCode(v string)
SetDiscountCode sets DiscountCode field to given value.
func (o *ContractDiscountPlanFields) HasDiscountCode() bool
HasDiscountCode returns a boolean if a field has been set.
func (o *ContractDiscountPlanFields) GetDiscountPercent() float32
GetDiscountPercent returns the DiscountPercent field if non-nil, zero value otherwise.
func (o *ContractDiscountPlanFields) GetDiscountPercentOk() (*float32, bool)
GetDiscountPercentOk returns a tuple with the DiscountPercent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractDiscountPlanFields) SetDiscountPercent(v float32)
SetDiscountPercent sets DiscountPercent field to given value.
func (o *ContractDiscountPlanFields) HasDiscountPercent() bool
HasDiscountPercent returns a boolean if a field has been set.
func (o *ContractDiscountPlanFields) GetDiscountStatus() string
GetDiscountStatus returns the DiscountStatus field if non-nil, zero value otherwise.
func (o *ContractDiscountPlanFields) GetDiscountStatusOk() (*string, bool)
GetDiscountStatusOk returns a tuple with the DiscountStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractDiscountPlanFields) SetDiscountStatus(v string)
SetDiscountStatus sets DiscountStatus field to given value.
func (o *ContractDiscountPlanFields) HasDiscountStatus() bool
HasDiscountStatus returns a boolean if a field has been set.
func (o *ContractDiscountPlanFields) GetDiscountType() string
GetDiscountType returns the DiscountType field if non-nil, zero value otherwise.
func (o *ContractDiscountPlanFields) GetDiscountTypeOk() (*string, bool)
GetDiscountTypeOk returns a tuple with the DiscountType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractDiscountPlanFields) SetDiscountType(v string)
SetDiscountType sets DiscountType field to given value.
func (o *ContractDiscountPlanFields) HasDiscountType() bool
HasDiscountType returns a boolean if a field has been set.
func (o *ContractDiscountPlanFields) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ContractDiscountPlanFields) GetIdOk() (*int32, 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 *ContractDiscountPlanFields) SetId(v int32)
SetId sets Id field to given value.
func (o *ContractDiscountPlanFields) HasId() bool
HasId returns a boolean if a field has been set.
func (o *ContractDiscountPlanFields) GetRemainingCount() int32
GetRemainingCount returns the RemainingCount field if non-nil, zero value otherwise.
func (o *ContractDiscountPlanFields) GetRemainingCountOk() (*int32, bool)
GetRemainingCountOk returns a tuple with the RemainingCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractDiscountPlanFields) SetRemainingCount(v int32)
SetRemainingCount sets RemainingCount field to given value.
func (o *ContractDiscountPlanFields) HasRemainingCount() bool
HasRemainingCount returns a boolean if a field has been set.
func (o *ContractDiscountPlanFields) GetResourceCount() int32
GetResourceCount returns the ResourceCount field if non-nil, zero value otherwise.
func (o *ContractDiscountPlanFields) GetResourceCountOk() (*int32, bool)
GetResourceCountOk returns a tuple with the ResourceCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractDiscountPlanFields) SetResourceCount(v int32)
SetResourceCount sets ResourceCount field to given value.
func (o *ContractDiscountPlanFields) HasResourceCount() bool
HasResourceCount returns a boolean if a field has been set.
func (o *ContractDiscountPlanFields) GetResourceId() int32
GetResourceId returns the ResourceId field if non-nil, zero value otherwise.
func (o *ContractDiscountPlanFields) GetResourceIdOk() (*int32, bool)
GetResourceIdOk returns a tuple with the ResourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractDiscountPlanFields) SetResourceId(v int32)
SetResourceId sets ResourceId field to given value.
func (o *ContractDiscountPlanFields) HasResourceId() bool
HasResourceId returns a boolean if a field has been set.
func (o *ContractDiscountPlanFields) GetResourceName() string
GetResourceName returns the ResourceName field if non-nil, zero value otherwise.
func (o *ContractDiscountPlanFields) GetResourceNameOk() (*string, bool)
GetResourceNameOk returns a tuple with the ResourceName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractDiscountPlanFields) SetResourceName(v string)
SetResourceName sets ResourceName field to given value.
func (o *ContractDiscountPlanFields) HasResourceName() bool
HasResourceName returns a boolean if a field has been set.