Name | Type | Description | Notes |
---|---|---|---|
Type | ConnectionType | ||
Name | string | Customer-provided connection name | |
Order | Pointer to Order | [optional] | |
Notifications | []SimplifiedNotification | Preferences for notifications on connection configuration or status changes | |
Bandwidth | int32 | Connection bandwidth in Mbps | |
GeoScope | Pointer to GeoScopeType | [optional] | |
Redundancy | Pointer to ConnectionRedundancy | [optional] | |
ASide | ConnectionSide | ||
ZSide | ConnectionSide | ||
Project | Pointer to Project | [optional] | |
AdditionalInfo | Pointer to []ConnectionSideAdditionalInfo | Connection additional information | [optional] |
func NewConnectionPostRequest(type_ ConnectionType, name string, notifications []SimplifiedNotification, bandwidth int32, aSide ConnectionSide, zSide ConnectionSide, ) *ConnectionPostRequest
NewConnectionPostRequest instantiates a new ConnectionPostRequest 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 NewConnectionPostRequestWithDefaults() *ConnectionPostRequest
NewConnectionPostRequestWithDefaults instantiates a new ConnectionPostRequest 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 *ConnectionPostRequest) GetType() ConnectionType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) GetTypeOk() (*ConnectionType, 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 *ConnectionPostRequest) SetType(v ConnectionType)
SetType sets Type field to given value.
func (o *ConnectionPostRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) 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 *ConnectionPostRequest) SetName(v string)
SetName sets Name field to given value.
func (o *ConnectionPostRequest) GetOrder() Order
GetOrder returns the Order field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) GetOrderOk() (*Order, bool)
GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectionPostRequest) SetOrder(v Order)
SetOrder sets Order field to given value.
func (o *ConnectionPostRequest) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (o *ConnectionPostRequest) GetNotifications() []SimplifiedNotification
GetNotifications returns the Notifications field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) 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 *ConnectionPostRequest) SetNotifications(v []SimplifiedNotification)
SetNotifications sets Notifications field to given value.
func (o *ConnectionPostRequest) GetBandwidth() int32
GetBandwidth returns the Bandwidth field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) GetBandwidthOk() (*int32, bool)
GetBandwidthOk returns a tuple with the Bandwidth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectionPostRequest) SetBandwidth(v int32)
SetBandwidth sets Bandwidth field to given value.
func (o *ConnectionPostRequest) GetGeoScope() GeoScopeType
GetGeoScope returns the GeoScope field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) GetGeoScopeOk() (*GeoScopeType, bool)
GetGeoScopeOk returns a tuple with the GeoScope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectionPostRequest) SetGeoScope(v GeoScopeType)
SetGeoScope sets GeoScope field to given value.
func (o *ConnectionPostRequest) HasGeoScope() bool
HasGeoScope returns a boolean if a field has been set.
func (o *ConnectionPostRequest) GetRedundancy() ConnectionRedundancy
GetRedundancy returns the Redundancy field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) GetRedundancyOk() (*ConnectionRedundancy, bool)
GetRedundancyOk returns a tuple with the Redundancy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectionPostRequest) SetRedundancy(v ConnectionRedundancy)
SetRedundancy sets Redundancy field to given value.
func (o *ConnectionPostRequest) HasRedundancy() bool
HasRedundancy returns a boolean if a field has been set.
func (o *ConnectionPostRequest) GetASide() ConnectionSide
GetASide returns the ASide field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) GetASideOk() (*ConnectionSide, bool)
GetASideOk returns a tuple with the ASide field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectionPostRequest) SetASide(v ConnectionSide)
SetASide sets ASide field to given value.
func (o *ConnectionPostRequest) GetZSide() ConnectionSide
GetZSide returns the ZSide field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) GetZSideOk() (*ConnectionSide, bool)
GetZSideOk returns a tuple with the ZSide field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectionPostRequest) SetZSide(v ConnectionSide)
SetZSide sets ZSide field to given value.
func (o *ConnectionPostRequest) GetProject() Project
GetProject returns the Project field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) 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 *ConnectionPostRequest) SetProject(v Project)
SetProject sets Project field to given value.
func (o *ConnectionPostRequest) HasProject() bool
HasProject returns a boolean if a field has been set.
func (o *ConnectionPostRequest) GetAdditionalInfo() []ConnectionSideAdditionalInfo
GetAdditionalInfo returns the AdditionalInfo field if non-nil, zero value otherwise.
func (o *ConnectionPostRequest) GetAdditionalInfoOk() (*[]ConnectionSideAdditionalInfo, bool)
GetAdditionalInfoOk returns a tuple with the AdditionalInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectionPostRequest) SetAdditionalInfo(v []ConnectionSideAdditionalInfo)
SetAdditionalInfo sets AdditionalInfo field to given value.
func (o *ConnectionPostRequest) HasAdditionalInfo() bool
HasAdditionalInfo returns a boolean if a field has been set.