* add a sample that catches swagger-parser issues with external refs * generate samples for new test spec
2.9 KiB
NumberPropertiesOnly
Properties
Name | Type | Description | Notes |
---|---|---|---|
Number | Pointer to float32 | [optional] | |
Float | Pointer to float32 | [optional] | |
Double | Pointer to float64 | [optional] |
Methods
NewNumberPropertiesOnly
func NewNumberPropertiesOnly() *NumberPropertiesOnly
NewNumberPropertiesOnly instantiates a new NumberPropertiesOnly 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
NewNumberPropertiesOnlyWithDefaults
func NewNumberPropertiesOnlyWithDefaults() *NumberPropertiesOnly
NewNumberPropertiesOnlyWithDefaults instantiates a new NumberPropertiesOnly 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
GetNumber
func (o *NumberPropertiesOnly) GetNumber() float32
GetNumber returns the Number field if non-nil, zero value otherwise.
GetNumberOk
func (o *NumberPropertiesOnly) GetNumberOk() (*float32, bool)
GetNumberOk returns a tuple with the Number field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNumber
func (o *NumberPropertiesOnly) SetNumber(v float32)
SetNumber sets Number field to given value.
HasNumber
func (o *NumberPropertiesOnly) HasNumber() bool
HasNumber returns a boolean if a field has been set.
GetFloat
func (o *NumberPropertiesOnly) GetFloat() float32
GetFloat returns the Float field if non-nil, zero value otherwise.
GetFloatOk
func (o *NumberPropertiesOnly) GetFloatOk() (*float32, bool)
GetFloatOk returns a tuple with the Float field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFloat
func (o *NumberPropertiesOnly) SetFloat(v float32)
SetFloat sets Float field to given value.
HasFloat
func (o *NumberPropertiesOnly) HasFloat() bool
HasFloat returns a boolean if a field has been set.
GetDouble
func (o *NumberPropertiesOnly) GetDouble() float64
GetDouble returns the Double field if non-nil, zero value otherwise.
GetDoubleOk
func (o *NumberPropertiesOnly) GetDoubleOk() (*float64, bool)
GetDoubleOk returns a tuple with the Double field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDouble
func (o *NumberPropertiesOnly) SetDouble(v float64)
SetDouble sets Double field to given value.
HasDouble
func (o *NumberPropertiesOnly) HasDouble() bool
HasDouble returns a boolean if a field has been set.