P2pInfoOpenApiVO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| DeviceMac | Pointer to string | Device MAC. | [optional] |
| DeviceName | Pointer to string | Device name. | [optional] |
Methods
NewP2pInfoOpenApiVO
func NewP2pInfoOpenApiVO() *P2pInfoOpenApiVO
NewP2pInfoOpenApiVO instantiates a new P2pInfoOpenApiVO 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
NewP2pInfoOpenApiVOWithDefaults
func NewP2pInfoOpenApiVOWithDefaults() *P2pInfoOpenApiVO
NewP2pInfoOpenApiVOWithDefaults instantiates a new P2pInfoOpenApiVO 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
GetDeviceMac
func (o *P2pInfoOpenApiVO) GetDeviceMac() string
GetDeviceMac returns the DeviceMac field if non-nil, zero value otherwise.
GetDeviceMacOk
func (o *P2pInfoOpenApiVO) GetDeviceMacOk() (*string, bool)
GetDeviceMacOk returns a tuple with the DeviceMac field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDeviceMac
func (o *P2pInfoOpenApiVO) SetDeviceMac(v string)
SetDeviceMac sets DeviceMac field to given value.
HasDeviceMac
func (o *P2pInfoOpenApiVO) HasDeviceMac() bool
HasDeviceMac returns a boolean if a field has been set.
GetDeviceName
func (o *P2pInfoOpenApiVO) GetDeviceName() string
GetDeviceName returns the DeviceName field if non-nil, zero value otherwise.
GetDeviceNameOk
func (o *P2pInfoOpenApiVO) GetDeviceNameOk() (*string, bool)
GetDeviceNameOk returns a tuple with the DeviceName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDeviceName
func (o *P2pInfoOpenApiVO) SetDeviceName(v string)
SetDeviceName sets DeviceName field to given value.
HasDeviceName
func (o *P2pInfoOpenApiVO) HasDeviceName() bool
HasDeviceName returns a boolean if a field has been set.