Documentation
¶
Index ¶
- type AlexaExecutionInfo
- type AlexaResponse
- type AlexaResponseContent
- type Device
- type Input
- type Invocation
- type InvocationRequest
- type InvocationResponse
- type Metrics
- type Session
- type SessionMode
- type SimulationResult
- type SimulationsApiRequest
- type SimulationsApiResponse
- type SimulationsApiResponseStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlexaExecutionInfo ¶
type AlexaExecutionInfo struct {
AlexaResponses []*AlexaResponse `json:"alexaResponses,omitempty"`
}
type AlexaResponse ¶
type AlexaResponse struct {
// The type of Alexa response
Type_ string `json:"type,omitempty"`
/*
The detail information needs to exposed in this type of Alexa response.
*/
Content *AlexaResponseContent `json:"content,omitempty"`
}
type AlexaResponseContent ¶
type AlexaResponseContent struct {
// The plain text get from Alexa speech response
Caption string `json:"caption,omitempty"`
}
type Device ¶
type Device struct {
/*
A valid locale (e.g "en-US") for the virtual device used in simulation.
*/
Locale string `json:"locale,omitempty"`
}
Device Model of a virtual device used for simulation. This device object emulates attributes associated with a real Alexa enabled device.
type Input ¶
type Input struct {
/*
A string corresponding to the utterance text of what a customer would say to Alexa.
*/
Content string `json:"content,omitempty"`
}
type Invocation ¶
type Invocation struct {
InvocationRequest *InvocationRequest `json:"invocationRequest,omitempty"`
InvocationResponse *InvocationResponse `json:"invocationResponse,omitempty"`
Metrics *Metrics `json:"metrics,omitempty"`
}
type InvocationRequest ¶
type InvocationResponse ¶
type Metrics ¶
type Metrics struct {
/*
How long, in milliseconds, it took the skill's Lambda or HTTPS endpoint to process the request.
*/
SkillExecutionTimeInMilliseconds int `json:"skillExecutionTimeInMilliseconds,omitempty"`
}
type Session ¶
type Session struct {
Mode *SessionMode `json:"mode,omitempty"`
}
Session Session settings for running current simulation.
type SessionMode ¶
type SessionMode string
SessionMode Indicate the session mode of the current simulation is using.
func SessionMode_DEFAULT ¶
func SessionMode_DEFAULT() SessionMode
func SessionMode_FORCE_NEW_SESSION ¶
func SessionMode_FORCE_NEW_SESSION() SessionMode
type SimulationResult ¶
type SimulationResult struct {
AlexaExecutionInfo *AlexaExecutionInfo `json:"alexaExecutionInfo,omitempty"`
SkillExecutionInfo *Invocation `json:"skillExecutionInfo,omitempty"`
Error *smapiv1.Error `json:"error,omitempty"`
}
type SimulationsApiRequest ¶
type SimulationsApiResponse ¶
type SimulationsApiResponse struct {
// Id of the simulation resource.
Id string `json:"id,omitempty"`
Status *SimulationsApiResponseStatus `json:"status,omitempty"`
Result *SimulationResult `json:"result,omitempty"`
}
type SimulationsApiResponseStatus ¶
type SimulationsApiResponseStatus string
SimulationsApiResponseStatus String that specifies the current status of the simulation. Possible values are "IN_PROGRESS", "SUCCESSFUL", and "FAILED".
func SimulationsApiResponseStatus_FAILED ¶
func SimulationsApiResponseStatus_FAILED() SimulationsApiResponseStatus
func SimulationsApiResponseStatus_IN_PROGRESS ¶
func SimulationsApiResponseStatus_IN_PROGRESS() SimulationsApiResponseStatus
func SimulationsApiResponseStatus_SUCCESSFUL ¶
func SimulationsApiResponseStatus_SUCCESSFUL() SimulationsApiResponseStatus
Source Files
¶
Click to show internal directories.
Click to hide internal directories.