ask_smapi_model.v1.skill.alexa_hosted 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_smapi_model.v1.skill.alexa_hosted.hosted_skill_info module¶
-
class
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_info.
HostedSkillInfo
(repository=None, runtime=None)¶ Bases:
object
Parameters: - repository ((optional) ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_info.HostedSkillRepositoryInfo) –
- runtime ((optional) ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_runtime.HostedSkillRuntime) –
-
attribute_map
= {'repository': 'repository', 'runtime': 'runtime'}¶
-
deserialized_types
= {'repository': 'ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_info.HostedSkillRepositoryInfo', 'runtime': 'ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_runtime.HostedSkillRuntime'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_metadata module¶
-
class
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_metadata.
HostedSkillMetadata
(alexa_hosted=None)¶ Bases:
object
Alexa Hosted skill's metadata
Parameters: alexa_hosted ((optional) ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_info.HostedSkillInfo) – -
attribute_map
= {'alexa_hosted': 'alexaHosted'}¶
-
deserialized_types
= {'alexa_hosted': 'ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_info.HostedSkillInfo'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_permission module¶
-
class
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_permission.
HostedSkillPermission
(permission=None, status=None, action_url=None)¶ Bases:
object
Customer's permission about Hosted skill features.
Parameters: - permission ((optional) ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_permission_type.HostedSkillPermissionType) –
- status ((optional) ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_permission_status.HostedSkillPermissionStatus) –
- action_url ((optional) str) –
-
attribute_map
= {'action_url': 'actionUrl', 'permission': 'permission', 'status': 'status'}¶
-
deserialized_types
= {'action_url': 'str', 'permission': 'ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_permission_type.HostedSkillPermissionType', 'status': 'ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_permission_status.HostedSkillPermissionStatus'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_permission_status module¶
-
class
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_permission_status.
HostedSkillPermissionStatus
¶ Bases:
enum.Enum
Allowed enum values: [ALLOWED, NEW_USER_REGISTRATION_REQUIRED, RESOURCE_LIMIT_EXCEEDED, RATE_EXCEEDED]
-
ALLOWED
= 'ALLOWED'¶
-
NEW_USER_REGISTRATION_REQUIRED
= 'NEW_USER_REGISTRATION_REQUIRED'¶
-
RATE_EXCEEDED
= 'RATE_EXCEEDED'¶
-
RESOURCE_LIMIT_EXCEEDED
= 'RESOURCE_LIMIT_EXCEEDED'¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_permission_type module¶
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository module¶
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_credentials module¶
-
class
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_credentials.
HostedSkillRepositoryCredentials
(username=None, password=None, expires_at=None)¶ Bases:
object
Parameters: -
attribute_map
= {'expires_at': 'expiresAt', 'password': 'password', 'username': 'username'}¶
-
deserialized_types
= {'expires_at': 'datetime', 'password': 'str', 'username': 'str'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_credentials_list module¶
-
class
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_credentials_list.
HostedSkillRepositoryCredentialsList
(repository_credentials=None)¶ Bases:
object
defines the structure for the hosted skill repository credentials response
Parameters: repository_credentials ((optional) ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_credentials.HostedSkillRepositoryCredentials) – -
attribute_map
= {'repository_credentials': 'repositoryCredentials'}¶
-
deserialized_types
= {'repository_credentials': 'ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_credentials.HostedSkillRepositoryCredentials'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_credentials_request module¶
-
class
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_credentials_request.
HostedSkillRepositoryCredentialsRequest
(repository=None)¶ Bases:
object
Parameters: repository ((optional) ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_info.HostedSkillRepositoryInfo) – -
attribute_map
= {'repository': 'repository'}¶
-
deserialized_types
= {'repository': 'ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_info.HostedSkillRepositoryInfo'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_info module¶
-
class
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository_info.
HostedSkillRepositoryInfo
(url=None, object_type=None)¶ Bases:
object
Alexa Hosted Skill's Repository Information
Parameters: - url ((optional) str) –
- object_type ((optional) ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository.HostedSkillRepository) –
-
attribute_map
= {'object_type': 'type', 'url': 'url'}¶
-
deserialized_types
= {'object_type': 'ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_repository.HostedSkillRepository', 'url': 'str'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_runtime module¶
-
class
ask_smapi_model.v1.skill.alexa_hosted.hosted_skill_runtime.
HostedSkillRuntime
¶ Bases:
enum.Enum
Hosted skill lambda runtime
Allowed enum values: [NODE_10_X, PYTHON_3_7]
-
NODE_10_X
= 'NODE_10_X'¶
-
PYTHON_3_7
= 'PYTHON_3_7'¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-