ask_sdk_model.interfaces.connections.requests package

Submodules

Note

Canonical imports have been added in the __init__.py of the package. This helps in importing the class directly from the package, than through the module.

For eg: if package a has module b with class C, you can do from a import C instead of from a.b import C.

ask_sdk_model.interfaces.connections.requests.base_request module

class ask_sdk_model.interfaces.connections.requests.base_request.BaseRequest(object_type=None, version=None)

Bases: object

Parameters:
  • object_type ((optional) str) –
  • version ((optional) str) – version of the request
attribute_map = {'object_type': '@type', 'version': '@version'}
deserialized_types = {'object_type': 'str', 'version': 'str'}
discriminator_value_class_map = {'PrintImageRequest': 'ask_sdk_model.interfaces.connections.requests.print_image_request.PrintImageRequest', 'PrintPDFRequest': 'ask_sdk_model.interfaces.connections.requests.print_pdf_request.PrintPDFRequest', 'PrintWebPageRequest': 'ask_sdk_model.interfaces.connections.requests.print_web_page_request.PrintWebPageRequest', 'ScheduleFoodEstablishmentReservationRequest': 'ask_sdk_model.interfaces.connections.requests.schedule_food_establishment_reservation_request.ScheduleFoodEstablishmentReservationRequest', 'ScheduleTaxiReservationRequest': 'ask_sdk_model.interfaces.connections.requests.schedule_taxi_reservation_request.ScheduleTaxiReservationRequest'}
classmethod get_real_child_model(data)

Returns the real base class specified by the discriminator

json_discriminator_key = '@type'
supports_multiple_types = False
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

ask_sdk_model.interfaces.connections.requests.print_image_request module

class ask_sdk_model.interfaces.connections.requests.print_image_request.PrintImageRequest(version=None, title=None, url=None, description=None, image_type=None)

Bases: ask_sdk_model.interfaces.connections.requests.base_request.BaseRequest

Payload Request object for PrintImage

Parameters:
  • version ((optional) str) – version of the request
  • title ((optional) str) – title of the image
  • url ((optional) str) – url of the image
  • description ((optional) str) – description of the image
  • image_type ((optional) str) – type of the image
attribute_map = {'description': 'description', 'image_type': 'imageType', 'object_type': '@type', 'title': 'title', 'url': 'url', 'version': '@version'}
deserialized_types = {'description': 'str', 'image_type': 'str', 'object_type': 'str', 'title': 'str', 'url': 'str', 'version': 'str'}
supports_multiple_types = False
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

ask_sdk_model.interfaces.connections.requests.print_pdf_request module

class ask_sdk_model.interfaces.connections.requests.print_pdf_request.PrintPDFRequest(version=None, title=None, url=None, description=None)

Bases: ask_sdk_model.interfaces.connections.requests.base_request.BaseRequest

Payload Request object for PrintPDF

Parameters:
  • version ((optional) str) – version of the request
  • title ((optional) str) – title of the image
  • url ((optional) str) – url of the image
  • description ((optional) str) – description of the image
attribute_map = {'description': 'description', 'object_type': '@type', 'title': 'title', 'url': 'url', 'version': '@version'}
deserialized_types = {'description': 'str', 'object_type': 'str', 'title': 'str', 'url': 'str', 'version': 'str'}
supports_multiple_types = False
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

ask_sdk_model.interfaces.connections.requests.print_web_page_request module

class ask_sdk_model.interfaces.connections.requests.print_web_page_request.PrintWebPageRequest(version=None, title=None, url=None, description=None)

Bases: ask_sdk_model.interfaces.connections.requests.base_request.BaseRequest

Payload Request object for PrintWebPage

Parameters:
  • version ((optional) str) – version of the request
  • title ((optional) str) – title of the image
  • url ((optional) str) – url of the image
  • description ((optional) str) – description of the image
attribute_map = {'description': 'description', 'object_type': '@type', 'title': 'title', 'url': 'url', 'version': '@version'}
deserialized_types = {'description': 'str', 'object_type': 'str', 'title': 'str', 'url': 'str', 'version': 'str'}
supports_multiple_types = False
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

ask_sdk_model.interfaces.connections.requests.schedule_food_establishment_reservation_request module

class ask_sdk_model.interfaces.connections.requests.schedule_food_establishment_reservation_request.ScheduleFoodEstablishmentReservationRequest(version=None, start_time=None, party_size=None, restaurant=None)

Bases: ask_sdk_model.interfaces.connections.requests.base_request.BaseRequest

ScheduleFoodEstablishmentReservationRequest for booking restaurant reservation

Parameters:
attribute_map = {'object_type': '@type', 'party_size': 'partySize', 'restaurant': 'restaurant', 'start_time': 'startTime', 'version': '@version'}
deserialized_types = {'object_type': 'str', 'party_size': 'str', 'restaurant': 'ask_sdk_model.interfaces.connections.entities.restaurant.Restaurant', 'start_time': 'str', 'version': 'str'}
supports_multiple_types = False
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

ask_sdk_model.interfaces.connections.requests.schedule_taxi_reservation_request module

class ask_sdk_model.interfaces.connections.requests.schedule_taxi_reservation_request.ScheduleTaxiReservationRequest(version=None, pickup_time=None, party_size=None, pickup_location=None, drop_off_location=None)

Bases: ask_sdk_model.interfaces.connections.requests.base_request.BaseRequest

ScheduleTaxiReservationRequest for booking taxi reservation

Parameters:
attribute_map = {'drop_off_location': 'dropOffLocation', 'object_type': '@type', 'party_size': 'partySize', 'pickup_location': 'pickupLocation', 'pickup_time': 'pickupTime', 'version': '@version'}
deserialized_types = {'drop_off_location': 'ask_sdk_model.interfaces.connections.entities.postal_address.PostalAddress', 'object_type': 'str', 'party_size': 'str', 'pickup_location': 'ask_sdk_model.interfaces.connections.entities.postal_address.PostalAddress', 'pickup_time': 'str', 'version': 'str'}
supports_multiple_types = False
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model