Name | Type | Description | Notes |
---|---|---|---|
Comment | Pointer to string | The description for the copied subnet. May contain 0 to 1024 characters. Can include UTF-8. | [optional] |
CopyDhcpOptions | Pointer to bool | Indicates whether dhcp options should be copied or not when ipam/subnet object is copied. Defaults to false. | [optional] |
Id | Pointer to string | The resource identifier. | [optional] [readonly] |
Name | Pointer to string | The name for the copied subnet. May contain 1 to 256 characters. Can include UTF-8. | [optional] |
Recursive | Pointer to bool | Indicates whether child objects should be copied or not. Defaults to false. | [optional] |
SkipOnError | Pointer to bool | Indicates whether copying should skip object in case of error and continue with next, or abort copying in case of error. Defaults to false. | [optional] |
Space | string | The resource identifier. |
func NewCopySubnet(space string, ) *CopySubnet
NewCopySubnet instantiates a new CopySubnet 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 NewCopySubnetWithDefaults() *CopySubnet
NewCopySubnetWithDefaults instantiates a new CopySubnet 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 *CopySubnet) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *CopySubnet) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CopySubnet) SetComment(v string)
SetComment sets Comment field to given value.
func (o *CopySubnet) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *CopySubnet) GetCopyDhcpOptions() bool
GetCopyDhcpOptions returns the CopyDhcpOptions field if non-nil, zero value otherwise.
func (o *CopySubnet) GetCopyDhcpOptionsOk() (*bool, bool)
GetCopyDhcpOptionsOk returns a tuple with the CopyDhcpOptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CopySubnet) SetCopyDhcpOptions(v bool)
SetCopyDhcpOptions sets CopyDhcpOptions field to given value.
func (o *CopySubnet) HasCopyDhcpOptions() bool
HasCopyDhcpOptions returns a boolean if a field has been set.
func (o *CopySubnet) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CopySubnet) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CopySubnet) SetId(v string)
SetId sets Id field to given value.
func (o *CopySubnet) HasId() bool
HasId returns a boolean if a field has been set.
func (o *CopySubnet) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CopySubnet) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CopySubnet) SetName(v string)
SetName sets Name field to given value.
func (o *CopySubnet) HasName() bool
HasName returns a boolean if a field has been set.
func (o *CopySubnet) GetRecursive() bool
GetRecursive returns the Recursive field if non-nil, zero value otherwise.
func (o *CopySubnet) GetRecursiveOk() (*bool, bool)
GetRecursiveOk returns a tuple with the Recursive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CopySubnet) SetRecursive(v bool)
SetRecursive sets Recursive field to given value.
func (o *CopySubnet) HasRecursive() bool
HasRecursive returns a boolean if a field has been set.
func (o *CopySubnet) GetSkipOnError() bool
GetSkipOnError returns the SkipOnError field if non-nil, zero value otherwise.
func (o *CopySubnet) GetSkipOnErrorOk() (*bool, bool)
GetSkipOnErrorOk returns a tuple with the SkipOnError field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CopySubnet) SetSkipOnError(v bool)
SetSkipOnError sets SkipOnError field to given value.
func (o *CopySubnet) HasSkipOnError() bool
HasSkipOnError returns a boolean if a field has been set.
func (o *CopySubnet) GetSpace() string
GetSpace returns the Space field if non-nil, zero value otherwise.
func (o *CopySubnet) GetSpaceOk() (*string, bool)
GetSpaceOk returns a tuple with the Space field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CopySubnet) SetSpace(v string)
SetSpace sets Space field to given value.