Documentation
¶
Index ¶
- type DefinitionData
- type Error
- type LastUpdateRequest
- type ListSlotTypeResponse
- type SlotTypeDefinitionOutput
- type SlotTypeInput
- type SlotTypeItem
- type SlotTypeResponse
- type SlotTypeResponseEntity
- type SlotTypeStatus
- type SlotTypeStatusType
- type SlotTypeUpdateDefinition
- type UpdateRequest
- type Warning
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefinitionData ¶
type DefinitionData struct {
SlotType *SlotTypeInput `json:"slotType,omitempty"`
// The vendorId that the slot type should belong to.
VendorId string `json:"vendorId,omitempty"`
}
DefinitionData Slot type request definitions.
type Error ¶
type Error struct {
// The error code.
Code string `json:"code,omitempty"`
// The error message.
Message string `json:"message,omitempty"`
}
Error The error which would fail requests.
type LastUpdateRequest ¶
type LastUpdateRequest struct {
Status *SlotTypeStatusType `json:"status,omitempty"`
// The version id of the entity returned.
Version string `json:"version,omitempty"`
Errors []*Error `json:"errors,omitempty"`
Warnings []*Warning `json:"warnings,omitempty"`
}
LastUpdateRequest Contains attributes related to last modification request of a resource.
type ListSlotTypeResponse ¶
type ListSlotTypeResponse struct {
Links *smapiv1.Links `json:"_links,omitempty"`
/*
List of slot types.
*/
SlotTypes []*SlotTypeItem `json:"slotTypes,omitempty"`
NextToken string `json:"nextToken,omitempty"`
}
ListSlotTypeResponse List of slot types of a skill for the vendor.
type SlotTypeDefinitionOutput ¶
type SlotTypeDefinitionOutput struct {
SlotType *SlotTypeInput `json:"slotType,omitempty"`
// Total number of versions.
TotalVersions string `json:"totalVersions,omitempty"`
}
SlotTypeDefinitionOutput Slot Type request definitions.
type SlotTypeInput ¶
type SlotTypeInput struct {
// Name of the slot type.
Name string `json:"name,omitempty"`
// Description string about the slot type.
Description string `json:"description,omitempty"`
}
SlotTypeInput Definition for slot type input.
type SlotTypeItem ¶
type SlotTypeItem struct {
// Name of the slot type.
Name string `json:"name,omitempty"`
// Description string about the slot type.
Description string `json:"description,omitempty"`
// Identifier of the slot type, optional in get response as the request already has slotTypeId.
Id string `json:"id,omitempty"`
Links *smapiv1.Links `json:"_links,omitempty"`
}
SlotTypeItem Definition for slot type entity.
type SlotTypeResponse ¶
type SlotTypeResponse struct {
SlotType *SlotTypeResponseEntity `json:"slotType,omitempty"`
}
SlotTypeResponse Slot Type information.
type SlotTypeResponseEntity ¶
type SlotTypeResponseEntity struct {
// ID of the slot type created.
Id string `json:"id,omitempty"`
}
SlotTypeResponseEntity SlotTypeId information.
type SlotTypeStatus ¶
type SlotTypeStatus struct {
UpdateRequest *LastUpdateRequest `json:"updateRequest,omitempty"`
}
SlotTypeStatus Defines the structure for slot type status response.
type SlotTypeStatusType ¶
type SlotTypeStatusType string
SlotTypeStatusType Status of last modification request for a resource.
func SlotTypeStatusType_FAILED ¶
func SlotTypeStatusType_FAILED() SlotTypeStatusType
func SlotTypeStatusType_IN_PROGRESS ¶
func SlotTypeStatusType_IN_PROGRESS() SlotTypeStatusType
func SlotTypeStatusType_SUCCEEDED ¶
func SlotTypeStatusType_SUCCEEDED() SlotTypeStatusType
type SlotTypeUpdateDefinition ¶
type SlotTypeUpdateDefinition struct {
// The slot type description with a 255 character maximum.
Description string `json:"description,omitempty"`
}
SlotTypeUpdateDefinition Slot type update definition object.
type UpdateRequest ¶
type UpdateRequest struct {
SlotType *SlotTypeUpdateDefinition `json:"slotType,omitempty"`
}
UpdateRequest Slot type update request object.