Links
Comment on page

Peer

Properties

Name
Type
Description
Notes
DatacenterId
Pointer to string
[optional]
DatacenterName
Pointer to string
[optional]
Id
Pointer to string
[optional]
Location
Pointer to string
[optional]
Name
Pointer to string
[optional]

Methods

NewPeer

func NewPeer() *Peer
NewPeer instantiates a new Peer 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

NewPeerWithDefaults

func NewPeerWithDefaults() *Peer
NewPeerWithDefaults instantiates a new Peer 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

GetDatacenterId

func (o *Peer) GetDatacenterId() string
GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.

GetDatacenterIdOk

func (o *Peer) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDatacenterId

func (o *Peer) SetDatacenterId(v string)
SetDatacenterId sets DatacenterId field to given value.

HasDatacenterId

func (o *Peer) HasDatacenterId() bool
HasDatacenterId returns a boolean if a field has been set.

GetDatacenterName

func (o *Peer) GetDatacenterName() string
GetDatacenterName returns the DatacenterName field if non-nil, zero value otherwise.

GetDatacenterNameOk

func (o *Peer) GetDatacenterNameOk() (*string, bool)
GetDatacenterNameOk returns a tuple with the DatacenterName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDatacenterName

func (o *Peer) SetDatacenterName(v string)
SetDatacenterName sets DatacenterName field to given value.

HasDatacenterName

func (o *Peer) HasDatacenterName() bool
HasDatacenterName returns a boolean if a field has been set.

GetId

func (o *Peer) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Peer) 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 *Peer) SetId(v string)
SetId sets Id field to given value.

HasId

func (o *Peer) HasId() bool
HasId returns a boolean if a field has been set.

GetLocation

func (o *Peer) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

func (o *Peer) GetLocationOk() (*string, 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 *Peer) SetLocation(v string)
SetLocation sets Location field to given value.

HasLocation

func (o *Peer) HasLocation() bool
HasLocation returns a boolean if a field has been set.

GetName

func (o *Peer) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Peer) 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 *Peer) SetName(v string)
SetName sets Name field to given value.

HasName

func (o *Peer) HasName() bool
HasName returns a boolean if a field has been set.