Files
sdk/docs/NetworkRouterView.md

3.8 KiB

NetworkRouterView

Properties

Name Type Description Notes
Id Pointer to string ID is the ZT edge-router's id. [optional]
Name Pointer to string Name is the edge-router's name, falling back to its id when it has none. [optional]
Region Pointer to string Region comes from a &quot;region-<slug>&quot; role attribute and is omitted when the router carries none, so the column renders &quot;—&quot; rather than a guess. [optional]
Status Pointer to string Status is the controller's own health signal: &quot;online&quot; when connected, &quot;disabled&quot; when administratively disabled, &quot;offline&quot; otherwise. [optional]

Methods

NewNetworkRouterView

func NewNetworkRouterView() *NetworkRouterView

NewNetworkRouterView instantiates a new NetworkRouterView 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

NewNetworkRouterViewWithDefaults

func NewNetworkRouterViewWithDefaults() *NetworkRouterView

NewNetworkRouterViewWithDefaults instantiates a new NetworkRouterView 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 *NetworkRouterView) GetId() string

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

GetIdOk

func (o *NetworkRouterView) 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 *NetworkRouterView) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *NetworkRouterView) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *NetworkRouterView) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *NetworkRouterView) HasName() bool

HasName returns a boolean if a field has been set.

GetRegion

func (o *NetworkRouterView) GetRegion() string

GetRegion returns the Region field if non-nil, zero value otherwise.

GetRegionOk

func (o *NetworkRouterView) GetRegionOk() (*string, bool)

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

SetRegion

func (o *NetworkRouterView) SetRegion(v string)

SetRegion sets Region field to given value.

HasRegion

func (o *NetworkRouterView) HasRegion() bool

HasRegion returns a boolean if a field has been set.

GetStatus

func (o *NetworkRouterView) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *NetworkRouterView) GetStatusOk() (*string, bool)

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

SetStatus

func (o *NetworkRouterView) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *NetworkRouterView) HasStatus() bool

HasStatus returns a boolean if a field has been set.

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