history

package
v0.0.0-...-4a16f26 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_hub_history_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetLastPropValuesArgs

type GetLastPropValuesArgs struct {

	// Thing ID whose property values to get
	ThingID string `protobuf:"bytes,1,opt,name=thingID,proto3" json:"thingID,omitempty"`
	// contains filtered or unexported fields
}

Arguments for GetLastPropValues

func (*GetLastPropValuesArgs) Descriptor deprecated

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

Deprecated: Use GetLastPropValuesArgs.ProtoReflect.Descriptor instead.

func (*GetLastPropValuesArgs) GetThingID

func (x *GetLastPropValuesArgs) GetThingID() string

func (*GetLastPropValuesArgs) ProtoMessage

func (*GetLastPropValuesArgs) ProtoMessage()

func (*GetLastPropValuesArgs) ProtoReflect

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

func (*GetLastPropValuesArgs) Reset

func (x *GetLastPropValuesArgs) Reset()

func (*GetLastPropValuesArgs) String

func (x *GetLastPropValuesArgs) String() string

type GetPropHistoryArgs

type GetPropHistoryArgs struct {

	// Thing ID whose property values to get
	ThingID string `protobuf:"bytes,1,opt,name=thingID,proto3" json:"thingID,omitempty"`
	// Property whose history to get
	PropName string `protobuf:"bytes,2,opt,name=propName,proto3" json:"propName,omitempty"`
	// contains filtered or unexported fields
}

Arguments for GetPropHistory

func (*GetPropHistoryArgs) Descriptor deprecated

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

Deprecated: Use GetPropHistoryArgs.ProtoReflect.Descriptor instead.

func (*GetPropHistoryArgs) GetPropName

func (x *GetPropHistoryArgs) GetPropName() string

func (*GetPropHistoryArgs) GetThingID

func (x *GetPropHistoryArgs) GetThingID() string

func (*GetPropHistoryArgs) ProtoMessage

func (*GetPropHistoryArgs) ProtoMessage()

func (*GetPropHistoryArgs) ProtoReflect

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

func (*GetPropHistoryArgs) Reset

func (x *GetPropHistoryArgs) Reset()

func (*GetPropHistoryArgs) String

func (x *GetPropHistoryArgs) String() string

type UpdateEventValueArgs

type UpdateEventValueArgs struct {

	// Thing ID whose event to set
	ThingID string `protobuf:"bytes,1,opt,name=thingID,proto3" json:"thingID,omitempty"`
	// Name of event whose value to set
	EventName string `protobuf:"bytes,2,opt,name=eventName,proto3" json:"eventName,omitempty"`
	// The JSON encoded event value
	ValueJSON string `protobuf:"bytes,3,opt,name=valueJSON,proto3" json:"valueJSON,omitempty"`
	// contains filtered or unexported fields
}

Arguments for update an event's value

func (*UpdateEventValueArgs) Descriptor deprecated

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

Deprecated: Use UpdateEventValueArgs.ProtoReflect.Descriptor instead.

func (*UpdateEventValueArgs) GetEventName

func (x *UpdateEventValueArgs) GetEventName() string

func (*UpdateEventValueArgs) GetThingID

func (x *UpdateEventValueArgs) GetThingID() string

func (*UpdateEventValueArgs) GetValueJSON

func (x *UpdateEventValueArgs) GetValueJSON() string

func (*UpdateEventValueArgs) ProtoMessage

func (*UpdateEventValueArgs) ProtoMessage()

func (*UpdateEventValueArgs) ProtoReflect

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

func (*UpdateEventValueArgs) Reset

func (x *UpdateEventValueArgs) Reset()

func (*UpdateEventValueArgs) String

func (x *UpdateEventValueArgs) String() string

type UpdatePropertyValueArgs

type UpdatePropertyValueArgs struct {

	// Thing ID whose property to set
	ThingID string `protobuf:"bytes,1,opt,name=thingID,proto3" json:"thingID,omitempty"`
	// Name of property to update
	PropName string `protobuf:"bytes,2,opt,name=propName,proto3" json:"propName,omitempty"`
	// The JSON encoded property value
	ValueJSON string `protobuf:"bytes,3,opt,name=valueJSON,proto3" json:"valueJSON,omitempty"`
	// contains filtered or unexported fields
}

Arguments for updating a property value

func (*UpdatePropertyValueArgs) Descriptor deprecated

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

Deprecated: Use UpdatePropertyValueArgs.ProtoReflect.Descriptor instead.

func (*UpdatePropertyValueArgs) GetPropName

func (x *UpdatePropertyValueArgs) GetPropName() string

func (*UpdatePropertyValueArgs) GetThingID

func (x *UpdatePropertyValueArgs) GetThingID() string

func (*UpdatePropertyValueArgs) GetValueJSON

func (x *UpdatePropertyValueArgs) GetValueJSON() string

func (*UpdatePropertyValueArgs) ProtoMessage

func (*UpdatePropertyValueArgs) ProtoMessage()

func (*UpdatePropertyValueArgs) ProtoReflect

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

func (*UpdatePropertyValueArgs) Reset

func (x *UpdatePropertyValueArgs) Reset()

func (*UpdatePropertyValueArgs) String

func (x *UpdatePropertyValueArgs) String() string

type UpdatePropertyValuesArgs

type UpdatePropertyValuesArgs struct {

	// Thing ID whose property to set
	ThingID string `protobuf:"bytes,1,opt,name=thingID,proto3" json:"thingID,omitempty"`
	// Map of properties and their new value
	PropertyValues *thing.PropValueMap `protobuf:"bytes,2,opt,name=propertyValues,proto3" json:"propertyValues,omitempty"`
	// contains filtered or unexported fields
}

Arguments for updating a property value

func (*UpdatePropertyValuesArgs) Descriptor deprecated

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

Deprecated: Use UpdatePropertyValuesArgs.ProtoReflect.Descriptor instead.

func (*UpdatePropertyValuesArgs) GetPropertyValues

func (x *UpdatePropertyValuesArgs) GetPropertyValues() *thing.PropValueMap

func (*UpdatePropertyValuesArgs) GetThingID

func (x *UpdatePropertyValuesArgs) GetThingID() string

func (*UpdatePropertyValuesArgs) ProtoMessage

func (*UpdatePropertyValuesArgs) ProtoMessage()

func (*UpdatePropertyValuesArgs) ProtoReflect

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

func (*UpdatePropertyValuesArgs) Reset

func (x *UpdatePropertyValuesArgs) Reset()

func (*UpdatePropertyValuesArgs) String

func (x *UpdatePropertyValuesArgs) String() string

Jump to

Keyboard shortcuts

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