Name | Type | Description | Notes |
---|---|---|---|
AllowEmptyString | bool | Can this parameter be empty? | |
AllowWhitespaceString | bool | Can this parameter allow trailing/ending spaces, or even a full whitespace string ? | |
MaxLength | int32 | Maximum size of a parameter | |
MinLength | int32 | Minimal size of a parameter | |
Regex | string | A regex to validate this parameter | |
NotRegex | string | A regexp to invalidate this parameter | |
Select | []string | List of items authorized for this parameter |
func NewMethodParameterConstraints(allowEmptyString bool, allowWhitespaceString bool, maxLength int32, minLength int32, regex string, notRegex string, select_ []string, ) *MethodParameterConstraints
NewMethodParameterConstraints instantiates a new MethodParameterConstraints 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 NewMethodParameterConstraintsWithDefaults() *MethodParameterConstraints
NewMethodParameterConstraintsWithDefaults instantiates a new MethodParameterConstraints 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 *MethodParameterConstraints) GetAllowEmptyString() bool
GetAllowEmptyString returns the AllowEmptyString field if non-nil, zero value otherwise.
func (o *MethodParameterConstraints) GetAllowEmptyStringOk() (*bool, bool)
GetAllowEmptyStringOk returns a tuple with the AllowEmptyString field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MethodParameterConstraints) SetAllowEmptyString(v bool)
SetAllowEmptyString sets AllowEmptyString field to given value.
func (o *MethodParameterConstraints) GetAllowWhitespaceString() bool
GetAllowWhitespaceString returns the AllowWhitespaceString field if non-nil, zero value otherwise.
func (o *MethodParameterConstraints) GetAllowWhitespaceStringOk() (*bool, bool)
GetAllowWhitespaceStringOk returns a tuple with the AllowWhitespaceString field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MethodParameterConstraints) SetAllowWhitespaceString(v bool)
SetAllowWhitespaceString sets AllowWhitespaceString field to given value.
func (o *MethodParameterConstraints) GetMaxLength() int32
GetMaxLength returns the MaxLength field if non-nil, zero value otherwise.
func (o *MethodParameterConstraints) GetMaxLengthOk() (*int32, bool)
GetMaxLengthOk returns a tuple with the MaxLength field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MethodParameterConstraints) SetMaxLength(v int32)
SetMaxLength sets MaxLength field to given value.
func (o *MethodParameterConstraints) GetMinLength() int32
GetMinLength returns the MinLength field if non-nil, zero value otherwise.
func (o *MethodParameterConstraints) GetMinLengthOk() (*int32, bool)
GetMinLengthOk returns a tuple with the MinLength field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MethodParameterConstraints) SetMinLength(v int32)
SetMinLength sets MinLength field to given value.
func (o *MethodParameterConstraints) GetRegex() string
GetRegex returns the Regex field if non-nil, zero value otherwise.
func (o *MethodParameterConstraints) GetRegexOk() (*string, bool)
GetRegexOk returns a tuple with the Regex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MethodParameterConstraints) SetRegex(v string)
SetRegex sets Regex field to given value.
func (o *MethodParameterConstraints) GetNotRegex() string
GetNotRegex returns the NotRegex field if non-nil, zero value otherwise.
func (o *MethodParameterConstraints) GetNotRegexOk() (*string, bool)
GetNotRegexOk returns a tuple with the NotRegex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MethodParameterConstraints) SetNotRegex(v string)
SetNotRegex sets NotRegex field to given value.
func (o *MethodParameterConstraints) GetSelect() []string
GetSelect returns the Select field if non-nil, zero value otherwise.
func (o *MethodParameterConstraints) GetSelectOk() (*[]string, bool)
GetSelectOk returns a tuple with the Select field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MethodParameterConstraints) SetSelect(v []string)
SetSelect sets Select field to given value.