Name | Type | Description | Notes |
---|---|---|---|
Type | Pointer to string | The resource type. | [optional] [readonly] |
TextType | Pointer to string | [optional] | |
MinLength | Pointer to int32 | The shortest string allowed in the name. When set of 0, the text string is optional. | [optional] |
MaxLength | Pointer to int32 | The longest string allowed in the name. When set of 0, the range is unbound. | [optional] |
RegularExpression | Pointer to string | The regular expression to restrict the text string. | [optional] |
func NewNamingPolicyTextValue() *NamingPolicyTextValue
NewNamingPolicyTextValue instantiates a new NamingPolicyTextValue 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 NewNamingPolicyTextValueWithDefaults() *NamingPolicyTextValue
NewNamingPolicyTextValueWithDefaults instantiates a new NamingPolicyTextValue 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 *NamingPolicyTextValue) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *NamingPolicyTextValue) 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 *NamingPolicyTextValue) SetType(v string)
SetType sets Type field to given value.
func (o *NamingPolicyTextValue) HasType() bool
HasType returns a boolean if a field has been set.
func (o *NamingPolicyTextValue) GetTextType() string
GetTextType returns the TextType field if non-nil, zero value otherwise.
func (o *NamingPolicyTextValue) GetTextTypeOk() (*string, bool)
GetTextTypeOk returns a tuple with the TextType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NamingPolicyTextValue) SetTextType(v string)
SetTextType sets TextType field to given value.
func (o *NamingPolicyTextValue) HasTextType() bool
HasTextType returns a boolean if a field has been set.
func (o *NamingPolicyTextValue) GetMinLength() int32
GetMinLength returns the MinLength field if non-nil, zero value otherwise.
func (o *NamingPolicyTextValue) 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 *NamingPolicyTextValue) SetMinLength(v int32)
SetMinLength sets MinLength field to given value.
func (o *NamingPolicyTextValue) HasMinLength() bool
HasMinLength returns a boolean if a field has been set.
func (o *NamingPolicyTextValue) GetMaxLength() int32
GetMaxLength returns the MaxLength field if non-nil, zero value otherwise.
func (o *NamingPolicyTextValue) 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 *NamingPolicyTextValue) SetMaxLength(v int32)
SetMaxLength sets MaxLength field to given value.
func (o *NamingPolicyTextValue) HasMaxLength() bool
HasMaxLength returns a boolean if a field has been set.
func (o *NamingPolicyTextValue) GetRegularExpression() string
GetRegularExpression returns the RegularExpression field if non-nil, zero value otherwise.
func (o *NamingPolicyTextValue) GetRegularExpressionOk() (*string, bool)
GetRegularExpressionOk returns a tuple with the RegularExpression field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NamingPolicyTextValue) SetRegularExpression(v string)
SetRegularExpression sets RegularExpression field to given value.
func (o *NamingPolicyTextValue) HasRegularExpression() bool
HasRegularExpression returns a boolean if a field has been set.