Skip to content

Latest commit

 

History

History
103 lines (56 loc) · 2.93 KB

File metadata and controls

103 lines (56 loc) · 2.93 KB

CreateNetworkPayload

Properties

Name Type Description Notes
Subnet Pointer to string Subnet of the network. Cannot be changed later. Allowed private subnet ranges are 10.0.0.0/12-22, 172.16.0.0/12-22, 192.168.0.0/16-22, or 198.18.0.0/15-22. [optional] [default to "10.255.0.0/16"]
Name string Network name.
Tags Pointer to []string List of network tags. [optional]

Methods

NewCreateNetworkPayload

func NewCreateNetworkPayload(name string, ) *CreateNetworkPayload

NewCreateNetworkPayload instantiates a new CreateNetworkPayload 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

NewCreateNetworkPayloadWithDefaults

func NewCreateNetworkPayloadWithDefaults() *CreateNetworkPayload

NewCreateNetworkPayloadWithDefaults instantiates a new CreateNetworkPayload 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

GetSubnet

func (o *CreateNetworkPayload) GetSubnet() string

GetSubnet returns the Subnet field if non-nil, zero value otherwise.

GetSubnetOk

func (o *CreateNetworkPayload) GetSubnetOk() (*string, bool)

GetSubnetOk returns a tuple with the Subnet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSubnet

func (o *CreateNetworkPayload) SetSubnet(v string)

SetSubnet sets Subnet field to given value.

HasSubnet

func (o *CreateNetworkPayload) HasSubnet() bool

HasSubnet returns a boolean if a field has been set.

GetName

func (o *CreateNetworkPayload) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *CreateNetworkPayload) 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.

SetName

func (o *CreateNetworkPayload) SetName(v string)

SetName sets Name field to given value.

GetTags

func (o *CreateNetworkPayload) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *CreateNetworkPayload) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTags

func (o *CreateNetworkPayload) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *CreateNetworkPayload) HasTags() bool

HasTags returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]