client

package
v0.40.3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCreatePayload

func BuildCreatePayload(orderCreateBody string, orderCreateJWT string) (*order.CreatePayload, error)

BuildCreatePayload builds the payload for the order create endpoint from CLI flags.

func BuildListPayload

func BuildListPayload(orderListLimit string, orderListPage string, orderListFilter string, orderListOrderBy string, orderListOrderDesc string, orderListAtTime string, orderListJWT string) (*order.ListPayload, error)

BuildListPayload builds the payload for the order list endpoint from CLI flags.

func BuildLogsPayload

func BuildLogsPayload(orderLogsOrderID string, orderLogsFrom string, orderLogsTo string, orderLogsJWT string) (*order.LogsPayload, error)

BuildLogsPayload builds the payload for the order logs endpoint from CLI flags.

func BuildMetadataPayload added in v0.35.2

func BuildMetadataPayload(orderMetadataOrderID string, orderMetadataOrderBy string, orderMetadataOrderDesc string, orderMetadataLimit string, orderMetadataPage string, orderMetadataJWT string) (*order.MetadataPayload, error)

BuildMetadataPayload builds the payload for the order metadata endpoint from CLI flags.

func BuildProductsPayload added in v0.35.1

func BuildProductsPayload(orderProductsOrderID string, orderProductsOrderBy string, orderProductsOrderDesc string, orderProductsLimit string, orderProductsPage string, orderProductsJWT string) (*order.ProductsPayload, error)

BuildProductsPayload builds the payload for the order products endpoint from CLI flags.

func BuildReadPayload

func BuildReadPayload(orderReadID string, orderReadJWT string) (*order.ReadPayload, error)

BuildReadPayload builds the payload for the order read endpoint from CLI flags.

func BuildTopPayload

func BuildTopPayload(orderTopOrderID string, orderTopJWT string) (*order.TopPayload, error)

BuildTopPayload builds the payload for the order top endpoint from CLI flags.

func CreateOrderPath

func CreateOrderPath() string

CreateOrderPath returns the URL path to the order service create HTTP endpoint.

func DecodeCreateResponse

func DecodeCreateResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

DecodeCreateResponse returns a decoder for responses returned by the order create endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeCreateResponse may return the following errors:

  • "bad-request" (type *order.BadRequestT): http.StatusBadRequest
  • "invalid-parameter" (type *order.InvalidParameterT): http.StatusUnprocessableEntity
  • "invalid-scopes" (type *order.InvalidScopesT): http.StatusForbidden
  • "not-implemented" (type *order.NotImplementedT): http.StatusNotImplemented
  • "not-found" (type *order.ResourceNotFoundT): http.StatusNotFound
  • "not-available" (type *order.ServiceNotAvailableT): http.StatusServiceUnavailable
  • "not-authorized" (type *order.UnauthorizedT): http.StatusUnauthorized
  • error: internal error

func DecodeListResponse

func DecodeListResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

DecodeListResponse returns a decoder for responses returned by the order list endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListResponse may return the following errors:

  • "bad-request" (type *order.BadRequestT): http.StatusBadRequest
  • "invalid-parameter" (type *order.InvalidParameterT): http.StatusUnprocessableEntity
  • "invalid-scopes" (type *order.InvalidScopesT): http.StatusForbidden
  • "not-implemented" (type *order.NotImplementedT): http.StatusNotImplemented
  • "not-available" (type *order.ServiceNotAvailableT): http.StatusServiceUnavailable
  • "not-authorized" (type *order.UnauthorizedT): http.StatusUnauthorized
  • error: internal error

func DecodeLogsResponse

func DecodeLogsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

DecodeLogsResponse returns a decoder for responses returned by the order logs endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeLogsResponse may return the following errors:

  • "bad-request" (type *order.BadRequestT): http.StatusBadRequest
  • "invalid-parameter" (type *order.InvalidParameterT): http.StatusUnprocessableEntity
  • "invalid-scopes" (type *order.InvalidScopesT): http.StatusForbidden
  • "not-implemented" (type *order.NotImplementedT): http.StatusNotImplemented
  • "not-found" (type *order.ResourceNotFoundT): http.StatusNotFound
  • "not-available" (type *order.ServiceNotAvailableT): http.StatusServiceUnavailable
  • "not-authorized" (type *order.UnauthorizedT): http.StatusUnauthorized
  • error: internal error

func DecodeMetadataResponse added in v0.35.2

func DecodeMetadataResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

DecodeMetadataResponse returns a decoder for responses returned by the order metadata endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeMetadataResponse may return the following errors:

  • "bad-request" (type *order.BadRequestT): http.StatusBadRequest
  • "invalid-parameter" (type *order.InvalidParameterT): http.StatusUnprocessableEntity
  • "invalid-scopes" (type *order.InvalidScopesT): http.StatusForbidden
  • "not-implemented" (type *order.NotImplementedT): http.StatusNotImplemented
  • "not-found" (type *order.ResourceNotFoundT): http.StatusNotFound
  • "not-available" (type *order.ServiceNotAvailableT): http.StatusServiceUnavailable
  • "not-authorized" (type *order.UnauthorizedT): http.StatusUnauthorized
  • error: internal error

func DecodeProductsResponse added in v0.35.1

func DecodeProductsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

DecodeProductsResponse returns a decoder for responses returned by the order products endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeProductsResponse may return the following errors:

  • "bad-request" (type *order.BadRequestT): http.StatusBadRequest
  • "invalid-parameter" (type *order.InvalidParameterT): http.StatusUnprocessableEntity
  • "invalid-scopes" (type *order.InvalidScopesT): http.StatusForbidden
  • "not-implemented" (type *order.NotImplementedT): http.StatusNotImplemented
  • "not-found" (type *order.ResourceNotFoundT): http.StatusNotFound
  • "not-available" (type *order.ServiceNotAvailableT): http.StatusServiceUnavailable
  • "not-authorized" (type *order.UnauthorizedT): http.StatusUnauthorized
  • error: internal error

func DecodeReadResponse

func DecodeReadResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

DecodeReadResponse returns a decoder for responses returned by the order read endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeReadResponse may return the following errors:

  • "bad-request" (type *order.BadRequestT): http.StatusBadRequest
  • "invalid-scopes" (type *order.InvalidScopesT): http.StatusForbidden
  • "not-implemented" (type *order.NotImplementedT): http.StatusNotImplemented
  • "not-found" (type *order.ResourceNotFoundT): http.StatusNotFound
  • "not-available" (type *order.ServiceNotAvailableT): http.StatusServiceUnavailable
  • "not-authorized" (type *order.UnauthorizedT): http.StatusUnauthorized
  • error: internal error

