iot

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IotService_HomeCreate_FullMethodName         = "/iot.IotService/HomeCreate"
	IotService_HomeUpdate_FullMethodName         = "/iot.IotService/HomeUpdate"
	IotService_HomeDelete_FullMethodName         = "/iot.IotService/HomeDelete"
	IotService_HomeDeleteIds_FullMethodName      = "/iot.IotService/HomeDeleteIds"
	IotService_HomeQuery_FullMethodName          = "/iot.IotService/HomeQuery"
	IotService_HomeQueryList_FullMethodName      = "/iot.IotService/HomeQueryList"
	IotService_HomeUpdateStatus_FullMethodName   = "/iot.IotService/HomeUpdateStatus"
	IotService_MemberCreate_FullMethodName       = "/iot.IotService/MemberCreate"
	IotService_MemberUpdate_FullMethodName       = "/iot.IotService/MemberUpdate"
	IotService_MemberDelete_FullMethodName       = "/iot.IotService/MemberDelete"
	IotService_MemberDeleteIds_FullMethodName    = "/iot.IotService/MemberDeleteIds"
	IotService_MemberQuery_FullMethodName        = "/iot.IotService/MemberQuery"
	IotService_MemberQueryList_FullMethodName    = "/iot.IotService/MemberQueryList"
	IotService_MemberUpdateStatus_FullMethodName = "/iot.IotService/MemberUpdateStatus"
	IotService_RoomCreate_FullMethodName         = "/iot.IotService/RoomCreate"
	IotService_RoomUpdate_FullMethodName         = "/iot.IotService/RoomUpdate"
	IotService_RoomDelete_FullMethodName         = "/iot.IotService/RoomDelete"
	IotService_RoomDeleteIds_FullMethodName      = "/iot.IotService/RoomDeleteIds"
	IotService_RoomQuery_FullMethodName          = "/iot.IotService/RoomQuery"
	IotService_RoomQueryList_FullMethodName      = "/iot.IotService/RoomQueryList"
	IotService_RoomUpdateStatus_FullMethodName   = "/iot.IotService/RoomUpdateStatus"
)

Variables

View Source
var IotService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "iot.IotService",
	HandlerType: (*IotServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "HomeCreate",
			Handler:    _IotService_HomeCreate_Handler,
		},
		{
			MethodName: "HomeUpdate",
			Handler:    _IotService_HomeUpdate_Handler,
		},
		{
			MethodName: "HomeDelete",
			Handler:    _IotService_HomeDelete_Handler,
		},
		{
			MethodName: "HomeDeleteIds",
			Handler:    _IotService_HomeDeleteIds_Handler,
		},
		{
			MethodName: "HomeQuery",
			Handler:    _IotService_HomeQuery_Handler,
		},
		{
			MethodName: "HomeQueryList",
			Handler:    _IotService_HomeQueryList_Handler,
		},
		{
			MethodName: "HomeUpdateStatus",
			Handler:    _IotService_HomeUpdateStatus_Handler,
		},
		{
			MethodName: "MemberCreate",
			Handler:    _IotService_MemberCreate_Handler,
		},
		{
			MethodName: "MemberUpdate",
			Handler:    _IotService_MemberUpdate_Handler,
		},
		{
			MethodName: "MemberDelete",
			Handler:    _IotService_MemberDelete_Handler,
		},
		{
			MethodName: "MemberDeleteIds",
			Handler:    _IotService_MemberDeleteIds_Handler,
		},
		{
			MethodName: "MemberQuery",
			Handler:    _IotService_MemberQuery_Handler,
		},
		{
			MethodName: "MemberQueryList",
			Handler:    _IotService_MemberQueryList_Handler,
		},
		{
			MethodName: "MemberUpdateStatus",
			Handler:    _IotService_MemberUpdateStatus_Handler,
		},
		{
			MethodName: "RoomCreate",
			Handler:    _IotService_RoomCreate_Handler,
		},
		{
			MethodName: "RoomUpdate",
			Handler:    _IotService_RoomUpdate_Handler,
		},
		{
			MethodName: "RoomDelete",
			Handler:    _IotService_RoomDelete_Handler,
		},
		{
			MethodName: "RoomDeleteIds",
			Handler:    _IotService_RoomDeleteIds_Handler,
		},
		{
			MethodName: "RoomQuery",
			Handler:    _IotService_RoomQuery_Handler,
		},
		{
			MethodName: "RoomQueryList",
			Handler:    _IotService_RoomQueryList_Handler,
		},
		{
			MethodName: "RoomUpdateStatus",
			Handler:    _IotService_RoomUpdateStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "iot.proto",
}

IotService_ServiceDesc is the grpc.ServiceDesc for IotService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterIotServiceServer added in v0.0.11

func RegisterIotServiceServer(s grpc.ServiceRegistrar, srv IotServiceServer)

Types

type CreateHomeReq

