Ejemplo n.º 1
0
class CreateChatRoomRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    name: str = betterproto.string_field(2)
    allow_voice: bool = betterproto.bool_field(3)
Ejemplo n.º 2
0
Archivo: log.py Proyecto: emakeev/api
class RemoveResponse(betterproto.Message):
    header: headers.ResponseHeader = betterproto.message_field(1)
    status: "ResponseStatus" = betterproto.enum_field(2)
    index: int = betterproto.uint64_field(3)
    previous_value: bytes = betterproto.bytes_field(4)
Ejemplo n.º 3
0
Archivo: log.py Proyecto: emakeev/api
class EventRequest(betterproto.Message):
    header: headers.RequestHeader = betterproto.message_field(1)
    replay: bool = betterproto.bool_field(2)
    index: int = betterproto.uint64_field(3)
Ejemplo n.º 4
0
class Latch(betterproto.Message):
    id: int = betterproto.uint64_field(1)
    leader: str = betterproto.string_field(2)
    participants: List[str] = betterproto.string_field(3)
Ejemplo n.º 5
0
Archivo: log.py Proyecto: emakeev/api
class NextEntryRequest(betterproto.Message):
    header: headers.RequestHeader = betterproto.message_field(1)
    index: int = betterproto.uint64_field(2)
Ejemplo n.º 6
0
class DeleteChatMessagesRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    chat_id: int = betterproto.uint64_field(2)
    messages: List[
        "DeleteChatMessagesRequestMessage"] = betterproto.message_field(3)
Ejemplo n.º 7
0
class Role(betterproto.Message):
    role_id: int = betterproto.uint64_field(1)
    name: str = betterproto.string_field(2)
    ordinal: int = betterproto.uint32_field(3)
Ejemplo n.º 8
0
class LeaveVoiceChatRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    chat_id: int = betterproto.uint64_field(2)
Ejemplo n.º 9
0
class GetChatRoomGroupSummaryRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
Ejemplo n.º 10
0
class SendChatMessageRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    chat_id: int = betterproto.uint64_field(2)
    message: str = betterproto.string_field(3)
    echo_to_sender: bool = betterproto.bool_field(4)
Ejemplo n.º 11
0
class JoinVoiceChatResponse(betterproto.Message):
    voice_chatid: int = betterproto.uint64_field(1)
Ejemplo n.º 12
0
class ReorderChatRoomRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    chat_id: int = betterproto.uint64_field(2)
    move_after_chat_id: int = betterproto.uint64_field(3)
Ejemplo n.º 13
0
class RenameChatRoomRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    chat_id: int = betterproto.uint64_field(2)
    name: str = betterproto.string_field(3)
Ejemplo n.º 14
0
class DeleteChatRoomRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    chat_id: int = betterproto.uint64_field(2)
Ejemplo n.º 15
0
class SetSessionActiveChatRoomGroupsRequest(betterproto.Message):
    chat_group_ids: List[int] = betterproto.uint64_field(1)
    chat_groups_data_requested: List[int] = betterproto.uint64_field(2)
    virtualize_members_threshold: int = betterproto.int32_field(3)
