// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. package components type Device struct { ChannelMapping []ChannelMapping `json:"ChannelMapping,omitempty"` Key *string `json:"key,omitempty"` LastSeenAt *int64 `json:"lastSeenAt,omitempty"` Make *string `json:"make,omitempty"` Model *string `json:"model,omitempty"` ModelNumber *string `json:"modelNumber,omitempty"` Protocol *string `json:"protocol,omitempty"` Sources *string `json:"sources,omitempty"` State *string `json:"state,omitempty"` Status *string `json:"status,omitempty"` Tuners *string `json:"tuners,omitempty"` URI *string `json:"uri,omitempty"` UUID *string `json:"uuid,omitempty"` } func (d *Device) GetChannelMapping() []ChannelMapping { if d == nil { return nil } return d.ChannelMapping } func (d *Device) GetKey() *string { if d == nil { return nil } return d.Key } func (d *Device) GetLastSeenAt() *int64 { if d == nil { return nil } return d.LastSeenAt } func (d *Device) GetMake() *string { if d == nil { return nil } return d.Make } func (d *Device) GetModel() *string { if d == nil { return nil } return d.Model } func (d *Device) GetModelNumber() *string { if d == nil { return nil } return d.ModelNumber } func (d *Device) GetProtocol() *string { if d == nil { return nil } return d.Protocol } func (d *Device) GetSources() *string { if d == nil { return nil } return d.Sources } func (d *Device) GetState() *string { if d == nil { return nil } return d.State } func (d *Device) GetStatus() *string { if d == nil { return nil } return d.Status } func (d *Device) GetTuners() *string { if d == nil { return nil } return d.Tuners } func (d *Device) GetURI() *string { if d == nil { return nil } return d.URI } func (d *Device) GetUUID() *string { if d == nil { return nil } return d.UUID }