type CreateHomeReq struct {
	UserId  uint32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

note: home 家庭

func (*CreateHomeReq) Descriptor deprecated

func (*CreateHomeReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateHomeReq.ProtoReflect.Descriptor instead.

func (*CreateHomeReq) GetAddress

func (x *CreateHomeReq) GetAddress() string

func (*CreateHomeReq) GetName

func (x *CreateHomeReq) GetName() string

func (*CreateHomeReq) GetUserId

func (x *CreateHomeReq) GetUserId() uint32

func (*CreateHomeReq) ProtoMessage

func (*CreateHomeReq) ProtoMessage()

func (*CreateHomeReq) ProtoReflect

func (x *CreateHomeReq) ProtoReflect() protoreflect.Message

func (*CreateHomeReq) Reset

func (x *CreateHomeReq) Reset()

func (*CreateHomeReq) String

func (x *CreateHomeReq) String() string

type CreateHomeResp added in v0.0.11

type CreateHomeResp struct {
	Code      int32               `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg       string              `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	RequestID string              `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Path      string              `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Data      *CreateHomeRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateHomeResp) Descriptor deprecated added in v0.0.11

func (*CreateHomeResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateHomeResp.ProtoReflect.Descriptor instead.

func (*CreateHomeResp) GetCode added in v0.0.11

func (x *CreateHomeResp) GetCode() int32

func (*CreateHomeResp) GetData added in v0.0.11

func (x *CreateHomeResp) GetData() *CreateHomeRespData

func (*CreateHomeResp) GetMsg added in v0.0.11

func (x *CreateHomeResp) GetMsg() string

func (*CreateHomeResp) GetPath added in v0.0.11

func (x *CreateHomeResp) GetPath() string

func (*CreateHomeResp) GetRequestID added in v0.0.11

func (x *CreateHomeResp) GetRequestID() string

func (*CreateHomeResp) ProtoMessage added in v0.0.11

func (*CreateHomeResp) ProtoMessage()

func (*CreateHomeResp) ProtoReflect added in v0.0.11

func (x *CreateHomeResp) ProtoReflect() protoreflect.Message

func (*CreateHomeResp) Reset added in v0.0.11

func (x *CreateHomeResp) Reset()

func (*CreateHomeResp) String added in v0.0.11

func (x *CreateHomeResp) String() string

type CreateHomeRespData added in v0.0.11

type CreateHomeRespData struct {
	Id      uint32         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId  uint32         `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Name    string         `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Address string         `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	Member  []*ModelMember `protobuf:"bytes,5,rep,name=member,proto3" json:"member,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateHomeRespData) Descriptor deprecated added in v0.0.11

func (*CreateHomeRespData) Descriptor() ([]byte, []int)

Deprecated: Use CreateHomeRespData.ProtoReflect.Descriptor instead.

func (*CreateHomeRespData) GetAddress added in v0.0.11

func (x *CreateHomeRespData) GetAddress() string

func (*CreateHomeRespData) GetId added in v0.0.11

func (x *CreateHomeRespData) GetId() uint32

func (*CreateHomeRespData) GetMember added in v0.0.11

func (x *CreateHomeRespData) GetMember() []*ModelMember

func (*CreateHomeRespData) GetName added in v0.0.11

func (x *CreateHomeRespData) GetName() string

func (*CreateHomeRespData) GetUserId added in v0.0.11

func (x *CreateHomeRespData) GetUserId() uint32

func (*CreateHomeRespData) ProtoMessage added in v0.0.11

func (*CreateHomeRespData) ProtoMessage()

func (*CreateHomeRespData) ProtoReflect added in v0.0.11

func (x *CreateHomeRespData) ProtoReflect() protoreflect.Message

func (*CreateHomeRespData) Reset added in v0.0.11

func (x *CreateHomeRespData) Reset()

func (*CreateHomeRespData) String added in v0.0.11

func (x *CreateHomeRespData) String() string

type CreateMemberReq added in v0.0.11

type CreateMemberReq struct {
	UserId uint32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	HomeId uint32 `protobuf:"varint,2,opt,name=homeId,proto3" json:"homeId,omitempty"`
	Role   int32  `protobuf:"varint,3,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

note: member 家庭成员

func (*CreateMemberReq) Descriptor deprecated added in v0.0.11

func (*CreateMemberReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateMemberReq.ProtoReflect.Descriptor instead.

func (*CreateMemberReq) GetHomeId added in v0.0.11

func (x *CreateMemberReq) GetHomeId() uint32

func (*CreateMemberReq) GetRole added in v0.0.11

func (x *CreateMemberReq) GetRole() int32

func (*CreateMemberReq) GetUserId added in v0.0.11

func (x *CreateMemberReq) GetUserId() uint32

func (*CreateMemberReq) ProtoMessage added in v0.0.11

func (*CreateMemberReq) ProtoMessage()

func (*CreateMemberReq) ProtoReflect added in v0.0.11

func (x *CreateMemberReq) ProtoReflect() protoreflect.Message

func (*CreateMemberReq) Reset added in v0.0.11

func (x *CreateMemberReq) Reset()

func (*CreateMemberReq) String added in v0.0.11

func (x *CreateMemberReq) String() string

type CreateMemberResp added in v0.0.11

type CreateMemberResp struct {
	Code      int32        `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg       string       `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	RequestID string       `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Path      string       `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Data      *ModelMember `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMemberResp) Descriptor deprecated added in v0.0.11

func (*CreateMemberResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateMemberResp.ProtoReflect.Descriptor instead.

func (*CreateMemberResp) GetCode added in v0.0.11

func (x *CreateMemberResp) GetCode() int32

func (*CreateMemberResp) GetData added in v0.0.11

func (x *CreateMemberResp) GetData() *ModelMember

func (*CreateMemberResp) GetMsg added in v0.0.11

func (x *CreateMemberResp) GetMsg() string

func (*CreateMemberResp) GetPath added in v0.0.11

func (x *CreateMemberResp) GetPath() string

func (*CreateMemberResp) GetRequestID added in v0.0.11

func (x *CreateMemberResp) GetRequestID() string

func (*CreateMemberResp) ProtoMessage added in v0.0.11

func (*CreateMemberResp) ProtoMessage()

func (*CreateMemberResp) ProtoReflect added in v0.0.11

func (x *CreateMemberResp) ProtoReflect() protoreflect.Message

func (*CreateMemberResp) Reset added in v0.0.11

func (x *CreateMemberResp) Reset()

func (*CreateMemberResp) String added in v0.0.11

func (x *CreateMemberResp) String() string

type CreateRoomReq added in v0.0.11

type CreateRoomReq struct {
	UserId uint32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	HomeId uint32 `protobuf:"varint,2,opt,name=homeId,proto3" json:"homeId,omitempty"`
	Name   string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

note: room 房间

func (*CreateRoomReq) Descriptor deprecated added in v0.0.11

func (*CreateRoomReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoomReq.ProtoReflect.Descriptor instead.

func (*CreateRoomReq) GetHomeId added in v0.0.11

func (x *CreateRoomReq) GetHomeId() uint32

func (*CreateRoomReq) GetName added in v0.0.11

func (x *CreateRoomReq) GetName() string

func (*CreateRoomReq) GetUserId added in v0.0.11

func (x *CreateRoomReq) GetUserId() uint32

func (*CreateRoomReq) ProtoMessage added in v0.0.11

func (*CreateRoomReq) ProtoMessage()

func (*CreateRoomReq) ProtoReflect added in v0.0.11

func (x *CreateRoomReq) ProtoReflect() protoreflect.Message

func (*CreateRoomReq) Reset added in v0.0.11

func (x *CreateRoomReq) Reset()

func (*CreateRoomReq) String added in v0.0.11

func (x *CreateRoomReq) String() string

type CreateRoomResp added in v0.0.11

type CreateRoomResp struct {
	Code      int32      `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg       string     `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	RequestID string     `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Path      string     `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Data      *ModelRoom `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoomResp) Descriptor deprecated added in v0.0.11

func (*CreateRoomResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoomResp.ProtoReflect.Descriptor instead.

func (*CreateRoomResp) GetCode added in v0.0.11

func (x *CreateRoomResp) GetCode() int32

func (*CreateRoomResp) GetData added in v0.0.11

func (x *CreateRoomResp) GetData() *ModelRoom

func (*CreateRoomResp) GetMsg added in v0.0.11

func (x *CreateRoomResp) GetMsg() string

func (*CreateRoomResp) GetPath added in v0.0.11

func (x *CreateRoomResp) GetPath() string

func (*CreateRoomResp) GetRequestID added in v0.0.11

func (x *CreateRoomResp) GetRequestID() string

func (*CreateRoomResp) ProtoMessage added in v0.0.11

func (*CreateRoomResp) ProtoMessage()

func (*CreateRoomResp) ProtoReflect added in v0.0.11

func (x *CreateRoomResp) ProtoReflect() protoreflect.Message

func (*CreateRoomResp) Reset added in v0.0.11

func (x *CreateRoomResp) Reset()

func (*CreateRoomResp) String added in v0.0.11

func (x *CreateRoomResp) String() string

type DeleteIdsReq

type DeleteIdsReq struct {
	Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteIdsReq) Descriptor deprecated

func (*DeleteIdsReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteIdsReq.ProtoReflect.Descriptor instead.

func (*DeleteIdsReq) GetIds

func (x *DeleteIdsReq) GetIds() []uint32

func (*DeleteIdsReq) ProtoMessage

func (*DeleteIdsReq) ProtoMessage()

func (*DeleteIdsReq) ProtoReflect

func (x *DeleteIdsReq) ProtoReflect() protoreflect.Message

func (*DeleteIdsReq) Reset

func (x *DeleteIdsReq) Reset()

func (*DeleteIdsReq) String

func (x *DeleteIdsReq) String() string

type DeleteReq

type DeleteReq struct {
	Id     uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId uint32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteReq) Descriptor deprecated

func (*DeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteReq.ProtoReflect.Descriptor instead.

func (*DeleteReq) GetId

func (x *DeleteReq) GetId() uint32

func (*DeleteReq) GetUserId

func (x *DeleteReq) GetUserId() uint32

func (*DeleteReq) ProtoMessage

func (*DeleteReq) ProtoMessage()

func (*DeleteReq) ProtoReflect

func (x *DeleteReq) ProtoReflect() protoreflect.Message

func (*DeleteReq) Reset

func (x *DeleteReq) Reset()

func (*DeleteReq) String

func (x *DeleteReq) String() string

type IotServiceClient added in v0.0.11

type IotServiceClient interface {
	HomeCreate(ctx context.Context, in *CreateHomeReq, opts ...grpc.CallOption) (*Response, error)
	HomeUpdate(ctx context.Context, in *UpdateHomeReq, opts ...grpc.CallOption) (*Response, error)
	HomeDelete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*Response, error)
	HomeDeleteIds(ctx context.Context, in *DeleteIdsReq, opts ...grpc.CallOption) (*Response, error)
	HomeQuery(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*QueryHomeResp, error)
	HomeQueryList(ctx context.Context, in *QueryHomeListReq, opts ...grpc.CallOption) (*QueryHomeListResp, error)
	HomeUpdateStatus(ctx context.Context, in *UpdateStatusReq, opts ...grpc.CallOption) (*Response, error)
	MemberCreate(ctx context.Context, in *CreateMemberReq, opts ...grpc.CallOption) (*Response, error)
	MemberUpdate(ctx context.Context, in *UpdateMemberReq, opts ...grpc.CallOption) (*Response, error)
	MemberDelete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*Response, error)
	MemberDeleteIds(ctx context.Context, in *DeleteIdsReq, opts ...grpc.CallOption) (*Response, error)
	MemberQuery(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*QueryMemberResp, error)
	MemberQueryList(ctx context.Context, in *QueryMemberListReq, opts ...grpc.CallOption) (*QueryMemberListResp, error)
	MemberUpdateStatus(ctx context.Context, in *UpdateStatusReq, opts ...grpc.CallOption) (*Response, error)
	RoomCreate(ctx context.Context, in *CreateRoomReq, opts ...grpc.CallOption) (*Response, error)
	RoomUpdate(ctx context.Context, in *UpdateRoomReq, opts ...grpc.CallOption) (*Response, error)
	RoomDelete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*Response, error)
	RoomDeleteIds(ctx context.Context, in *DeleteIdsReq, opts ...grpc.CallOption) (*Response, error)
	RoomQuery(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*QueryRoomResp, error)
	RoomQueryList(ctx context.Context, in *QueryRoomListReq, opts ...grpc.CallOption) (*QueryRoomListResp, error)
	RoomUpdateStatus(ctx context.Context, in *UpdateStatusReq, opts ...grpc.CallOption) (*Response, error)
}

IotServiceClient is the client API for IotService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewIotServiceClient added in v0.0.11

func NewIotServiceClient(cc grpc.ClientConnInterface) IotServiceClient

type IotServiceServer added in v0.0.11

type IotServiceServer interface {
	HomeCreate(context.Context, *CreateHomeReq) (*Response, error)
	HomeUpdate(context.Context, *UpdateHomeReq) (*Response, error)
	HomeDelete(context.Context, *DeleteReq) (*Response, error)
	HomeDeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
	HomeQuery(context.Context, *QueryReq) (*QueryHomeResp, error)
	HomeQueryList(context.Context, *QueryHomeListReq) (*QueryHomeListResp, error)
	HomeUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
	MemberCreate(context.Context, *CreateMemberReq) (*Response, error)
	MemberUpdate(context.Context, *UpdateMemberReq) (*Response, error)
	MemberDelete(context.Context, *DeleteReq) (*Response, error)
	MemberDeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
	MemberQuery(context.Context, *QueryReq) (*QueryMemberResp, error)
	MemberQueryList(context.Context, *QueryMemberListReq) (*QueryMemberListResp, error)
	MemberUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
	RoomCreate(context.Context, *CreateRoomReq) (*Response, error)
	RoomUpdate(context.Context, *UpdateRoomReq) (*Response, error)
	RoomDelete(context.Context, *DeleteReq) (*Response, error)
	RoomDeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
	RoomQuery(context.Context, *QueryReq) (*QueryRoomResp, error)
	RoomQueryList(context.Context, *QueryRoomListReq) (*QueryRoomListResp, error)
	RoomUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
	// contains filtered or unexported methods
}

IotServiceServer is the server API for IotService service. All implementations must embed UnimplementedIotServiceServer for forward compatibility

type ModelHome

type ModelHome struct {
	Id      uint32         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId  uint32         `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Name    string         `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Address string         `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	Status  int64          `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	Members []*ModelMember `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"`
	Rooms   []*ModelRoom   `protobuf:"bytes,7,rep,name=rooms,proto3" json:"rooms,omitempty"`
	// contains filtered or unexported fields
}

note: 通用部分

func (*ModelHome) Descriptor deprecated

func (*ModelHome) Descriptor() ([]byte, []int)

Deprecated: Use ModelHome.ProtoReflect.Descriptor instead.

func (*ModelHome) GetAddress

func (x *ModelHome) GetAddress() string

func (*ModelHome) GetId

func (x *ModelHome) GetId() uint32

func (*ModelHome) GetMembers added in v0.0.11

func (x *ModelHome) GetMembers() []*ModelMember

func (*ModelHome) GetName

func (x *ModelHome) GetName() string

func (*ModelHome) GetRooms added in v0.0.11

func (x *ModelHome) GetRooms() []*ModelRoom

func (*ModelHome) GetStatus added in v0.0.11

func (x *ModelHome) GetStatus() int64

func (*ModelHome) GetUserId

func (x *ModelHome) GetUserId() uint32

func (*ModelHome) ProtoMessage

func (*ModelHome) ProtoMessage()

func (*ModelHome) ProtoReflect

func (x *ModelHome) ProtoReflect() protoreflect.Message

func (*ModelHome) Reset

func (x *ModelHome) Reset()

func (*ModelHome) String

func (x *ModelHome) String() string

type ModelMember

type ModelMember struct {
	Id     uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId uint32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	HomeId uint32 `protobuf:"varint,3,opt,name=homeId,proto3" json:"homeId,omitempty"`
	Role   int32  `protobuf:"varint,4,opt,name=role,proto3" json:"role,omitempty"`
	Status int64  `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ModelMember) Descriptor deprecated

func (*ModelMember) Descriptor() ([]byte, []int)

Deprecated: Use ModelMember.ProtoReflect.Descriptor instead.

func (*ModelMember) GetHomeId

func (x *ModelMember) GetHomeId() uint32

func (*ModelMember) GetId

func (x *ModelMember) GetId() uint32

func (*ModelMember) GetRole

func (x *ModelMember) GetRole() int32

func (*ModelMember) GetStatus added in v0.0.11

func (x *ModelMember) GetStatus() int64

func (*ModelMember) GetUserId

func (x *ModelMember) GetUserId() uint32

func (*ModelMember) ProtoMessage

func (*ModelMember) ProtoMessage()

func (*ModelMember) ProtoReflect

func (x *ModelMember) ProtoReflect() protoreflect.Message

func (*ModelMember) Reset

func (x *ModelMember) Reset()

func (*ModelMember) String

func (x *ModelMember) String() string

type ModelRoom added in v0.0.11

type ModelRoom struct {
	Id     uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId uint32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	HomeId uint32 `protobuf:"varint,3,opt,name=homeId,proto3" json:"homeId,omitempty"`
	Name   string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Status int64  `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ModelRoom) Descriptor deprecated added in v0.0.11

func (*ModelRoom) Descriptor() ([]byte, []int)

Deprecated: Use ModelRoom.ProtoReflect.Descriptor instead.

func (*ModelRoom) GetHomeId added in v0.0.11

func (x *ModelRoom) GetHomeId() uint32

func (*ModelRoom) GetId added in v0.0.11

func (x *ModelRoom) GetId() uint32

func (*ModelRoom) GetName added in v0.0.11

func (x *ModelRoom) GetName() string

func (*ModelRoom) GetStatus added in v0.0.11

func (x *ModelRoom) GetStatus() int64

func (*ModelRoom) GetUserId added in v0.0.11

func (x *ModelRoom) GetUserId() uint32

func (*ModelRoom) ProtoMessage added in v0.0.11

func (*ModelRoom) ProtoMessage()

func (*ModelRoom) ProtoReflect added in v0.0.11

func (x *ModelRoom) ProtoReflect() protoreflect.Message

func (*ModelRoom) Reset added in v0.0.11

func (x *ModelRoom) Reset()

func (*ModelRoom) String added in v0.0.11

func (x *ModelRoom) String() string

type QueryHomeListReq added in v0.0.11

type QueryHomeListReq struct {
	Page      int32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize  int32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	StartTime int64  `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"`
	EndTime   int64  `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
	Keyword   string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
	UserId    uint32 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryHomeListReq) Descriptor deprecated added in v0.0.11

func (*QueryHomeListReq) Descriptor() ([]byte, []int)

Deprecated: Use QueryHomeListReq.ProtoReflect.Descriptor instead.

func (*QueryHomeListReq) GetEndTime added in v0.0.11

func (x *QueryHomeListReq) GetEndTime() int64

func (*QueryHomeListReq) GetKeyword added in v0.0.11

func (x *QueryHomeListReq) GetKeyword() string

func (*QueryHomeListReq) GetPage added in v0.0.11

func (x *QueryHomeListReq) GetPage() int32

func (*QueryHomeListReq) GetPageSize added in v0.0.11

func (x *QueryHomeListReq) GetPageSize() int32

func (*QueryHomeListReq) GetStartTime added in v0.0.11

func (x *QueryHomeListReq) GetStartTime() int64

func (*QueryHomeListReq) GetUserId added in v0.0.11

func (x *QueryHomeListReq) GetUserId() uint32

func (*QueryHomeListReq) ProtoMessage added in v0.0.11

func (*QueryHomeListReq) ProtoMessage()

func (*QueryHomeListReq) ProtoReflect added in v0.0.11

func (x *QueryHomeListReq) ProtoReflect() protoreflect.Message

func (*QueryHomeListReq) Reset added in v0.0.11

func (x *QueryHomeListReq) Reset()

func (*QueryHomeListReq) String added in v0.0.11

func (x *QueryHomeListReq) String() string

type QueryHomeListResp added in v0.0.11

type QueryHomeListResp struct {
	Code      int32                  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg       string                 `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	RequestID string                 `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Path      string                 `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Data      *QueryHomeListRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryHomeListResp) Descriptor deprecated added in v0.0.11

func (*QueryHomeListResp) Descriptor() ([]byte, []int)

Deprecated: Use QueryHomeListResp.ProtoReflect.Descriptor instead.

func (*QueryHomeListResp) GetCode added in v0.0.11

func (x *QueryHomeListResp) GetCode() int32

func (*QueryHomeListResp) GetData added in v0.0.11

func (*QueryHomeListResp) GetMsg added in v0.0.11

func (x *QueryHomeListResp) GetMsg() string

func (*QueryHomeListResp) GetPath added in v0.0.11

func (x *QueryHomeListResp) GetPath() string

func (*QueryHomeListResp) GetRequestID added in v0.0.11

func (x *QueryHomeListResp) GetRequestID() string

func (*QueryHomeListResp) ProtoMessage added in v0.0.11

func (*QueryHomeListResp) ProtoMessage()

func (*QueryHomeListResp) ProtoReflect added in v0.0.11

func (x *QueryHomeListResp) ProtoReflect() protoreflect.Message

func (*QueryHomeListResp) Reset added in v0.0.11

func (x *QueryHomeListResp) Reset()

func (*QueryHomeListResp) String added in v0.0.11

func (x *QueryHomeListResp) String() string

type QueryHomeListRespData added in v0.0.11

type QueryHomeListRespData struct {
	List     []*ModelHome `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total    int64        `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	Page     int32        `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32        `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryHomeListRespData) Descriptor deprecated added in v0.0.11

func (*QueryHomeListRespData) Descriptor() ([]byte, []int)

Deprecated: Use QueryHomeListRespData.ProtoReflect.Descriptor instead.

func (*QueryHomeListRespData) GetList added in v0.0.11

func (x *QueryHomeListRespData) GetList() []*ModelHome

func (*QueryHomeListRespData) GetPage added in v0.0.11

func (x *QueryHomeListRespData) GetPage() int32

func (*QueryHomeListRespData) GetPageSize added in v0.0.11

func (x *QueryHomeListRespData) GetPageSize() int32

func (*QueryHomeListRespData) GetTotal added in v0.0.11

func (x *QueryHomeListRespData) GetTotal() int64

func (*QueryHomeListRespData) ProtoMessage added in v0.0.11

func (*QueryHomeListRespData) ProtoMessage()

func (*QueryHomeListRespData) ProtoReflect added in v0.0.11

func (x *QueryHomeListRespData) ProtoReflect() protoreflect.Message

func (*QueryHomeListRespData) Reset added in v0.0.11

func (x *QueryHomeListRespData) Reset()

func (*QueryHomeListRespData) String added in v0.0.11

func (x *QueryHomeListRespData) String() string

type QueryHomeResp added in v0.0.11

type QueryHomeResp struct {
	Code      int32      `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg       string     `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	RequestID string     `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Path      string     `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Data      *ModelHome `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryHomeResp) Descriptor deprecated added in v0.0.11

func (*QueryHomeResp) Descriptor() ([]byte, []int)

Deprecated: Use QueryHomeResp.ProtoReflect.Descriptor instead.

func (*QueryHomeResp) GetCode added in v0.0.11

func (x *QueryHomeResp) GetCode() int32

func (*QueryHomeResp) GetData added in v0.0.11

func (x *QueryHomeResp) GetData() *ModelHome

func (*QueryHomeResp) GetMsg added in v0.0.11

func (x *QueryHomeResp) GetMsg() string

func (*QueryHomeResp) GetPath added in v0.0.11

func (x *QueryHomeResp) GetPath() string

func (*QueryHomeResp) GetRequestID added in v0.0.11

func (x *QueryHomeResp) GetRequestID() string

func (*QueryHomeResp) ProtoMessage added in v0.0.11

func (*QueryHomeResp) ProtoMessage()

func (*QueryHomeResp) ProtoReflect added in v0.0.11

func (x *QueryHomeResp) ProtoReflect() protoreflect.Message

func (*QueryHomeResp) Reset added in v0.0.11

func (x *QueryHomeResp) Reset()

func (*QueryHomeResp) String added in v0.0.11

func (x *QueryHomeResp) String() string

type QueryMemberListReq added in v0.0.11

type QueryMemberListReq struct {
	Page      int32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize  int32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	StartTime int64  `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"`
	EndTime   int64  `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
	UserId    uint32 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"`
	HomeId    uint32 `protobuf:"varint,7,opt,name=homeId,proto3" json:"homeId,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryMemberListReq) Descriptor deprecated added in v0.0.11

func (*QueryMemberListReq) Descriptor() ([]byte, []int)

Deprecated: Use QueryMemberListReq.ProtoReflect.Descriptor instead.

func (*QueryMemberListReq) GetEndTime added in v0.0.11

func (x *QueryMemberListReq) GetEndTime() int64

func (*QueryMemberListReq) GetHomeId added in v0.0.11

func (x *QueryMemberListReq) GetHomeId() uint32

func (*QueryMemberListReq) GetPage added in v0.0.11

func (x *QueryMemberListReq) GetPage() int32

func (*QueryMemberListReq) GetPageSize added in v0.0.11

func (x *QueryMemberListReq) GetPageSize() int32

func (*QueryMemberListReq) GetStartTime added in v0.0.11

func (x *QueryMemberListReq) GetStartTime() int64

func (*QueryMemberListReq) GetUserId added in v0.0.11

func (x *QueryMemberListReq) GetUserId() uint32

func (*QueryMemberListReq) ProtoMessage added in v0.0.11

func (*QueryMemberListReq) ProtoMessage()

func (*QueryMemberListReq) ProtoReflect added in v0.0.11

func (x *QueryMemberListReq) ProtoReflect() protoreflect.Message

func (*QueryMemberListReq) Reset added in v0.0.11

func (x *QueryMemberListReq) Reset()

func (*QueryMemberListReq) String added in v0.0.11

func (x *QueryMemberListReq) String() string

type QueryMemberListResp added in v0.0.11

type QueryMemberListResp struct {
	Code      int32                    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg       string                   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	RequestID string                   `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Path      string                   `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Data      *QueryMemberListRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryMemberListResp) Descriptor deprecated added in v0.0.11

func (*QueryMemberListResp) Descriptor() ([]byte, []int)

Deprecated: Use QueryMemberListResp.ProtoReflect.Descriptor instead.

func (*QueryMemberListResp) GetCode added in v0.0.11

func (x *QueryMemberListResp) GetCode() int32

func (*QueryMemberListResp) GetData added in v0.0.11

func (*QueryMemberListResp) GetMsg added in v0.0.11

func (x *QueryMemberListResp) GetMsg() string

func (*QueryMemberListResp) GetPath added in v0.0.11

func (x *QueryMemberListResp) GetPath() string

func (*QueryMemberListResp) GetRequestID added in v0.0.11

func (x *QueryMemberListResp) GetRequestID() string

func (*QueryMemberListResp) ProtoMessage added in v0.0.11

func (*QueryMemberListResp) ProtoMessage()

func (*QueryMemberListResp) ProtoReflect added in v0.0.11

func (x *QueryMemberListResp) ProtoReflect() protoreflect.Message

func (*QueryMemberListResp) Reset added in v0.0.11

func (x *QueryMemberListResp) Reset()

func (*QueryMemberListResp) String added in v0.0.11

func (x *QueryMemberListResp) String() string

type QueryMemberListRespData added in v0.0.11

type QueryMemberListRespData struct {
	List     []*ModelMember `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total    int64          `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	Page     int32          `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32          `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryMemberListRespData) Descriptor deprecated added in v0.0.11

func (*QueryMemberListRespData) Descriptor() ([]byte, []int)

Deprecated: Use QueryMemberListRespData.ProtoReflect.Descriptor instead.

func (*QueryMemberListRespData) GetList added in v0.0.11

func (x *QueryMemberListRespData) GetList() []*ModelMember

func (*QueryMemberListRespData) GetPage added in v0.0.11

func (x *QueryMemberListRespData) GetPage() int32

func (*QueryMemberListRespData) GetPageSize added in v0.0.11

func (x *QueryMemberListRespData) GetPageSize() int32

func (*QueryMemberListRespData) GetTotal added in v0.0.11

func (x *QueryMemberListRespData) GetTotal() int64

func (*QueryMemberListRespData) ProtoMessage added in v0.0.11

func (*QueryMemberListRespData) ProtoMessage()

func (*QueryMemberListRespData) ProtoReflect added in v0.0.11

func (x *QueryMemberListRespData) ProtoReflect() protoreflect.Message

func (*QueryMemberListRespData) Reset added in v0.0.11

func (x *QueryMemberListRespData) Reset()

func (*QueryMemberListRespData) String added in v0.0.11

func (x *QueryMemberListRespData) String() string

type QueryMemberResp added in v0.0.11

type QueryMemberResp struct {
	Code      int32        `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg       string       `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	RequestID string       `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Path      string       `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Data      *ModelMember `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryMemberResp) Descriptor deprecated added in v0.0.11

func (*QueryMemberResp) Descriptor() ([]byte, []int)

Deprecated: Use QueryMemberResp.ProtoReflect.Descriptor instead.

func (*QueryMemberResp) GetCode added in v0.0.11

func (x *QueryMemberResp) GetCode() int32

func (*QueryMemberResp) GetData added in v0.0.11

func (x *QueryMemberResp) GetData() *ModelMember

func (*QueryMemberResp) GetMsg added in v0.0.11

func (x *QueryMemberResp) GetMsg() string

func (*QueryMemberResp) GetPath added in v0.0.11

func (x *QueryMemberResp) GetPath() string

func (*QueryMemberResp) GetRequestID added in v0.0.11

func (x *QueryMemberResp) GetRequestID() string

func (*QueryMemberResp) ProtoMessage added in v0.0.11

func (*QueryMemberResp) ProtoMessage()

func (*QueryMemberResp) ProtoReflect added in v0.0.11

func (x *QueryMemberResp) ProtoReflect() protoreflect.Message

func (*QueryMemberResp) Reset added in v0.0.11

func (x *QueryMemberResp) Reset()

func (*QueryMemberResp) String added in v0.0.11

func (x *QueryMemberResp) String() string

type QueryReq

type QueryReq struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryReq) Descriptor deprecated

func (*QueryReq) Descriptor() ([]byte, []int)

Deprecated: Use QueryReq.ProtoReflect.Descriptor instead.

func (*QueryReq) GetId

func (x *QueryReq) GetId() uint32

func (*QueryReq) ProtoMessage

func (*QueryReq) ProtoMessage()

func (*QueryReq) ProtoReflect

func (x *QueryReq) ProtoReflect() protoreflect.Message

func (*QueryReq) Reset

func (x *QueryReq) Reset()

func (*QueryReq) String

func (x *QueryReq) String() string

type QueryRoomListReq added in v0.0.11

type QueryRoomListReq struct {
	Page      int32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize  int32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	StartTime int64  `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"`
	EndTime   int64  `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
	Keyword   string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
	UserId    uint32 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"`
	HomeId    uint32 `protobuf:"varint,7,opt,name=homeId,proto3" json:"homeId,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRoomListReq) Descriptor deprecated added in v0.0.11

func (*QueryRoomListReq) Descriptor() ([]byte, []int)

Deprecated: Use QueryRoomListReq.ProtoReflect.Descriptor instead.

func (*QueryRoomListReq) GetEndTime added in v0.0.11

func (x *QueryRoomListReq) GetEndTime() int64

func (*QueryRoomListReq) GetHomeId added in v0.0.11

func (x *QueryRoomListReq) GetHomeId() uint32

func (*QueryRoomListReq) GetKeyword added in v0.0.11

func (x *QueryRoomListReq) GetKeyword() string

func (*QueryRoomListReq) GetPage added in v0.0.11

func (x *QueryRoomListReq) GetPage() int32

func (*QueryRoomListReq) GetPageSize added in v0.0.11

func (x *QueryRoomListReq) GetPageSize() int32

func (*QueryRoomListReq) GetStartTime added in v0.0.11

func (x *QueryRoomListReq) GetStartTime() int64

func (*QueryRoomListReq) GetUserId added in v0.0.11

func (x *QueryRoomListReq) GetUserId() uint32

func (*QueryRoomListReq) ProtoMessage added in v0.0.11

func (*QueryRoomListReq) ProtoMessage()

func (*QueryRoomListReq) ProtoReflect added in v0.0.11

func (x *QueryRoomListReq) ProtoReflect() protoreflect.Message

func (*QueryRoomListReq) Reset added in v0.0.11

func (x *QueryRoomListReq) Reset()

func (*QueryRoomListReq) String added in v0.0.11

func (x *QueryRoomListReq) String() string

type QueryRoomListResp added in v0.0.11

type QueryRoomListResp struct {
	Code      int32                  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg       string                 `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	RequestID string                 `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Path      string                 `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Data      *QueryRoomListRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRoomListResp) Descriptor deprecated added in v0.0.11

func (*QueryRoomListResp) Descriptor() ([]byte, []int)

Deprecated: Use QueryRoomListResp.ProtoReflect.Descriptor instead.

func (*QueryRoomListResp) GetCode added in v0.0.11

func (x *QueryRoomListResp) GetCode() int32

func (*QueryRoomListResp) GetData added in v0.0.11

func (*QueryRoomListResp) GetMsg added in v0.0.11

func (x *QueryRoomListResp) GetMsg() string

func (*QueryRoomListResp) GetPath added in v0.0.11

func (x *QueryRoomListResp) GetPath() string

func (*QueryRoomListResp) GetRequestID added in v0.0.11

func (x *QueryRoomListResp) GetRequestID() string

func (*QueryRoomListResp) ProtoMessage added in v0.0.11

func (*QueryRoomListResp) ProtoMessage()

func (*QueryRoomListResp) ProtoReflect added in v0.0.11

func (x *QueryRoomListResp) ProtoReflect() protoreflect.Message

func (*QueryRoomListResp) Reset added in v0.0.11

func (x *QueryRoomListResp) Reset()

func (*QueryRoomListResp) String added in v0.0.11

func (x *QueryRoomListResp) String() string

type QueryRoomListRespData added in v0.0.11

type QueryRoomListRespData struct {
	List     []*ModelRoom `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total    int64        `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	Page     int32        `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32        `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRoomListRespData) Descriptor deprecated added in v0.0.11

func (*QueryRoomListRespData) Descriptor() ([]byte, []int)

Deprecated: Use QueryRoomListRespData.ProtoReflect.Descriptor instead.

func (*QueryRoomListRespData) GetList added in v0.0.11

func (x *QueryRoomListRespData) GetList() []*ModelRoom

func (*QueryRoomListRespData) GetPage added in v0.0.11

func (x *QueryRoomListRespData) GetPage() int32

func (*QueryRoomListRespData) GetPageSize added in v0.0.11

func (x *QueryRoomListRespData) GetPageSize() int32

func (*QueryRoomListRespData) GetTotal added in v0.0.11

func (x *QueryRoomListRespData) GetTotal() int64

func (*QueryRoomListRespData) ProtoMessage added in v0.0.11

func (*QueryRoomListRespData) ProtoMessage()

func (*QueryRoomListRespData) ProtoReflect added in v0.0.11

func (x *QueryRoomListRespData) ProtoReflect() protoreflect.Message

func (*QueryRoomListRespData) Reset added in v0.0.11

func (x *QueryRoomListRespData) Reset()

func (*QueryRoomListRespData) String added in v0.0.11

func (x *QueryRoomListRespData) String() string

type QueryRoomResp added in v0.0.11

type QueryRoomResp struct {
	Code      int32      `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg       string     `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	RequestID string     `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Path      string     `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Data      *ModelRoom `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRoomResp) Descriptor deprecated added in v0.0.11

func (*QueryRoomResp) Descriptor() ([]byte, []int)

Deprecated: Use QueryRoomResp.ProtoReflect.Descriptor instead.

func (*QueryRoomResp) GetCode added in v0.0.11

func (x *QueryRoomResp) GetCode() int32

func (*QueryRoomResp) GetData added in v0.0.11

func (x *QueryRoomResp) GetData() *ModelRoom

func (*QueryRoomResp) GetMsg added in v0.0.11

func (x *QueryRoomResp) GetMsg() string

func (*QueryRoomResp) GetPath added in v0.0.11

func (x *QueryRoomResp) GetPath() string

func (*QueryRoomResp) GetRequestID added in v0.0.11

func (x *QueryRoomResp) GetRequestID() string

func (*QueryRoomResp) ProtoMessage added in v0.0.11

func (*QueryRoomResp) ProtoMessage()

func (*QueryRoomResp) ProtoReflect added in v0.0.11

func (x *QueryRoomResp) ProtoReflect() protoreflect.Message

func (*QueryRoomResp) Reset added in v0.0.11

func (x *QueryRoomResp) Reset()

func (*QueryRoomResp) String added in v0.0.11

func (x *QueryRoomResp) String() string

type Response

type Response struct {
	Code      int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg       string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Path      string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode

func (x *Response) GetCode() int32

func (*Response) GetMsg

func (x *Response) GetMsg() string

func (*Response) GetPath

func (x *Response) GetPath() string

func (*Response) GetRequestID

func (x *Response) GetRequestID() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type UnimplementedIotServiceServer added in v0.0.11

type UnimplementedIotServiceServer struct {
}

UnimplementedIotServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIotServiceServer) HomeCreate added in v0.0.11

func (UnimplementedIotServiceServer) HomeDelete added in v0.0.11

func (UnimplementedIotServiceServer) HomeDeleteIds added in v0.0.11

func (UnimplementedIotServiceServer) HomeQuery added in v0.0.11

func (UnimplementedIotServiceServer) HomeQueryList added in v0.0.11

func (UnimplementedIotServiceServer) HomeUpdate added in v0.0.11

func (UnimplementedIotServiceServer) HomeUpdateStatus added in v0.0.11

func (UnimplementedIotServiceServer) MemberCreate added in v0.0.11

func (UnimplementedIotServiceServer) MemberDelete added in v0.0.11

func (UnimplementedIotServiceServer) MemberDeleteIds added in v0.0.11

func (UnimplementedIotServiceServer) MemberQuery added in v0.0.11

func (UnimplementedIotServiceServer) MemberQueryList added in v0.0.11

func (UnimplementedIotServiceServer) MemberUpdate added in v0.0.11

func (UnimplementedIotServiceServer) MemberUpdateStatus added in v0.0.11

func (UnimplementedIotServiceServer) RoomCreate added in v0.0.11

func (UnimplementedIotServiceServer) RoomDelete added in v0.0.11

func (UnimplementedIotServiceServer) RoomDeleteIds added in v0.0.11

func (UnimplementedIotServiceServer) RoomQuery added in v0.0.11

func (UnimplementedIotServiceServer) RoomQueryList added in v0.0.11

func (UnimplementedIotServiceServer) RoomUpdate added in v0.0.11

func (UnimplementedIotServiceServer) RoomUpdateStatus added in v0.0.11

type UnsafeIotServiceServer added in v0.0.11

type UnsafeIotServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeIotServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IotServiceServer will result in compilation errors.

type UpdateHomeReq

type UpdateHomeReq struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateHomeReq) Descriptor deprecated

func (*UpdateHomeReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateHomeReq.ProtoReflect.Descriptor instead.

func (*UpdateHomeReq) GetId

func (x *UpdateHomeReq) GetId() uint32

func (*UpdateHomeReq) GetName

func (x *UpdateHomeReq) GetName() string

func (*UpdateHomeReq) ProtoMessage

func (*UpdateHomeReq) ProtoMessage()

func (*UpdateHomeReq) ProtoReflect

func (x *UpdateHomeReq) ProtoReflect() protoreflect.Message

func (*UpdateHomeReq) Reset

func (x *UpdateHomeReq) Reset()

func (*UpdateHomeReq) String

func (x *UpdateHomeReq) String() string

type UpdateMemberReq added in v0.0.11

type UpdateMemberReq struct {
	Id     uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	HomeId uint32 `protobuf:"varint,2,opt,name=homeId,proto3" json:"homeId,omitempty"`
	Role   int32  `protobuf:"varint,3,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMemberReq) Descriptor deprecated added in v0.0.11

func (*UpdateMemberReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateMemberReq.ProtoReflect.Descriptor instead.

func (*UpdateMemberReq) GetHomeId added in v0.0.11

func (x *UpdateMemberReq) GetHomeId() uint32

func (*UpdateMemberReq) GetId added in v0.0.11

func (x *UpdateMemberReq) GetId() uint32

func (*UpdateMemberReq) GetRole added in v0.0.11

func (x *UpdateMemberReq) GetRole() int32

func (*UpdateMemberReq) ProtoMessage added in v0.0.11

func (*UpdateMemberReq) ProtoMessage()

func (*UpdateMemberReq) ProtoReflect added in v0.0.11

func (x *UpdateMemberReq) ProtoReflect() protoreflect.Message

func (*UpdateMemberReq) Reset added in v0.0.11

func (x *UpdateMemberReq) Reset()

func (*UpdateMemberReq) String added in v0.0.11

func (x *UpdateMemberReq) String() string

type UpdateRoomReq added in v0.0.11

type UpdateRoomReq struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoomReq) Descriptor deprecated added in v0.0.11

func (*UpdateRoomReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRoomReq.ProtoReflect.Descriptor instead.

func (*UpdateRoomReq) GetId added in v0.0.11

func (x *UpdateRoomReq) GetId() uint32

func (*UpdateRoomReq) GetName added in v0.0.11

func (x *UpdateRoomReq) GetName() string

func (*UpdateRoomReq) ProtoMessage added in v0.0.11

func (*UpdateRoomReq) ProtoMessage()

func (*UpdateRoomReq) ProtoReflect added in v0.0.11

func (x *UpdateRoomReq) ProtoReflect() protoreflect.Message

func (*UpdateRoomReq) Reset added in v0.0.11

func (x *UpdateRoomReq) Reset()

func (*UpdateRoomReq) String added in v0.0.11

func (x *UpdateRoomReq) String() string

type UpdateStatusReq added in v0.0.11

type UpdateStatusReq struct {
	Id     uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Status int64  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStatusReq) Descriptor deprecated added in v0.0.11

func (*UpdateStatusReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateStatusReq.ProtoReflect.Descriptor instead.

func (*UpdateStatusReq) GetId added in v0.0.11

func (x *UpdateStatusReq) GetId() uint32

func (*UpdateStatusReq) GetStatus added in v0.0.11

func (x *UpdateStatusReq) GetStatus() int64

func (*UpdateStatusReq) ProtoMessage added in v0.0.11

func (*UpdateStatusReq) ProtoMessage()

func (*UpdateStatusReq) ProtoReflect added in v0.0.11

func (x *UpdateStatusReq) ProtoReflect() protoreflect.Message

func (*UpdateStatusReq) Reset added in v0.0.11

func (x *UpdateStatusReq) Reset()

func (*UpdateStatusReq) String added in v0.0.11

func (x *UpdateStatusReq) String() string

Jump to

Keyboard shortcuts

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