Ejemplo n.º 16
0
class SetAppChatRoomGroupStopForceActiveNotification(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    requesting_app_id: int = betterproto.uint32_field(2)
Ejemplo n.º 17
0
class SetSessionActiveChatRoomGroupsResponse(betterproto.Message):
    chat_states: List["GroupState"] = betterproto.message_field(1)
    virtualize_members_chat_group_ids: List[int] = betterproto.uint64_field(2)
Ejemplo n.º 18
0
class AckChatMessageNotification(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    chat_id: int = betterproto.uint64_field(2)
    timestamp: int = betterproto.uint32_field(3)
Ejemplo n.º 19
0
class SearchMembersRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    search_id: int = betterproto.uint64_field(2)
    search_text: str = betterproto.string_field(3)
    max_results: int = betterproto.int32_field(4)
Ejemplo n.º 20
0
class CreateInviteLinkRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    seconds_valid: int = betterproto.uint32_field(2)
    chat_id: int = betterproto.uint64_field(3)
Ejemplo n.º 21
0
class ChatMessageModifiedNotification(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    chat_id: int = betterproto.uint64_field(2)
    messages: List[
        "ChatMessageModifiedNotificationChatMessage"] = betterproto.message_field(
            3)
Ejemplo n.º 22
0
class GetInviteInfoRequest(betterproto.Message):
    steamid_invitee: int = betterproto.fixed64_field(1)
    chat_group_id: int = betterproto.uint64_field(2)
    chat_id: int = betterproto.uint64_field(3)
    invite_code: str = betterproto.string_field(4)
Ejemplo n.º 23
0
class CommandLineOptions(betterproto.Message):
    """[#next-free-field: 39]"""

    # See :option:`--base-id` for details.
    base_id: int = betterproto.uint64_field(1)
    # See :option:`--use-dynamic-base-id` for details.
    use_dynamic_base_id: bool = betterproto.bool_field(31)
    # See :option:`--base-id-path` for details.
    base_id_path: str = betterproto.string_field(32)
    # See :option:`--concurrency` for details.
    concurrency: int = betterproto.uint32_field(2)
    # See :option:`--config-path` for details.
    config_path: str = betterproto.string_field(3)
    # See :option:`--config-yaml` for details.
    config_yaml: str = betterproto.string_field(4)
    # See :option:`--allow-unknown-static-fields` for details.
    allow_unknown_static_fields: bool = betterproto.bool_field(5)
    # See :option:`--reject-unknown-dynamic-fields` for details.
    reject_unknown_dynamic_fields: bool = betterproto.bool_field(26)
    # See :option:`--ignore-unknown-dynamic-fields` for details.
    ignore_unknown_dynamic_fields: bool = betterproto.bool_field(30)
    # See :option:`--admin-address-path` for details.
    admin_address_path: str = betterproto.string_field(6)
    # See :option:`--local-address-ip-version` for details.
    local_address_ip_version: "CommandLineOptionsIpVersion" = betterproto.enum_field(
        7)
    # See :option:`--log-level` for details.
    log_level: str = betterproto.string_field(8)
    # See :option:`--component-log-level` for details.
    component_log_level: str = betterproto.string_field(9)
    # See :option:`--log-format` for details.
    log_format: str = betterproto.string_field(10)
    # See :option:`--log-format-escaped` for details.
    log_format_escaped: bool = betterproto.bool_field(27)
    # See :option:`--log-path` for details.
    log_path: str = betterproto.string_field(11)
    # See :option:`--service-cluster` for details.
    service_cluster: str = betterproto.string_field(13)
    # See :option:`--service-node` for details.
    service_node: str = betterproto.string_field(14)
    # See :option:`--service-zone` for details.
    service_zone: str = betterproto.string_field(15)
    # See :option:`--file-flush-interval-msec` for details.
    file_flush_interval: timedelta = betterproto.message_field(16)
    # See :option:`--drain-time-s` for details.
    drain_time: timedelta = betterproto.message_field(17)
    # See :option:`--drain-strategy` for details.
    drain_strategy: "CommandLineOptionsDrainStrategy" = betterproto.enum_field(
        33)
    # See :option:`--parent-shutdown-time-s` for details.
    parent_shutdown_time: timedelta = betterproto.message_field(18)
    # See :option:`--mode` for details.
    mode: "CommandLineOptionsMode" = betterproto.enum_field(19)
    # See :option:`--disable-hot-restart` for details.
    disable_hot_restart: bool = betterproto.bool_field(22)
    # See :option:`--enable-mutex-tracing` for details.
    enable_mutex_tracing: bool = betterproto.bool_field(23)
    # See :option:`--restart-epoch` for details.
    restart_epoch: int = betterproto.uint32_field(24)
    # See :option:`--cpuset-threads` for details.
    cpuset_threads: bool = betterproto.bool_field(25)
    # See :option:`--disable-extensions` for details.
    disabled_extensions: List[str] = betterproto.string_field(28)
    # See :option:`--enable-fine-grain-logging` for details.
    enable_fine_grain_logging: bool = betterproto.bool_field(34)
    # See :option:`--socket-path` for details.
    socket_path: str = betterproto.string_field(35)
    # See :option:`--socket-mode` for details.
    socket_mode: int = betterproto.uint32_field(36)
    # See :option:`--enable-core-dump` for details.
    enable_core_dump: bool = betterproto.bool_field(37)
    # See :option:`--stats-tag` for details.
    stats_tag: List[str] = betterproto.string_field(38)
Ejemplo n.º 24
0
class GetInviteLinksForGroupResponseLinkInfo(betterproto.Message):
    invite_code: str = betterproto.string_field(1)
    steamid_creator: int = betterproto.fixed64_field(2)
    time_expires: int = betterproto.uint32_field(3)
    chat_id: int = betterproto.uint64_field(4)
Ejemplo n.º 25
0
Archivo: log.py Proyecto: emakeev/api
class RemoveRequest(betterproto.Message):
    header: headers.RequestHeader = betterproto.message_field(1)
    index: int = betterproto.uint64_field(2)
    value: bytes = betterproto.bytes_field(3)
    timestamp: datetime = betterproto.message_field(4)
Ejemplo n.º 26
0
class GetInviteListRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
Ejemplo n.º 27
0
Archivo: log.py Proyecto: emakeev/api
class EntriesResponse(betterproto.Message):
    header: headers.ResponseHeader = betterproto.message_field(1)
    index: int = betterproto.uint64_field(2)
    value: bytes = betterproto.bytes_field(3)
    timestamp: datetime = betterproto.message_field(4)
Ejemplo n.º 28
0
class DeleteInviteLinkRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)
    invite_code: str = betterproto.string_field(2)
Ejemplo n.º 29
0
Archivo: log.py Proyecto: emakeev/api
class EventResponse(betterproto.Message):
    header: headers.ResponseHeader = betterproto.message_field(1)
    type: "EventResponseType" = betterproto.enum_field(2)
    index: int = betterproto.uint64_field(3)
    value: bytes = betterproto.bytes_field(4)
    timestamp: datetime = betterproto.message_field(5)
Ejemplo n.º 30
0
class LeaveChatRoomGroupRequest(betterproto.Message):
    chat_group_id: int = betterproto.uint64_field(1)