Name | Type | Description | Notes |
---|---|---|---|
IsAlive | bool | Whether or not the peer is activated | |
IsTrusted | bool | ||
Name | string | ||
NumUsers | int32 | The amount of users attached to the peer | |
PeeringURL | string | The peering URL of the peer | |
PublicKey | string | The peers public key encoded in Hex |
func NewPeeringNodeStatusResponse(isAlive bool, isTrusted bool, name string, numUsers int32, peeringURL string, publicKey string, ) *PeeringNodeStatusResponse
NewPeeringNodeStatusResponse instantiates a new PeeringNodeStatusResponse 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 NewPeeringNodeStatusResponseWithDefaults() *PeeringNodeStatusResponse
NewPeeringNodeStatusResponseWithDefaults instantiates a new PeeringNodeStatusResponse 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 *PeeringNodeStatusResponse) GetIsAlive() bool
GetIsAlive returns the IsAlive field if non-nil, zero value otherwise.
func (o *PeeringNodeStatusResponse) GetIsAliveOk() (*bool, bool)
GetIsAliveOk returns a tuple with the IsAlive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PeeringNodeStatusResponse) SetIsAlive(v bool)
SetIsAlive sets IsAlive field to given value.
func (o *PeeringNodeStatusResponse) GetIsTrusted() bool
GetIsTrusted returns the IsTrusted field if non-nil, zero value otherwise.
func (o *PeeringNodeStatusResponse) GetIsTrustedOk() (*bool, bool)
GetIsTrustedOk returns a tuple with the IsTrusted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PeeringNodeStatusResponse) SetIsTrusted(v bool)
SetIsTrusted sets IsTrusted field to given value.
func (o *PeeringNodeStatusResponse) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PeeringNodeStatusResponse) 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 *PeeringNodeStatusResponse) SetName(v string)
SetName sets Name field to given value.
func (o *PeeringNodeStatusResponse) GetNumUsers() int32
GetNumUsers returns the NumUsers field if non-nil, zero value otherwise.
func (o *PeeringNodeStatusResponse) GetNumUsersOk() (*int32, bool)
GetNumUsersOk returns a tuple with the NumUsers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PeeringNodeStatusResponse) SetNumUsers(v int32)
SetNumUsers sets NumUsers field to given value.
func (o *PeeringNodeStatusResponse) GetPeeringURL() string
GetPeeringURL returns the PeeringURL field if non-nil, zero value otherwise.
func (o *PeeringNodeStatusResponse) GetPeeringURLOk() (*string, bool)
GetPeeringURLOk returns a tuple with the PeeringURL field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PeeringNodeStatusResponse) SetPeeringURL(v string)
SetPeeringURL sets PeeringURL field to given value.
func (o *PeeringNodeStatusResponse) GetPublicKey() string
GetPublicKey returns the PublicKey field if non-nil, zero value otherwise.
func (o *PeeringNodeStatusResponse) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PeeringNodeStatusResponse) SetPublicKey(v string)
SetPublicKey sets PublicKey field to given value.