Skip to content

Latest commit

 

History

History
228 lines (123 loc) · 6.44 KB

PutNetworkRequest.md

File metadata and controls

228 lines (123 loc) · 6.44 KB

PutNetworkRequest

Properties

Name Type Description Notes
Id Pointer to int64 The resource identifier. [optional]
Type string The resource type.
Name Pointer to string The name of the resource. [optional]
UserDefinedFields Pointer to map[string]string User-defined fields set for the resource. [optional]
Configuration Pointer to InlinedConfiguration [optional] [readonly]
Range string The IP address range for the network. The range can be provided in CIDR (e.g. 10.0.0.0/16) or address range format (e.g. 10.0.0.0-10.0.255.255).
Location Pointer to InlinedLocation [optional]
InheritedFields Pointer to []string [optional] [readonly]

Methods

NewPutNetworkRequest

func NewPutNetworkRequest(type_ string, range_ string, ) *PutNetworkRequest

NewPutNetworkRequest instantiates a new PutNetworkRequest 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

NewPutNetworkRequestWithDefaults

func NewPutNetworkRequestWithDefaults() *PutNetworkRequest

NewPutNetworkRequestWithDefaults instantiates a new PutNetworkRequest 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

GetId

func (o *PutNetworkRequest) GetId() int64

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *PutNetworkRequest) GetIdOk() (*int64, 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.

SetId

func (o *PutNetworkRequest) SetId(v int64)

SetId sets Id field to given value.

HasId

func (o *PutNetworkRequest) HasId() bool

HasId returns a boolean if a field has been set.

GetType

func (o *PutNetworkRequest) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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

SetType

func (o *PutNetworkRequest) SetType(v string)

SetType sets Type field to given value.

GetName

func (o *PutNetworkRequest) GetName() string

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

GetNameOk

func (o *PutNetworkRequest) 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 *PutNetworkRequest) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PutNetworkRequest) HasName() bool

HasName returns a boolean if a field has been set.

GetUserDefinedFields

func (o *PutNetworkRequest) GetUserDefinedFields() map[string]string

GetUserDefinedFields returns the UserDefinedFields field if non-nil, zero value otherwise.

GetUserDefinedFieldsOk

func (o *PutNetworkRequest) GetUserDefinedFieldsOk() (*map[string]string, bool)

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

SetUserDefinedFields

func (o *PutNetworkRequest) SetUserDefinedFields(v map[string]string)

SetUserDefinedFields sets UserDefinedFields field to given value.

HasUserDefinedFields

func (o *PutNetworkRequest) HasUserDefinedFields() bool

HasUserDefinedFields returns a boolean if a field has been set.

GetConfiguration

func (o *PutNetworkRequest) GetConfiguration() InlinedConfiguration

GetConfiguration returns the Configuration field if non-nil, zero value otherwise.

GetConfigurationOk

func (o *PutNetworkRequest) GetConfigurationOk() (*InlinedConfiguration, bool)

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

SetConfiguration

func (o *PutNetworkRequest) SetConfiguration(v InlinedConfiguration)

SetConfiguration sets Configuration field to given value.

HasConfiguration

func (o *PutNetworkRequest) HasConfiguration() bool

HasConfiguration returns a boolean if a field has been set.

GetRange

func (o *PutNetworkRequest) GetRange() string

GetRange returns the Range field if non-nil, zero value otherwise.

GetRangeOk

func (o *PutNetworkRequest) GetRangeOk() (*string, bool)

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

SetRange

func (o *PutNetworkRequest) SetRange(v string)

SetRange sets Range field to given value.

GetLocation

func (o *PutNetworkRequest) GetLocation() InlinedLocation

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

func (o *PutNetworkRequest) GetLocationOk() (*InlinedLocation, bool)

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

SetLocation

func (o *PutNetworkRequest) SetLocation(v InlinedLocation)

SetLocation sets Location field to given value.

HasLocation

func (o *PutNetworkRequest) HasLocation() bool

HasLocation returns a boolean if a field has been set.

GetInheritedFields

func (o *PutNetworkRequest) GetInheritedFields() []string

GetInheritedFields returns the InheritedFields field if non-nil, zero value otherwise.

GetInheritedFieldsOk

func (o *PutNetworkRequest) GetInheritedFieldsOk() (*[]string, bool)

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

SetInheritedFields

func (o *PutNetworkRequest) SetInheritedFields(v []string)

SetInheritedFields sets InheritedFields field to given value.

HasInheritedFields

func (o *PutNetworkRequest) HasInheritedFields() bool

HasInheritedFields returns a boolean if a field has been set.

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