mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-12 20:48:09 +00:00
api: Re-generate API code.
This commit is contained in:
334
api/python/src/chirpstack_api/api/application_pb2.py
vendored
334
api/python/src/chirpstack_api/api/application_pb2.py
vendored
File diff suppressed because one or more lines are too long
@ -64,16 +64,25 @@ INFLUXDB_1: InfluxDbVersion
|
||||
INFLUXDB_2: InfluxDbVersion
|
||||
|
||||
class Application(_message.Message):
|
||||
__slots__ = ["id", "name", "description", "tenant_id"]
|
||||
__slots__ = ["id", "name", "description", "tenant_id", "tags"]
|
||||
class TagsEntry(_message.Message):
|
||||
__slots__ = ["key", "value"]
|
||||
KEY_FIELD_NUMBER: _ClassVar[int]
|
||||
VALUE_FIELD_NUMBER: _ClassVar[int]
|
||||
key: str
|
||||
value: str
|
||||
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
||||
ID_FIELD_NUMBER: _ClassVar[int]
|
||||
NAME_FIELD_NUMBER: _ClassVar[int]
|
||||
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
||||
TENANT_ID_FIELD_NUMBER: _ClassVar[int]
|
||||
TAGS_FIELD_NUMBER: _ClassVar[int]
|
||||
id: str
|
||||
name: str
|
||||
description: str
|
||||
tenant_id: str
|
||||
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., tenant_id: _Optional[str] = ...) -> None: ...
|
||||
tags: _containers.ScalarMap[str, str]
|
||||
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., tenant_id: _Optional[str] = ..., tags: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
||||
|
||||
class ApplicationListItem(_message.Message):
|
||||
__slots__ = ["id", "created_at", "updated_at", "name", "description"]
|
||||
|
@ -7,7 +7,8 @@ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
||||
|
||||
|
||||
class DeviceProfileServiceStub(object):
|
||||
"""DeviceProfileService is the service providing API methods for managing device-profiles.
|
||||
"""DeviceProfileService is the service providing API methods for managing
|
||||
device-profiles.
|
||||
"""
|
||||
|
||||
def __init__(self, channel):
|
||||
@ -49,7 +50,8 @@ class DeviceProfileServiceStub(object):
|
||||
|
||||
|
||||
class DeviceProfileServiceServicer(object):
|
||||
"""DeviceProfileService is the service providing API methods for managing device-profiles.
|
||||
"""DeviceProfileService is the service providing API methods for managing
|
||||
device-profiles.
|
||||
"""
|
||||
|
||||
def Create(self, request, context):
|
||||
@ -135,7 +137,8 @@ def add_DeviceProfileServiceServicer_to_server(servicer, server):
|
||||
|
||||
# This class is part of an EXPERIMENTAL API.
|
||||
class DeviceProfileService(object):
|
||||
"""DeviceProfileService is the service providing API methods for managing device-profiles.
|
||||
"""DeviceProfileService is the service providing API methods for managing
|
||||
device-profiles.
|
||||
"""
|
||||
|
||||
@staticmethod
|
||||
|
84
api/python/src/chirpstack_api/api/tenant_pb2.py
vendored
84
api/python/src/chirpstack_api/api/tenant_pb2.py
vendored
File diff suppressed because one or more lines are too long
13
api/python/src/chirpstack_api/api/tenant_pb2.pyi
vendored
13
api/python/src/chirpstack_api/api/tenant_pb2.pyi
vendored
@ -9,7 +9,14 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map
|
||||
DESCRIPTOR: _descriptor.FileDescriptor
|
||||
|
||||
class Tenant(_message.Message):
|
||||
__slots__ = ["id", "name", "description", "can_have_gateways", "max_gateway_count", "max_device_count", "private_gateways_up", "private_gateways_down"]
|
||||
__slots__ = ["id", "name", "description", "can_have_gateways", "max_gateway_count", "max_device_count", "private_gateways_up", "private_gateways_down", "tags"]
|
||||
class TagsEntry(_message.Message):
|
||||
__slots__ = ["key", "value"]
|
||||
KEY_FIELD_NUMBER: _ClassVar[int]
|
||||
VALUE_FIELD_NUMBER: _ClassVar[int]
|
||||
key: str
|
||||
value: str
|
||||
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
||||
ID_FIELD_NUMBER: _ClassVar[int]
|
||||
NAME_FIELD_NUMBER: _ClassVar[int]
|
||||
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
||||
@ -18,6 +25,7 @@ class Tenant(_message.Message):
|
||||
MAX_DEVICE_COUNT_FIELD_NUMBER: _ClassVar[int]
|
||||
PRIVATE_GATEWAYS_UP_FIELD_NUMBER: _ClassVar[int]
|
||||
PRIVATE_GATEWAYS_DOWN_FIELD_NUMBER: _ClassVar[int]
|
||||
TAGS_FIELD_NUMBER: _ClassVar[int]
|
||||
id: str
|
||||
name: str
|
||||
description: str
|
||||
@ -26,7 +34,8 @@ class Tenant(_message.Message):
|
||||
max_device_count: int
|
||||
private_gateways_up: bool
|
||||
private_gateways_down: bool
|
||||
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., can_have_gateways: bool = ..., max_gateway_count: _Optional[int] = ..., max_device_count: _Optional[int] = ..., private_gateways_up: bool = ..., private_gateways_down: bool = ...) -> None: ...
|
||||
tags: _containers.ScalarMap[str, str]
|
||||
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., can_have_gateways: bool = ..., max_gateway_count: _Optional[int] = ..., max_device_count: _Optional[int] = ..., private_gateways_up: bool = ..., private_gateways_down: bool = ..., tags: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
||||
|
||||
class TenantListItem(_message.Message):
|
||||
__slots__ = ["id", "created_at", "updated_at", "name", "can_have_gateways", "private_gateways_up", "private_gateways_down", "max_gateway_count", "max_device_count"]
|
||||
|
Reference in New Issue
Block a user