mirror of
https://github.com/micromdm/micromdm/
synced 2026-06-30 01:57:00 +08:00
315 lines
11 KiB
Go
315 lines
11 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: device.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package deviceproto is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
device.proto
|
|
|
|
It has these top-level messages:
|
|
Device
|
|
*/
|
|
package deviceproto
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type Device struct {
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid" json:"uuid,omitempty"`
|
|
Udid string `protobuf:"bytes,2,opt,name=udid" json:"udid,omitempty"`
|
|
SerialNumber string `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber" json:"serial_number,omitempty"`
|
|
OsVersion string `protobuf:"bytes,4,opt,name=os_version,json=osVersion" json:"os_version,omitempty"`
|
|
BuildVersion string `protobuf:"bytes,5,opt,name=build_version,json=buildVersion" json:"build_version,omitempty"`
|
|
ProductName string `protobuf:"bytes,6,opt,name=product_name,json=productName" json:"product_name,omitempty"`
|
|
Imei string `protobuf:"bytes,7,opt,name=imei" json:"imei,omitempty"`
|
|
Meid string `protobuf:"bytes,8,opt,name=meid" json:"meid,omitempty"`
|
|
Token string `protobuf:"bytes,9,opt,name=token" json:"token,omitempty"`
|
|
PushMagic string `protobuf:"bytes,10,opt,name=push_magic,json=pushMagic" json:"push_magic,omitempty"`
|
|
MdmTopic string `protobuf:"bytes,11,opt,name=mdm_topic,json=mdmTopic" json:"mdm_topic,omitempty"`
|
|
UnlockToken string `protobuf:"bytes,12,opt,name=unlock_token,json=unlockToken" json:"unlock_token,omitempty"`
|
|
Enrolled bool `protobuf:"varint,13,opt,name=enrolled" json:"enrolled,omitempty"`
|
|
AwaitingConfiguration bool `protobuf:"varint,14,opt,name=awaiting_configuration,json=awaitingConfiguration" json:"awaiting_configuration,omitempty"`
|
|
DeviceName string `protobuf:"bytes,15,opt,name=device_name,json=deviceName" json:"device_name,omitempty"`
|
|
Model string `protobuf:"bytes,16,opt,name=model" json:"model,omitempty"`
|
|
ModelName string `protobuf:"bytes,17,opt,name=model_name,json=modelName" json:"model_name,omitempty"`
|
|
Description string `protobuf:"bytes,18,opt,name=description" json:"description,omitempty"`
|
|
Color string `protobuf:"bytes,19,opt,name=color" json:"color,omitempty"`
|
|
AssetTag string `protobuf:"bytes,20,opt,name=asset_tag,json=assetTag" json:"asset_tag,omitempty"`
|
|
DepDevice bool `protobuf:"varint,21,opt,name=dep_device,json=depDevice" json:"dep_device,omitempty"`
|
|
DepProfileStatus string `protobuf:"bytes,22,opt,name=dep_profile_status,json=depProfileStatus" json:"dep_profile_status,omitempty"`
|
|
DepProfileUuid string `protobuf:"bytes,23,opt,name=dep_profile_uuid,json=depProfileUuid" json:"dep_profile_uuid,omitempty"`
|
|
DepProfileAssignTime int64 `protobuf:"varint,24,opt,name=dep_profile_assign_time,json=depProfileAssignTime" json:"dep_profile_assign_time,omitempty"`
|
|
DepProfilePushTime int64 `protobuf:"varint,25,opt,name=dep_profile_push_time,json=depProfilePushTime" json:"dep_profile_push_time,omitempty"`
|
|
DepProfileAssignedDate int64 `protobuf:"varint,26,opt,name=dep_profile_assigned_date,json=depProfileAssignedDate" json:"dep_profile_assigned_date,omitempty"`
|
|
DepProfileAssignedBy string `protobuf:"bytes,27,opt,name=dep_profile_assigned_by,json=depProfileAssignedBy" json:"dep_profile_assigned_by,omitempty"`
|
|
LastSeen int64 `protobuf:"varint,28,opt,name=last_seen,json=lastSeen" json:"last_seen,omitempty"`
|
|
LastQueryResponse []byte `protobuf:"bytes,29,opt,name=last_query_response,json=lastQueryResponse,proto3" json:"last_query_response,omitempty"`
|
|
}
|
|
|
|
func (m *Device) Reset() { *m = Device{} }
|
|
func (m *Device) String() string { return proto.CompactTextString(m) }
|
|
func (*Device) ProtoMessage() {}
|
|
func (*Device) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
func (m *Device) GetUuid() string {
|
|
if m != nil {
|
|
return m.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetUdid() string {
|
|
if m != nil {
|
|
return m.Udid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetSerialNumber() string {
|
|
if m != nil {
|
|
return m.SerialNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetOsVersion() string {
|
|
if m != nil {
|
|
return m.OsVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetBuildVersion() string {
|
|
if m != nil {
|
|
return m.BuildVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetProductName() string {
|
|
if m != nil {
|
|
return m.ProductName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetImei() string {
|
|
if m != nil {
|
|
return m.Imei
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetMeid() string {
|
|
if m != nil {
|
|
return m.Meid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetToken() string {
|
|
if m != nil {
|
|
return m.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetPushMagic() string {
|
|
if m != nil {
|
|
return m.PushMagic
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetMdmTopic() string {
|
|
if m != nil {
|
|
return m.MdmTopic
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetUnlockToken() string {
|
|
if m != nil {
|
|
return m.UnlockToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetEnrolled() bool {
|
|
if m != nil {
|
|
return m.Enrolled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *Device) GetAwaitingConfiguration() bool {
|
|
if m != nil {
|
|
return m.AwaitingConfiguration
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *Device) GetDeviceName() string {
|
|
if m != nil {
|
|
return m.DeviceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetModel() string {
|
|
if m != nil {
|
|
return m.Model
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetModelName() string {
|
|
if m != nil {
|
|
return m.ModelName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetDescription() string {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetColor() string {
|
|
if m != nil {
|
|
return m.Color
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetAssetTag() string {
|
|
if m != nil {
|
|
return m.AssetTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetDepDevice() bool {
|
|
if m != nil {
|
|
return m.DepDevice
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *Device) GetDepProfileStatus() string {
|
|
if m != nil {
|
|
return m.DepProfileStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetDepProfileUuid() string {
|
|
if m != nil {
|
|
return m.DepProfileUuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetDepProfileAssignTime() int64 {
|
|
if m != nil {
|
|
return m.DepProfileAssignTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Device) GetDepProfilePushTime() int64 {
|
|
if m != nil {
|
|
return m.DepProfilePushTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Device) GetDepProfileAssignedDate() int64 {
|
|
if m != nil {
|
|
return m.DepProfileAssignedDate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Device) GetDepProfileAssignedBy() string {
|
|
if m != nil {
|
|
return m.DepProfileAssignedBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Device) GetLastSeen() int64 {
|
|
if m != nil {
|
|
return m.LastSeen
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Device) GetLastQueryResponse() []byte {
|
|
if m != nil {
|
|
return m.LastQueryResponse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Device)(nil), "deviceproto.Device")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("device.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 557 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x94, 0x41, 0x4f, 0x1b, 0x31,
|
|
0x10, 0x85, 0x95, 0x02, 0x21, 0x71, 0x02, 0x0d, 0x26, 0x09, 0x03, 0x14, 0x35, 0x6d, 0x2f, 0x39,
|
|
0x54, 0x48, 0x55, 0xc5, 0xa1, 0xc7, 0xb6, 0x5c, 0x8b, 0x68, 0x48, 0x7b, 0xb5, 0x9c, 0xf5, 0xb0,
|
|
0x58, 0xac, 0xed, 0xad, 0xed, 0xa5, 0xca, 0x2f, 0xef, 0xb5, 0xf2, 0x38, 0x90, 0xa8, 0xf4, 0xe6,
|
|
0xf9, 0xde, 0xbc, 0xf1, 0xcc, 0xac, 0xb5, 0xac, 0xaf, 0xf0, 0x41, 0x17, 0x78, 0x5e, 0x7b, 0x17,
|
|
0x1d, 0xef, 0xe5, 0x88, 0x82, 0xb7, 0x7f, 0x76, 0x59, 0xfb, 0x92, 0x62, 0xce, 0xd9, 0x76, 0xd3,
|
|
0x68, 0x05, 0xad, 0x49, 0x6b, 0xda, 0x9d, 0xd1, 0x99, 0x98, 0xd2, 0x0a, 0x5e, 0xac, 0x98, 0xd2,
|
|
0x8a, 0xbf,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