Documentation
¶
Index ¶
- type AssetAttributeDELETE
- type AssetAttributeDetailedGET
- type AssetAttributeGET
- type AssetAttributeValueGET
- type AssetAttributeValuePUT
- type AssetAttributesGET
- type AssetDELETE
- type AssetDescriptionGET
- type AssetDescriptionPUT
- type AssetGET
- type AssetRestorePOST
- type AssetStatusDELETE
- type AssetStatusGET
- type AssetStatusPUT
- type AssetTargetDELETE
- type AssetTargetGET
- type AssetTargetPUT
- type AssetsAllGET
- type AssetsAttributesDELETE
- type AssetsAttributesGET
- type AssetsAttributesPOST
- type AssetsDELETE
- type AssetsDetailedGET
- type AssetsGET
- type AssetsPOST
- type AssetsRestorePOST
- type AttributeAllowEmptyValuePUT
- type AttributeAssetsGET
- type AttributeDELETE
- type AttributeGET
- type AttributeKeyPUT
- type AttributeRestorePOST
- type AttributesDELETE
- type AttributesGET
- type AttributesPOST
- type EventsGET
- type HealthGET
- type SeedPOST
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetAttributeDELETE ¶
type AssetAttributeDELETE struct { Params struct { AssetAttributeID int64 } }
func NewAssetAttributeDELETE ¶
func NewAssetAttributeDELETE(assetAttributeID int64) (request AssetAttributeDELETE, err error)
func (AssetAttributeDELETE) Complete ¶
func (request AssetAttributeDELETE) Complete() bool
func (AssetAttributeDELETE) Request ¶
func (request AssetAttributeDELETE) Request(v *voki.Voki) (response apiresponse.AssetAttributeDELETE, err error)
type AssetAttributeDetailedGET ¶
type AssetAttributeDetailedGET struct { Params struct { AssetAttributeID int64 } }
func NewAssetAttributeDetailedGET ¶
func NewAssetAttributeDetailedGET(assetAttributeID int64) (request AssetAttributeDetailedGET, err error)
func (AssetAttributeDetailedGET) Complete ¶
func (request AssetAttributeDetailedGET) Complete() bool
func (AssetAttributeDetailedGET) Request ¶
func (request AssetAttributeDetailedGET) Request(v *voki.Voki) (response apiresponse.AssetAttributeDetailedGET, err error)
type AssetAttributeGET ¶
type AssetAttributeGET struct { Params struct { AssetAttributeID int64 } }
func NewAssetAttributeGET ¶
func NewAssetAttributeGET(assetAttributeID int64) (request AssetAttributeGET, err error)
func (AssetAttributeGET) Complete ¶
func (request AssetAttributeGET) Complete() bool
func (AssetAttributeGET) Request ¶
func (request AssetAttributeGET) Request(v *voki.Voki) (response apiresponse.AssetAttributeGET, err error)
type AssetAttributeValueGET ¶
type AssetAttributeValueGET struct { Params struct { AssetAttributeID int64 } }
func NewAssetAttributeValueGET ¶
func NewAssetAttributeValueGET(assetAttributeID int64) (request AssetAttributeValueGET, err error)
func (AssetAttributeValueGET) Complete ¶
func (request AssetAttributeValueGET) Complete() bool
func (AssetAttributeValueGET) Request ¶
func (request AssetAttributeValueGET) Request(v *voki.Voki) (response apiresponse.AssetAttributeValueGET, err error)
type AssetAttributeValuePUT ¶
type AssetAttributeValuePUT struct { Data struct { Value string } Params struct { AssetAttributeID int64 } }
func NewAssetAttributeValuePUT ¶
func NewAssetAttributeValuePUT(assetAttributeID int64, value string) (request AssetAttributeValuePUT, err error)
func (AssetAttributeValuePUT) Complete ¶
func (request AssetAttributeValuePUT) Complete() bool
func (AssetAttributeValuePUT) Request ¶
func (request AssetAttributeValuePUT) Request(v *voki.Voki) (response apiresponse.AssetAttributeValuePUT, err error)
type AssetAttributesGET ¶
type AssetAttributesGET struct { Params struct { AssetID int64 } }
func NewAssetAttributesGET ¶
func NewAssetAttributesGET(assetID int64) (request AssetAttributesGET, err error)
func (AssetAttributesGET) Complete ¶
func (request AssetAttributesGET) Complete() bool
func (AssetAttributesGET) Request ¶
func (request AssetAttributesGET) Request(v *voki.Voki) (response apiresponse.AssetAttributesGET, err error)
type AssetDELETE ¶
type AssetDELETE struct { Params struct { AssetID int64 } }
func NewAssetDELETE ¶
func NewAssetDELETE(assetID int64) (request AssetDELETE, err error)
func (AssetDELETE) Complete ¶
func (request AssetDELETE) Complete() bool
func (AssetDELETE) Request ¶
func (request AssetDELETE) Request(v *voki.Voki) (response apiresponse.AssetDELETE, err error)
type AssetDescriptionGET ¶
type AssetDescriptionGET struct { Params struct { AssetID int64 } }
func NewAssetDescriptionGET ¶
func NewAssetDescriptionGET(assetID int64) (request AssetDescriptionGET, err error)
func (AssetDescriptionGET) Complete ¶
func (request AssetDescriptionGET) Complete() bool
func (AssetDescriptionGET) Request ¶
func (request AssetDescriptionGET) Request(v *voki.Voki) (response apiresponse.AssetDescriptionGET, err error)
type AssetDescriptionPUT ¶
type AssetDescriptionPUT struct { Data struct { Description string } Params struct { AssetID int64 } }
func NewAssetDescriptionPUT ¶
func NewAssetDescriptionPUT(assetID int64, description string) (request AssetDescriptionPUT, err error)
func (AssetDescriptionPUT) Complete ¶
func (request AssetDescriptionPUT) Complete() bool
func (AssetDescriptionPUT) Request ¶
func (request AssetDescriptionPUT) Request(v *voki.Voki) (response apiresponse.AssetDescriptionPUT, err error)
type AssetRestorePOST ¶
type AssetRestorePOST struct { Params struct { AssetID int64 } }
func NewAssetRestorePOST ¶
func NewAssetRestorePOST(assetID int64) (request AssetRestorePOST, err error)
func (AssetRestorePOST) Complete ¶
func (request AssetRestorePOST) Complete() bool
func (AssetRestorePOST) Request ¶
func (request AssetRestorePOST) Request(v *voki.Voki) (response apiresponse.AssetRestorePOST, err error)
type AssetStatusDELETE ¶
type AssetStatusDELETE struct { Params struct { AssetID int64 } }
func NewAssetStatusDELETE ¶
func NewAssetStatusDELETE(assetID int64) (request AssetStatusDELETE, err error)
func (AssetStatusDELETE) Complete ¶
func (request AssetStatusDELETE) Complete() bool
func (AssetStatusDELETE) Request ¶
func (request AssetStatusDELETE) Request(v *voki.Voki) (response apiresponse.AssetStatusDELETE, err error)
type AssetStatusGET ¶
type AssetStatusGET struct { Params struct { AssetID int64 } }
func NewAssetStatusGET ¶
func NewAssetStatusGET(assetID int64) (request AssetStatusGET, err error)
func (AssetStatusGET) Complete ¶
func (request AssetStatusGET) Complete() bool
func (AssetStatusGET) Request ¶
func (request AssetStatusGET) Request(v *voki.Voki) (response apiresponse.AssetStatusGET, err error)
type AssetStatusPUT ¶
func NewAssetStatusPUT ¶
func NewAssetStatusPUT(assetID int64, status string) (request AssetStatusPUT, err error)
func (AssetStatusPUT) Complete ¶
func (request AssetStatusPUT) Complete() bool
func (AssetStatusPUT) Request ¶
func (request AssetStatusPUT) Request(v *voki.Voki) (response apiresponse.AssetStatusPUT, err error)
type AssetTargetDELETE ¶
type AssetTargetDELETE struct { Params struct { AssetID int64 } }
func NewAssetTargetDELETE ¶
func NewAssetTargetDELETE(assetID int64) (request AssetTargetDELETE, err error)
func (AssetTargetDELETE) Complete ¶
func (request AssetTargetDELETE) Complete() bool
func (AssetTargetDELETE) Request ¶
func (request AssetTargetDELETE) Request(v *voki.Voki) (response apiresponse.AssetTargetDELETE, err error)
type AssetTargetGET ¶
type AssetTargetGET struct { Params struct { AssetID int64 } }
func NewAssetTargetGET ¶
func NewAssetTargetGET(assetID int64) (request AssetTargetGET, err error)
func (AssetTargetGET) Complete ¶
func (request AssetTargetGET) Complete() bool
func (AssetTargetGET) Request ¶
func (request AssetTargetGET) Request(v *voki.Voki) (response apiresponse.AssetTargetGET, err error)
type AssetTargetPUT ¶
func NewAssetTargetPUT ¶
func NewAssetTargetPUT(assetID, target int64) (request AssetTargetPUT, err error)
func (AssetTargetPUT) Complete ¶
func (request AssetTargetPUT) Complete() bool
func (AssetTargetPUT) Request ¶
func (request AssetTargetPUT) Request(v *voki.Voki) (response apiresponse.AssetTargetPUT, err error)
type AssetsAllGET ¶
func NewAssetsAllGET ¶
func NewAssetsAllGET(page, pageSize int) (request AssetsAllGET, err error)
func (AssetsAllGET) Complete ¶
func (request AssetsAllGET) Complete() bool
func (AssetsAllGET) Request ¶
func (request AssetsAllGET) Request(v *voki.Voki) (response apiresponse.AssetsAllGET, err error)
type AssetsAttributesDELETE ¶
type AssetsAttributesDELETE struct { Data struct { AssetAttributeIDs []int64 } }
func NewAssetsAttributesDELETE ¶
func NewAssetsAttributesDELETE(assetAttributeIDs []int64) (request AssetsAttributesDELETE, err error)
func (AssetsAttributesDELETE) Complete ¶
func (request AssetsAttributesDELETE) Complete() bool
func (AssetsAttributesDELETE) Request ¶
func (request AssetsAttributesDELETE) Request(v *voki.Voki) (response apiresponse.AssetsAttributesDELETE, err error)
type AssetsAttributesGET ¶
type AssetsAttributesGET struct{}
func NewAssetsAttributesGET ¶
func NewAssetsAttributesGET() (request AssetsAttributesGET, err error)
func (AssetsAttributesGET) Complete ¶
func (request AssetsAttributesGET) Complete() bool
func (AssetsAttributesGET) Request ¶
func (request AssetsAttributesGET) Request(v *voki.Voki) (response apiresponse.AssetsAttributesGET, err error)
type AssetsAttributesPOST ¶
type AssetsAttributesPOST struct { Data struct { AssetAttributes []models.AssetAttribute } }
func NewAssetsAttributesPOST ¶
func NewAssetsAttributesPOST(assetAttributes []models.AssetAttribute) (request AssetsAttributesPOST, err error)
func (AssetsAttributesPOST) Complete ¶
func (request AssetsAttributesPOST) Complete() bool
func (AssetsAttributesPOST) Request ¶
func (request AssetsAttributesPOST) Request(v *voki.Voki) (response apiresponse.AssetsAttributesPOST, err error)
type AssetsDELETE ¶
type AssetsDELETE struct { Data struct { AssetIDs []int64 } }
func NewAssetsDELETE ¶
func NewAssetsDELETE(assetIDs []int64) (request AssetsDELETE, err error)
func (AssetsDELETE) Complete ¶
func (request AssetsDELETE) Complete() bool
func (AssetsDELETE) Request ¶
func (request AssetsDELETE) Request(v *voki.Voki) (response apiresponse.AssetsDELETE, err error)
type AssetsDetailedGET ¶
func NewAssetsDetailedGET ¶
func NewAssetsDetailedGET(deleted bool, page int, pageSize int) (request AssetsDetailedGET, err error)
func (AssetsDetailedGET) Complete ¶
func (request AssetsDetailedGET) Complete() bool
func (AssetsDetailedGET) Request ¶
func (request AssetsDetailedGET) Request(v *voki.Voki) (response apiresponse.AssetsDetailedGET, err error)
type AssetsGET ¶
func NewAssetsGET ¶
type AssetsPOST ¶
func NewAssetsPOST ¶
func NewAssetsPOST(assets []models.Asset) (request AssetsPOST, err error)
func (AssetsPOST) Complete ¶
func (request AssetsPOST) Complete() bool
func (AssetsPOST) Request ¶
func (request AssetsPOST) Request(v *voki.Voki) (response apiresponse.AssetsPOST, err error)
type AssetsRestorePOST ¶
type AssetsRestorePOST struct { Data struct { AssetIDs []int64 } }
func NewAssetsRestorePOST ¶
func NewAssetsRestorePOST(assetIDs []int64) (request AssetsRestorePOST, err error)
func (AssetsRestorePOST) Complete ¶
func (request AssetsRestorePOST) Complete() bool
func (AssetsRestorePOST) Request ¶
func (request AssetsRestorePOST) Request(v *voki.Voki) (response apiresponse.AssetsRestorePOST, err error)
type AttributeAllowEmptyValuePUT ¶
type AttributeAllowEmptyValuePUT struct { Data struct { AllowEmptyValue bool } Params struct { AttributeID int64 } }
func NewAttributeAllowEmptyValuePUT ¶
func NewAttributeAllowEmptyValuePUT(attributeID int64, allowEmptyValue bool) (request AttributeAllowEmptyValuePUT, err error)
func (AttributeAllowEmptyValuePUT) Complete ¶
func (request AttributeAllowEmptyValuePUT) Complete() bool
func (AttributeAllowEmptyValuePUT) Request ¶
func (request AttributeAllowEmptyValuePUT) Request(v *voki.Voki) (response apiresponse.AttributeAllowEmptyValuePUT, err error)
type AttributeAssetsGET ¶
type AttributeAssetsGET struct { Params struct { AttributeID int64 } }
func NewAttributeAssetsGET ¶
func NewAttributeAssetsGET(attributeID int64) (request AttributeAssetsGET, err error)
func (AttributeAssetsGET) Complete ¶
func (request AttributeAssetsGET) Complete() bool
func (AttributeAssetsGET) Request ¶
func (request AttributeAssetsGET) Request(v *voki.Voki) (response apiresponse.AttributeAssetsGET, err error)
type AttributeDELETE ¶
type AttributeDELETE struct { Params struct { AttributeID int64 } }
func NewAttributeDELETE ¶
func NewAttributeDELETE(attributeID int64) (request AttributeDELETE, err error)
func (AttributeDELETE) Complete ¶
func (request AttributeDELETE) Complete() bool
func (AttributeDELETE) Request ¶
func (request AttributeDELETE) Request(v *voki.Voki) (response apiresponse.AttributeDELETE, err error)
type AttributeGET ¶
type AttributeGET struct { Params struct { AttributeID int64 } }
func NewAttributeGET ¶
func NewAttributeGET(attributeID int64) (request AttributeGET, err error)
func (AttributeGET) Complete ¶
func (request AttributeGET) Complete() bool
func (AttributeGET) Request ¶
func (request AttributeGET) Request(v *voki.Voki) (response apiresponse.AttributeGET, err error)
type AttributeKeyPUT ¶
func NewAttributeKeyPUT ¶
func NewAttributeKeyPUT(attributeID int64, key string) (request AttributeKeyPUT, err error)
func (AttributeKeyPUT) Complete ¶
func (request AttributeKeyPUT) Complete() bool
func (AttributeKeyPUT) Request ¶
func (request AttributeKeyPUT) Request(v *voki.Voki) (response apiresponse.AttributeKeyPUT, err error)
type AttributeRestorePOST ¶
type AttributeRestorePOST struct { Params struct { AttributeID int64 } }
func NewAttributeRestorePOST ¶
func NewAttributeRestorePOST(attributeID int64) (request AttributeRestorePOST, err error)
func (AttributeRestorePOST) Complete ¶
func (request AttributeRestorePOST) Complete() bool
func (AttributeRestorePOST) Request ¶
func (request AttributeRestorePOST) Request(v *voki.Voki) (response apiresponse.AttributeRestorePOST, err error)
type AttributesDELETE ¶
type AttributesDELETE struct { Data struct { AttributeIDs []int64 } }
func NewAttributesDELETE ¶
func NewAttributesDELETE(attributeIDs []int64) (request AttributesDELETE, err error)
func (AttributesDELETE) Complete ¶
func (request AttributesDELETE) Complete() bool
func (AttributesDELETE) Request ¶
func (request AttributesDELETE) Request(v *voki.Voki) (response apiresponse.AttributesDELETE, err error)
type AttributesGET ¶
type AttributesGET struct{}
func NewAttributesGET ¶
func NewAttributesGET() (request AttributesGET, err error)
func (AttributesGET) Complete ¶
func (request AttributesGET) Complete() bool
func (AttributesGET) Request ¶
func (request AttributesGET) Request(v *voki.Voki) (response apiresponse.AttributesGET, err error)
type AttributesPOST ¶
func NewAttributesPOST ¶
func NewAttributesPOST(attributes []models.Attribute) (request AttributesPOST, err error)
func (AttributesPOST) Complete ¶
func (request AttributesPOST) Complete() bool
func (AttributesPOST) Request ¶
func (request AttributesPOST) Request(v *voki.Voki) (response apiresponse.AttributesPOST, err error)
type HealthGET ¶
type HealthGET struct{}
func NewHealthGET ¶
func NewHealthGET() (request HealthGET)
Click to show internal directories.
Click to hide internal directories.