Пример #1
0
class _LinkOutSuggestionSchema(GoogleTypeSchema):
    destinationName = Str(attribute='destination_name')
    uri = Str()
Пример #2
0
class _SuggestionSchema(GoogleTypeSchema):
    title = Str()
Пример #3
0
class _CarouselSelectItemSchema(GoogleTypeSchema):
    title = Str()
    info = Nested('_SelectItemInfoSchema')
    image = Nested('_ImageSchema')
    description = Str()
Пример #4
0
class _ListSelectSchema(GoogleTypeSchema):
    items = ListF(Nested('_ListSelectItemSchema'))
    title = Str()
Пример #5
0
class _SelectItemInfoSchema(GoogleTypeSchema):
    key = Str()
    synonyms = ListF(Str())
Пример #6
0
class _BasicCardButtonSchema(GoogleTypeSchema):
    title = Str()
    openUriAction = Nested('_OpenUriActionSchema', attribute='open_uri_action')
Пример #7
0
class _OpenUriActionSchema(GoogleTypeSchema):
    uri = Str()
Пример #8
0
class _SimpleResponseSchema(GoogleTypeSchema):
    textToSpeech = Str(attribute='text_to_speech')
    ssml = Str()
    displayText = Str(attribute='display_text')
Пример #9
0
class _BasicCardSchema(GoogleTypeSchema):
    title = Str()
    subtitle = Str()
    formattedText = Str(attribute='formatted_text')
    buttons = ListF(Nested('_BasicCardButtonSchema'))
    image = Nested('_ImageSchema')
Пример #10
0
class _CardButtonSchema(GoogleTypeSchema):
    text = Str()
    description = Str()
Пример #11
0
class _QuickRepliesSchema(GoogleTypeSchema):
    title = Str()
    quickReplies = ListF(Str(), attribute='quick_replies')
Пример #12
0
class _CardSchema(GoogleTypeSchema):
    title = Str()
    buttons = ListF(Nested('_CardButtonSchema'))
    subtitle = Str()
    imageUri = Str(attribute='image_uri')
Пример #13
0
class _ImageSchema(GoogleTypeSchema):
    imageUri = Str(attribute='image_uri')
    accessibilityText = Str(attribute='accessibility_text')
Пример #14
0
class _TextSchema(GoogleTypeSchema):
    text = ListF(Str())
Пример #15
0
class _ContextSchema(GoogleTypeSchema):
    name = Str()
    lifespanCount = Int(attribute='lifespan_count')
    parameters = DictF(keys=Str(), values=Raw())
Пример #16
0
class _IntentSchema(GoogleTypeSchema):
    name = Str()
    displayName = Str(attribute='display_name')
    isFallback = Bool(attribute='is_fallback')
    webhookState = EnumField(WebhookState, attribute='webhook_state')