forked from loafle/openapi-generator-original
Regenerate after rebase (#4000)
This commit is contained in:
@@ -1491,6 +1491,9 @@ components:
|
||||
maxLength: 64
|
||||
minLength: 10
|
||||
type: string
|
||||
BigDecimal:
|
||||
format: number
|
||||
type: string
|
||||
required:
|
||||
- byte
|
||||
- date
|
||||
|
||||
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
||||
**DateTime** | Pointer to [**time.Time**](time.Time.md) | | [optional]
|
||||
**Uuid** | Pointer to **string** | | [optional]
|
||||
**Password** | Pointer to **string** | |
|
||||
**BigDecimal** | Pointer to **float64** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -345,6 +346,31 @@ HasPassword returns a boolean if a field has been set.
|
||||
|
||||
SetPassword gets a reference to the given string and assigns it to the Password field.
|
||||
|
||||
### GetBigDecimal
|
||||
|
||||
`func (o *FormatTest) GetBigDecimal() float64`
|
||||
|
||||
GetBigDecimal returns the BigDecimal field if non-nil, zero value otherwise.
|
||||
|
||||
### GetBigDecimalOk
|
||||
|
||||
`func (o *FormatTest) GetBigDecimalOk() (float64, bool)`
|
||||
|
||||
GetBigDecimalOk returns a tuple with the BigDecimal field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### HasBigDecimal
|
||||
|
||||
`func (o *FormatTest) HasBigDecimal() bool`
|
||||
|
||||
HasBigDecimal returns a boolean if a field has been set.
|
||||
|
||||
### SetBigDecimal
|
||||
|
||||
`func (o *FormatTest) SetBigDecimal(v float64)`
|
||||
|
||||
SetBigDecimal gets a reference to the given float64 and assigns it to the BigDecimal field.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
@@ -42,6 +42,8 @@ type FormatTest struct {
|
||||
|
||||
Password *string `json:"password,omitempty"`
|
||||
|
||||
BigDecimal *float64 `json:"BigDecimal,omitempty"`
|
||||
|
||||
}
|
||||
|
||||
// GetInteger returns the Integer field if non-nil, zero value otherwise.
|
||||
@@ -473,6 +475,39 @@ func (o *FormatTest) SetPassword(v string) {
|
||||
o.Password = &v
|
||||
}
|
||||
|
||||
// GetBigDecimal returns the BigDecimal field if non-nil, zero value otherwise.
|
||||
func (o *FormatTest) GetBigDecimal() float64 {
|
||||
if o == nil || o.BigDecimal == nil {
|
||||
var ret float64
|
||||
return ret
|
||||
}
|
||||
return *o.BigDecimal
|
||||
}
|
||||
|
||||
// GetBigDecimalOk returns a tuple with the BigDecimal field if it's non-nil, zero value otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *FormatTest) GetBigDecimalOk() (float64, bool) {
|
||||
if o == nil || o.BigDecimal == nil {
|
||||
var ret float64
|
||||
return ret, false
|
||||
}
|
||||
return *o.BigDecimal, true
|
||||
}
|
||||
|
||||
// HasBigDecimal returns a boolean if a field has been set.
|
||||
func (o *FormatTest) HasBigDecimal() bool {
|
||||
if o != nil && o.BigDecimal != nil {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
// SetBigDecimal gets a reference to the given float64 and assigns it to the BigDecimal field.
|
||||
func (o *FormatTest) SetBigDecimal(v float64) {
|
||||
o.BigDecimal = &v
|
||||
}
|
||||
|
||||
|
||||
// MarshalJSON returns the JSON representation of the model.
|
||||
func (o FormatTest) MarshalJSON() ([]byte, error) {
|
||||
@@ -528,6 +563,9 @@ func (o FormatTest) MarshalJSON() ([]byte, error) {
|
||||
if o.Password != nil {
|
||||
toSerialize["password"] = o.Password
|
||||
}
|
||||
if o.BigDecimal != nil {
|
||||
toSerialize["BigDecimal"] = o.BigDecimal
|
||||
}
|
||||
return json.Marshal(toSerialize)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user