Documentation ¶
Index ¶
- Variables
- type Device
- func (p *Device) Equals(other *Device) bool
- func (p *Device) GetAssetID() int64
- func (p *Device) GetHostname() string
- func (p *Device) GetModelID() int64
- func (p *Device) IsSetHostname() bool
- func (p *Device) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Device) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Device) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Device) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Device) String() string
- func (p *Device) Write(ctx context.Context, oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Device_Hostname_DEFAULT string
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { AssetID int64 `thrift:"AssetID,1" db:"AssetID" json:"AssetID"` ModelID int64 `thrift:"ModelID,2" db:"ModelID" json:"ModelID"` Hostname *string `thrift:"Hostname,3" db:"Hostname" json:"Hostname,omitempty"` }
Attributes:
- AssetID
- ModelID
- Hostname
func (*Device) GetAssetID ¶
func (*Device) GetHostname ¶
func (*Device) GetModelID ¶
func (*Device) IsSetHostname ¶
func (*Device) ReadField1 ¶
func (*Device) ReadField2 ¶
func (*Device) ReadField3 ¶
Click to show internal directories.
Click to hide internal directories.