func DecodeTopResponse

func DecodeTopResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

DecodeTopResponse returns a decoder for responses returned by the order top endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeTopResponse may return the following errors:

  • "bad-request" (type *order.BadRequestT): http.StatusBadRequest
  • "invalid-parameter" (type *order.InvalidParameterT): http.StatusUnprocessableEntity
  • "invalid-scopes" (type *order.InvalidScopesT): http.StatusForbidden
  • "not-implemented" (type *order.NotImplementedT): http.StatusNotImplemented
  • "not-found" (type *order.ResourceNotFoundT): http.StatusNotFound
  • "not-available" (type *order.ServiceNotAvailableT): http.StatusServiceUnavailable
  • "not-authorized" (type *order.UnauthorizedT): http.StatusUnauthorized
  • error: internal error

func EncodeCreateRequest

func EncodeCreateRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeCreateRequest returns an encoder for requests sent to the order create server.

func EncodeListRequest

func EncodeListRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeListRequest returns an encoder for requests sent to the order list server.

func EncodeLogsRequest

func EncodeLogsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeLogsRequest returns an encoder for requests sent to the order logs server.

func EncodeMetadataRequest added in v0.35.2

func EncodeMetadataRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeMetadataRequest returns an encoder for requests sent to the order metadata server.

func EncodeProductsRequest added in v0.35.1

func EncodeProductsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeProductsRequest returns an encoder for requests sent to the order products server.

func EncodeReadRequest

func EncodeReadRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeReadRequest returns an encoder for requests sent to the order read server.

func EncodeTopRequest

func EncodeTopRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeTopRequest returns an encoder for requests sent to the order top server.

func ListOrderPath

func ListOrderPath() string

ListOrderPath returns the URL path to the order service list HTTP endpoint.

func LogsOrderPath

func LogsOrderPath(orderID string) string

LogsOrderPath returns the URL path to the order service logs HTTP endpoint.

func MetadataOrderPath added in v0.35.2

func MetadataOrderPath(orderID string) string

MetadataOrderPath returns the URL path to the order service metadata HTTP endpoint.

func NewCreateBadRequest

func NewCreateBadRequest(body *CreateBadRequestResponseBody) *order.BadRequestT

NewCreateBadRequest builds a order service create endpoint bad-request error.

func NewCreateInvalidParameter

func NewCreateInvalidParameter(body *CreateInvalidParameterResponseBody) *order.InvalidParameterT

NewCreateInvalidParameter builds a order service create endpoint invalid-parameter error.

func NewCreateInvalidScopes

func NewCreateInvalidScopes(body *CreateInvalidScopesResponseBody) *order.InvalidScopesT

NewCreateInvalidScopes builds a order service create endpoint invalid-scopes error.

func NewCreateNotAuthorized

func NewCreateNotAuthorized() *order.UnauthorizedT

NewCreateNotAuthorized builds a order service create endpoint not-authorized error.

func NewCreateNotAvailable

func NewCreateNotAvailable() *order.ServiceNotAvailableT

NewCreateNotAvailable builds a order service create endpoint not-available error.

func NewCreateNotFound

func NewCreateNotFound(body *CreateNotFoundResponseBody) *order.ResourceNotFoundT

NewCreateNotFound builds a order service create endpoint not-found error.

func NewCreateNotImplemented

func NewCreateNotImplemented(body *CreateNotImplementedResponseBody) *order.NotImplementedT

NewCreateNotImplemented builds a order service create endpoint not-implemented error.

func NewCreateOrderStatusRTOK

func NewCreateOrderStatusRTOK(body *CreateResponseBody) *order.OrderStatusRT

NewCreateOrderStatusRTOK builds a "order" service "create" endpoint result from a HTTP "OK" response.

func NewListBadRequest

func NewListBadRequest(body *ListBadRequestResponseBody) *order.BadRequestT

NewListBadRequest builds a order service list endpoint bad-request error.

func NewListInvalidParameter

func NewListInvalidParameter(body *ListInvalidParameterResponseBody) *order.InvalidParameterT

NewListInvalidParameter builds a order service list endpoint invalid-parameter error.

func NewListInvalidScopes

func NewListInvalidScopes(body *ListInvalidScopesResponseBody) *order.InvalidScopesT

NewListInvalidScopes builds a order service list endpoint invalid-scopes error.

func NewListNotAuthorized

func NewListNotAuthorized() *order.UnauthorizedT

NewListNotAuthorized builds a order service list endpoint not-authorized error.

func NewListNotAvailable added in v0.39.0

func NewListNotAvailable() *order.ServiceNotAvailableT

NewListNotAvailable builds a order service list endpoint not-available error.

func NewListNotImplemented

func NewListNotImplemented(body *ListNotImplementedResponseBody) *order.NotImplementedT

NewListNotImplemented builds a order service list endpoint not-implemented error.

func NewListOrderListRTOK

func NewListOrderListRTOK(body *ListResponseBody) *orderviews.OrderListRTView

NewListOrderListRTOK builds a "order" service "list" endpoint result from a HTTP "OK" response.

func NewLogsBadRequest

func NewLogsBadRequest(body *LogsBadRequestResponseBody) *order.BadRequestT

NewLogsBadRequest builds a order service logs endpoint bad-request error.

func NewLogsInvalidParameter

func NewLogsInvalidParameter(body *LogsInvalidParameterResponseBody) *order.InvalidParameterT

NewLogsInvalidParameter builds a order service logs endpoint invalid-parameter error.

func NewLogsInvalidScopes

func NewLogsInvalidScopes(body *LogsInvalidScopesResponseBody) *order.InvalidScopesT

NewLogsInvalidScopes builds a order service logs endpoint invalid-scopes error.

func NewLogsNotAuthorized

func NewLogsNotAuthorized() *order.UnauthorizedT

NewLogsNotAuthorized builds a order service logs endpoint not-authorized error.

func NewLogsNotAvailable added in v0.39.0

func NewLogsNotAvailable() *order.ServiceNotAvailableT

NewLogsNotAvailable builds a order service logs endpoint not-available error.

func NewLogsNotFound

func NewLogsNotFound(body *LogsNotFoundResponseBody) *order.ResourceNotFoundT

NewLogsNotFound builds a order service logs endpoint not-found error.

func NewLogsNotImplemented

func NewLogsNotImplemented(body *LogsNotImplementedResponseBody) *order.NotImplementedT

NewLogsNotImplemented builds a order service logs endpoint not-implemented error.

func NewMetadataBadRequest added in v0.35.2

func NewMetadataBadRequest(body *MetadataBadRequestResponseBody) *order.BadRequestT

NewMetadataBadRequest builds a order service metadata endpoint bad-request error.

func NewMetadataInvalidParameter added in v0.35.2

func NewMetadataInvalidParameter(body *MetadataInvalidParameterResponseBody) *order.InvalidParameterT

NewMetadataInvalidParameter builds a order service metadata endpoint invalid-parameter error.

func NewMetadataInvalidScopes added in v0.35.2

func NewMetadataInvalidScopes(body *MetadataInvalidScopesResponseBody) *order.InvalidScopesT

NewMetadataInvalidScopes builds a order service metadata endpoint invalid-scopes error.

func NewMetadataNotAuthorized added in v0.35.2

func NewMetadataNotAuthorized() *order.UnauthorizedT

NewMetadataNotAuthorized builds a order service metadata endpoint not-authorized error.

func NewMetadataNotAvailable added in v0.39.0

func NewMetadataNotAvailable() *order.ServiceNotAvailableT

NewMetadataNotAvailable builds a order service metadata endpoint not-available error.

func NewMetadataNotFound added in v0.35.2

func NewMetadataNotFound(body *MetadataNotFoundResponseBody) *order.ResourceNotFoundT

NewMetadataNotFound builds a order service metadata endpoint not-found error.

func NewMetadataNotImplemented added in v0.35.2

func NewMetadataNotImplemented(body *MetadataNotImplementedResponseBody) *order.NotImplementedT

NewMetadataNotImplemented builds a order service metadata endpoint not-implemented error.

func NewMetadataPartialMetaListTOK added in v0.35.2

func NewMetadataPartialMetaListTOK(body *MetadataResponseBody) *order.PartialMetaListT

NewMetadataPartialMetaListTOK builds a "order" service "metadata" endpoint result from a HTTP "OK" response.

func NewProductsBadRequest added in v0.35.1

func NewProductsBadRequest(body *ProductsBadRequestResponseBody) *order.BadRequestT

NewProductsBadRequest builds a order service products endpoint bad-request error.

func NewProductsInvalidParameter added in v0.35.1

func NewProductsInvalidParameter(body *ProductsInvalidParameterResponseBody) *order.InvalidParameterT

NewProductsInvalidParameter builds a order service products endpoint invalid-parameter error.

func NewProductsInvalidScopes added in v0.35.1

func NewProductsInvalidScopes(body *ProductsInvalidScopesResponseBody) *order.InvalidScopesT

NewProductsInvalidScopes builds a order service products endpoint invalid-scopes error.

func NewProductsNotAuthorized added in v0.35.1

func NewProductsNotAuthorized() *order.UnauthorizedT

NewProductsNotAuthorized builds a order service products endpoint not-authorized error.

func NewProductsNotAvailable added in v0.39.0

func NewProductsNotAvailable() *order.ServiceNotAvailableT

NewProductsNotAvailable builds a order service products endpoint not-available error.

func NewProductsNotFound added in v0.35.1

func NewProductsNotFound(body *ProductsNotFoundResponseBody) *order.ResourceNotFoundT

NewProductsNotFound builds a order service products endpoint not-found error.

func NewProductsNotImplemented added in v0.35.1

func NewProductsNotImplemented(body *ProductsNotImplementedResponseBody) *order.NotImplementedT

NewProductsNotImplemented builds a order service products endpoint not-implemented error.

func NewProductsPartialProductListTOK added in v0.35.1

func NewProductsPartialProductListTOK(body *ProductsResponseBody) *order.PartialProductListT

NewProductsPartialProductListTOK builds a "order" service "products" endpoint result from a HTTP "OK" response.

func NewReadBadRequest

func NewReadBadRequest(body *ReadBadRequestResponseBody) *order.BadRequestT

NewReadBadRequest builds a order service read endpoint bad-request error.

func NewReadInvalidScopes

func NewReadInvalidScopes(body *ReadInvalidScopesResponseBody) *order.InvalidScopesT

NewReadInvalidScopes builds a order service read endpoint invalid-scopes error.

func NewReadNotAuthorized

func NewReadNotAuthorized() *order.UnauthorizedT

NewReadNotAuthorized builds a order service read endpoint not-authorized error.

func NewReadNotAvailable added in v0.39.0

func NewReadNotAvailable() *order.ServiceNotAvailableT

NewReadNotAvailable builds a order service read endpoint not-available error.

func NewReadNotFound

func NewReadNotFound(body *ReadNotFoundResponseBody) *order.ResourceNotFoundT

NewReadNotFound builds a order service read endpoint not-found error.

func NewReadNotImplemented

func NewReadNotImplemented(body *ReadNotImplementedResponseBody) *order.NotImplementedT

NewReadNotImplemented builds a order service read endpoint not-implemented error.

func NewReadOrderStatusRTOK

func NewReadOrderStatusRTOK(body *ReadResponseBody) *order.OrderStatusRT

NewReadOrderStatusRTOK builds a "order" service "read" endpoint result from a HTTP "OK" response.

func NewTopBadRequest

func NewTopBadRequest(body *TopBadRequestResponseBody) *order.BadRequestT

NewTopBadRequest builds a order service top endpoint bad-request error.

func NewTopInvalidParameter

func NewTopInvalidParameter(body *TopInvalidParameterResponseBody) *order.InvalidParameterT

NewTopInvalidParameter builds a order service top endpoint invalid-parameter error.

func NewTopInvalidScopes

func NewTopInvalidScopes(body *TopInvalidScopesResponseBody) *order.InvalidScopesT

NewTopInvalidScopes builds a order service top endpoint invalid-scopes error.

func NewTopNotAuthorized

func NewTopNotAuthorized() *order.UnauthorizedT

NewTopNotAuthorized builds a order service top endpoint not-authorized error.

func NewTopNotAvailable added in v0.39.0

func NewTopNotAvailable() *order.ServiceNotAvailableT

