Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 3.34 KB

PeeringNodeIdentityResponse.md

File metadata and controls

114 lines (61 loc) · 3.34 KB

PeeringNodeIdentityResponse

Properties

Name Type Description Notes
IsTrusted bool
Name string
PeeringURL string The peering URL of the peer
PublicKey string The peers public key encoded in Hex

Methods

NewPeeringNodeIdentityResponse

func NewPeeringNodeIdentityResponse(isTrusted bool, name string, peeringURL string, publicKey string, ) *PeeringNodeIdentityResponse

NewPeeringNodeIdentityResponse instantiates a new PeeringNodeIdentityResponse 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

NewPeeringNodeIdentityResponseWithDefaults

func NewPeeringNodeIdentityResponseWithDefaults() *PeeringNodeIdentityResponse

NewPeeringNodeIdentityResponseWithDefaults instantiates a new PeeringNodeIdentityResponse 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

GetIsTrusted

func (o *PeeringNodeIdentityResponse) GetIsTrusted() bool

GetIsTrusted returns the IsTrusted field if non-nil, zero value otherwise.

GetIsTrustedOk

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

SetIsTrusted

func (o *PeeringNodeIdentityResponse) SetIsTrusted(v bool)

SetIsTrusted sets IsTrusted field to given value.

GetName

func (o *PeeringNodeIdentityResponse) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetPeeringURL

func (o *PeeringNodeIdentityResponse) GetPeeringURL() string

GetPeeringURL returns the PeeringURL field if non-nil, zero value otherwise.

GetPeeringURLOk

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

SetPeeringURL

func (o *PeeringNodeIdentityResponse) SetPeeringURL(v string)

SetPeeringURL sets PeeringURL field to given value.

GetPublicKey

func (o *PeeringNodeIdentityResponse) GetPublicKey() string

GetPublicKey returns the PublicKey field if non-nil, zero value otherwise.

GetPublicKeyOk

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

SetPublicKey

func (o *PeeringNodeIdentityResponse) SetPublicKey(v string)

SetPublicKey sets PublicKey field to given value.

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