forked from loafle/openapi-generator-original
[Go] Export isNil function in utils.go (#14625)
* Rename isNil to IsNil * Regenerate files
This commit is contained in:
parent
927bfa481f
commit
515abf8c68
@ -125,7 +125,7 @@ func (o *{{classname}}) Get{{name}}() {{vendorExtensions.x-go-base-type}} {
|
|||||||
// Deprecated
|
// Deprecated
|
||||||
{{/deprecated}}
|
{{/deprecated}}
|
||||||
func (o *{{classname}}) Get{{name}}Ok() ({{^isArray}}{{^isFreeFormObject}}*{{/isFreeFormObject}}{{/isArray}}{{vendorExtensions.x-go-base-type}}, bool) {
|
func (o *{{classname}}) Get{{name}}Ok() ({{^isArray}}{{^isFreeFormObject}}*{{/isFreeFormObject}}{{/isArray}}{{vendorExtensions.x-go-base-type}}, bool) {
|
||||||
if o == nil{{#isNullable}}{{#vendorExtensions.x-golang-is-container}} || isNil(o.{{name}}){{/vendorExtensions.x-golang-is-container}}{{/isNullable}} {
|
if o == nil{{#isNullable}}{{#vendorExtensions.x-golang-is-container}} || IsNil(o.{{name}}){{/vendorExtensions.x-golang-is-container}}{{/isNullable}} {
|
||||||
{{^isFreeFormObject}}
|
{{^isFreeFormObject}}
|
||||||
return nil, false
|
return nil, false
|
||||||
{{/isFreeFormObject}}
|
{{/isFreeFormObject}}
|
||||||
@ -171,7 +171,7 @@ func (o *{{classname}}) Set{{name}}(v {{vendorExtensions.x-go-base-type}}) {
|
|||||||
// Deprecated
|
// Deprecated
|
||||||
{{/deprecated}}
|
{{/deprecated}}
|
||||||
func (o *{{classname}}) Get{{name}}() {{vendorExtensions.x-go-base-type}} {
|
func (o *{{classname}}) Get{{name}}() {{vendorExtensions.x-go-base-type}} {
|
||||||
if o == nil{{^isNullable}} || isNil(o.{{name}}){{/isNullable}}{{#isNullable}}{{^vendorExtensions.x-golang-is-container}} || isNil(o.{{name}}.Get()){{/vendorExtensions.x-golang-is-container}}{{/isNullable}} {
|
if o == nil{{^isNullable}} || IsNil(o.{{name}}){{/isNullable}}{{#isNullable}}{{^vendorExtensions.x-golang-is-container}} || IsNil(o.{{name}}.Get()){{/vendorExtensions.x-golang-is-container}}{{/isNullable}} {
|
||||||
var ret {{vendorExtensions.x-go-base-type}}
|
var ret {{vendorExtensions.x-go-base-type}}
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -197,7 +197,7 @@ func (o *{{classname}}) Get{{name}}() {{vendorExtensions.x-go-base-type}} {
|
|||||||
// Deprecated
|
// Deprecated
|
||||||
{{/deprecated}}
|
{{/deprecated}}
|
||||||
func (o *{{classname}}) Get{{name}}Ok() ({{^isArray}}{{^isFreeFormObject}}*{{/isFreeFormObject}}{{/isArray}}{{vendorExtensions.x-go-base-type}}, bool) {
|
func (o *{{classname}}) Get{{name}}Ok() ({{^isArray}}{{^isFreeFormObject}}*{{/isFreeFormObject}}{{/isArray}}{{vendorExtensions.x-go-base-type}}, bool) {
|
||||||
if o == nil{{^isNullable}} || isNil(o.{{name}}){{/isNullable}}{{#isNullable}}{{#vendorExtensions.x-golang-is-container}} || isNil(o.{{name}}){{/vendorExtensions.x-golang-is-container}}{{/isNullable}} {
|
if o == nil{{^isNullable}} || IsNil(o.{{name}}){{/isNullable}}{{#isNullable}}{{#vendorExtensions.x-golang-is-container}} || IsNil(o.{{name}}){{/vendorExtensions.x-golang-is-container}}{{/isNullable}} {
|
||||||
{{^isFreeFormObject}}
|
{{^isFreeFormObject}}
|
||||||
return nil, false
|
return nil, false
|
||||||
{{/isFreeFormObject}}
|
{{/isFreeFormObject}}
|
||||||
@ -220,7 +220,7 @@ func (o *{{classname}}) Get{{name}}Ok() ({{^isArray}}{{^isFreeFormObject}}*{{/is
|
|||||||
|
|
||||||
// Has{{name}} returns a boolean if a field has been set.
|
// Has{{name}} returns a boolean if a field has been set.
|
||||||
func (o *{{classname}}) Has{{name}}() bool {
|
func (o *{{classname}}) Has{{name}}() bool {
|
||||||
if o != nil && {{^isNullable}}!isNil(o.{{name}}){{/isNullable}}{{#isNullable}}{{#vendorExtensions.x-golang-is-container}}isNil(o.{{name}}){{/vendorExtensions.x-golang-is-container}}{{^vendorExtensions.x-golang-is-container}}o.{{name}}.IsSet(){{/vendorExtensions.x-golang-is-container}}{{/isNullable}} {
|
if o != nil && {{^isNullable}}!IsNil(o.{{name}}){{/isNullable}}{{#isNullable}}{{#vendorExtensions.x-golang-is-container}}IsNil(o.{{name}}){{/vendorExtensions.x-golang-is-container}}{{^vendorExtensions.x-golang-is-container}}o.{{name}}.IsSet(){{/vendorExtensions.x-golang-is-container}}{{/isNullable}} {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -316,7 +316,7 @@ func (o {{classname}}) ToMap() (map[string]interface{}, error) {
|
|||||||
toSerialize["{{baseName}}"] = o.{{name}}
|
toSerialize["{{baseName}}"] = o.{{name}}
|
||||||
{{/required}}
|
{{/required}}
|
||||||
{{^required}}
|
{{^required}}
|
||||||
if !isNil(o.{{name}}) {
|
if !IsNil(o.{{name}}) {
|
||||||
toSerialize["{{baseName}}"] = o.{{name}}
|
toSerialize["{{baseName}}"] = o.{{name}}
|
||||||
}
|
}
|
||||||
{{/required}}
|
{{/required}}
|
||||||
|
@ -319,8 +319,8 @@ func (v *NullableTime) UnmarshalJSON(src []byte) error {
|
|||||||
return json.Unmarshal(src, &v.value)
|
return json.Unmarshal(src, &v.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
// isNil checks if an input is nil
|
// IsNil checks if an input is nil
|
||||||
func isNil(i interface{}) bool {
|
func IsNil(i interface{}) bool {
|
||||||
if i == nil {
|
if i == nil {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ func NewModel200ResponseWithDefaults() *Model200Response {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *Model200Response) GetName() int32 {
|
func (o *Model200Response) GetName() int32 {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -52,7 +52,7 @@ func (o *Model200Response) GetName() int32 {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Model200Response) GetNameOk() (*int32, bool) {
|
func (o *Model200Response) GetNameOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -60,7 +60,7 @@ func (o *Model200Response) GetNameOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *Model200Response) HasName() bool {
|
func (o *Model200Response) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ func (o *Model200Response) SetName(v int32) {
|
|||||||
|
|
||||||
// GetClass returns the Class field value if set, zero value otherwise.
|
// GetClass returns the Class field value if set, zero value otherwise.
|
||||||
func (o *Model200Response) GetClass() string {
|
func (o *Model200Response) GetClass() string {
|
||||||
if o == nil || isNil(o.Class) {
|
if o == nil || IsNil(o.Class) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -84,7 +84,7 @@ func (o *Model200Response) GetClass() string {
|
|||||||
// GetClassOk returns a tuple with the Class field value if set, nil otherwise
|
// GetClassOk returns a tuple with the Class field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Model200Response) GetClassOk() (*string, bool) {
|
func (o *Model200Response) GetClassOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Class) {
|
if o == nil || IsNil(o.Class) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Class, true
|
return o.Class, true
|
||||||
@ -92,7 +92,7 @@ func (o *Model200Response) GetClassOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasClass returns a boolean if a field has been set.
|
// HasClass returns a boolean if a field has been set.
|
||||||
func (o *Model200Response) HasClass() bool {
|
func (o *Model200Response) HasClass() bool {
|
||||||
if o != nil && !isNil(o.Class) {
|
if o != nil && !IsNil(o.Class) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,10 +114,10 @@ func (o Model200Response) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Model200Response) ToMap() (map[string]interface{}, error) {
|
func (o Model200Response) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
if !isNil(o.Class) {
|
if !IsNil(o.Class) {
|
||||||
toSerialize["class"] = o.Class
|
toSerialize["class"] = o.Class
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewAdditionalPropertiesAnyTypeWithDefaults() *AdditionalPropertiesAnyType {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesAnyType) GetName() string {
|
func (o *AdditionalPropertiesAnyType) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *AdditionalPropertiesAnyType) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesAnyType) GetNameOk() (*string, bool) {
|
func (o *AdditionalPropertiesAnyType) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -59,7 +59,7 @@ func (o *AdditionalPropertiesAnyType) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesAnyType) HasName() bool {
|
func (o *AdditionalPropertiesAnyType) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o AdditionalPropertiesAnyType) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AdditionalPropertiesAnyType) ToMap() (map[string]interface{}, error) {
|
func (o AdditionalPropertiesAnyType) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewAdditionalPropertiesArrayWithDefaults() *AdditionalPropertiesArray {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesArray) GetName() string {
|
func (o *AdditionalPropertiesArray) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *AdditionalPropertiesArray) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesArray) GetNameOk() (*string, bool) {
|
func (o *AdditionalPropertiesArray) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -59,7 +59,7 @@ func (o *AdditionalPropertiesArray) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesArray) HasName() bool {
|
func (o *AdditionalPropertiesArray) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o AdditionalPropertiesArray) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AdditionalPropertiesArray) ToMap() (map[string]interface{}, error) {
|
func (o AdditionalPropertiesArray) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewAdditionalPropertiesBooleanWithDefaults() *AdditionalPropertiesBoolean {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesBoolean) GetName() string {
|
func (o *AdditionalPropertiesBoolean) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *AdditionalPropertiesBoolean) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesBoolean) GetNameOk() (*string, bool) {
|
func (o *AdditionalPropertiesBoolean) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -59,7 +59,7 @@ func (o *AdditionalPropertiesBoolean) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesBoolean) HasName() bool {
|
func (o *AdditionalPropertiesBoolean) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o AdditionalPropertiesBoolean) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AdditionalPropertiesBoolean) ToMap() (map[string]interface{}, error) {
|
func (o AdditionalPropertiesBoolean) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -51,7 +51,7 @@ func NewAdditionalPropertiesClassWithDefaults() *AdditionalPropertiesClass {
|
|||||||
|
|
||||||
// GetMapString returns the MapString field value if set, zero value otherwise.
|
// GetMapString returns the MapString field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetMapString() map[string]string {
|
func (o *AdditionalPropertiesClass) GetMapString() map[string]string {
|
||||||
if o == nil || isNil(o.MapString) {
|
if o == nil || IsNil(o.MapString) {
|
||||||
var ret map[string]string
|
var ret map[string]string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -61,7 +61,7 @@ func (o *AdditionalPropertiesClass) GetMapString() map[string]string {
|
|||||||
// GetMapStringOk returns a tuple with the MapString field value if set, nil otherwise
|
// GetMapStringOk returns a tuple with the MapString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetMapStringOk() (*map[string]string, bool) {
|
func (o *AdditionalPropertiesClass) GetMapStringOk() (*map[string]string, bool) {
|
||||||
if o == nil || isNil(o.MapString) {
|
if o == nil || IsNil(o.MapString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapString, true
|
return o.MapString, true
|
||||||
@ -69,7 +69,7 @@ func (o *AdditionalPropertiesClass) GetMapStringOk() (*map[string]string, bool)
|
|||||||
|
|
||||||
// HasMapString returns a boolean if a field has been set.
|
// HasMapString returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasMapString() bool {
|
func (o *AdditionalPropertiesClass) HasMapString() bool {
|
||||||
if o != nil && !isNil(o.MapString) {
|
if o != nil && !IsNil(o.MapString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ func (o *AdditionalPropertiesClass) SetMapString(v map[string]string) {
|
|||||||
|
|
||||||
// GetMapNumber returns the MapNumber field value if set, zero value otherwise.
|
// GetMapNumber returns the MapNumber field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetMapNumber() map[string]float32 {
|
func (o *AdditionalPropertiesClass) GetMapNumber() map[string]float32 {
|
||||||
if o == nil || isNil(o.MapNumber) {
|
if o == nil || IsNil(o.MapNumber) {
|
||||||
var ret map[string]float32
|
var ret map[string]float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -93,7 +93,7 @@ func (o *AdditionalPropertiesClass) GetMapNumber() map[string]float32 {
|
|||||||
// GetMapNumberOk returns a tuple with the MapNumber field value if set, nil otherwise
|
// GetMapNumberOk returns a tuple with the MapNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetMapNumberOk() (*map[string]float32, bool) {
|
func (o *AdditionalPropertiesClass) GetMapNumberOk() (*map[string]float32, bool) {
|
||||||
if o == nil || isNil(o.MapNumber) {
|
if o == nil || IsNil(o.MapNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapNumber, true
|
return o.MapNumber, true
|
||||||
@ -101,7 +101,7 @@ func (o *AdditionalPropertiesClass) GetMapNumberOk() (*map[string]float32, bool)
|
|||||||
|
|
||||||
// HasMapNumber returns a boolean if a field has been set.
|
// HasMapNumber returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasMapNumber() bool {
|
func (o *AdditionalPropertiesClass) HasMapNumber() bool {
|
||||||
if o != nil && !isNil(o.MapNumber) {
|
if o != nil && !IsNil(o.MapNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ func (o *AdditionalPropertiesClass) SetMapNumber(v map[string]float32) {
|
|||||||
|
|
||||||
// GetMapInteger returns the MapInteger field value if set, zero value otherwise.
|
// GetMapInteger returns the MapInteger field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetMapInteger() map[string]int32 {
|
func (o *AdditionalPropertiesClass) GetMapInteger() map[string]int32 {
|
||||||
if o == nil || isNil(o.MapInteger) {
|
if o == nil || IsNil(o.MapInteger) {
|
||||||
var ret map[string]int32
|
var ret map[string]int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -125,7 +125,7 @@ func (o *AdditionalPropertiesClass) GetMapInteger() map[string]int32 {
|
|||||||
// GetMapIntegerOk returns a tuple with the MapInteger field value if set, nil otherwise
|
// GetMapIntegerOk returns a tuple with the MapInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetMapIntegerOk() (*map[string]int32, bool) {
|
func (o *AdditionalPropertiesClass) GetMapIntegerOk() (*map[string]int32, bool) {
|
||||||
if o == nil || isNil(o.MapInteger) {
|
if o == nil || IsNil(o.MapInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapInteger, true
|
return o.MapInteger, true
|
||||||
@ -133,7 +133,7 @@ func (o *AdditionalPropertiesClass) GetMapIntegerOk() (*map[string]int32, bool)
|
|||||||
|
|
||||||
// HasMapInteger returns a boolean if a field has been set.
|
// HasMapInteger returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasMapInteger() bool {
|
func (o *AdditionalPropertiesClass) HasMapInteger() bool {
|
||||||
if o != nil && !isNil(o.MapInteger) {
|
if o != nil && !IsNil(o.MapInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -147,7 +147,7 @@ func (o *AdditionalPropertiesClass) SetMapInteger(v map[string]int32) {
|
|||||||
|
|
||||||
// GetMapBoolean returns the MapBoolean field value if set, zero value otherwise.
|
// GetMapBoolean returns the MapBoolean field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetMapBoolean() map[string]bool {
|
func (o *AdditionalPropertiesClass) GetMapBoolean() map[string]bool {
|
||||||
if o == nil || isNil(o.MapBoolean) {
|
if o == nil || IsNil(o.MapBoolean) {
|
||||||
var ret map[string]bool
|
var ret map[string]bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -157,7 +157,7 @@ func (o *AdditionalPropertiesClass) GetMapBoolean() map[string]bool {
|
|||||||
// GetMapBooleanOk returns a tuple with the MapBoolean field value if set, nil otherwise
|
// GetMapBooleanOk returns a tuple with the MapBoolean field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetMapBooleanOk() (*map[string]bool, bool) {
|
func (o *AdditionalPropertiesClass) GetMapBooleanOk() (*map[string]bool, bool) {
|
||||||
if o == nil || isNil(o.MapBoolean) {
|
if o == nil || IsNil(o.MapBoolean) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapBoolean, true
|
return o.MapBoolean, true
|
||||||
@ -165,7 +165,7 @@ func (o *AdditionalPropertiesClass) GetMapBooleanOk() (*map[string]bool, bool) {
|
|||||||
|
|
||||||
// HasMapBoolean returns a boolean if a field has been set.
|
// HasMapBoolean returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasMapBoolean() bool {
|
func (o *AdditionalPropertiesClass) HasMapBoolean() bool {
|
||||||
if o != nil && !isNil(o.MapBoolean) {
|
if o != nil && !IsNil(o.MapBoolean) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -179,7 +179,7 @@ func (o *AdditionalPropertiesClass) SetMapBoolean(v map[string]bool) {
|
|||||||
|
|
||||||
// GetMapArrayInteger returns the MapArrayInteger field value if set, zero value otherwise.
|
// GetMapArrayInteger returns the MapArrayInteger field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetMapArrayInteger() map[string][]int32 {
|
func (o *AdditionalPropertiesClass) GetMapArrayInteger() map[string][]int32 {
|
||||||
if o == nil || isNil(o.MapArrayInteger) {
|
if o == nil || IsNil(o.MapArrayInteger) {
|
||||||
var ret map[string][]int32
|
var ret map[string][]int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -189,7 +189,7 @@ func (o *AdditionalPropertiesClass) GetMapArrayInteger() map[string][]int32 {
|
|||||||
// GetMapArrayIntegerOk returns a tuple with the MapArrayInteger field value if set, nil otherwise
|
// GetMapArrayIntegerOk returns a tuple with the MapArrayInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetMapArrayIntegerOk() (*map[string][]int32, bool) {
|
func (o *AdditionalPropertiesClass) GetMapArrayIntegerOk() (*map[string][]int32, bool) {
|
||||||
if o == nil || isNil(o.MapArrayInteger) {
|
if o == nil || IsNil(o.MapArrayInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapArrayInteger, true
|
return o.MapArrayInteger, true
|
||||||
@ -197,7 +197,7 @@ func (o *AdditionalPropertiesClass) GetMapArrayIntegerOk() (*map[string][]int32,
|
|||||||
|
|
||||||
// HasMapArrayInteger returns a boolean if a field has been set.
|
// HasMapArrayInteger returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasMapArrayInteger() bool {
|
func (o *AdditionalPropertiesClass) HasMapArrayInteger() bool {
|
||||||
if o != nil && !isNil(o.MapArrayInteger) {
|
if o != nil && !IsNil(o.MapArrayInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -211,7 +211,7 @@ func (o *AdditionalPropertiesClass) SetMapArrayInteger(v map[string][]int32) {
|
|||||||
|
|
||||||
// GetMapArrayAnytype returns the MapArrayAnytype field value if set, zero value otherwise.
|
// GetMapArrayAnytype returns the MapArrayAnytype field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetMapArrayAnytype() map[string][]map[string]interface{} {
|
func (o *AdditionalPropertiesClass) GetMapArrayAnytype() map[string][]map[string]interface{} {
|
||||||
if o == nil || isNil(o.MapArrayAnytype) {
|
if o == nil || IsNil(o.MapArrayAnytype) {
|
||||||
var ret map[string][]map[string]interface{}
|
var ret map[string][]map[string]interface{}
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -221,7 +221,7 @@ func (o *AdditionalPropertiesClass) GetMapArrayAnytype() map[string][]map[string
|
|||||||
// GetMapArrayAnytypeOk returns a tuple with the MapArrayAnytype field value if set, nil otherwise
|
// GetMapArrayAnytypeOk returns a tuple with the MapArrayAnytype field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetMapArrayAnytypeOk() (*map[string][]map[string]interface{}, bool) {
|
func (o *AdditionalPropertiesClass) GetMapArrayAnytypeOk() (*map[string][]map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.MapArrayAnytype) {
|
if o == nil || IsNil(o.MapArrayAnytype) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapArrayAnytype, true
|
return o.MapArrayAnytype, true
|
||||||
@ -229,7 +229,7 @@ func (o *AdditionalPropertiesClass) GetMapArrayAnytypeOk() (*map[string][]map[st
|
|||||||
|
|
||||||
// HasMapArrayAnytype returns a boolean if a field has been set.
|
// HasMapArrayAnytype returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasMapArrayAnytype() bool {
|
func (o *AdditionalPropertiesClass) HasMapArrayAnytype() bool {
|
||||||
if o != nil && !isNil(o.MapArrayAnytype) {
|
if o != nil && !IsNil(o.MapArrayAnytype) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -243,7 +243,7 @@ func (o *AdditionalPropertiesClass) SetMapArrayAnytype(v map[string][]map[string
|
|||||||
|
|
||||||
// GetMapMapString returns the MapMapString field value if set, zero value otherwise.
|
// GetMapMapString returns the MapMapString field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetMapMapString() map[string]map[string]string {
|
func (o *AdditionalPropertiesClass) GetMapMapString() map[string]map[string]string {
|
||||||
if o == nil || isNil(o.MapMapString) {
|
if o == nil || IsNil(o.MapMapString) {
|
||||||
var ret map[string]map[string]string
|
var ret map[string]map[string]string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -253,7 +253,7 @@ func (o *AdditionalPropertiesClass) GetMapMapString() map[string]map[string]stri
|
|||||||
// GetMapMapStringOk returns a tuple with the MapMapString field value if set, nil otherwise
|
// GetMapMapStringOk returns a tuple with the MapMapString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetMapMapStringOk() (*map[string]map[string]string, bool) {
|
func (o *AdditionalPropertiesClass) GetMapMapStringOk() (*map[string]map[string]string, bool) {
|
||||||
if o == nil || isNil(o.MapMapString) {
|
if o == nil || IsNil(o.MapMapString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapMapString, true
|
return o.MapMapString, true
|
||||||
@ -261,7 +261,7 @@ func (o *AdditionalPropertiesClass) GetMapMapStringOk() (*map[string]map[string]
|
|||||||
|
|
||||||
// HasMapMapString returns a boolean if a field has been set.
|
// HasMapMapString returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasMapMapString() bool {
|
func (o *AdditionalPropertiesClass) HasMapMapString() bool {
|
||||||
if o != nil && !isNil(o.MapMapString) {
|
if o != nil && !IsNil(o.MapMapString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -275,7 +275,7 @@ func (o *AdditionalPropertiesClass) SetMapMapString(v map[string]map[string]stri
|
|||||||
|
|
||||||
// GetMapMapAnytype returns the MapMapAnytype field value if set, zero value otherwise.
|
// GetMapMapAnytype returns the MapMapAnytype field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetMapMapAnytype() map[string]map[string]map[string]interface{} {
|
func (o *AdditionalPropertiesClass) GetMapMapAnytype() map[string]map[string]map[string]interface{} {
|
||||||
if o == nil || isNil(o.MapMapAnytype) {
|
if o == nil || IsNil(o.MapMapAnytype) {
|
||||||
var ret map[string]map[string]map[string]interface{}
|
var ret map[string]map[string]map[string]interface{}
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -285,7 +285,7 @@ func (o *AdditionalPropertiesClass) GetMapMapAnytype() map[string]map[string]map
|
|||||||
// GetMapMapAnytypeOk returns a tuple with the MapMapAnytype field value if set, nil otherwise
|
// GetMapMapAnytypeOk returns a tuple with the MapMapAnytype field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetMapMapAnytypeOk() (*map[string]map[string]map[string]interface{}, bool) {
|
func (o *AdditionalPropertiesClass) GetMapMapAnytypeOk() (*map[string]map[string]map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.MapMapAnytype) {
|
if o == nil || IsNil(o.MapMapAnytype) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapMapAnytype, true
|
return o.MapMapAnytype, true
|
||||||
@ -293,7 +293,7 @@ func (o *AdditionalPropertiesClass) GetMapMapAnytypeOk() (*map[string]map[string
|
|||||||
|
|
||||||
// HasMapMapAnytype returns a boolean if a field has been set.
|
// HasMapMapAnytype returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasMapMapAnytype() bool {
|
func (o *AdditionalPropertiesClass) HasMapMapAnytype() bool {
|
||||||
if o != nil && !isNil(o.MapMapAnytype) {
|
if o != nil && !IsNil(o.MapMapAnytype) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -307,7 +307,7 @@ func (o *AdditionalPropertiesClass) SetMapMapAnytype(v map[string]map[string]map
|
|||||||
|
|
||||||
// GetAnytype1 returns the Anytype1 field value if set, zero value otherwise.
|
// GetAnytype1 returns the Anytype1 field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetAnytype1() map[string]interface{} {
|
func (o *AdditionalPropertiesClass) GetAnytype1() map[string]interface{} {
|
||||||
if o == nil || isNil(o.Anytype1) {
|
if o == nil || IsNil(o.Anytype1) {
|
||||||
var ret map[string]interface{}
|
var ret map[string]interface{}
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -317,7 +317,7 @@ func (o *AdditionalPropertiesClass) GetAnytype1() map[string]interface{} {
|
|||||||
// GetAnytype1Ok returns a tuple with the Anytype1 field value if set, nil otherwise
|
// GetAnytype1Ok returns a tuple with the Anytype1 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetAnytype1Ok() (map[string]interface{}, bool) {
|
func (o *AdditionalPropertiesClass) GetAnytype1Ok() (map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.Anytype1) {
|
if o == nil || IsNil(o.Anytype1) {
|
||||||
return map[string]interface{}{}, false
|
return map[string]interface{}{}, false
|
||||||
}
|
}
|
||||||
return o.Anytype1, true
|
return o.Anytype1, true
|
||||||
@ -325,7 +325,7 @@ func (o *AdditionalPropertiesClass) GetAnytype1Ok() (map[string]interface{}, boo
|
|||||||
|
|
||||||
// HasAnytype1 returns a boolean if a field has been set.
|
// HasAnytype1 returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasAnytype1() bool {
|
func (o *AdditionalPropertiesClass) HasAnytype1() bool {
|
||||||
if o != nil && !isNil(o.Anytype1) {
|
if o != nil && !IsNil(o.Anytype1) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -339,7 +339,7 @@ func (o *AdditionalPropertiesClass) SetAnytype1(v map[string]interface{}) {
|
|||||||
|
|
||||||
// GetAnytype2 returns the Anytype2 field value if set, zero value otherwise.
|
// GetAnytype2 returns the Anytype2 field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetAnytype2() map[string]interface{} {
|
func (o *AdditionalPropertiesClass) GetAnytype2() map[string]interface{} {
|
||||||
if o == nil || isNil(o.Anytype2) {
|
if o == nil || IsNil(o.Anytype2) {
|
||||||
var ret map[string]interface{}
|
var ret map[string]interface{}
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -349,7 +349,7 @@ func (o *AdditionalPropertiesClass) GetAnytype2() map[string]interface{} {
|
|||||||
// GetAnytype2Ok returns a tuple with the Anytype2 field value if set, nil otherwise
|
// GetAnytype2Ok returns a tuple with the Anytype2 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetAnytype2Ok() (map[string]interface{}, bool) {
|
func (o *AdditionalPropertiesClass) GetAnytype2Ok() (map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.Anytype2) {
|
if o == nil || IsNil(o.Anytype2) {
|
||||||
return map[string]interface{}{}, false
|
return map[string]interface{}{}, false
|
||||||
}
|
}
|
||||||
return o.Anytype2, true
|
return o.Anytype2, true
|
||||||
@ -357,7 +357,7 @@ func (o *AdditionalPropertiesClass) GetAnytype2Ok() (map[string]interface{}, boo
|
|||||||
|
|
||||||
// HasAnytype2 returns a boolean if a field has been set.
|
// HasAnytype2 returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasAnytype2() bool {
|
func (o *AdditionalPropertiesClass) HasAnytype2() bool {
|
||||||
if o != nil && !isNil(o.Anytype2) {
|
if o != nil && !IsNil(o.Anytype2) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -371,7 +371,7 @@ func (o *AdditionalPropertiesClass) SetAnytype2(v map[string]interface{}) {
|
|||||||
|
|
||||||
// GetAnytype3 returns the Anytype3 field value if set, zero value otherwise.
|
// GetAnytype3 returns the Anytype3 field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetAnytype3() map[string]interface{} {
|
func (o *AdditionalPropertiesClass) GetAnytype3() map[string]interface{} {
|
||||||
if o == nil || isNil(o.Anytype3) {
|
if o == nil || IsNil(o.Anytype3) {
|
||||||
var ret map[string]interface{}
|
var ret map[string]interface{}
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -381,7 +381,7 @@ func (o *AdditionalPropertiesClass) GetAnytype3() map[string]interface{} {
|
|||||||
// GetAnytype3Ok returns a tuple with the Anytype3 field value if set, nil otherwise
|
// GetAnytype3Ok returns a tuple with the Anytype3 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetAnytype3Ok() (map[string]interface{}, bool) {
|
func (o *AdditionalPropertiesClass) GetAnytype3Ok() (map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.Anytype3) {
|
if o == nil || IsNil(o.Anytype3) {
|
||||||
return map[string]interface{}{}, false
|
return map[string]interface{}{}, false
|
||||||
}
|
}
|
||||||
return o.Anytype3, true
|
return o.Anytype3, true
|
||||||
@ -389,7 +389,7 @@ func (o *AdditionalPropertiesClass) GetAnytype3Ok() (map[string]interface{}, boo
|
|||||||
|
|
||||||
// HasAnytype3 returns a boolean if a field has been set.
|
// HasAnytype3 returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasAnytype3() bool {
|
func (o *AdditionalPropertiesClass) HasAnytype3() bool {
|
||||||
if o != nil && !isNil(o.Anytype3) {
|
if o != nil && !IsNil(o.Anytype3) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -411,37 +411,37 @@ func (o AdditionalPropertiesClass) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AdditionalPropertiesClass) ToMap() (map[string]interface{}, error) {
|
func (o AdditionalPropertiesClass) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.MapString) {
|
if !IsNil(o.MapString) {
|
||||||
toSerialize["map_string"] = o.MapString
|
toSerialize["map_string"] = o.MapString
|
||||||
}
|
}
|
||||||
if !isNil(o.MapNumber) {
|
if !IsNil(o.MapNumber) {
|
||||||
toSerialize["map_number"] = o.MapNumber
|
toSerialize["map_number"] = o.MapNumber
|
||||||
}
|
}
|
||||||
if !isNil(o.MapInteger) {
|
if !IsNil(o.MapInteger) {
|
||||||
toSerialize["map_integer"] = o.MapInteger
|
toSerialize["map_integer"] = o.MapInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.MapBoolean) {
|
if !IsNil(o.MapBoolean) {
|
||||||
toSerialize["map_boolean"] = o.MapBoolean
|
toSerialize["map_boolean"] = o.MapBoolean
|
||||||
}
|
}
|
||||||
if !isNil(o.MapArrayInteger) {
|
if !IsNil(o.MapArrayInteger) {
|
||||||
toSerialize["map_array_integer"] = o.MapArrayInteger
|
toSerialize["map_array_integer"] = o.MapArrayInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.MapArrayAnytype) {
|
if !IsNil(o.MapArrayAnytype) {
|
||||||
toSerialize["map_array_anytype"] = o.MapArrayAnytype
|
toSerialize["map_array_anytype"] = o.MapArrayAnytype
|
||||||
}
|
}
|
||||||
if !isNil(o.MapMapString) {
|
if !IsNil(o.MapMapString) {
|
||||||
toSerialize["map_map_string"] = o.MapMapString
|
toSerialize["map_map_string"] = o.MapMapString
|
||||||
}
|
}
|
||||||
if !isNil(o.MapMapAnytype) {
|
if !IsNil(o.MapMapAnytype) {
|
||||||
toSerialize["map_map_anytype"] = o.MapMapAnytype
|
toSerialize["map_map_anytype"] = o.MapMapAnytype
|
||||||
}
|
}
|
||||||
if !isNil(o.Anytype1) {
|
if !IsNil(o.Anytype1) {
|
||||||
toSerialize["anytype_1"] = o.Anytype1
|
toSerialize["anytype_1"] = o.Anytype1
|
||||||
}
|
}
|
||||||
if !isNil(o.Anytype2) {
|
if !IsNil(o.Anytype2) {
|
||||||
toSerialize["anytype_2"] = o.Anytype2
|
toSerialize["anytype_2"] = o.Anytype2
|
||||||
}
|
}
|
||||||
if !isNil(o.Anytype3) {
|
if !IsNil(o.Anytype3) {
|
||||||
toSerialize["anytype_3"] = o.Anytype3
|
toSerialize["anytype_3"] = o.Anytype3
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewAdditionalPropertiesIntegerWithDefaults() *AdditionalPropertiesInteger {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesInteger) GetName() string {
|
func (o *AdditionalPropertiesInteger) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *AdditionalPropertiesInteger) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesInteger) GetNameOk() (*string, bool) {
|
func (o *AdditionalPropertiesInteger) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -59,7 +59,7 @@ func (o *AdditionalPropertiesInteger) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesInteger) HasName() bool {
|
func (o *AdditionalPropertiesInteger) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o AdditionalPropertiesInteger) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AdditionalPropertiesInteger) ToMap() (map[string]interface{}, error) {
|
func (o AdditionalPropertiesInteger) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewAdditionalPropertiesNumberWithDefaults() *AdditionalPropertiesNumber {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesNumber) GetName() string {
|
func (o *AdditionalPropertiesNumber) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *AdditionalPropertiesNumber) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesNumber) GetNameOk() (*string, bool) {
|
func (o *AdditionalPropertiesNumber) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -59,7 +59,7 @@ func (o *AdditionalPropertiesNumber) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesNumber) HasName() bool {
|
func (o *AdditionalPropertiesNumber) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o AdditionalPropertiesNumber) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AdditionalPropertiesNumber) ToMap() (map[string]interface{}, error) {
|
func (o AdditionalPropertiesNumber) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewAdditionalPropertiesObjectWithDefaults() *AdditionalPropertiesObject {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesObject) GetName() string {
|
func (o *AdditionalPropertiesObject) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *AdditionalPropertiesObject) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesObject) GetNameOk() (*string, bool) {
|
func (o *AdditionalPropertiesObject) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -59,7 +59,7 @@ func (o *AdditionalPropertiesObject) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesObject) HasName() bool {
|
func (o *AdditionalPropertiesObject) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o AdditionalPropertiesObject) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AdditionalPropertiesObject) ToMap() (map[string]interface{}, error) {
|
func (o AdditionalPropertiesObject) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewAdditionalPropertiesStringWithDefaults() *AdditionalPropertiesString {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesString) GetName() string {
|
func (o *AdditionalPropertiesString) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *AdditionalPropertiesString) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesString) GetNameOk() (*string, bool) {
|
func (o *AdditionalPropertiesString) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -59,7 +59,7 @@ func (o *AdditionalPropertiesString) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesString) HasName() bool {
|
func (o *AdditionalPropertiesString) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o AdditionalPropertiesString) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AdditionalPropertiesString) ToMap() (map[string]interface{}, error) {
|
func (o AdditionalPropertiesString) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -71,7 +71,7 @@ func (o *Animal) SetClassName(v string) {
|
|||||||
|
|
||||||
// GetColor returns the Color field value if set, zero value otherwise.
|
// GetColor returns the Color field value if set, zero value otherwise.
|
||||||
func (o *Animal) GetColor() string {
|
func (o *Animal) GetColor() string {
|
||||||
if o == nil || isNil(o.Color) {
|
if o == nil || IsNil(o.Color) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -81,7 +81,7 @@ func (o *Animal) GetColor() string {
|
|||||||
// GetColorOk returns a tuple with the Color field value if set, nil otherwise
|
// GetColorOk returns a tuple with the Color field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Animal) GetColorOk() (*string, bool) {
|
func (o *Animal) GetColorOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Color) {
|
if o == nil || IsNil(o.Color) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Color, true
|
return o.Color, true
|
||||||
@ -89,7 +89,7 @@ func (o *Animal) GetColorOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasColor returns a boolean if a field has been set.
|
// HasColor returns a boolean if a field has been set.
|
||||||
func (o *Animal) HasColor() bool {
|
func (o *Animal) HasColor() bool {
|
||||||
if o != nil && !isNil(o.Color) {
|
if o != nil && !IsNil(o.Color) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -112,7 +112,7 @@ func (o Animal) MarshalJSON() ([]byte, error) {
|
|||||||
func (o Animal) ToMap() (map[string]interface{}, error) {
|
func (o Animal) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
toSerialize["className"] = o.ClassName
|
toSerialize["className"] = o.ClassName
|
||||||
if !isNil(o.Color) {
|
if !IsNil(o.Color) {
|
||||||
toSerialize["color"] = o.Color
|
toSerialize["color"] = o.Color
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -43,7 +43,7 @@ func NewApiResponseWithDefaults() *ApiResponse {
|
|||||||
|
|
||||||
// GetCode returns the Code field value if set, zero value otherwise.
|
// GetCode returns the Code field value if set, zero value otherwise.
|
||||||
func (o *ApiResponse) GetCode() int32 {
|
func (o *ApiResponse) GetCode() int32 {
|
||||||
if o == nil || isNil(o.Code) {
|
if o == nil || IsNil(o.Code) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@ func (o *ApiResponse) GetCode() int32 {
|
|||||||
// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
|
// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ApiResponse) GetCodeOk() (*int32, bool) {
|
func (o *ApiResponse) GetCodeOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Code) {
|
if o == nil || IsNil(o.Code) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Code, true
|
return o.Code, true
|
||||||
@ -61,7 +61,7 @@ func (o *ApiResponse) GetCodeOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasCode returns a boolean if a field has been set.
|
// HasCode returns a boolean if a field has been set.
|
||||||
func (o *ApiResponse) HasCode() bool {
|
func (o *ApiResponse) HasCode() bool {
|
||||||
if o != nil && !isNil(o.Code) {
|
if o != nil && !IsNil(o.Code) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ func (o *ApiResponse) SetCode(v int32) {
|
|||||||
|
|
||||||
// GetType returns the Type field value if set, zero value otherwise.
|
// GetType returns the Type field value if set, zero value otherwise.
|
||||||
func (o *ApiResponse) GetType() string {
|
func (o *ApiResponse) GetType() string {
|
||||||
if o == nil || isNil(o.Type) {
|
if o == nil || IsNil(o.Type) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -85,7 +85,7 @@ func (o *ApiResponse) GetType() string {
|
|||||||
// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
|
// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ApiResponse) GetTypeOk() (*string, bool) {
|
func (o *ApiResponse) GetTypeOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Type) {
|
if o == nil || IsNil(o.Type) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Type, true
|
return o.Type, true
|
||||||
@ -93,7 +93,7 @@ func (o *ApiResponse) GetTypeOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasType returns a boolean if a field has been set.
|
// HasType returns a boolean if a field has been set.
|
||||||
func (o *ApiResponse) HasType() bool {
|
func (o *ApiResponse) HasType() bool {
|
||||||
if o != nil && !isNil(o.Type) {
|
if o != nil && !IsNil(o.Type) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -107,7 +107,7 @@ func (o *ApiResponse) SetType(v string) {
|
|||||||
|
|
||||||
// GetMessage returns the Message field value if set, zero value otherwise.
|
// GetMessage returns the Message field value if set, zero value otherwise.
|
||||||
func (o *ApiResponse) GetMessage() string {
|
func (o *ApiResponse) GetMessage() string {
|
||||||
if o == nil || isNil(o.Message) {
|
if o == nil || IsNil(o.Message) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -117,7 +117,7 @@ func (o *ApiResponse) GetMessage() string {
|
|||||||
// GetMessageOk returns a tuple with the Message field value if set, nil otherwise
|
// GetMessageOk returns a tuple with the Message field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ApiResponse) GetMessageOk() (*string, bool) {
|
func (o *ApiResponse) GetMessageOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Message) {
|
if o == nil || IsNil(o.Message) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Message, true
|
return o.Message, true
|
||||||
@ -125,7 +125,7 @@ func (o *ApiResponse) GetMessageOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasMessage returns a boolean if a field has been set.
|
// HasMessage returns a boolean if a field has been set.
|
||||||
func (o *ApiResponse) HasMessage() bool {
|
func (o *ApiResponse) HasMessage() bool {
|
||||||
if o != nil && !isNil(o.Message) {
|
if o != nil && !IsNil(o.Message) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -147,13 +147,13 @@ func (o ApiResponse) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o ApiResponse) ToMap() (map[string]interface{}, error) {
|
func (o ApiResponse) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Code) {
|
if !IsNil(o.Code) {
|
||||||
toSerialize["code"] = o.Code
|
toSerialize["code"] = o.Code
|
||||||
}
|
}
|
||||||
if !isNil(o.Type) {
|
if !IsNil(o.Type) {
|
||||||
toSerialize["type"] = o.Type
|
toSerialize["type"] = o.Type
|
||||||
}
|
}
|
||||||
if !isNil(o.Message) {
|
if !IsNil(o.Message) {
|
||||||
toSerialize["message"] = o.Message
|
toSerialize["message"] = o.Message
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewArrayOfArrayOfNumberOnlyWithDefaults() *ArrayOfArrayOfNumberOnly {
|
|||||||
|
|
||||||
// GetArrayArrayNumber returns the ArrayArrayNumber field value if set, zero value otherwise.
|
// GetArrayArrayNumber returns the ArrayArrayNumber field value if set, zero value otherwise.
|
||||||
func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumber() [][]float32 {
|
func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumber() [][]float32 {
|
||||||
if o == nil || isNil(o.ArrayArrayNumber) {
|
if o == nil || IsNil(o.ArrayArrayNumber) {
|
||||||
var ret [][]float32
|
var ret [][]float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumber() [][]float32 {
|
|||||||
// GetArrayArrayNumberOk returns a tuple with the ArrayArrayNumber field value if set, nil otherwise
|
// GetArrayArrayNumberOk returns a tuple with the ArrayArrayNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumberOk() ([][]float32, bool) {
|
func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumberOk() ([][]float32, bool) {
|
||||||
if o == nil || isNil(o.ArrayArrayNumber) {
|
if o == nil || IsNil(o.ArrayArrayNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayArrayNumber, true
|
return o.ArrayArrayNumber, true
|
||||||
@ -59,7 +59,7 @@ func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumberOk() ([][]float32, bool) {
|
|||||||
|
|
||||||
// HasArrayArrayNumber returns a boolean if a field has been set.
|
// HasArrayArrayNumber returns a boolean if a field has been set.
|
||||||
func (o *ArrayOfArrayOfNumberOnly) HasArrayArrayNumber() bool {
|
func (o *ArrayOfArrayOfNumberOnly) HasArrayArrayNumber() bool {
|
||||||
if o != nil && !isNil(o.ArrayArrayNumber) {
|
if o != nil && !IsNil(o.ArrayArrayNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o ArrayOfArrayOfNumberOnly) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o ArrayOfArrayOfNumberOnly) ToMap() (map[string]interface{}, error) {
|
func (o ArrayOfArrayOfNumberOnly) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.ArrayArrayNumber) {
|
if !IsNil(o.ArrayArrayNumber) {
|
||||||
toSerialize["ArrayArrayNumber"] = o.ArrayArrayNumber
|
toSerialize["ArrayArrayNumber"] = o.ArrayArrayNumber
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewArrayOfNumberOnlyWithDefaults() *ArrayOfNumberOnly {
|
|||||||
|
|
||||||
// GetArrayNumber returns the ArrayNumber field value if set, zero value otherwise.
|
// GetArrayNumber returns the ArrayNumber field value if set, zero value otherwise.
|
||||||
func (o *ArrayOfNumberOnly) GetArrayNumber() []float32 {
|
func (o *ArrayOfNumberOnly) GetArrayNumber() []float32 {
|
||||||
if o == nil || isNil(o.ArrayNumber) {
|
if o == nil || IsNil(o.ArrayNumber) {
|
||||||
var ret []float32
|
var ret []float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *ArrayOfNumberOnly) GetArrayNumber() []float32 {
|
|||||||
// GetArrayNumberOk returns a tuple with the ArrayNumber field value if set, nil otherwise
|
// GetArrayNumberOk returns a tuple with the ArrayNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ArrayOfNumberOnly) GetArrayNumberOk() ([]float32, bool) {
|
func (o *ArrayOfNumberOnly) GetArrayNumberOk() ([]float32, bool) {
|
||||||
if o == nil || isNil(o.ArrayNumber) {
|
if o == nil || IsNil(o.ArrayNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayNumber, true
|
return o.ArrayNumber, true
|
||||||
@ -59,7 +59,7 @@ func (o *ArrayOfNumberOnly) GetArrayNumberOk() ([]float32, bool) {
|
|||||||
|
|
||||||
// HasArrayNumber returns a boolean if a field has been set.
|
// HasArrayNumber returns a boolean if a field has been set.
|
||||||
func (o *ArrayOfNumberOnly) HasArrayNumber() bool {
|
func (o *ArrayOfNumberOnly) HasArrayNumber() bool {
|
||||||
if o != nil && !isNil(o.ArrayNumber) {
|
if o != nil && !IsNil(o.ArrayNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o ArrayOfNumberOnly) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o ArrayOfNumberOnly) ToMap() (map[string]interface{}, error) {
|
func (o ArrayOfNumberOnly) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.ArrayNumber) {
|
if !IsNil(o.ArrayNumber) {
|
||||||
toSerialize["ArrayNumber"] = o.ArrayNumber
|
toSerialize["ArrayNumber"] = o.ArrayNumber
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -43,7 +43,7 @@ func NewArrayTestWithDefaults() *ArrayTest {
|
|||||||
|
|
||||||
// GetArrayOfString returns the ArrayOfString field value if set, zero value otherwise.
|
// GetArrayOfString returns the ArrayOfString field value if set, zero value otherwise.
|
||||||
func (o *ArrayTest) GetArrayOfString() []string {
|
func (o *ArrayTest) GetArrayOfString() []string {
|
||||||
if o == nil || isNil(o.ArrayOfString) {
|
if o == nil || IsNil(o.ArrayOfString) {
|
||||||
var ret []string
|
var ret []string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@ func (o *ArrayTest) GetArrayOfString() []string {
|
|||||||
// GetArrayOfStringOk returns a tuple with the ArrayOfString field value if set, nil otherwise
|
// GetArrayOfStringOk returns a tuple with the ArrayOfString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ArrayTest) GetArrayOfStringOk() ([]string, bool) {
|
func (o *ArrayTest) GetArrayOfStringOk() ([]string, bool) {
|
||||||
if o == nil || isNil(o.ArrayOfString) {
|
if o == nil || IsNil(o.ArrayOfString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayOfString, true
|
return o.ArrayOfString, true
|
||||||
@ -61,7 +61,7 @@ func (o *ArrayTest) GetArrayOfStringOk() ([]string, bool) {
|
|||||||
|
|
||||||
// HasArrayOfString returns a boolean if a field has been set.
|
// HasArrayOfString returns a boolean if a field has been set.
|
||||||
func (o *ArrayTest) HasArrayOfString() bool {
|
func (o *ArrayTest) HasArrayOfString() bool {
|
||||||
if o != nil && !isNil(o.ArrayOfString) {
|
if o != nil && !IsNil(o.ArrayOfString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ func (o *ArrayTest) SetArrayOfString(v []string) {
|
|||||||
|
|
||||||
// GetArrayArrayOfInteger returns the ArrayArrayOfInteger field value if set, zero value otherwise.
|
// GetArrayArrayOfInteger returns the ArrayArrayOfInteger field value if set, zero value otherwise.
|
||||||
func (o *ArrayTest) GetArrayArrayOfInteger() [][]int64 {
|
func (o *ArrayTest) GetArrayArrayOfInteger() [][]int64 {
|
||||||
if o == nil || isNil(o.ArrayArrayOfInteger) {
|
if o == nil || IsNil(o.ArrayArrayOfInteger) {
|
||||||
var ret [][]int64
|
var ret [][]int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -85,7 +85,7 @@ func (o *ArrayTest) GetArrayArrayOfInteger() [][]int64 {
|
|||||||
// GetArrayArrayOfIntegerOk returns a tuple with the ArrayArrayOfInteger field value if set, nil otherwise
|
// GetArrayArrayOfIntegerOk returns a tuple with the ArrayArrayOfInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ArrayTest) GetArrayArrayOfIntegerOk() ([][]int64, bool) {
|
func (o *ArrayTest) GetArrayArrayOfIntegerOk() ([][]int64, bool) {
|
||||||
if o == nil || isNil(o.ArrayArrayOfInteger) {
|
if o == nil || IsNil(o.ArrayArrayOfInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayArrayOfInteger, true
|
return o.ArrayArrayOfInteger, true
|
||||||
@ -93,7 +93,7 @@ func (o *ArrayTest) GetArrayArrayOfIntegerOk() ([][]int64, bool) {
|
|||||||
|
|
||||||
// HasArrayArrayOfInteger returns a boolean if a field has been set.
|
// HasArrayArrayOfInteger returns a boolean if a field has been set.
|
||||||
func (o *ArrayTest) HasArrayArrayOfInteger() bool {
|
func (o *ArrayTest) HasArrayArrayOfInteger() bool {
|
||||||
if o != nil && !isNil(o.ArrayArrayOfInteger) {
|
if o != nil && !IsNil(o.ArrayArrayOfInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -107,7 +107,7 @@ func (o *ArrayTest) SetArrayArrayOfInteger(v [][]int64) {
|
|||||||
|
|
||||||
// GetArrayArrayOfModel returns the ArrayArrayOfModel field value if set, zero value otherwise.
|
// GetArrayArrayOfModel returns the ArrayArrayOfModel field value if set, zero value otherwise.
|
||||||
func (o *ArrayTest) GetArrayArrayOfModel() [][]ReadOnlyFirst {
|
func (o *ArrayTest) GetArrayArrayOfModel() [][]ReadOnlyFirst {
|
||||||
if o == nil || isNil(o.ArrayArrayOfModel) {
|
if o == nil || IsNil(o.ArrayArrayOfModel) {
|
||||||
var ret [][]ReadOnlyFirst
|
var ret [][]ReadOnlyFirst
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -117,7 +117,7 @@ func (o *ArrayTest) GetArrayArrayOfModel() [][]ReadOnlyFirst {
|
|||||||
// GetArrayArrayOfModelOk returns a tuple with the ArrayArrayOfModel field value if set, nil otherwise
|
// GetArrayArrayOfModelOk returns a tuple with the ArrayArrayOfModel field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ArrayTest) GetArrayArrayOfModelOk() ([][]ReadOnlyFirst, bool) {
|
func (o *ArrayTest) GetArrayArrayOfModelOk() ([][]ReadOnlyFirst, bool) {
|
||||||
if o == nil || isNil(o.ArrayArrayOfModel) {
|
if o == nil || IsNil(o.ArrayArrayOfModel) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayArrayOfModel, true
|
return o.ArrayArrayOfModel, true
|
||||||
@ -125,7 +125,7 @@ func (o *ArrayTest) GetArrayArrayOfModelOk() ([][]ReadOnlyFirst, bool) {
|
|||||||
|
|
||||||
// HasArrayArrayOfModel returns a boolean if a field has been set.
|
// HasArrayArrayOfModel returns a boolean if a field has been set.
|
||||||
func (o *ArrayTest) HasArrayArrayOfModel() bool {
|
func (o *ArrayTest) HasArrayArrayOfModel() bool {
|
||||||
if o != nil && !isNil(o.ArrayArrayOfModel) {
|
if o != nil && !IsNil(o.ArrayArrayOfModel) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -147,13 +147,13 @@ func (o ArrayTest) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o ArrayTest) ToMap() (map[string]interface{}, error) {
|
func (o ArrayTest) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.ArrayOfString) {
|
if !IsNil(o.ArrayOfString) {
|
||||||
toSerialize["array_of_string"] = o.ArrayOfString
|
toSerialize["array_of_string"] = o.ArrayOfString
|
||||||
}
|
}
|
||||||
if !isNil(o.ArrayArrayOfInteger) {
|
if !IsNil(o.ArrayArrayOfInteger) {
|
||||||
toSerialize["array_array_of_integer"] = o.ArrayArrayOfInteger
|
toSerialize["array_array_of_integer"] = o.ArrayArrayOfInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.ArrayArrayOfModel) {
|
if !IsNil(o.ArrayArrayOfModel) {
|
||||||
toSerialize["array_array_of_model"] = o.ArrayArrayOfModel
|
toSerialize["array_array_of_model"] = o.ArrayArrayOfModel
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -45,7 +45,7 @@ func NewBigCatWithDefaults() *BigCat {
|
|||||||
|
|
||||||
// GetKind returns the Kind field value if set, zero value otherwise.
|
// GetKind returns the Kind field value if set, zero value otherwise.
|
||||||
func (o *BigCat) GetKind() string {
|
func (o *BigCat) GetKind() string {
|
||||||
if o == nil || isNil(o.Kind) {
|
if o == nil || IsNil(o.Kind) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *BigCat) GetKind() string {
|
|||||||
// GetKindOk returns a tuple with the Kind field value if set, nil otherwise
|
// GetKindOk returns a tuple with the Kind field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *BigCat) GetKindOk() (*string, bool) {
|
func (o *BigCat) GetKindOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Kind) {
|
if o == nil || IsNil(o.Kind) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Kind, true
|
return o.Kind, true
|
||||||
@ -63,7 +63,7 @@ func (o *BigCat) GetKindOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasKind returns a boolean if a field has been set.
|
// HasKind returns a boolean if a field has been set.
|
||||||
func (o *BigCat) HasKind() bool {
|
func (o *BigCat) HasKind() bool {
|
||||||
if o != nil && !isNil(o.Kind) {
|
if o != nil && !IsNil(o.Kind) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ func (o BigCat) ToMap() (map[string]interface{}, error) {
|
|||||||
if errCat != nil {
|
if errCat != nil {
|
||||||
return map[string]interface{}{}, errCat
|
return map[string]interface{}{}, errCat
|
||||||
}
|
}
|
||||||
if !isNil(o.Kind) {
|
if !IsNil(o.Kind) {
|
||||||
toSerialize["kind"] = o.Kind
|
toSerialize["kind"] = o.Kind
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewBigCatAllOfWithDefaults() *BigCatAllOf {
|
|||||||
|
|
||||||
// GetKind returns the Kind field value if set, zero value otherwise.
|
// GetKind returns the Kind field value if set, zero value otherwise.
|
||||||
func (o *BigCatAllOf) GetKind() string {
|
func (o *BigCatAllOf) GetKind() string {
|
||||||
if o == nil || isNil(o.Kind) {
|
if o == nil || IsNil(o.Kind) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *BigCatAllOf) GetKind() string {
|
|||||||
// GetKindOk returns a tuple with the Kind field value if set, nil otherwise
|
// GetKindOk returns a tuple with the Kind field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *BigCatAllOf) GetKindOk() (*string, bool) {
|
func (o *BigCatAllOf) GetKindOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Kind) {
|
if o == nil || IsNil(o.Kind) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Kind, true
|
return o.Kind, true
|
||||||
@ -59,7 +59,7 @@ func (o *BigCatAllOf) GetKindOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasKind returns a boolean if a field has been set.
|
// HasKind returns a boolean if a field has been set.
|
||||||
func (o *BigCatAllOf) HasKind() bool {
|
func (o *BigCatAllOf) HasKind() bool {
|
||||||
if o != nil && !isNil(o.Kind) {
|
if o != nil && !IsNil(o.Kind) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o BigCatAllOf) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o BigCatAllOf) ToMap() (map[string]interface{}, error) {
|
func (o BigCatAllOf) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Kind) {
|
if !IsNil(o.Kind) {
|
||||||
toSerialize["kind"] = o.Kind
|
toSerialize["kind"] = o.Kind
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -47,7 +47,7 @@ func NewCapitalizationWithDefaults() *Capitalization {
|
|||||||
|
|
||||||
// GetSmallCamel returns the SmallCamel field value if set, zero value otherwise.
|
// GetSmallCamel returns the SmallCamel field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetSmallCamel() string {
|
func (o *Capitalization) GetSmallCamel() string {
|
||||||
if o == nil || isNil(o.SmallCamel) {
|
if o == nil || IsNil(o.SmallCamel) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -57,7 +57,7 @@ func (o *Capitalization) GetSmallCamel() string {
|
|||||||
// GetSmallCamelOk returns a tuple with the SmallCamel field value if set, nil otherwise
|
// GetSmallCamelOk returns a tuple with the SmallCamel field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetSmallCamelOk() (*string, bool) {
|
func (o *Capitalization) GetSmallCamelOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.SmallCamel) {
|
if o == nil || IsNil(o.SmallCamel) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SmallCamel, true
|
return o.SmallCamel, true
|
||||||
@ -65,7 +65,7 @@ func (o *Capitalization) GetSmallCamelOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasSmallCamel returns a boolean if a field has been set.
|
// HasSmallCamel returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasSmallCamel() bool {
|
func (o *Capitalization) HasSmallCamel() bool {
|
||||||
if o != nil && !isNil(o.SmallCamel) {
|
if o != nil && !IsNil(o.SmallCamel) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ func (o *Capitalization) SetSmallCamel(v string) {
|
|||||||
|
|
||||||
// GetCapitalCamel returns the CapitalCamel field value if set, zero value otherwise.
|
// GetCapitalCamel returns the CapitalCamel field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetCapitalCamel() string {
|
func (o *Capitalization) GetCapitalCamel() string {
|
||||||
if o == nil || isNil(o.CapitalCamel) {
|
if o == nil || IsNil(o.CapitalCamel) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -89,7 +89,7 @@ func (o *Capitalization) GetCapitalCamel() string {
|
|||||||
// GetCapitalCamelOk returns a tuple with the CapitalCamel field value if set, nil otherwise
|
// GetCapitalCamelOk returns a tuple with the CapitalCamel field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetCapitalCamelOk() (*string, bool) {
|
func (o *Capitalization) GetCapitalCamelOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.CapitalCamel) {
|
if o == nil || IsNil(o.CapitalCamel) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.CapitalCamel, true
|
return o.CapitalCamel, true
|
||||||
@ -97,7 +97,7 @@ func (o *Capitalization) GetCapitalCamelOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasCapitalCamel returns a boolean if a field has been set.
|
// HasCapitalCamel returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasCapitalCamel() bool {
|
func (o *Capitalization) HasCapitalCamel() bool {
|
||||||
if o != nil && !isNil(o.CapitalCamel) {
|
if o != nil && !IsNil(o.CapitalCamel) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ func (o *Capitalization) SetCapitalCamel(v string) {
|
|||||||
|
|
||||||
// GetSmallSnake returns the SmallSnake field value if set, zero value otherwise.
|
// GetSmallSnake returns the SmallSnake field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetSmallSnake() string {
|
func (o *Capitalization) GetSmallSnake() string {
|
||||||
if o == nil || isNil(o.SmallSnake) {
|
if o == nil || IsNil(o.SmallSnake) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -121,7 +121,7 @@ func (o *Capitalization) GetSmallSnake() string {
|
|||||||
// GetSmallSnakeOk returns a tuple with the SmallSnake field value if set, nil otherwise
|
// GetSmallSnakeOk returns a tuple with the SmallSnake field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetSmallSnakeOk() (*string, bool) {
|
func (o *Capitalization) GetSmallSnakeOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.SmallSnake) {
|
if o == nil || IsNil(o.SmallSnake) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SmallSnake, true
|
return o.SmallSnake, true
|
||||||
@ -129,7 +129,7 @@ func (o *Capitalization) GetSmallSnakeOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasSmallSnake returns a boolean if a field has been set.
|
// HasSmallSnake returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasSmallSnake() bool {
|
func (o *Capitalization) HasSmallSnake() bool {
|
||||||
if o != nil && !isNil(o.SmallSnake) {
|
if o != nil && !IsNil(o.SmallSnake) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -143,7 +143,7 @@ func (o *Capitalization) SetSmallSnake(v string) {
|
|||||||
|
|
||||||
// GetCapitalSnake returns the CapitalSnake field value if set, zero value otherwise.
|
// GetCapitalSnake returns the CapitalSnake field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetCapitalSnake() string {
|
func (o *Capitalization) GetCapitalSnake() string {
|
||||||
if o == nil || isNil(o.CapitalSnake) {
|
if o == nil || IsNil(o.CapitalSnake) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -153,7 +153,7 @@ func (o *Capitalization) GetCapitalSnake() string {
|
|||||||
// GetCapitalSnakeOk returns a tuple with the CapitalSnake field value if set, nil otherwise
|
// GetCapitalSnakeOk returns a tuple with the CapitalSnake field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetCapitalSnakeOk() (*string, bool) {
|
func (o *Capitalization) GetCapitalSnakeOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.CapitalSnake) {
|
if o == nil || IsNil(o.CapitalSnake) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.CapitalSnake, true
|
return o.CapitalSnake, true
|
||||||
@ -161,7 +161,7 @@ func (o *Capitalization) GetCapitalSnakeOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasCapitalSnake returns a boolean if a field has been set.
|
// HasCapitalSnake returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasCapitalSnake() bool {
|
func (o *Capitalization) HasCapitalSnake() bool {
|
||||||
if o != nil && !isNil(o.CapitalSnake) {
|
if o != nil && !IsNil(o.CapitalSnake) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,7 +175,7 @@ func (o *Capitalization) SetCapitalSnake(v string) {
|
|||||||
|
|
||||||
// GetSCAETHFlowPoints returns the SCAETHFlowPoints field value if set, zero value otherwise.
|
// GetSCAETHFlowPoints returns the SCAETHFlowPoints field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetSCAETHFlowPoints() string {
|
func (o *Capitalization) GetSCAETHFlowPoints() string {
|
||||||
if o == nil || isNil(o.SCAETHFlowPoints) {
|
if o == nil || IsNil(o.SCAETHFlowPoints) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -185,7 +185,7 @@ func (o *Capitalization) GetSCAETHFlowPoints() string {
|
|||||||
// GetSCAETHFlowPointsOk returns a tuple with the SCAETHFlowPoints field value if set, nil otherwise
|
// GetSCAETHFlowPointsOk returns a tuple with the SCAETHFlowPoints field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetSCAETHFlowPointsOk() (*string, bool) {
|
func (o *Capitalization) GetSCAETHFlowPointsOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.SCAETHFlowPoints) {
|
if o == nil || IsNil(o.SCAETHFlowPoints) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SCAETHFlowPoints, true
|
return o.SCAETHFlowPoints, true
|
||||||
@ -193,7 +193,7 @@ func (o *Capitalization) GetSCAETHFlowPointsOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasSCAETHFlowPoints returns a boolean if a field has been set.
|
// HasSCAETHFlowPoints returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasSCAETHFlowPoints() bool {
|
func (o *Capitalization) HasSCAETHFlowPoints() bool {
|
||||||
if o != nil && !isNil(o.SCAETHFlowPoints) {
|
if o != nil && !IsNil(o.SCAETHFlowPoints) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -207,7 +207,7 @@ func (o *Capitalization) SetSCAETHFlowPoints(v string) {
|
|||||||
|
|
||||||
// GetATT_NAME returns the ATT_NAME field value if set, zero value otherwise.
|
// GetATT_NAME returns the ATT_NAME field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetATT_NAME() string {
|
func (o *Capitalization) GetATT_NAME() string {
|
||||||
if o == nil || isNil(o.ATT_NAME) {
|
if o == nil || IsNil(o.ATT_NAME) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -217,7 +217,7 @@ func (o *Capitalization) GetATT_NAME() string {
|
|||||||
// GetATT_NAMEOk returns a tuple with the ATT_NAME field value if set, nil otherwise
|
// GetATT_NAMEOk returns a tuple with the ATT_NAME field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetATT_NAMEOk() (*string, bool) {
|
func (o *Capitalization) GetATT_NAMEOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.ATT_NAME) {
|
if o == nil || IsNil(o.ATT_NAME) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ATT_NAME, true
|
return o.ATT_NAME, true
|
||||||
@ -225,7 +225,7 @@ func (o *Capitalization) GetATT_NAMEOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasATT_NAME returns a boolean if a field has been set.
|
// HasATT_NAME returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasATT_NAME() bool {
|
func (o *Capitalization) HasATT_NAME() bool {
|
||||||
if o != nil && !isNil(o.ATT_NAME) {
|
if o != nil && !IsNil(o.ATT_NAME) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -247,22 +247,22 @@ func (o Capitalization) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Capitalization) ToMap() (map[string]interface{}, error) {
|
func (o Capitalization) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.SmallCamel) {
|
if !IsNil(o.SmallCamel) {
|
||||||
toSerialize["smallCamel"] = o.SmallCamel
|
toSerialize["smallCamel"] = o.SmallCamel
|
||||||
}
|
}
|
||||||
if !isNil(o.CapitalCamel) {
|
if !IsNil(o.CapitalCamel) {
|
||||||
toSerialize["CapitalCamel"] = o.CapitalCamel
|
toSerialize["CapitalCamel"] = o.CapitalCamel
|
||||||
}
|
}
|
||||||
if !isNil(o.SmallSnake) {
|
if !IsNil(o.SmallSnake) {
|
||||||
toSerialize["small_Snake"] = o.SmallSnake
|
toSerialize["small_Snake"] = o.SmallSnake
|
||||||
}
|
}
|
||||||
if !isNil(o.CapitalSnake) {
|
if !IsNil(o.CapitalSnake) {
|
||||||
toSerialize["Capital_Snake"] = o.CapitalSnake
|
toSerialize["Capital_Snake"] = o.CapitalSnake
|
||||||
}
|
}
|
||||||
if !isNil(o.SCAETHFlowPoints) {
|
if !IsNil(o.SCAETHFlowPoints) {
|
||||||
toSerialize["SCA_ETH_Flow_Points"] = o.SCAETHFlowPoints
|
toSerialize["SCA_ETH_Flow_Points"] = o.SCAETHFlowPoints
|
||||||
}
|
}
|
||||||
if !isNil(o.ATT_NAME) {
|
if !IsNil(o.ATT_NAME) {
|
||||||
toSerialize["ATT_NAME"] = o.ATT_NAME
|
toSerialize["ATT_NAME"] = o.ATT_NAME
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -45,7 +45,7 @@ func NewCatWithDefaults() *Cat {
|
|||||||
|
|
||||||
// GetDeclawed returns the Declawed field value if set, zero value otherwise.
|
// GetDeclawed returns the Declawed field value if set, zero value otherwise.
|
||||||
func (o *Cat) GetDeclawed() bool {
|
func (o *Cat) GetDeclawed() bool {
|
||||||
if o == nil || isNil(o.Declawed) {
|
if o == nil || IsNil(o.Declawed) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *Cat) GetDeclawed() bool {
|
|||||||
// GetDeclawedOk returns a tuple with the Declawed field value if set, nil otherwise
|
// GetDeclawedOk returns a tuple with the Declawed field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Cat) GetDeclawedOk() (*bool, bool) {
|
func (o *Cat) GetDeclawedOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.Declawed) {
|
if o == nil || IsNil(o.Declawed) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Declawed, true
|
return o.Declawed, true
|
||||||
@ -63,7 +63,7 @@ func (o *Cat) GetDeclawedOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasDeclawed returns a boolean if a field has been set.
|
// HasDeclawed returns a boolean if a field has been set.
|
||||||
func (o *Cat) HasDeclawed() bool {
|
func (o *Cat) HasDeclawed() bool {
|
||||||
if o != nil && !isNil(o.Declawed) {
|
if o != nil && !IsNil(o.Declawed) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ func (o Cat) ToMap() (map[string]interface{}, error) {
|
|||||||
if errAnimal != nil {
|
if errAnimal != nil {
|
||||||
return map[string]interface{}{}, errAnimal
|
return map[string]interface{}{}, errAnimal
|
||||||
}
|
}
|
||||||
if !isNil(o.Declawed) {
|
if !IsNil(o.Declawed) {
|
||||||
toSerialize["declawed"] = o.Declawed
|
toSerialize["declawed"] = o.Declawed
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewCatAllOfWithDefaults() *CatAllOf {
|
|||||||
|
|
||||||
// GetDeclawed returns the Declawed field value if set, zero value otherwise.
|
// GetDeclawed returns the Declawed field value if set, zero value otherwise.
|
||||||
func (o *CatAllOf) GetDeclawed() bool {
|
func (o *CatAllOf) GetDeclawed() bool {
|
||||||
if o == nil || isNil(o.Declawed) {
|
if o == nil || IsNil(o.Declawed) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *CatAllOf) GetDeclawed() bool {
|
|||||||
// GetDeclawedOk returns a tuple with the Declawed field value if set, nil otherwise
|
// GetDeclawedOk returns a tuple with the Declawed field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *CatAllOf) GetDeclawedOk() (*bool, bool) {
|
func (o *CatAllOf) GetDeclawedOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.Declawed) {
|
if o == nil || IsNil(o.Declawed) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Declawed, true
|
return o.Declawed, true
|
||||||
@ -59,7 +59,7 @@ func (o *CatAllOf) GetDeclawedOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasDeclawed returns a boolean if a field has been set.
|
// HasDeclawed returns a boolean if a field has been set.
|
||||||
func (o *CatAllOf) HasDeclawed() bool {
|
func (o *CatAllOf) HasDeclawed() bool {
|
||||||
if o != nil && !isNil(o.Declawed) {
|
if o != nil && !IsNil(o.Declawed) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o CatAllOf) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o CatAllOf) ToMap() (map[string]interface{}, error) {
|
func (o CatAllOf) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Declawed) {
|
if !IsNil(o.Declawed) {
|
||||||
toSerialize["declawed"] = o.Declawed
|
toSerialize["declawed"] = o.Declawed
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -45,7 +45,7 @@ func NewCategoryWithDefaults() *Category {
|
|||||||
|
|
||||||
// GetId returns the Id field value if set, zero value otherwise.
|
// GetId returns the Id field value if set, zero value otherwise.
|
||||||
func (o *Category) GetId() int64 {
|
func (o *Category) GetId() int64 {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *Category) GetId() int64 {
|
|||||||
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Category) GetIdOk() (*int64, bool) {
|
func (o *Category) GetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Id, true
|
return o.Id, true
|
||||||
@ -63,7 +63,7 @@ func (o *Category) GetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasId returns a boolean if a field has been set.
|
// HasId returns a boolean if a field has been set.
|
||||||
func (o *Category) HasId() bool {
|
func (o *Category) HasId() bool {
|
||||||
if o != nil && !isNil(o.Id) {
|
if o != nil && !IsNil(o.Id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ func (o Category) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Category) ToMap() (map[string]interface{}, error) {
|
func (o Category) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Id) {
|
if !IsNil(o.Id) {
|
||||||
toSerialize["id"] = o.Id
|
toSerialize["id"] = o.Id
|
||||||
}
|
}
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
|
@ -41,7 +41,7 @@ func NewClassModelWithDefaults() *ClassModel {
|
|||||||
|
|
||||||
// GetClass returns the Class field value if set, zero value otherwise.
|
// GetClass returns the Class field value if set, zero value otherwise.
|
||||||
func (o *ClassModel) GetClass() string {
|
func (o *ClassModel) GetClass() string {
|
||||||
if o == nil || isNil(o.Class) {
|
if o == nil || IsNil(o.Class) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *ClassModel) GetClass() string {
|
|||||||
// GetClassOk returns a tuple with the Class field value if set, nil otherwise
|
// GetClassOk returns a tuple with the Class field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ClassModel) GetClassOk() (*string, bool) {
|
func (o *ClassModel) GetClassOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Class) {
|
if o == nil || IsNil(o.Class) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Class, true
|
return o.Class, true
|
||||||
@ -59,7 +59,7 @@ func (o *ClassModel) GetClassOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasClass returns a boolean if a field has been set.
|
// HasClass returns a boolean if a field has been set.
|
||||||
func (o *ClassModel) HasClass() bool {
|
func (o *ClassModel) HasClass() bool {
|
||||||
if o != nil && !isNil(o.Class) {
|
if o != nil && !IsNil(o.Class) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o ClassModel) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o ClassModel) ToMap() (map[string]interface{}, error) {
|
func (o ClassModel) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Class) {
|
if !IsNil(o.Class) {
|
||||||
toSerialize["_class"] = o.Class
|
toSerialize["_class"] = o.Class
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewClientWithDefaults() *Client {
|
|||||||
|
|
||||||
// GetClient returns the Client field value if set, zero value otherwise.
|
// GetClient returns the Client field value if set, zero value otherwise.
|
||||||
func (o *Client) GetClient() string {
|
func (o *Client) GetClient() string {
|
||||||
if o == nil || isNil(o.Client) {
|
if o == nil || IsNil(o.Client) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *Client) GetClient() string {
|
|||||||
// GetClientOk returns a tuple with the Client field value if set, nil otherwise
|
// GetClientOk returns a tuple with the Client field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Client) GetClientOk() (*string, bool) {
|
func (o *Client) GetClientOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Client) {
|
if o == nil || IsNil(o.Client) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Client, true
|
return o.Client, true
|
||||||
@ -59,7 +59,7 @@ func (o *Client) GetClientOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasClient returns a boolean if a field has been set.
|
// HasClient returns a boolean if a field has been set.
|
||||||
func (o *Client) HasClient() bool {
|
func (o *Client) HasClient() bool {
|
||||||
if o != nil && !isNil(o.Client) {
|
if o != nil && !IsNil(o.Client) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o Client) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Client) ToMap() (map[string]interface{}, error) {
|
func (o Client) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Client) {
|
if !IsNil(o.Client) {
|
||||||
toSerialize["client"] = o.Client
|
toSerialize["client"] = o.Client
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -45,7 +45,7 @@ func NewDogWithDefaults() *Dog {
|
|||||||
|
|
||||||
// GetBreed returns the Breed field value if set, zero value otherwise.
|
// GetBreed returns the Breed field value if set, zero value otherwise.
|
||||||
func (o *Dog) GetBreed() string {
|
func (o *Dog) GetBreed() string {
|
||||||
if o == nil || isNil(o.Breed) {
|
if o == nil || IsNil(o.Breed) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *Dog) GetBreed() string {
|
|||||||
// GetBreedOk returns a tuple with the Breed field value if set, nil otherwise
|
// GetBreedOk returns a tuple with the Breed field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Dog) GetBreedOk() (*string, bool) {
|
func (o *Dog) GetBreedOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Breed) {
|
if o == nil || IsNil(o.Breed) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Breed, true
|
return o.Breed, true
|
||||||
@ -63,7 +63,7 @@ func (o *Dog) GetBreedOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBreed returns a boolean if a field has been set.
|
// HasBreed returns a boolean if a field has been set.
|
||||||
func (o *Dog) HasBreed() bool {
|
func (o *Dog) HasBreed() bool {
|
||||||
if o != nil && !isNil(o.Breed) {
|
if o != nil && !IsNil(o.Breed) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ func (o Dog) ToMap() (map[string]interface{}, error) {
|
|||||||
if errAnimal != nil {
|
if errAnimal != nil {
|
||||||
return map[string]interface{}{}, errAnimal
|
return map[string]interface{}{}, errAnimal
|
||||||
}
|
}
|
||||||
if !isNil(o.Breed) {
|
if !IsNil(o.Breed) {
|
||||||
toSerialize["breed"] = o.Breed
|
toSerialize["breed"] = o.Breed
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewDogAllOfWithDefaults() *DogAllOf {
|
|||||||
|
|
||||||
// GetBreed returns the Breed field value if set, zero value otherwise.
|
// GetBreed returns the Breed field value if set, zero value otherwise.
|
||||||
func (o *DogAllOf) GetBreed() string {
|
func (o *DogAllOf) GetBreed() string {
|
||||||
if o == nil || isNil(o.Breed) {
|
if o == nil || IsNil(o.Breed) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *DogAllOf) GetBreed() string {
|
|||||||
// GetBreedOk returns a tuple with the Breed field value if set, nil otherwise
|
// GetBreedOk returns a tuple with the Breed field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *DogAllOf) GetBreedOk() (*string, bool) {
|
func (o *DogAllOf) GetBreedOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Breed) {
|
if o == nil || IsNil(o.Breed) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Breed, true
|
return o.Breed, true
|
||||||
@ -59,7 +59,7 @@ func (o *DogAllOf) GetBreedOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBreed returns a boolean if a field has been set.
|
// HasBreed returns a boolean if a field has been set.
|
||||||
func (o *DogAllOf) HasBreed() bool {
|
func (o *DogAllOf) HasBreed() bool {
|
||||||
if o != nil && !isNil(o.Breed) {
|
if o != nil && !IsNil(o.Breed) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o DogAllOf) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o DogAllOf) ToMap() (map[string]interface{}, error) {
|
func (o DogAllOf) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Breed) {
|
if !IsNil(o.Breed) {
|
||||||
toSerialize["breed"] = o.Breed
|
toSerialize["breed"] = o.Breed
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -42,7 +42,7 @@ func NewEnumArraysWithDefaults() *EnumArrays {
|
|||||||
|
|
||||||
// GetJustSymbol returns the JustSymbol field value if set, zero value otherwise.
|
// GetJustSymbol returns the JustSymbol field value if set, zero value otherwise.
|
||||||
func (o *EnumArrays) GetJustSymbol() string {
|
func (o *EnumArrays) GetJustSymbol() string {
|
||||||
if o == nil || isNil(o.JustSymbol) {
|
if o == nil || IsNil(o.JustSymbol) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -52,7 +52,7 @@ func (o *EnumArrays) GetJustSymbol() string {
|
|||||||
// GetJustSymbolOk returns a tuple with the JustSymbol field value if set, nil otherwise
|
// GetJustSymbolOk returns a tuple with the JustSymbol field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumArrays) GetJustSymbolOk() (*string, bool) {
|
func (o *EnumArrays) GetJustSymbolOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.JustSymbol) {
|
if o == nil || IsNil(o.JustSymbol) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.JustSymbol, true
|
return o.JustSymbol, true
|
||||||
@ -60,7 +60,7 @@ func (o *EnumArrays) GetJustSymbolOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasJustSymbol returns a boolean if a field has been set.
|
// HasJustSymbol returns a boolean if a field has been set.
|
||||||
func (o *EnumArrays) HasJustSymbol() bool {
|
func (o *EnumArrays) HasJustSymbol() bool {
|
||||||
if o != nil && !isNil(o.JustSymbol) {
|
if o != nil && !IsNil(o.JustSymbol) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ func (o *EnumArrays) SetJustSymbol(v string) {
|
|||||||
|
|
||||||
// GetArrayEnum returns the ArrayEnum field value if set, zero value otherwise.
|
// GetArrayEnum returns the ArrayEnum field value if set, zero value otherwise.
|
||||||
func (o *EnumArrays) GetArrayEnum() []string {
|
func (o *EnumArrays) GetArrayEnum() []string {
|
||||||
if o == nil || isNil(o.ArrayEnum) {
|
if o == nil || IsNil(o.ArrayEnum) {
|
||||||
var ret []string
|
var ret []string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -84,7 +84,7 @@ func (o *EnumArrays) GetArrayEnum() []string {
|
|||||||
// GetArrayEnumOk returns a tuple with the ArrayEnum field value if set, nil otherwise
|
// GetArrayEnumOk returns a tuple with the ArrayEnum field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumArrays) GetArrayEnumOk() ([]string, bool) {
|
func (o *EnumArrays) GetArrayEnumOk() ([]string, bool) {
|
||||||
if o == nil || isNil(o.ArrayEnum) {
|
if o == nil || IsNil(o.ArrayEnum) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayEnum, true
|
return o.ArrayEnum, true
|
||||||
@ -92,7 +92,7 @@ func (o *EnumArrays) GetArrayEnumOk() ([]string, bool) {
|
|||||||
|
|
||||||
// HasArrayEnum returns a boolean if a field has been set.
|
// HasArrayEnum returns a boolean if a field has been set.
|
||||||
func (o *EnumArrays) HasArrayEnum() bool {
|
func (o *EnumArrays) HasArrayEnum() bool {
|
||||||
if o != nil && !isNil(o.ArrayEnum) {
|
if o != nil && !IsNil(o.ArrayEnum) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,10 +114,10 @@ func (o EnumArrays) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o EnumArrays) ToMap() (map[string]interface{}, error) {
|
func (o EnumArrays) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.JustSymbol) {
|
if !IsNil(o.JustSymbol) {
|
||||||
toSerialize["just_symbol"] = o.JustSymbol
|
toSerialize["just_symbol"] = o.JustSymbol
|
||||||
}
|
}
|
||||||
if !isNil(o.ArrayEnum) {
|
if !IsNil(o.ArrayEnum) {
|
||||||
toSerialize["array_enum"] = o.ArrayEnum
|
toSerialize["array_enum"] = o.ArrayEnum
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -46,7 +46,7 @@ func NewEnumTestWithDefaults() *EnumTest {
|
|||||||
|
|
||||||
// GetEnumString returns the EnumString field value if set, zero value otherwise.
|
// GetEnumString returns the EnumString field value if set, zero value otherwise.
|
||||||
func (o *EnumTest) GetEnumString() string {
|
func (o *EnumTest) GetEnumString() string {
|
||||||
if o == nil || isNil(o.EnumString) {
|
if o == nil || IsNil(o.EnumString) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -56,7 +56,7 @@ func (o *EnumTest) GetEnumString() string {
|
|||||||
// GetEnumStringOk returns a tuple with the EnumString field value if set, nil otherwise
|
// GetEnumStringOk returns a tuple with the EnumString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumTest) GetEnumStringOk() (*string, bool) {
|
func (o *EnumTest) GetEnumStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.EnumString) {
|
if o == nil || IsNil(o.EnumString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.EnumString, true
|
return o.EnumString, true
|
||||||
@ -64,7 +64,7 @@ func (o *EnumTest) GetEnumStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasEnumString returns a boolean if a field has been set.
|
// HasEnumString returns a boolean if a field has been set.
|
||||||
func (o *EnumTest) HasEnumString() bool {
|
func (o *EnumTest) HasEnumString() bool {
|
||||||
if o != nil && !isNil(o.EnumString) {
|
if o != nil && !IsNil(o.EnumString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ func (o *EnumTest) SetEnumStringRequired(v string) {
|
|||||||
|
|
||||||
// GetEnumInteger returns the EnumInteger field value if set, zero value otherwise.
|
// GetEnumInteger returns the EnumInteger field value if set, zero value otherwise.
|
||||||
func (o *EnumTest) GetEnumInteger() int32 {
|
func (o *EnumTest) GetEnumInteger() int32 {
|
||||||
if o == nil || isNil(o.EnumInteger) {
|
if o == nil || IsNil(o.EnumInteger) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -112,7 +112,7 @@ func (o *EnumTest) GetEnumInteger() int32 {
|
|||||||
// GetEnumIntegerOk returns a tuple with the EnumInteger field value if set, nil otherwise
|
// GetEnumIntegerOk returns a tuple with the EnumInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumTest) GetEnumIntegerOk() (*int32, bool) {
|
func (o *EnumTest) GetEnumIntegerOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.EnumInteger) {
|
if o == nil || IsNil(o.EnumInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.EnumInteger, true
|
return o.EnumInteger, true
|
||||||
@ -120,7 +120,7 @@ func (o *EnumTest) GetEnumIntegerOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasEnumInteger returns a boolean if a field has been set.
|
// HasEnumInteger returns a boolean if a field has been set.
|
||||||
func (o *EnumTest) HasEnumInteger() bool {
|
func (o *EnumTest) HasEnumInteger() bool {
|
||||||
if o != nil && !isNil(o.EnumInteger) {
|
if o != nil && !IsNil(o.EnumInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ func (o *EnumTest) SetEnumInteger(v int32) {
|
|||||||
|
|
||||||
// GetEnumNumber returns the EnumNumber field value if set, zero value otherwise.
|
// GetEnumNumber returns the EnumNumber field value if set, zero value otherwise.
|
||||||
func (o *EnumTest) GetEnumNumber() float64 {
|
func (o *EnumTest) GetEnumNumber() float64 {
|
||||||
if o == nil || isNil(o.EnumNumber) {
|
if o == nil || IsNil(o.EnumNumber) {
|
||||||
var ret float64
|
var ret float64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -144,7 +144,7 @@ func (o *EnumTest) GetEnumNumber() float64 {
|
|||||||
// GetEnumNumberOk returns a tuple with the EnumNumber field value if set, nil otherwise
|
// GetEnumNumberOk returns a tuple with the EnumNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumTest) GetEnumNumberOk() (*float64, bool) {
|
func (o *EnumTest) GetEnumNumberOk() (*float64, bool) {
|
||||||
if o == nil || isNil(o.EnumNumber) {
|
if o == nil || IsNil(o.EnumNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.EnumNumber, true
|
return o.EnumNumber, true
|
||||||
@ -152,7 +152,7 @@ func (o *EnumTest) GetEnumNumberOk() (*float64, bool) {
|
|||||||
|
|
||||||
// HasEnumNumber returns a boolean if a field has been set.
|
// HasEnumNumber returns a boolean if a field has been set.
|
||||||
func (o *EnumTest) HasEnumNumber() bool {
|
func (o *EnumTest) HasEnumNumber() bool {
|
||||||
if o != nil && !isNil(o.EnumNumber) {
|
if o != nil && !IsNil(o.EnumNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -166,7 +166,7 @@ func (o *EnumTest) SetEnumNumber(v float64) {
|
|||||||
|
|
||||||
// GetOuterEnum returns the OuterEnum field value if set, zero value otherwise.
|
// GetOuterEnum returns the OuterEnum field value if set, zero value otherwise.
|
||||||
func (o *EnumTest) GetOuterEnum() OuterEnum {
|
func (o *EnumTest) GetOuterEnum() OuterEnum {
|
||||||
if o == nil || isNil(o.OuterEnum) {
|
if o == nil || IsNil(o.OuterEnum) {
|
||||||
var ret OuterEnum
|
var ret OuterEnum
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -176,7 +176,7 @@ func (o *EnumTest) GetOuterEnum() OuterEnum {
|
|||||||
// GetOuterEnumOk returns a tuple with the OuterEnum field value if set, nil otherwise
|
// GetOuterEnumOk returns a tuple with the OuterEnum field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumTest) GetOuterEnumOk() (*OuterEnum, bool) {
|
func (o *EnumTest) GetOuterEnumOk() (*OuterEnum, bool) {
|
||||||
if o == nil || isNil(o.OuterEnum) {
|
if o == nil || IsNil(o.OuterEnum) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.OuterEnum, true
|
return o.OuterEnum, true
|
||||||
@ -184,7 +184,7 @@ func (o *EnumTest) GetOuterEnumOk() (*OuterEnum, bool) {
|
|||||||
|
|
||||||
// HasOuterEnum returns a boolean if a field has been set.
|
// HasOuterEnum returns a boolean if a field has been set.
|
||||||
func (o *EnumTest) HasOuterEnum() bool {
|
func (o *EnumTest) HasOuterEnum() bool {
|
||||||
if o != nil && !isNil(o.OuterEnum) {
|
if o != nil && !IsNil(o.OuterEnum) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -206,17 +206,17 @@ func (o EnumTest) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o EnumTest) ToMap() (map[string]interface{}, error) {
|
func (o EnumTest) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.EnumString) {
|
if !IsNil(o.EnumString) {
|
||||||
toSerialize["enum_string"] = o.EnumString
|
toSerialize["enum_string"] = o.EnumString
|
||||||
}
|
}
|
||||||
toSerialize["enum_string_required"] = o.EnumStringRequired
|
toSerialize["enum_string_required"] = o.EnumStringRequired
|
||||||
if !isNil(o.EnumInteger) {
|
if !IsNil(o.EnumInteger) {
|
||||||
toSerialize["enum_integer"] = o.EnumInteger
|
toSerialize["enum_integer"] = o.EnumInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.EnumNumber) {
|
if !IsNil(o.EnumNumber) {
|
||||||
toSerialize["enum_number"] = o.EnumNumber
|
toSerialize["enum_number"] = o.EnumNumber
|
||||||
}
|
}
|
||||||
if !isNil(o.OuterEnum) {
|
if !IsNil(o.OuterEnum) {
|
||||||
toSerialize["outerEnum"] = o.OuterEnum
|
toSerialize["outerEnum"] = o.OuterEnum
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -42,7 +42,7 @@ func NewFileWithDefaults() *File {
|
|||||||
|
|
||||||
// GetSourceURI returns the SourceURI field value if set, zero value otherwise.
|
// GetSourceURI returns the SourceURI field value if set, zero value otherwise.
|
||||||
func (o *File) GetSourceURI() string {
|
func (o *File) GetSourceURI() string {
|
||||||
if o == nil || isNil(o.SourceURI) {
|
if o == nil || IsNil(o.SourceURI) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -52,7 +52,7 @@ func (o *File) GetSourceURI() string {
|
|||||||
// GetSourceURIOk returns a tuple with the SourceURI field value if set, nil otherwise
|
// GetSourceURIOk returns a tuple with the SourceURI field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *File) GetSourceURIOk() (*string, bool) {
|
func (o *File) GetSourceURIOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.SourceURI) {
|
if o == nil || IsNil(o.SourceURI) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SourceURI, true
|
return o.SourceURI, true
|
||||||
@ -60,7 +60,7 @@ func (o *File) GetSourceURIOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasSourceURI returns a boolean if a field has been set.
|
// HasSourceURI returns a boolean if a field has been set.
|
||||||
func (o *File) HasSourceURI() bool {
|
func (o *File) HasSourceURI() bool {
|
||||||
if o != nil && !isNil(o.SourceURI) {
|
if o != nil && !IsNil(o.SourceURI) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ func (o File) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o File) ToMap() (map[string]interface{}, error) {
|
func (o File) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.SourceURI) {
|
if !IsNil(o.SourceURI) {
|
||||||
toSerialize["sourceURI"] = o.SourceURI
|
toSerialize["sourceURI"] = o.SourceURI
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -42,7 +42,7 @@ func NewFileSchemaTestClassWithDefaults() *FileSchemaTestClass {
|
|||||||
|
|
||||||
// GetFile returns the File field value if set, zero value otherwise.
|
// GetFile returns the File field value if set, zero value otherwise.
|
||||||
func (o *FileSchemaTestClass) GetFile() File {
|
func (o *FileSchemaTestClass) GetFile() File {
|
||||||
if o == nil || isNil(o.File) {
|
if o == nil || IsNil(o.File) {
|
||||||
var ret File
|
var ret File
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -52,7 +52,7 @@ func (o *FileSchemaTestClass) GetFile() File {
|
|||||||
// GetFileOk returns a tuple with the File field value if set, nil otherwise
|
// GetFileOk returns a tuple with the File field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FileSchemaTestClass) GetFileOk() (*File, bool) {
|
func (o *FileSchemaTestClass) GetFileOk() (*File, bool) {
|
||||||
if o == nil || isNil(o.File) {
|
if o == nil || IsNil(o.File) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.File, true
|
return o.File, true
|
||||||
@ -60,7 +60,7 @@ func (o *FileSchemaTestClass) GetFileOk() (*File, bool) {
|
|||||||
|
|
||||||
// HasFile returns a boolean if a field has been set.
|
// HasFile returns a boolean if a field has been set.
|
||||||
func (o *FileSchemaTestClass) HasFile() bool {
|
func (o *FileSchemaTestClass) HasFile() bool {
|
||||||
if o != nil && !isNil(o.File) {
|
if o != nil && !IsNil(o.File) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ func (o *FileSchemaTestClass) SetFile(v File) {
|
|||||||
|
|
||||||
// GetFiles returns the Files field value if set, zero value otherwise.
|
// GetFiles returns the Files field value if set, zero value otherwise.
|
||||||
func (o *FileSchemaTestClass) GetFiles() []File {
|
func (o *FileSchemaTestClass) GetFiles() []File {
|
||||||
if o == nil || isNil(o.Files) {
|
if o == nil || IsNil(o.Files) {
|
||||||
var ret []File
|
var ret []File
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -84,7 +84,7 @@ func (o *FileSchemaTestClass) GetFiles() []File {
|
|||||||
// GetFilesOk returns a tuple with the Files field value if set, nil otherwise
|
// GetFilesOk returns a tuple with the Files field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FileSchemaTestClass) GetFilesOk() ([]File, bool) {
|
func (o *FileSchemaTestClass) GetFilesOk() ([]File, bool) {
|
||||||
if o == nil || isNil(o.Files) {
|
if o == nil || IsNil(o.Files) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Files, true
|
return o.Files, true
|
||||||
@ -92,7 +92,7 @@ func (o *FileSchemaTestClass) GetFilesOk() ([]File, bool) {
|
|||||||
|
|
||||||
// HasFiles returns a boolean if a field has been set.
|
// HasFiles returns a boolean if a field has been set.
|
||||||
func (o *FileSchemaTestClass) HasFiles() bool {
|
func (o *FileSchemaTestClass) HasFiles() bool {
|
||||||
if o != nil && !isNil(o.Files) {
|
if o != nil && !IsNil(o.Files) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,10 +114,10 @@ func (o FileSchemaTestClass) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o FileSchemaTestClass) ToMap() (map[string]interface{}, error) {
|
func (o FileSchemaTestClass) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.File) {
|
if !IsNil(o.File) {
|
||||||
toSerialize["file"] = o.File
|
toSerialize["file"] = o.File
|
||||||
}
|
}
|
||||||
if !isNil(o.Files) {
|
if !IsNil(o.Files) {
|
||||||
toSerialize["files"] = o.Files
|
toSerialize["files"] = o.Files
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -60,7 +60,7 @@ func NewFormatTestWithDefaults() *FormatTest {
|
|||||||
|
|
||||||
// GetInteger returns the Integer field value if set, zero value otherwise.
|
// GetInteger returns the Integer field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetInteger() int32 {
|
func (o *FormatTest) GetInteger() int32 {
|
||||||
if o == nil || isNil(o.Integer) {
|
if o == nil || IsNil(o.Integer) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -70,7 +70,7 @@ func (o *FormatTest) GetInteger() int32 {
|
|||||||
// GetIntegerOk returns a tuple with the Integer field value if set, nil otherwise
|
// GetIntegerOk returns a tuple with the Integer field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetIntegerOk() (*int32, bool) {
|
func (o *FormatTest) GetIntegerOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Integer) {
|
if o == nil || IsNil(o.Integer) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Integer, true
|
return o.Integer, true
|
||||||
@ -78,7 +78,7 @@ func (o *FormatTest) GetIntegerOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasInteger returns a boolean if a field has been set.
|
// HasInteger returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasInteger() bool {
|
func (o *FormatTest) HasInteger() bool {
|
||||||
if o != nil && !isNil(o.Integer) {
|
if o != nil && !IsNil(o.Integer) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ func (o *FormatTest) SetInteger(v int32) {
|
|||||||
|
|
||||||
// GetInt32 returns the Int32 field value if set, zero value otherwise.
|
// GetInt32 returns the Int32 field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetInt32() int32 {
|
func (o *FormatTest) GetInt32() int32 {
|
||||||
if o == nil || isNil(o.Int32) {
|
if o == nil || IsNil(o.Int32) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -102,7 +102,7 @@ func (o *FormatTest) GetInt32() int32 {
|
|||||||
// GetInt32Ok returns a tuple with the Int32 field value if set, nil otherwise
|
// GetInt32Ok returns a tuple with the Int32 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetInt32Ok() (*int32, bool) {
|
func (o *FormatTest) GetInt32Ok() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Int32) {
|
if o == nil || IsNil(o.Int32) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Int32, true
|
return o.Int32, true
|
||||||
@ -110,7 +110,7 @@ func (o *FormatTest) GetInt32Ok() (*int32, bool) {
|
|||||||
|
|
||||||
// HasInt32 returns a boolean if a field has been set.
|
// HasInt32 returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasInt32() bool {
|
func (o *FormatTest) HasInt32() bool {
|
||||||
if o != nil && !isNil(o.Int32) {
|
if o != nil && !IsNil(o.Int32) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ func (o *FormatTest) SetInt32(v int32) {
|
|||||||
|
|
||||||
// GetInt64 returns the Int64 field value if set, zero value otherwise.
|
// GetInt64 returns the Int64 field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetInt64() int64 {
|
func (o *FormatTest) GetInt64() int64 {
|
||||||
if o == nil || isNil(o.Int64) {
|
if o == nil || IsNil(o.Int64) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -134,7 +134,7 @@ func (o *FormatTest) GetInt64() int64 {
|
|||||||
// GetInt64Ok returns a tuple with the Int64 field value if set, nil otherwise
|
// GetInt64Ok returns a tuple with the Int64 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetInt64Ok() (*int64, bool) {
|
func (o *FormatTest) GetInt64Ok() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Int64) {
|
if o == nil || IsNil(o.Int64) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Int64, true
|
return o.Int64, true
|
||||||
@ -142,7 +142,7 @@ func (o *FormatTest) GetInt64Ok() (*int64, bool) {
|
|||||||
|
|
||||||
// HasInt64 returns a boolean if a field has been set.
|
// HasInt64 returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasInt64() bool {
|
func (o *FormatTest) HasInt64() bool {
|
||||||
if o != nil && !isNil(o.Int64) {
|
if o != nil && !IsNil(o.Int64) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ func (o *FormatTest) SetNumber(v float32) {
|
|||||||
|
|
||||||
// GetFloat returns the Float field value if set, zero value otherwise.
|
// GetFloat returns the Float field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetFloat() float32 {
|
func (o *FormatTest) GetFloat() float32 {
|
||||||
if o == nil || isNil(o.Float) {
|
if o == nil || IsNil(o.Float) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -190,7 +190,7 @@ func (o *FormatTest) GetFloat() float32 {
|
|||||||
// GetFloatOk returns a tuple with the Float field value if set, nil otherwise
|
// GetFloatOk returns a tuple with the Float field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetFloatOk() (*float32, bool) {
|
func (o *FormatTest) GetFloatOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.Float) {
|
if o == nil || IsNil(o.Float) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Float, true
|
return o.Float, true
|
||||||
@ -198,7 +198,7 @@ func (o *FormatTest) GetFloatOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasFloat returns a boolean if a field has been set.
|
// HasFloat returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasFloat() bool {
|
func (o *FormatTest) HasFloat() bool {
|
||||||
if o != nil && !isNil(o.Float) {
|
if o != nil && !IsNil(o.Float) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ func (o *FormatTest) SetFloat(v float32) {
|
|||||||
|
|
||||||
// GetDouble returns the Double field value if set, zero value otherwise.
|
// GetDouble returns the Double field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetDouble() float64 {
|
func (o *FormatTest) GetDouble() float64 {
|
||||||
if o == nil || isNil(o.Double) {
|
if o == nil || IsNil(o.Double) {
|
||||||
var ret float64
|
var ret float64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -222,7 +222,7 @@ func (o *FormatTest) GetDouble() float64 {
|
|||||||
// GetDoubleOk returns a tuple with the Double field value if set, nil otherwise
|
// GetDoubleOk returns a tuple with the Double field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetDoubleOk() (*float64, bool) {
|
func (o *FormatTest) GetDoubleOk() (*float64, bool) {
|
||||||
if o == nil || isNil(o.Double) {
|
if o == nil || IsNil(o.Double) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Double, true
|
return o.Double, true
|
||||||
@ -230,7 +230,7 @@ func (o *FormatTest) GetDoubleOk() (*float64, bool) {
|
|||||||
|
|
||||||
// HasDouble returns a boolean if a field has been set.
|
// HasDouble returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasDouble() bool {
|
func (o *FormatTest) HasDouble() bool {
|
||||||
if o != nil && !isNil(o.Double) {
|
if o != nil && !IsNil(o.Double) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ func (o *FormatTest) SetDouble(v float64) {
|
|||||||
|
|
||||||
// GetString returns the String field value if set, zero value otherwise.
|
// GetString returns the String field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetString() string {
|
func (o *FormatTest) GetString() string {
|
||||||
if o == nil || isNil(o.String) {
|
if o == nil || IsNil(o.String) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -254,7 +254,7 @@ func (o *FormatTest) GetString() string {
|
|||||||
// GetStringOk returns a tuple with the String field value if set, nil otherwise
|
// GetStringOk returns a tuple with the String field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetStringOk() (*string, bool) {
|
func (o *FormatTest) GetStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.String) {
|
if o == nil || IsNil(o.String) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.String, true
|
return o.String, true
|
||||||
@ -262,7 +262,7 @@ func (o *FormatTest) GetStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasString returns a boolean if a field has been set.
|
// HasString returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasString() bool {
|
func (o *FormatTest) HasString() bool {
|
||||||
if o != nil && !isNil(o.String) {
|
if o != nil && !IsNil(o.String) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -300,7 +300,7 @@ func (o *FormatTest) SetByte(v string) {
|
|||||||
|
|
||||||
// GetBinary returns the Binary field value if set, zero value otherwise.
|
// GetBinary returns the Binary field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetBinary() *os.File {
|
func (o *FormatTest) GetBinary() *os.File {
|
||||||
if o == nil || isNil(o.Binary) {
|
if o == nil || IsNil(o.Binary) {
|
||||||
var ret *os.File
|
var ret *os.File
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -310,7 +310,7 @@ func (o *FormatTest) GetBinary() *os.File {
|
|||||||
// GetBinaryOk returns a tuple with the Binary field value if set, nil otherwise
|
// GetBinaryOk returns a tuple with the Binary field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetBinaryOk() (**os.File, bool) {
|
func (o *FormatTest) GetBinaryOk() (**os.File, bool) {
|
||||||
if o == nil || isNil(o.Binary) {
|
if o == nil || IsNil(o.Binary) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Binary, true
|
return o.Binary, true
|
||||||
@ -318,7 +318,7 @@ func (o *FormatTest) GetBinaryOk() (**os.File, bool) {
|
|||||||
|
|
||||||
// HasBinary returns a boolean if a field has been set.
|
// HasBinary returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasBinary() bool {
|
func (o *FormatTest) HasBinary() bool {
|
||||||
if o != nil && !isNil(o.Binary) {
|
if o != nil && !IsNil(o.Binary) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -356,7 +356,7 @@ func (o *FormatTest) SetDate(v string) {
|
|||||||
|
|
||||||
// GetDateTime returns the DateTime field value if set, zero value otherwise.
|
// GetDateTime returns the DateTime field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetDateTime() time.Time {
|
func (o *FormatTest) GetDateTime() time.Time {
|
||||||
if o == nil || isNil(o.DateTime) {
|
if o == nil || IsNil(o.DateTime) {
|
||||||
var ret time.Time
|
var ret time.Time
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -366,7 +366,7 @@ func (o *FormatTest) GetDateTime() time.Time {
|
|||||||
// GetDateTimeOk returns a tuple with the DateTime field value if set, nil otherwise
|
// GetDateTimeOk returns a tuple with the DateTime field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetDateTimeOk() (*time.Time, bool) {
|
func (o *FormatTest) GetDateTimeOk() (*time.Time, bool) {
|
||||||
if o == nil || isNil(o.DateTime) {
|
if o == nil || IsNil(o.DateTime) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.DateTime, true
|
return o.DateTime, true
|
||||||
@ -374,7 +374,7 @@ func (o *FormatTest) GetDateTimeOk() (*time.Time, bool) {
|
|||||||
|
|
||||||
// HasDateTime returns a boolean if a field has been set.
|
// HasDateTime returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasDateTime() bool {
|
func (o *FormatTest) HasDateTime() bool {
|
||||||
if o != nil && !isNil(o.DateTime) {
|
if o != nil && !IsNil(o.DateTime) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -388,7 +388,7 @@ func (o *FormatTest) SetDateTime(v time.Time) {
|
|||||||
|
|
||||||
// GetUuid returns the Uuid field value if set, zero value otherwise.
|
// GetUuid returns the Uuid field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetUuid() string {
|
func (o *FormatTest) GetUuid() string {
|
||||||
if o == nil || isNil(o.Uuid) {
|
if o == nil || IsNil(o.Uuid) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -398,7 +398,7 @@ func (o *FormatTest) GetUuid() string {
|
|||||||
// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise
|
// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetUuidOk() (*string, bool) {
|
func (o *FormatTest) GetUuidOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Uuid) {
|
if o == nil || IsNil(o.Uuid) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Uuid, true
|
return o.Uuid, true
|
||||||
@ -406,7 +406,7 @@ func (o *FormatTest) GetUuidOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasUuid returns a boolean if a field has been set.
|
// HasUuid returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasUuid() bool {
|
func (o *FormatTest) HasUuid() bool {
|
||||||
if o != nil && !isNil(o.Uuid) {
|
if o != nil && !IsNil(o.Uuid) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -444,7 +444,7 @@ func (o *FormatTest) SetPassword(v string) {
|
|||||||
|
|
||||||
// GetBigDecimal returns the BigDecimal field value if set, zero value otherwise.
|
// GetBigDecimal returns the BigDecimal field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetBigDecimal() float64 {
|
func (o *FormatTest) GetBigDecimal() float64 {
|
||||||
if o == nil || isNil(o.BigDecimal) {
|
if o == nil || IsNil(o.BigDecimal) {
|
||||||
var ret float64
|
var ret float64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -454,7 +454,7 @@ func (o *FormatTest) GetBigDecimal() float64 {
|
|||||||
// GetBigDecimalOk returns a tuple with the BigDecimal field value if set, nil otherwise
|
// GetBigDecimalOk returns a tuple with the BigDecimal field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetBigDecimalOk() (*float64, bool) {
|
func (o *FormatTest) GetBigDecimalOk() (*float64, bool) {
|
||||||
if o == nil || isNil(o.BigDecimal) {
|
if o == nil || IsNil(o.BigDecimal) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.BigDecimal, true
|
return o.BigDecimal, true
|
||||||
@ -462,7 +462,7 @@ func (o *FormatTest) GetBigDecimalOk() (*float64, bool) {
|
|||||||
|
|
||||||
// HasBigDecimal returns a boolean if a field has been set.
|
// HasBigDecimal returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasBigDecimal() bool {
|
func (o *FormatTest) HasBigDecimal() bool {
|
||||||
if o != nil && !isNil(o.BigDecimal) {
|
if o != nil && !IsNil(o.BigDecimal) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -484,38 +484,38 @@ func (o FormatTest) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o FormatTest) ToMap() (map[string]interface{}, error) {
|
func (o FormatTest) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Integer) {
|
if !IsNil(o.Integer) {
|
||||||
toSerialize["integer"] = o.Integer
|
toSerialize["integer"] = o.Integer
|
||||||
}
|
}
|
||||||
if !isNil(o.Int32) {
|
if !IsNil(o.Int32) {
|
||||||
toSerialize["int32"] = o.Int32
|
toSerialize["int32"] = o.Int32
|
||||||
}
|
}
|
||||||
if !isNil(o.Int64) {
|
if !IsNil(o.Int64) {
|
||||||
toSerialize["int64"] = o.Int64
|
toSerialize["int64"] = o.Int64
|
||||||
}
|
}
|
||||||
toSerialize["number"] = o.Number
|
toSerialize["number"] = o.Number
|
||||||
if !isNil(o.Float) {
|
if !IsNil(o.Float) {
|
||||||
toSerialize["float"] = o.Float
|
toSerialize["float"] = o.Float
|
||||||
}
|
}
|
||||||
if !isNil(o.Double) {
|
if !IsNil(o.Double) {
|
||||||
toSerialize["double"] = o.Double
|
toSerialize["double"] = o.Double
|
||||||
}
|
}
|
||||||
if !isNil(o.String) {
|
if !IsNil(o.String) {
|
||||||
toSerialize["string"] = o.String
|
toSerialize["string"] = o.String
|
||||||
}
|
}
|
||||||
toSerialize["byte"] = o.Byte
|
toSerialize["byte"] = o.Byte
|
||||||
if !isNil(o.Binary) {
|
if !IsNil(o.Binary) {
|
||||||
toSerialize["binary"] = o.Binary
|
toSerialize["binary"] = o.Binary
|
||||||
}
|
}
|
||||||
toSerialize["date"] = o.Date
|
toSerialize["date"] = o.Date
|
||||||
if !isNil(o.DateTime) {
|
if !IsNil(o.DateTime) {
|
||||||
toSerialize["dateTime"] = o.DateTime
|
toSerialize["dateTime"] = o.DateTime
|
||||||
}
|
}
|
||||||
if !isNil(o.Uuid) {
|
if !IsNil(o.Uuid) {
|
||||||
toSerialize["uuid"] = o.Uuid
|
toSerialize["uuid"] = o.Uuid
|
||||||
}
|
}
|
||||||
toSerialize["password"] = o.Password
|
toSerialize["password"] = o.Password
|
||||||
if !isNil(o.BigDecimal) {
|
if !IsNil(o.BigDecimal) {
|
||||||
toSerialize["BigDecimal"] = o.BigDecimal
|
toSerialize["BigDecimal"] = o.BigDecimal
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -42,7 +42,7 @@ func NewHasOnlyReadOnlyWithDefaults() *HasOnlyReadOnly {
|
|||||||
|
|
||||||
// GetBar returns the Bar field value if set, zero value otherwise.
|
// GetBar returns the Bar field value if set, zero value otherwise.
|
||||||
func (o *HasOnlyReadOnly) GetBar() string {
|
func (o *HasOnlyReadOnly) GetBar() string {
|
||||||
if o == nil || isNil(o.Bar) {
|
if o == nil || IsNil(o.Bar) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -52,7 +52,7 @@ func (o *HasOnlyReadOnly) GetBar() string {
|
|||||||
// GetBarOk returns a tuple with the Bar field value if set, nil otherwise
|
// GetBarOk returns a tuple with the Bar field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *HasOnlyReadOnly) GetBarOk() (*string, bool) {
|
func (o *HasOnlyReadOnly) GetBarOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Bar) {
|
if o == nil || IsNil(o.Bar) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Bar, true
|
return o.Bar, true
|
||||||
@ -60,7 +60,7 @@ func (o *HasOnlyReadOnly) GetBarOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBar returns a boolean if a field has been set.
|
// HasBar returns a boolean if a field has been set.
|
||||||
func (o *HasOnlyReadOnly) HasBar() bool {
|
func (o *HasOnlyReadOnly) HasBar() bool {
|
||||||
if o != nil && !isNil(o.Bar) {
|
if o != nil && !IsNil(o.Bar) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ func (o *HasOnlyReadOnly) SetBar(v string) {
|
|||||||
|
|
||||||
// GetFoo returns the Foo field value if set, zero value otherwise.
|
// GetFoo returns the Foo field value if set, zero value otherwise.
|
||||||
func (o *HasOnlyReadOnly) GetFoo() string {
|
func (o *HasOnlyReadOnly) GetFoo() string {
|
||||||
if o == nil || isNil(o.Foo) {
|
if o == nil || IsNil(o.Foo) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -84,7 +84,7 @@ func (o *HasOnlyReadOnly) GetFoo() string {
|
|||||||
// GetFooOk returns a tuple with the Foo field value if set, nil otherwise
|
// GetFooOk returns a tuple with the Foo field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *HasOnlyReadOnly) GetFooOk() (*string, bool) {
|
func (o *HasOnlyReadOnly) GetFooOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Foo) {
|
if o == nil || IsNil(o.Foo) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Foo, true
|
return o.Foo, true
|
||||||
@ -92,7 +92,7 @@ func (o *HasOnlyReadOnly) GetFooOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasFoo returns a boolean if a field has been set.
|
// HasFoo returns a boolean if a field has been set.
|
||||||
func (o *HasOnlyReadOnly) HasFoo() bool {
|
func (o *HasOnlyReadOnly) HasFoo() bool {
|
||||||
if o != nil && !isNil(o.Foo) {
|
if o != nil && !IsNil(o.Foo) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ func NewListWithDefaults() *List {
|
|||||||
|
|
||||||
// GetVar123List returns the Var123List field value if set, zero value otherwise.
|
// GetVar123List returns the Var123List field value if set, zero value otherwise.
|
||||||
func (o *List) GetVar123List() string {
|
func (o *List) GetVar123List() string {
|
||||||
if o == nil || isNil(o.Var123List) {
|
if o == nil || IsNil(o.Var123List) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *List) GetVar123List() string {
|
|||||||
// GetVar123ListOk returns a tuple with the Var123List field value if set, nil otherwise
|
// GetVar123ListOk returns a tuple with the Var123List field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *List) GetVar123ListOk() (*string, bool) {
|
func (o *List) GetVar123ListOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Var123List) {
|
if o == nil || IsNil(o.Var123List) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Var123List, true
|
return o.Var123List, true
|
||||||
@ -59,7 +59,7 @@ func (o *List) GetVar123ListOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasVar123List returns a boolean if a field has been set.
|
// HasVar123List returns a boolean if a field has been set.
|
||||||
func (o *List) HasVar123List() bool {
|
func (o *List) HasVar123List() bool {
|
||||||
if o != nil && !isNil(o.Var123List) {
|
if o != nil && !IsNil(o.Var123List) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o List) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o List) ToMap() (map[string]interface{}, error) {
|
func (o List) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Var123List) {
|
if !IsNil(o.Var123List) {
|
||||||
toSerialize["123-list"] = o.Var123List
|
toSerialize["123-list"] = o.Var123List
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -44,7 +44,7 @@ func NewMapTestWithDefaults() *MapTest {
|
|||||||
|
|
||||||
// GetMapMapOfString returns the MapMapOfString field value if set, zero value otherwise.
|
// GetMapMapOfString returns the MapMapOfString field value if set, zero value otherwise.
|
||||||
func (o *MapTest) GetMapMapOfString() map[string]map[string]string {
|
func (o *MapTest) GetMapMapOfString() map[string]map[string]string {
|
||||||
if o == nil || isNil(o.MapMapOfString) {
|
if o == nil || IsNil(o.MapMapOfString) {
|
||||||
var ret map[string]map[string]string
|
var ret map[string]map[string]string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *MapTest) GetMapMapOfString() map[string]map[string]string {
|
|||||||
// GetMapMapOfStringOk returns a tuple with the MapMapOfString field value if set, nil otherwise
|
// GetMapMapOfStringOk returns a tuple with the MapMapOfString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MapTest) GetMapMapOfStringOk() (*map[string]map[string]string, bool) {
|
func (o *MapTest) GetMapMapOfStringOk() (*map[string]map[string]string, bool) {
|
||||||
if o == nil || isNil(o.MapMapOfString) {
|
if o == nil || IsNil(o.MapMapOfString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapMapOfString, true
|
return o.MapMapOfString, true
|
||||||
@ -62,7 +62,7 @@ func (o *MapTest) GetMapMapOfStringOk() (*map[string]map[string]string, bool) {
|
|||||||
|
|
||||||
// HasMapMapOfString returns a boolean if a field has been set.
|
// HasMapMapOfString returns a boolean if a field has been set.
|
||||||
func (o *MapTest) HasMapMapOfString() bool {
|
func (o *MapTest) HasMapMapOfString() bool {
|
||||||
if o != nil && !isNil(o.MapMapOfString) {
|
if o != nil && !IsNil(o.MapMapOfString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ func (o *MapTest) SetMapMapOfString(v map[string]map[string]string) {
|
|||||||
|
|
||||||
// GetMapOfEnumString returns the MapOfEnumString field value if set, zero value otherwise.
|
// GetMapOfEnumString returns the MapOfEnumString field value if set, zero value otherwise.
|
||||||
func (o *MapTest) GetMapOfEnumString() map[string]string {
|
func (o *MapTest) GetMapOfEnumString() map[string]string {
|
||||||
if o == nil || isNil(o.MapOfEnumString) {
|
if o == nil || IsNil(o.MapOfEnumString) {
|
||||||
var ret map[string]string
|
var ret map[string]string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -86,7 +86,7 @@ func (o *MapTest) GetMapOfEnumString() map[string]string {
|
|||||||
// GetMapOfEnumStringOk returns a tuple with the MapOfEnumString field value if set, nil otherwise
|
// GetMapOfEnumStringOk returns a tuple with the MapOfEnumString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MapTest) GetMapOfEnumStringOk() (*map[string]string, bool) {
|
func (o *MapTest) GetMapOfEnumStringOk() (*map[string]string, bool) {
|
||||||
if o == nil || isNil(o.MapOfEnumString) {
|
if o == nil || IsNil(o.MapOfEnumString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapOfEnumString, true
|
return o.MapOfEnumString, true
|
||||||
@ -94,7 +94,7 @@ func (o *MapTest) GetMapOfEnumStringOk() (*map[string]string, bool) {
|
|||||||
|
|
||||||
// HasMapOfEnumString returns a boolean if a field has been set.
|
// HasMapOfEnumString returns a boolean if a field has been set.
|
||||||
func (o *MapTest) HasMapOfEnumString() bool {
|
func (o *MapTest) HasMapOfEnumString() bool {
|
||||||
if o != nil && !isNil(o.MapOfEnumString) {
|
if o != nil && !IsNil(o.MapOfEnumString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ func (o *MapTest) SetMapOfEnumString(v map[string]string) {
|
|||||||
|
|
||||||
// GetDirectMap returns the DirectMap field value if set, zero value otherwise.
|
// GetDirectMap returns the DirectMap field value if set, zero value otherwise.
|
||||||
func (o *MapTest) GetDirectMap() map[string]bool {
|
func (o *MapTest) GetDirectMap() map[string]bool {
|
||||||
if o == nil || isNil(o.DirectMap) {
|
if o == nil || IsNil(o.DirectMap) {
|
||||||
var ret map[string]bool
|
var ret map[string]bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -118,7 +118,7 @@ func (o *MapTest) GetDirectMap() map[string]bool {
|
|||||||
// GetDirectMapOk returns a tuple with the DirectMap field value if set, nil otherwise
|
// GetDirectMapOk returns a tuple with the DirectMap field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MapTest) GetDirectMapOk() (*map[string]bool, bool) {
|
func (o *MapTest) GetDirectMapOk() (*map[string]bool, bool) {
|
||||||
if o == nil || isNil(o.DirectMap) {
|
if o == nil || IsNil(o.DirectMap) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.DirectMap, true
|
return o.DirectMap, true
|
||||||
@ -126,7 +126,7 @@ func (o *MapTest) GetDirectMapOk() (*map[string]bool, bool) {
|
|||||||
|
|
||||||
// HasDirectMap returns a boolean if a field has been set.
|
// HasDirectMap returns a boolean if a field has been set.
|
||||||
func (o *MapTest) HasDirectMap() bool {
|
func (o *MapTest) HasDirectMap() bool {
|
||||||
if o != nil && !isNil(o.DirectMap) {
|
if o != nil && !IsNil(o.DirectMap) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ func (o *MapTest) SetDirectMap(v map[string]bool) {
|
|||||||
|
|
||||||
// GetIndirectMap returns the IndirectMap field value if set, zero value otherwise.
|
// GetIndirectMap returns the IndirectMap field value if set, zero value otherwise.
|
||||||
func (o *MapTest) GetIndirectMap() map[string]bool {
|
func (o *MapTest) GetIndirectMap() map[string]bool {
|
||||||
if o == nil || isNil(o.IndirectMap) {
|
if o == nil || IsNil(o.IndirectMap) {
|
||||||
var ret map[string]bool
|
var ret map[string]bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -150,7 +150,7 @@ func (o *MapTest) GetIndirectMap() map[string]bool {
|
|||||||
// GetIndirectMapOk returns a tuple with the IndirectMap field value if set, nil otherwise
|
// GetIndirectMapOk returns a tuple with the IndirectMap field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MapTest) GetIndirectMapOk() (*map[string]bool, bool) {
|
func (o *MapTest) GetIndirectMapOk() (*map[string]bool, bool) {
|
||||||
if o == nil || isNil(o.IndirectMap) {
|
if o == nil || IsNil(o.IndirectMap) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.IndirectMap, true
|
return o.IndirectMap, true
|
||||||
@ -158,7 +158,7 @@ func (o *MapTest) GetIndirectMapOk() (*map[string]bool, bool) {
|
|||||||
|
|
||||||
// HasIndirectMap returns a boolean if a field has been set.
|
// HasIndirectMap returns a boolean if a field has been set.
|
||||||
func (o *MapTest) HasIndirectMap() bool {
|
func (o *MapTest) HasIndirectMap() bool {
|
||||||
if o != nil && !isNil(o.IndirectMap) {
|
if o != nil && !IsNil(o.IndirectMap) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,16 +180,16 @@ func (o MapTest) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o MapTest) ToMap() (map[string]interface{}, error) {
|
func (o MapTest) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.MapMapOfString) {
|
if !IsNil(o.MapMapOfString) {
|
||||||
toSerialize["map_map_of_string"] = o.MapMapOfString
|
toSerialize["map_map_of_string"] = o.MapMapOfString
|
||||||
}
|
}
|
||||||
if !isNil(o.MapOfEnumString) {
|
if !IsNil(o.MapOfEnumString) {
|
||||||
toSerialize["map_of_enum_string"] = o.MapOfEnumString
|
toSerialize["map_of_enum_string"] = o.MapOfEnumString
|
||||||
}
|
}
|
||||||
if !isNil(o.DirectMap) {
|
if !IsNil(o.DirectMap) {
|
||||||
toSerialize["direct_map"] = o.DirectMap
|
toSerialize["direct_map"] = o.DirectMap
|
||||||
}
|
}
|
||||||
if !isNil(o.IndirectMap) {
|
if !IsNil(o.IndirectMap) {
|
||||||
toSerialize["indirect_map"] = o.IndirectMap
|
toSerialize["indirect_map"] = o.IndirectMap
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -44,7 +44,7 @@ func NewMixedPropertiesAndAdditionalPropertiesClassWithDefaults() *MixedProperti
|
|||||||
|
|
||||||
// GetUuid returns the Uuid field value if set, zero value otherwise.
|
// GetUuid returns the Uuid field value if set, zero value otherwise.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuid() string {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuid() string {
|
||||||
if o == nil || isNil(o.Uuid) {
|
if o == nil || IsNil(o.Uuid) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuid() string {
|
|||||||
// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise
|
// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuidOk() (*string, bool) {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuidOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Uuid) {
|
if o == nil || IsNil(o.Uuid) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Uuid, true
|
return o.Uuid, true
|
||||||
@ -62,7 +62,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuidOk() (*string, bool
|
|||||||
|
|
||||||
// HasUuid returns a boolean if a field has been set.
|
// HasUuid returns a boolean if a field has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasUuid() bool {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasUuid() bool {
|
||||||
if o != nil && !isNil(o.Uuid) {
|
if o != nil && !IsNil(o.Uuid) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) SetUuid(v string) {
|
|||||||
|
|
||||||
// GetDateTime returns the DateTime field value if set, zero value otherwise.
|
// GetDateTime returns the DateTime field value if set, zero value otherwise.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTime() time.Time {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTime() time.Time {
|
||||||
if o == nil || isNil(o.DateTime) {
|
if o == nil || IsNil(o.DateTime) {
|
||||||
var ret time.Time
|
var ret time.Time
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -86,7 +86,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTime() time.Time {
|
|||||||
// GetDateTimeOk returns a tuple with the DateTime field value if set, nil otherwise
|
// GetDateTimeOk returns a tuple with the DateTime field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTimeOk() (*time.Time, bool) {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTimeOk() (*time.Time, bool) {
|
||||||
if o == nil || isNil(o.DateTime) {
|
if o == nil || IsNil(o.DateTime) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.DateTime, true
|
return o.DateTime, true
|
||||||
@ -94,7 +94,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTimeOk() (*time.Tim
|
|||||||
|
|
||||||
// HasDateTime returns a boolean if a field has been set.
|
// HasDateTime returns a boolean if a field has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasDateTime() bool {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasDateTime() bool {
|
||||||
if o != nil && !isNil(o.DateTime) {
|
if o != nil && !IsNil(o.DateTime) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) SetDateTime(v time.Time) {
|
|||||||
|
|
||||||
// GetMap returns the Map field value if set, zero value otherwise.
|
// GetMap returns the Map field value if set, zero value otherwise.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMap() map[string]Animal {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMap() map[string]Animal {
|
||||||
if o == nil || isNil(o.Map) {
|
if o == nil || IsNil(o.Map) {
|
||||||
var ret map[string]Animal
|
var ret map[string]Animal
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -118,7 +118,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMap() map[string]Animal
|
|||||||
// GetMapOk returns a tuple with the Map field value if set, nil otherwise
|
// GetMapOk returns a tuple with the Map field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMapOk() (*map[string]Animal, bool) {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMapOk() (*map[string]Animal, bool) {
|
||||||
if o == nil || isNil(o.Map) {
|
if o == nil || IsNil(o.Map) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Map, true
|
return o.Map, true
|
||||||
@ -126,7 +126,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMapOk() (*map[string]An
|
|||||||
|
|
||||||
// HasMap returns a boolean if a field has been set.
|
// HasMap returns a boolean if a field has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasMap() bool {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasMap() bool {
|
||||||
if o != nil && !isNil(o.Map) {
|
if o != nil && !IsNil(o.Map) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,13 +148,13 @@ func (o MixedPropertiesAndAdditionalPropertiesClass) MarshalJSON() ([]byte, erro
|
|||||||
|
|
||||||
func (o MixedPropertiesAndAdditionalPropertiesClass) ToMap() (map[string]interface{}, error) {
|
func (o MixedPropertiesAndAdditionalPropertiesClass) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Uuid) {
|
if !IsNil(o.Uuid) {
|
||||||
toSerialize["uuid"] = o.Uuid
|
toSerialize["uuid"] = o.Uuid
|
||||||
}
|
}
|
||||||
if !isNil(o.DateTime) {
|
if !IsNil(o.DateTime) {
|
||||||
toSerialize["dateTime"] = o.DateTime
|
toSerialize["dateTime"] = o.DateTime
|
||||||
}
|
}
|
||||||
if !isNil(o.Map) {
|
if !IsNil(o.Map) {
|
||||||
toSerialize["map"] = o.Map
|
toSerialize["map"] = o.Map
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -69,7 +69,7 @@ func (o *Name) SetName(v int32) {
|
|||||||
|
|
||||||
// GetSnakeCase returns the SnakeCase field value if set, zero value otherwise.
|
// GetSnakeCase returns the SnakeCase field value if set, zero value otherwise.
|
||||||
func (o *Name) GetSnakeCase() int32 {
|
func (o *Name) GetSnakeCase() int32 {
|
||||||
if o == nil || isNil(o.SnakeCase) {
|
if o == nil || IsNil(o.SnakeCase) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -79,7 +79,7 @@ func (o *Name) GetSnakeCase() int32 {
|
|||||||
// GetSnakeCaseOk returns a tuple with the SnakeCase field value if set, nil otherwise
|
// GetSnakeCaseOk returns a tuple with the SnakeCase field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Name) GetSnakeCaseOk() (*int32, bool) {
|
func (o *Name) GetSnakeCaseOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.SnakeCase) {
|
if o == nil || IsNil(o.SnakeCase) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SnakeCase, true
|
return o.SnakeCase, true
|
||||||
@ -87,7 +87,7 @@ func (o *Name) GetSnakeCaseOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasSnakeCase returns a boolean if a field has been set.
|
// HasSnakeCase returns a boolean if a field has been set.
|
||||||
func (o *Name) HasSnakeCase() bool {
|
func (o *Name) HasSnakeCase() bool {
|
||||||
if o != nil && !isNil(o.SnakeCase) {
|
if o != nil && !IsNil(o.SnakeCase) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ func (o *Name) SetSnakeCase(v int32) {
|
|||||||
|
|
||||||
// GetProperty returns the Property field value if set, zero value otherwise.
|
// GetProperty returns the Property field value if set, zero value otherwise.
|
||||||
func (o *Name) GetProperty() string {
|
func (o *Name) GetProperty() string {
|
||||||
if o == nil || isNil(o.Property) {
|
if o == nil || IsNil(o.Property) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -111,7 +111,7 @@ func (o *Name) GetProperty() string {
|
|||||||
// GetPropertyOk returns a tuple with the Property field value if set, nil otherwise
|
// GetPropertyOk returns a tuple with the Property field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Name) GetPropertyOk() (*string, bool) {
|
func (o *Name) GetPropertyOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Property) {
|
if o == nil || IsNil(o.Property) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Property, true
|
return o.Property, true
|
||||||
@ -119,7 +119,7 @@ func (o *Name) GetPropertyOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasProperty returns a boolean if a field has been set.
|
// HasProperty returns a boolean if a field has been set.
|
||||||
func (o *Name) HasProperty() bool {
|
func (o *Name) HasProperty() bool {
|
||||||
if o != nil && !isNil(o.Property) {
|
if o != nil && !IsNil(o.Property) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ func (o *Name) SetProperty(v string) {
|
|||||||
|
|
||||||
// GetVar123Number returns the Var123Number field value if set, zero value otherwise.
|
// GetVar123Number returns the Var123Number field value if set, zero value otherwise.
|
||||||
func (o *Name) GetVar123Number() int32 {
|
func (o *Name) GetVar123Number() int32 {
|
||||||
if o == nil || isNil(o.Var123Number) {
|
if o == nil || IsNil(o.Var123Number) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -143,7 +143,7 @@ func (o *Name) GetVar123Number() int32 {
|
|||||||
// GetVar123NumberOk returns a tuple with the Var123Number field value if set, nil otherwise
|
// GetVar123NumberOk returns a tuple with the Var123Number field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Name) GetVar123NumberOk() (*int32, bool) {
|
func (o *Name) GetVar123NumberOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Var123Number) {
|
if o == nil || IsNil(o.Var123Number) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Var123Number, true
|
return o.Var123Number, true
|
||||||
@ -151,7 +151,7 @@ func (o *Name) GetVar123NumberOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasVar123Number returns a boolean if a field has been set.
|
// HasVar123Number returns a boolean if a field has been set.
|
||||||
func (o *Name) HasVar123Number() bool {
|
func (o *Name) HasVar123Number() bool {
|
||||||
if o != nil && !isNil(o.Var123Number) {
|
if o != nil && !IsNil(o.Var123Number) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,7 +175,7 @@ func (o Name) ToMap() (map[string]interface{}, error) {
|
|||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
// skip: snake_case is readOnly
|
// skip: snake_case is readOnly
|
||||||
if !isNil(o.Property) {
|
if !IsNil(o.Property) {
|
||||||
toSerialize["property"] = o.Property
|
toSerialize["property"] = o.Property
|
||||||
}
|
}
|
||||||
// skip: 123Number is readOnly
|
// skip: 123Number is readOnly
|
||||||
|
@ -41,7 +41,7 @@ func NewNumberOnlyWithDefaults() *NumberOnly {
|
|||||||
|
|
||||||
// GetJustNumber returns the JustNumber field value if set, zero value otherwise.
|
// GetJustNumber returns the JustNumber field value if set, zero value otherwise.
|
||||||
func (o *NumberOnly) GetJustNumber() float32 {
|
func (o *NumberOnly) GetJustNumber() float32 {
|
||||||
if o == nil || isNil(o.JustNumber) {
|
if o == nil || IsNil(o.JustNumber) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *NumberOnly) GetJustNumber() float32 {
|
|||||||
// GetJustNumberOk returns a tuple with the JustNumber field value if set, nil otherwise
|
// GetJustNumberOk returns a tuple with the JustNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *NumberOnly) GetJustNumberOk() (*float32, bool) {
|
func (o *NumberOnly) GetJustNumberOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.JustNumber) {
|
if o == nil || IsNil(o.JustNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.JustNumber, true
|
return o.JustNumber, true
|
||||||
@ -59,7 +59,7 @@ func (o *NumberOnly) GetJustNumberOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasJustNumber returns a boolean if a field has been set.
|
// HasJustNumber returns a boolean if a field has been set.
|
||||||
func (o *NumberOnly) HasJustNumber() bool {
|
func (o *NumberOnly) HasJustNumber() bool {
|
||||||
if o != nil && !isNil(o.JustNumber) {
|
if o != nil && !IsNil(o.JustNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o NumberOnly) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o NumberOnly) ToMap() (map[string]interface{}, error) {
|
func (o NumberOnly) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.JustNumber) {
|
if !IsNil(o.JustNumber) {
|
||||||
toSerialize["JustNumber"] = o.JustNumber
|
toSerialize["JustNumber"] = o.JustNumber
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -52,7 +52,7 @@ func NewOrderWithDefaults() *Order {
|
|||||||
|
|
||||||
// GetId returns the Id field value if set, zero value otherwise.
|
// GetId returns the Id field value if set, zero value otherwise.
|
||||||
func (o *Order) GetId() int64 {
|
func (o *Order) GetId() int64 {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -62,7 +62,7 @@ func (o *Order) GetId() int64 {
|
|||||||
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetIdOk() (*int64, bool) {
|
func (o *Order) GetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Id, true
|
return o.Id, true
|
||||||
@ -70,7 +70,7 @@ func (o *Order) GetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasId returns a boolean if a field has been set.
|
// HasId returns a boolean if a field has been set.
|
||||||
func (o *Order) HasId() bool {
|
func (o *Order) HasId() bool {
|
||||||
if o != nil && !isNil(o.Id) {
|
if o != nil && !IsNil(o.Id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o *Order) SetId(v int64) {
|
|||||||
|
|
||||||
// GetPetId returns the PetId field value if set, zero value otherwise.
|
// GetPetId returns the PetId field value if set, zero value otherwise.
|
||||||
func (o *Order) GetPetId() int64 {
|
func (o *Order) GetPetId() int64 {
|
||||||
if o == nil || isNil(o.PetId) {
|
if o == nil || IsNil(o.PetId) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -94,7 +94,7 @@ func (o *Order) GetPetId() int64 {
|
|||||||
// GetPetIdOk returns a tuple with the PetId field value if set, nil otherwise
|
// GetPetIdOk returns a tuple with the PetId field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetPetIdOk() (*int64, bool) {
|
func (o *Order) GetPetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.PetId) {
|
if o == nil || IsNil(o.PetId) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PetId, true
|
return o.PetId, true
|
||||||
@ -102,7 +102,7 @@ func (o *Order) GetPetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasPetId returns a boolean if a field has been set.
|
// HasPetId returns a boolean if a field has been set.
|
||||||
func (o *Order) HasPetId() bool {
|
func (o *Order) HasPetId() bool {
|
||||||
if o != nil && !isNil(o.PetId) {
|
if o != nil && !IsNil(o.PetId) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ func (o *Order) SetPetId(v int64) {
|
|||||||
|
|
||||||
// GetQuantity returns the Quantity field value if set, zero value otherwise.
|
// GetQuantity returns the Quantity field value if set, zero value otherwise.
|
||||||
func (o *Order) GetQuantity() int32 {
|
func (o *Order) GetQuantity() int32 {
|
||||||
if o == nil || isNil(o.Quantity) {
|
if o == nil || IsNil(o.Quantity) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -126,7 +126,7 @@ func (o *Order) GetQuantity() int32 {
|
|||||||
// GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise
|
// GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetQuantityOk() (*int32, bool) {
|
func (o *Order) GetQuantityOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Quantity) {
|
if o == nil || IsNil(o.Quantity) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Quantity, true
|
return o.Quantity, true
|
||||||
@ -134,7 +134,7 @@ func (o *Order) GetQuantityOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasQuantity returns a boolean if a field has been set.
|
// HasQuantity returns a boolean if a field has been set.
|
||||||
func (o *Order) HasQuantity() bool {
|
func (o *Order) HasQuantity() bool {
|
||||||
if o != nil && !isNil(o.Quantity) {
|
if o != nil && !IsNil(o.Quantity) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ func (o *Order) SetQuantity(v int32) {
|
|||||||
|
|
||||||
// GetShipDate returns the ShipDate field value if set, zero value otherwise.
|
// GetShipDate returns the ShipDate field value if set, zero value otherwise.
|
||||||
func (o *Order) GetShipDate() time.Time {
|
func (o *Order) GetShipDate() time.Time {
|
||||||
if o == nil || isNil(o.ShipDate) {
|
if o == nil || IsNil(o.ShipDate) {
|
||||||
var ret time.Time
|
var ret time.Time
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -158,7 +158,7 @@ func (o *Order) GetShipDate() time.Time {
|
|||||||
// GetShipDateOk returns a tuple with the ShipDate field value if set, nil otherwise
|
// GetShipDateOk returns a tuple with the ShipDate field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetShipDateOk() (*time.Time, bool) {
|
func (o *Order) GetShipDateOk() (*time.Time, bool) {
|
||||||
if o == nil || isNil(o.ShipDate) {
|
if o == nil || IsNil(o.ShipDate) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ShipDate, true
|
return o.ShipDate, true
|
||||||
@ -166,7 +166,7 @@ func (o *Order) GetShipDateOk() (*time.Time, bool) {
|
|||||||
|
|
||||||
// HasShipDate returns a boolean if a field has been set.
|
// HasShipDate returns a boolean if a field has been set.
|
||||||
func (o *Order) HasShipDate() bool {
|
func (o *Order) HasShipDate() bool {
|
||||||
if o != nil && !isNil(o.ShipDate) {
|
if o != nil && !IsNil(o.ShipDate) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ func (o *Order) SetShipDate(v time.Time) {
|
|||||||
|
|
||||||
// GetStatus returns the Status field value if set, zero value otherwise.
|
// GetStatus returns the Status field value if set, zero value otherwise.
|
||||||
func (o *Order) GetStatus() string {
|
func (o *Order) GetStatus() string {
|
||||||
if o == nil || isNil(o.Status) {
|
if o == nil || IsNil(o.Status) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -190,7 +190,7 @@ func (o *Order) GetStatus() string {
|
|||||||
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
|
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetStatusOk() (*string, bool) {
|
func (o *Order) GetStatusOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Status) {
|
if o == nil || IsNil(o.Status) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Status, true
|
return o.Status, true
|
||||||
@ -198,7 +198,7 @@ func (o *Order) GetStatusOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasStatus returns a boolean if a field has been set.
|
// HasStatus returns a boolean if a field has been set.
|
||||||
func (o *Order) HasStatus() bool {
|
func (o *Order) HasStatus() bool {
|
||||||
if o != nil && !isNil(o.Status) {
|
if o != nil && !IsNil(o.Status) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ func (o *Order) SetStatus(v string) {
|
|||||||
|
|
||||||
// GetComplete returns the Complete field value if set, zero value otherwise.
|
// GetComplete returns the Complete field value if set, zero value otherwise.
|
||||||
func (o *Order) GetComplete() bool {
|
func (o *Order) GetComplete() bool {
|
||||||
if o == nil || isNil(o.Complete) {
|
if o == nil || IsNil(o.Complete) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -222,7 +222,7 @@ func (o *Order) GetComplete() bool {
|
|||||||
// GetCompleteOk returns a tuple with the Complete field value if set, nil otherwise
|
// GetCompleteOk returns a tuple with the Complete field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetCompleteOk() (*bool, bool) {
|
func (o *Order) GetCompleteOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.Complete) {
|
if o == nil || IsNil(o.Complete) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Complete, true
|
return o.Complete, true
|
||||||
@ -230,7 +230,7 @@ func (o *Order) GetCompleteOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasComplete returns a boolean if a field has been set.
|
// HasComplete returns a boolean if a field has been set.
|
||||||
func (o *Order) HasComplete() bool {
|
func (o *Order) HasComplete() bool {
|
||||||
if o != nil && !isNil(o.Complete) {
|
if o != nil && !IsNil(o.Complete) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -252,22 +252,22 @@ func (o Order) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Order) ToMap() (map[string]interface{}, error) {
|
func (o Order) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Id) {
|
if !IsNil(o.Id) {
|
||||||
toSerialize["id"] = o.Id
|
toSerialize["id"] = o.Id
|
||||||
}
|
}
|
||||||
if !isNil(o.PetId) {
|
if !IsNil(o.PetId) {
|
||||||
toSerialize["petId"] = o.PetId
|
toSerialize["petId"] = o.PetId
|
||||||
}
|
}
|
||||||
if !isNil(o.Quantity) {
|
if !IsNil(o.Quantity) {
|
||||||
toSerialize["quantity"] = o.Quantity
|
toSerialize["quantity"] = o.Quantity
|
||||||
}
|
}
|
||||||
if !isNil(o.ShipDate) {
|
if !IsNil(o.ShipDate) {
|
||||||
toSerialize["shipDate"] = o.ShipDate
|
toSerialize["shipDate"] = o.ShipDate
|
||||||
}
|
}
|
||||||
if !isNil(o.Status) {
|
if !IsNil(o.Status) {
|
||||||
toSerialize["status"] = o.Status
|
toSerialize["status"] = o.Status
|
||||||
}
|
}
|
||||||
if !isNil(o.Complete) {
|
if !IsNil(o.Complete) {
|
||||||
toSerialize["complete"] = o.Complete
|
toSerialize["complete"] = o.Complete
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -43,7 +43,7 @@ func NewOuterCompositeWithDefaults() *OuterComposite {
|
|||||||
|
|
||||||
// GetMyNumber returns the MyNumber field value if set, zero value otherwise.
|
// GetMyNumber returns the MyNumber field value if set, zero value otherwise.
|
||||||
func (o *OuterComposite) GetMyNumber() float32 {
|
func (o *OuterComposite) GetMyNumber() float32 {
|
||||||
if o == nil || isNil(o.MyNumber) {
|
if o == nil || IsNil(o.MyNumber) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@ func (o *OuterComposite) GetMyNumber() float32 {
|
|||||||
// GetMyNumberOk returns a tuple with the MyNumber field value if set, nil otherwise
|
// GetMyNumberOk returns a tuple with the MyNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *OuterComposite) GetMyNumberOk() (*float32, bool) {
|
func (o *OuterComposite) GetMyNumberOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.MyNumber) {
|
if o == nil || IsNil(o.MyNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MyNumber, true
|
return o.MyNumber, true
|
||||||
@ -61,7 +61,7 @@ func (o *OuterComposite) GetMyNumberOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasMyNumber returns a boolean if a field has been set.
|
// HasMyNumber returns a boolean if a field has been set.
|
||||||
func (o *OuterComposite) HasMyNumber() bool {
|
func (o *OuterComposite) HasMyNumber() bool {
|
||||||
if o != nil && !isNil(o.MyNumber) {
|
if o != nil && !IsNil(o.MyNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ func (o *OuterComposite) SetMyNumber(v float32) {
|
|||||||
|
|
||||||
// GetMyString returns the MyString field value if set, zero value otherwise.
|
// GetMyString returns the MyString field value if set, zero value otherwise.
|
||||||
func (o *OuterComposite) GetMyString() string {
|
func (o *OuterComposite) GetMyString() string {
|
||||||
if o == nil || isNil(o.MyString) {
|
if o == nil || IsNil(o.MyString) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -85,7 +85,7 @@ func (o *OuterComposite) GetMyString() string {
|
|||||||
// GetMyStringOk returns a tuple with the MyString field value if set, nil otherwise
|
// GetMyStringOk returns a tuple with the MyString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *OuterComposite) GetMyStringOk() (*string, bool) {
|
func (o *OuterComposite) GetMyStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.MyString) {
|
if o == nil || IsNil(o.MyString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MyString, true
|
return o.MyString, true
|
||||||
@ -93,7 +93,7 @@ func (o *OuterComposite) GetMyStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasMyString returns a boolean if a field has been set.
|
// HasMyString returns a boolean if a field has been set.
|
||||||
func (o *OuterComposite) HasMyString() bool {
|
func (o *OuterComposite) HasMyString() bool {
|
||||||
if o != nil && !isNil(o.MyString) {
|
if o != nil && !IsNil(o.MyString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -107,7 +107,7 @@ func (o *OuterComposite) SetMyString(v string) {
|
|||||||
|
|
||||||
// GetMyBoolean returns the MyBoolean field value if set, zero value otherwise.
|
// GetMyBoolean returns the MyBoolean field value if set, zero value otherwise.
|
||||||
func (o *OuterComposite) GetMyBoolean() bool {
|
func (o *OuterComposite) GetMyBoolean() bool {
|
||||||
if o == nil || isNil(o.MyBoolean) {
|
if o == nil || IsNil(o.MyBoolean) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -117,7 +117,7 @@ func (o *OuterComposite) GetMyBoolean() bool {
|
|||||||
// GetMyBooleanOk returns a tuple with the MyBoolean field value if set, nil otherwise
|
// GetMyBooleanOk returns a tuple with the MyBoolean field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *OuterComposite) GetMyBooleanOk() (*bool, bool) {
|
func (o *OuterComposite) GetMyBooleanOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.MyBoolean) {
|
if o == nil || IsNil(o.MyBoolean) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MyBoolean, true
|
return o.MyBoolean, true
|
||||||
@ -125,7 +125,7 @@ func (o *OuterComposite) GetMyBooleanOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasMyBoolean returns a boolean if a field has been set.
|
// HasMyBoolean returns a boolean if a field has been set.
|
||||||
func (o *OuterComposite) HasMyBoolean() bool {
|
func (o *OuterComposite) HasMyBoolean() bool {
|
||||||
if o != nil && !isNil(o.MyBoolean) {
|
if o != nil && !IsNil(o.MyBoolean) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -147,13 +147,13 @@ func (o OuterComposite) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o OuterComposite) ToMap() (map[string]interface{}, error) {
|
func (o OuterComposite) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.MyNumber) {
|
if !IsNil(o.MyNumber) {
|
||||||
toSerialize["my_number"] = o.MyNumber
|
toSerialize["my_number"] = o.MyNumber
|
||||||
}
|
}
|
||||||
if !isNil(o.MyString) {
|
if !IsNil(o.MyString) {
|
||||||
toSerialize["my_string"] = o.MyString
|
toSerialize["my_string"] = o.MyString
|
||||||
}
|
}
|
||||||
if !isNil(o.MyBoolean) {
|
if !IsNil(o.MyBoolean) {
|
||||||
toSerialize["my_boolean"] = o.MyBoolean
|
toSerialize["my_boolean"] = o.MyBoolean
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -49,7 +49,7 @@ func NewPetWithDefaults() *Pet {
|
|||||||
|
|
||||||
// GetId returns the Id field value if set, zero value otherwise.
|
// GetId returns the Id field value if set, zero value otherwise.
|
||||||
func (o *Pet) GetId() int64 {
|
func (o *Pet) GetId() int64 {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -59,7 +59,7 @@ func (o *Pet) GetId() int64 {
|
|||||||
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Pet) GetIdOk() (*int64, bool) {
|
func (o *Pet) GetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Id, true
|
return o.Id, true
|
||||||
@ -67,7 +67,7 @@ func (o *Pet) GetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasId returns a boolean if a field has been set.
|
// HasId returns a boolean if a field has been set.
|
||||||
func (o *Pet) HasId() bool {
|
func (o *Pet) HasId() bool {
|
||||||
if o != nil && !isNil(o.Id) {
|
if o != nil && !IsNil(o.Id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o *Pet) SetId(v int64) {
|
|||||||
|
|
||||||
// GetCategory returns the Category field value if set, zero value otherwise.
|
// GetCategory returns the Category field value if set, zero value otherwise.
|
||||||
func (o *Pet) GetCategory() Category {
|
func (o *Pet) GetCategory() Category {
|
||||||
if o == nil || isNil(o.Category) {
|
if o == nil || IsNil(o.Category) {
|
||||||
var ret Category
|
var ret Category
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -91,7 +91,7 @@ func (o *Pet) GetCategory() Category {
|
|||||||
// GetCategoryOk returns a tuple with the Category field value if set, nil otherwise
|
// GetCategoryOk returns a tuple with the Category field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Pet) GetCategoryOk() (*Category, bool) {
|
func (o *Pet) GetCategoryOk() (*Category, bool) {
|
||||||
if o == nil || isNil(o.Category) {
|
if o == nil || IsNil(o.Category) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Category, true
|
return o.Category, true
|
||||||
@ -99,7 +99,7 @@ func (o *Pet) GetCategoryOk() (*Category, bool) {
|
|||||||
|
|
||||||
// HasCategory returns a boolean if a field has been set.
|
// HasCategory returns a boolean if a field has been set.
|
||||||
func (o *Pet) HasCategory() bool {
|
func (o *Pet) HasCategory() bool {
|
||||||
if o != nil && !isNil(o.Category) {
|
if o != nil && !IsNil(o.Category) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ func (o *Pet) SetPhotoUrls(v []string) {
|
|||||||
|
|
||||||
// GetTags returns the Tags field value if set, zero value otherwise.
|
// GetTags returns the Tags field value if set, zero value otherwise.
|
||||||
func (o *Pet) GetTags() []Tag {
|
func (o *Pet) GetTags() []Tag {
|
||||||
if o == nil || isNil(o.Tags) {
|
if o == nil || IsNil(o.Tags) {
|
||||||
var ret []Tag
|
var ret []Tag
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -171,7 +171,7 @@ func (o *Pet) GetTags() []Tag {
|
|||||||
// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise
|
// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Pet) GetTagsOk() ([]Tag, bool) {
|
func (o *Pet) GetTagsOk() ([]Tag, bool) {
|
||||||
if o == nil || isNil(o.Tags) {
|
if o == nil || IsNil(o.Tags) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Tags, true
|
return o.Tags, true
|
||||||
@ -179,7 +179,7 @@ func (o *Pet) GetTagsOk() ([]Tag, bool) {
|
|||||||
|
|
||||||
// HasTags returns a boolean if a field has been set.
|
// HasTags returns a boolean if a field has been set.
|
||||||
func (o *Pet) HasTags() bool {
|
func (o *Pet) HasTags() bool {
|
||||||
if o != nil && !isNil(o.Tags) {
|
if o != nil && !IsNil(o.Tags) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -193,7 +193,7 @@ func (o *Pet) SetTags(v []Tag) {
|
|||||||
|
|
||||||
// GetStatus returns the Status field value if set, zero value otherwise.
|
// GetStatus returns the Status field value if set, zero value otherwise.
|
||||||
func (o *Pet) GetStatus() string {
|
func (o *Pet) GetStatus() string {
|
||||||
if o == nil || isNil(o.Status) {
|
if o == nil || IsNil(o.Status) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -203,7 +203,7 @@ func (o *Pet) GetStatus() string {
|
|||||||
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
|
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Pet) GetStatusOk() (*string, bool) {
|
func (o *Pet) GetStatusOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Status) {
|
if o == nil || IsNil(o.Status) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Status, true
|
return o.Status, true
|
||||||
@ -211,7 +211,7 @@ func (o *Pet) GetStatusOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasStatus returns a boolean if a field has been set.
|
// HasStatus returns a boolean if a field has been set.
|
||||||
func (o *Pet) HasStatus() bool {
|
func (o *Pet) HasStatus() bool {
|
||||||
if o != nil && !isNil(o.Status) {
|
if o != nil && !IsNil(o.Status) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -233,18 +233,18 @@ func (o Pet) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Pet) ToMap() (map[string]interface{}, error) {
|
func (o Pet) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Id) {
|
if !IsNil(o.Id) {
|
||||||
toSerialize["id"] = o.Id
|
toSerialize["id"] = o.Id
|
||||||
}
|
}
|
||||||
if !isNil(o.Category) {
|
if !IsNil(o.Category) {
|
||||||
toSerialize["category"] = o.Category
|
toSerialize["category"] = o.Category
|
||||||
}
|
}
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
toSerialize["photoUrls"] = o.PhotoUrls
|
toSerialize["photoUrls"] = o.PhotoUrls
|
||||||
if !isNil(o.Tags) {
|
if !IsNil(o.Tags) {
|
||||||
toSerialize["tags"] = o.Tags
|
toSerialize["tags"] = o.Tags
|
||||||
}
|
}
|
||||||
if !isNil(o.Status) {
|
if !IsNil(o.Status) {
|
||||||
toSerialize["status"] = o.Status
|
toSerialize["status"] = o.Status
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -42,7 +42,7 @@ func NewReadOnlyFirstWithDefaults() *ReadOnlyFirst {
|
|||||||
|
|
||||||
// GetBar returns the Bar field value if set, zero value otherwise.
|
// GetBar returns the Bar field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyFirst) GetBar() string {
|
func (o *ReadOnlyFirst) GetBar() string {
|
||||||
if o == nil || isNil(o.Bar) {
|
if o == nil || IsNil(o.Bar) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -52,7 +52,7 @@ func (o *ReadOnlyFirst) GetBar() string {
|
|||||||
// GetBarOk returns a tuple with the Bar field value if set, nil otherwise
|
// GetBarOk returns a tuple with the Bar field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyFirst) GetBarOk() (*string, bool) {
|
func (o *ReadOnlyFirst) GetBarOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Bar) {
|
if o == nil || IsNil(o.Bar) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Bar, true
|
return o.Bar, true
|
||||||
@ -60,7 +60,7 @@ func (o *ReadOnlyFirst) GetBarOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBar returns a boolean if a field has been set.
|
// HasBar returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyFirst) HasBar() bool {
|
func (o *ReadOnlyFirst) HasBar() bool {
|
||||||
if o != nil && !isNil(o.Bar) {
|
if o != nil && !IsNil(o.Bar) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ func (o *ReadOnlyFirst) SetBar(v string) {
|
|||||||
|
|
||||||
// GetBaz returns the Baz field value if set, zero value otherwise.
|
// GetBaz returns the Baz field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyFirst) GetBaz() string {
|
func (o *ReadOnlyFirst) GetBaz() string {
|
||||||
if o == nil || isNil(o.Baz) {
|
if o == nil || IsNil(o.Baz) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -84,7 +84,7 @@ func (o *ReadOnlyFirst) GetBaz() string {
|
|||||||
// GetBazOk returns a tuple with the Baz field value if set, nil otherwise
|
// GetBazOk returns a tuple with the Baz field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyFirst) GetBazOk() (*string, bool) {
|
func (o *ReadOnlyFirst) GetBazOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Baz) {
|
if o == nil || IsNil(o.Baz) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Baz, true
|
return o.Baz, true
|
||||||
@ -92,7 +92,7 @@ func (o *ReadOnlyFirst) GetBazOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBaz returns a boolean if a field has been set.
|
// HasBaz returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyFirst) HasBaz() bool {
|
func (o *ReadOnlyFirst) HasBaz() bool {
|
||||||
if o != nil && !isNil(o.Baz) {
|
if o != nil && !IsNil(o.Baz) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ func (o ReadOnlyFirst) MarshalJSON() ([]byte, error) {
|
|||||||
func (o ReadOnlyFirst) ToMap() (map[string]interface{}, error) {
|
func (o ReadOnlyFirst) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
// skip: bar is readOnly
|
// skip: bar is readOnly
|
||||||
if !isNil(o.Baz) {
|
if !IsNil(o.Baz) {
|
||||||
toSerialize["baz"] = o.Baz
|
toSerialize["baz"] = o.Baz
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewReturnWithDefaults() *Return {
|
|||||||
|
|
||||||
// GetReturn returns the Return field value if set, zero value otherwise.
|
// GetReturn returns the Return field value if set, zero value otherwise.
|
||||||
func (o *Return) GetReturn() int32 {
|
func (o *Return) GetReturn() int32 {
|
||||||
if o == nil || isNil(o.Return) {
|
if o == nil || IsNil(o.Return) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *Return) GetReturn() int32 {
|
|||||||
// GetReturnOk returns a tuple with the Return field value if set, nil otherwise
|
// GetReturnOk returns a tuple with the Return field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Return) GetReturnOk() (*int32, bool) {
|
func (o *Return) GetReturnOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Return) {
|
if o == nil || IsNil(o.Return) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Return, true
|
return o.Return, true
|
||||||
@ -59,7 +59,7 @@ func (o *Return) GetReturnOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasReturn returns a boolean if a field has been set.
|
// HasReturn returns a boolean if a field has been set.
|
||||||
func (o *Return) HasReturn() bool {
|
func (o *Return) HasReturn() bool {
|
||||||
if o != nil && !isNil(o.Return) {
|
if o != nil && !IsNil(o.Return) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o Return) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Return) ToMap() (map[string]interface{}, error) {
|
func (o Return) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Return) {
|
if !IsNil(o.Return) {
|
||||||
toSerialize["return"] = o.Return
|
toSerialize["return"] = o.Return
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -41,7 +41,7 @@ func NewSpecialModelNameWithDefaults() *SpecialModelName {
|
|||||||
|
|
||||||
// GetSpecialPropertyName returns the SpecialPropertyName field value if set, zero value otherwise.
|
// GetSpecialPropertyName returns the SpecialPropertyName field value if set, zero value otherwise.
|
||||||
func (o *SpecialModelName) GetSpecialPropertyName() int64 {
|
func (o *SpecialModelName) GetSpecialPropertyName() int64 {
|
||||||
if o == nil || isNil(o.SpecialPropertyName) {
|
if o == nil || IsNil(o.SpecialPropertyName) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ func (o *SpecialModelName) GetSpecialPropertyName() int64 {
|
|||||||
// GetSpecialPropertyNameOk returns a tuple with the SpecialPropertyName field value if set, nil otherwise
|
// GetSpecialPropertyNameOk returns a tuple with the SpecialPropertyName field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *SpecialModelName) GetSpecialPropertyNameOk() (*int64, bool) {
|
func (o *SpecialModelName) GetSpecialPropertyNameOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.SpecialPropertyName) {
|
if o == nil || IsNil(o.SpecialPropertyName) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SpecialPropertyName, true
|
return o.SpecialPropertyName, true
|
||||||
@ -59,7 +59,7 @@ func (o *SpecialModelName) GetSpecialPropertyNameOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasSpecialPropertyName returns a boolean if a field has been set.
|
// HasSpecialPropertyName returns a boolean if a field has been set.
|
||||||
func (o *SpecialModelName) HasSpecialPropertyName() bool {
|
func (o *SpecialModelName) HasSpecialPropertyName() bool {
|
||||||
if o != nil && !isNil(o.SpecialPropertyName) {
|
if o != nil && !IsNil(o.SpecialPropertyName) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o SpecialModelName) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o SpecialModelName) ToMap() (map[string]interface{}, error) {
|
func (o SpecialModelName) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.SpecialPropertyName) {
|
if !IsNil(o.SpecialPropertyName) {
|
||||||
toSerialize["$special[property.name]"] = o.SpecialPropertyName
|
toSerialize["$special[property.name]"] = o.SpecialPropertyName
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -42,7 +42,7 @@ func NewTagWithDefaults() *Tag {
|
|||||||
|
|
||||||
// GetId returns the Id field value if set, zero value otherwise.
|
// GetId returns the Id field value if set, zero value otherwise.
|
||||||
func (o *Tag) GetId() int64 {
|
func (o *Tag) GetId() int64 {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -52,7 +52,7 @@ func (o *Tag) GetId() int64 {
|
|||||||
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Tag) GetIdOk() (*int64, bool) {
|
func (o *Tag) GetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Id, true
|
return o.Id, true
|
||||||
@ -60,7 +60,7 @@ func (o *Tag) GetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasId returns a boolean if a field has been set.
|
// HasId returns a boolean if a field has been set.
|
||||||
func (o *Tag) HasId() bool {
|
func (o *Tag) HasId() bool {
|
||||||
if o != nil && !isNil(o.Id) {
|
if o != nil && !IsNil(o.Id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ func (o *Tag) SetId(v int64) {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *Tag) GetName() string {
|
func (o *Tag) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -84,7 +84,7 @@ func (o *Tag) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Tag) GetNameOk() (*string, bool) {
|
func (o *Tag) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -92,7 +92,7 @@ func (o *Tag) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *Tag) HasName() bool {
|
func (o *Tag) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,10 +114,10 @@ func (o Tag) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Tag) ToMap() (map[string]interface{}, error) {
|
func (o Tag) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Id) {
|
if !IsNil(o.Id) {
|
||||||
toSerialize["id"] = o.Id
|
toSerialize["id"] = o.Id
|
||||||
}
|
}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -49,7 +49,7 @@ func NewUserWithDefaults() *User {
|
|||||||
|
|
||||||
// GetId returns the Id field value if set, zero value otherwise.
|
// GetId returns the Id field value if set, zero value otherwise.
|
||||||
func (o *User) GetId() int64 {
|
func (o *User) GetId() int64 {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -59,7 +59,7 @@ func (o *User) GetId() int64 {
|
|||||||
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetIdOk() (*int64, bool) {
|
func (o *User) GetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Id, true
|
return o.Id, true
|
||||||
@ -67,7 +67,7 @@ func (o *User) GetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasId returns a boolean if a field has been set.
|
// HasId returns a boolean if a field has been set.
|
||||||
func (o *User) HasId() bool {
|
func (o *User) HasId() bool {
|
||||||
if o != nil && !isNil(o.Id) {
|
if o != nil && !IsNil(o.Id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ func (o *User) SetId(v int64) {
|
|||||||
|
|
||||||
// GetUsername returns the Username field value if set, zero value otherwise.
|
// GetUsername returns the Username field value if set, zero value otherwise.
|
||||||
func (o *User) GetUsername() string {
|
func (o *User) GetUsername() string {
|
||||||
if o == nil || isNil(o.Username) {
|
if o == nil || IsNil(o.Username) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -91,7 +91,7 @@ func (o *User) GetUsername() string {
|
|||||||
// GetUsernameOk returns a tuple with the Username field value if set, nil otherwise
|
// GetUsernameOk returns a tuple with the Username field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetUsernameOk() (*string, bool) {
|
func (o *User) GetUsernameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Username) {
|
if o == nil || IsNil(o.Username) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Username, true
|
return o.Username, true
|
||||||
@ -99,7 +99,7 @@ func (o *User) GetUsernameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasUsername returns a boolean if a field has been set.
|
// HasUsername returns a boolean if a field has been set.
|
||||||
func (o *User) HasUsername() bool {
|
func (o *User) HasUsername() bool {
|
||||||
if o != nil && !isNil(o.Username) {
|
if o != nil && !IsNil(o.Username) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ func (o *User) SetUsername(v string) {
|
|||||||
|
|
||||||
// GetFirstName returns the FirstName field value if set, zero value otherwise.
|
// GetFirstName returns the FirstName field value if set, zero value otherwise.
|
||||||
func (o *User) GetFirstName() string {
|
func (o *User) GetFirstName() string {
|
||||||
if o == nil || isNil(o.FirstName) {
|
if o == nil || IsNil(o.FirstName) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -123,7 +123,7 @@ func (o *User) GetFirstName() string {
|
|||||||
// GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise
|
// GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetFirstNameOk() (*string, bool) {
|
func (o *User) GetFirstNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.FirstName) {
|
if o == nil || IsNil(o.FirstName) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.FirstName, true
|
return o.FirstName, true
|
||||||
@ -131,7 +131,7 @@ func (o *User) GetFirstNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasFirstName returns a boolean if a field has been set.
|
// HasFirstName returns a boolean if a field has been set.
|
||||||
func (o *User) HasFirstName() bool {
|
func (o *User) HasFirstName() bool {
|
||||||
if o != nil && !isNil(o.FirstName) {
|
if o != nil && !IsNil(o.FirstName) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -145,7 +145,7 @@ func (o *User) SetFirstName(v string) {
|
|||||||
|
|
||||||
// GetLastName returns the LastName field value if set, zero value otherwise.
|
// GetLastName returns the LastName field value if set, zero value otherwise.
|
||||||
func (o *User) GetLastName() string {
|
func (o *User) GetLastName() string {
|
||||||
if o == nil || isNil(o.LastName) {
|
if o == nil || IsNil(o.LastName) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -155,7 +155,7 @@ func (o *User) GetLastName() string {
|
|||||||
// GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise
|
// GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetLastNameOk() (*string, bool) {
|
func (o *User) GetLastNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.LastName) {
|
if o == nil || IsNil(o.LastName) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.LastName, true
|
return o.LastName, true
|
||||||
@ -163,7 +163,7 @@ func (o *User) GetLastNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasLastName returns a boolean if a field has been set.
|
// HasLastName returns a boolean if a field has been set.
|
||||||
func (o *User) HasLastName() bool {
|
func (o *User) HasLastName() bool {
|
||||||
if o != nil && !isNil(o.LastName) {
|
if o != nil && !IsNil(o.LastName) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -177,7 +177,7 @@ func (o *User) SetLastName(v string) {
|
|||||||
|
|
||||||
// GetEmail returns the Email field value if set, zero value otherwise.
|
// GetEmail returns the Email field value if set, zero value otherwise.
|
||||||
func (o *User) GetEmail() string {
|
func (o *User) GetEmail() string {
|
||||||
if o == nil || isNil(o.Email) {
|
if o == nil || IsNil(o.Email) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -187,7 +187,7 @@ func (o *User) GetEmail() string {
|
|||||||
// GetEmailOk returns a tuple with the Email field value if set, nil otherwise
|
// GetEmailOk returns a tuple with the Email field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetEmailOk() (*string, bool) {
|
func (o *User) GetEmailOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Email) {
|
if o == nil || IsNil(o.Email) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Email, true
|
return o.Email, true
|
||||||
@ -195,7 +195,7 @@ func (o *User) GetEmailOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasEmail returns a boolean if a field has been set.
|
// HasEmail returns a boolean if a field has been set.
|
||||||
func (o *User) HasEmail() bool {
|
func (o *User) HasEmail() bool {
|
||||||
if o != nil && !isNil(o.Email) {
|
if o != nil && !IsNil(o.Email) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -209,7 +209,7 @@ func (o *User) SetEmail(v string) {
|
|||||||
|
|
||||||
// GetPassword returns the Password field value if set, zero value otherwise.
|
// GetPassword returns the Password field value if set, zero value otherwise.
|
||||||
func (o *User) GetPassword() string {
|
func (o *User) GetPassword() string {
|
||||||
if o == nil || isNil(o.Password) {
|
if o == nil || IsNil(o.Password) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -219,7 +219,7 @@ func (o *User) GetPassword() string {
|
|||||||
// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise
|
// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetPasswordOk() (*string, bool) {
|
func (o *User) GetPasswordOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Password) {
|
if o == nil || IsNil(o.Password) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Password, true
|
return o.Password, true
|
||||||
@ -227,7 +227,7 @@ func (o *User) GetPasswordOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasPassword returns a boolean if a field has been set.
|
// HasPassword returns a boolean if a field has been set.
|
||||||
func (o *User) HasPassword() bool {
|
func (o *User) HasPassword() bool {
|
||||||
if o != nil && !isNil(o.Password) {
|
if o != nil && !IsNil(o.Password) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -241,7 +241,7 @@ func (o *User) SetPassword(v string) {
|
|||||||
|
|
||||||
// GetPhone returns the Phone field value if set, zero value otherwise.
|
// GetPhone returns the Phone field value if set, zero value otherwise.
|
||||||
func (o *User) GetPhone() string {
|
func (o *User) GetPhone() string {
|
||||||
if o == nil || isNil(o.Phone) {
|
if o == nil || IsNil(o.Phone) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -251,7 +251,7 @@ func (o *User) GetPhone() string {
|
|||||||
// GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise
|
// GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetPhoneOk() (*string, bool) {
|
func (o *User) GetPhoneOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Phone) {
|
if o == nil || IsNil(o.Phone) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Phone, true
|
return o.Phone, true
|
||||||
@ -259,7 +259,7 @@ func (o *User) GetPhoneOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasPhone returns a boolean if a field has been set.
|
// HasPhone returns a boolean if a field has been set.
|
||||||
func (o *User) HasPhone() bool {
|
func (o *User) HasPhone() bool {
|
||||||
if o != nil && !isNil(o.Phone) {
|
if o != nil && !IsNil(o.Phone) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -273,7 +273,7 @@ func (o *User) SetPhone(v string) {
|
|||||||
|
|
||||||
// GetUserStatus returns the UserStatus field value if set, zero value otherwise.
|
// GetUserStatus returns the UserStatus field value if set, zero value otherwise.
|
||||||
func (o *User) GetUserStatus() int32 {
|
func (o *User) GetUserStatus() int32 {
|
||||||
if o == nil || isNil(o.UserStatus) {
|
if o == nil || IsNil(o.UserStatus) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -283,7 +283,7 @@ func (o *User) GetUserStatus() int32 {
|
|||||||
// GetUserStatusOk returns a tuple with the UserStatus field value if set, nil otherwise
|
// GetUserStatusOk returns a tuple with the UserStatus field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetUserStatusOk() (*int32, bool) {
|
func (o *User) GetUserStatusOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.UserStatus) {
|
if o == nil || IsNil(o.UserStatus) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.UserStatus, true
|
return o.UserStatus, true
|
||||||
@ -291,7 +291,7 @@ func (o *User) GetUserStatusOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasUserStatus returns a boolean if a field has been set.
|
// HasUserStatus returns a boolean if a field has been set.
|
||||||
func (o *User) HasUserStatus() bool {
|
func (o *User) HasUserStatus() bool {
|
||||||
if o != nil && !isNil(o.UserStatus) {
|
if o != nil && !IsNil(o.UserStatus) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -313,28 +313,28 @@ func (o User) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o User) ToMap() (map[string]interface{}, error) {
|
func (o User) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Id) {
|
if !IsNil(o.Id) {
|
||||||
toSerialize["id"] = o.Id
|
toSerialize["id"] = o.Id
|
||||||
}
|
}
|
||||||
if !isNil(o.Username) {
|
if !IsNil(o.Username) {
|
||||||
toSerialize["username"] = o.Username
|
toSerialize["username"] = o.Username
|
||||||
}
|
}
|
||||||
if !isNil(o.FirstName) {
|
if !IsNil(o.FirstName) {
|
||||||
toSerialize["firstName"] = o.FirstName
|
toSerialize["firstName"] = o.FirstName
|
||||||
}
|
}
|
||||||
if !isNil(o.LastName) {
|
if !IsNil(o.LastName) {
|
||||||
toSerialize["lastName"] = o.LastName
|
toSerialize["lastName"] = o.LastName
|
||||||
}
|
}
|
||||||
if !isNil(o.Email) {
|
if !IsNil(o.Email) {
|
||||||
toSerialize["email"] = o.Email
|
toSerialize["email"] = o.Email
|
||||||
}
|
}
|
||||||
if !isNil(o.Password) {
|
if !IsNil(o.Password) {
|
||||||
toSerialize["password"] = o.Password
|
toSerialize["password"] = o.Password
|
||||||
}
|
}
|
||||||
if !isNil(o.Phone) {
|
if !IsNil(o.Phone) {
|
||||||
toSerialize["phone"] = o.Phone
|
toSerialize["phone"] = o.Phone
|
||||||
}
|
}
|
||||||
if !isNil(o.UserStatus) {
|
if !IsNil(o.UserStatus) {
|
||||||
toSerialize["userStatus"] = o.UserStatus
|
toSerialize["userStatus"] = o.UserStatus
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -69,7 +69,7 @@ func NewXmlItemWithDefaults() *XmlItem {
|
|||||||
|
|
||||||
// GetAttributeString returns the AttributeString field value if set, zero value otherwise.
|
// GetAttributeString returns the AttributeString field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetAttributeString() string {
|
func (o *XmlItem) GetAttributeString() string {
|
||||||
if o == nil || isNil(o.AttributeString) {
|
if o == nil || IsNil(o.AttributeString) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -79,7 +79,7 @@ func (o *XmlItem) GetAttributeString() string {
|
|||||||
// GetAttributeStringOk returns a tuple with the AttributeString field value if set, nil otherwise
|
// GetAttributeStringOk returns a tuple with the AttributeString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetAttributeStringOk() (*string, bool) {
|
func (o *XmlItem) GetAttributeStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.AttributeString) {
|
if o == nil || IsNil(o.AttributeString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.AttributeString, true
|
return o.AttributeString, true
|
||||||
@ -87,7 +87,7 @@ func (o *XmlItem) GetAttributeStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasAttributeString returns a boolean if a field has been set.
|
// HasAttributeString returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasAttributeString() bool {
|
func (o *XmlItem) HasAttributeString() bool {
|
||||||
if o != nil && !isNil(o.AttributeString) {
|
if o != nil && !IsNil(o.AttributeString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ func (o *XmlItem) SetAttributeString(v string) {
|
|||||||
|
|
||||||
// GetAttributeNumber returns the AttributeNumber field value if set, zero value otherwise.
|
// GetAttributeNumber returns the AttributeNumber field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetAttributeNumber() float32 {
|
func (o *XmlItem) GetAttributeNumber() float32 {
|
||||||
if o == nil || isNil(o.AttributeNumber) {
|
if o == nil || IsNil(o.AttributeNumber) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -111,7 +111,7 @@ func (o *XmlItem) GetAttributeNumber() float32 {
|
|||||||
// GetAttributeNumberOk returns a tuple with the AttributeNumber field value if set, nil otherwise
|
// GetAttributeNumberOk returns a tuple with the AttributeNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetAttributeNumberOk() (*float32, bool) {
|
func (o *XmlItem) GetAttributeNumberOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.AttributeNumber) {
|
if o == nil || IsNil(o.AttributeNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.AttributeNumber, true
|
return o.AttributeNumber, true
|
||||||
@ -119,7 +119,7 @@ func (o *XmlItem) GetAttributeNumberOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasAttributeNumber returns a boolean if a field has been set.
|
// HasAttributeNumber returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasAttributeNumber() bool {
|
func (o *XmlItem) HasAttributeNumber() bool {
|
||||||
if o != nil && !isNil(o.AttributeNumber) {
|
if o != nil && !IsNil(o.AttributeNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ func (o *XmlItem) SetAttributeNumber(v float32) {
|
|||||||
|
|
||||||
// GetAttributeInteger returns the AttributeInteger field value if set, zero value otherwise.
|
// GetAttributeInteger returns the AttributeInteger field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetAttributeInteger() int32 {
|
func (o *XmlItem) GetAttributeInteger() int32 {
|
||||||
if o == nil || isNil(o.AttributeInteger) {
|
if o == nil || IsNil(o.AttributeInteger) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -143,7 +143,7 @@ func (o *XmlItem) GetAttributeInteger() int32 {
|
|||||||
// GetAttributeIntegerOk returns a tuple with the AttributeInteger field value if set, nil otherwise
|
// GetAttributeIntegerOk returns a tuple with the AttributeInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetAttributeIntegerOk() (*int32, bool) {
|
func (o *XmlItem) GetAttributeIntegerOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.AttributeInteger) {
|
if o == nil || IsNil(o.AttributeInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.AttributeInteger, true
|
return o.AttributeInteger, true
|
||||||
@ -151,7 +151,7 @@ func (o *XmlItem) GetAttributeIntegerOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasAttributeInteger returns a boolean if a field has been set.
|
// HasAttributeInteger returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasAttributeInteger() bool {
|
func (o *XmlItem) HasAttributeInteger() bool {
|
||||||
if o != nil && !isNil(o.AttributeInteger) {
|
if o != nil && !IsNil(o.AttributeInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ func (o *XmlItem) SetAttributeInteger(v int32) {
|
|||||||
|
|
||||||
// GetAttributeBoolean returns the AttributeBoolean field value if set, zero value otherwise.
|
// GetAttributeBoolean returns the AttributeBoolean field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetAttributeBoolean() bool {
|
func (o *XmlItem) GetAttributeBoolean() bool {
|
||||||
if o == nil || isNil(o.AttributeBoolean) {
|
if o == nil || IsNil(o.AttributeBoolean) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@ func (o *XmlItem) GetAttributeBoolean() bool {
|
|||||||
// GetAttributeBooleanOk returns a tuple with the AttributeBoolean field value if set, nil otherwise
|
// GetAttributeBooleanOk returns a tuple with the AttributeBoolean field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetAttributeBooleanOk() (*bool, bool) {
|
func (o *XmlItem) GetAttributeBooleanOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.AttributeBoolean) {
|
if o == nil || IsNil(o.AttributeBoolean) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.AttributeBoolean, true
|
return o.AttributeBoolean, true
|
||||||
@ -183,7 +183,7 @@ func (o *XmlItem) GetAttributeBooleanOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasAttributeBoolean returns a boolean if a field has been set.
|
// HasAttributeBoolean returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasAttributeBoolean() bool {
|
func (o *XmlItem) HasAttributeBoolean() bool {
|
||||||
if o != nil && !isNil(o.AttributeBoolean) {
|
if o != nil && !IsNil(o.AttributeBoolean) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -197,7 +197,7 @@ func (o *XmlItem) SetAttributeBoolean(v bool) {
|
|||||||
|
|
||||||
// GetWrappedArray returns the WrappedArray field value if set, zero value otherwise.
|
// GetWrappedArray returns the WrappedArray field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetWrappedArray() []int32 {
|
func (o *XmlItem) GetWrappedArray() []int32 {
|
||||||
if o == nil || isNil(o.WrappedArray) {
|
if o == nil || IsNil(o.WrappedArray) {
|
||||||
var ret []int32
|
var ret []int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -207,7 +207,7 @@ func (o *XmlItem) GetWrappedArray() []int32 {
|
|||||||
// GetWrappedArrayOk returns a tuple with the WrappedArray field value if set, nil otherwise
|
// GetWrappedArrayOk returns a tuple with the WrappedArray field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetWrappedArrayOk() ([]int32, bool) {
|
func (o *XmlItem) GetWrappedArrayOk() ([]int32, bool) {
|
||||||
if o == nil || isNil(o.WrappedArray) {
|
if o == nil || IsNil(o.WrappedArray) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.WrappedArray, true
|
return o.WrappedArray, true
|
||||||
@ -215,7 +215,7 @@ func (o *XmlItem) GetWrappedArrayOk() ([]int32, bool) {
|
|||||||
|
|
||||||
// HasWrappedArray returns a boolean if a field has been set.
|
// HasWrappedArray returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasWrappedArray() bool {
|
func (o *XmlItem) HasWrappedArray() bool {
|
||||||
if o != nil && !isNil(o.WrappedArray) {
|
if o != nil && !IsNil(o.WrappedArray) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -229,7 +229,7 @@ func (o *XmlItem) SetWrappedArray(v []int32) {
|
|||||||
|
|
||||||
// GetNameString returns the NameString field value if set, zero value otherwise.
|
// GetNameString returns the NameString field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNameString() string {
|
func (o *XmlItem) GetNameString() string {
|
||||||
if o == nil || isNil(o.NameString) {
|
if o == nil || IsNil(o.NameString) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@ func (o *XmlItem) GetNameString() string {
|
|||||||
// GetNameStringOk returns a tuple with the NameString field value if set, nil otherwise
|
// GetNameStringOk returns a tuple with the NameString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNameStringOk() (*string, bool) {
|
func (o *XmlItem) GetNameStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.NameString) {
|
if o == nil || IsNil(o.NameString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NameString, true
|
return o.NameString, true
|
||||||
@ -247,7 +247,7 @@ func (o *XmlItem) GetNameStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasNameString returns a boolean if a field has been set.
|
// HasNameString returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNameString() bool {
|
func (o *XmlItem) HasNameString() bool {
|
||||||
if o != nil && !isNil(o.NameString) {
|
if o != nil && !IsNil(o.NameString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -261,7 +261,7 @@ func (o *XmlItem) SetNameString(v string) {
|
|||||||
|
|
||||||
// GetNameNumber returns the NameNumber field value if set, zero value otherwise.
|
// GetNameNumber returns the NameNumber field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNameNumber() float32 {
|
func (o *XmlItem) GetNameNumber() float32 {
|
||||||
if o == nil || isNil(o.NameNumber) {
|
if o == nil || IsNil(o.NameNumber) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -271,7 +271,7 @@ func (o *XmlItem) GetNameNumber() float32 {
|
|||||||
// GetNameNumberOk returns a tuple with the NameNumber field value if set, nil otherwise
|
// GetNameNumberOk returns a tuple with the NameNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNameNumberOk() (*float32, bool) {
|
func (o *XmlItem) GetNameNumberOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.NameNumber) {
|
if o == nil || IsNil(o.NameNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NameNumber, true
|
return o.NameNumber, true
|
||||||
@ -279,7 +279,7 @@ func (o *XmlItem) GetNameNumberOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasNameNumber returns a boolean if a field has been set.
|
// HasNameNumber returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNameNumber() bool {
|
func (o *XmlItem) HasNameNumber() bool {
|
||||||
if o != nil && !isNil(o.NameNumber) {
|
if o != nil && !IsNil(o.NameNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -293,7 +293,7 @@ func (o *XmlItem) SetNameNumber(v float32) {
|
|||||||
|
|
||||||
// GetNameInteger returns the NameInteger field value if set, zero value otherwise.
|
// GetNameInteger returns the NameInteger field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNameInteger() int32 {
|
func (o *XmlItem) GetNameInteger() int32 {
|
||||||
if o == nil || isNil(o.NameInteger) {
|
if o == nil || IsNil(o.NameInteger) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -303,7 +303,7 @@ func (o *XmlItem) GetNameInteger() int32 {
|
|||||||
// GetNameIntegerOk returns a tuple with the NameInteger field value if set, nil otherwise
|
// GetNameIntegerOk returns a tuple with the NameInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNameIntegerOk() (*int32, bool) {
|
func (o *XmlItem) GetNameIntegerOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.NameInteger) {
|
if o == nil || IsNil(o.NameInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NameInteger, true
|
return o.NameInteger, true
|
||||||
@ -311,7 +311,7 @@ func (o *XmlItem) GetNameIntegerOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasNameInteger returns a boolean if a field has been set.
|
// HasNameInteger returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNameInteger() bool {
|
func (o *XmlItem) HasNameInteger() bool {
|
||||||
if o != nil && !isNil(o.NameInteger) {
|
if o != nil && !IsNil(o.NameInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -325,7 +325,7 @@ func (o *XmlItem) SetNameInteger(v int32) {
|
|||||||
|
|
||||||
// GetNameBoolean returns the NameBoolean field value if set, zero value otherwise.
|
// GetNameBoolean returns the NameBoolean field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNameBoolean() bool {
|
func (o *XmlItem) GetNameBoolean() bool {
|
||||||
if o == nil || isNil(o.NameBoolean) {
|
if o == nil || IsNil(o.NameBoolean) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -335,7 +335,7 @@ func (o *XmlItem) GetNameBoolean() bool {
|
|||||||
// GetNameBooleanOk returns a tuple with the NameBoolean field value if set, nil otherwise
|
// GetNameBooleanOk returns a tuple with the NameBoolean field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNameBooleanOk() (*bool, bool) {
|
func (o *XmlItem) GetNameBooleanOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.NameBoolean) {
|
if o == nil || IsNil(o.NameBoolean) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NameBoolean, true
|
return o.NameBoolean, true
|
||||||
@ -343,7 +343,7 @@ func (o *XmlItem) GetNameBooleanOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasNameBoolean returns a boolean if a field has been set.
|
// HasNameBoolean returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNameBoolean() bool {
|
func (o *XmlItem) HasNameBoolean() bool {
|
||||||
if o != nil && !isNil(o.NameBoolean) {
|
if o != nil && !IsNil(o.NameBoolean) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -357,7 +357,7 @@ func (o *XmlItem) SetNameBoolean(v bool) {
|
|||||||
|
|
||||||
// GetNameArray returns the NameArray field value if set, zero value otherwise.
|
// GetNameArray returns the NameArray field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNameArray() []int32 {
|
func (o *XmlItem) GetNameArray() []int32 {
|
||||||
if o == nil || isNil(o.NameArray) {
|
if o == nil || IsNil(o.NameArray) {
|
||||||
var ret []int32
|
var ret []int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -367,7 +367,7 @@ func (o *XmlItem) GetNameArray() []int32 {
|
|||||||
// GetNameArrayOk returns a tuple with the NameArray field value if set, nil otherwise
|
// GetNameArrayOk returns a tuple with the NameArray field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNameArrayOk() ([]int32, bool) {
|
func (o *XmlItem) GetNameArrayOk() ([]int32, bool) {
|
||||||
if o == nil || isNil(o.NameArray) {
|
if o == nil || IsNil(o.NameArray) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NameArray, true
|
return o.NameArray, true
|
||||||
@ -375,7 +375,7 @@ func (o *XmlItem) GetNameArrayOk() ([]int32, bool) {
|
|||||||
|
|
||||||
// HasNameArray returns a boolean if a field has been set.
|
// HasNameArray returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNameArray() bool {
|
func (o *XmlItem) HasNameArray() bool {
|
||||||
if o != nil && !isNil(o.NameArray) {
|
if o != nil && !IsNil(o.NameArray) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -389,7 +389,7 @@ func (o *XmlItem) SetNameArray(v []int32) {
|
|||||||
|
|
||||||
// GetNameWrappedArray returns the NameWrappedArray field value if set, zero value otherwise.
|
// GetNameWrappedArray returns the NameWrappedArray field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNameWrappedArray() []int32 {
|
func (o *XmlItem) GetNameWrappedArray() []int32 {
|
||||||
if o == nil || isNil(o.NameWrappedArray) {
|
if o == nil || IsNil(o.NameWrappedArray) {
|
||||||
var ret []int32
|
var ret []int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -399,7 +399,7 @@ func (o *XmlItem) GetNameWrappedArray() []int32 {
|
|||||||
// GetNameWrappedArrayOk returns a tuple with the NameWrappedArray field value if set, nil otherwise
|
// GetNameWrappedArrayOk returns a tuple with the NameWrappedArray field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNameWrappedArrayOk() ([]int32, bool) {
|
func (o *XmlItem) GetNameWrappedArrayOk() ([]int32, bool) {
|
||||||
if o == nil || isNil(o.NameWrappedArray) {
|
if o == nil || IsNil(o.NameWrappedArray) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NameWrappedArray, true
|
return o.NameWrappedArray, true
|
||||||
@ -407,7 +407,7 @@ func (o *XmlItem) GetNameWrappedArrayOk() ([]int32, bool) {
|
|||||||
|
|
||||||
// HasNameWrappedArray returns a boolean if a field has been set.
|
// HasNameWrappedArray returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNameWrappedArray() bool {
|
func (o *XmlItem) HasNameWrappedArray() bool {
|
||||||
if o != nil && !isNil(o.NameWrappedArray) {
|
if o != nil && !IsNil(o.NameWrappedArray) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -421,7 +421,7 @@ func (o *XmlItem) SetNameWrappedArray(v []int32) {
|
|||||||
|
|
||||||
// GetPrefixString returns the PrefixString field value if set, zero value otherwise.
|
// GetPrefixString returns the PrefixString field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixString() string {
|
func (o *XmlItem) GetPrefixString() string {
|
||||||
if o == nil || isNil(o.PrefixString) {
|
if o == nil || IsNil(o.PrefixString) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -431,7 +431,7 @@ func (o *XmlItem) GetPrefixString() string {
|
|||||||
// GetPrefixStringOk returns a tuple with the PrefixString field value if set, nil otherwise
|
// GetPrefixStringOk returns a tuple with the PrefixString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixStringOk() (*string, bool) {
|
func (o *XmlItem) GetPrefixStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.PrefixString) {
|
if o == nil || IsNil(o.PrefixString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixString, true
|
return o.PrefixString, true
|
||||||
@ -439,7 +439,7 @@ func (o *XmlItem) GetPrefixStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasPrefixString returns a boolean if a field has been set.
|
// HasPrefixString returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixString() bool {
|
func (o *XmlItem) HasPrefixString() bool {
|
||||||
if o != nil && !isNil(o.PrefixString) {
|
if o != nil && !IsNil(o.PrefixString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -453,7 +453,7 @@ func (o *XmlItem) SetPrefixString(v string) {
|
|||||||
|
|
||||||
// GetPrefixNumber returns the PrefixNumber field value if set, zero value otherwise.
|
// GetPrefixNumber returns the PrefixNumber field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixNumber() float32 {
|
func (o *XmlItem) GetPrefixNumber() float32 {
|
||||||
if o == nil || isNil(o.PrefixNumber) {
|
if o == nil || IsNil(o.PrefixNumber) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -463,7 +463,7 @@ func (o *XmlItem) GetPrefixNumber() float32 {
|
|||||||
// GetPrefixNumberOk returns a tuple with the PrefixNumber field value if set, nil otherwise
|
// GetPrefixNumberOk returns a tuple with the PrefixNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixNumberOk() (*float32, bool) {
|
func (o *XmlItem) GetPrefixNumberOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.PrefixNumber) {
|
if o == nil || IsNil(o.PrefixNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixNumber, true
|
return o.PrefixNumber, true
|
||||||
@ -471,7 +471,7 @@ func (o *XmlItem) GetPrefixNumberOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasPrefixNumber returns a boolean if a field has been set.
|
// HasPrefixNumber returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixNumber() bool {
|
func (o *XmlItem) HasPrefixNumber() bool {
|
||||||
if o != nil && !isNil(o.PrefixNumber) {
|
if o != nil && !IsNil(o.PrefixNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -485,7 +485,7 @@ func (o *XmlItem) SetPrefixNumber(v float32) {
|
|||||||
|
|
||||||
// GetPrefixInteger returns the PrefixInteger field value if set, zero value otherwise.
|
// GetPrefixInteger returns the PrefixInteger field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixInteger() int32 {
|
func (o *XmlItem) GetPrefixInteger() int32 {
|
||||||
if o == nil || isNil(o.PrefixInteger) {
|
if o == nil || IsNil(o.PrefixInteger) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -495,7 +495,7 @@ func (o *XmlItem) GetPrefixInteger() int32 {
|
|||||||
// GetPrefixIntegerOk returns a tuple with the PrefixInteger field value if set, nil otherwise
|
// GetPrefixIntegerOk returns a tuple with the PrefixInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixIntegerOk() (*int32, bool) {
|
func (o *XmlItem) GetPrefixIntegerOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.PrefixInteger) {
|
if o == nil || IsNil(o.PrefixInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixInteger, true
|
return o.PrefixInteger, true
|
||||||
@ -503,7 +503,7 @@ func (o *XmlItem) GetPrefixIntegerOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasPrefixInteger returns a boolean if a field has been set.
|
// HasPrefixInteger returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixInteger() bool {
|
func (o *XmlItem) HasPrefixInteger() bool {
|
||||||
if o != nil && !isNil(o.PrefixInteger) {
|
if o != nil && !IsNil(o.PrefixInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -517,7 +517,7 @@ func (o *XmlItem) SetPrefixInteger(v int32) {
|
|||||||
|
|
||||||
// GetPrefixBoolean returns the PrefixBoolean field value if set, zero value otherwise.
|
// GetPrefixBoolean returns the PrefixBoolean field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixBoolean() bool {
|
func (o *XmlItem) GetPrefixBoolean() bool {
|
||||||
if o == nil || isNil(o.PrefixBoolean) {
|
if o == nil || IsNil(o.PrefixBoolean) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -527,7 +527,7 @@ func (o *XmlItem) GetPrefixBoolean() bool {
|
|||||||
// GetPrefixBooleanOk returns a tuple with the PrefixBoolean field value if set, nil otherwise
|
// GetPrefixBooleanOk returns a tuple with the PrefixBoolean field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixBooleanOk() (*bool, bool) {
|
func (o *XmlItem) GetPrefixBooleanOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.PrefixBoolean) {
|
if o == nil || IsNil(o.PrefixBoolean) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixBoolean, true
|
return o.PrefixBoolean, true
|
||||||
@ -535,7 +535,7 @@ func (o *XmlItem) GetPrefixBooleanOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasPrefixBoolean returns a boolean if a field has been set.
|
// HasPrefixBoolean returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixBoolean() bool {
|
func (o *XmlItem) HasPrefixBoolean() bool {
|
||||||
if o != nil && !isNil(o.PrefixBoolean) {
|
if o != nil && !IsNil(o.PrefixBoolean) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -549,7 +549,7 @@ func (o *XmlItem) SetPrefixBoolean(v bool) {
|
|||||||
|
|
||||||
// GetPrefixArray returns the PrefixArray field value if set, zero value otherwise.
|
// GetPrefixArray returns the PrefixArray field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixArray() []int32 {
|
func (o *XmlItem) GetPrefixArray() []int32 {
|
||||||
if o == nil || isNil(o.PrefixArray) {
|
if o == nil || IsNil(o.PrefixArray) {
|
||||||
var ret []int32
|
var ret []int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -559,7 +559,7 @@ func (o *XmlItem) GetPrefixArray() []int32 {
|
|||||||
// GetPrefixArrayOk returns a tuple with the PrefixArray field value if set, nil otherwise
|
// GetPrefixArrayOk returns a tuple with the PrefixArray field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixArrayOk() ([]int32, bool) {
|
func (o *XmlItem) GetPrefixArrayOk() ([]int32, bool) {
|
||||||
if o == nil || isNil(o.PrefixArray) {
|
if o == nil || IsNil(o.PrefixArray) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixArray, true
|
return o.PrefixArray, true
|
||||||
@ -567,7 +567,7 @@ func (o *XmlItem) GetPrefixArrayOk() ([]int32, bool) {
|
|||||||
|
|
||||||
// HasPrefixArray returns a boolean if a field has been set.
|
// HasPrefixArray returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixArray() bool {
|
func (o *XmlItem) HasPrefixArray() bool {
|
||||||
if o != nil && !isNil(o.PrefixArray) {
|
if o != nil && !IsNil(o.PrefixArray) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -581,7 +581,7 @@ func (o *XmlItem) SetPrefixArray(v []int32) {
|
|||||||
|
|
||||||
// GetPrefixWrappedArray returns the PrefixWrappedArray field value if set, zero value otherwise.
|
// GetPrefixWrappedArray returns the PrefixWrappedArray field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixWrappedArray() []int32 {
|
func (o *XmlItem) GetPrefixWrappedArray() []int32 {
|
||||||
if o == nil || isNil(o.PrefixWrappedArray) {
|
if o == nil || IsNil(o.PrefixWrappedArray) {
|
||||||
var ret []int32
|
var ret []int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -591,7 +591,7 @@ func (o *XmlItem) GetPrefixWrappedArray() []int32 {
|
|||||||
// GetPrefixWrappedArrayOk returns a tuple with the PrefixWrappedArray field value if set, nil otherwise
|
// GetPrefixWrappedArrayOk returns a tuple with the PrefixWrappedArray field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixWrappedArrayOk() ([]int32, bool) {
|
func (o *XmlItem) GetPrefixWrappedArrayOk() ([]int32, bool) {
|
||||||
if o == nil || isNil(o.PrefixWrappedArray) {
|
if o == nil || IsNil(o.PrefixWrappedArray) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixWrappedArray, true
|
return o.PrefixWrappedArray, true
|
||||||
@ -599,7 +599,7 @@ func (o *XmlItem) GetPrefixWrappedArrayOk() ([]int32, bool) {
|
|||||||
|
|
||||||
// HasPrefixWrappedArray returns a boolean if a field has been set.
|
// HasPrefixWrappedArray returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixWrappedArray() bool {
|
func (o *XmlItem) HasPrefixWrappedArray() bool {
|
||||||
if o != nil && !isNil(o.PrefixWrappedArray) {
|
if o != nil && !IsNil(o.PrefixWrappedArray) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -613,7 +613,7 @@ func (o *XmlItem) SetPrefixWrappedArray(v []int32) {
|
|||||||
|
|
||||||
// GetNamespaceString returns the NamespaceString field value if set, zero value otherwise.
|
// GetNamespaceString returns the NamespaceString field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNamespaceString() string {
|
func (o *XmlItem) GetNamespaceString() string {
|
||||||
if o == nil || isNil(o.NamespaceString) {
|
if o == nil || IsNil(o.NamespaceString) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -623,7 +623,7 @@ func (o *XmlItem) GetNamespaceString() string {
|
|||||||
// GetNamespaceStringOk returns a tuple with the NamespaceString field value if set, nil otherwise
|
// GetNamespaceStringOk returns a tuple with the NamespaceString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNamespaceStringOk() (*string, bool) {
|
func (o *XmlItem) GetNamespaceStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.NamespaceString) {
|
if o == nil || IsNil(o.NamespaceString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NamespaceString, true
|
return o.NamespaceString, true
|
||||||
@ -631,7 +631,7 @@ func (o *XmlItem) GetNamespaceStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasNamespaceString returns a boolean if a field has been set.
|
// HasNamespaceString returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNamespaceString() bool {
|
func (o *XmlItem) HasNamespaceString() bool {
|
||||||
if o != nil && !isNil(o.NamespaceString) {
|
if o != nil && !IsNil(o.NamespaceString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -645,7 +645,7 @@ func (o *XmlItem) SetNamespaceString(v string) {
|
|||||||
|
|
||||||
// GetNamespaceNumber returns the NamespaceNumber field value if set, zero value otherwise.
|
// GetNamespaceNumber returns the NamespaceNumber field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNamespaceNumber() float32 {
|
func (o *XmlItem) GetNamespaceNumber() float32 {
|
||||||
if o == nil || isNil(o.NamespaceNumber) {
|
if o == nil || IsNil(o.NamespaceNumber) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -655,7 +655,7 @@ func (o *XmlItem) GetNamespaceNumber() float32 {
|
|||||||
// GetNamespaceNumberOk returns a tuple with the NamespaceNumber field value if set, nil otherwise
|
// GetNamespaceNumberOk returns a tuple with the NamespaceNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNamespaceNumberOk() (*float32, bool) {
|
func (o *XmlItem) GetNamespaceNumberOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.NamespaceNumber) {
|
if o == nil || IsNil(o.NamespaceNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NamespaceNumber, true
|
return o.NamespaceNumber, true
|
||||||
@ -663,7 +663,7 @@ func (o *XmlItem) GetNamespaceNumberOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasNamespaceNumber returns a boolean if a field has been set.
|
// HasNamespaceNumber returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNamespaceNumber() bool {
|
func (o *XmlItem) HasNamespaceNumber() bool {
|
||||||
if o != nil && !isNil(o.NamespaceNumber) {
|
if o != nil && !IsNil(o.NamespaceNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -677,7 +677,7 @@ func (o *XmlItem) SetNamespaceNumber(v float32) {
|
|||||||
|
|
||||||
// GetNamespaceInteger returns the NamespaceInteger field value if set, zero value otherwise.
|
// GetNamespaceInteger returns the NamespaceInteger field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNamespaceInteger() int32 {
|
func (o *XmlItem) GetNamespaceInteger() int32 {
|
||||||
if o == nil || isNil(o.NamespaceInteger) {
|
if o == nil || IsNil(o.NamespaceInteger) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -687,7 +687,7 @@ func (o *XmlItem) GetNamespaceInteger() int32 {
|
|||||||
// GetNamespaceIntegerOk returns a tuple with the NamespaceInteger field value if set, nil otherwise
|
// GetNamespaceIntegerOk returns a tuple with the NamespaceInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNamespaceIntegerOk() (*int32, bool) {
|
func (o *XmlItem) GetNamespaceIntegerOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.NamespaceInteger) {
|
if o == nil || IsNil(o.NamespaceInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NamespaceInteger, true
|
return o.NamespaceInteger, true
|
||||||
@ -695,7 +695,7 @@ func (o *XmlItem) GetNamespaceIntegerOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasNamespaceInteger returns a boolean if a field has been set.
|
// HasNamespaceInteger returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNamespaceInteger() bool {
|
func (o *XmlItem) HasNamespaceInteger() bool {
|
||||||
if o != nil && !isNil(o.NamespaceInteger) {
|
if o != nil && !IsNil(o.NamespaceInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -709,7 +709,7 @@ func (o *XmlItem) SetNamespaceInteger(v int32) {
|
|||||||
|
|
||||||
// GetNamespaceBoolean returns the NamespaceBoolean field value if set, zero value otherwise.
|
// GetNamespaceBoolean returns the NamespaceBoolean field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNamespaceBoolean() bool {
|
func (o *XmlItem) GetNamespaceBoolean() bool {
|
||||||
if o == nil || isNil(o.NamespaceBoolean) {
|
if o == nil || IsNil(o.NamespaceBoolean) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -719,7 +719,7 @@ func (o *XmlItem) GetNamespaceBoolean() bool {
|
|||||||
// GetNamespaceBooleanOk returns a tuple with the NamespaceBoolean field value if set, nil otherwise
|
// GetNamespaceBooleanOk returns a tuple with the NamespaceBoolean field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNamespaceBooleanOk() (*bool, bool) {
|
func (o *XmlItem) GetNamespaceBooleanOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.NamespaceBoolean) {
|
if o == nil || IsNil(o.NamespaceBoolean) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NamespaceBoolean, true
|
return o.NamespaceBoolean, true
|
||||||
@ -727,7 +727,7 @@ func (o *XmlItem) GetNamespaceBooleanOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasNamespaceBoolean returns a boolean if a field has been set.
|
// HasNamespaceBoolean returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNamespaceBoolean() bool {
|
func (o *XmlItem) HasNamespaceBoolean() bool {
|
||||||
if o != nil && !isNil(o.NamespaceBoolean) {
|
if o != nil && !IsNil(o.NamespaceBoolean) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -741,7 +741,7 @@ func (o *XmlItem) SetNamespaceBoolean(v bool) {
|
|||||||
|
|
||||||
// GetNamespaceArray returns the NamespaceArray field value if set, zero value otherwise.
|
// GetNamespaceArray returns the NamespaceArray field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNamespaceArray() []int32 {
|
func (o *XmlItem) GetNamespaceArray() []int32 {
|
||||||
if o == nil || isNil(o.NamespaceArray) {
|
if o == nil || IsNil(o.NamespaceArray) {
|
||||||
var ret []int32
|
var ret []int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -751,7 +751,7 @@ func (o *XmlItem) GetNamespaceArray() []int32 {
|
|||||||
// GetNamespaceArrayOk returns a tuple with the NamespaceArray field value if set, nil otherwise
|
// GetNamespaceArrayOk returns a tuple with the NamespaceArray field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNamespaceArrayOk() ([]int32, bool) {
|
func (o *XmlItem) GetNamespaceArrayOk() ([]int32, bool) {
|
||||||
if o == nil || isNil(o.NamespaceArray) {
|
if o == nil || IsNil(o.NamespaceArray) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NamespaceArray, true
|
return o.NamespaceArray, true
|
||||||
@ -759,7 +759,7 @@ func (o *XmlItem) GetNamespaceArrayOk() ([]int32, bool) {
|
|||||||
|
|
||||||
// HasNamespaceArray returns a boolean if a field has been set.
|
// HasNamespaceArray returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNamespaceArray() bool {
|
func (o *XmlItem) HasNamespaceArray() bool {
|
||||||
if o != nil && !isNil(o.NamespaceArray) {
|
if o != nil && !IsNil(o.NamespaceArray) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -773,7 +773,7 @@ func (o *XmlItem) SetNamespaceArray(v []int32) {
|
|||||||
|
|
||||||
// GetNamespaceWrappedArray returns the NamespaceWrappedArray field value if set, zero value otherwise.
|
// GetNamespaceWrappedArray returns the NamespaceWrappedArray field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetNamespaceWrappedArray() []int32 {
|
func (o *XmlItem) GetNamespaceWrappedArray() []int32 {
|
||||||
if o == nil || isNil(o.NamespaceWrappedArray) {
|
if o == nil || IsNil(o.NamespaceWrappedArray) {
|
||||||
var ret []int32
|
var ret []int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -783,7 +783,7 @@ func (o *XmlItem) GetNamespaceWrappedArray() []int32 {
|
|||||||
// GetNamespaceWrappedArrayOk returns a tuple with the NamespaceWrappedArray field value if set, nil otherwise
|
// GetNamespaceWrappedArrayOk returns a tuple with the NamespaceWrappedArray field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetNamespaceWrappedArrayOk() ([]int32, bool) {
|
func (o *XmlItem) GetNamespaceWrappedArrayOk() ([]int32, bool) {
|
||||||
if o == nil || isNil(o.NamespaceWrappedArray) {
|
if o == nil || IsNil(o.NamespaceWrappedArray) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.NamespaceWrappedArray, true
|
return o.NamespaceWrappedArray, true
|
||||||
@ -791,7 +791,7 @@ func (o *XmlItem) GetNamespaceWrappedArrayOk() ([]int32, bool) {
|
|||||||
|
|
||||||
// HasNamespaceWrappedArray returns a boolean if a field has been set.
|
// HasNamespaceWrappedArray returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasNamespaceWrappedArray() bool {
|
func (o *XmlItem) HasNamespaceWrappedArray() bool {
|
||||||
if o != nil && !isNil(o.NamespaceWrappedArray) {
|
if o != nil && !IsNil(o.NamespaceWrappedArray) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -805,7 +805,7 @@ func (o *XmlItem) SetNamespaceWrappedArray(v []int32) {
|
|||||||
|
|
||||||
// GetPrefixNsString returns the PrefixNsString field value if set, zero value otherwise.
|
// GetPrefixNsString returns the PrefixNsString field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixNsString() string {
|
func (o *XmlItem) GetPrefixNsString() string {
|
||||||
if o == nil || isNil(o.PrefixNsString) {
|
if o == nil || IsNil(o.PrefixNsString) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -815,7 +815,7 @@ func (o *XmlItem) GetPrefixNsString() string {
|
|||||||
// GetPrefixNsStringOk returns a tuple with the PrefixNsString field value if set, nil otherwise
|
// GetPrefixNsStringOk returns a tuple with the PrefixNsString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixNsStringOk() (*string, bool) {
|
func (o *XmlItem) GetPrefixNsStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.PrefixNsString) {
|
if o == nil || IsNil(o.PrefixNsString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixNsString, true
|
return o.PrefixNsString, true
|
||||||
@ -823,7 +823,7 @@ func (o *XmlItem) GetPrefixNsStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasPrefixNsString returns a boolean if a field has been set.
|
// HasPrefixNsString returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixNsString() bool {
|
func (o *XmlItem) HasPrefixNsString() bool {
|
||||||
if o != nil && !isNil(o.PrefixNsString) {
|
if o != nil && !IsNil(o.PrefixNsString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -837,7 +837,7 @@ func (o *XmlItem) SetPrefixNsString(v string) {
|
|||||||
|
|
||||||
// GetPrefixNsNumber returns the PrefixNsNumber field value if set, zero value otherwise.
|
// GetPrefixNsNumber returns the PrefixNsNumber field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixNsNumber() float32 {
|
func (o *XmlItem) GetPrefixNsNumber() float32 {
|
||||||
if o == nil || isNil(o.PrefixNsNumber) {
|
if o == nil || IsNil(o.PrefixNsNumber) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -847,7 +847,7 @@ func (o *XmlItem) GetPrefixNsNumber() float32 {
|
|||||||
// GetPrefixNsNumberOk returns a tuple with the PrefixNsNumber field value if set, nil otherwise
|
// GetPrefixNsNumberOk returns a tuple with the PrefixNsNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixNsNumberOk() (*float32, bool) {
|
func (o *XmlItem) GetPrefixNsNumberOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.PrefixNsNumber) {
|
if o == nil || IsNil(o.PrefixNsNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixNsNumber, true
|
return o.PrefixNsNumber, true
|
||||||
@ -855,7 +855,7 @@ func (o *XmlItem) GetPrefixNsNumberOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasPrefixNsNumber returns a boolean if a field has been set.
|
// HasPrefixNsNumber returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixNsNumber() bool {
|
func (o *XmlItem) HasPrefixNsNumber() bool {
|
||||||
if o != nil && !isNil(o.PrefixNsNumber) {
|
if o != nil && !IsNil(o.PrefixNsNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -869,7 +869,7 @@ func (o *XmlItem) SetPrefixNsNumber(v float32) {
|
|||||||
|
|
||||||
// GetPrefixNsInteger returns the PrefixNsInteger field value if set, zero value otherwise.
|
// GetPrefixNsInteger returns the PrefixNsInteger field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixNsInteger() int32 {
|
func (o *XmlItem) GetPrefixNsInteger() int32 {
|
||||||
if o == nil || isNil(o.PrefixNsInteger) {
|
if o == nil || IsNil(o.PrefixNsInteger) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -879,7 +879,7 @@ func (o *XmlItem) GetPrefixNsInteger() int32 {
|
|||||||
// GetPrefixNsIntegerOk returns a tuple with the PrefixNsInteger field value if set, nil otherwise
|
// GetPrefixNsIntegerOk returns a tuple with the PrefixNsInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixNsIntegerOk() (*int32, bool) {
|
func (o *XmlItem) GetPrefixNsIntegerOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.PrefixNsInteger) {
|
if o == nil || IsNil(o.PrefixNsInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixNsInteger, true
|
return o.PrefixNsInteger, true
|
||||||
@ -887,7 +887,7 @@ func (o *XmlItem) GetPrefixNsIntegerOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasPrefixNsInteger returns a boolean if a field has been set.
|
// HasPrefixNsInteger returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixNsInteger() bool {
|
func (o *XmlItem) HasPrefixNsInteger() bool {
|
||||||
if o != nil && !isNil(o.PrefixNsInteger) {
|
if o != nil && !IsNil(o.PrefixNsInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -901,7 +901,7 @@ func (o *XmlItem) SetPrefixNsInteger(v int32) {
|
|||||||
|
|
||||||
// GetPrefixNsBoolean returns the PrefixNsBoolean field value if set, zero value otherwise.
|
// GetPrefixNsBoolean returns the PrefixNsBoolean field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixNsBoolean() bool {
|
func (o *XmlItem) GetPrefixNsBoolean() bool {
|
||||||
if o == nil || isNil(o.PrefixNsBoolean) {
|
if o == nil || IsNil(o.PrefixNsBoolean) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -911,7 +911,7 @@ func (o *XmlItem) GetPrefixNsBoolean() bool {
|
|||||||
// GetPrefixNsBooleanOk returns a tuple with the PrefixNsBoolean field value if set, nil otherwise
|
// GetPrefixNsBooleanOk returns a tuple with the PrefixNsBoolean field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixNsBooleanOk() (*bool, bool) {
|
func (o *XmlItem) GetPrefixNsBooleanOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.PrefixNsBoolean) {
|
if o == nil || IsNil(o.PrefixNsBoolean) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixNsBoolean, true
|
return o.PrefixNsBoolean, true
|
||||||
@ -919,7 +919,7 @@ func (o *XmlItem) GetPrefixNsBooleanOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasPrefixNsBoolean returns a boolean if a field has been set.
|
// HasPrefixNsBoolean returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixNsBoolean() bool {
|
func (o *XmlItem) HasPrefixNsBoolean() bool {
|
||||||
if o != nil && !isNil(o.PrefixNsBoolean) {
|
if o != nil && !IsNil(o.PrefixNsBoolean) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -933,7 +933,7 @@ func (o *XmlItem) SetPrefixNsBoolean(v bool) {
|
|||||||
|
|
||||||
// GetPrefixNsArray returns the PrefixNsArray field value if set, zero value otherwise.
|
// GetPrefixNsArray returns the PrefixNsArray field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixNsArray() []int32 {
|
func (o *XmlItem) GetPrefixNsArray() []int32 {
|
||||||
if o == nil || isNil(o.PrefixNsArray) {
|
if o == nil || IsNil(o.PrefixNsArray) {
|
||||||
var ret []int32
|
var ret []int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -943,7 +943,7 @@ func (o *XmlItem) GetPrefixNsArray() []int32 {
|
|||||||
// GetPrefixNsArrayOk returns a tuple with the PrefixNsArray field value if set, nil otherwise
|
// GetPrefixNsArrayOk returns a tuple with the PrefixNsArray field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixNsArrayOk() ([]int32, bool) {
|
func (o *XmlItem) GetPrefixNsArrayOk() ([]int32, bool) {
|
||||||
if o == nil || isNil(o.PrefixNsArray) {
|
if o == nil || IsNil(o.PrefixNsArray) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixNsArray, true
|
return o.PrefixNsArray, true
|
||||||
@ -951,7 +951,7 @@ func (o *XmlItem) GetPrefixNsArrayOk() ([]int32, bool) {
|
|||||||
|
|
||||||
// HasPrefixNsArray returns a boolean if a field has been set.
|
// HasPrefixNsArray returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixNsArray() bool {
|
func (o *XmlItem) HasPrefixNsArray() bool {
|
||||||
if o != nil && !isNil(o.PrefixNsArray) {
|
if o != nil && !IsNil(o.PrefixNsArray) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -965,7 +965,7 @@ func (o *XmlItem) SetPrefixNsArray(v []int32) {
|
|||||||
|
|
||||||
// GetPrefixNsWrappedArray returns the PrefixNsWrappedArray field value if set, zero value otherwise.
|
// GetPrefixNsWrappedArray returns the PrefixNsWrappedArray field value if set, zero value otherwise.
|
||||||
func (o *XmlItem) GetPrefixNsWrappedArray() []int32 {
|
func (o *XmlItem) GetPrefixNsWrappedArray() []int32 {
|
||||||
if o == nil || isNil(o.PrefixNsWrappedArray) {
|
if o == nil || IsNil(o.PrefixNsWrappedArray) {
|
||||||
var ret []int32
|
var ret []int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -975,7 +975,7 @@ func (o *XmlItem) GetPrefixNsWrappedArray() []int32 {
|
|||||||
// GetPrefixNsWrappedArrayOk returns a tuple with the PrefixNsWrappedArray field value if set, nil otherwise
|
// GetPrefixNsWrappedArrayOk returns a tuple with the PrefixNsWrappedArray field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *XmlItem) GetPrefixNsWrappedArrayOk() ([]int32, bool) {
|
func (o *XmlItem) GetPrefixNsWrappedArrayOk() ([]int32, bool) {
|
||||||
if o == nil || isNil(o.PrefixNsWrappedArray) {
|
if o == nil || IsNil(o.PrefixNsWrappedArray) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PrefixNsWrappedArray, true
|
return o.PrefixNsWrappedArray, true
|
||||||
@ -983,7 +983,7 @@ func (o *XmlItem) GetPrefixNsWrappedArrayOk() ([]int32, bool) {
|
|||||||
|
|
||||||
// HasPrefixNsWrappedArray returns a boolean if a field has been set.
|
// HasPrefixNsWrappedArray returns a boolean if a field has been set.
|
||||||
func (o *XmlItem) HasPrefixNsWrappedArray() bool {
|
func (o *XmlItem) HasPrefixNsWrappedArray() bool {
|
||||||
if o != nil && !isNil(o.PrefixNsWrappedArray) {
|
if o != nil && !IsNil(o.PrefixNsWrappedArray) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1005,91 +1005,91 @@ func (o XmlItem) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o XmlItem) ToMap() (map[string]interface{}, error) {
|
func (o XmlItem) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.AttributeString) {
|
if !IsNil(o.AttributeString) {
|
||||||
toSerialize["attribute_string"] = o.AttributeString
|
toSerialize["attribute_string"] = o.AttributeString
|
||||||
}
|
}
|
||||||
if !isNil(o.AttributeNumber) {
|
if !IsNil(o.AttributeNumber) {
|
||||||
toSerialize["attribute_number"] = o.AttributeNumber
|
toSerialize["attribute_number"] = o.AttributeNumber
|
||||||
}
|
}
|
||||||
if !isNil(o.AttributeInteger) {
|
if !IsNil(o.AttributeInteger) {
|
||||||
toSerialize["attribute_integer"] = o.AttributeInteger
|
toSerialize["attribute_integer"] = o.AttributeInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.AttributeBoolean) {
|
if !IsNil(o.AttributeBoolean) {
|
||||||
toSerialize["attribute_boolean"] = o.AttributeBoolean
|
toSerialize["attribute_boolean"] = o.AttributeBoolean
|
||||||
}
|
}
|
||||||
if !isNil(o.WrappedArray) {
|
if !IsNil(o.WrappedArray) {
|
||||||
toSerialize["wrapped_array"] = o.WrappedArray
|
toSerialize["wrapped_array"] = o.WrappedArray
|
||||||
}
|
}
|
||||||
if !isNil(o.NameString) {
|
if !IsNil(o.NameString) {
|
||||||
toSerialize["name_string"] = o.NameString
|
toSerialize["name_string"] = o.NameString
|
||||||
}
|
}
|
||||||
if !isNil(o.NameNumber) {
|
if !IsNil(o.NameNumber) {
|
||||||
toSerialize["name_number"] = o.NameNumber
|
toSerialize["name_number"] = o.NameNumber
|
||||||
}
|
}
|
||||||
if !isNil(o.NameInteger) {
|
if !IsNil(o.NameInteger) {
|
||||||
toSerialize["name_integer"] = o.NameInteger
|
toSerialize["name_integer"] = o.NameInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.NameBoolean) {
|
if !IsNil(o.NameBoolean) {
|
||||||
toSerialize["name_boolean"] = o.NameBoolean
|
toSerialize["name_boolean"] = o.NameBoolean
|
||||||
}
|
}
|
||||||
if !isNil(o.NameArray) {
|
if !IsNil(o.NameArray) {
|
||||||
toSerialize["name_array"] = o.NameArray
|
toSerialize["name_array"] = o.NameArray
|
||||||
}
|
}
|
||||||
if !isNil(o.NameWrappedArray) {
|
if !IsNil(o.NameWrappedArray) {
|
||||||
toSerialize["name_wrapped_array"] = o.NameWrappedArray
|
toSerialize["name_wrapped_array"] = o.NameWrappedArray
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixString) {
|
if !IsNil(o.PrefixString) {
|
||||||
toSerialize["prefix_string"] = o.PrefixString
|
toSerialize["prefix_string"] = o.PrefixString
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixNumber) {
|
if !IsNil(o.PrefixNumber) {
|
||||||
toSerialize["prefix_number"] = o.PrefixNumber
|
toSerialize["prefix_number"] = o.PrefixNumber
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixInteger) {
|
if !IsNil(o.PrefixInteger) {
|
||||||
toSerialize["prefix_integer"] = o.PrefixInteger
|
toSerialize["prefix_integer"] = o.PrefixInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixBoolean) {
|
if !IsNil(o.PrefixBoolean) {
|
||||||
toSerialize["prefix_boolean"] = o.PrefixBoolean
|
toSerialize["prefix_boolean"] = o.PrefixBoolean
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixArray) {
|
if !IsNil(o.PrefixArray) {
|
||||||
toSerialize["prefix_array"] = o.PrefixArray
|
toSerialize["prefix_array"] = o.PrefixArray
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixWrappedArray) {
|
if !IsNil(o.PrefixWrappedArray) {
|
||||||
toSerialize["prefix_wrapped_array"] = o.PrefixWrappedArray
|
toSerialize["prefix_wrapped_array"] = o.PrefixWrappedArray
|
||||||
}
|
}
|
||||||
if !isNil(o.NamespaceString) {
|
if !IsNil(o.NamespaceString) {
|
||||||
toSerialize["namespace_string"] = o.NamespaceString
|
toSerialize["namespace_string"] = o.NamespaceString
|
||||||
}
|
}
|
||||||
if !isNil(o.NamespaceNumber) {
|
if !IsNil(o.NamespaceNumber) {
|
||||||
toSerialize["namespace_number"] = o.NamespaceNumber
|
toSerialize["namespace_number"] = o.NamespaceNumber
|
||||||
}
|
}
|
||||||
if !isNil(o.NamespaceInteger) {
|
if !IsNil(o.NamespaceInteger) {
|
||||||
toSerialize["namespace_integer"] = o.NamespaceInteger
|
toSerialize["namespace_integer"] = o.NamespaceInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.NamespaceBoolean) {
|
if !IsNil(o.NamespaceBoolean) {
|
||||||
toSerialize["namespace_boolean"] = o.NamespaceBoolean
|
toSerialize["namespace_boolean"] = o.NamespaceBoolean
|
||||||
}
|
}
|
||||||
if !isNil(o.NamespaceArray) {
|
if !IsNil(o.NamespaceArray) {
|
||||||
toSerialize["namespace_array"] = o.NamespaceArray
|
toSerialize["namespace_array"] = o.NamespaceArray
|
||||||
}
|
}
|
||||||
if !isNil(o.NamespaceWrappedArray) {
|
if !IsNil(o.NamespaceWrappedArray) {
|
||||||
toSerialize["namespace_wrapped_array"] = o.NamespaceWrappedArray
|
toSerialize["namespace_wrapped_array"] = o.NamespaceWrappedArray
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixNsString) {
|
if !IsNil(o.PrefixNsString) {
|
||||||
toSerialize["prefix_ns_string"] = o.PrefixNsString
|
toSerialize["prefix_ns_string"] = o.PrefixNsString
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixNsNumber) {
|
if !IsNil(o.PrefixNsNumber) {
|
||||||
toSerialize["prefix_ns_number"] = o.PrefixNsNumber
|
toSerialize["prefix_ns_number"] = o.PrefixNsNumber
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixNsInteger) {
|
if !IsNil(o.PrefixNsInteger) {
|
||||||
toSerialize["prefix_ns_integer"] = o.PrefixNsInteger
|
toSerialize["prefix_ns_integer"] = o.PrefixNsInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixNsBoolean) {
|
if !IsNil(o.PrefixNsBoolean) {
|
||||||
toSerialize["prefix_ns_boolean"] = o.PrefixNsBoolean
|
toSerialize["prefix_ns_boolean"] = o.PrefixNsBoolean
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixNsArray) {
|
if !IsNil(o.PrefixNsArray) {
|
||||||
toSerialize["prefix_ns_array"] = o.PrefixNsArray
|
toSerialize["prefix_ns_array"] = o.PrefixNsArray
|
||||||
}
|
}
|
||||||
if !isNil(o.PrefixNsWrappedArray) {
|
if !IsNil(o.PrefixNsWrappedArray) {
|
||||||
toSerialize["prefix_ns_wrapped_array"] = o.PrefixNsWrappedArray
|
toSerialize["prefix_ns_wrapped_array"] = o.PrefixNsWrappedArray
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -328,8 +328,8 @@ func (v *NullableTime) UnmarshalJSON(src []byte) error {
|
|||||||
return json.Unmarshal(src, &v.value)
|
return json.Unmarshal(src, &v.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
// isNil checks if an input is nil
|
// IsNil checks if an input is nil
|
||||||
func isNil(i interface{}) bool {
|
func IsNil(i interface{}) bool {
|
||||||
if i == nil {
|
if i == nil {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
@ -328,8 +328,8 @@ func (v *NullableTime) UnmarshalJSON(src []byte) error {
|
|||||||
return json.Unmarshal(src, &v.value)
|
return json.Unmarshal(src, &v.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
// isNil checks if an input is nil
|
// IsNil checks if an input is nil
|
||||||
func isNil(i interface{}) bool {
|
func IsNil(i interface{}) bool {
|
||||||
if i == nil {
|
if i == nil {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ func NewModel200ResponseWithDefaults() *Model200Response {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *Model200Response) GetName() int32 {
|
func (o *Model200Response) GetName() int32 {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *Model200Response) GetName() int32 {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Model200Response) GetNameOk() (*int32, bool) {
|
func (o *Model200Response) GetNameOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -63,7 +63,7 @@ func (o *Model200Response) GetNameOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *Model200Response) HasName() bool {
|
func (o *Model200Response) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ func (o *Model200Response) SetName(v int32) {
|
|||||||
|
|
||||||
// GetClass returns the Class field value if set, zero value otherwise.
|
// GetClass returns the Class field value if set, zero value otherwise.
|
||||||
func (o *Model200Response) GetClass() string {
|
func (o *Model200Response) GetClass() string {
|
||||||
if o == nil || isNil(o.Class) {
|
if o == nil || IsNil(o.Class) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ func (o *Model200Response) GetClass() string {
|
|||||||
// GetClassOk returns a tuple with the Class field value if set, nil otherwise
|
// GetClassOk returns a tuple with the Class field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Model200Response) GetClassOk() (*string, bool) {
|
func (o *Model200Response) GetClassOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Class) {
|
if o == nil || IsNil(o.Class) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Class, true
|
return o.Class, true
|
||||||
@ -95,7 +95,7 @@ func (o *Model200Response) GetClassOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasClass returns a boolean if a field has been set.
|
// HasClass returns a boolean if a field has been set.
|
||||||
func (o *Model200Response) HasClass() bool {
|
func (o *Model200Response) HasClass() bool {
|
||||||
if o != nil && !isNil(o.Class) {
|
if o != nil && !IsNil(o.Class) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,10 +117,10 @@ func (o Model200Response) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Model200Response) ToMap() (map[string]interface{}, error) {
|
func (o Model200Response) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
if !isNil(o.Class) {
|
if !IsNil(o.Class) {
|
||||||
toSerialize["class"] = o.Class
|
toSerialize["class"] = o.Class
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewFooGetDefaultResponseWithDefaults() *FooGetDefaultResponse {
|
|||||||
|
|
||||||
// GetString returns the String field value if set, zero value otherwise.
|
// GetString returns the String field value if set, zero value otherwise.
|
||||||
func (o *FooGetDefaultResponse) GetString() Foo {
|
func (o *FooGetDefaultResponse) GetString() Foo {
|
||||||
if o == nil || isNil(o.String) {
|
if o == nil || IsNil(o.String) {
|
||||||
var ret Foo
|
var ret Foo
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *FooGetDefaultResponse) GetString() Foo {
|
|||||||
// GetStringOk returns a tuple with the String field value if set, nil otherwise
|
// GetStringOk returns a tuple with the String field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FooGetDefaultResponse) GetStringOk() (*Foo, bool) {
|
func (o *FooGetDefaultResponse) GetStringOk() (*Foo, bool) {
|
||||||
if o == nil || isNil(o.String) {
|
if o == nil || IsNil(o.String) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.String, true
|
return o.String, true
|
||||||
@ -62,7 +62,7 @@ func (o *FooGetDefaultResponse) GetStringOk() (*Foo, bool) {
|
|||||||
|
|
||||||
// HasString returns a boolean if a field has been set.
|
// HasString returns a boolean if a field has been set.
|
||||||
func (o *FooGetDefaultResponse) HasString() bool {
|
func (o *FooGetDefaultResponse) HasString() bool {
|
||||||
if o != nil && !isNil(o.String) {
|
if o != nil && !IsNil(o.String) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o FooGetDefaultResponse) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o FooGetDefaultResponse) ToMap() (map[string]interface{}, error) {
|
func (o FooGetDefaultResponse) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.String) {
|
if !IsNil(o.String) {
|
||||||
toSerialize["string"] = o.String
|
toSerialize["string"] = o.String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewSpecialModelNameWithDefaults() *SpecialModelName {
|
|||||||
|
|
||||||
// GetSpecialPropertyName returns the SpecialPropertyName field value if set, zero value otherwise.
|
// GetSpecialPropertyName returns the SpecialPropertyName field value if set, zero value otherwise.
|
||||||
func (o *SpecialModelName) GetSpecialPropertyName() int64 {
|
func (o *SpecialModelName) GetSpecialPropertyName() int64 {
|
||||||
if o == nil || isNil(o.SpecialPropertyName) {
|
if o == nil || IsNil(o.SpecialPropertyName) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *SpecialModelName) GetSpecialPropertyName() int64 {
|
|||||||
// GetSpecialPropertyNameOk returns a tuple with the SpecialPropertyName field value if set, nil otherwise
|
// GetSpecialPropertyNameOk returns a tuple with the SpecialPropertyName field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *SpecialModelName) GetSpecialPropertyNameOk() (*int64, bool) {
|
func (o *SpecialModelName) GetSpecialPropertyNameOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.SpecialPropertyName) {
|
if o == nil || IsNil(o.SpecialPropertyName) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SpecialPropertyName, true
|
return o.SpecialPropertyName, true
|
||||||
@ -62,7 +62,7 @@ func (o *SpecialModelName) GetSpecialPropertyNameOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasSpecialPropertyName returns a boolean if a field has been set.
|
// HasSpecialPropertyName returns a boolean if a field has been set.
|
||||||
func (o *SpecialModelName) HasSpecialPropertyName() bool {
|
func (o *SpecialModelName) HasSpecialPropertyName() bool {
|
||||||
if o != nil && !isNil(o.SpecialPropertyName) {
|
if o != nil && !IsNil(o.SpecialPropertyName) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o SpecialModelName) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o SpecialModelName) ToMap() (map[string]interface{}, error) {
|
func (o SpecialModelName) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.SpecialPropertyName) {
|
if !IsNil(o.SpecialPropertyName) {
|
||||||
toSerialize["$special[property.name]"] = o.SpecialPropertyName
|
toSerialize["$special[property.name]"] = o.SpecialPropertyName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func NewAdditionalPropertiesClassWithDefaults() *AdditionalPropertiesClass {
|
|||||||
|
|
||||||
// GetMapProperty returns the MapProperty field value if set, zero value otherwise.
|
// GetMapProperty returns the MapProperty field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetMapProperty() map[string]string {
|
func (o *AdditionalPropertiesClass) GetMapProperty() map[string]string {
|
||||||
if o == nil || isNil(o.MapProperty) {
|
if o == nil || IsNil(o.MapProperty) {
|
||||||
var ret map[string]string
|
var ret map[string]string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *AdditionalPropertiesClass) GetMapProperty() map[string]string {
|
|||||||
// GetMapPropertyOk returns a tuple with the MapProperty field value if set, nil otherwise
|
// GetMapPropertyOk returns a tuple with the MapProperty field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetMapPropertyOk() (*map[string]string, bool) {
|
func (o *AdditionalPropertiesClass) GetMapPropertyOk() (*map[string]string, bool) {
|
||||||
if o == nil || isNil(o.MapProperty) {
|
if o == nil || IsNil(o.MapProperty) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapProperty, true
|
return o.MapProperty, true
|
||||||
@ -63,7 +63,7 @@ func (o *AdditionalPropertiesClass) GetMapPropertyOk() (*map[string]string, bool
|
|||||||
|
|
||||||
// HasMapProperty returns a boolean if a field has been set.
|
// HasMapProperty returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasMapProperty() bool {
|
func (o *AdditionalPropertiesClass) HasMapProperty() bool {
|
||||||
if o != nil && !isNil(o.MapProperty) {
|
if o != nil && !IsNil(o.MapProperty) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ func (o *AdditionalPropertiesClass) SetMapProperty(v map[string]string) {
|
|||||||
|
|
||||||
// GetMapOfMapProperty returns the MapOfMapProperty field value if set, zero value otherwise.
|
// GetMapOfMapProperty returns the MapOfMapProperty field value if set, zero value otherwise.
|
||||||
func (o *AdditionalPropertiesClass) GetMapOfMapProperty() map[string]map[string]string {
|
func (o *AdditionalPropertiesClass) GetMapOfMapProperty() map[string]map[string]string {
|
||||||
if o == nil || isNil(o.MapOfMapProperty) {
|
if o == nil || IsNil(o.MapOfMapProperty) {
|
||||||
var ret map[string]map[string]string
|
var ret map[string]map[string]string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ func (o *AdditionalPropertiesClass) GetMapOfMapProperty() map[string]map[string]
|
|||||||
// GetMapOfMapPropertyOk returns a tuple with the MapOfMapProperty field value if set, nil otherwise
|
// GetMapOfMapPropertyOk returns a tuple with the MapOfMapProperty field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AdditionalPropertiesClass) GetMapOfMapPropertyOk() (*map[string]map[string]string, bool) {
|
func (o *AdditionalPropertiesClass) GetMapOfMapPropertyOk() (*map[string]map[string]string, bool) {
|
||||||
if o == nil || isNil(o.MapOfMapProperty) {
|
if o == nil || IsNil(o.MapOfMapProperty) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapOfMapProperty, true
|
return o.MapOfMapProperty, true
|
||||||
@ -95,7 +95,7 @@ func (o *AdditionalPropertiesClass) GetMapOfMapPropertyOk() (*map[string]map[str
|
|||||||
|
|
||||||
// HasMapOfMapProperty returns a boolean if a field has been set.
|
// HasMapOfMapProperty returns a boolean if a field has been set.
|
||||||
func (o *AdditionalPropertiesClass) HasMapOfMapProperty() bool {
|
func (o *AdditionalPropertiesClass) HasMapOfMapProperty() bool {
|
||||||
if o != nil && !isNil(o.MapOfMapProperty) {
|
if o != nil && !IsNil(o.MapOfMapProperty) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,10 +117,10 @@ func (o AdditionalPropertiesClass) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AdditionalPropertiesClass) ToMap() (map[string]interface{}, error) {
|
func (o AdditionalPropertiesClass) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.MapProperty) {
|
if !IsNil(o.MapProperty) {
|
||||||
toSerialize["map_property"] = o.MapProperty
|
toSerialize["map_property"] = o.MapProperty
|
||||||
}
|
}
|
||||||
if !isNil(o.MapOfMapProperty) {
|
if !IsNil(o.MapOfMapProperty) {
|
||||||
toSerialize["map_of_map_property"] = o.MapOfMapProperty
|
toSerialize["map_of_map_property"] = o.MapOfMapProperty
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func NewAllOfPrimitiveTypesWithDefaults() *AllOfPrimitiveTypes {
|
|||||||
|
|
||||||
// GetTest returns the Test field value if set, zero value otherwise.
|
// GetTest returns the Test field value if set, zero value otherwise.
|
||||||
func (o *AllOfPrimitiveTypes) GetTest() time.Time {
|
func (o *AllOfPrimitiveTypes) GetTest() time.Time {
|
||||||
if o == nil || isNil(o.Test) {
|
if o == nil || IsNil(o.Test) {
|
||||||
var ret time.Time
|
var ret time.Time
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *AllOfPrimitiveTypes) GetTest() time.Time {
|
|||||||
// GetTestOk returns a tuple with the Test field value if set, nil otherwise
|
// GetTestOk returns a tuple with the Test field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AllOfPrimitiveTypes) GetTestOk() (*time.Time, bool) {
|
func (o *AllOfPrimitiveTypes) GetTestOk() (*time.Time, bool) {
|
||||||
if o == nil || isNil(o.Test) {
|
if o == nil || IsNil(o.Test) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Test, true
|
return o.Test, true
|
||||||
@ -63,7 +63,7 @@ func (o *AllOfPrimitiveTypes) GetTestOk() (*time.Time, bool) {
|
|||||||
|
|
||||||
// HasTest returns a boolean if a field has been set.
|
// HasTest returns a boolean if a field has been set.
|
||||||
func (o *AllOfPrimitiveTypes) HasTest() bool {
|
func (o *AllOfPrimitiveTypes) HasTest() bool {
|
||||||
if o != nil && !isNil(o.Test) {
|
if o != nil && !IsNil(o.Test) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ func (o AllOfPrimitiveTypes) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AllOfPrimitiveTypes) ToMap() (map[string]interface{}, error) {
|
func (o AllOfPrimitiveTypes) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Test) {
|
if !IsNil(o.Test) {
|
||||||
toSerialize["test"] = o.Test
|
toSerialize["test"] = o.Test
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func NewAllOfPrimitiveTypesAllOfWithDefaults() *AllOfPrimitiveTypesAllOf {
|
|||||||
|
|
||||||
// GetTest returns the Test field value if set, zero value otherwise.
|
// GetTest returns the Test field value if set, zero value otherwise.
|
||||||
func (o *AllOfPrimitiveTypesAllOf) GetTest() time.Time {
|
func (o *AllOfPrimitiveTypesAllOf) GetTest() time.Time {
|
||||||
if o == nil || isNil(o.Test) {
|
if o == nil || IsNil(o.Test) {
|
||||||
var ret time.Time
|
var ret time.Time
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *AllOfPrimitiveTypesAllOf) GetTest() time.Time {
|
|||||||
// GetTestOk returns a tuple with the Test field value if set, nil otherwise
|
// GetTestOk returns a tuple with the Test field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AllOfPrimitiveTypesAllOf) GetTestOk() (*time.Time, bool) {
|
func (o *AllOfPrimitiveTypesAllOf) GetTestOk() (*time.Time, bool) {
|
||||||
if o == nil || isNil(o.Test) {
|
if o == nil || IsNil(o.Test) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Test, true
|
return o.Test, true
|
||||||
@ -63,7 +63,7 @@ func (o *AllOfPrimitiveTypesAllOf) GetTestOk() (*time.Time, bool) {
|
|||||||
|
|
||||||
// HasTest returns a boolean if a field has been set.
|
// HasTest returns a boolean if a field has been set.
|
||||||
func (o *AllOfPrimitiveTypesAllOf) HasTest() bool {
|
func (o *AllOfPrimitiveTypesAllOf) HasTest() bool {
|
||||||
if o != nil && !isNil(o.Test) {
|
if o != nil && !IsNil(o.Test) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ func (o AllOfPrimitiveTypesAllOf) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o AllOfPrimitiveTypesAllOf) ToMap() (map[string]interface{}, error) {
|
func (o AllOfPrimitiveTypesAllOf) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Test) {
|
if !IsNil(o.Test) {
|
||||||
toSerialize["test"] = o.Test
|
toSerialize["test"] = o.Test
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ func (o *Animal) SetClassName(v string) {
|
|||||||
|
|
||||||
// GetColor returns the Color field value if set, zero value otherwise.
|
// GetColor returns the Color field value if set, zero value otherwise.
|
||||||
func (o *Animal) GetColor() string {
|
func (o *Animal) GetColor() string {
|
||||||
if o == nil || isNil(o.Color) {
|
if o == nil || IsNil(o.Color) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -84,7 +84,7 @@ func (o *Animal) GetColor() string {
|
|||||||
// GetColorOk returns a tuple with the Color field value if set, nil otherwise
|
// GetColorOk returns a tuple with the Color field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Animal) GetColorOk() (*string, bool) {
|
func (o *Animal) GetColorOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Color) {
|
if o == nil || IsNil(o.Color) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Color, true
|
return o.Color, true
|
||||||
@ -92,7 +92,7 @@ func (o *Animal) GetColorOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasColor returns a boolean if a field has been set.
|
// HasColor returns a boolean if a field has been set.
|
||||||
func (o *Animal) HasColor() bool {
|
func (o *Animal) HasColor() bool {
|
||||||
if o != nil && !isNil(o.Color) {
|
if o != nil && !IsNil(o.Color) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ func (o Animal) MarshalJSON() ([]byte, error) {
|
|||||||
func (o Animal) ToMap() (map[string]interface{}, error) {
|
func (o Animal) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
toSerialize["className"] = o.ClassName
|
toSerialize["className"] = o.ClassName
|
||||||
if !isNil(o.Color) {
|
if !IsNil(o.Color) {
|
||||||
toSerialize["color"] = o.Color
|
toSerialize["color"] = o.Color
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ func NewApiResponseWithDefaults() *ApiResponse {
|
|||||||
|
|
||||||
// GetCode returns the Code field value if set, zero value otherwise.
|
// GetCode returns the Code field value if set, zero value otherwise.
|
||||||
func (o *ApiResponse) GetCode() int32 {
|
func (o *ApiResponse) GetCode() int32 {
|
||||||
if o == nil || isNil(o.Code) {
|
if o == nil || IsNil(o.Code) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -56,7 +56,7 @@ func (o *ApiResponse) GetCode() int32 {
|
|||||||
// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
|
// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ApiResponse) GetCodeOk() (*int32, bool) {
|
func (o *ApiResponse) GetCodeOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Code) {
|
if o == nil || IsNil(o.Code) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Code, true
|
return o.Code, true
|
||||||
@ -64,7 +64,7 @@ func (o *ApiResponse) GetCodeOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasCode returns a boolean if a field has been set.
|
// HasCode returns a boolean if a field has been set.
|
||||||
func (o *ApiResponse) HasCode() bool {
|
func (o *ApiResponse) HasCode() bool {
|
||||||
if o != nil && !isNil(o.Code) {
|
if o != nil && !IsNil(o.Code) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ func (o *ApiResponse) SetCode(v int32) {
|
|||||||
|
|
||||||
// GetType returns the Type field value if set, zero value otherwise.
|
// GetType returns the Type field value if set, zero value otherwise.
|
||||||
func (o *ApiResponse) GetType() string {
|
func (o *ApiResponse) GetType() string {
|
||||||
if o == nil || isNil(o.Type) {
|
if o == nil || IsNil(o.Type) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@ func (o *ApiResponse) GetType() string {
|
|||||||
// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
|
// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ApiResponse) GetTypeOk() (*string, bool) {
|
func (o *ApiResponse) GetTypeOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Type) {
|
if o == nil || IsNil(o.Type) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Type, true
|
return o.Type, true
|
||||||
@ -96,7 +96,7 @@ func (o *ApiResponse) GetTypeOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasType returns a boolean if a field has been set.
|
// HasType returns a boolean if a field has been set.
|
||||||
func (o *ApiResponse) HasType() bool {
|
func (o *ApiResponse) HasType() bool {
|
||||||
if o != nil && !isNil(o.Type) {
|
if o != nil && !IsNil(o.Type) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ func (o *ApiResponse) SetType(v string) {
|
|||||||
|
|
||||||
// GetMessage returns the Message field value if set, zero value otherwise.
|
// GetMessage returns the Message field value if set, zero value otherwise.
|
||||||
func (o *ApiResponse) GetMessage() string {
|
func (o *ApiResponse) GetMessage() string {
|
||||||
if o == nil || isNil(o.Message) {
|
if o == nil || IsNil(o.Message) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -120,7 +120,7 @@ func (o *ApiResponse) GetMessage() string {
|
|||||||
// GetMessageOk returns a tuple with the Message field value if set, nil otherwise
|
// GetMessageOk returns a tuple with the Message field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ApiResponse) GetMessageOk() (*string, bool) {
|
func (o *ApiResponse) GetMessageOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Message) {
|
if o == nil || IsNil(o.Message) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Message, true
|
return o.Message, true
|
||||||
@ -128,7 +128,7 @@ func (o *ApiResponse) GetMessageOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasMessage returns a boolean if a field has been set.
|
// HasMessage returns a boolean if a field has been set.
|
||||||
func (o *ApiResponse) HasMessage() bool {
|
func (o *ApiResponse) HasMessage() bool {
|
||||||
if o != nil && !isNil(o.Message) {
|
if o != nil && !IsNil(o.Message) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -150,13 +150,13 @@ func (o ApiResponse) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o ApiResponse) ToMap() (map[string]interface{}, error) {
|
func (o ApiResponse) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Code) {
|
if !IsNil(o.Code) {
|
||||||
toSerialize["code"] = o.Code
|
toSerialize["code"] = o.Code
|
||||||
}
|
}
|
||||||
if !isNil(o.Type) {
|
if !IsNil(o.Type) {
|
||||||
toSerialize["type"] = o.Type
|
toSerialize["type"] = o.Type
|
||||||
}
|
}
|
||||||
if !isNil(o.Message) {
|
if !IsNil(o.Message) {
|
||||||
toSerialize["message"] = o.Message
|
toSerialize["message"] = o.Message
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewAppleWithDefaults() *Apple {
|
|||||||
|
|
||||||
// GetCultivar returns the Cultivar field value if set, zero value otherwise.
|
// GetCultivar returns the Cultivar field value if set, zero value otherwise.
|
||||||
func (o *Apple) GetCultivar() string {
|
func (o *Apple) GetCultivar() string {
|
||||||
if o == nil || isNil(o.Cultivar) {
|
if o == nil || IsNil(o.Cultivar) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *Apple) GetCultivar() string {
|
|||||||
// GetCultivarOk returns a tuple with the Cultivar field value if set, nil otherwise
|
// GetCultivarOk returns a tuple with the Cultivar field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Apple) GetCultivarOk() (*string, bool) {
|
func (o *Apple) GetCultivarOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Cultivar) {
|
if o == nil || IsNil(o.Cultivar) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Cultivar, true
|
return o.Cultivar, true
|
||||||
@ -62,7 +62,7 @@ func (o *Apple) GetCultivarOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasCultivar returns a boolean if a field has been set.
|
// HasCultivar returns a boolean if a field has been set.
|
||||||
func (o *Apple) HasCultivar() bool {
|
func (o *Apple) HasCultivar() bool {
|
||||||
if o != nil && !isNil(o.Cultivar) {
|
if o != nil && !IsNil(o.Cultivar) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o Apple) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Apple) ToMap() (map[string]interface{}, error) {
|
func (o Apple) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Cultivar) {
|
if !IsNil(o.Cultivar) {
|
||||||
toSerialize["cultivar"] = o.Cultivar
|
toSerialize["cultivar"] = o.Cultivar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ func (o *AppleReq) SetCultivar(v string) {
|
|||||||
|
|
||||||
// GetMealy returns the Mealy field value if set, zero value otherwise.
|
// GetMealy returns the Mealy field value if set, zero value otherwise.
|
||||||
func (o *AppleReq) GetMealy() bool {
|
func (o *AppleReq) GetMealy() bool {
|
||||||
if o == nil || isNil(o.Mealy) {
|
if o == nil || IsNil(o.Mealy) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -80,7 +80,7 @@ func (o *AppleReq) GetMealy() bool {
|
|||||||
// GetMealyOk returns a tuple with the Mealy field value if set, nil otherwise
|
// GetMealyOk returns a tuple with the Mealy field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *AppleReq) GetMealyOk() (*bool, bool) {
|
func (o *AppleReq) GetMealyOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.Mealy) {
|
if o == nil || IsNil(o.Mealy) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Mealy, true
|
return o.Mealy, true
|
||||||
@ -88,7 +88,7 @@ func (o *AppleReq) GetMealyOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasMealy returns a boolean if a field has been set.
|
// HasMealy returns a boolean if a field has been set.
|
||||||
func (o *AppleReq) HasMealy() bool {
|
func (o *AppleReq) HasMealy() bool {
|
||||||
if o != nil && !isNil(o.Mealy) {
|
if o != nil && !IsNil(o.Mealy) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ func (o AppleReq) MarshalJSON() ([]byte, error) {
|
|||||||
func (o AppleReq) ToMap() (map[string]interface{}, error) {
|
func (o AppleReq) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
toSerialize["cultivar"] = o.Cultivar
|
toSerialize["cultivar"] = o.Cultivar
|
||||||
if !isNil(o.Mealy) {
|
if !IsNil(o.Mealy) {
|
||||||
toSerialize["mealy"] = o.Mealy
|
toSerialize["mealy"] = o.Mealy
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewArrayOfArrayOfNumberOnlyWithDefaults() *ArrayOfArrayOfNumberOnly {
|
|||||||
|
|
||||||
// GetArrayArrayNumber returns the ArrayArrayNumber field value if set, zero value otherwise.
|
// GetArrayArrayNumber returns the ArrayArrayNumber field value if set, zero value otherwise.
|
||||||
func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumber() [][]float32 {
|
func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumber() [][]float32 {
|
||||||
if o == nil || isNil(o.ArrayArrayNumber) {
|
if o == nil || IsNil(o.ArrayArrayNumber) {
|
||||||
var ret [][]float32
|
var ret [][]float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumber() [][]float32 {
|
|||||||
// GetArrayArrayNumberOk returns a tuple with the ArrayArrayNumber field value if set, nil otherwise
|
// GetArrayArrayNumberOk returns a tuple with the ArrayArrayNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumberOk() ([][]float32, bool) {
|
func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumberOk() ([][]float32, bool) {
|
||||||
if o == nil || isNil(o.ArrayArrayNumber) {
|
if o == nil || IsNil(o.ArrayArrayNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayArrayNumber, true
|
return o.ArrayArrayNumber, true
|
||||||
@ -62,7 +62,7 @@ func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumberOk() ([][]float32, bool) {
|
|||||||
|
|
||||||
// HasArrayArrayNumber returns a boolean if a field has been set.
|
// HasArrayArrayNumber returns a boolean if a field has been set.
|
||||||
func (o *ArrayOfArrayOfNumberOnly) HasArrayArrayNumber() bool {
|
func (o *ArrayOfArrayOfNumberOnly) HasArrayArrayNumber() bool {
|
||||||
if o != nil && !isNil(o.ArrayArrayNumber) {
|
if o != nil && !IsNil(o.ArrayArrayNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o ArrayOfArrayOfNumberOnly) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o ArrayOfArrayOfNumberOnly) ToMap() (map[string]interface{}, error) {
|
func (o ArrayOfArrayOfNumberOnly) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.ArrayArrayNumber) {
|
if !IsNil(o.ArrayArrayNumber) {
|
||||||
toSerialize["ArrayArrayNumber"] = o.ArrayArrayNumber
|
toSerialize["ArrayArrayNumber"] = o.ArrayArrayNumber
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewArrayOfNumberOnlyWithDefaults() *ArrayOfNumberOnly {
|
|||||||
|
|
||||||
// GetArrayNumber returns the ArrayNumber field value if set, zero value otherwise.
|
// GetArrayNumber returns the ArrayNumber field value if set, zero value otherwise.
|
||||||
func (o *ArrayOfNumberOnly) GetArrayNumber() []float32 {
|
func (o *ArrayOfNumberOnly) GetArrayNumber() []float32 {
|
||||||
if o == nil || isNil(o.ArrayNumber) {
|
if o == nil || IsNil(o.ArrayNumber) {
|
||||||
var ret []float32
|
var ret []float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *ArrayOfNumberOnly) GetArrayNumber() []float32 {
|
|||||||
// GetArrayNumberOk returns a tuple with the ArrayNumber field value if set, nil otherwise
|
// GetArrayNumberOk returns a tuple with the ArrayNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ArrayOfNumberOnly) GetArrayNumberOk() ([]float32, bool) {
|
func (o *ArrayOfNumberOnly) GetArrayNumberOk() ([]float32, bool) {
|
||||||
if o == nil || isNil(o.ArrayNumber) {
|
if o == nil || IsNil(o.ArrayNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayNumber, true
|
return o.ArrayNumber, true
|
||||||
@ -62,7 +62,7 @@ func (o *ArrayOfNumberOnly) GetArrayNumberOk() ([]float32, bool) {
|
|||||||
|
|
||||||
// HasArrayNumber returns a boolean if a field has been set.
|
// HasArrayNumber returns a boolean if a field has been set.
|
||||||
func (o *ArrayOfNumberOnly) HasArrayNumber() bool {
|
func (o *ArrayOfNumberOnly) HasArrayNumber() bool {
|
||||||
if o != nil && !isNil(o.ArrayNumber) {
|
if o != nil && !IsNil(o.ArrayNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o ArrayOfNumberOnly) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o ArrayOfNumberOnly) ToMap() (map[string]interface{}, error) {
|
func (o ArrayOfNumberOnly) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.ArrayNumber) {
|
if !IsNil(o.ArrayNumber) {
|
||||||
toSerialize["ArrayNumber"] = o.ArrayNumber
|
toSerialize["ArrayNumber"] = o.ArrayNumber
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ func NewArrayTestWithDefaults() *ArrayTest {
|
|||||||
|
|
||||||
// GetArrayOfString returns the ArrayOfString field value if set, zero value otherwise.
|
// GetArrayOfString returns the ArrayOfString field value if set, zero value otherwise.
|
||||||
func (o *ArrayTest) GetArrayOfString() []string {
|
func (o *ArrayTest) GetArrayOfString() []string {
|
||||||
if o == nil || isNil(o.ArrayOfString) {
|
if o == nil || IsNil(o.ArrayOfString) {
|
||||||
var ret []string
|
var ret []string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -56,7 +56,7 @@ func (o *ArrayTest) GetArrayOfString() []string {
|
|||||||
// GetArrayOfStringOk returns a tuple with the ArrayOfString field value if set, nil otherwise
|
// GetArrayOfStringOk returns a tuple with the ArrayOfString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ArrayTest) GetArrayOfStringOk() ([]string, bool) {
|
func (o *ArrayTest) GetArrayOfStringOk() ([]string, bool) {
|
||||||
if o == nil || isNil(o.ArrayOfString) {
|
if o == nil || IsNil(o.ArrayOfString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayOfString, true
|
return o.ArrayOfString, true
|
||||||
@ -64,7 +64,7 @@ func (o *ArrayTest) GetArrayOfStringOk() ([]string, bool) {
|
|||||||
|
|
||||||
// HasArrayOfString returns a boolean if a field has been set.
|
// HasArrayOfString returns a boolean if a field has been set.
|
||||||
func (o *ArrayTest) HasArrayOfString() bool {
|
func (o *ArrayTest) HasArrayOfString() bool {
|
||||||
if o != nil && !isNil(o.ArrayOfString) {
|
if o != nil && !IsNil(o.ArrayOfString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ func (o *ArrayTest) SetArrayOfString(v []string) {
|
|||||||
|
|
||||||
// GetArrayArrayOfInteger returns the ArrayArrayOfInteger field value if set, zero value otherwise.
|
// GetArrayArrayOfInteger returns the ArrayArrayOfInteger field value if set, zero value otherwise.
|
||||||
func (o *ArrayTest) GetArrayArrayOfInteger() [][]int64 {
|
func (o *ArrayTest) GetArrayArrayOfInteger() [][]int64 {
|
||||||
if o == nil || isNil(o.ArrayArrayOfInteger) {
|
if o == nil || IsNil(o.ArrayArrayOfInteger) {
|
||||||
var ret [][]int64
|
var ret [][]int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@ func (o *ArrayTest) GetArrayArrayOfInteger() [][]int64 {
|
|||||||
// GetArrayArrayOfIntegerOk returns a tuple with the ArrayArrayOfInteger field value if set, nil otherwise
|
// GetArrayArrayOfIntegerOk returns a tuple with the ArrayArrayOfInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ArrayTest) GetArrayArrayOfIntegerOk() ([][]int64, bool) {
|
func (o *ArrayTest) GetArrayArrayOfIntegerOk() ([][]int64, bool) {
|
||||||
if o == nil || isNil(o.ArrayArrayOfInteger) {
|
if o == nil || IsNil(o.ArrayArrayOfInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayArrayOfInteger, true
|
return o.ArrayArrayOfInteger, true
|
||||||
@ -96,7 +96,7 @@ func (o *ArrayTest) GetArrayArrayOfIntegerOk() ([][]int64, bool) {
|
|||||||
|
|
||||||
// HasArrayArrayOfInteger returns a boolean if a field has been set.
|
// HasArrayArrayOfInteger returns a boolean if a field has been set.
|
||||||
func (o *ArrayTest) HasArrayArrayOfInteger() bool {
|
func (o *ArrayTest) HasArrayArrayOfInteger() bool {
|
||||||
if o != nil && !isNil(o.ArrayArrayOfInteger) {
|
if o != nil && !IsNil(o.ArrayArrayOfInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ func (o *ArrayTest) SetArrayArrayOfInteger(v [][]int64) {
|
|||||||
|
|
||||||
// GetArrayArrayOfModel returns the ArrayArrayOfModel field value if set, zero value otherwise.
|
// GetArrayArrayOfModel returns the ArrayArrayOfModel field value if set, zero value otherwise.
|
||||||
func (o *ArrayTest) GetArrayArrayOfModel() [][]ReadOnlyFirst {
|
func (o *ArrayTest) GetArrayArrayOfModel() [][]ReadOnlyFirst {
|
||||||
if o == nil || isNil(o.ArrayArrayOfModel) {
|
if o == nil || IsNil(o.ArrayArrayOfModel) {
|
||||||
var ret [][]ReadOnlyFirst
|
var ret [][]ReadOnlyFirst
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -120,7 +120,7 @@ func (o *ArrayTest) GetArrayArrayOfModel() [][]ReadOnlyFirst {
|
|||||||
// GetArrayArrayOfModelOk returns a tuple with the ArrayArrayOfModel field value if set, nil otherwise
|
// GetArrayArrayOfModelOk returns a tuple with the ArrayArrayOfModel field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ArrayTest) GetArrayArrayOfModelOk() ([][]ReadOnlyFirst, bool) {
|
func (o *ArrayTest) GetArrayArrayOfModelOk() ([][]ReadOnlyFirst, bool) {
|
||||||
if o == nil || isNil(o.ArrayArrayOfModel) {
|
if o == nil || IsNil(o.ArrayArrayOfModel) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayArrayOfModel, true
|
return o.ArrayArrayOfModel, true
|
||||||
@ -128,7 +128,7 @@ func (o *ArrayTest) GetArrayArrayOfModelOk() ([][]ReadOnlyFirst, bool) {
|
|||||||
|
|
||||||
// HasArrayArrayOfModel returns a boolean if a field has been set.
|
// HasArrayArrayOfModel returns a boolean if a field has been set.
|
||||||
func (o *ArrayTest) HasArrayArrayOfModel() bool {
|
func (o *ArrayTest) HasArrayArrayOfModel() bool {
|
||||||
if o != nil && !isNil(o.ArrayArrayOfModel) {
|
if o != nil && !IsNil(o.ArrayArrayOfModel) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -150,13 +150,13 @@ func (o ArrayTest) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o ArrayTest) ToMap() (map[string]interface{}, error) {
|
func (o ArrayTest) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.ArrayOfString) {
|
if !IsNil(o.ArrayOfString) {
|
||||||
toSerialize["array_of_string"] = o.ArrayOfString
|
toSerialize["array_of_string"] = o.ArrayOfString
|
||||||
}
|
}
|
||||||
if !isNil(o.ArrayArrayOfInteger) {
|
if !IsNil(o.ArrayArrayOfInteger) {
|
||||||
toSerialize["array_array_of_integer"] = o.ArrayArrayOfInteger
|
toSerialize["array_array_of_integer"] = o.ArrayArrayOfInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.ArrayArrayOfModel) {
|
if !IsNil(o.ArrayArrayOfModel) {
|
||||||
toSerialize["array_array_of_model"] = o.ArrayArrayOfModel
|
toSerialize["array_array_of_model"] = o.ArrayArrayOfModel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewBananaWithDefaults() *Banana {
|
|||||||
|
|
||||||
// GetLengthCm returns the LengthCm field value if set, zero value otherwise.
|
// GetLengthCm returns the LengthCm field value if set, zero value otherwise.
|
||||||
func (o *Banana) GetLengthCm() float32 {
|
func (o *Banana) GetLengthCm() float32 {
|
||||||
if o == nil || isNil(o.LengthCm) {
|
if o == nil || IsNil(o.LengthCm) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *Banana) GetLengthCm() float32 {
|
|||||||
// GetLengthCmOk returns a tuple with the LengthCm field value if set, nil otherwise
|
// GetLengthCmOk returns a tuple with the LengthCm field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Banana) GetLengthCmOk() (*float32, bool) {
|
func (o *Banana) GetLengthCmOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.LengthCm) {
|
if o == nil || IsNil(o.LengthCm) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.LengthCm, true
|
return o.LengthCm, true
|
||||||
@ -62,7 +62,7 @@ func (o *Banana) GetLengthCmOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasLengthCm returns a boolean if a field has been set.
|
// HasLengthCm returns a boolean if a field has been set.
|
||||||
func (o *Banana) HasLengthCm() bool {
|
func (o *Banana) HasLengthCm() bool {
|
||||||
if o != nil && !isNil(o.LengthCm) {
|
if o != nil && !IsNil(o.LengthCm) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o Banana) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Banana) ToMap() (map[string]interface{}, error) {
|
func (o Banana) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.LengthCm) {
|
if !IsNil(o.LengthCm) {
|
||||||
toSerialize["lengthCm"] = o.LengthCm
|
toSerialize["lengthCm"] = o.LengthCm
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ func (o *BananaReq) SetLengthCm(v float32) {
|
|||||||
|
|
||||||
// GetSweet returns the Sweet field value if set, zero value otherwise.
|
// GetSweet returns the Sweet field value if set, zero value otherwise.
|
||||||
func (o *BananaReq) GetSweet() bool {
|
func (o *BananaReq) GetSweet() bool {
|
||||||
if o == nil || isNil(o.Sweet) {
|
if o == nil || IsNil(o.Sweet) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -80,7 +80,7 @@ func (o *BananaReq) GetSweet() bool {
|
|||||||
// GetSweetOk returns a tuple with the Sweet field value if set, nil otherwise
|
// GetSweetOk returns a tuple with the Sweet field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *BananaReq) GetSweetOk() (*bool, bool) {
|
func (o *BananaReq) GetSweetOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.Sweet) {
|
if o == nil || IsNil(o.Sweet) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Sweet, true
|
return o.Sweet, true
|
||||||
@ -88,7 +88,7 @@ func (o *BananaReq) GetSweetOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasSweet returns a boolean if a field has been set.
|
// HasSweet returns a boolean if a field has been set.
|
||||||
func (o *BananaReq) HasSweet() bool {
|
func (o *BananaReq) HasSweet() bool {
|
||||||
if o != nil && !isNil(o.Sweet) {
|
if o != nil && !IsNil(o.Sweet) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ func (o BananaReq) MarshalJSON() ([]byte, error) {
|
|||||||
func (o BananaReq) ToMap() (map[string]interface{}, error) {
|
func (o BananaReq) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
toSerialize["lengthCm"] = o.LengthCm
|
toSerialize["lengthCm"] = o.LengthCm
|
||||||
if !isNil(o.Sweet) {
|
if !IsNil(o.Sweet) {
|
||||||
toSerialize["sweet"] = o.Sweet
|
toSerialize["sweet"] = o.Sweet
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ func NewCapitalizationWithDefaults() *Capitalization {
|
|||||||
|
|
||||||
// GetSmallCamel returns the SmallCamel field value if set, zero value otherwise.
|
// GetSmallCamel returns the SmallCamel field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetSmallCamel() string {
|
func (o *Capitalization) GetSmallCamel() string {
|
||||||
if o == nil || isNil(o.SmallCamel) {
|
if o == nil || IsNil(o.SmallCamel) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -60,7 +60,7 @@ func (o *Capitalization) GetSmallCamel() string {
|
|||||||
// GetSmallCamelOk returns a tuple with the SmallCamel field value if set, nil otherwise
|
// GetSmallCamelOk returns a tuple with the SmallCamel field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetSmallCamelOk() (*string, bool) {
|
func (o *Capitalization) GetSmallCamelOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.SmallCamel) {
|
if o == nil || IsNil(o.SmallCamel) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SmallCamel, true
|
return o.SmallCamel, true
|
||||||
@ -68,7 +68,7 @@ func (o *Capitalization) GetSmallCamelOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasSmallCamel returns a boolean if a field has been set.
|
// HasSmallCamel returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasSmallCamel() bool {
|
func (o *Capitalization) HasSmallCamel() bool {
|
||||||
if o != nil && !isNil(o.SmallCamel) {
|
if o != nil && !IsNil(o.SmallCamel) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ func (o *Capitalization) SetSmallCamel(v string) {
|
|||||||
|
|
||||||
// GetCapitalCamel returns the CapitalCamel field value if set, zero value otherwise.
|
// GetCapitalCamel returns the CapitalCamel field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetCapitalCamel() string {
|
func (o *Capitalization) GetCapitalCamel() string {
|
||||||
if o == nil || isNil(o.CapitalCamel) {
|
if o == nil || IsNil(o.CapitalCamel) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -92,7 +92,7 @@ func (o *Capitalization) GetCapitalCamel() string {
|
|||||||
// GetCapitalCamelOk returns a tuple with the CapitalCamel field value if set, nil otherwise
|
// GetCapitalCamelOk returns a tuple with the CapitalCamel field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetCapitalCamelOk() (*string, bool) {
|
func (o *Capitalization) GetCapitalCamelOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.CapitalCamel) {
|
if o == nil || IsNil(o.CapitalCamel) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.CapitalCamel, true
|
return o.CapitalCamel, true
|
||||||
@ -100,7 +100,7 @@ func (o *Capitalization) GetCapitalCamelOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasCapitalCamel returns a boolean if a field has been set.
|
// HasCapitalCamel returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasCapitalCamel() bool {
|
func (o *Capitalization) HasCapitalCamel() bool {
|
||||||
if o != nil && !isNil(o.CapitalCamel) {
|
if o != nil && !IsNil(o.CapitalCamel) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ func (o *Capitalization) SetCapitalCamel(v string) {
|
|||||||
|
|
||||||
// GetSmallSnake returns the SmallSnake field value if set, zero value otherwise.
|
// GetSmallSnake returns the SmallSnake field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetSmallSnake() string {
|
func (o *Capitalization) GetSmallSnake() string {
|
||||||
if o == nil || isNil(o.SmallSnake) {
|
if o == nil || IsNil(o.SmallSnake) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -124,7 +124,7 @@ func (o *Capitalization) GetSmallSnake() string {
|
|||||||
// GetSmallSnakeOk returns a tuple with the SmallSnake field value if set, nil otherwise
|
// GetSmallSnakeOk returns a tuple with the SmallSnake field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetSmallSnakeOk() (*string, bool) {
|
func (o *Capitalization) GetSmallSnakeOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.SmallSnake) {
|
if o == nil || IsNil(o.SmallSnake) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SmallSnake, true
|
return o.SmallSnake, true
|
||||||
@ -132,7 +132,7 @@ func (o *Capitalization) GetSmallSnakeOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasSmallSnake returns a boolean if a field has been set.
|
// HasSmallSnake returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasSmallSnake() bool {
|
func (o *Capitalization) HasSmallSnake() bool {
|
||||||
if o != nil && !isNil(o.SmallSnake) {
|
if o != nil && !IsNil(o.SmallSnake) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ func (o *Capitalization) SetSmallSnake(v string) {
|
|||||||
|
|
||||||
// GetCapitalSnake returns the CapitalSnake field value if set, zero value otherwise.
|
// GetCapitalSnake returns the CapitalSnake field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetCapitalSnake() string {
|
func (o *Capitalization) GetCapitalSnake() string {
|
||||||
if o == nil || isNil(o.CapitalSnake) {
|
if o == nil || IsNil(o.CapitalSnake) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -156,7 +156,7 @@ func (o *Capitalization) GetCapitalSnake() string {
|
|||||||
// GetCapitalSnakeOk returns a tuple with the CapitalSnake field value if set, nil otherwise
|
// GetCapitalSnakeOk returns a tuple with the CapitalSnake field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetCapitalSnakeOk() (*string, bool) {
|
func (o *Capitalization) GetCapitalSnakeOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.CapitalSnake) {
|
if o == nil || IsNil(o.CapitalSnake) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.CapitalSnake, true
|
return o.CapitalSnake, true
|
||||||
@ -164,7 +164,7 @@ func (o *Capitalization) GetCapitalSnakeOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasCapitalSnake returns a boolean if a field has been set.
|
// HasCapitalSnake returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasCapitalSnake() bool {
|
func (o *Capitalization) HasCapitalSnake() bool {
|
||||||
if o != nil && !isNil(o.CapitalSnake) {
|
if o != nil && !IsNil(o.CapitalSnake) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -178,7 +178,7 @@ func (o *Capitalization) SetCapitalSnake(v string) {
|
|||||||
|
|
||||||
// GetSCAETHFlowPoints returns the SCAETHFlowPoints field value if set, zero value otherwise.
|
// GetSCAETHFlowPoints returns the SCAETHFlowPoints field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetSCAETHFlowPoints() string {
|
func (o *Capitalization) GetSCAETHFlowPoints() string {
|
||||||
if o == nil || isNil(o.SCAETHFlowPoints) {
|
if o == nil || IsNil(o.SCAETHFlowPoints) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -188,7 +188,7 @@ func (o *Capitalization) GetSCAETHFlowPoints() string {
|
|||||||
// GetSCAETHFlowPointsOk returns a tuple with the SCAETHFlowPoints field value if set, nil otherwise
|
// GetSCAETHFlowPointsOk returns a tuple with the SCAETHFlowPoints field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetSCAETHFlowPointsOk() (*string, bool) {
|
func (o *Capitalization) GetSCAETHFlowPointsOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.SCAETHFlowPoints) {
|
if o == nil || IsNil(o.SCAETHFlowPoints) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SCAETHFlowPoints, true
|
return o.SCAETHFlowPoints, true
|
||||||
@ -196,7 +196,7 @@ func (o *Capitalization) GetSCAETHFlowPointsOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasSCAETHFlowPoints returns a boolean if a field has been set.
|
// HasSCAETHFlowPoints returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasSCAETHFlowPoints() bool {
|
func (o *Capitalization) HasSCAETHFlowPoints() bool {
|
||||||
if o != nil && !isNil(o.SCAETHFlowPoints) {
|
if o != nil && !IsNil(o.SCAETHFlowPoints) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ func (o *Capitalization) SetSCAETHFlowPoints(v string) {
|
|||||||
|
|
||||||
// GetATT_NAME returns the ATT_NAME field value if set, zero value otherwise.
|
// GetATT_NAME returns the ATT_NAME field value if set, zero value otherwise.
|
||||||
func (o *Capitalization) GetATT_NAME() string {
|
func (o *Capitalization) GetATT_NAME() string {
|
||||||
if o == nil || isNil(o.ATT_NAME) {
|
if o == nil || IsNil(o.ATT_NAME) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -220,7 +220,7 @@ func (o *Capitalization) GetATT_NAME() string {
|
|||||||
// GetATT_NAMEOk returns a tuple with the ATT_NAME field value if set, nil otherwise
|
// GetATT_NAMEOk returns a tuple with the ATT_NAME field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Capitalization) GetATT_NAMEOk() (*string, bool) {
|
func (o *Capitalization) GetATT_NAMEOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.ATT_NAME) {
|
if o == nil || IsNil(o.ATT_NAME) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ATT_NAME, true
|
return o.ATT_NAME, true
|
||||||
@ -228,7 +228,7 @@ func (o *Capitalization) GetATT_NAMEOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasATT_NAME returns a boolean if a field has been set.
|
// HasATT_NAME returns a boolean if a field has been set.
|
||||||
func (o *Capitalization) HasATT_NAME() bool {
|
func (o *Capitalization) HasATT_NAME() bool {
|
||||||
if o != nil && !isNil(o.ATT_NAME) {
|
if o != nil && !IsNil(o.ATT_NAME) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -250,22 +250,22 @@ func (o Capitalization) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Capitalization) ToMap() (map[string]interface{}, error) {
|
func (o Capitalization) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.SmallCamel) {
|
if !IsNil(o.SmallCamel) {
|
||||||
toSerialize["smallCamel"] = o.SmallCamel
|
toSerialize["smallCamel"] = o.SmallCamel
|
||||||
}
|
}
|
||||||
if !isNil(o.CapitalCamel) {
|
if !IsNil(o.CapitalCamel) {
|
||||||
toSerialize["CapitalCamel"] = o.CapitalCamel
|
toSerialize["CapitalCamel"] = o.CapitalCamel
|
||||||
}
|
}
|
||||||
if !isNil(o.SmallSnake) {
|
if !IsNil(o.SmallSnake) {
|
||||||
toSerialize["small_Snake"] = o.SmallSnake
|
toSerialize["small_Snake"] = o.SmallSnake
|
||||||
}
|
}
|
||||||
if !isNil(o.CapitalSnake) {
|
if !IsNil(o.CapitalSnake) {
|
||||||
toSerialize["Capital_Snake"] = o.CapitalSnake
|
toSerialize["Capital_Snake"] = o.CapitalSnake
|
||||||
}
|
}
|
||||||
if !isNil(o.SCAETHFlowPoints) {
|
if !IsNil(o.SCAETHFlowPoints) {
|
||||||
toSerialize["SCA_ETH_Flow_Points"] = o.SCAETHFlowPoints
|
toSerialize["SCA_ETH_Flow_Points"] = o.SCAETHFlowPoints
|
||||||
}
|
}
|
||||||
if !isNil(o.ATT_NAME) {
|
if !IsNil(o.ATT_NAME) {
|
||||||
toSerialize["ATT_NAME"] = o.ATT_NAME
|
toSerialize["ATT_NAME"] = o.ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ func NewCatWithDefaults() *Cat {
|
|||||||
|
|
||||||
// GetDeclawed returns the Declawed field value if set, zero value otherwise.
|
// GetDeclawed returns the Declawed field value if set, zero value otherwise.
|
||||||
func (o *Cat) GetDeclawed() bool {
|
func (o *Cat) GetDeclawed() bool {
|
||||||
if o == nil || isNil(o.Declawed) {
|
if o == nil || IsNil(o.Declawed) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -60,7 +60,7 @@ func (o *Cat) GetDeclawed() bool {
|
|||||||
// GetDeclawedOk returns a tuple with the Declawed field value if set, nil otherwise
|
// GetDeclawedOk returns a tuple with the Declawed field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Cat) GetDeclawedOk() (*bool, bool) {
|
func (o *Cat) GetDeclawedOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.Declawed) {
|
if o == nil || IsNil(o.Declawed) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Declawed, true
|
return o.Declawed, true
|
||||||
@ -68,7 +68,7 @@ func (o *Cat) GetDeclawedOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasDeclawed returns a boolean if a field has been set.
|
// HasDeclawed returns a boolean if a field has been set.
|
||||||
func (o *Cat) HasDeclawed() bool {
|
func (o *Cat) HasDeclawed() bool {
|
||||||
if o != nil && !isNil(o.Declawed) {
|
if o != nil && !IsNil(o.Declawed) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ func (o Cat) ToMap() (map[string]interface{}, error) {
|
|||||||
if errAnimal != nil {
|
if errAnimal != nil {
|
||||||
return map[string]interface{}{}, errAnimal
|
return map[string]interface{}{}, errAnimal
|
||||||
}
|
}
|
||||||
if !isNil(o.Declawed) {
|
if !IsNil(o.Declawed) {
|
||||||
toSerialize["declawed"] = o.Declawed
|
toSerialize["declawed"] = o.Declawed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewCatAllOfWithDefaults() *CatAllOf {
|
|||||||
|
|
||||||
// GetDeclawed returns the Declawed field value if set, zero value otherwise.
|
// GetDeclawed returns the Declawed field value if set, zero value otherwise.
|
||||||
func (o *CatAllOf) GetDeclawed() bool {
|
func (o *CatAllOf) GetDeclawed() bool {
|
||||||
if o == nil || isNil(o.Declawed) {
|
if o == nil || IsNil(o.Declawed) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *CatAllOf) GetDeclawed() bool {
|
|||||||
// GetDeclawedOk returns a tuple with the Declawed field value if set, nil otherwise
|
// GetDeclawedOk returns a tuple with the Declawed field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *CatAllOf) GetDeclawedOk() (*bool, bool) {
|
func (o *CatAllOf) GetDeclawedOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.Declawed) {
|
if o == nil || IsNil(o.Declawed) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Declawed, true
|
return o.Declawed, true
|
||||||
@ -62,7 +62,7 @@ func (o *CatAllOf) GetDeclawedOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasDeclawed returns a boolean if a field has been set.
|
// HasDeclawed returns a boolean if a field has been set.
|
||||||
func (o *CatAllOf) HasDeclawed() bool {
|
func (o *CatAllOf) HasDeclawed() bool {
|
||||||
if o != nil && !isNil(o.Declawed) {
|
if o != nil && !IsNil(o.Declawed) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o CatAllOf) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o CatAllOf) ToMap() (map[string]interface{}, error) {
|
func (o CatAllOf) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Declawed) {
|
if !IsNil(o.Declawed) {
|
||||||
toSerialize["declawed"] = o.Declawed
|
toSerialize["declawed"] = o.Declawed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ func NewCategoryWithDefaults() *Category {
|
|||||||
|
|
||||||
// GetId returns the Id field value if set, zero value otherwise.
|
// GetId returns the Id field value if set, zero value otherwise.
|
||||||
func (o *Category) GetId() int64 {
|
func (o *Category) GetId() int64 {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -58,7 +58,7 @@ func (o *Category) GetId() int64 {
|
|||||||
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Category) GetIdOk() (*int64, bool) {
|
func (o *Category) GetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Id, true
|
return o.Id, true
|
||||||
@ -66,7 +66,7 @@ func (o *Category) GetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasId returns a boolean if a field has been set.
|
// HasId returns a boolean if a field has been set.
|
||||||
func (o *Category) HasId() bool {
|
func (o *Category) HasId() bool {
|
||||||
if o != nil && !isNil(o.Id) {
|
if o != nil && !IsNil(o.Id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -112,7 +112,7 @@ func (o Category) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Category) ToMap() (map[string]interface{}, error) {
|
func (o Category) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Id) {
|
if !IsNil(o.Id) {
|
||||||
toSerialize["id"] = o.Id
|
toSerialize["id"] = o.Id
|
||||||
}
|
}
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
|
@ -44,7 +44,7 @@ func NewClassModelWithDefaults() *ClassModel {
|
|||||||
|
|
||||||
// GetClass returns the Class field value if set, zero value otherwise.
|
// GetClass returns the Class field value if set, zero value otherwise.
|
||||||
func (o *ClassModel) GetClass() string {
|
func (o *ClassModel) GetClass() string {
|
||||||
if o == nil || isNil(o.Class) {
|
if o == nil || IsNil(o.Class) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *ClassModel) GetClass() string {
|
|||||||
// GetClassOk returns a tuple with the Class field value if set, nil otherwise
|
// GetClassOk returns a tuple with the Class field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ClassModel) GetClassOk() (*string, bool) {
|
func (o *ClassModel) GetClassOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Class) {
|
if o == nil || IsNil(o.Class) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Class, true
|
return o.Class, true
|
||||||
@ -62,7 +62,7 @@ func (o *ClassModel) GetClassOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasClass returns a boolean if a field has been set.
|
// HasClass returns a boolean if a field has been set.
|
||||||
func (o *ClassModel) HasClass() bool {
|
func (o *ClassModel) HasClass() bool {
|
||||||
if o != nil && !isNil(o.Class) {
|
if o != nil && !IsNil(o.Class) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o ClassModel) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o ClassModel) ToMap() (map[string]interface{}, error) {
|
func (o ClassModel) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Class) {
|
if !IsNil(o.Class) {
|
||||||
toSerialize["_class"] = o.Class
|
toSerialize["_class"] = o.Class
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewClientWithDefaults() *Client {
|
|||||||
|
|
||||||
// GetClient returns the Client field value if set, zero value otherwise.
|
// GetClient returns the Client field value if set, zero value otherwise.
|
||||||
func (o *Client) GetClient() string {
|
func (o *Client) GetClient() string {
|
||||||
if o == nil || isNil(o.Client) {
|
if o == nil || IsNil(o.Client) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *Client) GetClient() string {
|
|||||||
// GetClientOk returns a tuple with the Client field value if set, nil otherwise
|
// GetClientOk returns a tuple with the Client field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Client) GetClientOk() (*string, bool) {
|
func (o *Client) GetClientOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Client) {
|
if o == nil || IsNil(o.Client) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Client, true
|
return o.Client, true
|
||||||
@ -62,7 +62,7 @@ func (o *Client) GetClientOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasClient returns a boolean if a field has been set.
|
// HasClient returns a boolean if a field has been set.
|
||||||
func (o *Client) HasClient() bool {
|
func (o *Client) HasClient() bool {
|
||||||
if o != nil && !isNil(o.Client) {
|
if o != nil && !IsNil(o.Client) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o Client) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Client) ToMap() (map[string]interface{}, error) {
|
func (o Client) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Client) {
|
if !IsNil(o.Client) {
|
||||||
toSerialize["client"] = o.Client
|
toSerialize["client"] = o.Client
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ func NewDogWithDefaults() *Dog {
|
|||||||
|
|
||||||
// GetBreed returns the Breed field value if set, zero value otherwise.
|
// GetBreed returns the Breed field value if set, zero value otherwise.
|
||||||
func (o *Dog) GetBreed() string {
|
func (o *Dog) GetBreed() string {
|
||||||
if o == nil || isNil(o.Breed) {
|
if o == nil || IsNil(o.Breed) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -60,7 +60,7 @@ func (o *Dog) GetBreed() string {
|
|||||||
// GetBreedOk returns a tuple with the Breed field value if set, nil otherwise
|
// GetBreedOk returns a tuple with the Breed field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Dog) GetBreedOk() (*string, bool) {
|
func (o *Dog) GetBreedOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Breed) {
|
if o == nil || IsNil(o.Breed) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Breed, true
|
return o.Breed, true
|
||||||
@ -68,7 +68,7 @@ func (o *Dog) GetBreedOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBreed returns a boolean if a field has been set.
|
// HasBreed returns a boolean if a field has been set.
|
||||||
func (o *Dog) HasBreed() bool {
|
func (o *Dog) HasBreed() bool {
|
||||||
if o != nil && !isNil(o.Breed) {
|
if o != nil && !IsNil(o.Breed) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ func (o Dog) ToMap() (map[string]interface{}, error) {
|
|||||||
if errAnimal != nil {
|
if errAnimal != nil {
|
||||||
return map[string]interface{}{}, errAnimal
|
return map[string]interface{}{}, errAnimal
|
||||||
}
|
}
|
||||||
if !isNil(o.Breed) {
|
if !IsNil(o.Breed) {
|
||||||
toSerialize["breed"] = o.Breed
|
toSerialize["breed"] = o.Breed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewDogAllOfWithDefaults() *DogAllOf {
|
|||||||
|
|
||||||
// GetBreed returns the Breed field value if set, zero value otherwise.
|
// GetBreed returns the Breed field value if set, zero value otherwise.
|
||||||
func (o *DogAllOf) GetBreed() string {
|
func (o *DogAllOf) GetBreed() string {
|
||||||
if o == nil || isNil(o.Breed) {
|
if o == nil || IsNil(o.Breed) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *DogAllOf) GetBreed() string {
|
|||||||
// GetBreedOk returns a tuple with the Breed field value if set, nil otherwise
|
// GetBreedOk returns a tuple with the Breed field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *DogAllOf) GetBreedOk() (*string, bool) {
|
func (o *DogAllOf) GetBreedOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Breed) {
|
if o == nil || IsNil(o.Breed) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Breed, true
|
return o.Breed, true
|
||||||
@ -62,7 +62,7 @@ func (o *DogAllOf) GetBreedOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBreed returns a boolean if a field has been set.
|
// HasBreed returns a boolean if a field has been set.
|
||||||
func (o *DogAllOf) HasBreed() bool {
|
func (o *DogAllOf) HasBreed() bool {
|
||||||
if o != nil && !isNil(o.Breed) {
|
if o != nil && !IsNil(o.Breed) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o DogAllOf) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o DogAllOf) ToMap() (map[string]interface{}, error) {
|
func (o DogAllOf) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Breed) {
|
if !IsNil(o.Breed) {
|
||||||
toSerialize["breed"] = o.Breed
|
toSerialize["breed"] = o.Breed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ func NewDuplicatedPropChildWithDefaults() *DuplicatedPropChild {
|
|||||||
|
|
||||||
// GetDupProp returns the DupProp field value if set, zero value otherwise.
|
// GetDupProp returns the DupProp field value if set, zero value otherwise.
|
||||||
func (o *DuplicatedPropChild) GetDupProp() string {
|
func (o *DuplicatedPropChild) GetDupProp() string {
|
||||||
if o == nil || isNil(o.DupProp) {
|
if o == nil || IsNil(o.DupProp) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -58,7 +58,7 @@ func (o *DuplicatedPropChild) GetDupProp() string {
|
|||||||
// GetDupPropOk returns a tuple with the DupProp field value if set, nil otherwise
|
// GetDupPropOk returns a tuple with the DupProp field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *DuplicatedPropChild) GetDupPropOk() (*string, bool) {
|
func (o *DuplicatedPropChild) GetDupPropOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.DupProp) {
|
if o == nil || IsNil(o.DupProp) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.DupProp, true
|
return o.DupProp, true
|
||||||
@ -66,7 +66,7 @@ func (o *DuplicatedPropChild) GetDupPropOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasDupProp returns a boolean if a field has been set.
|
// HasDupProp returns a boolean if a field has been set.
|
||||||
func (o *DuplicatedPropChild) HasDupProp() bool {
|
func (o *DuplicatedPropChild) HasDupProp() bool {
|
||||||
if o != nil && !isNil(o.DupProp) {
|
if o != nil && !IsNil(o.DupProp) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ func (o DuplicatedPropChild) ToMap() (map[string]interface{}, error) {
|
|||||||
if errDuplicatedPropParent != nil {
|
if errDuplicatedPropParent != nil {
|
||||||
return map[string]interface{}{}, errDuplicatedPropParent
|
return map[string]interface{}{}, errDuplicatedPropParent
|
||||||
}
|
}
|
||||||
if !isNil(o.DupProp) {
|
if !IsNil(o.DupProp) {
|
||||||
toSerialize["dup-prop"] = o.DupProp
|
toSerialize["dup-prop"] = o.DupProp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func NewDuplicatedPropChildAllOfWithDefaults() *DuplicatedPropChildAllOf {
|
|||||||
|
|
||||||
// GetDupProp returns the DupProp field value if set, zero value otherwise.
|
// GetDupProp returns the DupProp field value if set, zero value otherwise.
|
||||||
func (o *DuplicatedPropChildAllOf) GetDupProp() string {
|
func (o *DuplicatedPropChildAllOf) GetDupProp() string {
|
||||||
if o == nil || isNil(o.DupProp) {
|
if o == nil || IsNil(o.DupProp) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *DuplicatedPropChildAllOf) GetDupProp() string {
|
|||||||
// GetDupPropOk returns a tuple with the DupProp field value if set, nil otherwise
|
// GetDupPropOk returns a tuple with the DupProp field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *DuplicatedPropChildAllOf) GetDupPropOk() (*string, bool) {
|
func (o *DuplicatedPropChildAllOf) GetDupPropOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.DupProp) {
|
if o == nil || IsNil(o.DupProp) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.DupProp, true
|
return o.DupProp, true
|
||||||
@ -63,7 +63,7 @@ func (o *DuplicatedPropChildAllOf) GetDupPropOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasDupProp returns a boolean if a field has been set.
|
// HasDupProp returns a boolean if a field has been set.
|
||||||
func (o *DuplicatedPropChildAllOf) HasDupProp() bool {
|
func (o *DuplicatedPropChildAllOf) HasDupProp() bool {
|
||||||
if o != nil && !isNil(o.DupProp) {
|
if o != nil && !IsNil(o.DupProp) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ func (o DuplicatedPropChildAllOf) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o DuplicatedPropChildAllOf) ToMap() (map[string]interface{}, error) {
|
func (o DuplicatedPropChildAllOf) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.DupProp) {
|
if !IsNil(o.DupProp) {
|
||||||
toSerialize["dup-prop"] = o.DupProp
|
toSerialize["dup-prop"] = o.DupProp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func NewEnumArraysWithDefaults() *EnumArrays {
|
|||||||
|
|
||||||
// GetJustSymbol returns the JustSymbol field value if set, zero value otherwise.
|
// GetJustSymbol returns the JustSymbol field value if set, zero value otherwise.
|
||||||
func (o *EnumArrays) GetJustSymbol() string {
|
func (o *EnumArrays) GetJustSymbol() string {
|
||||||
if o == nil || isNil(o.JustSymbol) {
|
if o == nil || IsNil(o.JustSymbol) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *EnumArrays) GetJustSymbol() string {
|
|||||||
// GetJustSymbolOk returns a tuple with the JustSymbol field value if set, nil otherwise
|
// GetJustSymbolOk returns a tuple with the JustSymbol field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumArrays) GetJustSymbolOk() (*string, bool) {
|
func (o *EnumArrays) GetJustSymbolOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.JustSymbol) {
|
if o == nil || IsNil(o.JustSymbol) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.JustSymbol, true
|
return o.JustSymbol, true
|
||||||
@ -63,7 +63,7 @@ func (o *EnumArrays) GetJustSymbolOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasJustSymbol returns a boolean if a field has been set.
|
// HasJustSymbol returns a boolean if a field has been set.
|
||||||
func (o *EnumArrays) HasJustSymbol() bool {
|
func (o *EnumArrays) HasJustSymbol() bool {
|
||||||
if o != nil && !isNil(o.JustSymbol) {
|
if o != nil && !IsNil(o.JustSymbol) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ func (o *EnumArrays) SetJustSymbol(v string) {
|
|||||||
|
|
||||||
// GetArrayEnum returns the ArrayEnum field value if set, zero value otherwise.
|
// GetArrayEnum returns the ArrayEnum field value if set, zero value otherwise.
|
||||||
func (o *EnumArrays) GetArrayEnum() []string {
|
func (o *EnumArrays) GetArrayEnum() []string {
|
||||||
if o == nil || isNil(o.ArrayEnum) {
|
if o == nil || IsNil(o.ArrayEnum) {
|
||||||
var ret []string
|
var ret []string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ func (o *EnumArrays) GetArrayEnum() []string {
|
|||||||
// GetArrayEnumOk returns a tuple with the ArrayEnum field value if set, nil otherwise
|
// GetArrayEnumOk returns a tuple with the ArrayEnum field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumArrays) GetArrayEnumOk() ([]string, bool) {
|
func (o *EnumArrays) GetArrayEnumOk() ([]string, bool) {
|
||||||
if o == nil || isNil(o.ArrayEnum) {
|
if o == nil || IsNil(o.ArrayEnum) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayEnum, true
|
return o.ArrayEnum, true
|
||||||
@ -95,7 +95,7 @@ func (o *EnumArrays) GetArrayEnumOk() ([]string, bool) {
|
|||||||
|
|
||||||
// HasArrayEnum returns a boolean if a field has been set.
|
// HasArrayEnum returns a boolean if a field has been set.
|
||||||
func (o *EnumArrays) HasArrayEnum() bool {
|
func (o *EnumArrays) HasArrayEnum() bool {
|
||||||
if o != nil && !isNil(o.ArrayEnum) {
|
if o != nil && !IsNil(o.ArrayEnum) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,10 +117,10 @@ func (o EnumArrays) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o EnumArrays) ToMap() (map[string]interface{}, error) {
|
func (o EnumArrays) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.JustSymbol) {
|
if !IsNil(o.JustSymbol) {
|
||||||
toSerialize["just_symbol"] = o.JustSymbol
|
toSerialize["just_symbol"] = o.JustSymbol
|
||||||
}
|
}
|
||||||
if !isNil(o.ArrayEnum) {
|
if !IsNil(o.ArrayEnum) {
|
||||||
toSerialize["array_enum"] = o.ArrayEnum
|
toSerialize["array_enum"] = o.ArrayEnum
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ func NewEnumTestWithDefaults() *EnumTest {
|
|||||||
|
|
||||||
// GetEnumString returns the EnumString field value if set, zero value otherwise.
|
// GetEnumString returns the EnumString field value if set, zero value otherwise.
|
||||||
func (o *EnumTest) GetEnumString() string {
|
func (o *EnumTest) GetEnumString() string {
|
||||||
if o == nil || isNil(o.EnumString) {
|
if o == nil || IsNil(o.EnumString) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -70,7 +70,7 @@ func (o *EnumTest) GetEnumString() string {
|
|||||||
// GetEnumStringOk returns a tuple with the EnumString field value if set, nil otherwise
|
// GetEnumStringOk returns a tuple with the EnumString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumTest) GetEnumStringOk() (*string, bool) {
|
func (o *EnumTest) GetEnumStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.EnumString) {
|
if o == nil || IsNil(o.EnumString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.EnumString, true
|
return o.EnumString, true
|
||||||
@ -78,7 +78,7 @@ func (o *EnumTest) GetEnumStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasEnumString returns a boolean if a field has been set.
|
// HasEnumString returns a boolean if a field has been set.
|
||||||
func (o *EnumTest) HasEnumString() bool {
|
func (o *EnumTest) HasEnumString() bool {
|
||||||
if o != nil && !isNil(o.EnumString) {
|
if o != nil && !IsNil(o.EnumString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ func (o *EnumTest) SetEnumStringRequired(v string) {
|
|||||||
|
|
||||||
// GetEnumInteger returns the EnumInteger field value if set, zero value otherwise.
|
// GetEnumInteger returns the EnumInteger field value if set, zero value otherwise.
|
||||||
func (o *EnumTest) GetEnumInteger() int32 {
|
func (o *EnumTest) GetEnumInteger() int32 {
|
||||||
if o == nil || isNil(o.EnumInteger) {
|
if o == nil || IsNil(o.EnumInteger) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -126,7 +126,7 @@ func (o *EnumTest) GetEnumInteger() int32 {
|
|||||||
// GetEnumIntegerOk returns a tuple with the EnumInteger field value if set, nil otherwise
|
// GetEnumIntegerOk returns a tuple with the EnumInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumTest) GetEnumIntegerOk() (*int32, bool) {
|
func (o *EnumTest) GetEnumIntegerOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.EnumInteger) {
|
if o == nil || IsNil(o.EnumInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.EnumInteger, true
|
return o.EnumInteger, true
|
||||||
@ -134,7 +134,7 @@ func (o *EnumTest) GetEnumIntegerOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasEnumInteger returns a boolean if a field has been set.
|
// HasEnumInteger returns a boolean if a field has been set.
|
||||||
func (o *EnumTest) HasEnumInteger() bool {
|
func (o *EnumTest) HasEnumInteger() bool {
|
||||||
if o != nil && !isNil(o.EnumInteger) {
|
if o != nil && !IsNil(o.EnumInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ func (o *EnumTest) SetEnumInteger(v int32) {
|
|||||||
|
|
||||||
// GetEnumNumber returns the EnumNumber field value if set, zero value otherwise.
|
// GetEnumNumber returns the EnumNumber field value if set, zero value otherwise.
|
||||||
func (o *EnumTest) GetEnumNumber() float64 {
|
func (o *EnumTest) GetEnumNumber() float64 {
|
||||||
if o == nil || isNil(o.EnumNumber) {
|
if o == nil || IsNil(o.EnumNumber) {
|
||||||
var ret float64
|
var ret float64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -158,7 +158,7 @@ func (o *EnumTest) GetEnumNumber() float64 {
|
|||||||
// GetEnumNumberOk returns a tuple with the EnumNumber field value if set, nil otherwise
|
// GetEnumNumberOk returns a tuple with the EnumNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumTest) GetEnumNumberOk() (*float64, bool) {
|
func (o *EnumTest) GetEnumNumberOk() (*float64, bool) {
|
||||||
if o == nil || isNil(o.EnumNumber) {
|
if o == nil || IsNil(o.EnumNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.EnumNumber, true
|
return o.EnumNumber, true
|
||||||
@ -166,7 +166,7 @@ func (o *EnumTest) GetEnumNumberOk() (*float64, bool) {
|
|||||||
|
|
||||||
// HasEnumNumber returns a boolean if a field has been set.
|
// HasEnumNumber returns a boolean if a field has been set.
|
||||||
func (o *EnumTest) HasEnumNumber() bool {
|
func (o *EnumTest) HasEnumNumber() bool {
|
||||||
if o != nil && !isNil(o.EnumNumber) {
|
if o != nil && !IsNil(o.EnumNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ func (o *EnumTest) SetEnumNumber(v float64) {
|
|||||||
|
|
||||||
// GetOuterEnum returns the OuterEnum field value if set, zero value otherwise (both if not set or set to explicit null).
|
// GetOuterEnum returns the OuterEnum field value if set, zero value otherwise (both if not set or set to explicit null).
|
||||||
func (o *EnumTest) GetOuterEnum() OuterEnum {
|
func (o *EnumTest) GetOuterEnum() OuterEnum {
|
||||||
if o == nil || isNil(o.OuterEnum.Get()) {
|
if o == nil || IsNil(o.OuterEnum.Get()) {
|
||||||
var ret OuterEnum
|
var ret OuterEnum
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -222,7 +222,7 @@ func (o *EnumTest) UnsetOuterEnum() {
|
|||||||
|
|
||||||
// GetOuterEnumInteger returns the OuterEnumInteger field value if set, zero value otherwise.
|
// GetOuterEnumInteger returns the OuterEnumInteger field value if set, zero value otherwise.
|
||||||
func (o *EnumTest) GetOuterEnumInteger() OuterEnumInteger {
|
func (o *EnumTest) GetOuterEnumInteger() OuterEnumInteger {
|
||||||
if o == nil || isNil(o.OuterEnumInteger) {
|
if o == nil || IsNil(o.OuterEnumInteger) {
|
||||||
var ret OuterEnumInteger
|
var ret OuterEnumInteger
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -232,7 +232,7 @@ func (o *EnumTest) GetOuterEnumInteger() OuterEnumInteger {
|
|||||||
// GetOuterEnumIntegerOk returns a tuple with the OuterEnumInteger field value if set, nil otherwise
|
// GetOuterEnumIntegerOk returns a tuple with the OuterEnumInteger field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumTest) GetOuterEnumIntegerOk() (*OuterEnumInteger, bool) {
|
func (o *EnumTest) GetOuterEnumIntegerOk() (*OuterEnumInteger, bool) {
|
||||||
if o == nil || isNil(o.OuterEnumInteger) {
|
if o == nil || IsNil(o.OuterEnumInteger) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.OuterEnumInteger, true
|
return o.OuterEnumInteger, true
|
||||||
@ -240,7 +240,7 @@ func (o *EnumTest) GetOuterEnumIntegerOk() (*OuterEnumInteger, bool) {
|
|||||||
|
|
||||||
// HasOuterEnumInteger returns a boolean if a field has been set.
|
// HasOuterEnumInteger returns a boolean if a field has been set.
|
||||||
func (o *EnumTest) HasOuterEnumInteger() bool {
|
func (o *EnumTest) HasOuterEnumInteger() bool {
|
||||||
if o != nil && !isNil(o.OuterEnumInteger) {
|
if o != nil && !IsNil(o.OuterEnumInteger) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -254,7 +254,7 @@ func (o *EnumTest) SetOuterEnumInteger(v OuterEnumInteger) {
|
|||||||
|
|
||||||
// GetOuterEnumDefaultValue returns the OuterEnumDefaultValue field value if set, zero value otherwise.
|
// GetOuterEnumDefaultValue returns the OuterEnumDefaultValue field value if set, zero value otherwise.
|
||||||
func (o *EnumTest) GetOuterEnumDefaultValue() OuterEnumDefaultValue {
|
func (o *EnumTest) GetOuterEnumDefaultValue() OuterEnumDefaultValue {
|
||||||
if o == nil || isNil(o.OuterEnumDefaultValue) {
|
if o == nil || IsNil(o.OuterEnumDefaultValue) {
|
||||||
var ret OuterEnumDefaultValue
|
var ret OuterEnumDefaultValue
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -264,7 +264,7 @@ func (o *EnumTest) GetOuterEnumDefaultValue() OuterEnumDefaultValue {
|
|||||||
// GetOuterEnumDefaultValueOk returns a tuple with the OuterEnumDefaultValue field value if set, nil otherwise
|
// GetOuterEnumDefaultValueOk returns a tuple with the OuterEnumDefaultValue field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumTest) GetOuterEnumDefaultValueOk() (*OuterEnumDefaultValue, bool) {
|
func (o *EnumTest) GetOuterEnumDefaultValueOk() (*OuterEnumDefaultValue, bool) {
|
||||||
if o == nil || isNil(o.OuterEnumDefaultValue) {
|
if o == nil || IsNil(o.OuterEnumDefaultValue) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.OuterEnumDefaultValue, true
|
return o.OuterEnumDefaultValue, true
|
||||||
@ -272,7 +272,7 @@ func (o *EnumTest) GetOuterEnumDefaultValueOk() (*OuterEnumDefaultValue, bool) {
|
|||||||
|
|
||||||
// HasOuterEnumDefaultValue returns a boolean if a field has been set.
|
// HasOuterEnumDefaultValue returns a boolean if a field has been set.
|
||||||
func (o *EnumTest) HasOuterEnumDefaultValue() bool {
|
func (o *EnumTest) HasOuterEnumDefaultValue() bool {
|
||||||
if o != nil && !isNil(o.OuterEnumDefaultValue) {
|
if o != nil && !IsNil(o.OuterEnumDefaultValue) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -286,7 +286,7 @@ func (o *EnumTest) SetOuterEnumDefaultValue(v OuterEnumDefaultValue) {
|
|||||||
|
|
||||||
// GetOuterEnumIntegerDefaultValue returns the OuterEnumIntegerDefaultValue field value if set, zero value otherwise.
|
// GetOuterEnumIntegerDefaultValue returns the OuterEnumIntegerDefaultValue field value if set, zero value otherwise.
|
||||||
func (o *EnumTest) GetOuterEnumIntegerDefaultValue() OuterEnumIntegerDefaultValue {
|
func (o *EnumTest) GetOuterEnumIntegerDefaultValue() OuterEnumIntegerDefaultValue {
|
||||||
if o == nil || isNil(o.OuterEnumIntegerDefaultValue) {
|
if o == nil || IsNil(o.OuterEnumIntegerDefaultValue) {
|
||||||
var ret OuterEnumIntegerDefaultValue
|
var ret OuterEnumIntegerDefaultValue
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -296,7 +296,7 @@ func (o *EnumTest) GetOuterEnumIntegerDefaultValue() OuterEnumIntegerDefaultValu
|
|||||||
// GetOuterEnumIntegerDefaultValueOk returns a tuple with the OuterEnumIntegerDefaultValue field value if set, nil otherwise
|
// GetOuterEnumIntegerDefaultValueOk returns a tuple with the OuterEnumIntegerDefaultValue field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *EnumTest) GetOuterEnumIntegerDefaultValueOk() (*OuterEnumIntegerDefaultValue, bool) {
|
func (o *EnumTest) GetOuterEnumIntegerDefaultValueOk() (*OuterEnumIntegerDefaultValue, bool) {
|
||||||
if o == nil || isNil(o.OuterEnumIntegerDefaultValue) {
|
if o == nil || IsNil(o.OuterEnumIntegerDefaultValue) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.OuterEnumIntegerDefaultValue, true
|
return o.OuterEnumIntegerDefaultValue, true
|
||||||
@ -304,7 +304,7 @@ func (o *EnumTest) GetOuterEnumIntegerDefaultValueOk() (*OuterEnumIntegerDefault
|
|||||||
|
|
||||||
// HasOuterEnumIntegerDefaultValue returns a boolean if a field has been set.
|
// HasOuterEnumIntegerDefaultValue returns a boolean if a field has been set.
|
||||||
func (o *EnumTest) HasOuterEnumIntegerDefaultValue() bool {
|
func (o *EnumTest) HasOuterEnumIntegerDefaultValue() bool {
|
||||||
if o != nil && !isNil(o.OuterEnumIntegerDefaultValue) {
|
if o != nil && !IsNil(o.OuterEnumIntegerDefaultValue) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -326,26 +326,26 @@ func (o EnumTest) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o EnumTest) ToMap() (map[string]interface{}, error) {
|
func (o EnumTest) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.EnumString) {
|
if !IsNil(o.EnumString) {
|
||||||
toSerialize["enum_string"] = o.EnumString
|
toSerialize["enum_string"] = o.EnumString
|
||||||
}
|
}
|
||||||
toSerialize["enum_string_required"] = o.EnumStringRequired
|
toSerialize["enum_string_required"] = o.EnumStringRequired
|
||||||
if !isNil(o.EnumInteger) {
|
if !IsNil(o.EnumInteger) {
|
||||||
toSerialize["enum_integer"] = o.EnumInteger
|
toSerialize["enum_integer"] = o.EnumInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.EnumNumber) {
|
if !IsNil(o.EnumNumber) {
|
||||||
toSerialize["enum_number"] = o.EnumNumber
|
toSerialize["enum_number"] = o.EnumNumber
|
||||||
}
|
}
|
||||||
if o.OuterEnum.IsSet() {
|
if o.OuterEnum.IsSet() {
|
||||||
toSerialize["outerEnum"] = o.OuterEnum.Get()
|
toSerialize["outerEnum"] = o.OuterEnum.Get()
|
||||||
}
|
}
|
||||||
if !isNil(o.OuterEnumInteger) {
|
if !IsNil(o.OuterEnumInteger) {
|
||||||
toSerialize["outerEnumInteger"] = o.OuterEnumInteger
|
toSerialize["outerEnumInteger"] = o.OuterEnumInteger
|
||||||
}
|
}
|
||||||
if !isNil(o.OuterEnumDefaultValue) {
|
if !IsNil(o.OuterEnumDefaultValue) {
|
||||||
toSerialize["outerEnumDefaultValue"] = o.OuterEnumDefaultValue
|
toSerialize["outerEnumDefaultValue"] = o.OuterEnumDefaultValue
|
||||||
}
|
}
|
||||||
if !isNil(o.OuterEnumIntegerDefaultValue) {
|
if !IsNil(o.OuterEnumIntegerDefaultValue) {
|
||||||
toSerialize["outerEnumIntegerDefaultValue"] = o.OuterEnumIntegerDefaultValue
|
toSerialize["outerEnumIntegerDefaultValue"] = o.OuterEnumIntegerDefaultValue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func NewFileWithDefaults() *File {
|
|||||||
|
|
||||||
// GetSourceURI returns the SourceURI field value if set, zero value otherwise.
|
// GetSourceURI returns the SourceURI field value if set, zero value otherwise.
|
||||||
func (o *File) GetSourceURI() string {
|
func (o *File) GetSourceURI() string {
|
||||||
if o == nil || isNil(o.SourceURI) {
|
if o == nil || IsNil(o.SourceURI) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *File) GetSourceURI() string {
|
|||||||
// GetSourceURIOk returns a tuple with the SourceURI field value if set, nil otherwise
|
// GetSourceURIOk returns a tuple with the SourceURI field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *File) GetSourceURIOk() (*string, bool) {
|
func (o *File) GetSourceURIOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.SourceURI) {
|
if o == nil || IsNil(o.SourceURI) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SourceURI, true
|
return o.SourceURI, true
|
||||||
@ -63,7 +63,7 @@ func (o *File) GetSourceURIOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasSourceURI returns a boolean if a field has been set.
|
// HasSourceURI returns a boolean if a field has been set.
|
||||||
func (o *File) HasSourceURI() bool {
|
func (o *File) HasSourceURI() bool {
|
||||||
if o != nil && !isNil(o.SourceURI) {
|
if o != nil && !IsNil(o.SourceURI) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ func (o File) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o File) ToMap() (map[string]interface{}, error) {
|
func (o File) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.SourceURI) {
|
if !IsNil(o.SourceURI) {
|
||||||
toSerialize["sourceURI"] = o.SourceURI
|
toSerialize["sourceURI"] = o.SourceURI
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func NewFileSchemaTestClassWithDefaults() *FileSchemaTestClass {
|
|||||||
|
|
||||||
// GetFile returns the File field value if set, zero value otherwise.
|
// GetFile returns the File field value if set, zero value otherwise.
|
||||||
func (o *FileSchemaTestClass) GetFile() File {
|
func (o *FileSchemaTestClass) GetFile() File {
|
||||||
if o == nil || isNil(o.File) {
|
if o == nil || IsNil(o.File) {
|
||||||
var ret File
|
var ret File
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *FileSchemaTestClass) GetFile() File {
|
|||||||
// GetFileOk returns a tuple with the File field value if set, nil otherwise
|
// GetFileOk returns a tuple with the File field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FileSchemaTestClass) GetFileOk() (*File, bool) {
|
func (o *FileSchemaTestClass) GetFileOk() (*File, bool) {
|
||||||
if o == nil || isNil(o.File) {
|
if o == nil || IsNil(o.File) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.File, true
|
return o.File, true
|
||||||
@ -63,7 +63,7 @@ func (o *FileSchemaTestClass) GetFileOk() (*File, bool) {
|
|||||||
|
|
||||||
// HasFile returns a boolean if a field has been set.
|
// HasFile returns a boolean if a field has been set.
|
||||||
func (o *FileSchemaTestClass) HasFile() bool {
|
func (o *FileSchemaTestClass) HasFile() bool {
|
||||||
if o != nil && !isNil(o.File) {
|
if o != nil && !IsNil(o.File) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ func (o *FileSchemaTestClass) SetFile(v File) {
|
|||||||
|
|
||||||
// GetFiles returns the Files field value if set, zero value otherwise.
|
// GetFiles returns the Files field value if set, zero value otherwise.
|
||||||
func (o *FileSchemaTestClass) GetFiles() []File {
|
func (o *FileSchemaTestClass) GetFiles() []File {
|
||||||
if o == nil || isNil(o.Files) {
|
if o == nil || IsNil(o.Files) {
|
||||||
var ret []File
|
var ret []File
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ func (o *FileSchemaTestClass) GetFiles() []File {
|
|||||||
// GetFilesOk returns a tuple with the Files field value if set, nil otherwise
|
// GetFilesOk returns a tuple with the Files field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FileSchemaTestClass) GetFilesOk() ([]File, bool) {
|
func (o *FileSchemaTestClass) GetFilesOk() ([]File, bool) {
|
||||||
if o == nil || isNil(o.Files) {
|
if o == nil || IsNil(o.Files) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Files, true
|
return o.Files, true
|
||||||
@ -95,7 +95,7 @@ func (o *FileSchemaTestClass) GetFilesOk() ([]File, bool) {
|
|||||||
|
|
||||||
// HasFiles returns a boolean if a field has been set.
|
// HasFiles returns a boolean if a field has been set.
|
||||||
func (o *FileSchemaTestClass) HasFiles() bool {
|
func (o *FileSchemaTestClass) HasFiles() bool {
|
||||||
if o != nil && !isNil(o.Files) {
|
if o != nil && !IsNil(o.Files) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,10 +117,10 @@ func (o FileSchemaTestClass) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o FileSchemaTestClass) ToMap() (map[string]interface{}, error) {
|
func (o FileSchemaTestClass) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.File) {
|
if !IsNil(o.File) {
|
||||||
toSerialize["file"] = o.File
|
toSerialize["file"] = o.File
|
||||||
}
|
}
|
||||||
if !isNil(o.Files) {
|
if !IsNil(o.Files) {
|
||||||
toSerialize["files"] = o.Files
|
toSerialize["files"] = o.Files
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ func NewFooWithDefaults() *Foo {
|
|||||||
|
|
||||||
// GetBar returns the Bar field value if set, zero value otherwise.
|
// GetBar returns the Bar field value if set, zero value otherwise.
|
||||||
func (o *Foo) GetBar() string {
|
func (o *Foo) GetBar() string {
|
||||||
if o == nil || isNil(o.Bar) {
|
if o == nil || IsNil(o.Bar) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -58,7 +58,7 @@ func (o *Foo) GetBar() string {
|
|||||||
// GetBarOk returns a tuple with the Bar field value if set, nil otherwise
|
// GetBarOk returns a tuple with the Bar field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Foo) GetBarOk() (*string, bool) {
|
func (o *Foo) GetBarOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Bar) {
|
if o == nil || IsNil(o.Bar) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Bar, true
|
return o.Bar, true
|
||||||
@ -66,7 +66,7 @@ func (o *Foo) GetBarOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBar returns a boolean if a field has been set.
|
// HasBar returns a boolean if a field has been set.
|
||||||
func (o *Foo) HasBar() bool {
|
func (o *Foo) HasBar() bool {
|
||||||
if o != nil && !isNil(o.Bar) {
|
if o != nil && !IsNil(o.Bar) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ func (o Foo) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Foo) ToMap() (map[string]interface{}, error) {
|
func (o Foo) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Bar) {
|
if !IsNil(o.Bar) {
|
||||||
toSerialize["bar"] = o.Bar
|
toSerialize["bar"] = o.Bar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ func NewFormatTestWithDefaults() *FormatTest {
|
|||||||
|
|
||||||
// GetInteger returns the Integer field value if set, zero value otherwise.
|
// GetInteger returns the Integer field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetInteger() int32 {
|
func (o *FormatTest) GetInteger() int32 {
|
||||||
if o == nil || isNil(o.Integer) {
|
if o == nil || IsNil(o.Integer) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -76,7 +76,7 @@ func (o *FormatTest) GetInteger() int32 {
|
|||||||
// GetIntegerOk returns a tuple with the Integer field value if set, nil otherwise
|
// GetIntegerOk returns a tuple with the Integer field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetIntegerOk() (*int32, bool) {
|
func (o *FormatTest) GetIntegerOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Integer) {
|
if o == nil || IsNil(o.Integer) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Integer, true
|
return o.Integer, true
|
||||||
@ -84,7 +84,7 @@ func (o *FormatTest) GetIntegerOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasInteger returns a boolean if a field has been set.
|
// HasInteger returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasInteger() bool {
|
func (o *FormatTest) HasInteger() bool {
|
||||||
if o != nil && !isNil(o.Integer) {
|
if o != nil && !IsNil(o.Integer) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ func (o *FormatTest) SetInteger(v int32) {
|
|||||||
|
|
||||||
// GetInt32 returns the Int32 field value if set, zero value otherwise.
|
// GetInt32 returns the Int32 field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetInt32() int32 {
|
func (o *FormatTest) GetInt32() int32 {
|
||||||
if o == nil || isNil(o.Int32) {
|
if o == nil || IsNil(o.Int32) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -108,7 +108,7 @@ func (o *FormatTest) GetInt32() int32 {
|
|||||||
// GetInt32Ok returns a tuple with the Int32 field value if set, nil otherwise
|
// GetInt32Ok returns a tuple with the Int32 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetInt32Ok() (*int32, bool) {
|
func (o *FormatTest) GetInt32Ok() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Int32) {
|
if o == nil || IsNil(o.Int32) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Int32, true
|
return o.Int32, true
|
||||||
@ -116,7 +116,7 @@ func (o *FormatTest) GetInt32Ok() (*int32, bool) {
|
|||||||
|
|
||||||
// HasInt32 returns a boolean if a field has been set.
|
// HasInt32 returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasInt32() bool {
|
func (o *FormatTest) HasInt32() bool {
|
||||||
if o != nil && !isNil(o.Int32) {
|
if o != nil && !IsNil(o.Int32) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -130,7 +130,7 @@ func (o *FormatTest) SetInt32(v int32) {
|
|||||||
|
|
||||||
// GetInt64 returns the Int64 field value if set, zero value otherwise.
|
// GetInt64 returns the Int64 field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetInt64() int64 {
|
func (o *FormatTest) GetInt64() int64 {
|
||||||
if o == nil || isNil(o.Int64) {
|
if o == nil || IsNil(o.Int64) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -140,7 +140,7 @@ func (o *FormatTest) GetInt64() int64 {
|
|||||||
// GetInt64Ok returns a tuple with the Int64 field value if set, nil otherwise
|
// GetInt64Ok returns a tuple with the Int64 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetInt64Ok() (*int64, bool) {
|
func (o *FormatTest) GetInt64Ok() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Int64) {
|
if o == nil || IsNil(o.Int64) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Int64, true
|
return o.Int64, true
|
||||||
@ -148,7 +148,7 @@ func (o *FormatTest) GetInt64Ok() (*int64, bool) {
|
|||||||
|
|
||||||
// HasInt64 returns a boolean if a field has been set.
|
// HasInt64 returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasInt64() bool {
|
func (o *FormatTest) HasInt64() bool {
|
||||||
if o != nil && !isNil(o.Int64) {
|
if o != nil && !IsNil(o.Int64) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -186,7 +186,7 @@ func (o *FormatTest) SetNumber(v float32) {
|
|||||||
|
|
||||||
// GetFloat returns the Float field value if set, zero value otherwise.
|
// GetFloat returns the Float field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetFloat() float32 {
|
func (o *FormatTest) GetFloat() float32 {
|
||||||
if o == nil || isNil(o.Float) {
|
if o == nil || IsNil(o.Float) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -196,7 +196,7 @@ func (o *FormatTest) GetFloat() float32 {
|
|||||||
// GetFloatOk returns a tuple with the Float field value if set, nil otherwise
|
// GetFloatOk returns a tuple with the Float field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetFloatOk() (*float32, bool) {
|
func (o *FormatTest) GetFloatOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.Float) {
|
if o == nil || IsNil(o.Float) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Float, true
|
return o.Float, true
|
||||||
@ -204,7 +204,7 @@ func (o *FormatTest) GetFloatOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasFloat returns a boolean if a field has been set.
|
// HasFloat returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasFloat() bool {
|
func (o *FormatTest) HasFloat() bool {
|
||||||
if o != nil && !isNil(o.Float) {
|
if o != nil && !IsNil(o.Float) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ func (o *FormatTest) SetFloat(v float32) {
|
|||||||
|
|
||||||
// GetDouble returns the Double field value if set, zero value otherwise.
|
// GetDouble returns the Double field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetDouble() float64 {
|
func (o *FormatTest) GetDouble() float64 {
|
||||||
if o == nil || isNil(o.Double) {
|
if o == nil || IsNil(o.Double) {
|
||||||
var ret float64
|
var ret float64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -228,7 +228,7 @@ func (o *FormatTest) GetDouble() float64 {
|
|||||||
// GetDoubleOk returns a tuple with the Double field value if set, nil otherwise
|
// GetDoubleOk returns a tuple with the Double field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetDoubleOk() (*float64, bool) {
|
func (o *FormatTest) GetDoubleOk() (*float64, bool) {
|
||||||
if o == nil || isNil(o.Double) {
|
if o == nil || IsNil(o.Double) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Double, true
|
return o.Double, true
|
||||||
@ -236,7 +236,7 @@ func (o *FormatTest) GetDoubleOk() (*float64, bool) {
|
|||||||
|
|
||||||
// HasDouble returns a boolean if a field has been set.
|
// HasDouble returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasDouble() bool {
|
func (o *FormatTest) HasDouble() bool {
|
||||||
if o != nil && !isNil(o.Double) {
|
if o != nil && !IsNil(o.Double) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -250,7 +250,7 @@ func (o *FormatTest) SetDouble(v float64) {
|
|||||||
|
|
||||||
// GetString returns the String field value if set, zero value otherwise.
|
// GetString returns the String field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetString() string {
|
func (o *FormatTest) GetString() string {
|
||||||
if o == nil || isNil(o.String) {
|
if o == nil || IsNil(o.String) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -260,7 +260,7 @@ func (o *FormatTest) GetString() string {
|
|||||||
// GetStringOk returns a tuple with the String field value if set, nil otherwise
|
// GetStringOk returns a tuple with the String field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetStringOk() (*string, bool) {
|
func (o *FormatTest) GetStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.String) {
|
if o == nil || IsNil(o.String) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.String, true
|
return o.String, true
|
||||||
@ -268,7 +268,7 @@ func (o *FormatTest) GetStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasString returns a boolean if a field has been set.
|
// HasString returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasString() bool {
|
func (o *FormatTest) HasString() bool {
|
||||||
if o != nil && !isNil(o.String) {
|
if o != nil && !IsNil(o.String) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -306,7 +306,7 @@ func (o *FormatTest) SetByte(v string) {
|
|||||||
|
|
||||||
// GetBinary returns the Binary field value if set, zero value otherwise.
|
// GetBinary returns the Binary field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetBinary() *os.File {
|
func (o *FormatTest) GetBinary() *os.File {
|
||||||
if o == nil || isNil(o.Binary) {
|
if o == nil || IsNil(o.Binary) {
|
||||||
var ret *os.File
|
var ret *os.File
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -316,7 +316,7 @@ func (o *FormatTest) GetBinary() *os.File {
|
|||||||
// GetBinaryOk returns a tuple with the Binary field value if set, nil otherwise
|
// GetBinaryOk returns a tuple with the Binary field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetBinaryOk() (**os.File, bool) {
|
func (o *FormatTest) GetBinaryOk() (**os.File, bool) {
|
||||||
if o == nil || isNil(o.Binary) {
|
if o == nil || IsNil(o.Binary) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Binary, true
|
return o.Binary, true
|
||||||
@ -324,7 +324,7 @@ func (o *FormatTest) GetBinaryOk() (**os.File, bool) {
|
|||||||
|
|
||||||
// HasBinary returns a boolean if a field has been set.
|
// HasBinary returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasBinary() bool {
|
func (o *FormatTest) HasBinary() bool {
|
||||||
if o != nil && !isNil(o.Binary) {
|
if o != nil && !IsNil(o.Binary) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -362,7 +362,7 @@ func (o *FormatTest) SetDate(v string) {
|
|||||||
|
|
||||||
// GetDateTime returns the DateTime field value if set, zero value otherwise.
|
// GetDateTime returns the DateTime field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetDateTime() time.Time {
|
func (o *FormatTest) GetDateTime() time.Time {
|
||||||
if o == nil || isNil(o.DateTime) {
|
if o == nil || IsNil(o.DateTime) {
|
||||||
var ret time.Time
|
var ret time.Time
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -372,7 +372,7 @@ func (o *FormatTest) GetDateTime() time.Time {
|
|||||||
// GetDateTimeOk returns a tuple with the DateTime field value if set, nil otherwise
|
// GetDateTimeOk returns a tuple with the DateTime field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetDateTimeOk() (*time.Time, bool) {
|
func (o *FormatTest) GetDateTimeOk() (*time.Time, bool) {
|
||||||
if o == nil || isNil(o.DateTime) {
|
if o == nil || IsNil(o.DateTime) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.DateTime, true
|
return o.DateTime, true
|
||||||
@ -380,7 +380,7 @@ func (o *FormatTest) GetDateTimeOk() (*time.Time, bool) {
|
|||||||
|
|
||||||
// HasDateTime returns a boolean if a field has been set.
|
// HasDateTime returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasDateTime() bool {
|
func (o *FormatTest) HasDateTime() bool {
|
||||||
if o != nil && !isNil(o.DateTime) {
|
if o != nil && !IsNil(o.DateTime) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -394,7 +394,7 @@ func (o *FormatTest) SetDateTime(v time.Time) {
|
|||||||
|
|
||||||
// GetUuid returns the Uuid field value if set, zero value otherwise.
|
// GetUuid returns the Uuid field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetUuid() string {
|
func (o *FormatTest) GetUuid() string {
|
||||||
if o == nil || isNil(o.Uuid) {
|
if o == nil || IsNil(o.Uuid) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -404,7 +404,7 @@ func (o *FormatTest) GetUuid() string {
|
|||||||
// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise
|
// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetUuidOk() (*string, bool) {
|
func (o *FormatTest) GetUuidOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Uuid) {
|
if o == nil || IsNil(o.Uuid) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Uuid, true
|
return o.Uuid, true
|
||||||
@ -412,7 +412,7 @@ func (o *FormatTest) GetUuidOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasUuid returns a boolean if a field has been set.
|
// HasUuid returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasUuid() bool {
|
func (o *FormatTest) HasUuid() bool {
|
||||||
if o != nil && !isNil(o.Uuid) {
|
if o != nil && !IsNil(o.Uuid) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -450,7 +450,7 @@ func (o *FormatTest) SetPassword(v string) {
|
|||||||
|
|
||||||
// GetPatternWithDigits returns the PatternWithDigits field value if set, zero value otherwise.
|
// GetPatternWithDigits returns the PatternWithDigits field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetPatternWithDigits() string {
|
func (o *FormatTest) GetPatternWithDigits() string {
|
||||||
if o == nil || isNil(o.PatternWithDigits) {
|
if o == nil || IsNil(o.PatternWithDigits) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -460,7 +460,7 @@ func (o *FormatTest) GetPatternWithDigits() string {
|
|||||||
// GetPatternWithDigitsOk returns a tuple with the PatternWithDigits field value if set, nil otherwise
|
// GetPatternWithDigitsOk returns a tuple with the PatternWithDigits field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetPatternWithDigitsOk() (*string, bool) {
|
func (o *FormatTest) GetPatternWithDigitsOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.PatternWithDigits) {
|
if o == nil || IsNil(o.PatternWithDigits) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PatternWithDigits, true
|
return o.PatternWithDigits, true
|
||||||
@ -468,7 +468,7 @@ func (o *FormatTest) GetPatternWithDigitsOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasPatternWithDigits returns a boolean if a field has been set.
|
// HasPatternWithDigits returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasPatternWithDigits() bool {
|
func (o *FormatTest) HasPatternWithDigits() bool {
|
||||||
if o != nil && !isNil(o.PatternWithDigits) {
|
if o != nil && !IsNil(o.PatternWithDigits) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -482,7 +482,7 @@ func (o *FormatTest) SetPatternWithDigits(v string) {
|
|||||||
|
|
||||||
// GetPatternWithDigitsAndDelimiter returns the PatternWithDigitsAndDelimiter field value if set, zero value otherwise.
|
// GetPatternWithDigitsAndDelimiter returns the PatternWithDigitsAndDelimiter field value if set, zero value otherwise.
|
||||||
func (o *FormatTest) GetPatternWithDigitsAndDelimiter() string {
|
func (o *FormatTest) GetPatternWithDigitsAndDelimiter() string {
|
||||||
if o == nil || isNil(o.PatternWithDigitsAndDelimiter) {
|
if o == nil || IsNil(o.PatternWithDigitsAndDelimiter) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -492,7 +492,7 @@ func (o *FormatTest) GetPatternWithDigitsAndDelimiter() string {
|
|||||||
// GetPatternWithDigitsAndDelimiterOk returns a tuple with the PatternWithDigitsAndDelimiter field value if set, nil otherwise
|
// GetPatternWithDigitsAndDelimiterOk returns a tuple with the PatternWithDigitsAndDelimiter field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *FormatTest) GetPatternWithDigitsAndDelimiterOk() (*string, bool) {
|
func (o *FormatTest) GetPatternWithDigitsAndDelimiterOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.PatternWithDigitsAndDelimiter) {
|
if o == nil || IsNil(o.PatternWithDigitsAndDelimiter) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PatternWithDigitsAndDelimiter, true
|
return o.PatternWithDigitsAndDelimiter, true
|
||||||
@ -500,7 +500,7 @@ func (o *FormatTest) GetPatternWithDigitsAndDelimiterOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasPatternWithDigitsAndDelimiter returns a boolean if a field has been set.
|
// HasPatternWithDigitsAndDelimiter returns a boolean if a field has been set.
|
||||||
func (o *FormatTest) HasPatternWithDigitsAndDelimiter() bool {
|
func (o *FormatTest) HasPatternWithDigitsAndDelimiter() bool {
|
||||||
if o != nil && !isNil(o.PatternWithDigitsAndDelimiter) {
|
if o != nil && !IsNil(o.PatternWithDigitsAndDelimiter) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -522,41 +522,41 @@ func (o FormatTest) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o FormatTest) ToMap() (map[string]interface{}, error) {
|
func (o FormatTest) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Integer) {
|
if !IsNil(o.Integer) {
|
||||||
toSerialize["integer"] = o.Integer
|
toSerialize["integer"] = o.Integer
|
||||||
}
|
}
|
||||||
if !isNil(o.Int32) {
|
if !IsNil(o.Int32) {
|
||||||
toSerialize["int32"] = o.Int32
|
toSerialize["int32"] = o.Int32
|
||||||
}
|
}
|
||||||
if !isNil(o.Int64) {
|
if !IsNil(o.Int64) {
|
||||||
toSerialize["int64"] = o.Int64
|
toSerialize["int64"] = o.Int64
|
||||||
}
|
}
|
||||||
toSerialize["number"] = o.Number
|
toSerialize["number"] = o.Number
|
||||||
if !isNil(o.Float) {
|
if !IsNil(o.Float) {
|
||||||
toSerialize["float"] = o.Float
|
toSerialize["float"] = o.Float
|
||||||
}
|
}
|
||||||
if !isNil(o.Double) {
|
if !IsNil(o.Double) {
|
||||||
toSerialize["double"] = o.Double
|
toSerialize["double"] = o.Double
|
||||||
}
|
}
|
||||||
if !isNil(o.String) {
|
if !IsNil(o.String) {
|
||||||
toSerialize["string"] = o.String
|
toSerialize["string"] = o.String
|
||||||
}
|
}
|
||||||
toSerialize["byte"] = o.Byte
|
toSerialize["byte"] = o.Byte
|
||||||
if !isNil(o.Binary) {
|
if !IsNil(o.Binary) {
|
||||||
toSerialize["binary"] = o.Binary
|
toSerialize["binary"] = o.Binary
|
||||||
}
|
}
|
||||||
toSerialize["date"] = o.Date
|
toSerialize["date"] = o.Date
|
||||||
if !isNil(o.DateTime) {
|
if !IsNil(o.DateTime) {
|
||||||
toSerialize["dateTime"] = o.DateTime
|
toSerialize["dateTime"] = o.DateTime
|
||||||
}
|
}
|
||||||
if !isNil(o.Uuid) {
|
if !IsNil(o.Uuid) {
|
||||||
toSerialize["uuid"] = o.Uuid
|
toSerialize["uuid"] = o.Uuid
|
||||||
}
|
}
|
||||||
toSerialize["password"] = o.Password
|
toSerialize["password"] = o.Password
|
||||||
if !isNil(o.PatternWithDigits) {
|
if !IsNil(o.PatternWithDigits) {
|
||||||
toSerialize["pattern_with_digits"] = o.PatternWithDigits
|
toSerialize["pattern_with_digits"] = o.PatternWithDigits
|
||||||
}
|
}
|
||||||
if !isNil(o.PatternWithDigitsAndDelimiter) {
|
if !IsNil(o.PatternWithDigitsAndDelimiter) {
|
||||||
toSerialize["pattern_with_digits_and_delimiter"] = o.PatternWithDigitsAndDelimiter
|
toSerialize["pattern_with_digits_and_delimiter"] = o.PatternWithDigitsAndDelimiter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func NewHasOnlyReadOnlyWithDefaults() *HasOnlyReadOnly {
|
|||||||
|
|
||||||
// GetBar returns the Bar field value if set, zero value otherwise.
|
// GetBar returns the Bar field value if set, zero value otherwise.
|
||||||
func (o *HasOnlyReadOnly) GetBar() string {
|
func (o *HasOnlyReadOnly) GetBar() string {
|
||||||
if o == nil || isNil(o.Bar) {
|
if o == nil || IsNil(o.Bar) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *HasOnlyReadOnly) GetBar() string {
|
|||||||
// GetBarOk returns a tuple with the Bar field value if set, nil otherwise
|
// GetBarOk returns a tuple with the Bar field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *HasOnlyReadOnly) GetBarOk() (*string, bool) {
|
func (o *HasOnlyReadOnly) GetBarOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Bar) {
|
if o == nil || IsNil(o.Bar) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Bar, true
|
return o.Bar, true
|
||||||
@ -63,7 +63,7 @@ func (o *HasOnlyReadOnly) GetBarOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBar returns a boolean if a field has been set.
|
// HasBar returns a boolean if a field has been set.
|
||||||
func (o *HasOnlyReadOnly) HasBar() bool {
|
func (o *HasOnlyReadOnly) HasBar() bool {
|
||||||
if o != nil && !isNil(o.Bar) {
|
if o != nil && !IsNil(o.Bar) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ func (o *HasOnlyReadOnly) SetBar(v string) {
|
|||||||
|
|
||||||
// GetFoo returns the Foo field value if set, zero value otherwise.
|
// GetFoo returns the Foo field value if set, zero value otherwise.
|
||||||
func (o *HasOnlyReadOnly) GetFoo() string {
|
func (o *HasOnlyReadOnly) GetFoo() string {
|
||||||
if o == nil || isNil(o.Foo) {
|
if o == nil || IsNil(o.Foo) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ func (o *HasOnlyReadOnly) GetFoo() string {
|
|||||||
// GetFooOk returns a tuple with the Foo field value if set, nil otherwise
|
// GetFooOk returns a tuple with the Foo field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *HasOnlyReadOnly) GetFooOk() (*string, bool) {
|
func (o *HasOnlyReadOnly) GetFooOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Foo) {
|
if o == nil || IsNil(o.Foo) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Foo, true
|
return o.Foo, true
|
||||||
@ -95,7 +95,7 @@ func (o *HasOnlyReadOnly) GetFooOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasFoo returns a boolean if a field has been set.
|
// HasFoo returns a boolean if a field has been set.
|
||||||
func (o *HasOnlyReadOnly) HasFoo() bool {
|
func (o *HasOnlyReadOnly) HasFoo() bool {
|
||||||
if o != nil && !isNil(o.Foo) {
|
if o != nil && !IsNil(o.Foo) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewHealthCheckResultWithDefaults() *HealthCheckResult {
|
|||||||
|
|
||||||
// GetNullableMessage returns the NullableMessage field value if set, zero value otherwise (both if not set or set to explicit null).
|
// GetNullableMessage returns the NullableMessage field value if set, zero value otherwise (both if not set or set to explicit null).
|
||||||
func (o *HealthCheckResult) GetNullableMessage() string {
|
func (o *HealthCheckResult) GetNullableMessage() string {
|
||||||
if o == nil || isNil(o.NullableMessage.Get()) {
|
if o == nil || IsNil(o.NullableMessage.Get()) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ func NewListWithDefaults() *List {
|
|||||||
|
|
||||||
// GetVar123List returns the Var123List field value if set, zero value otherwise.
|
// GetVar123List returns the Var123List field value if set, zero value otherwise.
|
||||||
func (o *List) GetVar123List() string {
|
func (o *List) GetVar123List() string {
|
||||||
if o == nil || isNil(o.Var123List) {
|
if o == nil || IsNil(o.Var123List) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *List) GetVar123List() string {
|
|||||||
// GetVar123ListOk returns a tuple with the Var123List field value if set, nil otherwise
|
// GetVar123ListOk returns a tuple with the Var123List field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *List) GetVar123ListOk() (*string, bool) {
|
func (o *List) GetVar123ListOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Var123List) {
|
if o == nil || IsNil(o.Var123List) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Var123List, true
|
return o.Var123List, true
|
||||||
@ -62,7 +62,7 @@ func (o *List) GetVar123ListOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasVar123List returns a boolean if a field has been set.
|
// HasVar123List returns a boolean if a field has been set.
|
||||||
func (o *List) HasVar123List() bool {
|
func (o *List) HasVar123List() bool {
|
||||||
if o != nil && !isNil(o.Var123List) {
|
if o != nil && !IsNil(o.Var123List) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o List) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o List) ToMap() (map[string]interface{}, error) {
|
func (o List) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Var123List) {
|
if !IsNil(o.Var123List) {
|
||||||
toSerialize["123-list"] = o.Var123List
|
toSerialize["123-list"] = o.Var123List
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ func NewMapOfFileTestWithDefaults() *MapOfFileTest {
|
|||||||
|
|
||||||
// GetPropTest returns the PropTest field value if set, zero value otherwise.
|
// GetPropTest returns the PropTest field value if set, zero value otherwise.
|
||||||
func (o *MapOfFileTest) GetPropTest() map[string]*os.File {
|
func (o *MapOfFileTest) GetPropTest() map[string]*os.File {
|
||||||
if o == nil || isNil(o.PropTest) {
|
if o == nil || IsNil(o.PropTest) {
|
||||||
var ret map[string]*os.File
|
var ret map[string]*os.File
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -56,7 +56,7 @@ func (o *MapOfFileTest) GetPropTest() map[string]*os.File {
|
|||||||
// GetPropTestOk returns a tuple with the PropTest field value if set, nil otherwise
|
// GetPropTestOk returns a tuple with the PropTest field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MapOfFileTest) GetPropTestOk() (*map[string]*os.File, bool) {
|
func (o *MapOfFileTest) GetPropTestOk() (*map[string]*os.File, bool) {
|
||||||
if o == nil || isNil(o.PropTest) {
|
if o == nil || IsNil(o.PropTest) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PropTest, true
|
return o.PropTest, true
|
||||||
@ -64,7 +64,7 @@ func (o *MapOfFileTest) GetPropTestOk() (*map[string]*os.File, bool) {
|
|||||||
|
|
||||||
// HasPropTest returns a boolean if a field has been set.
|
// HasPropTest returns a boolean if a field has been set.
|
||||||
func (o *MapOfFileTest) HasPropTest() bool {
|
func (o *MapOfFileTest) HasPropTest() bool {
|
||||||
if o != nil && !isNil(o.PropTest) {
|
if o != nil && !IsNil(o.PropTest) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ func (o MapOfFileTest) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o MapOfFileTest) ToMap() (map[string]interface{}, error) {
|
func (o MapOfFileTest) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.PropTest) {
|
if !IsNil(o.PropTest) {
|
||||||
toSerialize["prop_test"] = o.PropTest
|
toSerialize["prop_test"] = o.PropTest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ func NewMapTestWithDefaults() *MapTest {
|
|||||||
|
|
||||||
// GetMapMapOfString returns the MapMapOfString field value if set, zero value otherwise.
|
// GetMapMapOfString returns the MapMapOfString field value if set, zero value otherwise.
|
||||||
func (o *MapTest) GetMapMapOfString() map[string]map[string]string {
|
func (o *MapTest) GetMapMapOfString() map[string]map[string]string {
|
||||||
if o == nil || isNil(o.MapMapOfString) {
|
if o == nil || IsNil(o.MapMapOfString) {
|
||||||
var ret map[string]map[string]string
|
var ret map[string]map[string]string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -57,7 +57,7 @@ func (o *MapTest) GetMapMapOfString() map[string]map[string]string {
|
|||||||
// GetMapMapOfStringOk returns a tuple with the MapMapOfString field value if set, nil otherwise
|
// GetMapMapOfStringOk returns a tuple with the MapMapOfString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MapTest) GetMapMapOfStringOk() (*map[string]map[string]string, bool) {
|
func (o *MapTest) GetMapMapOfStringOk() (*map[string]map[string]string, bool) {
|
||||||
if o == nil || isNil(o.MapMapOfString) {
|
if o == nil || IsNil(o.MapMapOfString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapMapOfString, true
|
return o.MapMapOfString, true
|
||||||
@ -65,7 +65,7 @@ func (o *MapTest) GetMapMapOfStringOk() (*map[string]map[string]string, bool) {
|
|||||||
|
|
||||||
// HasMapMapOfString returns a boolean if a field has been set.
|
// HasMapMapOfString returns a boolean if a field has been set.
|
||||||
func (o *MapTest) HasMapMapOfString() bool {
|
func (o *MapTest) HasMapMapOfString() bool {
|
||||||
if o != nil && !isNil(o.MapMapOfString) {
|
if o != nil && !IsNil(o.MapMapOfString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ func (o *MapTest) SetMapMapOfString(v map[string]map[string]string) {
|
|||||||
|
|
||||||
// GetMapOfEnumString returns the MapOfEnumString field value if set, zero value otherwise.
|
// GetMapOfEnumString returns the MapOfEnumString field value if set, zero value otherwise.
|
||||||
func (o *MapTest) GetMapOfEnumString() map[string]string {
|
func (o *MapTest) GetMapOfEnumString() map[string]string {
|
||||||
if o == nil || isNil(o.MapOfEnumString) {
|
if o == nil || IsNil(o.MapOfEnumString) {
|
||||||
var ret map[string]string
|
var ret map[string]string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -89,7 +89,7 @@ func (o *MapTest) GetMapOfEnumString() map[string]string {
|
|||||||
// GetMapOfEnumStringOk returns a tuple with the MapOfEnumString field value if set, nil otherwise
|
// GetMapOfEnumStringOk returns a tuple with the MapOfEnumString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MapTest) GetMapOfEnumStringOk() (*map[string]string, bool) {
|
func (o *MapTest) GetMapOfEnumStringOk() (*map[string]string, bool) {
|
||||||
if o == nil || isNil(o.MapOfEnumString) {
|
if o == nil || IsNil(o.MapOfEnumString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MapOfEnumString, true
|
return o.MapOfEnumString, true
|
||||||
@ -97,7 +97,7 @@ func (o *MapTest) GetMapOfEnumStringOk() (*map[string]string, bool) {
|
|||||||
|
|
||||||
// HasMapOfEnumString returns a boolean if a field has been set.
|
// HasMapOfEnumString returns a boolean if a field has been set.
|
||||||
func (o *MapTest) HasMapOfEnumString() bool {
|
func (o *MapTest) HasMapOfEnumString() bool {
|
||||||
if o != nil && !isNil(o.MapOfEnumString) {
|
if o != nil && !IsNil(o.MapOfEnumString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ func (o *MapTest) SetMapOfEnumString(v map[string]string) {
|
|||||||
|
|
||||||
// GetDirectMap returns the DirectMap field value if set, zero value otherwise.
|
// GetDirectMap returns the DirectMap field value if set, zero value otherwise.
|
||||||
func (o *MapTest) GetDirectMap() map[string]bool {
|
func (o *MapTest) GetDirectMap() map[string]bool {
|
||||||
if o == nil || isNil(o.DirectMap) {
|
if o == nil || IsNil(o.DirectMap) {
|
||||||
var ret map[string]bool
|
var ret map[string]bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -121,7 +121,7 @@ func (o *MapTest) GetDirectMap() map[string]bool {
|
|||||||
// GetDirectMapOk returns a tuple with the DirectMap field value if set, nil otherwise
|
// GetDirectMapOk returns a tuple with the DirectMap field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MapTest) GetDirectMapOk() (*map[string]bool, bool) {
|
func (o *MapTest) GetDirectMapOk() (*map[string]bool, bool) {
|
||||||
if o == nil || isNil(o.DirectMap) {
|
if o == nil || IsNil(o.DirectMap) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.DirectMap, true
|
return o.DirectMap, true
|
||||||
@ -129,7 +129,7 @@ func (o *MapTest) GetDirectMapOk() (*map[string]bool, bool) {
|
|||||||
|
|
||||||
// HasDirectMap returns a boolean if a field has been set.
|
// HasDirectMap returns a boolean if a field has been set.
|
||||||
func (o *MapTest) HasDirectMap() bool {
|
func (o *MapTest) HasDirectMap() bool {
|
||||||
if o != nil && !isNil(o.DirectMap) {
|
if o != nil && !IsNil(o.DirectMap) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -143,7 +143,7 @@ func (o *MapTest) SetDirectMap(v map[string]bool) {
|
|||||||
|
|
||||||
// GetIndirectMap returns the IndirectMap field value if set, zero value otherwise.
|
// GetIndirectMap returns the IndirectMap field value if set, zero value otherwise.
|
||||||
func (o *MapTest) GetIndirectMap() map[string]bool {
|
func (o *MapTest) GetIndirectMap() map[string]bool {
|
||||||
if o == nil || isNil(o.IndirectMap) {
|
if o == nil || IsNil(o.IndirectMap) {
|
||||||
var ret map[string]bool
|
var ret map[string]bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -153,7 +153,7 @@ func (o *MapTest) GetIndirectMap() map[string]bool {
|
|||||||
// GetIndirectMapOk returns a tuple with the IndirectMap field value if set, nil otherwise
|
// GetIndirectMapOk returns a tuple with the IndirectMap field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MapTest) GetIndirectMapOk() (*map[string]bool, bool) {
|
func (o *MapTest) GetIndirectMapOk() (*map[string]bool, bool) {
|
||||||
if o == nil || isNil(o.IndirectMap) {
|
if o == nil || IsNil(o.IndirectMap) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.IndirectMap, true
|
return o.IndirectMap, true
|
||||||
@ -161,7 +161,7 @@ func (o *MapTest) GetIndirectMapOk() (*map[string]bool, bool) {
|
|||||||
|
|
||||||
// HasIndirectMap returns a boolean if a field has been set.
|
// HasIndirectMap returns a boolean if a field has been set.
|
||||||
func (o *MapTest) HasIndirectMap() bool {
|
func (o *MapTest) HasIndirectMap() bool {
|
||||||
if o != nil && !isNil(o.IndirectMap) {
|
if o != nil && !IsNil(o.IndirectMap) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -183,16 +183,16 @@ func (o MapTest) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o MapTest) ToMap() (map[string]interface{}, error) {
|
func (o MapTest) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.MapMapOfString) {
|
if !IsNil(o.MapMapOfString) {
|
||||||
toSerialize["map_map_of_string"] = o.MapMapOfString
|
toSerialize["map_map_of_string"] = o.MapMapOfString
|
||||||
}
|
}
|
||||||
if !isNil(o.MapOfEnumString) {
|
if !IsNil(o.MapOfEnumString) {
|
||||||
toSerialize["map_of_enum_string"] = o.MapOfEnumString
|
toSerialize["map_of_enum_string"] = o.MapOfEnumString
|
||||||
}
|
}
|
||||||
if !isNil(o.DirectMap) {
|
if !IsNil(o.DirectMap) {
|
||||||
toSerialize["direct_map"] = o.DirectMap
|
toSerialize["direct_map"] = o.DirectMap
|
||||||
}
|
}
|
||||||
if !isNil(o.IndirectMap) {
|
if !IsNil(o.IndirectMap) {
|
||||||
toSerialize["indirect_map"] = o.IndirectMap
|
toSerialize["indirect_map"] = o.IndirectMap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ func NewMixedPropertiesAndAdditionalPropertiesClassWithDefaults() *MixedProperti
|
|||||||
|
|
||||||
// GetUuid returns the Uuid field value if set, zero value otherwise.
|
// GetUuid returns the Uuid field value if set, zero value otherwise.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuid() string {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuid() string {
|
||||||
if o == nil || isNil(o.Uuid) {
|
if o == nil || IsNil(o.Uuid) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -57,7 +57,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuid() string {
|
|||||||
// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise
|
// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuidOk() (*string, bool) {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuidOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Uuid) {
|
if o == nil || IsNil(o.Uuid) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Uuid, true
|
return o.Uuid, true
|
||||||
@ -65,7 +65,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetUuidOk() (*string, bool
|
|||||||
|
|
||||||
// HasUuid returns a boolean if a field has been set.
|
// HasUuid returns a boolean if a field has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasUuid() bool {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasUuid() bool {
|
||||||
if o != nil && !isNil(o.Uuid) {
|
if o != nil && !IsNil(o.Uuid) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) SetUuid(v string) {
|
|||||||
|
|
||||||
// GetDateTime returns the DateTime field value if set, zero value otherwise.
|
// GetDateTime returns the DateTime field value if set, zero value otherwise.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTime() time.Time {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTime() time.Time {
|
||||||
if o == nil || isNil(o.DateTime) {
|
if o == nil || IsNil(o.DateTime) {
|
||||||
var ret time.Time
|
var ret time.Time
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -89,7 +89,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTime() time.Time {
|
|||||||
// GetDateTimeOk returns a tuple with the DateTime field value if set, nil otherwise
|
// GetDateTimeOk returns a tuple with the DateTime field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTimeOk() (*time.Time, bool) {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTimeOk() (*time.Time, bool) {
|
||||||
if o == nil || isNil(o.DateTime) {
|
if o == nil || IsNil(o.DateTime) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.DateTime, true
|
return o.DateTime, true
|
||||||
@ -97,7 +97,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetDateTimeOk() (*time.Tim
|
|||||||
|
|
||||||
// HasDateTime returns a boolean if a field has been set.
|
// HasDateTime returns a boolean if a field has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasDateTime() bool {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasDateTime() bool {
|
||||||
if o != nil && !isNil(o.DateTime) {
|
if o != nil && !IsNil(o.DateTime) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) SetDateTime(v time.Time) {
|
|||||||
|
|
||||||
// GetMap returns the Map field value if set, zero value otherwise.
|
// GetMap returns the Map field value if set, zero value otherwise.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMap() map[string]Animal {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMap() map[string]Animal {
|
||||||
if o == nil || isNil(o.Map) {
|
if o == nil || IsNil(o.Map) {
|
||||||
var ret map[string]Animal
|
var ret map[string]Animal
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -121,7 +121,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMap() map[string]Animal
|
|||||||
// GetMapOk returns a tuple with the Map field value if set, nil otherwise
|
// GetMapOk returns a tuple with the Map field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMapOk() (*map[string]Animal, bool) {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMapOk() (*map[string]Animal, bool) {
|
||||||
if o == nil || isNil(o.Map) {
|
if o == nil || IsNil(o.Map) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Map, true
|
return o.Map, true
|
||||||
@ -129,7 +129,7 @@ func (o *MixedPropertiesAndAdditionalPropertiesClass) GetMapOk() (*map[string]An
|
|||||||
|
|
||||||
// HasMap returns a boolean if a field has been set.
|
// HasMap returns a boolean if a field has been set.
|
||||||
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasMap() bool {
|
func (o *MixedPropertiesAndAdditionalPropertiesClass) HasMap() bool {
|
||||||
if o != nil && !isNil(o.Map) {
|
if o != nil && !IsNil(o.Map) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,13 +151,13 @@ func (o MixedPropertiesAndAdditionalPropertiesClass) MarshalJSON() ([]byte, erro
|
|||||||
|
|
||||||
func (o MixedPropertiesAndAdditionalPropertiesClass) ToMap() (map[string]interface{}, error) {
|
func (o MixedPropertiesAndAdditionalPropertiesClass) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Uuid) {
|
if !IsNil(o.Uuid) {
|
||||||
toSerialize["uuid"] = o.Uuid
|
toSerialize["uuid"] = o.Uuid
|
||||||
}
|
}
|
||||||
if !isNil(o.DateTime) {
|
if !IsNil(o.DateTime) {
|
||||||
toSerialize["dateTime"] = o.DateTime
|
toSerialize["dateTime"] = o.DateTime
|
||||||
}
|
}
|
||||||
if !isNil(o.Map) {
|
if !IsNil(o.Map) {
|
||||||
toSerialize["map"] = o.Map
|
toSerialize["map"] = o.Map
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ func (o *Name) SetName(v int32) {
|
|||||||
|
|
||||||
// GetSnakeCase returns the SnakeCase field value if set, zero value otherwise.
|
// GetSnakeCase returns the SnakeCase field value if set, zero value otherwise.
|
||||||
func (o *Name) GetSnakeCase() int32 {
|
func (o *Name) GetSnakeCase() int32 {
|
||||||
if o == nil || isNil(o.SnakeCase) {
|
if o == nil || IsNil(o.SnakeCase) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -82,7 +82,7 @@ func (o *Name) GetSnakeCase() int32 {
|
|||||||
// GetSnakeCaseOk returns a tuple with the SnakeCase field value if set, nil otherwise
|
// GetSnakeCaseOk returns a tuple with the SnakeCase field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Name) GetSnakeCaseOk() (*int32, bool) {
|
func (o *Name) GetSnakeCaseOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.SnakeCase) {
|
if o == nil || IsNil(o.SnakeCase) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.SnakeCase, true
|
return o.SnakeCase, true
|
||||||
@ -90,7 +90,7 @@ func (o *Name) GetSnakeCaseOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasSnakeCase returns a boolean if a field has been set.
|
// HasSnakeCase returns a boolean if a field has been set.
|
||||||
func (o *Name) HasSnakeCase() bool {
|
func (o *Name) HasSnakeCase() bool {
|
||||||
if o != nil && !isNil(o.SnakeCase) {
|
if o != nil && !IsNil(o.SnakeCase) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ func (o *Name) SetSnakeCase(v int32) {
|
|||||||
|
|
||||||
// GetProperty returns the Property field value if set, zero value otherwise.
|
// GetProperty returns the Property field value if set, zero value otherwise.
|
||||||
func (o *Name) GetProperty() string {
|
func (o *Name) GetProperty() string {
|
||||||
if o == nil || isNil(o.Property) {
|
if o == nil || IsNil(o.Property) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -114,7 +114,7 @@ func (o *Name) GetProperty() string {
|
|||||||
// GetPropertyOk returns a tuple with the Property field value if set, nil otherwise
|
// GetPropertyOk returns a tuple with the Property field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Name) GetPropertyOk() (*string, bool) {
|
func (o *Name) GetPropertyOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Property) {
|
if o == nil || IsNil(o.Property) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Property, true
|
return o.Property, true
|
||||||
@ -122,7 +122,7 @@ func (o *Name) GetPropertyOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasProperty returns a boolean if a field has been set.
|
// HasProperty returns a boolean if a field has been set.
|
||||||
func (o *Name) HasProperty() bool {
|
func (o *Name) HasProperty() bool {
|
||||||
if o != nil && !isNil(o.Property) {
|
if o != nil && !IsNil(o.Property) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -136,7 +136,7 @@ func (o *Name) SetProperty(v string) {
|
|||||||
|
|
||||||
// GetVar123Number returns the Var123Number field value if set, zero value otherwise.
|
// GetVar123Number returns the Var123Number field value if set, zero value otherwise.
|
||||||
func (o *Name) GetVar123Number() int32 {
|
func (o *Name) GetVar123Number() int32 {
|
||||||
if o == nil || isNil(o.Var123Number) {
|
if o == nil || IsNil(o.Var123Number) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -146,7 +146,7 @@ func (o *Name) GetVar123Number() int32 {
|
|||||||
// GetVar123NumberOk returns a tuple with the Var123Number field value if set, nil otherwise
|
// GetVar123NumberOk returns a tuple with the Var123Number field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Name) GetVar123NumberOk() (*int32, bool) {
|
func (o *Name) GetVar123NumberOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Var123Number) {
|
if o == nil || IsNil(o.Var123Number) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Var123Number, true
|
return o.Var123Number, true
|
||||||
@ -154,7 +154,7 @@ func (o *Name) GetVar123NumberOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasVar123Number returns a boolean if a field has been set.
|
// HasVar123Number returns a boolean if a field has been set.
|
||||||
func (o *Name) HasVar123Number() bool {
|
func (o *Name) HasVar123Number() bool {
|
||||||
if o != nil && !isNil(o.Var123Number) {
|
if o != nil && !IsNil(o.Var123Number) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -178,7 +178,7 @@ func (o Name) ToMap() (map[string]interface{}, error) {
|
|||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
// skip: snake_case is readOnly
|
// skip: snake_case is readOnly
|
||||||
if !isNil(o.Property) {
|
if !IsNil(o.Property) {
|
||||||
toSerialize["property"] = o.Property
|
toSerialize["property"] = o.Property
|
||||||
}
|
}
|
||||||
// skip: 123Number is readOnly
|
// skip: 123Number is readOnly
|
||||||
|
@ -44,7 +44,7 @@ func NewNullableAllOfWithDefaults() *NullableAllOf {
|
|||||||
|
|
||||||
// GetChild returns the Child field value if set, zero value otherwise (both if not set or set to explicit null).
|
// GetChild returns the Child field value if set, zero value otherwise (both if not set or set to explicit null).
|
||||||
func (o *NullableAllOf) GetChild() NullableAllOfChild {
|
func (o *NullableAllOf) GetChild() NullableAllOfChild {
|
||||||
if o == nil || isNil(o.Child.Get()) {
|
if o == nil || IsNil(o.Child.Get()) {
|
||||||
var ret NullableAllOfChild
|
var ret NullableAllOfChild
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ func NewNullableAllOfChildWithDefaults() *NullableAllOfChild {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *NullableAllOfChild) GetName() string {
|
func (o *NullableAllOfChild) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *NullableAllOfChild) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *NullableAllOfChild) GetNameOk() (*string, bool) {
|
func (o *NullableAllOfChild) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -62,7 +62,7 @@ func (o *NullableAllOfChild) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *NullableAllOfChild) HasName() bool {
|
func (o *NullableAllOfChild) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o NullableAllOfChild) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o NullableAllOfChild) ToMap() (map[string]interface{}, error) {
|
func (o NullableAllOfChild) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ func NewNullableClassWithDefaults() *NullableClass {
|
|||||||
|
|
||||||
// GetIntegerProp returns the IntegerProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
// GetIntegerProp returns the IntegerProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
||||||
func (o *NullableClass) GetIntegerProp() int32 {
|
func (o *NullableClass) GetIntegerProp() int32 {
|
||||||
if o == nil || isNil(o.IntegerProp.Get()) {
|
if o == nil || IsNil(o.IntegerProp.Get()) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -99,7 +99,7 @@ func (o *NullableClass) UnsetIntegerProp() {
|
|||||||
|
|
||||||
// GetNumberProp returns the NumberProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
// GetNumberProp returns the NumberProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
||||||
func (o *NullableClass) GetNumberProp() float32 {
|
func (o *NullableClass) GetNumberProp() float32 {
|
||||||
if o == nil || isNil(o.NumberProp.Get()) {
|
if o == nil || IsNil(o.NumberProp.Get()) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -141,7 +141,7 @@ func (o *NullableClass) UnsetNumberProp() {
|
|||||||
|
|
||||||
// GetBooleanProp returns the BooleanProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
// GetBooleanProp returns the BooleanProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
||||||
func (o *NullableClass) GetBooleanProp() bool {
|
func (o *NullableClass) GetBooleanProp() bool {
|
||||||
if o == nil || isNil(o.BooleanProp.Get()) {
|
if o == nil || IsNil(o.BooleanProp.Get()) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -183,7 +183,7 @@ func (o *NullableClass) UnsetBooleanProp() {
|
|||||||
|
|
||||||
// GetStringProp returns the StringProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
// GetStringProp returns the StringProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
||||||
func (o *NullableClass) GetStringProp() string {
|
func (o *NullableClass) GetStringProp() string {
|
||||||
if o == nil || isNil(o.StringProp.Get()) {
|
if o == nil || IsNil(o.StringProp.Get()) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -225,7 +225,7 @@ func (o *NullableClass) UnsetStringProp() {
|
|||||||
|
|
||||||
// GetDateProp returns the DateProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
// GetDateProp returns the DateProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
||||||
func (o *NullableClass) GetDateProp() string {
|
func (o *NullableClass) GetDateProp() string {
|
||||||
if o == nil || isNil(o.DateProp.Get()) {
|
if o == nil || IsNil(o.DateProp.Get()) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -267,7 +267,7 @@ func (o *NullableClass) UnsetDateProp() {
|
|||||||
|
|
||||||
// GetDatetimeProp returns the DatetimeProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
// GetDatetimeProp returns the DatetimeProp field value if set, zero value otherwise (both if not set or set to explicit null).
|
||||||
func (o *NullableClass) GetDatetimeProp() time.Time {
|
func (o *NullableClass) GetDatetimeProp() time.Time {
|
||||||
if o == nil || isNil(o.DatetimeProp.Get()) {
|
if o == nil || IsNil(o.DatetimeProp.Get()) {
|
||||||
var ret time.Time
|
var ret time.Time
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -320,7 +320,7 @@ func (o *NullableClass) GetArrayNullableProp() []map[string]interface{} {
|
|||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
||||||
func (o *NullableClass) GetArrayNullablePropOk() ([]map[string]interface{}, bool) {
|
func (o *NullableClass) GetArrayNullablePropOk() ([]map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.ArrayNullableProp) {
|
if o == nil || IsNil(o.ArrayNullableProp) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayNullableProp, true
|
return o.ArrayNullableProp, true
|
||||||
@ -328,7 +328,7 @@ func (o *NullableClass) GetArrayNullablePropOk() ([]map[string]interface{}, bool
|
|||||||
|
|
||||||
// HasArrayNullableProp returns a boolean if a field has been set.
|
// HasArrayNullableProp returns a boolean if a field has been set.
|
||||||
func (o *NullableClass) HasArrayNullableProp() bool {
|
func (o *NullableClass) HasArrayNullableProp() bool {
|
||||||
if o != nil && isNil(o.ArrayNullableProp) {
|
if o != nil && IsNil(o.ArrayNullableProp) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -353,7 +353,7 @@ func (o *NullableClass) GetArrayAndItemsNullableProp() []*map[string]interface{}
|
|||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
||||||
func (o *NullableClass) GetArrayAndItemsNullablePropOk() ([]*map[string]interface{}, bool) {
|
func (o *NullableClass) GetArrayAndItemsNullablePropOk() ([]*map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.ArrayAndItemsNullableProp) {
|
if o == nil || IsNil(o.ArrayAndItemsNullableProp) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayAndItemsNullableProp, true
|
return o.ArrayAndItemsNullableProp, true
|
||||||
@ -361,7 +361,7 @@ func (o *NullableClass) GetArrayAndItemsNullablePropOk() ([]*map[string]interfac
|
|||||||
|
|
||||||
// HasArrayAndItemsNullableProp returns a boolean if a field has been set.
|
// HasArrayAndItemsNullableProp returns a boolean if a field has been set.
|
||||||
func (o *NullableClass) HasArrayAndItemsNullableProp() bool {
|
func (o *NullableClass) HasArrayAndItemsNullableProp() bool {
|
||||||
if o != nil && isNil(o.ArrayAndItemsNullableProp) {
|
if o != nil && IsNil(o.ArrayAndItemsNullableProp) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -375,7 +375,7 @@ func (o *NullableClass) SetArrayAndItemsNullableProp(v []*map[string]interface{}
|
|||||||
|
|
||||||
// GetArrayItemsNullable returns the ArrayItemsNullable field value if set, zero value otherwise.
|
// GetArrayItemsNullable returns the ArrayItemsNullable field value if set, zero value otherwise.
|
||||||
func (o *NullableClass) GetArrayItemsNullable() []*map[string]interface{} {
|
func (o *NullableClass) GetArrayItemsNullable() []*map[string]interface{} {
|
||||||
if o == nil || isNil(o.ArrayItemsNullable) {
|
if o == nil || IsNil(o.ArrayItemsNullable) {
|
||||||
var ret []*map[string]interface{}
|
var ret []*map[string]interface{}
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -385,7 +385,7 @@ func (o *NullableClass) GetArrayItemsNullable() []*map[string]interface{} {
|
|||||||
// GetArrayItemsNullableOk returns a tuple with the ArrayItemsNullable field value if set, nil otherwise
|
// GetArrayItemsNullableOk returns a tuple with the ArrayItemsNullable field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *NullableClass) GetArrayItemsNullableOk() ([]*map[string]interface{}, bool) {
|
func (o *NullableClass) GetArrayItemsNullableOk() ([]*map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.ArrayItemsNullable) {
|
if o == nil || IsNil(o.ArrayItemsNullable) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ArrayItemsNullable, true
|
return o.ArrayItemsNullable, true
|
||||||
@ -393,7 +393,7 @@ func (o *NullableClass) GetArrayItemsNullableOk() ([]*map[string]interface{}, bo
|
|||||||
|
|
||||||
// HasArrayItemsNullable returns a boolean if a field has been set.
|
// HasArrayItemsNullable returns a boolean if a field has been set.
|
||||||
func (o *NullableClass) HasArrayItemsNullable() bool {
|
func (o *NullableClass) HasArrayItemsNullable() bool {
|
||||||
if o != nil && !isNil(o.ArrayItemsNullable) {
|
if o != nil && !IsNil(o.ArrayItemsNullable) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -418,7 +418,7 @@ func (o *NullableClass) GetObjectNullableProp() map[string]map[string]interface{
|
|||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
||||||
func (o *NullableClass) GetObjectNullablePropOk() (map[string]map[string]interface{}, bool) {
|
func (o *NullableClass) GetObjectNullablePropOk() (map[string]map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.ObjectNullableProp) {
|
if o == nil || IsNil(o.ObjectNullableProp) {
|
||||||
return map[string]map[string]interface{}{}, false
|
return map[string]map[string]interface{}{}, false
|
||||||
}
|
}
|
||||||
return o.ObjectNullableProp, true
|
return o.ObjectNullableProp, true
|
||||||
@ -426,7 +426,7 @@ func (o *NullableClass) GetObjectNullablePropOk() (map[string]map[string]interfa
|
|||||||
|
|
||||||
// HasObjectNullableProp returns a boolean if a field has been set.
|
// HasObjectNullableProp returns a boolean if a field has been set.
|
||||||
func (o *NullableClass) HasObjectNullableProp() bool {
|
func (o *NullableClass) HasObjectNullableProp() bool {
|
||||||
if o != nil && isNil(o.ObjectNullableProp) {
|
if o != nil && IsNil(o.ObjectNullableProp) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -451,7 +451,7 @@ func (o *NullableClass) GetObjectAndItemsNullableProp() map[string]map[string]in
|
|||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
||||||
func (o *NullableClass) GetObjectAndItemsNullablePropOk() (map[string]map[string]interface{}, bool) {
|
func (o *NullableClass) GetObjectAndItemsNullablePropOk() (map[string]map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.ObjectAndItemsNullableProp) {
|
if o == nil || IsNil(o.ObjectAndItemsNullableProp) {
|
||||||
return map[string]map[string]interface{}{}, false
|
return map[string]map[string]interface{}{}, false
|
||||||
}
|
}
|
||||||
return o.ObjectAndItemsNullableProp, true
|
return o.ObjectAndItemsNullableProp, true
|
||||||
@ -459,7 +459,7 @@ func (o *NullableClass) GetObjectAndItemsNullablePropOk() (map[string]map[string
|
|||||||
|
|
||||||
// HasObjectAndItemsNullableProp returns a boolean if a field has been set.
|
// HasObjectAndItemsNullableProp returns a boolean if a field has been set.
|
||||||
func (o *NullableClass) HasObjectAndItemsNullableProp() bool {
|
func (o *NullableClass) HasObjectAndItemsNullableProp() bool {
|
||||||
if o != nil && isNil(o.ObjectAndItemsNullableProp) {
|
if o != nil && IsNil(o.ObjectAndItemsNullableProp) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -473,7 +473,7 @@ func (o *NullableClass) SetObjectAndItemsNullableProp(v map[string]map[string]in
|
|||||||
|
|
||||||
// GetObjectItemsNullable returns the ObjectItemsNullable field value if set, zero value otherwise.
|
// GetObjectItemsNullable returns the ObjectItemsNullable field value if set, zero value otherwise.
|
||||||
func (o *NullableClass) GetObjectItemsNullable() map[string]map[string]interface{} {
|
func (o *NullableClass) GetObjectItemsNullable() map[string]map[string]interface{} {
|
||||||
if o == nil || isNil(o.ObjectItemsNullable) {
|
if o == nil || IsNil(o.ObjectItemsNullable) {
|
||||||
var ret map[string]map[string]interface{}
|
var ret map[string]map[string]interface{}
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -483,7 +483,7 @@ func (o *NullableClass) GetObjectItemsNullable() map[string]map[string]interface
|
|||||||
// GetObjectItemsNullableOk returns a tuple with the ObjectItemsNullable field value if set, nil otherwise
|
// GetObjectItemsNullableOk returns a tuple with the ObjectItemsNullable field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *NullableClass) GetObjectItemsNullableOk() (map[string]map[string]interface{}, bool) {
|
func (o *NullableClass) GetObjectItemsNullableOk() (map[string]map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.ObjectItemsNullable) {
|
if o == nil || IsNil(o.ObjectItemsNullable) {
|
||||||
return map[string]map[string]interface{}{}, false
|
return map[string]map[string]interface{}{}, false
|
||||||
}
|
}
|
||||||
return o.ObjectItemsNullable, true
|
return o.ObjectItemsNullable, true
|
||||||
@ -491,7 +491,7 @@ func (o *NullableClass) GetObjectItemsNullableOk() (map[string]map[string]interf
|
|||||||
|
|
||||||
// HasObjectItemsNullable returns a boolean if a field has been set.
|
// HasObjectItemsNullable returns a boolean if a field has been set.
|
||||||
func (o *NullableClass) HasObjectItemsNullable() bool {
|
func (o *NullableClass) HasObjectItemsNullable() bool {
|
||||||
if o != nil && !isNil(o.ObjectItemsNullable) {
|
if o != nil && !IsNil(o.ObjectItemsNullable) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -537,7 +537,7 @@ func (o NullableClass) ToMap() (map[string]interface{}, error) {
|
|||||||
if o.ArrayAndItemsNullableProp != nil {
|
if o.ArrayAndItemsNullableProp != nil {
|
||||||
toSerialize["array_and_items_nullable_prop"] = o.ArrayAndItemsNullableProp
|
toSerialize["array_and_items_nullable_prop"] = o.ArrayAndItemsNullableProp
|
||||||
}
|
}
|
||||||
if !isNil(o.ArrayItemsNullable) {
|
if !IsNil(o.ArrayItemsNullable) {
|
||||||
toSerialize["array_items_nullable"] = o.ArrayItemsNullable
|
toSerialize["array_items_nullable"] = o.ArrayItemsNullable
|
||||||
}
|
}
|
||||||
if o.ObjectNullableProp != nil {
|
if o.ObjectNullableProp != nil {
|
||||||
@ -546,7 +546,7 @@ func (o NullableClass) ToMap() (map[string]interface{}, error) {
|
|||||||
if o.ObjectAndItemsNullableProp != nil {
|
if o.ObjectAndItemsNullableProp != nil {
|
||||||
toSerialize["object_and_items_nullable_prop"] = o.ObjectAndItemsNullableProp
|
toSerialize["object_and_items_nullable_prop"] = o.ObjectAndItemsNullableProp
|
||||||
}
|
}
|
||||||
if !isNil(o.ObjectItemsNullable) {
|
if !IsNil(o.ObjectItemsNullable) {
|
||||||
toSerialize["object_items_nullable"] = o.ObjectItemsNullable
|
toSerialize["object_items_nullable"] = o.ObjectItemsNullable
|
||||||
}
|
}
|
||||||
return toSerialize, nil
|
return toSerialize, nil
|
||||||
|
@ -44,7 +44,7 @@ func NewNumberOnlyWithDefaults() *NumberOnly {
|
|||||||
|
|
||||||
// GetJustNumber returns the JustNumber field value if set, zero value otherwise.
|
// GetJustNumber returns the JustNumber field value if set, zero value otherwise.
|
||||||
func (o *NumberOnly) GetJustNumber() float32 {
|
func (o *NumberOnly) GetJustNumber() float32 {
|
||||||
if o == nil || isNil(o.JustNumber) {
|
if o == nil || IsNil(o.JustNumber) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *NumberOnly) GetJustNumber() float32 {
|
|||||||
// GetJustNumberOk returns a tuple with the JustNumber field value if set, nil otherwise
|
// GetJustNumberOk returns a tuple with the JustNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *NumberOnly) GetJustNumberOk() (*float32, bool) {
|
func (o *NumberOnly) GetJustNumberOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.JustNumber) {
|
if o == nil || IsNil(o.JustNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.JustNumber, true
|
return o.JustNumber, true
|
||||||
@ -62,7 +62,7 @@ func (o *NumberOnly) GetJustNumberOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasJustNumber returns a boolean if a field has been set.
|
// HasJustNumber returns a boolean if a field has been set.
|
||||||
func (o *NumberOnly) HasJustNumber() bool {
|
func (o *NumberOnly) HasJustNumber() bool {
|
||||||
if o != nil && !isNil(o.JustNumber) {
|
if o != nil && !IsNil(o.JustNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o NumberOnly) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o NumberOnly) ToMap() (map[string]interface{}, error) {
|
func (o NumberOnly) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.JustNumber) {
|
if !IsNil(o.JustNumber) {
|
||||||
toSerialize["JustNumber"] = o.JustNumber
|
toSerialize["JustNumber"] = o.JustNumber
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewOneOfPrimitiveTypeChildWithDefaults() *OneOfPrimitiveTypeChild {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *OneOfPrimitiveTypeChild) GetName() string {
|
func (o *OneOfPrimitiveTypeChild) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *OneOfPrimitiveTypeChild) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *OneOfPrimitiveTypeChild) GetNameOk() (*string, bool) {
|
func (o *OneOfPrimitiveTypeChild) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -62,7 +62,7 @@ func (o *OneOfPrimitiveTypeChild) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *OneOfPrimitiveTypeChild) HasName() bool {
|
func (o *OneOfPrimitiveTypeChild) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o OneOfPrimitiveTypeChild) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o OneOfPrimitiveTypeChild) ToMap() (map[string]interface{}, error) {
|
func (o OneOfPrimitiveTypeChild) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ func NewOrderWithDefaults() *Order {
|
|||||||
|
|
||||||
// GetId returns the Id field value if set, zero value otherwise.
|
// GetId returns the Id field value if set, zero value otherwise.
|
||||||
func (o *Order) GetId() int64 {
|
func (o *Order) GetId() int64 {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -65,7 +65,7 @@ func (o *Order) GetId() int64 {
|
|||||||
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetIdOk() (*int64, bool) {
|
func (o *Order) GetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Id, true
|
return o.Id, true
|
||||||
@ -73,7 +73,7 @@ func (o *Order) GetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasId returns a boolean if a field has been set.
|
// HasId returns a boolean if a field has been set.
|
||||||
func (o *Order) HasId() bool {
|
func (o *Order) HasId() bool {
|
||||||
if o != nil && !isNil(o.Id) {
|
if o != nil && !IsNil(o.Id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ func (o *Order) SetId(v int64) {
|
|||||||
|
|
||||||
// GetPetId returns the PetId field value if set, zero value otherwise.
|
// GetPetId returns the PetId field value if set, zero value otherwise.
|
||||||
func (o *Order) GetPetId() int64 {
|
func (o *Order) GetPetId() int64 {
|
||||||
if o == nil || isNil(o.PetId) {
|
if o == nil || IsNil(o.PetId) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -97,7 +97,7 @@ func (o *Order) GetPetId() int64 {
|
|||||||
// GetPetIdOk returns a tuple with the PetId field value if set, nil otherwise
|
// GetPetIdOk returns a tuple with the PetId field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetPetIdOk() (*int64, bool) {
|
func (o *Order) GetPetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.PetId) {
|
if o == nil || IsNil(o.PetId) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.PetId, true
|
return o.PetId, true
|
||||||
@ -105,7 +105,7 @@ func (o *Order) GetPetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasPetId returns a boolean if a field has been set.
|
// HasPetId returns a boolean if a field has been set.
|
||||||
func (o *Order) HasPetId() bool {
|
func (o *Order) HasPetId() bool {
|
||||||
if o != nil && !isNil(o.PetId) {
|
if o != nil && !IsNil(o.PetId) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ func (o *Order) SetPetId(v int64) {
|
|||||||
|
|
||||||
// GetQuantity returns the Quantity field value if set, zero value otherwise.
|
// GetQuantity returns the Quantity field value if set, zero value otherwise.
|
||||||
func (o *Order) GetQuantity() int32 {
|
func (o *Order) GetQuantity() int32 {
|
||||||
if o == nil || isNil(o.Quantity) {
|
if o == nil || IsNil(o.Quantity) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -129,7 +129,7 @@ func (o *Order) GetQuantity() int32 {
|
|||||||
// GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise
|
// GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetQuantityOk() (*int32, bool) {
|
func (o *Order) GetQuantityOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Quantity) {
|
if o == nil || IsNil(o.Quantity) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Quantity, true
|
return o.Quantity, true
|
||||||
@ -137,7 +137,7 @@ func (o *Order) GetQuantityOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasQuantity returns a boolean if a field has been set.
|
// HasQuantity returns a boolean if a field has been set.
|
||||||
func (o *Order) HasQuantity() bool {
|
func (o *Order) HasQuantity() bool {
|
||||||
if o != nil && !isNil(o.Quantity) {
|
if o != nil && !IsNil(o.Quantity) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ func (o *Order) SetQuantity(v int32) {
|
|||||||
|
|
||||||
// GetShipDate returns the ShipDate field value if set, zero value otherwise.
|
// GetShipDate returns the ShipDate field value if set, zero value otherwise.
|
||||||
func (o *Order) GetShipDate() time.Time {
|
func (o *Order) GetShipDate() time.Time {
|
||||||
if o == nil || isNil(o.ShipDate) {
|
if o == nil || IsNil(o.ShipDate) {
|
||||||
var ret time.Time
|
var ret time.Time
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -161,7 +161,7 @@ func (o *Order) GetShipDate() time.Time {
|
|||||||
// GetShipDateOk returns a tuple with the ShipDate field value if set, nil otherwise
|
// GetShipDateOk returns a tuple with the ShipDate field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetShipDateOk() (*time.Time, bool) {
|
func (o *Order) GetShipDateOk() (*time.Time, bool) {
|
||||||
if o == nil || isNil(o.ShipDate) {
|
if o == nil || IsNil(o.ShipDate) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.ShipDate, true
|
return o.ShipDate, true
|
||||||
@ -169,7 +169,7 @@ func (o *Order) GetShipDateOk() (*time.Time, bool) {
|
|||||||
|
|
||||||
// HasShipDate returns a boolean if a field has been set.
|
// HasShipDate returns a boolean if a field has been set.
|
||||||
func (o *Order) HasShipDate() bool {
|
func (o *Order) HasShipDate() bool {
|
||||||
if o != nil && !isNil(o.ShipDate) {
|
if o != nil && !IsNil(o.ShipDate) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -183,7 +183,7 @@ func (o *Order) SetShipDate(v time.Time) {
|
|||||||
|
|
||||||
// GetStatus returns the Status field value if set, zero value otherwise.
|
// GetStatus returns the Status field value if set, zero value otherwise.
|
||||||
func (o *Order) GetStatus() string {
|
func (o *Order) GetStatus() string {
|
||||||
if o == nil || isNil(o.Status) {
|
if o == nil || IsNil(o.Status) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -193,7 +193,7 @@ func (o *Order) GetStatus() string {
|
|||||||
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
|
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetStatusOk() (*string, bool) {
|
func (o *Order) GetStatusOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Status) {
|
if o == nil || IsNil(o.Status) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Status, true
|
return o.Status, true
|
||||||
@ -201,7 +201,7 @@ func (o *Order) GetStatusOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasStatus returns a boolean if a field has been set.
|
// HasStatus returns a boolean if a field has been set.
|
||||||
func (o *Order) HasStatus() bool {
|
func (o *Order) HasStatus() bool {
|
||||||
if o != nil && !isNil(o.Status) {
|
if o != nil && !IsNil(o.Status) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -215,7 +215,7 @@ func (o *Order) SetStatus(v string) {
|
|||||||
|
|
||||||
// GetComplete returns the Complete field value if set, zero value otherwise.
|
// GetComplete returns the Complete field value if set, zero value otherwise.
|
||||||
func (o *Order) GetComplete() bool {
|
func (o *Order) GetComplete() bool {
|
||||||
if o == nil || isNil(o.Complete) {
|
if o == nil || IsNil(o.Complete) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -225,7 +225,7 @@ func (o *Order) GetComplete() bool {
|
|||||||
// GetCompleteOk returns a tuple with the Complete field value if set, nil otherwise
|
// GetCompleteOk returns a tuple with the Complete field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Order) GetCompleteOk() (*bool, bool) {
|
func (o *Order) GetCompleteOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.Complete) {
|
if o == nil || IsNil(o.Complete) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Complete, true
|
return o.Complete, true
|
||||||
@ -233,7 +233,7 @@ func (o *Order) GetCompleteOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasComplete returns a boolean if a field has been set.
|
// HasComplete returns a boolean if a field has been set.
|
||||||
func (o *Order) HasComplete() bool {
|
func (o *Order) HasComplete() bool {
|
||||||
if o != nil && !isNil(o.Complete) {
|
if o != nil && !IsNil(o.Complete) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -255,22 +255,22 @@ func (o Order) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Order) ToMap() (map[string]interface{}, error) {
|
func (o Order) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Id) {
|
if !IsNil(o.Id) {
|
||||||
toSerialize["id"] = o.Id
|
toSerialize["id"] = o.Id
|
||||||
}
|
}
|
||||||
if !isNil(o.PetId) {
|
if !IsNil(o.PetId) {
|
||||||
toSerialize["petId"] = o.PetId
|
toSerialize["petId"] = o.PetId
|
||||||
}
|
}
|
||||||
if !isNil(o.Quantity) {
|
if !IsNil(o.Quantity) {
|
||||||
toSerialize["quantity"] = o.Quantity
|
toSerialize["quantity"] = o.Quantity
|
||||||
}
|
}
|
||||||
if !isNil(o.ShipDate) {
|
if !IsNil(o.ShipDate) {
|
||||||
toSerialize["shipDate"] = o.ShipDate
|
toSerialize["shipDate"] = o.ShipDate
|
||||||
}
|
}
|
||||||
if !isNil(o.Status) {
|
if !IsNil(o.Status) {
|
||||||
toSerialize["status"] = o.Status
|
toSerialize["status"] = o.Status
|
||||||
}
|
}
|
||||||
if !isNil(o.Complete) {
|
if !IsNil(o.Complete) {
|
||||||
toSerialize["complete"] = o.Complete
|
toSerialize["complete"] = o.Complete
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ func NewOuterCompositeWithDefaults() *OuterComposite {
|
|||||||
|
|
||||||
// GetMyNumber returns the MyNumber field value if set, zero value otherwise.
|
// GetMyNumber returns the MyNumber field value if set, zero value otherwise.
|
||||||
func (o *OuterComposite) GetMyNumber() float32 {
|
func (o *OuterComposite) GetMyNumber() float32 {
|
||||||
if o == nil || isNil(o.MyNumber) {
|
if o == nil || IsNil(o.MyNumber) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -56,7 +56,7 @@ func (o *OuterComposite) GetMyNumber() float32 {
|
|||||||
// GetMyNumberOk returns a tuple with the MyNumber field value if set, nil otherwise
|
// GetMyNumberOk returns a tuple with the MyNumber field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *OuterComposite) GetMyNumberOk() (*float32, bool) {
|
func (o *OuterComposite) GetMyNumberOk() (*float32, bool) {
|
||||||
if o == nil || isNil(o.MyNumber) {
|
if o == nil || IsNil(o.MyNumber) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MyNumber, true
|
return o.MyNumber, true
|
||||||
@ -64,7 +64,7 @@ func (o *OuterComposite) GetMyNumberOk() (*float32, bool) {
|
|||||||
|
|
||||||
// HasMyNumber returns a boolean if a field has been set.
|
// HasMyNumber returns a boolean if a field has been set.
|
||||||
func (o *OuterComposite) HasMyNumber() bool {
|
func (o *OuterComposite) HasMyNumber() bool {
|
||||||
if o != nil && !isNil(o.MyNumber) {
|
if o != nil && !IsNil(o.MyNumber) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ func (o *OuterComposite) SetMyNumber(v float32) {
|
|||||||
|
|
||||||
// GetMyString returns the MyString field value if set, zero value otherwise.
|
// GetMyString returns the MyString field value if set, zero value otherwise.
|
||||||
func (o *OuterComposite) GetMyString() string {
|
func (o *OuterComposite) GetMyString() string {
|
||||||
if o == nil || isNil(o.MyString) {
|
if o == nil || IsNil(o.MyString) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@ func (o *OuterComposite) GetMyString() string {
|
|||||||
// GetMyStringOk returns a tuple with the MyString field value if set, nil otherwise
|
// GetMyStringOk returns a tuple with the MyString field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *OuterComposite) GetMyStringOk() (*string, bool) {
|
func (o *OuterComposite) GetMyStringOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.MyString) {
|
if o == nil || IsNil(o.MyString) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MyString, true
|
return o.MyString, true
|
||||||
@ -96,7 +96,7 @@ func (o *OuterComposite) GetMyStringOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasMyString returns a boolean if a field has been set.
|
// HasMyString returns a boolean if a field has been set.
|
||||||
func (o *OuterComposite) HasMyString() bool {
|
func (o *OuterComposite) HasMyString() bool {
|
||||||
if o != nil && !isNil(o.MyString) {
|
if o != nil && !IsNil(o.MyString) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ func (o *OuterComposite) SetMyString(v string) {
|
|||||||
|
|
||||||
// GetMyBoolean returns the MyBoolean field value if set, zero value otherwise.
|
// GetMyBoolean returns the MyBoolean field value if set, zero value otherwise.
|
||||||
func (o *OuterComposite) GetMyBoolean() bool {
|
func (o *OuterComposite) GetMyBoolean() bool {
|
||||||
if o == nil || isNil(o.MyBoolean) {
|
if o == nil || IsNil(o.MyBoolean) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -120,7 +120,7 @@ func (o *OuterComposite) GetMyBoolean() bool {
|
|||||||
// GetMyBooleanOk returns a tuple with the MyBoolean field value if set, nil otherwise
|
// GetMyBooleanOk returns a tuple with the MyBoolean field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *OuterComposite) GetMyBooleanOk() (*bool, bool) {
|
func (o *OuterComposite) GetMyBooleanOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.MyBoolean) {
|
if o == nil || IsNil(o.MyBoolean) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.MyBoolean, true
|
return o.MyBoolean, true
|
||||||
@ -128,7 +128,7 @@ func (o *OuterComposite) GetMyBooleanOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasMyBoolean returns a boolean if a field has been set.
|
// HasMyBoolean returns a boolean if a field has been set.
|
||||||
func (o *OuterComposite) HasMyBoolean() bool {
|
func (o *OuterComposite) HasMyBoolean() bool {
|
||||||
if o != nil && !isNil(o.MyBoolean) {
|
if o != nil && !IsNil(o.MyBoolean) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -150,13 +150,13 @@ func (o OuterComposite) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o OuterComposite) ToMap() (map[string]interface{}, error) {
|
func (o OuterComposite) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.MyNumber) {
|
if !IsNil(o.MyNumber) {
|
||||||
toSerialize["my_number"] = o.MyNumber
|
toSerialize["my_number"] = o.MyNumber
|
||||||
}
|
}
|
||||||
if !isNil(o.MyString) {
|
if !IsNil(o.MyString) {
|
||||||
toSerialize["my_string"] = o.MyString
|
toSerialize["my_string"] = o.MyString
|
||||||
}
|
}
|
||||||
if !isNil(o.MyBoolean) {
|
if !IsNil(o.MyBoolean) {
|
||||||
toSerialize["my_boolean"] = o.MyBoolean
|
toSerialize["my_boolean"] = o.MyBoolean
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ func NewPetWithDefaults() *Pet {
|
|||||||
|
|
||||||
// GetId returns the Id field value if set, zero value otherwise.
|
// GetId returns the Id field value if set, zero value otherwise.
|
||||||
func (o *Pet) GetId() int64 {
|
func (o *Pet) GetId() int64 {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -63,7 +63,7 @@ func (o *Pet) GetId() int64 {
|
|||||||
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Pet) GetIdOk() (*int64, bool) {
|
func (o *Pet) GetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Id, true
|
return o.Id, true
|
||||||
@ -71,7 +71,7 @@ func (o *Pet) GetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasId returns a boolean if a field has been set.
|
// HasId returns a boolean if a field has been set.
|
||||||
func (o *Pet) HasId() bool {
|
func (o *Pet) HasId() bool {
|
||||||
if o != nil && !isNil(o.Id) {
|
if o != nil && !IsNil(o.Id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ func (o *Pet) SetId(v int64) {
|
|||||||
|
|
||||||
// GetCategory returns the Category field value if set, zero value otherwise.
|
// GetCategory returns the Category field value if set, zero value otherwise.
|
||||||
func (o *Pet) GetCategory() Category {
|
func (o *Pet) GetCategory() Category {
|
||||||
if o == nil || isNil(o.Category) {
|
if o == nil || IsNil(o.Category) {
|
||||||
var ret Category
|
var ret Category
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -95,7 +95,7 @@ func (o *Pet) GetCategory() Category {
|
|||||||
// GetCategoryOk returns a tuple with the Category field value if set, nil otherwise
|
// GetCategoryOk returns a tuple with the Category field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Pet) GetCategoryOk() (*Category, bool) {
|
func (o *Pet) GetCategoryOk() (*Category, bool) {
|
||||||
if o == nil || isNil(o.Category) {
|
if o == nil || IsNil(o.Category) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Category, true
|
return o.Category, true
|
||||||
@ -103,7 +103,7 @@ func (o *Pet) GetCategoryOk() (*Category, bool) {
|
|||||||
|
|
||||||
// HasCategory returns a boolean if a field has been set.
|
// HasCategory returns a boolean if a field has been set.
|
||||||
func (o *Pet) HasCategory() bool {
|
func (o *Pet) HasCategory() bool {
|
||||||
if o != nil && !isNil(o.Category) {
|
if o != nil && !IsNil(o.Category) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ func (o *Pet) SetPhotoUrls(v []string) {
|
|||||||
|
|
||||||
// GetTags returns the Tags field value if set, zero value otherwise.
|
// GetTags returns the Tags field value if set, zero value otherwise.
|
||||||
func (o *Pet) GetTags() []Tag {
|
func (o *Pet) GetTags() []Tag {
|
||||||
if o == nil || isNil(o.Tags) {
|
if o == nil || IsNil(o.Tags) {
|
||||||
var ret []Tag
|
var ret []Tag
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@ func (o *Pet) GetTags() []Tag {
|
|||||||
// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise
|
// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Pet) GetTagsOk() ([]Tag, bool) {
|
func (o *Pet) GetTagsOk() ([]Tag, bool) {
|
||||||
if o == nil || isNil(o.Tags) {
|
if o == nil || IsNil(o.Tags) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Tags, true
|
return o.Tags, true
|
||||||
@ -183,7 +183,7 @@ func (o *Pet) GetTagsOk() ([]Tag, bool) {
|
|||||||
|
|
||||||
// HasTags returns a boolean if a field has been set.
|
// HasTags returns a boolean if a field has been set.
|
||||||
func (o *Pet) HasTags() bool {
|
func (o *Pet) HasTags() bool {
|
||||||
if o != nil && !isNil(o.Tags) {
|
if o != nil && !IsNil(o.Tags) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -198,7 +198,7 @@ func (o *Pet) SetTags(v []Tag) {
|
|||||||
// GetStatus returns the Status field value if set, zero value otherwise.
|
// GetStatus returns the Status field value if set, zero value otherwise.
|
||||||
// Deprecated
|
// Deprecated
|
||||||
func (o *Pet) GetStatus() string {
|
func (o *Pet) GetStatus() string {
|
||||||
if o == nil || isNil(o.Status) {
|
if o == nil || IsNil(o.Status) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -209,7 +209,7 @@ func (o *Pet) GetStatus() string {
|
|||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
// Deprecated
|
// Deprecated
|
||||||
func (o *Pet) GetStatusOk() (*string, bool) {
|
func (o *Pet) GetStatusOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Status) {
|
if o == nil || IsNil(o.Status) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Status, true
|
return o.Status, true
|
||||||
@ -217,7 +217,7 @@ func (o *Pet) GetStatusOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasStatus returns a boolean if a field has been set.
|
// HasStatus returns a boolean if a field has been set.
|
||||||
func (o *Pet) HasStatus() bool {
|
func (o *Pet) HasStatus() bool {
|
||||||
if o != nil && !isNil(o.Status) {
|
if o != nil && !IsNil(o.Status) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -240,18 +240,18 @@ func (o Pet) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Pet) ToMap() (map[string]interface{}, error) {
|
func (o Pet) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Id) {
|
if !IsNil(o.Id) {
|
||||||
toSerialize["id"] = o.Id
|
toSerialize["id"] = o.Id
|
||||||
}
|
}
|
||||||
if !isNil(o.Category) {
|
if !IsNil(o.Category) {
|
||||||
toSerialize["category"] = o.Category
|
toSerialize["category"] = o.Category
|
||||||
}
|
}
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
toSerialize["photoUrls"] = o.PhotoUrls
|
toSerialize["photoUrls"] = o.PhotoUrls
|
||||||
if !isNil(o.Tags) {
|
if !IsNil(o.Tags) {
|
||||||
toSerialize["tags"] = o.Tags
|
toSerialize["tags"] = o.Tags
|
||||||
}
|
}
|
||||||
if !isNil(o.Status) {
|
if !IsNil(o.Status) {
|
||||||
toSerialize["status"] = o.Status
|
toSerialize["status"] = o.Status
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func NewReadOnlyFirstWithDefaults() *ReadOnlyFirst {
|
|||||||
|
|
||||||
// GetBar returns the Bar field value if set, zero value otherwise.
|
// GetBar returns the Bar field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyFirst) GetBar() string {
|
func (o *ReadOnlyFirst) GetBar() string {
|
||||||
if o == nil || isNil(o.Bar) {
|
if o == nil || IsNil(o.Bar) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *ReadOnlyFirst) GetBar() string {
|
|||||||
// GetBarOk returns a tuple with the Bar field value if set, nil otherwise
|
// GetBarOk returns a tuple with the Bar field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyFirst) GetBarOk() (*string, bool) {
|
func (o *ReadOnlyFirst) GetBarOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Bar) {
|
if o == nil || IsNil(o.Bar) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Bar, true
|
return o.Bar, true
|
||||||
@ -63,7 +63,7 @@ func (o *ReadOnlyFirst) GetBarOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBar returns a boolean if a field has been set.
|
// HasBar returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyFirst) HasBar() bool {
|
func (o *ReadOnlyFirst) HasBar() bool {
|
||||||
if o != nil && !isNil(o.Bar) {
|
if o != nil && !IsNil(o.Bar) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ func (o *ReadOnlyFirst) SetBar(v string) {
|
|||||||
|
|
||||||
// GetBaz returns the Baz field value if set, zero value otherwise.
|
// GetBaz returns the Baz field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyFirst) GetBaz() string {
|
func (o *ReadOnlyFirst) GetBaz() string {
|
||||||
if o == nil || isNil(o.Baz) {
|
if o == nil || IsNil(o.Baz) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ func (o *ReadOnlyFirst) GetBaz() string {
|
|||||||
// GetBazOk returns a tuple with the Baz field value if set, nil otherwise
|
// GetBazOk returns a tuple with the Baz field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyFirst) GetBazOk() (*string, bool) {
|
func (o *ReadOnlyFirst) GetBazOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Baz) {
|
if o == nil || IsNil(o.Baz) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Baz, true
|
return o.Baz, true
|
||||||
@ -95,7 +95,7 @@ func (o *ReadOnlyFirst) GetBazOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasBaz returns a boolean if a field has been set.
|
// HasBaz returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyFirst) HasBaz() bool {
|
func (o *ReadOnlyFirst) HasBaz() bool {
|
||||||
if o != nil && !isNil(o.Baz) {
|
if o != nil && !IsNil(o.Baz) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ func (o ReadOnlyFirst) MarshalJSON() ([]byte, error) {
|
|||||||
func (o ReadOnlyFirst) ToMap() (map[string]interface{}, error) {
|
func (o ReadOnlyFirst) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
// skip: bar is readOnly
|
// skip: bar is readOnly
|
||||||
if !isNil(o.Baz) {
|
if !IsNil(o.Baz) {
|
||||||
toSerialize["baz"] = o.Baz
|
toSerialize["baz"] = o.Baz
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ func NewReadOnlyWithDefaultWithDefaults() *ReadOnlyWithDefault {
|
|||||||
|
|
||||||
// GetProp1 returns the Prop1 field value if set, zero value otherwise.
|
// GetProp1 returns the Prop1 field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyWithDefault) GetProp1() string {
|
func (o *ReadOnlyWithDefault) GetProp1() string {
|
||||||
if o == nil || isNil(o.Prop1) {
|
if o == nil || IsNil(o.Prop1) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -72,7 +72,7 @@ func (o *ReadOnlyWithDefault) GetProp1() string {
|
|||||||
// GetProp1Ok returns a tuple with the Prop1 field value if set, nil otherwise
|
// GetProp1Ok returns a tuple with the Prop1 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyWithDefault) GetProp1Ok() (*string, bool) {
|
func (o *ReadOnlyWithDefault) GetProp1Ok() (*string, bool) {
|
||||||
if o == nil || isNil(o.Prop1) {
|
if o == nil || IsNil(o.Prop1) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Prop1, true
|
return o.Prop1, true
|
||||||
@ -80,7 +80,7 @@ func (o *ReadOnlyWithDefault) GetProp1Ok() (*string, bool) {
|
|||||||
|
|
||||||
// HasProp1 returns a boolean if a field has been set.
|
// HasProp1 returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyWithDefault) HasProp1() bool {
|
func (o *ReadOnlyWithDefault) HasProp1() bool {
|
||||||
if o != nil && !isNil(o.Prop1) {
|
if o != nil && !IsNil(o.Prop1) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ func (o *ReadOnlyWithDefault) SetProp1(v string) {
|
|||||||
|
|
||||||
// GetProp2 returns the Prop2 field value if set, zero value otherwise.
|
// GetProp2 returns the Prop2 field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyWithDefault) GetProp2() string {
|
func (o *ReadOnlyWithDefault) GetProp2() string {
|
||||||
if o == nil || isNil(o.Prop2) {
|
if o == nil || IsNil(o.Prop2) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -104,7 +104,7 @@ func (o *ReadOnlyWithDefault) GetProp2() string {
|
|||||||
// GetProp2Ok returns a tuple with the Prop2 field value if set, nil otherwise
|
// GetProp2Ok returns a tuple with the Prop2 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyWithDefault) GetProp2Ok() (*string, bool) {
|
func (o *ReadOnlyWithDefault) GetProp2Ok() (*string, bool) {
|
||||||
if o == nil || isNil(o.Prop2) {
|
if o == nil || IsNil(o.Prop2) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Prop2, true
|
return o.Prop2, true
|
||||||
@ -112,7 +112,7 @@ func (o *ReadOnlyWithDefault) GetProp2Ok() (*string, bool) {
|
|||||||
|
|
||||||
// HasProp2 returns a boolean if a field has been set.
|
// HasProp2 returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyWithDefault) HasProp2() bool {
|
func (o *ReadOnlyWithDefault) HasProp2() bool {
|
||||||
if o != nil && !isNil(o.Prop2) {
|
if o != nil && !IsNil(o.Prop2) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ func (o *ReadOnlyWithDefault) SetProp2(v string) {
|
|||||||
|
|
||||||
// GetProp3 returns the Prop3 field value if set, zero value otherwise.
|
// GetProp3 returns the Prop3 field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyWithDefault) GetProp3() string {
|
func (o *ReadOnlyWithDefault) GetProp3() string {
|
||||||
if o == nil || isNil(o.Prop3) {
|
if o == nil || IsNil(o.Prop3) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -136,7 +136,7 @@ func (o *ReadOnlyWithDefault) GetProp3() string {
|
|||||||
// GetProp3Ok returns a tuple with the Prop3 field value if set, nil otherwise
|
// GetProp3Ok returns a tuple with the Prop3 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyWithDefault) GetProp3Ok() (*string, bool) {
|
func (o *ReadOnlyWithDefault) GetProp3Ok() (*string, bool) {
|
||||||
if o == nil || isNil(o.Prop3) {
|
if o == nil || IsNil(o.Prop3) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Prop3, true
|
return o.Prop3, true
|
||||||
@ -144,7 +144,7 @@ func (o *ReadOnlyWithDefault) GetProp3Ok() (*string, bool) {
|
|||||||
|
|
||||||
// HasProp3 returns a boolean if a field has been set.
|
// HasProp3 returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyWithDefault) HasProp3() bool {
|
func (o *ReadOnlyWithDefault) HasProp3() bool {
|
||||||
if o != nil && !isNil(o.Prop3) {
|
if o != nil && !IsNil(o.Prop3) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ func (o *ReadOnlyWithDefault) SetProp3(v string) {
|
|||||||
|
|
||||||
// GetBoolProp1 returns the BoolProp1 field value if set, zero value otherwise.
|
// GetBoolProp1 returns the BoolProp1 field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyWithDefault) GetBoolProp1() bool {
|
func (o *ReadOnlyWithDefault) GetBoolProp1() bool {
|
||||||
if o == nil || isNil(o.BoolProp1) {
|
if o == nil || IsNil(o.BoolProp1) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -168,7 +168,7 @@ func (o *ReadOnlyWithDefault) GetBoolProp1() bool {
|
|||||||
// GetBoolProp1Ok returns a tuple with the BoolProp1 field value if set, nil otherwise
|
// GetBoolProp1Ok returns a tuple with the BoolProp1 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyWithDefault) GetBoolProp1Ok() (*bool, bool) {
|
func (o *ReadOnlyWithDefault) GetBoolProp1Ok() (*bool, bool) {
|
||||||
if o == nil || isNil(o.BoolProp1) {
|
if o == nil || IsNil(o.BoolProp1) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.BoolProp1, true
|
return o.BoolProp1, true
|
||||||
@ -176,7 +176,7 @@ func (o *ReadOnlyWithDefault) GetBoolProp1Ok() (*bool, bool) {
|
|||||||
|
|
||||||
// HasBoolProp1 returns a boolean if a field has been set.
|
// HasBoolProp1 returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyWithDefault) HasBoolProp1() bool {
|
func (o *ReadOnlyWithDefault) HasBoolProp1() bool {
|
||||||
if o != nil && !isNil(o.BoolProp1) {
|
if o != nil && !IsNil(o.BoolProp1) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -190,7 +190,7 @@ func (o *ReadOnlyWithDefault) SetBoolProp1(v bool) {
|
|||||||
|
|
||||||
// GetBoolProp2 returns the BoolProp2 field value if set, zero value otherwise.
|
// GetBoolProp2 returns the BoolProp2 field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyWithDefault) GetBoolProp2() bool {
|
func (o *ReadOnlyWithDefault) GetBoolProp2() bool {
|
||||||
if o == nil || isNil(o.BoolProp2) {
|
if o == nil || IsNil(o.BoolProp2) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -200,7 +200,7 @@ func (o *ReadOnlyWithDefault) GetBoolProp2() bool {
|
|||||||
// GetBoolProp2Ok returns a tuple with the BoolProp2 field value if set, nil otherwise
|
// GetBoolProp2Ok returns a tuple with the BoolProp2 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyWithDefault) GetBoolProp2Ok() (*bool, bool) {
|
func (o *ReadOnlyWithDefault) GetBoolProp2Ok() (*bool, bool) {
|
||||||
if o == nil || isNil(o.BoolProp2) {
|
if o == nil || IsNil(o.BoolProp2) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.BoolProp2, true
|
return o.BoolProp2, true
|
||||||
@ -208,7 +208,7 @@ func (o *ReadOnlyWithDefault) GetBoolProp2Ok() (*bool, bool) {
|
|||||||
|
|
||||||
// HasBoolProp2 returns a boolean if a field has been set.
|
// HasBoolProp2 returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyWithDefault) HasBoolProp2() bool {
|
func (o *ReadOnlyWithDefault) HasBoolProp2() bool {
|
||||||
if o != nil && !isNil(o.BoolProp2) {
|
if o != nil && !IsNil(o.BoolProp2) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -222,7 +222,7 @@ func (o *ReadOnlyWithDefault) SetBoolProp2(v bool) {
|
|||||||
|
|
||||||
// GetIntProp1 returns the IntProp1 field value if set, zero value otherwise.
|
// GetIntProp1 returns the IntProp1 field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyWithDefault) GetIntProp1() float32 {
|
func (o *ReadOnlyWithDefault) GetIntProp1() float32 {
|
||||||
if o == nil || isNil(o.IntProp1) {
|
if o == nil || IsNil(o.IntProp1) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -232,7 +232,7 @@ func (o *ReadOnlyWithDefault) GetIntProp1() float32 {
|
|||||||
// GetIntProp1Ok returns a tuple with the IntProp1 field value if set, nil otherwise
|
// GetIntProp1Ok returns a tuple with the IntProp1 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyWithDefault) GetIntProp1Ok() (*float32, bool) {
|
func (o *ReadOnlyWithDefault) GetIntProp1Ok() (*float32, bool) {
|
||||||
if o == nil || isNil(o.IntProp1) {
|
if o == nil || IsNil(o.IntProp1) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.IntProp1, true
|
return o.IntProp1, true
|
||||||
@ -240,7 +240,7 @@ func (o *ReadOnlyWithDefault) GetIntProp1Ok() (*float32, bool) {
|
|||||||
|
|
||||||
// HasIntProp1 returns a boolean if a field has been set.
|
// HasIntProp1 returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyWithDefault) HasIntProp1() bool {
|
func (o *ReadOnlyWithDefault) HasIntProp1() bool {
|
||||||
if o != nil && !isNil(o.IntProp1) {
|
if o != nil && !IsNil(o.IntProp1) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -254,7 +254,7 @@ func (o *ReadOnlyWithDefault) SetIntProp1(v float32) {
|
|||||||
|
|
||||||
// GetIntProp2 returns the IntProp2 field value if set, zero value otherwise.
|
// GetIntProp2 returns the IntProp2 field value if set, zero value otherwise.
|
||||||
func (o *ReadOnlyWithDefault) GetIntProp2() float32 {
|
func (o *ReadOnlyWithDefault) GetIntProp2() float32 {
|
||||||
if o == nil || isNil(o.IntProp2) {
|
if o == nil || IsNil(o.IntProp2) {
|
||||||
var ret float32
|
var ret float32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -264,7 +264,7 @@ func (o *ReadOnlyWithDefault) GetIntProp2() float32 {
|
|||||||
// GetIntProp2Ok returns a tuple with the IntProp2 field value if set, nil otherwise
|
// GetIntProp2Ok returns a tuple with the IntProp2 field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *ReadOnlyWithDefault) GetIntProp2Ok() (*float32, bool) {
|
func (o *ReadOnlyWithDefault) GetIntProp2Ok() (*float32, bool) {
|
||||||
if o == nil || isNil(o.IntProp2) {
|
if o == nil || IsNil(o.IntProp2) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.IntProp2, true
|
return o.IntProp2, true
|
||||||
@ -272,7 +272,7 @@ func (o *ReadOnlyWithDefault) GetIntProp2Ok() (*float32, bool) {
|
|||||||
|
|
||||||
// HasIntProp2 returns a boolean if a field has been set.
|
// HasIntProp2 returns a boolean if a field has been set.
|
||||||
func (o *ReadOnlyWithDefault) HasIntProp2() bool {
|
func (o *ReadOnlyWithDefault) HasIntProp2() bool {
|
||||||
if o != nil && !isNil(o.IntProp2) {
|
if o != nil && !IsNil(o.IntProp2) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -296,15 +296,15 @@ func (o ReadOnlyWithDefault) ToMap() (map[string]interface{}, error) {
|
|||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
// skip: prop1 is readOnly
|
// skip: prop1 is readOnly
|
||||||
// skip: prop2 is readOnly
|
// skip: prop2 is readOnly
|
||||||
if !isNil(o.Prop3) {
|
if !IsNil(o.Prop3) {
|
||||||
toSerialize["prop3"] = o.Prop3
|
toSerialize["prop3"] = o.Prop3
|
||||||
}
|
}
|
||||||
// skip: boolProp1 is readOnly
|
// skip: boolProp1 is readOnly
|
||||||
if !isNil(o.BoolProp2) {
|
if !IsNil(o.BoolProp2) {
|
||||||
toSerialize["boolProp2"] = o.BoolProp2
|
toSerialize["boolProp2"] = o.BoolProp2
|
||||||
}
|
}
|
||||||
// skip: intProp1 is readOnly
|
// skip: intProp1 is readOnly
|
||||||
if !isNil(o.IntProp2) {
|
if !IsNil(o.IntProp2) {
|
||||||
toSerialize["intProp2"] = o.IntProp2
|
toSerialize["intProp2"] = o.IntProp2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ func NewReturnWithDefaults() *Return {
|
|||||||
|
|
||||||
// GetReturn returns the Return field value if set, zero value otherwise.
|
// GetReturn returns the Return field value if set, zero value otherwise.
|
||||||
func (o *Return) GetReturn() int32 {
|
func (o *Return) GetReturn() int32 {
|
||||||
if o == nil || isNil(o.Return) {
|
if o == nil || IsNil(o.Return) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ func (o *Return) GetReturn() int32 {
|
|||||||
// GetReturnOk returns a tuple with the Return field value if set, nil otherwise
|
// GetReturnOk returns a tuple with the Return field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Return) GetReturnOk() (*int32, bool) {
|
func (o *Return) GetReturnOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.Return) {
|
if o == nil || IsNil(o.Return) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Return, true
|
return o.Return, true
|
||||||
@ -62,7 +62,7 @@ func (o *Return) GetReturnOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasReturn returns a boolean if a field has been set.
|
// HasReturn returns a boolean if a field has been set.
|
||||||
func (o *Return) HasReturn() bool {
|
func (o *Return) HasReturn() bool {
|
||||||
if o != nil && !isNil(o.Return) {
|
if o != nil && !IsNil(o.Return) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ func (o Return) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Return) ToMap() (map[string]interface{}, error) {
|
func (o Return) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Return) {
|
if !IsNil(o.Return) {
|
||||||
toSerialize["return"] = o.Return
|
toSerialize["return"] = o.Return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func NewTagWithDefaults() *Tag {
|
|||||||
|
|
||||||
// GetId returns the Id field value if set, zero value otherwise.
|
// GetId returns the Id field value if set, zero value otherwise.
|
||||||
func (o *Tag) GetId() int64 {
|
func (o *Tag) GetId() int64 {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ func (o *Tag) GetId() int64 {
|
|||||||
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Tag) GetIdOk() (*int64, bool) {
|
func (o *Tag) GetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Id, true
|
return o.Id, true
|
||||||
@ -63,7 +63,7 @@ func (o *Tag) GetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasId returns a boolean if a field has been set.
|
// HasId returns a boolean if a field has been set.
|
||||||
func (o *Tag) HasId() bool {
|
func (o *Tag) HasId() bool {
|
||||||
if o != nil && !isNil(o.Id) {
|
if o != nil && !IsNil(o.Id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ func (o *Tag) SetId(v int64) {
|
|||||||
|
|
||||||
// GetName returns the Name field value if set, zero value otherwise.
|
// GetName returns the Name field value if set, zero value otherwise.
|
||||||
func (o *Tag) GetName() string {
|
func (o *Tag) GetName() string {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ func (o *Tag) GetName() string {
|
|||||||
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Tag) GetNameOk() (*string, bool) {
|
func (o *Tag) GetNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Name) {
|
if o == nil || IsNil(o.Name) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Name, true
|
return o.Name, true
|
||||||
@ -95,7 +95,7 @@ func (o *Tag) GetNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasName returns a boolean if a field has been set.
|
// HasName returns a boolean if a field has been set.
|
||||||
func (o *Tag) HasName() bool {
|
func (o *Tag) HasName() bool {
|
||||||
if o != nil && !isNil(o.Name) {
|
if o != nil && !IsNil(o.Name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,10 +117,10 @@ func (o Tag) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Tag) ToMap() (map[string]interface{}, error) {
|
func (o Tag) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Id) {
|
if !IsNil(o.Id) {
|
||||||
toSerialize["id"] = o.Id
|
toSerialize["id"] = o.Id
|
||||||
}
|
}
|
||||||
if !isNil(o.Name) {
|
if !IsNil(o.Name) {
|
||||||
toSerialize["name"] = o.Name
|
toSerialize["name"] = o.Name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ func NewUserWithDefaults() *User {
|
|||||||
|
|
||||||
// GetId returns the Id field value if set, zero value otherwise.
|
// GetId returns the Id field value if set, zero value otherwise.
|
||||||
func (o *User) GetId() int64 {
|
func (o *User) GetId() int64 {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
var ret int64
|
var ret int64
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -70,7 +70,7 @@ func (o *User) GetId() int64 {
|
|||||||
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetIdOk() (*int64, bool) {
|
func (o *User) GetIdOk() (*int64, bool) {
|
||||||
if o == nil || isNil(o.Id) {
|
if o == nil || IsNil(o.Id) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Id, true
|
return o.Id, true
|
||||||
@ -78,7 +78,7 @@ func (o *User) GetIdOk() (*int64, bool) {
|
|||||||
|
|
||||||
// HasId returns a boolean if a field has been set.
|
// HasId returns a boolean if a field has been set.
|
||||||
func (o *User) HasId() bool {
|
func (o *User) HasId() bool {
|
||||||
if o != nil && !isNil(o.Id) {
|
if o != nil && !IsNil(o.Id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ func (o *User) SetId(v int64) {
|
|||||||
|
|
||||||
// GetUsername returns the Username field value if set, zero value otherwise.
|
// GetUsername returns the Username field value if set, zero value otherwise.
|
||||||
func (o *User) GetUsername() string {
|
func (o *User) GetUsername() string {
|
||||||
if o == nil || isNil(o.Username) {
|
if o == nil || IsNil(o.Username) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -102,7 +102,7 @@ func (o *User) GetUsername() string {
|
|||||||
// GetUsernameOk returns a tuple with the Username field value if set, nil otherwise
|
// GetUsernameOk returns a tuple with the Username field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetUsernameOk() (*string, bool) {
|
func (o *User) GetUsernameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Username) {
|
if o == nil || IsNil(o.Username) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Username, true
|
return o.Username, true
|
||||||
@ -110,7 +110,7 @@ func (o *User) GetUsernameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasUsername returns a boolean if a field has been set.
|
// HasUsername returns a boolean if a field has been set.
|
||||||
func (o *User) HasUsername() bool {
|
func (o *User) HasUsername() bool {
|
||||||
if o != nil && !isNil(o.Username) {
|
if o != nil && !IsNil(o.Username) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ func (o *User) SetUsername(v string) {
|
|||||||
|
|
||||||
// GetFirstName returns the FirstName field value if set, zero value otherwise.
|
// GetFirstName returns the FirstName field value if set, zero value otherwise.
|
||||||
func (o *User) GetFirstName() string {
|
func (o *User) GetFirstName() string {
|
||||||
if o == nil || isNil(o.FirstName) {
|
if o == nil || IsNil(o.FirstName) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -134,7 +134,7 @@ func (o *User) GetFirstName() string {
|
|||||||
// GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise
|
// GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetFirstNameOk() (*string, bool) {
|
func (o *User) GetFirstNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.FirstName) {
|
if o == nil || IsNil(o.FirstName) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.FirstName, true
|
return o.FirstName, true
|
||||||
@ -142,7 +142,7 @@ func (o *User) GetFirstNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasFirstName returns a boolean if a field has been set.
|
// HasFirstName returns a boolean if a field has been set.
|
||||||
func (o *User) HasFirstName() bool {
|
func (o *User) HasFirstName() bool {
|
||||||
if o != nil && !isNil(o.FirstName) {
|
if o != nil && !IsNil(o.FirstName) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -156,7 +156,7 @@ func (o *User) SetFirstName(v string) {
|
|||||||
|
|
||||||
// GetLastName returns the LastName field value if set, zero value otherwise.
|
// GetLastName returns the LastName field value if set, zero value otherwise.
|
||||||
func (o *User) GetLastName() string {
|
func (o *User) GetLastName() string {
|
||||||
if o == nil || isNil(o.LastName) {
|
if o == nil || IsNil(o.LastName) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -166,7 +166,7 @@ func (o *User) GetLastName() string {
|
|||||||
// GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise
|
// GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetLastNameOk() (*string, bool) {
|
func (o *User) GetLastNameOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.LastName) {
|
if o == nil || IsNil(o.LastName) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.LastName, true
|
return o.LastName, true
|
||||||
@ -174,7 +174,7 @@ func (o *User) GetLastNameOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasLastName returns a boolean if a field has been set.
|
// HasLastName returns a boolean if a field has been set.
|
||||||
func (o *User) HasLastName() bool {
|
func (o *User) HasLastName() bool {
|
||||||
if o != nil && !isNil(o.LastName) {
|
if o != nil && !IsNil(o.LastName) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -188,7 +188,7 @@ func (o *User) SetLastName(v string) {
|
|||||||
|
|
||||||
// GetEmail returns the Email field value if set, zero value otherwise.
|
// GetEmail returns the Email field value if set, zero value otherwise.
|
||||||
func (o *User) GetEmail() string {
|
func (o *User) GetEmail() string {
|
||||||
if o == nil || isNil(o.Email) {
|
if o == nil || IsNil(o.Email) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -198,7 +198,7 @@ func (o *User) GetEmail() string {
|
|||||||
// GetEmailOk returns a tuple with the Email field value if set, nil otherwise
|
// GetEmailOk returns a tuple with the Email field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetEmailOk() (*string, bool) {
|
func (o *User) GetEmailOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Email) {
|
if o == nil || IsNil(o.Email) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Email, true
|
return o.Email, true
|
||||||
@ -206,7 +206,7 @@ func (o *User) GetEmailOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasEmail returns a boolean if a field has been set.
|
// HasEmail returns a boolean if a field has been set.
|
||||||
func (o *User) HasEmail() bool {
|
func (o *User) HasEmail() bool {
|
||||||
if o != nil && !isNil(o.Email) {
|
if o != nil && !IsNil(o.Email) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -220,7 +220,7 @@ func (o *User) SetEmail(v string) {
|
|||||||
|
|
||||||
// GetPassword returns the Password field value if set, zero value otherwise.
|
// GetPassword returns the Password field value if set, zero value otherwise.
|
||||||
func (o *User) GetPassword() string {
|
func (o *User) GetPassword() string {
|
||||||
if o == nil || isNil(o.Password) {
|
if o == nil || IsNil(o.Password) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -230,7 +230,7 @@ func (o *User) GetPassword() string {
|
|||||||
// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise
|
// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetPasswordOk() (*string, bool) {
|
func (o *User) GetPasswordOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Password) {
|
if o == nil || IsNil(o.Password) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Password, true
|
return o.Password, true
|
||||||
@ -238,7 +238,7 @@ func (o *User) GetPasswordOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasPassword returns a boolean if a field has been set.
|
// HasPassword returns a boolean if a field has been set.
|
||||||
func (o *User) HasPassword() bool {
|
func (o *User) HasPassword() bool {
|
||||||
if o != nil && !isNil(o.Password) {
|
if o != nil && !IsNil(o.Password) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -252,7 +252,7 @@ func (o *User) SetPassword(v string) {
|
|||||||
|
|
||||||
// GetPhone returns the Phone field value if set, zero value otherwise.
|
// GetPhone returns the Phone field value if set, zero value otherwise.
|
||||||
func (o *User) GetPhone() string {
|
func (o *User) GetPhone() string {
|
||||||
if o == nil || isNil(o.Phone) {
|
if o == nil || IsNil(o.Phone) {
|
||||||
var ret string
|
var ret string
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -262,7 +262,7 @@ func (o *User) GetPhone() string {
|
|||||||
// GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise
|
// GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetPhoneOk() (*string, bool) {
|
func (o *User) GetPhoneOk() (*string, bool) {
|
||||||
if o == nil || isNil(o.Phone) {
|
if o == nil || IsNil(o.Phone) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.Phone, true
|
return o.Phone, true
|
||||||
@ -270,7 +270,7 @@ func (o *User) GetPhoneOk() (*string, bool) {
|
|||||||
|
|
||||||
// HasPhone returns a boolean if a field has been set.
|
// HasPhone returns a boolean if a field has been set.
|
||||||
func (o *User) HasPhone() bool {
|
func (o *User) HasPhone() bool {
|
||||||
if o != nil && !isNil(o.Phone) {
|
if o != nil && !IsNil(o.Phone) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -284,7 +284,7 @@ func (o *User) SetPhone(v string) {
|
|||||||
|
|
||||||
// GetUserStatus returns the UserStatus field value if set, zero value otherwise.
|
// GetUserStatus returns the UserStatus field value if set, zero value otherwise.
|
||||||
func (o *User) GetUserStatus() int32 {
|
func (o *User) GetUserStatus() int32 {
|
||||||
if o == nil || isNil(o.UserStatus) {
|
if o == nil || IsNil(o.UserStatus) {
|
||||||
var ret int32
|
var ret int32
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -294,7 +294,7 @@ func (o *User) GetUserStatus() int32 {
|
|||||||
// GetUserStatusOk returns a tuple with the UserStatus field value if set, nil otherwise
|
// GetUserStatusOk returns a tuple with the UserStatus field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetUserStatusOk() (*int32, bool) {
|
func (o *User) GetUserStatusOk() (*int32, bool) {
|
||||||
if o == nil || isNil(o.UserStatus) {
|
if o == nil || IsNil(o.UserStatus) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.UserStatus, true
|
return o.UserStatus, true
|
||||||
@ -302,7 +302,7 @@ func (o *User) GetUserStatusOk() (*int32, bool) {
|
|||||||
|
|
||||||
// HasUserStatus returns a boolean if a field has been set.
|
// HasUserStatus returns a boolean if a field has been set.
|
||||||
func (o *User) HasUserStatus() bool {
|
func (o *User) HasUserStatus() bool {
|
||||||
if o != nil && !isNil(o.UserStatus) {
|
if o != nil && !IsNil(o.UserStatus) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -316,7 +316,7 @@ func (o *User) SetUserStatus(v int32) {
|
|||||||
|
|
||||||
// GetArbitraryObject returns the ArbitraryObject field value if set, zero value otherwise.
|
// GetArbitraryObject returns the ArbitraryObject field value if set, zero value otherwise.
|
||||||
func (o *User) GetArbitraryObject() map[string]interface{} {
|
func (o *User) GetArbitraryObject() map[string]interface{} {
|
||||||
if o == nil || isNil(o.ArbitraryObject) {
|
if o == nil || IsNil(o.ArbitraryObject) {
|
||||||
var ret map[string]interface{}
|
var ret map[string]interface{}
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -326,7 +326,7 @@ func (o *User) GetArbitraryObject() map[string]interface{} {
|
|||||||
// GetArbitraryObjectOk returns a tuple with the ArbitraryObject field value if set, nil otherwise
|
// GetArbitraryObjectOk returns a tuple with the ArbitraryObject field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *User) GetArbitraryObjectOk() (map[string]interface{}, bool) {
|
func (o *User) GetArbitraryObjectOk() (map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.ArbitraryObject) {
|
if o == nil || IsNil(o.ArbitraryObject) {
|
||||||
return map[string]interface{}{}, false
|
return map[string]interface{}{}, false
|
||||||
}
|
}
|
||||||
return o.ArbitraryObject, true
|
return o.ArbitraryObject, true
|
||||||
@ -334,7 +334,7 @@ func (o *User) GetArbitraryObjectOk() (map[string]interface{}, bool) {
|
|||||||
|
|
||||||
// HasArbitraryObject returns a boolean if a field has been set.
|
// HasArbitraryObject returns a boolean if a field has been set.
|
||||||
func (o *User) HasArbitraryObject() bool {
|
func (o *User) HasArbitraryObject() bool {
|
||||||
if o != nil && !isNil(o.ArbitraryObject) {
|
if o != nil && !IsNil(o.ArbitraryObject) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -359,7 +359,7 @@ func (o *User) GetArbitraryNullableObject() map[string]interface{} {
|
|||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
||||||
func (o *User) GetArbitraryNullableObjectOk() (map[string]interface{}, bool) {
|
func (o *User) GetArbitraryNullableObjectOk() (map[string]interface{}, bool) {
|
||||||
if o == nil || isNil(o.ArbitraryNullableObject) {
|
if o == nil || IsNil(o.ArbitraryNullableObject) {
|
||||||
return map[string]interface{}{}, false
|
return map[string]interface{}{}, false
|
||||||
}
|
}
|
||||||
return o.ArbitraryNullableObject, true
|
return o.ArbitraryNullableObject, true
|
||||||
@ -367,7 +367,7 @@ func (o *User) GetArbitraryNullableObjectOk() (map[string]interface{}, bool) {
|
|||||||
|
|
||||||
// HasArbitraryNullableObject returns a boolean if a field has been set.
|
// HasArbitraryNullableObject returns a boolean if a field has been set.
|
||||||
func (o *User) HasArbitraryNullableObject() bool {
|
func (o *User) HasArbitraryNullableObject() bool {
|
||||||
if o != nil && isNil(o.ArbitraryNullableObject) {
|
if o != nil && IsNil(o.ArbitraryNullableObject) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -392,7 +392,7 @@ func (o *User) GetArbitraryTypeValue() interface{} {
|
|||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
||||||
func (o *User) GetArbitraryTypeValueOk() (*interface{}, bool) {
|
func (o *User) GetArbitraryTypeValueOk() (*interface{}, bool) {
|
||||||
if o == nil || isNil(o.ArbitraryTypeValue) {
|
if o == nil || IsNil(o.ArbitraryTypeValue) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return &o.ArbitraryTypeValue, true
|
return &o.ArbitraryTypeValue, true
|
||||||
@ -400,7 +400,7 @@ func (o *User) GetArbitraryTypeValueOk() (*interface{}, bool) {
|
|||||||
|
|
||||||
// HasArbitraryTypeValue returns a boolean if a field has been set.
|
// HasArbitraryTypeValue returns a boolean if a field has been set.
|
||||||
func (o *User) HasArbitraryTypeValue() bool {
|
func (o *User) HasArbitraryTypeValue() bool {
|
||||||
if o != nil && isNil(o.ArbitraryTypeValue) {
|
if o != nil && IsNil(o.ArbitraryTypeValue) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -425,7 +425,7 @@ func (o *User) GetArbitraryNullableTypeValue() interface{} {
|
|||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
||||||
func (o *User) GetArbitraryNullableTypeValueOk() (*interface{}, bool) {
|
func (o *User) GetArbitraryNullableTypeValueOk() (*interface{}, bool) {
|
||||||
if o == nil || isNil(o.ArbitraryNullableTypeValue) {
|
if o == nil || IsNil(o.ArbitraryNullableTypeValue) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return &o.ArbitraryNullableTypeValue, true
|
return &o.ArbitraryNullableTypeValue, true
|
||||||
@ -433,7 +433,7 @@ func (o *User) GetArbitraryNullableTypeValueOk() (*interface{}, bool) {
|
|||||||
|
|
||||||
// HasArbitraryNullableTypeValue returns a boolean if a field has been set.
|
// HasArbitraryNullableTypeValue returns a boolean if a field has been set.
|
||||||
func (o *User) HasArbitraryNullableTypeValue() bool {
|
func (o *User) HasArbitraryNullableTypeValue() bool {
|
||||||
if o != nil && isNil(o.ArbitraryNullableTypeValue) {
|
if o != nil && IsNil(o.ArbitraryNullableTypeValue) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -455,31 +455,31 @@ func (o User) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o User) ToMap() (map[string]interface{}, error) {
|
func (o User) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.Id) {
|
if !IsNil(o.Id) {
|
||||||
toSerialize["id"] = o.Id
|
toSerialize["id"] = o.Id
|
||||||
}
|
}
|
||||||
if !isNil(o.Username) {
|
if !IsNil(o.Username) {
|
||||||
toSerialize["username"] = o.Username
|
toSerialize["username"] = o.Username
|
||||||
}
|
}
|
||||||
if !isNil(o.FirstName) {
|
if !IsNil(o.FirstName) {
|
||||||
toSerialize["firstName"] = o.FirstName
|
toSerialize["firstName"] = o.FirstName
|
||||||
}
|
}
|
||||||
if !isNil(o.LastName) {
|
if !IsNil(o.LastName) {
|
||||||
toSerialize["lastName"] = o.LastName
|
toSerialize["lastName"] = o.LastName
|
||||||
}
|
}
|
||||||
if !isNil(o.Email) {
|
if !IsNil(o.Email) {
|
||||||
toSerialize["email"] = o.Email
|
toSerialize["email"] = o.Email
|
||||||
}
|
}
|
||||||
if !isNil(o.Password) {
|
if !IsNil(o.Password) {
|
||||||
toSerialize["password"] = o.Password
|
toSerialize["password"] = o.Password
|
||||||
}
|
}
|
||||||
if !isNil(o.Phone) {
|
if !IsNil(o.Phone) {
|
||||||
toSerialize["phone"] = o.Phone
|
toSerialize["phone"] = o.Phone
|
||||||
}
|
}
|
||||||
if !isNil(o.UserStatus) {
|
if !IsNil(o.UserStatus) {
|
||||||
toSerialize["userStatus"] = o.UserStatus
|
toSerialize["userStatus"] = o.UserStatus
|
||||||
}
|
}
|
||||||
if !isNil(o.ArbitraryObject) {
|
if !IsNil(o.ArbitraryObject) {
|
||||||
toSerialize["arbitraryObject"] = o.ArbitraryObject
|
toSerialize["arbitraryObject"] = o.ArbitraryObject
|
||||||
}
|
}
|
||||||
if o.ArbitraryNullableObject != nil {
|
if o.ArbitraryNullableObject != nil {
|
||||||
|
@ -47,7 +47,7 @@ func NewWhaleWithDefaults() *Whale {
|
|||||||
|
|
||||||
// GetHasBaleen returns the HasBaleen field value if set, zero value otherwise.
|
// GetHasBaleen returns the HasBaleen field value if set, zero value otherwise.
|
||||||
func (o *Whale) GetHasBaleen() bool {
|
func (o *Whale) GetHasBaleen() bool {
|
||||||
if o == nil || isNil(o.HasBaleen) {
|
if o == nil || IsNil(o.HasBaleen) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -57,7 +57,7 @@ func (o *Whale) GetHasBaleen() bool {
|
|||||||
// GetHasBaleenOk returns a tuple with the HasBaleen field value if set, nil otherwise
|
// GetHasBaleenOk returns a tuple with the HasBaleen field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Whale) GetHasBaleenOk() (*bool, bool) {
|
func (o *Whale) GetHasBaleenOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.HasBaleen) {
|
if o == nil || IsNil(o.HasBaleen) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.HasBaleen, true
|
return o.HasBaleen, true
|
||||||
@ -65,7 +65,7 @@ func (o *Whale) GetHasBaleenOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasHasBaleen returns a boolean if a field has been set.
|
// HasHasBaleen returns a boolean if a field has been set.
|
||||||
func (o *Whale) HasHasBaleen() bool {
|
func (o *Whale) HasHasBaleen() bool {
|
||||||
if o != nil && !isNil(o.HasBaleen) {
|
if o != nil && !IsNil(o.HasBaleen) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ func (o *Whale) SetHasBaleen(v bool) {
|
|||||||
|
|
||||||
// GetHasTeeth returns the HasTeeth field value if set, zero value otherwise.
|
// GetHasTeeth returns the HasTeeth field value if set, zero value otherwise.
|
||||||
func (o *Whale) GetHasTeeth() bool {
|
func (o *Whale) GetHasTeeth() bool {
|
||||||
if o == nil || isNil(o.HasTeeth) {
|
if o == nil || IsNil(o.HasTeeth) {
|
||||||
var ret bool
|
var ret bool
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
@ -89,7 +89,7 @@ func (o *Whale) GetHasTeeth() bool {
|
|||||||
// GetHasTeethOk returns a tuple with the HasTeeth field value if set, nil otherwise
|
// GetHasTeethOk returns a tuple with the HasTeeth field value if set, nil otherwise
|
||||||
// and a boolean to check if the value has been set.
|
// and a boolean to check if the value has been set.
|
||||||
func (o *Whale) GetHasTeethOk() (*bool, bool) {
|
func (o *Whale) GetHasTeethOk() (*bool, bool) {
|
||||||
if o == nil || isNil(o.HasTeeth) {
|
if o == nil || IsNil(o.HasTeeth) {
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
return o.HasTeeth, true
|
return o.HasTeeth, true
|
||||||
@ -97,7 +97,7 @@ func (o *Whale) GetHasTeethOk() (*bool, bool) {
|
|||||||
|
|
||||||
// HasHasTeeth returns a boolean if a field has been set.
|
// HasHasTeeth returns a boolean if a field has been set.
|
||||||
func (o *Whale) HasHasTeeth() bool {
|
func (o *Whale) HasHasTeeth() bool {
|
||||||
if o != nil && !isNil(o.HasTeeth) {
|
if o != nil && !IsNil(o.HasTeeth) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -143,10 +143,10 @@ func (o Whale) MarshalJSON() ([]byte, error) {
|
|||||||
|
|
||||||
func (o Whale) ToMap() (map[string]interface{}, error) {
|
func (o Whale) ToMap() (map[string]interface{}, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if !isNil(o.HasBaleen) {
|
if !IsNil(o.HasBaleen) {
|
||||||
toSerialize["hasBaleen"] = o.HasBaleen
|
toSerialize["hasBaleen"] = o.HasBaleen
|
||||||
}
|
}
|
||||||
if !isNil(o.HasTeeth) {
|
if !IsNil(o.HasTeeth) {
|
||||||
toSerialize["hasTeeth"] = o.HasTeeth
|
toSerialize["hasTeeth"] = o.HasTeeth
|
||||||
}
|
}
|
||||||
toSerialize["className"] = o.ClassName
|
toSerialize["className"] = o.ClassName
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user