Skip to content

Latest commit

 

History

History
203 lines (108 loc) · 5.25 KB

NetworkRegion.md

File metadata and controls

203 lines (108 loc) · 5.25 KB

NetworkRegion

Properties

Name Type Description Notes
CreatedAt time.Time The date when this record was created.
UpdatedAt Pointer to time.Time The date of last update of the record. [optional]
Network string ID of the network.
Dns string DNS of the region.
Name string Name of the network region.
Instances []NetworkInstance Network instances.
Id string Unique ID.
TenantId string ID of the tenant.

Methods

NewNetworkRegion

func NewNetworkRegion(createdAt time.Time, network string, dns string, name string, instances []NetworkInstance, id string, tenantId string, ) *NetworkRegion

NewNetworkRegion instantiates a new NetworkRegion 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

NewNetworkRegionWithDefaults

func NewNetworkRegionWithDefaults() *NetworkRegion

NewNetworkRegionWithDefaults instantiates a new NetworkRegion 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

GetCreatedAt

func (o *NetworkRegion) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *NetworkRegion) GetCreatedAtOk() (*time.Time, bool)

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

SetCreatedAt

func (o *NetworkRegion) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *NetworkRegion) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *NetworkRegion) GetUpdatedAtOk() (*time.Time, bool)

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

SetUpdatedAt

func (o *NetworkRegion) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *NetworkRegion) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetNetwork

func (o *NetworkRegion) GetNetwork() string

GetNetwork returns the Network field if non-nil, zero value otherwise.

GetNetworkOk

func (o *NetworkRegion) GetNetworkOk() (*string, bool)

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

SetNetwork

func (o *NetworkRegion) SetNetwork(v string)

SetNetwork sets Network field to given value.

GetDns

func (o *NetworkRegion) GetDns() string

GetDns returns the Dns field if non-nil, zero value otherwise.

GetDnsOk

func (o *NetworkRegion) GetDnsOk() (*string, bool)

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

SetDns

func (o *NetworkRegion) SetDns(v string)

SetDns sets Dns field to given value.

GetName

func (o *NetworkRegion) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetInstances

func (o *NetworkRegion) GetInstances() []NetworkInstance

GetInstances returns the Instances field if non-nil, zero value otherwise.

GetInstancesOk

func (o *NetworkRegion) GetInstancesOk() (*[]NetworkInstance, bool)

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

SetInstances

func (o *NetworkRegion) SetInstances(v []NetworkInstance)

SetInstances sets Instances field to given value.

GetId

func (o *NetworkRegion) GetId() string

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

GetIdOk

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

SetId

func (o *NetworkRegion) SetId(v string)

SetId sets Id field to given value.

GetTenantId

func (o *NetworkRegion) GetTenantId() string

GetTenantId returns the TenantId field if non-nil, zero value otherwise.

GetTenantIdOk

func (o *NetworkRegion) GetTenantIdOk() (*string, bool)

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

SetTenantId

func (o *NetworkRegion) SetTenantId(v string)

SetTenantId sets TenantId field to given value.

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