device

package
v0.0.0-...-f44e450 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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 NewDevice

func NewDevice() *Device

func (*Device) Equals

func (p *Device) Equals(other *Device) bool

func (*Device) GetAssetID

func (p *Device) GetAssetID() int64

func (*Device) GetHostname

func (p *Device) GetHostname() string

func (*Device) GetModelID

func (p *Device) GetModelID() int64

func (*Device) IsSetHostname

func (p *Device) IsSetHostname() bool

func (*Device) Read

func (p *Device) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*Device) ReadField1

func (p *Device) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*Device) ReadField2

func (p *Device) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*Device) ReadField3

func (p *Device) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*Device) String

func (p *Device) String() string

func (*Device) Write

func (p *Device) Write(ctx context.Context, oprot thrift.TProtocol) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL