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