type1

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2023 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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.

type Warning

type Warning struct {
	// The warning code.
	Code string `json:"code,omitempty"`
	// The warning message.
	Message string `json:"message,omitempty"`
}

Warning The warning which would not fail requests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL