Peer
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
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
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
func (o *Peer) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *Peer) SetId(v string)
SetId sets Id field to given value.
func (o *Peer) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Peer) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Peer) SetName(v string)
SetName sets Name field to given value.
func (o *Peer) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Peer) GetDatacenterId() string
GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.
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.
func (o *Peer) SetDatacenterId(v string)
SetDatacenterId sets DatacenterId field to given value.
func (o *Peer) HasDatacenterId() bool
HasDatacenterId returns a boolean if a field has been set.
func (o *Peer) GetDatacenterName() string
GetDatacenterName returns the DatacenterName field if non-nil, zero value otherwise.
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.
func (o *Peer) SetDatacenterName(v string)
SetDatacenterName sets DatacenterName field to given value.
func (o *Peer) HasDatacenterName() bool
HasDatacenterName returns a boolean if a field has been set.
func (o *Peer) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.
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.
func (o *Peer) SetLocation(v string)
SetLocation sets Location field to given value.
func (o *Peer) HasLocation() bool
HasLocation returns a boolean if a field has been set.
Id
Pointer to string
[optional]
Name
Pointer to string
[optional]
DatacenterId
Pointer to string
[optional]
DatacenterName
Pointer to string
[optional]
Location
Pointer to string
[optional]