MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / SearchEndDevicesRequest

Struct SearchEndDevicesRequest

pkg/ttnpb/search_services.pb.go:898–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896}
897
898type SearchEndDevicesRequest struct {
899 state protoimpl.MessageState
900 sizeCache protoimpl.SizeCache
901 unknownFields protoimpl.UnknownFields
902
903 ApplicationIds *ApplicationIdentifiers `protobuf:"bytes,1,opt,name=application_ids,json=applicationIds,proto3" json:"application_ids,omitempty"`
904 // Find end devices where the ID, name, description or EUI contains this substring.
905 Query string `protobuf:"bytes,13,opt,name=query,proto3" json:"query,omitempty"`
906 // Find end devices where the ID contains this substring.
907 IdContains string `protobuf:"bytes,2,opt,name=id_contains,json=idContains,proto3" json:"id_contains,omitempty"`
908 // Find end devices where the name contains this substring.
909 NameContains string `protobuf:"bytes,3,opt,name=name_contains,json=nameContains,proto3" json:"name_contains,omitempty"`
910 // Find end devices where the description contains this substring.
911 DescriptionContains string `protobuf:"bytes,4,opt,name=description_contains,json=descriptionContains,proto3" json:"description_contains,omitempty"`
912 // Find end devices where the given attributes contain these substrings.
913 AttributesContain map[string]string `protobuf:"bytes,5,rep,name=attributes_contain,json=attributesContain,proto3" json:"attributes_contain,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
914 // Find end devices where the (hexadecimal) DevEUI contains this substring.
915 DevEuiContains string `protobuf:"bytes,6,opt,name=dev_eui_contains,json=devEuiContains,proto3" json:"dev_eui_contains,omitempty"`
916 // Find end devices where the (hexadecimal) JoinEUI contains this substring.
917 JoinEuiContains string `protobuf:"bytes,7,opt,name=join_eui_contains,json=joinEuiContains,proto3" json:"join_eui_contains,omitempty"`
918 // Find end devices where the (hexadecimal) DevAddr contains this substring.
919 DevAddrContains string `protobuf:"bytes,8,opt,name=dev_addr_contains,json=devAddrContains,proto3" json:"dev_addr_contains,omitempty"`
920 FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,9,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
921 // Order the results by this field path (must be present in the field mask).
922 // Default ordering is by ID. Prepend with a minus (-) to reverse the order.
923 Order string `protobuf:"bytes,10,opt,name=order,proto3" json:"order,omitempty"`
924 // Limit the number of results per page.
925 Limit uint32 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"`
926 // Page number for pagination. 0 is interpreted as 1.
927 Page uint32 `protobuf:"varint,12,opt,name=page,proto3" json:"page,omitempty"`
928}
929
930func (x *SearchEndDevicesRequest) Reset() {
931 *x = SearchEndDevicesRequest{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected