Documentation ¶
Overview ¶
Package apiresponse defines haul's API response types
Index ¶
- type AssetAttributeDELETE
- type AssetAttributeDetailedGET
- type AssetAttributeGET
- 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 AttributesGET
- type AttributesPOST
- type EventsGET
- type HealthGET
- type Response
- type SeedPOST
- type TabbyPrinter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetAttributeDELETE ¶ added in v0.63.0
type AssetAttributeDELETE struct { Response Data struct { AssetAttribute models.AssetAttribute } }
AssetAttributeDELETE is the response type for `DELETE /v1/asset-attributes/{asset_attribute_id}`
func (AssetAttributeDELETE) TabbyPrint ¶ added in v0.63.0
func (r AssetAttributeDELETE) TabbyPrint() error
type AssetAttributeDetailedGET ¶ added in v0.66.0
type AssetAttributeDetailedGET struct { Response Data struct { AssetAttributeDetailed models.AssetAttributeDetailed } }
AssetAttributeDetailedGET is the response type for `GET /v1/asset-attributes/{asset_attribute_id}/detailed`
func (AssetAttributeDetailedGET) TabbyPrint ¶ added in v0.66.0
func (r AssetAttributeDetailedGET) TabbyPrint() error
type AssetAttributeGET ¶ added in v0.64.0
type AssetAttributeGET struct { Response Data struct { AssetAttribute models.AssetAttribute } }
AssetAttributeGET is the response type for `GET /v1/asset-attributes/{asset_attribute_id}`
func (AssetAttributeGET) TabbyPrint ¶ added in v0.64.0
func (r AssetAttributeGET) TabbyPrint() error
type AssetAttributeValuePUT ¶ added in v0.65.0
type AssetAttributeValuePUT struct { Response Data struct { AssetAttribute models.AssetAttribute } }
AssetAttributeValuePUT is the response type for `PUT /v1/asset-attributes/{asset_attribute_id}/value`
func (AssetAttributeValuePUT) TabbyPrint ¶ added in v0.65.0
func (r AssetAttributeValuePUT) TabbyPrint() error
type AssetAttributesGET ¶ added in v0.63.0
type AssetAttributesGET struct { Response Data struct { Asset models.Asset KeyValues []models.KeyValue } }
AssetAttributesGET is the response type for `GET /v1/assets/{asset_id}/attributes`
func (AssetAttributesGET) TabbyPrint ¶ added in v0.63.0
func (r AssetAttributesGET) TabbyPrint() error
type AssetDELETE ¶ added in v0.63.0
AssetDELETE is the response type for `DELETE /v1/assets/{asset_id}`
func (AssetDELETE) TabbyPrint ¶ added in v0.63.0
func (r AssetDELETE) TabbyPrint() error
type AssetDescriptionGET ¶ added in v0.63.0
AssetDescriptionGET is the response type for `GET /v1/assets/{asset_id}/description`
func (AssetDescriptionGET) TabbyPrint ¶ added in v0.63.0
func (r AssetDescriptionGET) TabbyPrint() error
type AssetDescriptionPUT ¶ added in v0.63.0
AssetDescriptionPUT is the response type for `PUT /v1/assets/{asset_id}/description`
func (AssetDescriptionPUT) TabbyPrint ¶ added in v0.63.0
func (r AssetDescriptionPUT) TabbyPrint() error
type AssetGET ¶ added in v0.63.0
AssetGET is the response type for `GET /v1/assets/{asset_id}`
func (AssetGET) TabbyPrint ¶ added in v0.63.0
type AssetRestorePOST ¶ added in v0.63.0
AssetRestorePOST is the response type for `POST /v1/assets/{asset_id}/restore`
func (AssetRestorePOST) TabbyPrint ¶ added in v0.63.0
func (r AssetRestorePOST) TabbyPrint() error
type AssetStatusDELETE ¶ added in v0.63.0
AssetStatusDELETE is the response type for `DELETE /v1/assets/{asset_id}/status`
func (AssetStatusDELETE) TabbyPrint ¶ added in v0.63.0
func (r AssetStatusDELETE) TabbyPrint() error
type AssetStatusGET ¶ added in v0.63.0
AssetStatusGET is the response type for `GET /v1/assets/{asset_id}/status`
func (AssetStatusGET) TabbyPrint ¶ added in v0.63.0
func (r AssetStatusGET) TabbyPrint() error
type AssetStatusPUT ¶ added in v0.63.0
AssetStatusPUT is the response type for `PUT /v1/assets/{asset_id}/status`
func (AssetStatusPUT) TabbyPrint ¶ added in v0.63.0
func (r AssetStatusPUT) TabbyPrint() error
type AssetTargetDELETE ¶ added in v0.63.0
AssetTargetDELETE is the response type for `DELETE /v1/assets/{asset_id}/target`
func (AssetTargetDELETE) TabbyPrint ¶ added in v0.63.0
func (r AssetTargetDELETE) TabbyPrint() error
type AssetTargetGET ¶ added in v0.63.0
AssetTargetGET is the response type for `GET /v1/assets/{asset_id}/target`
func (AssetTargetGET) TabbyPrint ¶ added in v0.63.0
func (r AssetTargetGET) TabbyPrint() error
type AssetTargetPUT ¶ added in v0.63.0
AssetTargetPUT is the response type for `PUT /v1/assets/{asset_id}/target`
func (AssetTargetPUT) TabbyPrint ¶ added in v0.63.0
func (r AssetTargetPUT) TabbyPrint() error
type AssetsAllGET ¶ added in v0.60.0
AssetsAllGET is the response type for `GET /v1/assets/all`
func (AssetsAllGET) TabbyPrint ¶ added in v0.60.0
func (r AssetsAllGET) TabbyPrint() error
type AssetsAttributesDELETE ¶ added in v0.70.0
AssetsAttributesDELETE is the response type for `DELETE /v1/asset-attributes`
func (AssetsAttributesDELETE) TabbyPrint ¶ added in v0.70.0
func (r AssetsAttributesDELETE) TabbyPrint() error
type AssetsAttributesGET ¶ added in v0.63.0
type AssetsAttributesGET struct { Response Data struct { AssetAttributes []models.AssetAttribute } }
AssetsAttributesGET is the response type for `GET /v1/asset-attributes`
func (AssetsAttributesGET) TabbyPrint ¶ added in v0.63.0
func (r AssetsAttributesGET) TabbyPrint() error
type AssetsAttributesPOST ¶ added in v0.63.1
type AssetsAttributesPOST struct { Response Data struct { AssetAttributes []models.AssetAttribute } }
AssetsAttributesPOST is the response type for `POST /v1/asset-attributes`
func (AssetsAttributesPOST) TabbyPrint ¶ added in v0.63.1
func (r AssetsAttributesPOST) TabbyPrint() error
type AssetsDELETE ¶ added in v0.63.0
AssetsDELETE is the response type for `DELETE /v1/assets`
func (AssetsDELETE) TabbyPrint ¶ added in v0.63.0
func (r AssetsDELETE) TabbyPrint() error
type AssetsDetailedGET ¶ added in v0.74.0
type AssetsDetailedGET struct { Response Data struct { AssetsDetailed []models.AssetDetailed } }
AssetsDetailedGET is the response type for `GET /v1/assets/detailed`
func (AssetsDetailedGET) TabbyPrint ¶ added in v0.74.0
func (r AssetsDetailedGET) TabbyPrint() error
type AssetsGET ¶ added in v0.63.0
AssetsGET is the response type for `GET /v1/assets`
func (AssetsGET) TabbyPrint ¶ added in v0.63.0
type AssetsPOST ¶ added in v0.63.0
AssetsPOST is the response type for `POST /v1/assets`
func (AssetsPOST) TabbyPrint ¶ added in v0.63.0
func (r AssetsPOST) TabbyPrint() error
type AssetsRestorePOST ¶ added in v0.67.0
AssetsRestorePOST is the response type for `POST /v1/assets/restore`
func (AssetsRestorePOST) TabbyPrint ¶ added in v0.67.0
func (r AssetsRestorePOST) TabbyPrint() error
type AttributeAllowEmptyValuePUT ¶ added in v0.75.0
type AttributeAllowEmptyValuePUT struct {
AttributeGET
}
AttributeAllowEmptyValuePUT
type AttributeAssetsGET ¶ added in v0.63.0
type AttributeAssetsGET struct { Response Data struct { AssetsWithAttributes []models.AssetWithAttributes } }
AttributeAssetsGET is the response type for `GET /v1/attributes/{attribute_id}/assets`
func (AttributeAssetsGET) TabbyPrint ¶ added in v0.63.0
func (r AttributeAssetsGET) TabbyPrint() error
type AttributeDELETE ¶ added in v0.63.0
AttributeDELETE is the response type for `DELETE /v1/attributes/{attribute_id}`
func (AttributeDELETE) TabbyPrint ¶ added in v0.63.0
func (r AttributeDELETE) TabbyPrint() error
type AttributeGET ¶ added in v0.63.0
AttributeGET is the response type for `GET /v1/attributes/{attribute_id}`
func (AttributeGET) TabbyPrint ¶ added in v0.63.0
func (r AttributeGET) TabbyPrint() error
type AttributeKeyPUT ¶ added in v0.75.0
type AttributeKeyPUT struct {
AttributeGET
}
AttributeKeyPUT
type AttributeRestorePOST ¶ added in v0.63.0
AttributeRestorePOST is the response type for `POST /v1/attributes/{attribute_id}/restore`
func (AttributeRestorePOST) TabbyPrint ¶ added in v0.63.0
func (r AttributeRestorePOST) TabbyPrint() error
type AttributesGET ¶ added in v0.63.0
AttributesGET is the response type for `GET /v1/attributes`
func (AttributesGET) TabbyPrint ¶ added in v0.63.0
func (r AttributesGET) TabbyPrint() error
type AttributesPOST ¶ added in v0.63.0
AttributesPOST is the response type for `POST /v1/attributes`
func (AttributesPOST) TabbyPrint ¶ added in v0.63.0
func (r AttributesPOST) TabbyPrint() error
type EventsGET ¶ added in v0.62.0
EventsGET is the response type for `GET /v1/events`
func (EventsGET) TabbyPrint ¶ added in v0.62.0
type HealthGET ¶
HealthGET is the response type for `GET /v1/health`