/*
OpenAPI Petstore

This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\

API version: 1.0.0
*/

// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

package petstore

import (
	"encoding/json"
)

// checks if the ArrayOfArrayOfNumberOnly type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &ArrayOfArrayOfNumberOnly{}

// ArrayOfArrayOfNumberOnly struct for ArrayOfArrayOfNumberOnly
type ArrayOfArrayOfNumberOnly struct {
	ArrayArrayNumber [][]float32 `json:"ArrayArrayNumber,omitempty"`
}

// NewArrayOfArrayOfNumberOnly instantiates a new ArrayOfArrayOfNumberOnly object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewArrayOfArrayOfNumberOnly() *ArrayOfArrayOfNumberOnly {
	this := ArrayOfArrayOfNumberOnly{}
	return &this
}

// NewArrayOfArrayOfNumberOnlyWithDefaults instantiates a new ArrayOfArrayOfNumberOnly object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewArrayOfArrayOfNumberOnlyWithDefaults() *ArrayOfArrayOfNumberOnly {
	this := ArrayOfArrayOfNumberOnly{}
	return &this
}

// GetArrayArrayNumber returns the ArrayArrayNumber field value if set, zero value otherwise.
func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumber() [][]float32 {
	if o == nil || IsNil(o.ArrayArrayNumber) {
		var ret [][]float32
		return ret
	}
	return o.ArrayArrayNumber
}

// GetArrayArrayNumberOk returns a tuple with the ArrayArrayNumber field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ArrayOfArrayOfNumberOnly) GetArrayArrayNumberOk() ([][]float32, bool) {
	if o == nil || IsNil(o.ArrayArrayNumber) {
		return nil, false
	}
	return o.ArrayArrayNumber, true
}

// HasArrayArrayNumber returns a boolean if a field has been set.
func (o *ArrayOfArrayOfNumberOnly) HasArrayArrayNumber() bool {
	if o != nil && !IsNil(o.ArrayArrayNumber) {
		return true
	}

	return false
}

// SetArrayArrayNumber gets a reference to the given [][]float32 and assigns it to the ArrayArrayNumber field.
func (o *ArrayOfArrayOfNumberOnly) SetArrayArrayNumber(v [][]float32) {
	o.ArrayArrayNumber = v
}

func (o ArrayOfArrayOfNumberOnly) MarshalJSON() ([]byte, error) {
	toSerialize,err := o.ToMap()
	if err != nil {
		return []byte{}, err
	}
	return json.Marshal(toSerialize)
}

func (o ArrayOfArrayOfNumberOnly) ToMap() (map[string]interface{}, error) {
	toSerialize := map[string]interface{}{}
	if !IsNil(o.ArrayArrayNumber) {
		toSerialize["ArrayArrayNumber"] = o.ArrayArrayNumber
	}
	return toSerialize, nil
}

type NullableArrayOfArrayOfNumberOnly struct {
	value *ArrayOfArrayOfNumberOnly
	isSet bool
}

func (v NullableArrayOfArrayOfNumberOnly) Get() *ArrayOfArrayOfNumberOnly {
	return v.value
}

func (v *NullableArrayOfArrayOfNumberOnly) Set(val *ArrayOfArrayOfNumberOnly) {
	v.value = val
	v.isSet = true
}

func (v NullableArrayOfArrayOfNumberOnly) IsSet() bool {
	return v.isSet
}

func (v *NullableArrayOfArrayOfNumberOnly) Unset() {
	v.value = nil
	v.isSet = false
}

func NewNullableArrayOfArrayOfNumberOnly(val *ArrayOfArrayOfNumberOnly) *NullableArrayOfArrayOfNumberOnly {
	return &NullableArrayOfArrayOfNumberOnly{value: val, isSet: true}
}

func (v NullableArrayOfArrayOfNumberOnly) MarshalJSON() ([]byte, error) {
	return json.Marshal(v.value)
}

func (v *NullableArrayOfArrayOfNumberOnly) UnmarshalJSON(src []byte) error {
	v.isSet = true
	return json.Unmarshal(src, &v.value)
}