NewTopNotAvailable builds a order service top endpoint not-available error.

func NewTopNotFound

func NewTopNotFound(body *TopNotFoundResponseBody) *order.ResourceNotFoundT

NewTopNotFound builds a order service top endpoint not-found error.

func NewTopNotImplemented

func NewTopNotImplemented(body *TopNotImplementedResponseBody) *order.NotImplementedT

NewTopNotImplemented builds a order service top endpoint not-implemented error.

func NewTopOrderTopResultItemCollectionOK

func NewTopOrderTopResultItemCollectionOK(body TopResponseBody) orderviews.OrderTopResultItemCollectionView

NewTopOrderTopResultItemCollectionOK builds a "order" service "top" endpoint result from a HTTP "OK" response.

func ProductsOrderPath added in v0.35.1

func ProductsOrderPath(orderID string) string

ProductsOrderPath returns the URL path to the order service products HTTP endpoint.

func ReadOrderPath

func ReadOrderPath(id string) string

ReadOrderPath returns the URL path to the order service read HTTP endpoint.

func TopOrderPath

func TopOrderPath(orderID string) string

TopOrderPath returns the URL path to the order service top HTTP endpoint.

func ValidateCreateBadRequestResponseBody

func ValidateCreateBadRequestResponseBody(body *CreateBadRequestResponseBody) (err error)

ValidateCreateBadRequestResponseBody runs the validations defined on create_bad-request_response_body

func ValidateCreateInvalidParameterResponseBody

func ValidateCreateInvalidParameterResponseBody(body *CreateInvalidParameterResponseBody) (err error)

ValidateCreateInvalidParameterResponseBody runs the validations defined on create_invalid-parameter_response_body

func ValidateCreateInvalidScopesResponseBody

func ValidateCreateInvalidScopesResponseBody(body *CreateInvalidScopesResponseBody) (err error)

ValidateCreateInvalidScopesResponseBody runs the validations defined on create_invalid-scopes_response_body

func ValidateCreateNotFoundResponseBody

func ValidateCreateNotFoundResponseBody(body *CreateNotFoundResponseBody) (err error)

ValidateCreateNotFoundResponseBody runs the validations defined on create_not-found_response_body

func ValidateCreateNotImplementedResponseBody

func ValidateCreateNotImplementedResponseBody(body *CreateNotImplementedResponseBody) (err error)

ValidateCreateNotImplementedResponseBody runs the validations defined on create_not-implemented_response_body

func ValidateCreateResponseBody added in v0.30.0

func ValidateCreateResponseBody(body *CreateResponseBody) (err error)

ValidateCreateResponseBody runs the validations defined on CreateResponseBody

func ValidateLinkTResponseBody added in v0.30.0

func ValidateLinkTResponseBody(body *LinkTResponseBody) (err error)

ValidateLinkTResponseBody runs the validations defined on LinkTResponseBody

func ValidateListBadRequestResponseBody

func ValidateListBadRequestResponseBody(body *ListBadRequestResponseBody) (err error)

ValidateListBadRequestResponseBody runs the validations defined on list_bad-request_response_body

func ValidateListInvalidParameterResponseBody

func ValidateListInvalidParameterResponseBody(body *ListInvalidParameterResponseBody) (err error)

ValidateListInvalidParameterResponseBody runs the validations defined on list_invalid-parameter_response_body

func ValidateListInvalidScopesResponseBody

func ValidateListInvalidScopesResponseBody(body *ListInvalidScopesResponseBody) (err error)

ValidateListInvalidScopesResponseBody runs the validations defined on list_invalid-scopes_response_body

func ValidateListNotImplementedResponseBody

func ValidateListNotImplementedResponseBody(body *ListNotImplementedResponseBody) (err error)

ValidateListNotImplementedResponseBody runs the validations defined on list_not-implemented_response_body

func ValidateLogsBadRequestResponseBody

func ValidateLogsBadRequestResponseBody(body *LogsBadRequestResponseBody) (err error)

ValidateLogsBadRequestResponseBody runs the validations defined on logs_bad-request_response_body

func ValidateLogsInvalidParameterResponseBody

func ValidateLogsInvalidParameterResponseBody(body *LogsInvalidParameterResponseBody) (err error)

ValidateLogsInvalidParameterResponseBody runs the validations defined on logs_invalid-parameter_response_body

func ValidateLogsInvalidScopesResponseBody

func ValidateLogsInvalidScopesResponseBody(body *LogsInvalidScopesResponseBody) (err error)

ValidateLogsInvalidScopesResponseBody runs the validations defined on logs_invalid-scopes_response_body

func ValidateLogsNotFoundResponseBody

func ValidateLogsNotFoundResponseBody(body *LogsNotFoundResponseBody) (err error)

ValidateLogsNotFoundResponseBody runs the validations defined on logs_not-found_response_body

func ValidateLogsNotImplementedResponseBody

func ValidateLogsNotImplementedResponseBody(body *LogsNotImplementedResponseBody) (err error)

ValidateLogsNotImplementedResponseBody runs the validations defined on logs_not-implemented_response_body

func ValidateMetadataBadRequestResponseBody added in v0.35.2

func ValidateMetadataBadRequestResponseBody(body *MetadataBadRequestResponseBody) (err error)

ValidateMetadataBadRequestResponseBody runs the validations defined on metadata_bad-request_response_body

func ValidateMetadataInvalidParameterResponseBody added in v0.35.2

func ValidateMetadataInvalidParameterResponseBody(body *MetadataInvalidParameterResponseBody) (err error)

ValidateMetadataInvalidParameterResponseBody runs the validations defined on metadata_invalid-parameter_response_body

func ValidateMetadataInvalidScopesResponseBody added in v0.35.2

func ValidateMetadataInvalidScopesResponseBody(body *MetadataInvalidScopesResponseBody) (err error)

ValidateMetadataInvalidScopesResponseBody runs the validations defined on metadata_invalid-scopes_response_body

func ValidateMetadataNotFoundResponseBody added in v0.35.2

func ValidateMetadataNotFoundResponseBody(body *MetadataNotFoundResponseBody) (err error)

ValidateMetadataNotFoundResponseBody runs the validations defined on metadata_not-found_response_body

func ValidateMetadataNotImplementedResponseBody added in v0.35.2

func ValidateMetadataNotImplementedResponseBody(body *MetadataNotImplementedResponseBody) (err error)

ValidateMetadataNotImplementedResponseBody runs the validations defined on metadata_not-implemented_response_body

func ValidateMetadataResponseBody added in v0.35.2

func ValidateMetadataResponseBody(body *MetadataResponseBody) (err error)

ValidateMetadataResponseBody runs the validations defined on MetadataResponseBody

func ValidateOrderListItemResponseBody

func ValidateOrderListItemResponseBody(body *OrderListItemResponseBody) (err error)

ValidateOrderListItemResponseBody runs the validations defined on OrderListItemResponseBody

func ValidateOrderMetadataListItemRTResponseBody added in v0.35.2

func ValidateOrderMetadataListItemRTResponseBody(body *OrderMetadataListItemRTResponseBody) (err error)

ValidateOrderMetadataListItemRTResponseBody runs the validations defined on OrderMetadataListItemRTResponseBody

func ValidateOrderTopResultItemResponse

func ValidateOrderTopResultItemResponse(body *OrderTopResultItemResponse) (err error)

ValidateOrderTopResultItemResponse runs the validations defined on OrderTopResultItemResponse

func ValidatePartialProductListTResponseBody added in v0.30.0

func ValidatePartialProductListTResponseBody(body *PartialProductListTResponseBody) (err error)

ValidatePartialProductListTResponseBody runs the validations defined on PartialProductListTResponseBody

func ValidateProductListItemTResponseBody added in v0.30.0

func ValidateProductListItemTResponseBody(body *ProductListItemTResponseBody) (err error)

ValidateProductListItemTResponseBody runs the validations defined on ProductListItemTResponseBody

func ValidateProductsBadRequestResponseBody added in v0.35.1

func ValidateProductsBadRequestResponseBody(body *ProductsBadRequestResponseBody) (err error)

ValidateProductsBadRequestResponseBody runs the validations defined on products_bad-request_response_body

func ValidateProductsInvalidParameterResponseBody added in v0.35.1

func ValidateProductsInvalidParameterResponseBody(body *ProductsInvalidParameterResponseBody) (err error)

ValidateProductsInvalidParameterResponseBody runs the validations defined on products_invalid-parameter_response_body

func ValidateProductsInvalidScopesResponseBody added in v0.35.1

func ValidateProductsInvalidScopesResponseBody(body *ProductsInvalidScopesResponseBody) (err error)

ValidateProductsInvalidScopesResponseBody runs the validations defined on products_invalid-scopes_response_body

func ValidateProductsNotFoundResponseBody added in v0.35.1

func ValidateProductsNotFoundResponseBody(body *ProductsNotFoundResponseBody) (err error)

ValidateProductsNotFoundResponseBody runs the validations defined on products_not-found_response_body

func ValidateProductsNotImplementedResponseBody added in v0.35.1

func ValidateProductsNotImplementedResponseBody(body *ProductsNotImplementedResponseBody) (err error)

ValidateProductsNotImplementedResponseBody runs the validations defined on products_not-implemented_response_body

func ValidateProductsResponseBody added in v0.35.1

func ValidateProductsResponseBody(body *ProductsResponseBody) (err error)

ValidateProductsResponseBody runs the validations defined on ProductsResponseBody

func ValidateReadBadRequestResponseBody

func ValidateReadBadRequestResponseBody(body *ReadBadRequestResponseBody) (err error)

ValidateReadBadRequestResponseBody runs the validations defined on read_bad-request_response_body

func ValidateReadInvalidScopesResponseBody

func ValidateReadInvalidScopesResponseBody(body *ReadInvalidScopesResponseBody) (err error)

ValidateReadInvalidScopesResponseBody runs the validations defined on read_invalid-scopes_response_body

func ValidateReadNotFoundResponseBody

func ValidateReadNotFoundResponseBody(body *ReadNotFoundResponseBody) (err error)

ValidateReadNotFoundResponseBody runs the validations defined on read_not-found_response_body

func ValidateReadNotImplementedResponseBody

func ValidateReadNotImplementedResponseBody(body *ReadNotImplementedResponseBody) (err error)

ValidateReadNotImplementedResponseBody runs the validations defined on read_not-implemented_response_body

func ValidateReadResponseBody added in v0.30.0

func ValidateReadResponseBody(body *ReadResponseBody) (err error)

ValidateReadResponseBody runs the validations defined on ReadResponseBody

func ValidateTopBadRequestResponseBody

func ValidateTopBadRequestResponseBody(body *TopBadRequestResponseBody) (err error)

ValidateTopBadRequestResponseBody runs the validations defined on top_bad-request_response_body

func ValidateTopInvalidParameterResponseBody

func ValidateTopInvalidParameterResponseBody(body *TopInvalidParameterResponseBody) (err error)

ValidateTopInvalidParameterResponseBody runs the validations defined on top_invalid-parameter_response_body

func ValidateTopInvalidScopesResponseBody

func ValidateTopInvalidScopesResponseBody(body *TopInvalidScopesResponseBody) (err error)

ValidateTopInvalidScopesResponseBody runs the validations defined on top_invalid-scopes_response_body

func ValidateTopNotFoundResponseBody

func ValidateTopNotFoundResponseBody(body *TopNotFoundResponseBody) (err error)

ValidateTopNotFoundResponseBody runs the validations defined on top_not-found_response_body

func ValidateTopNotImplementedResponseBody

func ValidateTopNotImplementedResponseBody(body *TopNotImplementedResponseBody) (err error)

ValidateTopNotImplementedResponseBody runs the validations defined on top_not-implemented_response_body

Types

type Client

type Client struct {
	// List Doer is the HTTP client used to make requests to the list endpoint.
	ListDoer goahttp.Doer

	// Read Doer is the HTTP client used to make requests to the read endpoint.
	ReadDoer goahttp.Doer

	// Products Doer is the HTTP client used to make requests to the products
	// endpoint.
	ProductsDoer goahttp.Doer

	// Metadata Doer is the HTTP client used to make requests to the metadata
	// endpoint.
	MetadataDoer goahttp.Doer

	// Create Doer is the HTTP client used to make requests to the create endpoint.
	CreateDoer goahttp.Doer

	// Logs Doer is the HTTP client used to make requests to the logs endpoint.
	LogsDoer goahttp.Doer

	// Top Doer is the HTTP client used to make requests to the top endpoint.
	TopDoer goahttp.Doer

	// CORS Doer is the HTTP client used to make requests to the  endpoint.
	CORSDoer goahttp.Doer

	// RestoreResponseBody controls whether the response bodies are reset after
	// decoding so they can be read again.
	RestoreResponseBody bool
	// contains filtered or unexported fields
}

Client lists the order service endpoint HTTP clients.

func NewClient

func NewClient(
	scheme string,
	host string,
	doer goahttp.Doer,
	enc func(*http.Request) goahttp.Encoder,
	dec func(*http.Response) goahttp.Decoder,
	restoreBody bool,
) *Client

NewClient instantiates HTTP clients for all the order service servers.

func (*Client) BuildCreateRequest

func (c *Client) BuildCreateRequest(ctx context.Context, v any) (*http.Request, error)

BuildCreateRequest instantiates a HTTP request object with method and path set to call the "order" service "create" endpoint

func (*Client) BuildListRequest

func (c *Client) BuildListRequest(ctx context.Context, v any) (*http.Request, error)

BuildListRequest instantiates a HTTP request object with method and path set to call the "order" service "list" endpoint

func (*Client) BuildLogsRequest

func (c *Client) BuildLogsRequest(ctx context.Context, v any) (*http.Request, error)

BuildLogsRequest instantiates a HTTP request object with method and path set to call the "order" service "logs" endpoint

func (*Client) BuildMetadataRequest added in v0.35.2

func (c *Client) BuildMetadataRequest(ctx context.Context, v any) (*http.Request, error)

BuildMetadataRequest instantiates a HTTP request object with method and path set to call the "order" service "metadata" endpoint

func (*Client) BuildProductsRequest added in v0.35.1

func (c *Client) BuildProductsRequest(ctx context.Context, v any) (*http.Request, error)

BuildProductsRequest instantiates a HTTP request object with method and path set to call the "order" service "products" endpoint

func (*Client) BuildReadRequest

func (c *Client) BuildReadRequest(ctx context.Context, v any) (*http.Request, error)

BuildReadRequest instantiates a HTTP request object with method and path set to call the "order" service "read" endpoint

func (*Client) BuildTopRequest

func (c *Client) BuildTopRequest(ctx context.Context, v any) (*http.Request, error)

BuildTopRequest instantiates a HTTP request object with method and path set to call the "order" service "top" endpoint

func (*Client) Create

func (c *Client) Create() goa.Endpoint

Create returns an endpoint that makes HTTP requests to the order service create server.

func (*Client) List

func (c *Client) List() goa.Endpoint

List returns an endpoint that makes HTTP requests to the order service list server.

func (*Client) Logs

func (c *Client) Logs() goa.Endpoint

Logs returns an endpoint that makes HTTP requests to the order service logs server.

func (*Client) Metadata added in v0.35.2

func (c *Client) Metadata() goa.Endpoint

Metadata returns an endpoint that makes HTTP requests to the order service metadata server.

func (*Client) Products added in v0.35.1

func (c *Client) Products() goa.Endpoint

Products returns an endpoint that makes HTTP requests to the order service products server.

func (*Client) Read

func (c *Client) Read() goa.Endpoint

Read returns an endpoint that makes HTTP requests to the order service read server.

func (*Client) Top

func (c *Client) Top() goa.Endpoint

Top returns an endpoint that makes HTTP requests to the order service top server.

type CreateBadRequestResponseBody

type CreateBadRequestResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

CreateBadRequestResponseBody is the type of the "order" service "create" endpoint HTTP response body for the "bad-request" error.

type CreateInvalidParameterResponseBody

type CreateInvalidParameterResponseBody struct {
	// message describing expected type or pattern.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// name of parameter.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// provided parameter value.
	Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
}

CreateInvalidParameterResponseBody is the type of the "order" service "create" endpoint HTTP response body for the "invalid-parameter" error.

type CreateInvalidScopesResponseBody

