Name | Type | Description | Notes |
---|---|---|---|
Ipv4 | string | IPv4 range in CIDR canonical form. - The range must belong to a private address space as defined in RFC1918. - Allowed prefix lengths: 1-29. - The range must not overlap with 192.168.128.0/17. - The range must not overlap with other Subnets on the same VPC. | |
Label | string | The VPC Subnet's label, for display purposes only. - Must be unique among the VPC's Subnets. - Can only contain ASCII letters, numbers, and hyphens (`-`). You can't use two consecutive hyphens (`--`). |
func NewPostVpcSubnetRequest(ipv4 string, label string, ) *PostVpcSubnetRequest
NewPostVpcSubnetRequest instantiates a new PostVpcSubnetRequest 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 NewPostVpcSubnetRequestWithDefaults() *PostVpcSubnetRequest
NewPostVpcSubnetRequestWithDefaults instantiates a new PostVpcSubnetRequest 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 *PostVpcSubnetRequest) GetIpv4() string
GetIpv4 returns the Ipv4 field if non-nil, zero value otherwise.
func (o *PostVpcSubnetRequest) GetIpv4Ok() (*string, bool)
GetIpv4Ok returns a tuple with the Ipv4 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostVpcSubnetRequest) SetIpv4(v string)
SetIpv4 sets Ipv4 field to given value.
func (o *PostVpcSubnetRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *PostVpcSubnetRequest) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostVpcSubnetRequest) SetLabel(v string)
SetLabel sets Label field to given value.