Name | Type | Description | Notes |
---|---|---|---|
Type | NetworkType | ||
Name | string | Customer-provided network name | |
Scope | NetworkScope | ||
Location | Pointer to SimplifiedLocation | [optional] | |
Project | Pointer to Project | [optional] | |
Notifications | []SimplifiedNotification | Preferences for notifications on network configuration or status changes |
func NewNetworkPostRequest(type_ NetworkType, name string, scope NetworkScope, notifications []SimplifiedNotification, ) *NetworkPostRequest
NewNetworkPostRequest instantiates a new NetworkPostRequest 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 NewNetworkPostRequestWithDefaults() *NetworkPostRequest
NewNetworkPostRequestWithDefaults instantiates a new NetworkPostRequest 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 *NetworkPostRequest) GetType() NetworkType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *NetworkPostRequest) GetTypeOk() (*NetworkType, 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 *NetworkPostRequest) SetType(v NetworkType)
SetType sets Type field to given value.
func (o *NetworkPostRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *NetworkPostRequest) 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 *NetworkPostRequest) SetName(v string)
SetName sets Name field to given value.
func (o *NetworkPostRequest) GetScope() NetworkScope
GetScope returns the Scope field if non-nil, zero value otherwise.
func (o *NetworkPostRequest) GetScopeOk() (*NetworkScope, bool)
GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkPostRequest) SetScope(v NetworkScope)
SetScope sets Scope field to given value.
func (o *NetworkPostRequest) GetLocation() SimplifiedLocation
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *NetworkPostRequest) GetLocationOk() (*SimplifiedLocation, 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.
func (o *NetworkPostRequest) SetLocation(v SimplifiedLocation)
SetLocation sets Location field to given value.
func (o *NetworkPostRequest) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *NetworkPostRequest) GetProject() Project
GetProject returns the Project field if non-nil, zero value otherwise.
func (o *NetworkPostRequest) GetProjectOk() (*Project, bool)
GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkPostRequest) SetProject(v Project)
SetProject sets Project field to given value.
func (o *NetworkPostRequest) HasProject() bool
HasProject returns a boolean if a field has been set.
func (o *NetworkPostRequest) GetNotifications() []SimplifiedNotification
GetNotifications returns the Notifications field if non-nil, zero value otherwise.
func (o *NetworkPostRequest) GetNotificationsOk() (*[]SimplifiedNotification, bool)
GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkPostRequest) SetNotifications(v []SimplifiedNotification)
SetNotifications sets Notifications field to given value.