|
| 1 | +import datetime |
| 2 | + |
| 3 | +from eolymp.annotations import mcp_pb2 as _mcp_pb2 |
| 4 | +from eolymp.ecm import content_pb2 as _content_pb2 |
| 5 | +from google.protobuf import timestamp_pb2 as _timestamp_pb2 |
| 6 | +from google.protobuf.internal import containers as _containers |
| 7 | +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper |
| 8 | +from google.protobuf import descriptor as _descriptor |
| 9 | +from google.protobuf import message as _message |
| 10 | +from collections.abc import Iterable as _Iterable, Mapping as _Mapping |
| 11 | +from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union |
| 12 | + |
| 13 | +DESCRIPTOR: _descriptor.FileDescriptor |
| 14 | + |
| 15 | +class Template(_message.Message): |
| 16 | + __slots__ = ("id", "created_at", "updated_at", "key", "draft", "subject", "content", "automatic", "locale", "alternative_locales") |
| 17 | + class Extra(_message.Message): |
| 18 | + __slots__ = () |
| 19 | + class Field(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): |
| 20 | + __slots__ = () |
| 21 | + UNKNOWN_EXTRA: _ClassVar[Template.Extra.Field] |
| 22 | + CONTENT_VALUE: _ClassVar[Template.Extra.Field] |
| 23 | + CONTENT_RENDER: _ClassVar[Template.Extra.Field] |
| 24 | + UNKNOWN_EXTRA: Template.Extra.Field |
| 25 | + CONTENT_VALUE: Template.Extra.Field |
| 26 | + CONTENT_RENDER: Template.Extra.Field |
| 27 | + def __init__(self) -> None: ... |
| 28 | + class Patch(_message.Message): |
| 29 | + __slots__ = ("key", "draft", "subject", "content", "automatic") |
| 30 | + KEY_FIELD_NUMBER: _ClassVar[int] |
| 31 | + DRAFT_FIELD_NUMBER: _ClassVar[int] |
| 32 | + SUBJECT_FIELD_NUMBER: _ClassVar[int] |
| 33 | + CONTENT_FIELD_NUMBER: _ClassVar[int] |
| 34 | + AUTOMATIC_FIELD_NUMBER: _ClassVar[int] |
| 35 | + key: str |
| 36 | + draft: bool |
| 37 | + subject: str |
| 38 | + content: _content_pb2.Content |
| 39 | + automatic: bool |
| 40 | + def __init__(self, key: _Optional[str] = ..., draft: _Optional[bool] = ..., subject: _Optional[str] = ..., content: _Optional[_Union[_content_pb2.Content, _Mapping]] = ..., automatic: _Optional[bool] = ...) -> None: ... |
| 41 | + ID_FIELD_NUMBER: _ClassVar[int] |
| 42 | + CREATED_AT_FIELD_NUMBER: _ClassVar[int] |
| 43 | + UPDATED_AT_FIELD_NUMBER: _ClassVar[int] |
| 44 | + KEY_FIELD_NUMBER: _ClassVar[int] |
| 45 | + DRAFT_FIELD_NUMBER: _ClassVar[int] |
| 46 | + SUBJECT_FIELD_NUMBER: _ClassVar[int] |
| 47 | + CONTENT_FIELD_NUMBER: _ClassVar[int] |
| 48 | + AUTOMATIC_FIELD_NUMBER: _ClassVar[int] |
| 49 | + LOCALE_FIELD_NUMBER: _ClassVar[int] |
| 50 | + ALTERNATIVE_LOCALES_FIELD_NUMBER: _ClassVar[int] |
| 51 | + id: str |
| 52 | + created_at: _timestamp_pb2.Timestamp |
| 53 | + updated_at: _timestamp_pb2.Timestamp |
| 54 | + key: str |
| 55 | + draft: bool |
| 56 | + subject: str |
| 57 | + content: _content_pb2.Content |
| 58 | + automatic: bool |
| 59 | + locale: str |
| 60 | + alternative_locales: _containers.RepeatedScalarFieldContainer[str] |
| 61 | + def __init__(self, id: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., key: _Optional[str] = ..., draft: _Optional[bool] = ..., subject: _Optional[str] = ..., content: _Optional[_Union[_content_pb2.Content, _Mapping]] = ..., automatic: _Optional[bool] = ..., locale: _Optional[str] = ..., alternative_locales: _Optional[_Iterable[str]] = ...) -> None: ... |
0 commit comments