Name | Type | Description | Notes |
---|---|---|---|
PubKey | Pointer to string | [optional] | |
User | Pointer to WireGuardPeerUser | [optional] | |
Device | Pointer to WireGuardPeerDevice | [optional] |
func NewWireGuardPeerInfo() *WireGuardPeerInfo
NewWireGuardPeerInfo instantiates a new WireGuardPeerInfo 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 NewWireGuardPeerInfoWithDefaults() *WireGuardPeerInfo
NewWireGuardPeerInfoWithDefaults instantiates a new WireGuardPeerInfo 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 *WireGuardPeerInfo) GetPubKey() string
GetPubKey returns the PubKey field if non-nil, zero value otherwise.
func (o *WireGuardPeerInfo) GetPubKeyOk() (*string, bool)
GetPubKeyOk returns a tuple with the PubKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WireGuardPeerInfo) SetPubKey(v string)
SetPubKey sets PubKey field to given value.
func (o *WireGuardPeerInfo) HasPubKey() bool
HasPubKey returns a boolean if a field has been set.
func (o *WireGuardPeerInfo) GetUser() WireGuardPeerUser
GetUser returns the User field if non-nil, zero value otherwise.
func (o *WireGuardPeerInfo) GetUserOk() (*WireGuardPeerUser, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WireGuardPeerInfo) SetUser(v WireGuardPeerUser)
SetUser sets User field to given value.
func (o *WireGuardPeerInfo) HasUser() bool
HasUser returns a boolean if a field has been set.
func (o *WireGuardPeerInfo) GetDevice() WireGuardPeerDevice
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *WireGuardPeerInfo) GetDeviceOk() (*WireGuardPeerDevice, bool)
GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WireGuardPeerInfo) SetDevice(v WireGuardPeerDevice)
SetDevice sets Device field to given value.
func (o *WireGuardPeerInfo) HasDevice() bool
HasDevice returns a boolean if a field has been set.