Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.84 KB

File metadata and controls

72 lines (39 loc) · 1.84 KB

Peer

Properties

Name Type Description Notes
Endpoint Endpoint
PublicKey string

Methods

NewPeer

func NewPeer(endpoint Endpoint, publicKey string, ) *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

GetEndpoint

func (o *Peer) GetEndpoint() Endpoint

GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.

GetEndpointOk

func (o *Peer) GetEndpointOk() (*Endpoint, bool)

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

SetEndpoint

func (o *Peer) SetEndpoint(v Endpoint)

SetEndpoint sets Endpoint field to given value.

GetPublicKey

func (o *Peer) GetPublicKey() string

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

GetPublicKeyOk

func (o *Peer) 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 *Peer) SetPublicKey(v string)

SetPublicKey sets PublicKey field to given value.

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