type CreateInvalidScopesResponseBody struct {
	// ID of involved resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

CreateInvalidScopesResponseBody is the type of the "order" service "create" endpoint HTTP response body for the "invalid-scopes" error.

type CreateNotFoundResponseBody

type CreateNotFoundResponseBody struct {
	// ID of missing resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

CreateNotFoundResponseBody is the type of the "order" service "create" endpoint HTTP response body for the "not-found" error.

type CreateNotImplementedResponseBody

type CreateNotImplementedResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

CreateNotImplementedResponseBody is the type of the "order" service "create" endpoint HTTP response body for the "not-implemented" error.

type CreateRequestBody

type CreateRequestBody struct {
	// Reference to service requested
	Service string `form:"service" json:"service" xml:"service"`
	// Reference to policy used
	Policy *string `form:"policy,omitempty" json:"policy,omitempty" xml:"policy,omitempty"`
	// Optional customer provided name
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// Optional customer provided tags
	Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// Service parameters
	Parameters []*ParameterT `form:"parameters" json:"parameters" xml:"parameters"`
}

CreateRequestBody is the type of the "order" service "create" endpoint HTTP request body.

func NewCreateRequestBody

func NewCreateRequestBody(p *order.CreatePayload) *CreateRequestBody

NewCreateRequestBody builds the HTTP request body from the payload of the "create" endpoint of the "order" service.

type CreateResponseBody

type CreateResponseBody struct {
	// ID
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Order status
	Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	// DateTime order was placed
	OrderedAt *string `form:"ordered-at,omitempty" json:"ordered-at,omitempty" xml:"ordered-at,omitempty"`
	// DateTime order processing started
	StartedAt *string `form:"started-at,omitempty" json:"started-at,omitempty" xml:"started-at,omitempty"`
	// DateTime order processing finished
	FinishedAt *string                          `form:"finished-at,omitempty" json:"finished-at,omitempty" xml:"finished-at,omitempty"`
	Products   *PartialProductListTResponseBody `form:"products,omitempty" json:"products,omitempty" xml:"products,omitempty"`
	// Reference to service requested
	Service *string `form:"service,omitempty" json:"service,omitempty" xml:"service,omitempty"`
	// Reference to billable account
	Account *string              `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"`
	Links   []*LinkTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`
	// Optional customer provided name
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// Optional customer provided tags
	Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// Service parameters
	Parameters []*ParameterTResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"`
}

CreateResponseBody is the type of the "order" service "create" endpoint HTTP response body.

type LinkTResponseBody added in v0.30.0

type LinkTResponseBody struct {
	// relation type
	Rel *string `form:"rel,omitempty" json:"rel,omitempty" xml:"rel,omitempty"`
	// mime type
	Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"`
	// web link
	Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"`
}

LinkTResponseBody is used to define fields on response body types.

type ListBadRequestResponseBody

type ListBadRequestResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ListBadRequestResponseBody is the type of the "order" service "list" endpoint HTTP response body for the "bad-request" error.

type ListInvalidParameterResponseBody

type ListInvalidParameterResponseBody struct {
	// message describing expected type or pattern.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// name of parameter.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// provided parameter value.
	Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
}

ListInvalidParameterResponseBody is the type of the "order" service "list" endpoint HTTP response body for the "invalid-parameter" error.

type ListInvalidScopesResponseBody

type ListInvalidScopesResponseBody struct {
	// ID of involved resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ListInvalidScopesResponseBody is the type of the "order" service "list" endpoint HTTP response body for the "invalid-scopes" error.

type ListNotImplementedResponseBody

type ListNotImplementedResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ListNotImplementedResponseBody is the type of the "order" service "list" endpoint HTTP response body for the "not-implemented" error.

type ListResponseBody

type ListResponseBody struct {
	// Orders
	Items []*OrderListItemResponseBody `form:"items,omitempty" json:"items,omitempty" xml:"items,omitempty"`
	// Time at which this list was valid
	AtTime *string              `form:"at-time,omitempty" json:"at-time,omitempty" xml:"at-time,omitempty"`
	Links  []*LinkTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`
}

ListResponseBody is the type of the "order" service "list" endpoint HTTP response body.

type LogsBadRequestResponseBody

type LogsBadRequestResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

LogsBadRequestResponseBody is the type of the "order" service "logs" endpoint HTTP response body for the "bad-request" error.

type LogsInvalidParameterResponseBody

type LogsInvalidParameterResponseBody struct {
	// message describing expected type or pattern.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// name of parameter.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// provided parameter value.
	Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
}

LogsInvalidParameterResponseBody is the type of the "order" service "logs" endpoint HTTP response body for the "invalid-parameter" error.

type LogsInvalidScopesResponseBody

type LogsInvalidScopesResponseBody struct {
	// ID of involved resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

LogsInvalidScopesResponseBody is the type of the "order" service "logs" endpoint HTTP response body for the "invalid-scopes" error.

type LogsNotFoundResponseBody

type LogsNotFoundResponseBody struct {
	// ID of missing resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

LogsNotFoundResponseBody is the type of the "order" service "logs" endpoint HTTP response body for the "not-found" error.

type LogsNotImplementedResponseBody

type LogsNotImplementedResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

LogsNotImplementedResponseBody is the type of the "order" service "logs" endpoint HTTP response body for the "not-implemented" error.

type MetadataBadRequestResponseBody added in v0.35.2

type MetadataBadRequestResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

MetadataBadRequestResponseBody is the type of the "order" service "metadata" endpoint HTTP response body for the "bad-request" error.

type MetadataInvalidParameterResponseBody added in v0.35.2

type MetadataInvalidParameterResponseBody struct {
	// message describing expected type or pattern.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// name of parameter.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// provided parameter value.
	Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
}

MetadataInvalidParameterResponseBody is the type of the "order" service "metadata" endpoint HTTP response body for the "invalid-parameter" error.

type MetadataInvalidScopesResponseBody added in v0.35.2

type MetadataInvalidScopesResponseBody struct {
	// ID of involved resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

MetadataInvalidScopesResponseBody is the type of the "order" service "metadata" endpoint HTTP response body for the "invalid-scopes" error.

type MetadataNotFoundResponseBody added in v0.35.2

type MetadataNotFoundResponseBody struct {
	// ID of missing resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

MetadataNotFoundResponseBody is the type of the "order" service "metadata" endpoint HTTP response body for the "not-found" error.

type MetadataNotImplementedResponseBody added in v0.35.2

type MetadataNotImplementedResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

MetadataNotImplementedResponseBody is the type of the "order" service "metadata" endpoint HTTP response body for the "not-implemented" error.

type MetadataResponseBody added in v0.35.2

type MetadataResponseBody struct {
	// (Partial) list of metadata associated with this order
	Items []*OrderMetadataListItemRTResponseBody `form:"items,omitempty" json:"items,omitempty" xml:"items,omitempty"`
	// Links to more metadata, if there are any
	Links []*LinkTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`
}

MetadataResponseBody is the type of the "order" service "metadata" endpoint HTTP response body.

type OrderListItemResponseBody

type OrderListItemResponseBody struct {
	// ID
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Optional customer provided name
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// Order status
	Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	// DateTime order was placed
	OrderedAt *string `form:"ordered-at,omitempty" json:"ordered-at,omitempty" xml:"ordered-at,omitempty"`
	// DateTime order processing started
	StartedAt *string `form:"started-at,omitempty" json:"started-at,omitempty" xml:"started-at,omitempty"`
	// DateTime order processing finished
	FinishedAt *string `form:"finished-at,omitempty" json:"finished-at,omitempty" xml:"finished-at,omitempty"`
	// Reference to service requested
	Service *string `form:"service,omitempty" json:"service,omitempty" xml:"service,omitempty"`
	// Reference to billable account
	Account *string `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"`
	Href    *string `json:"href,omitempty"`
}

OrderListItemResponseBody is used to define fields on response body types.

type OrderMetadataListItemRTResponseBody added in v0.35.2

type OrderMetadataListItemRTResponseBody struct {
	// ID
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Schema ID
	Schema *string `form:"schema,omitempty" json:"schema,omitempty" xml:"schema,omitempty"`
	// reference to content of metadata
	Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"`
	// type of metadata content
	ContentType *string `form:"content-type,omitempty" json:"content-type,omitempty" xml:"content-type,omitempty"`
}

OrderMetadataListItemRTResponseBody is used to define fields on response body types.

type OrderTopResultItemResponse

type OrderTopResultItemResponse struct {
	// container
	Container *string `form:"container,omitempty" json:"container,omitempty" xml:"container,omitempty"`
	// cpu
	CPU *string `form:"cpu,omitempty" json:"cpu,omitempty" xml:"cpu,omitempty"`
	// memory
	Memory *string `form:"memory,omitempty" json:"memory,omitempty" xml:"memory,omitempty"`
	// storage
	Storage *string `form:"storage,omitempty" json:"storage,omitempty" xml:"storage,omitempty"`
	// ephemeral-storage
	EphemeralStorage *string `form:"ephemeral-storage,omitempty" json:"ephemeral-storage,omitempty" xml:"ephemeral-storage,omitempty"`
}

OrderTopResultItemResponse is used to define fields on response body types.

type ParameterT

type ParameterT struct {
	Name  *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
}

ParameterT is used to define fields on request body types.

type ParameterTResponseBody

type ParameterTResponseBody struct {
	Name  *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
}

ParameterTResponseBody is used to define fields on response body types.

type PartialProductListTResponseBody added in v0.30.0

type PartialProductListTResponseBody struct {
	// (Partial) list of products delivered by this order
	Items []*ProductListItemTResponseBody `form:"items,omitempty" json:"items,omitempty" xml:"items,omitempty"`
	// Links to more products, if there are any
	Links []*LinkTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`
}

PartialProductListTResponseBody is used to define fields on response body types.

type ProductListItemTResponseBody added in v0.30.0

type ProductListItemTResponseBody struct {
	ID       *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name     *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Status   *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	MimeType *string `json:"mime-type,omitempty"`
	Size     *int64  `form:"size,omitempty" json:"size,omitempty" xml:"size,omitempty"`
	Href     *string `json:"href,omitempty"`
	DataHref *string `json:"dataRef,omitempty"`
}

ProductListItemTResponseBody is used to define fields on response body types.

type ProductsBadRequestResponseBody added in v0.35.1

type ProductsBadRequestResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ProductsBadRequestResponseBody is the type of the "order" service "products" endpoint HTTP response body for the "bad-request" error.

type ProductsInvalidParameterResponseBody added in v0.35.1

type ProductsInvalidParameterResponseBody struct {
	// message describing expected type or pattern.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// name of parameter.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// provided parameter value.
	Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
}

ProductsInvalidParameterResponseBody is the type of the "order" service "products" endpoint HTTP response body for the "invalid-parameter" error.

type ProductsInvalidScopesResponseBody added in v0.35.1

type ProductsInvalidScopesResponseBody struct {
	// ID of involved resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ProductsInvalidScopesResponseBody is the type of the "order" service "products" endpoint HTTP response body for the "invalid-scopes" error.

type ProductsNotFoundResponseBody added in v0.35.1

type ProductsNotFoundResponseBody struct {
	// ID of missing resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ProductsNotFoundResponseBody is the type of the "order" service "products" endpoint HTTP response body for the "not-found" error.

type ProductsNotImplementedResponseBody added in v0.35.1

type ProductsNotImplementedResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ProductsNotImplementedResponseBody is the type of the "order" service "products" endpoint HTTP response body for the "not-implemented" error.

type ProductsResponseBody added in v0.35.1

type ProductsResponseBody struct {
	// (Partial) list of products delivered by this order
	Items []*ProductListItemTResponseBody `form:"items,omitempty" json:"items,omitempty" xml:"items,omitempty"`
	// Links to more products, if there are any
	Links []*LinkTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`
}

ProductsResponseBody is the type of the "order" service "products" endpoint HTTP response body.

type ReadBadRequestResponseBody

type ReadBadRequestResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ReadBadRequestResponseBody is the type of the "order" service "read" endpoint HTTP response body for the "bad-request" error.

type ReadInvalidScopesResponseBody

type ReadInvalidScopesResponseBody struct {
	// ID of involved resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ReadInvalidScopesResponseBody is the type of the "order" service "read" endpoint HTTP response body for the "invalid-scopes" error.

type ReadNotFoundResponseBody

type ReadNotFoundResponseBody struct {
	// ID of missing resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ReadNotFoundResponseBody is the type of the "order" service "read" endpoint HTTP response body for the "not-found" error.

type ReadNotImplementedResponseBody

type ReadNotImplementedResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

ReadNotImplementedResponseBody is the type of the "order" service "read" endpoint HTTP response body for the "not-implemented" error.

type ReadResponseBody

type ReadResponseBody struct {
	// ID
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Order status
	Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	// DateTime order was placed
	OrderedAt *string `form:"ordered-at,omitempty" json:"ordered-at,omitempty" xml:"ordered-at,omitempty"`
	// DateTime order processing started
	StartedAt *string `form:"started-at,omitempty" json:"started-at,omitempty" xml:"started-at,omitempty"`
	// DateTime order processing finished
	FinishedAt *string                          `form:"finished-at,omitempty" json:"finished-at,omitempty" xml:"finished-at,omitempty"`
	Products   *PartialProductListTResponseBody `form:"products,omitempty" json:"products,omitempty" xml:"products,omitempty"`
	// Reference to service requested
	Service *string `form:"service,omitempty" json:"service,omitempty" xml:"service,omitempty"`
	// Reference to billable account
	Account *string              `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"`
	Links   []*LinkTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`
	// Optional customer provided name
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// Optional customer provided tags
	Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// Service parameters
	Parameters []*ParameterTResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"`
}

ReadResponseBody is the type of the "order" service "read" endpoint HTTP response body.

type TopBadRequestResponseBody

type TopBadRequestResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

TopBadRequestResponseBody is the type of the "order" service "top" endpoint HTTP response body for the "bad-request" error.

type TopInvalidParameterResponseBody

type TopInvalidParameterResponseBody struct {
	// message describing expected type or pattern.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// name of parameter.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// provided parameter value.
	Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
}

TopInvalidParameterResponseBody is the type of the "order" service "top" endpoint HTTP response body for the "invalid-parameter" error.

type TopInvalidScopesResponseBody

type TopInvalidScopesResponseBody struct {
	// ID of involved resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

TopInvalidScopesResponseBody is the type of the "order" service "top" endpoint HTTP response body for the "invalid-scopes" error.

type TopNotFoundResponseBody

type TopNotFoundResponseBody struct {
	// ID of missing resource
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

TopNotFoundResponseBody is the type of the "order" service "top" endpoint HTTP response body for the "not-found" error.

type TopNotImplementedResponseBody

type TopNotImplementedResponseBody struct {
	// Information message
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}

TopNotImplementedResponseBody is the type of the "order" service "top" endpoint HTTP response body for the "not-implemented" error.

type TopResponseBody

type TopResponseBody []*OrderTopResultItemResponse

TopResponseBody is the type of the "order" service "top" endpoint HTTP response body.

Jump to

Keyboard shortcuts

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