Name | Type | Description | Notes |
---|---|---|---|
DefaultValue | Pointer to string | [optional] | |
Format | Pointer to string | [optional] | |
Items | Pointer to map[string]interface{} | [optional] | |
MaxItems | Pointer to int32 | [optional] | |
Maximum | Pointer to int32 | [optional] | |
MinItems | Pointer to int32 | [optional] | |
Minimum | Pointer to int32 | [optional] | |
Pattern | Pointer to string | [optional] | |
Required | bool | ||
Type | string |
func NewJsonProperty(required bool, type_ string, ) *JsonProperty
NewJsonProperty instantiates a new JsonProperty 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 NewJsonPropertyWithDefaults() *JsonProperty
NewJsonPropertyWithDefaults instantiates a new JsonProperty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *JsonProperty) GetDefaultValue() string
GetDefaultValue returns the DefaultValue field if non-nil, zero value otherwise.
func (o *JsonProperty) GetDefaultValueOk() (*string, bool)
GetDefaultValueOk returns a tuple with the DefaultValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonProperty) SetDefaultValue(v string)
SetDefaultValue sets DefaultValue field to given value.
func (o *JsonProperty) HasDefaultValue() bool
HasDefaultValue returns a boolean if a field has been set.
func (o *JsonProperty) GetFormat() string
GetFormat returns the Format field if non-nil, zero value otherwise.
func (o *JsonProperty) GetFormatOk() (*string, bool)
GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonProperty) SetFormat(v string)
SetFormat sets Format field to given value.
func (o *JsonProperty) HasFormat() bool
HasFormat returns a boolean if a field has been set.
func (o *JsonProperty) GetItems() map[string]interface{}
GetItems returns the Items field if non-nil, zero value otherwise.
func (o *JsonProperty) GetItemsOk() (*map[string]interface{}, bool)
GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonProperty) SetItems(v map[string]interface{})
SetItems sets Items field to given value.
func (o *JsonProperty) HasItems() bool
HasItems returns a boolean if a field has been set.
func (o *JsonProperty) GetMaxItems() int32
GetMaxItems returns the MaxItems field if non-nil, zero value otherwise.
func (o *JsonProperty) GetMaxItemsOk() (*int32, bool)
GetMaxItemsOk returns a tuple with the MaxItems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonProperty) SetMaxItems(v int32)
SetMaxItems sets MaxItems field to given value.
func (o *JsonProperty) HasMaxItems() bool
HasMaxItems returns a boolean if a field has been set.
func (o *JsonProperty) GetMaximum() int32
GetMaximum returns the Maximum field if non-nil, zero value otherwise.
func (o *JsonProperty) GetMaximumOk() (*int32, bool)
GetMaximumOk returns a tuple with the Maximum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonProperty) SetMaximum(v int32)
SetMaximum sets Maximum field to given value.
func (o *JsonProperty) HasMaximum() bool
HasMaximum returns a boolean if a field has been set.
func (o *JsonProperty) GetMinItems() int32
GetMinItems returns the MinItems field if non-nil, zero value otherwise.
func (o *JsonProperty) GetMinItemsOk() (*int32, bool)
GetMinItemsOk returns a tuple with the MinItems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonProperty) SetMinItems(v int32)
SetMinItems sets MinItems field to given value.
func (o *JsonProperty) HasMinItems() bool
HasMinItems returns a boolean if a field has been set.
func (o *JsonProperty) GetMinimum() int32
GetMinimum returns the Minimum field if non-nil, zero value otherwise.
func (o *JsonProperty) GetMinimumOk() (*int32, bool)
GetMinimumOk returns a tuple with the Minimum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonProperty) SetMinimum(v int32)
SetMinimum sets Minimum field to given value.
func (o *JsonProperty) HasMinimum() bool
HasMinimum returns a boolean if a field has been set.
func (o *JsonProperty) GetPattern() string
GetPattern returns the Pattern field if non-nil, zero value otherwise.
func (o *JsonProperty) GetPatternOk() (*string, bool)
GetPatternOk returns a tuple with the Pattern field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonProperty) SetPattern(v string)
SetPattern sets Pattern field to given value.
func (o *JsonProperty) HasPattern() bool
HasPattern returns a boolean if a field has been set.
func (o *JsonProperty) GetRequired() bool
GetRequired returns the Required field if non-nil, zero value otherwise.
func (o *JsonProperty) GetRequiredOk() (*bool, bool)
GetRequiredOk returns a tuple with the Required field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonProperty) SetRequired(v bool)
SetRequired sets Required field to given value.
func (o *JsonProperty) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *JsonProperty) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonProperty) SetType(v string)
SetType sets Type field to given value.