client

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildJobCreatePayload added in v0.44.0

func BuildJobCreatePayload(serviceJobCreateServiceID string, serviceJobCreateJWT string, serviceJobCreateInContentType string, serviceJobCreateInOrderID string, serviceJobCreateForwardHost string, serviceJobCreateForwardProto string, serviceJobCreateTimeout string) (*service.JobCreatePayload, error)

BuildJobCreatePayload builds the payload for the service job-create endpoint from CLI flags.

func BuildJobCreateStreamPayload added in v0.44.0

func BuildJobCreateStreamPayload(payload any, fpath string) (*service.JobCreateRequestData, error)

// BuildJobCreateStreamPayload creates a streaming endpoint request payload from the method payload and the path to the file to be streamed

func BuildJobListPayload added in v0.44.0

func BuildJobListPayload(serviceJobListServiceID string, serviceJobListLimit string, serviceJobListPage string, serviceJobListFilter string, serviceJobListOrderBy string, serviceJobListOrderDesc string, serviceJobListAtTime string, serviceJobListJWT string) (*service.JobListPayload, error)

BuildJobListPayload builds the payload for the service job-list endpoint from CLI flags.

func BuildJobReadPayload added in v0.44.0

func BuildJobReadPayload(serviceJobReadServiceID string, serviceJobReadID string, serviceJobReadWithRequestContent string, serviceJobReadWithResultContent string, serviceJobReadJWT string) (*service.JobReadPayload, error)

BuildJobReadPayload builds the payload for the service job-read endpoint from CLI flags.

func BuildServiceCreatePayload added in v0.44.0

func BuildServiceCreatePayload(serviceServiceCreateBody string, serviceServiceCreateJWT string) (*service.ServiceCreatePayload, error)

BuildServiceCreatePayload builds the payload for the service service-create endpoint from CLI flags.

func BuildServiceDeletePayload added in v0.44.0

func BuildServiceDeletePayload(serviceServiceDeleteID string, serviceServiceDeleteJWT string) (*service.ServiceDeletePayload, error)

BuildServiceDeletePayload builds the payload for the service service-delete endpoint from CLI flags.

func BuildServiceListPayload added in v0.44.0

func BuildServiceListPayload(serviceServiceListLimit string, serviceServiceListPage string, serviceServiceListFilter string, serviceServiceListOrderBy string, serviceServiceListOrderDesc string, serviceServiceListAtTime string, serviceServiceListJWT string) (*service.ServiceListPayload, error)

BuildServiceListPayload builds the payload for the service service-list endpoint from CLI flags.

func BuildServiceReadPayload added in v0.44.0

func BuildServiceReadPayload(serviceServiceReadID string, serviceServiceReadJWT string) (*service.ServiceReadPayload, error)

BuildServiceReadPayload builds the payload for the service service-read endpoint from CLI flags.

func BuildServiceUpdatePayload added in v0.44.0

func BuildServiceUpdatePayload(serviceServiceUpdateBody string, serviceServiceUpdateID string, serviceServiceUpdateForceCreate string, serviceServiceUpdateJWT string) (*service.ServiceUpdatePayload, error)

BuildServiceUpdatePayload builds the payload for the service service-update endpoint from CLI flags.

func DecodeJobCreateResponse added in v0.44.0

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

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

  • "bad-request" (type *service.BadRequestT): http.StatusBadRequest
  • "invalid-parameter" (type *service.InvalidParameterT): http.StatusUnprocessableEntity
  • "invalid-scopes" (type *service.InvalidScopesT): http.StatusForbidden
  • "not-ready-yet" (type *service.JobRetryLaterT): http.StatusAccepted
  • "not-implemented" (type *service.NotImplementedT): http.StatusNotImplemented
  • "not-found" (type *service.ResourceNotFoundT): http.StatusNotFound
  • "not-available" (type *service.ServiceNotAvailableT): http.StatusServiceUnavailable
  • "temporary-redirect" (type *service.TemporaryRedirectT): http.StatusTemporaryRedirect
  • "not-authorized" (type *service.UnauthorizedT): http.StatusUnauthorized
  • error: internal error

func DecodeJobListResponse added in v0.44.0

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

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

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

func DecodeJobReadResponse added in v0.44.0

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

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

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

func DecodeServiceCreateResponse added in v0.44.0

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

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

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

func DecodeServiceDeleteResponse added in v0.44.0

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

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

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

func DecodeServiceListResponse added in v0.44.0

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

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

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

func DecodeServiceReadResponse added in v0.44.0

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

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

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

func DecodeServiceUpdateResponse added in v0.44.0

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

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

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

func EncodeJobCreateRequest added in v0.44.0

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

EncodeJobCreateRequest returns an encoder for requests sent to the service job-create server.

func EncodeJobListRequest added in v0.44.0

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

EncodeJobListRequest returns an encoder for requests sent to the service job-list server.

func EncodeJobReadRequest added in v0.44.0

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

EncodeJobReadRequest returns an encoder for requests sent to the service job-read server.

func EncodeServiceCreateRequest added in v0.44.0

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

EncodeServiceCreateRequest returns an encoder for requests sent to the service service-create server.

func EncodeServiceDeleteRequest added in v0.44.0

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

EncodeServiceDeleteRequest returns an encoder for requests sent to the service service-delete server.

func EncodeServiceListRequest added in v0.44.0

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

EncodeServiceListRequest returns an encoder for requests sent to the service service-list server.

func EncodeServiceReadRequest added in v0.44.0

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

EncodeServiceReadRequest returns an encoder for requests sent to the service service-read server.

func EncodeServiceUpdateRequest added in v0.44.0

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

EncodeServiceUpdateRequest returns an encoder for requests sent to the service service-update server.

func JobCreateServicePath added in v0.44.0

func JobCreateServicePath(serviceID string) string

JobCreateServicePath returns the URL path to the service service job-create HTTP endpoint.

func JobListServicePath added in v0.44.0

func JobListServicePath(serviceID string) string

JobListServicePath returns the URL path to the service service job-list HTTP endpoint.

func JobReadServicePath added in v0.44.0

func JobReadServicePath(serviceID string, id string) string

JobReadServicePath returns the URL path to the service service job-read HTTP endpoint.

func NewJobCreateBadRequest added in v0.44.0

func NewJobCreateBadRequest(body *JobCreateBadRequestResponseBody) *service.BadRequestT

NewJobCreateBadRequest builds a service service job-create endpoint bad-request error.

func NewJobCreateInvalidParameter added in v0.44.0

func NewJobCreateInvalidParameter(body *JobCreateInvalidParameterResponseBody) *service.InvalidParameterT

NewJobCreateInvalidParameter builds a service service job-create endpoint invalid-parameter error.

func NewJobCreateInvalidScopes added in v0.44.0

func NewJobCreateInvalidScopes(body *JobCreateInvalidScopesResponseBody) *service.InvalidScopesT

NewJobCreateInvalidScopes builds a service service job-create endpoint invalid-scopes error.

func NewJobCreateNotAuthorized added in v0.44.0

func NewJobCreateNotAuthorized() *service.UnauthorizedT

NewJobCreateNotAuthorized builds a service service job-create endpoint not-authorized error.

func NewJobCreateNotAvailable added in v0.44.0

func NewJobCreateNotAvailable() *service.ServiceNotAvailableT

NewJobCreateNotAvailable builds a service service job-create endpoint not-available error.

func NewJobCreateNotFound added in v0.44.0

func NewJobCreateNotFound(body *JobCreateNotFoundResponseBody) *service.ResourceNotFoundT

NewJobCreateNotFound builds a service service job-create endpoint not-found error.

func NewJobCreateNotImplemented added in v0.44.0

func NewJobCreateNotImplemented(body *JobCreateNotImplementedResponseBody) *service.NotImplementedT

NewJobCreateNotImplemented builds a service service job-create endpoint not-implemented error.

func NewJobCreateNotReadyYet added in v0.44.0

func NewJobCreateNotReadyYet(body *JobCreateNotReadyYetResponseBody) *service.JobRetryLaterT

NewJobCreateNotReadyYet builds a service service job-create endpoint not-ready-yet error.

func NewJobCreateResultOK added in v0.44.0

func NewJobCreateResultOK(outContentType string, outOrderID string, jobID string, jobURL *string) *service.JobCreateResult

NewJobCreateResultOK builds a "service" service "job-create" endpoint result from a HTTP "OK" response.

func NewJobCreateTemporaryRedirect added in v0.44.0

func NewJobCreateTemporaryRedirect(location string) *service.TemporaryRedirectT

NewJobCreateTemporaryRedirect builds a service service job-create endpoint temporary-redirect error.

func NewJobListBadRequest added in v0.44.0

func NewJobListBadRequest(body *JobListBadRequestResponseBody) *service.BadRequestT

NewJobListBadRequest builds a service service job-list endpoint bad-request error.

func NewJobListInvalidParameter added in v0.44.0

func NewJobListInvalidParameter(body *JobListInvalidParameterResponseBody) *service.InvalidParameterT

NewJobListInvalidParameter builds a service service job-list endpoint invalid-parameter error.

func NewJobListInvalidScopes added in v0.44.0

func NewJobListInvalidScopes(body *JobListInvalidScopesResponseBody) *service.InvalidScopesT

NewJobListInvalidScopes builds a service service job-list endpoint invalid-scopes error.

func NewJobListNotAuthorized added in v0.44.0

func NewJobListNotAuthorized() *service.UnauthorizedT

NewJobListNotAuthorized builds a service service job-list endpoint not-authorized error.

func NewJobListNotAvailable added in v0.44.0

func NewJobListNotAvailable() *service.ServiceNotAvailableT

NewJobListNotAvailable builds a service service job-list endpoint not-available error.

func NewJobListNotImplemented added in v0.44.0

func NewJobListNotImplemented(body *JobListNotImplementedResponseBody) *service.NotImplementedT

NewJobListNotImplemented builds a service service job-list endpoint not-implemented error.

func NewJobListRTViewOK added in v0.44.0

func NewJobListRTViewOK(body *JobListResponseBody) *serviceviews.JobListRTView

NewJobListRTViewOK builds a "service" service "job-list" endpoint result from a HTTP "OK" response.

func NewJobReadBadRequest added in v0.44.0

func NewJobReadBadRequest(body *JobReadBadRequestResponseBody) *service.BadRequestT

NewJobReadBadRequest builds a service service job-read endpoint bad-request error.

func NewJobReadInvalidScopes added in v0.44.0

func NewJobReadInvalidScopes(body *JobReadInvalidScopesResponseBody) *service.InvalidScopesT

NewJobReadInvalidScopes builds a service service job-read endpoint invalid-scopes error.

func NewJobReadJobStatusRTOK added in v0.44.0

func NewJobReadJobStatusRTOK(body *JobReadResponseBody) *service.JobStatusRT

NewJobReadJobStatusRTOK builds a "service" service "job-read" endpoint result from a HTTP "OK" response.

func NewJobReadNotAuthorized added in v0.44.0

func NewJobReadNotAuthorized() *service.UnauthorizedT

NewJobReadNotAuthorized builds a service service job-read endpoint not-authorized error.

func NewJobReadNotAvailable added in v0.44.0

func NewJobReadNotAvailable() *service.ServiceNotAvailableT

NewJobReadNotAvailable builds a service service job-read endpoint not-available error.

func NewJobReadNotFound added in v0.44.0

func NewJobReadNotFound(body *JobReadNotFoundResponseBody) *service.ResourceNotFoundT

NewJobReadNotFound builds a service service job-read endpoint not-found error.

func NewJobReadNotImplemented added in v0.44.0

func NewJobReadNotImplemented(body *JobReadNotImplementedResponseBody) *service.NotImplementedT

NewJobReadNotImplemented builds a service service job-read endpoint not-implemented error.

func NewServiceCreateAlreadyCreated added in v0.44.0

func NewServiceCreateAlreadyCreated(body *ServiceCreateAlreadyCreatedResponseBody) *service.ResourceAlreadyCreatedT

NewServiceCreateAlreadyCreated builds a service service service-create endpoint already-created error.

func NewServiceCreateBadRequest added in v0.44.0

func NewServiceCreateBadRequest(body *ServiceCreateBadRequestResponseBody) *service.BadRequestT

NewServiceCreateBadRequest builds a service service service-create endpoint bad-request error.

func NewServiceCreateInvalidParameter added in v0.44.0

func NewServiceCreateInvalidParameter(body *ServiceCreateInvalidParameterResponseBody) *service.InvalidParameterT

NewServiceCreateInvalidParameter builds a service service service-create endpoint invalid-parameter error.

func NewServiceCreateInvalidScopes added in v0.44.0

func NewServiceCreateInvalidScopes(body *ServiceCreateInvalidScopesResponseBody) *service.InvalidScopesT

NewServiceCreateInvalidScopes builds a service service service-create endpoint invalid-scopes error.

func NewServiceCreateNotAuthorized added in v0.44.0

func NewServiceCreateNotAuthorized() *service.UnauthorizedT

NewServiceCreateNotAuthorized builds a service service service-create endpoint not-authorized error.

func NewServiceCreateNotAvailable added in v0.44.0

func NewServiceCreateNotAvailable() *service.ServiceNotAvailableT

NewServiceCreateNotAvailable builds a service service service-create endpoint not-available error.

func NewServiceCreateNotFound added in v0.44.0

func NewServiceCreateNotFound(body *ServiceCreateNotFoundResponseBody) *service.ResourceNotFoundT

NewServiceCreateNotFound builds a service service service-create endpoint not-found error.

func NewServiceCreateNotImplemented added in v0.44.0

func NewServiceCreateNotImplemented(body *ServiceCreateNotImplementedResponseBody) *service.NotImplementedT

NewServiceCreateNotImplemented builds a service service service-create endpoint not-implemented error.

func NewServiceCreateServiceStatusRTCreated added in v0.44.0

func NewServiceCreateServiceStatusRTCreated(body *ServiceCreateResponseBody) *service.ServiceStatusRT

NewServiceCreateServiceStatusRTCreated builds a "service" service "service-create" endpoint result from a HTTP "Created" response.

func NewServiceDeleteBadRequest added in v0.44.0

func NewServiceDeleteBadRequest(body *ServiceDeleteBadRequestResponseBody) *service.BadRequestT

NewServiceDeleteBadRequest builds a service service service-delete endpoint bad-request error.

func NewServiceDeleteInvalidScopes added in v0.44.0

func NewServiceDeleteInvalidScopes(body *ServiceDeleteInvalidScopesResponseBody) *service.InvalidScopesT

NewServiceDeleteInvalidScopes builds a service service service-delete endpoint invalid-scopes error.

func NewServiceDeleteNotAuthorized added in v0.44.0

func NewServiceDeleteNotAuthorized() *service.UnauthorizedT

NewServiceDeleteNotAuthorized builds a service service service-delete endpoint not-authorized error.

func NewServiceDeleteNotAvailable added in v0.44.0

func NewServiceDeleteNotAvailable() *service.ServiceNotAvailableT

NewServiceDeleteNotAvailable builds a service service service-delete endpoint not-available error.

func NewServiceDeleteNotImplemented added in v0.44.0

func NewServiceDeleteNotImplemented(body *ServiceDeleteNotImplementedResponseBody) *service.NotImplementedT

NewServiceDeleteNotImplemented builds a service service service-delete endpoint not-implemented error.

func NewServiceListBadRequest added in v0.44.0

func NewServiceListBadRequest(body *ServiceListBadRequestResponseBody) *service.BadRequestT

NewServiceListBadRequest builds a service service service-list endpoint bad-request error.

func NewServiceListInvalidParameter added in v0.44.0

func NewServiceListInvalidParameter(body *ServiceListInvalidParameterResponseBody) *service.InvalidParameterT

NewServiceListInvalidParameter builds a service service service-list endpoint invalid-parameter error.

func NewServiceListInvalidScopes added in v0.44.0

func NewServiceListInvalidScopes(body *ServiceListInvalidScopesResponseBody) *service.InvalidScopesT

NewServiceListInvalidScopes builds a service service service-list endpoint invalid-scopes error.

func NewServiceListNotAuthorized added in v0.44.0

func NewServiceListNotAuthorized() *service.UnauthorizedT

NewServiceListNotAuthorized builds a service service service-list endpoint not-authorized error.

func NewServiceListNotAvailable added in v0.44.0

func NewServiceListNotAvailable() *service.ServiceNotAvailableT

NewServiceListNotAvailable builds a service service service-list endpoint not-available error.

func NewServiceListNotImplemented added in v0.44.0

func NewServiceListNotImplemented(body *ServiceListNotImplementedResponseBody) *service.NotImplementedT

NewServiceListNotImplemented builds a service service service-list endpoint not-implemented error.

func NewServiceListRTViewOK added in v0.44.0

func NewServiceListRTViewOK(body *ServiceListResponseBody) *serviceviews.ServiceListRTView

NewServiceListRTViewOK builds a "service" service "service-list" endpoint result from a HTTP "OK" response.

func NewServiceReadBadRequest added in v0.44.0

func NewServiceReadBadRequest(body *ServiceReadBadRequestResponseBody) *service.BadRequestT

NewServiceReadBadRequest builds a service service service-read endpoint bad-request error.

func NewServiceReadInvalidScopes added in v0.44.0

func NewServiceReadInvalidScopes(body *ServiceReadInvalidScopesResponseBody) *service.InvalidScopesT

NewServiceReadInvalidScopes builds a service service service-read endpoint invalid-scopes error.

func NewServiceReadNotAuthorized added in v0.44.0

func NewServiceReadNotAuthorized() *service.UnauthorizedT

NewServiceReadNotAuthorized builds a service service service-read endpoint not-authorized error.

func NewServiceReadNotAvailable added in v0.44.0

func NewServiceReadNotAvailable() *service.ServiceNotAvailableT

NewServiceReadNotAvailable builds a service service service-read endpoint not-available error.

func NewServiceReadNotFound added in v0.44.0

func NewServiceReadNotFound(body *ServiceReadNotFoundResponseBody) *service.ResourceNotFoundT

NewServiceReadNotFound builds a service service service-read endpoint not-found error.

func NewServiceReadNotImplemented added in v0.44.0

func NewServiceReadNotImplemented(body *ServiceReadNotImplementedResponseBody) *service.NotImplementedT

NewServiceReadNotImplemented builds a service service service-read endpoint not-implemented error.

func NewServiceReadServiceStatusRTOK added in v0.44.0

func NewServiceReadServiceStatusRTOK(body *ServiceReadResponseBody) *service.ServiceStatusRT

NewServiceReadServiceStatusRTOK builds a "service" service "service-read" endpoint result from a HTTP "OK" response.

func NewServiceUpdateBadRequest added in v0.44.0

func NewServiceUpdateBadRequest(body *ServiceUpdateBadRequestResponseBody) *service.BadRequestT

NewServiceUpdateBadRequest builds a service service service-update endpoint bad-request error.

func NewServiceUpdateInvalidParameter added in v0.44.0

func NewServiceUpdateInvalidParameter(body *ServiceUpdateInvalidParameterResponseBody) *service.InvalidParameterT

NewServiceUpdateInvalidParameter builds a service service service-update endpoint invalid-parameter error.

func NewServiceUpdateInvalidScopes added in v0.44.0

func NewServiceUpdateInvalidScopes(body *ServiceUpdateInvalidScopesResponseBody) *service.InvalidScopesT

NewServiceUpdateInvalidScopes builds a service service service-update endpoint invalid-scopes error.

func NewServiceUpdateNotAuthorized added in v0.44.0

func NewServiceUpdateNotAuthorized() *service.UnauthorizedT

NewServiceUpdateNotAuthorized builds a service service service-update endpoint not-authorized error.

func NewServiceUpdateNotAvailable added in v0.44.0

func NewServiceUpdateNotAvailable() *service.ServiceNotAvailableT

NewServiceUpdateNotAvailable builds a service service service-update endpoint not-available error.

func NewServiceUpdateNotFound added in v0.44.0

func NewServiceUpdateNotFound(body *ServiceUpdateNotFoundResponseBody) *service.ResourceNotFoundT

NewServiceUpdateNotFound builds a service service service-update endpoint not-found error.

func NewServiceUpdateNotImplemented added in v0.44.0

func NewServiceUpdateNotImplemented(body *ServiceUpdateNotImplementedResponseBody) *service.NotImplementedT

NewServiceUpdateNotImplemented builds a service service service-update endpoint not-implemented error.

func NewServiceUpdateServiceStatusRTOK added in v0.44.0

func NewServiceUpdateServiceStatusRTOK(body *ServiceUpdateResponseBody) *service.ServiceStatusRT

NewServiceUpdateServiceStatusRTOK builds a "service" service "service-update" endpoint result from a HTTP "OK" response.

func ServiceCreateServicePath added in v0.44.0

func ServiceCreateServicePath() string

ServiceCreateServicePath returns the URL path to the service service service-create HTTP endpoint.

func ServiceDeleteServicePath added in v0.44.0

func ServiceDeleteServicePath(id string) string

ServiceDeleteServicePath returns the URL path to the service service service-delete HTTP endpoint.

func ServiceListServicePath added in v0.44.0

func ServiceListServicePath() string

ServiceListServicePath returns the URL path to the service service service-list HTTP endpoint.

func ServiceReadServicePath added in v0.44.0

func ServiceReadServicePath(id string) string

ServiceReadServicePath returns the URL path to the service service service-read HTTP endpoint.

func ServiceUpdateServicePath added in v0.44.0

func ServiceUpdateServicePath(id string) string

ServiceUpdateServicePath returns the URL path to the service service service-update HTTP endpoint.

func ValidateJobCreateBadRequestResponseBody added in v0.44.0

func ValidateJobCreateBadRequestResponseBody(body *JobCreateBadRequestResponseBody) (err error)

ValidateJobCreateBadRequestResponseBody runs the validations defined on job-create_bad-request_response_body

func ValidateJobCreateInvalidParameterResponseBody added in v0.44.0

func ValidateJobCreateInvalidParameterResponseBody(body *JobCreateInvalidParameterResponseBody) (err error)

ValidateJobCreateInvalidParameterResponseBody runs the validations defined on job-create_invalid-parameter_response_body

func ValidateJobCreateInvalidScopesResponseBody added in v0.44.0

func ValidateJobCreateInvalidScopesResponseBody(body *JobCreateInvalidScopesResponseBody) (err error)

ValidateJobCreateInvalidScopesResponseBody runs the validations defined on job-create_invalid-scopes_response_body

func ValidateJobCreateNotFoundResponseBody added in v0.44.0

func ValidateJobCreateNotFoundResponseBody(body *JobCreateNotFoundResponseBody) (err error)

ValidateJobCreateNotFoundResponseBody runs the validations defined on job-create_not-found_response_body

func ValidateJobCreateNotImplementedResponseBody added in v0.44.0

func ValidateJobCreateNotImplementedResponseBody(body *JobCreateNotImplementedResponseBody) (err error)

ValidateJobCreateNotImplementedResponseBody runs the validations defined on job-create_not-implemented_response_body

func ValidateJobCreateNotReadyYetResponseBody added in v0.44.0

func ValidateJobCreateNotReadyYetResponseBody(body *JobCreateNotReadyYetResponseBody) (err error)

ValidateJobCreateNotReadyYetResponseBody runs the validations defined on job-create_not-ready-yet_response_body

func ValidateJobListBadRequestResponseBody added in v0.44.0

func ValidateJobListBadRequestResponseBody(body *JobListBadRequestResponseBody) (err error)

ValidateJobListBadRequestResponseBody runs the validations defined on job-list_bad-request_response_body

func ValidateJobListInvalidParameterResponseBody added in v0.44.0

func ValidateJobListInvalidParameterResponseBody(body *JobListInvalidParameterResponseBody) (err error)

ValidateJobListInvalidParameterResponseBody runs the validations defined on job-list_invalid-parameter_response_body

func ValidateJobListInvalidScopesResponseBody added in v0.44.0

func ValidateJobListInvalidScopesResponseBody(body *JobListInvalidScopesResponseBody) (err error)

ValidateJobListInvalidScopesResponseBody runs the validations defined on job-list_invalid-scopes_response_body

func ValidateJobListItemResponseBody added in v0.44.0

func ValidateJobListItemResponseBody(body *JobListItemResponseBody) (err error)

ValidateJobListItemResponseBody runs the validations defined on JobListItemResponseBody

func ValidateJobListNotImplementedResponseBody added in v0.44.0

func ValidateJobListNotImplementedResponseBody(body *JobListNotImplementedResponseBody) (err error)

ValidateJobListNotImplementedResponseBody runs the validations defined on job-list_not-implemented_response_body

func ValidateJobReadBadRequestResponseBody added in v0.44.0

func ValidateJobReadBadRequestResponseBody(body *JobReadBadRequestResponseBody) (err error)

ValidateJobReadBadRequestResponseBody runs the validations defined on job-read_bad-request_response_body

func ValidateJobReadInvalidScopesResponseBody added in v0.44.0

func ValidateJobReadInvalidScopesResponseBody(body *JobReadInvalidScopesResponseBody) (err error)

ValidateJobReadInvalidScopesResponseBody runs the validations defined on job-read_invalid-scopes_response_body

func ValidateJobReadNotFoundResponseBody added in v0.44.0

func ValidateJobReadNotFoundResponseBody(body *JobReadNotFoundResponseBody) (err error)

ValidateJobReadNotFoundResponseBody runs the validations defined on job-read_not-found_response_body

func ValidateJobReadNotImplementedResponseBody added in v0.44.0

func ValidateJobReadNotImplementedResponseBody(body *JobReadNotImplementedResponseBody) (err error)

ValidateJobReadNotImplementedResponseBody runs the validations defined on job-read_not-implemented_response_body

func ValidateJobReadResponseBody added in v0.44.0

func ValidateJobReadResponseBody(body *JobReadResponseBody) (err error)

ValidateJobReadResponseBody runs the validations defined on Job-ReadResponseBody

func ValidateLinkTResponseBody added in v0.30.0

func ValidateLinkTResponseBody(body *LinkTResponseBody) (err error)

ValidateLinkTResponseBody runs the validations defined on LinkTResponseBody

func ValidateParameterDefTResponseBody added in v0.40.1

func ValidateParameterDefTResponseBody(body *ParameterDefTResponseBody) (err error)

ValidateParameterDefTResponseBody runs the validations defined on ParameterDefTResponseBody

func ValidatePartialProductList2TResponseBody added in v0.44.0

func ValidatePartialProductList2TResponseBody(body *PartialProductList2TResponseBody) (err error)

ValidatePartialProductList2TResponseBody runs the validations defined on PartialProductList2TResponseBody

func ValidateProductListItem2TResponseBody added in v0.44.0

func ValidateProductListItem2TResponseBody(body *ProductListItem2TResponseBody) (err error)

ValidateProductListItem2TResponseBody runs the validations defined on ProductListItem2TResponseBody

func ValidateServiceCreateAlreadyCreatedResponseBody added in v0.44.0

func ValidateServiceCreateAlreadyCreatedResponseBody(body *ServiceCreateAlreadyCreatedResponseBody) (err error)

ValidateServiceCreateAlreadyCreatedResponseBody runs the validations defined on service-create_already-created_response_body

func ValidateServiceCreateBadRequestResponseBody added in v0.44.0

func ValidateServiceCreateBadRequestResponseBody(body *ServiceCreateBadRequestResponseBody) (err error)

ValidateServiceCreateBadRequestResponseBody runs the validations defined on service-create_bad-request_response_body

func ValidateServiceCreateInvalidParameterResponseBody added in v0.44.0

func ValidateServiceCreateInvalidParameterResponseBody(body *ServiceCreateInvalidParameterResponseBody) (err error)

ValidateServiceCreateInvalidParameterResponseBody runs the validations defined on service-create_invalid-parameter_response_body

func ValidateServiceCreateInvalidScopesResponseBody added in v0.44.0

func ValidateServiceCreateInvalidScopesResponseBody(body *ServiceCreateInvalidScopesResponseBody) (err error)

ValidateServiceCreateInvalidScopesResponseBody runs the validations defined on service-create_invalid-scopes_response_body

func ValidateServiceCreateNotFoundResponseBody added in v0.44.0

func ValidateServiceCreateNotFoundResponseBody(body *ServiceCreateNotFoundResponseBody) (err error)

ValidateServiceCreateNotFoundResponseBody runs the validations defined on service-create_not-found_response_body

func ValidateServiceCreateNotImplementedResponseBody added in v0.44.0

func ValidateServiceCreateNotImplementedResponseBody(body *ServiceCreateNotImplementedResponseBody) (err error)

ValidateServiceCreateNotImplementedResponseBody runs the validations defined on service-create_not-implemented_response_body

func ValidateServiceCreateResponseBody added in v0.44.0

func ValidateServiceCreateResponseBody(body *ServiceCreateResponseBody) (err error)

ValidateServiceCreateResponseBody runs the validations defined on Service-CreateResponseBody

func ValidateServiceDeleteBadRequestResponseBody added in v0.44.0

func ValidateServiceDeleteBadRequestResponseBody(body *ServiceDeleteBadRequestResponseBody) (err error)

ValidateServiceDeleteBadRequestResponseBody runs the validations defined on service-delete_bad-request_response_body

func ValidateServiceDeleteInvalidScopesResponseBody added in v0.44.0

func ValidateServiceDeleteInvalidScopesResponseBody(body *ServiceDeleteInvalidScopesResponseBody) (err error)

ValidateServiceDeleteInvalidScopesResponseBody runs the validations defined on service-delete_invalid-scopes_response_body

func ValidateServiceDeleteNotImplementedResponseBody added in v0.44.0

func ValidateServiceDeleteNotImplementedResponseBody(body *ServiceDeleteNotImplementedResponseBody) (err error)

ValidateServiceDeleteNotImplementedResponseBody runs the validations defined on service-delete_not-implemented_response_body

func ValidateServiceListBadRequestResponseBody added in v0.44.0

func ValidateServiceListBadRequestResponseBody(body *ServiceListBadRequestResponseBody) (err error)

ValidateServiceListBadRequestResponseBody runs the validations defined on service-list_bad-request_response_body

func ValidateServiceListInvalidParameterResponseBody added in v0.44.0

func ValidateServiceListInvalidParameterResponseBody(body *ServiceListInvalidParameterResponseBody) (err error)

ValidateServiceListInvalidParameterResponseBody runs the validations defined on service-list_invalid-parameter_response_body

func ValidateServiceListInvalidScopesResponseBody added in v0.44.0

func ValidateServiceListInvalidScopesResponseBody(body *ServiceListInvalidScopesResponseBody) (err error)

ValidateServiceListInvalidScopesResponseBody runs the validations defined on service-list_invalid-scopes_response_body

func ValidateServiceListItemTResponseBody added in v0.44.0

func ValidateServiceListItemTResponseBody(body *ServiceListItemTResponseBody) (err error)

ValidateServiceListItemTResponseBody runs the validations defined on ServiceListItemTResponseBody

func ValidateServiceListNotImplementedResponseBody added in v0.44.0

func ValidateServiceListNotImplementedResponseBody(body *ServiceListNotImplementedResponseBody) (err error)

ValidateServiceListNotImplementedResponseBody runs the validations defined on service-list_not-implemented_response_body

func ValidateServiceReadBadRequestResponseBody added in v0.44.0

func ValidateServiceReadBadRequestResponseBody(body *ServiceReadBadRequestResponseBody) (err error)

ValidateServiceReadBadRequestResponseBody runs the validations defined on service-read_bad-request_response_body

func ValidateServiceReadInvalidScopesResponseBody added in v0.44.0

func ValidateServiceReadInvalidScopesResponseBody(body *ServiceReadInvalidScopesResponseBody) (err error)

ValidateServiceReadInvalidScopesResponseBody runs the validations defined on service-read_invalid-scopes_response_body

func ValidateServiceReadNotFoundResponseBody added in v0.44.0

func ValidateServiceReadNotFoundResponseBody(body *ServiceReadNotFoundResponseBody) (err error)

ValidateServiceReadNotFoundResponseBody runs the validations defined on service-read_not-found_response_body

func ValidateServiceReadNotImplementedResponseBody added in v0.44.0

func ValidateServiceReadNotImplementedResponseBody(body *ServiceReadNotImplementedResponseBody) (err error)

ValidateServiceReadNotImplementedResponseBody runs the validations defined on service-read_not-implemented_response_body

func ValidateServiceReadResponseBody added in v0.44.0

func ValidateServiceReadResponseBody(body *ServiceReadResponseBody) (err error)

ValidateServiceReadResponseBody runs the validations defined on Service-ReadResponseBody

func ValidateServiceUpdateBadRequestResponseBody added in v0.44.0

func ValidateServiceUpdateBadRequestResponseBody(body *ServiceUpdateBadRequestResponseBody) (err error)

ValidateServiceUpdateBadRequestResponseBody runs the validations defined on service-update_bad-request_response_body

func ValidateServiceUpdateInvalidParameterResponseBody added in v0.44.0

func ValidateServiceUpdateInvalidParameterResponseBody(body *ServiceUpdateInvalidParameterResponseBody) (err error)

ValidateServiceUpdateInvalidParameterResponseBody runs the validations defined on service-update_invalid-parameter_response_body

func ValidateServiceUpdateInvalidScopesResponseBody added in v0.44.0

func ValidateServiceUpdateInvalidScopesResponseBody(body *ServiceUpdateInvalidScopesResponseBody) (err error)

ValidateServiceUpdateInvalidScopesResponseBody runs the validations defined on service-update_invalid-scopes_response_body

func ValidateServiceUpdateNotFoundResponseBody added in v0.44.0

func ValidateServiceUpdateNotFoundResponseBody(body *ServiceUpdateNotFoundResponseBody) (err error)

ValidateServiceUpdateNotFoundResponseBody runs the validations defined on service-update_not-found_response_body

func ValidateServiceUpdateNotImplementedResponseBody added in v0.44.0

func ValidateServiceUpdateNotImplementedResponseBody(body *ServiceUpdateNotImplementedResponseBody) (err error)

ValidateServiceUpdateNotImplementedResponseBody runs the validations defined on service-update_not-implemented_response_body

func ValidateServiceUpdateResponseBody added in v0.44.0

func ValidateServiceUpdateResponseBody(body *ServiceUpdateResponseBody) (err error)

ValidateServiceUpdateResponseBody runs the validations defined on Service-UpdateResponseBody

Types

type Client

type Client struct {
	// ServiceList Doer is the HTTP client used to make requests to the
	// service-list endpoint.
	ServiceListDoer goahttp.Doer

	// ServiceCreate Doer is the HTTP client used to make requests to the
	// service-create endpoint.
	ServiceCreateDoer goahttp.Doer

	// ServiceRead Doer is the HTTP client used to make requests to the
	// service-read endpoint.
	ServiceReadDoer goahttp.Doer

	// ServiceUpdate Doer is the HTTP client used to make requests to the
	// service-update endpoint.
	ServiceUpdateDoer goahttp.Doer

	// ServiceDelete Doer is the HTTP client used to make requests to the
	// service-delete endpoint.
	ServiceDeleteDoer goahttp.Doer

	// JobList Doer is the HTTP client used to make requests to the job-list
	// endpoint.
	JobListDoer goahttp.Doer

	// JobCreate Doer is the HTTP client used to make requests to the job-create
	// endpoint.
	JobCreateDoer goahttp.Doer

	// JobRead Doer is the HTTP client used to make requests to the job-read
	// endpoint.
	JobReadDoer 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 service 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 service service servers.

func (*Client) BuildJobCreateRequest added in v0.44.0

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

BuildJobCreateRequest instantiates a HTTP request object with method and path set to call the "service" service "job-create" endpoint

func (*Client) BuildJobListRequest added in v0.44.0

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

BuildJobListRequest instantiates a HTTP request object with method and path set to call the "service" service "job-list" endpoint

func (*Client) BuildJobReadRequest added in v0.44.0

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

BuildJobReadRequest instantiates a HTTP request object with method and path set to call the "service" service "job-read" endpoint

func (*Client) BuildServiceCreateRequest added in v0.44.0

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

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

func (*Client) BuildServiceDeleteRequest added in v0.44.0

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

BuildServiceDeleteRequest instantiates a HTTP request object with method and path set to call the "service" service "service-delete" endpoint

func (*Client) BuildServiceListRequest added in v0.44.0

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

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

func (*Client) BuildServiceReadRequest added in v0.44.0

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

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

func (*Client) BuildServiceUpdateRequest added in v0.44.0

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

BuildServiceUpdateRequest instantiates a HTTP request object with method and path set to call the "service" service "service-update" endpoint

func (*Client) JobCreate added in v0.44.0

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

JobCreate returns an endpoint that makes HTTP requests to the service service job-create server.

func (*Client) JobList added in v0.44.0

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

JobList returns an endpoint that makes HTTP requests to the service service job-list server.

func (*Client) JobRead added in v0.44.0

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

JobRead returns an endpoint that makes HTTP requests to the service service job-read server.

func (*Client) ServiceCreate added in v0.44.0

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

ServiceCreate returns an endpoint that makes HTTP requests to the service service service-create server.

func (*Client) ServiceDelete added in v0.44.0

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

ServiceDelete returns an endpoint that makes HTTP requests to the service service service-delete server.

func (*Client) ServiceList added in v0.44.0

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

ServiceList returns an endpoint that makes HTTP requests to the service service service-list server.

func (*Client) ServiceRead added in v0.44.0

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

ServiceRead returns an endpoint that makes HTTP requests to the service service service-read server.

func (*Client) ServiceUpdate added in v0.44.0

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

ServiceUpdate returns an endpoint that makes HTTP requests to the service service service-update server.

type JobCreateBadRequestResponseBody added in v0.44.0

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

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

type JobCreateInvalidParameterResponseBody added in v0.44.0

type JobCreateInvalidParameterResponseBody 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"`
}

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

type JobCreateInvalidScopesResponseBody added in v0.44.0

type JobCreateInvalidScopesResponseBody 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"`
}

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

type JobCreateNotFoundResponseBody added in v0.44.0

type JobCreateNotFoundResponseBody 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"`
}

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

type JobCreateNotImplementedResponseBody added in v0.44.0

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

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

type JobCreateNotReadyYetResponseBody added in v0.44.0

type JobCreateNotReadyYetResponseBody struct {
	// the ID of the job
	JobID *string `form:"job-id,omitempty" json:"job-id,omitempty" xml:"job-id,omitempty"`
	// the URL for the job
	Location *string `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	// The time in seconds after which an update may be available
	RetryLater *int `form:"retry-later,omitempty" json:"retry-later,omitempty" xml:"retry-later,omitempty"`
}

JobCreateNotReadyYetResponseBody is the type of the "service" service "job-create" endpoint HTTP response body for the "not-ready-yet" error.

type JobListBadRequestResponseBody added in v0.44.0

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

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

type JobListInvalidParameterResponseBody added in v0.44.0

type JobListInvalidParameterResponseBody 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"`
}

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

type JobListInvalidScopesResponseBody added in v0.44.0

type JobListInvalidScopesResponseBody 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"`
}

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

type JobListItemResponseBody added in v0.44.0

type JobListItemResponseBody 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"`
	// Job status
	Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	// DateTime job processing started
	StartedAt *string `form:"started-at,omitempty" json:"started-at,omitempty" xml:"started-at,omitempty"`
	// DateTime job 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 order
	Order *string `form:"order,omitempty" json:"order,omitempty" xml:"order,omitempty"`
	Href  *string `json:"href,omitempty"`
}

JobListItemResponseBody is used to define fields on response body types.

type JobListNotImplementedResponseBody added in v0.44.0

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

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

type JobListResponseBody added in v0.44.0

type JobListResponseBody struct {
	// Jobs
	Items []*JobListItemResponseBody `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"`
}

JobListResponseBody is the type of the "service" service "job-list" endpoint HTTP response body.

type JobReadBadRequestResponseBody added in v0.44.0

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

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

type JobReadInvalidScopesResponseBody added in v0.44.0

type JobReadInvalidScopesResponseBody 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"`
}

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

type JobReadNotFoundResponseBody added in v0.44.0

type JobReadNotFoundResponseBody 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"`
}

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

type JobReadNotImplementedResponseBody added in v0.44.0

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

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

type JobReadResponseBody added in v0.44.0

type JobReadResponseBody struct {
	// ID
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Job status
	Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,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"`
	// Reference to order
	Order *string `form:"order,omitempty" json:"order,omitempty" xml:"order,omitempty"`
	// Reference to service requested
	Service *string `form:"service,omitempty" json:"service,omitempty" xml:"service,omitempty"`
	// Mime type of request
	RequestContentType *string `form:"request-content-type,omitempty" json:"request-content-type,omitempty" xml:"request-content-type,omitempty"`
	// Request content
	RequestContent any `form:"request-content,omitempty" json:"request-content,omitempty" xml:"request-content,omitempty"`
	// Mime type of result
	ResultContentType *string `form:"result-content-type,omitempty" json:"result-content-type,omitempty" xml:"result-content-type,omitempty"`
	// Result content
	ResultContent any                               `form:"result-content,omitempty" json:"result-content,omitempty" xml:"result-content,omitempty"`
	Products      *PartialProductList2TResponseBody `form:"products,omitempty" json:"products,omitempty" xml:"products,omitempty"`
	// Additional error message id status is 'Error' or 'Failed'
	ErrorMessage *string `form:"error-message,omitempty" json:"error-message,omitempty" xml:"error-message,omitempty"`
	// Reference to billable account
	Account *string `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"`
	// Reference to policy used
	Policy *string `form:"policy,omitempty" json:"policy,omitempty" xml:"policy,omitempty"`
	// DateTime job was submitted
	RequestedAt *string `form:"requested-at,omitempty" json:"requested-at,omitempty" xml:"requested-at,omitempty"`
	// DateTime job processing started
	StartedAt *string `form:"started-at,omitempty" json:"started-at,omitempty" xml:"started-at,omitempty"`
	// DateTime job processing finished
	FinishedAt *string              `form:"finished-at,omitempty" json:"finished-at,omitempty" xml:"finished-at,omitempty"`
	Links      []*LinkTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`
}

JobReadResponseBody is the type of the "service" service "job-read" 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 ParameterDefT

type ParameterDefT struct {
	Name        string           `form:"name" json:"name" xml:"name"`
	Label       *string          `form:"label,omitempty" json:"label,omitempty" xml:"label,omitempty"`
	Type        string           `form:"type" json:"type" xml:"type"`
	Description string           `form:"description" json:"description" xml:"description"`
	Unit        *string          `form:"unit,omitempty" json:"unit,omitempty" xml:"unit,omitempty"`
	Constant    *bool            `form:"constant,omitempty" json:"constant,omitempty" xml:"constant,omitempty"`
	Optional    *bool            `form:"optional,omitempty" json:"optional,omitempty" xml:"optional,omitempty"`
	Default     *string          `form:"default,omitempty" json:"default,omitempty" xml:"default,omitempty"`
	Options     []*ParameterOptT `form:"options,omitempty" json:"options,omitempty" xml:"options,omitempty"`
	Unary       *bool            `form:"unary,omitempty" json:"unary,omitempty" xml:"unary,omitempty"`
}

ParameterDefT is used to define fields on request body types.

type ParameterDefTResponseBody

type ParameterDefTResponseBody struct {
	Name        *string                      `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Label       *string                      `form:"label,omitempty" json:"label,omitempty" xml:"label,omitempty"`
	Type        *string                      `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"`
	Description *string                      `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	Unit        *string                      `form:"unit,omitempty" json:"unit,omitempty" xml:"unit,omitempty"`
	Constant    *bool                        `form:"constant,omitempty" json:"constant,omitempty" xml:"constant,omitempty"`
	Optional    *bool                        `form:"optional,omitempty" json:"optional,omitempty" xml:"optional,omitempty"`
	Default     *string                      `form:"default,omitempty" json:"default,omitempty" xml:"default,omitempty"`
	Options     []*ParameterOptTResponseBody `form:"options,omitempty" json:"options,omitempty" xml:"options,omitempty"`
	Unary       *bool                        `form:"unary,omitempty" json:"unary,omitempty" xml:"unary,omitempty"`
}

ParameterDefTResponseBody is used to define fields on response body types.

type ParameterOptT

type ParameterOptT struct {
	Value       *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
	Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
}

ParameterOptT is used to define fields on request body types.

type ParameterOptTResponseBody

type ParameterOptTResponseBody struct {
	Value       *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
	Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
}

ParameterOptTResponseBody is used to define fields on response body types.

type PartialProductList2TResponseBody added in v0.44.0

type PartialProductList2TResponseBody struct {
	// (Partial) list of products delivered by this order
	Items []*ProductListItem2TResponseBody `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"`
}

PartialProductList2TResponseBody is used to define fields on response body types.

type ProductListItem2TResponseBody added in v0.44.0

type ProductListItem2TResponseBody 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"`
}

ProductListItem2TResponseBody is used to define fields on response body types.

type ServiceCreateAlreadyCreatedResponseBody added in v0.44.0

type ServiceCreateAlreadyCreatedResponseBody struct {
	// ID of already existing 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"`
}

ServiceCreateAlreadyCreatedResponseBody is the type of the "service" service "service-create" endpoint HTTP response body for the "already-created" error.

type ServiceCreateBadRequestResponseBody added in v0.44.0

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

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

type ServiceCreateInvalidParameterResponseBody added in v0.44.0

type ServiceCreateInvalidParameterResponseBody 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"`
}

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

type ServiceCreateInvalidScopesResponseBody added in v0.44.0

type ServiceCreateInvalidScopesResponseBody 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"`
}

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

type ServiceCreateNotFoundResponseBody added in v0.44.0

type ServiceCreateNotFoundResponseBody 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"`
}

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

type ServiceCreateNotImplementedResponseBody added in v0.44.0

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

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

type ServiceCreateRequestBody added in v0.44.0

type ServiceCreateRequestBody struct {
	// type of controller used for this service
	ControllerSchema string `form:"controller-schema" json:"controller-schema" xml:"controller-schema"`
	// controller definition
	Controller any `form:"controller" json:"controller" xml:"controller"`
	// Reference to policy used
	Policy string `form:"policy" json:"policy" xml:"policy"`
	// ID
	ID string `form:"id" json:"id" xml:"id"`
	// Optional provider provided name
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// More detailed description of the service
	Description string `form:"description" json:"description" xml:"description"`
	// Optional tags defined for service to help in categorising them
	Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// Service parameter definitions
	Parameters []*ParameterDefT `form:"parameters" json:"parameters" xml:"parameters"`
}

ServiceCreateRequestBody is the type of the "service" service "service-create" endpoint HTTP request body.

func NewServiceCreateRequestBody added in v0.44.0

func NewServiceCreateRequestBody(p *service.ServiceCreatePayload) *ServiceCreateRequestBody

NewServiceCreateRequestBody builds the HTTP request body from the payload of the "service-create" endpoint of the "service" service.

type ServiceCreateResponseBody added in v0.44.0

type ServiceCreateResponseBody struct {
	// Service status
	Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	// type of controller used for this service
	ControllerSchema *string `form:"controller-schema,omitempty" json:"controller-schema,omitempty" xml:"controller-schema,omitempty"`
	// controller definition
	Controller any `form:"controller,omitempty" json:"controller,omitempty" xml:"controller,omitempty"`
	// Reference to billable account
	Account *string `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"`
	// Reference to policy used
	Policy *string `form:"policy,omitempty" json:"policy,omitempty" xml:"policy,omitempty"`
	// time this service has been available from
	ValidFrom *string `form:"valid-from,omitempty" json:"valid-from,omitempty" xml:"valid-from,omitempty"`
	// time this service has been available to
	ValidTo *string              `form:"valid-to,omitempty" json:"valid-to,omitempty" xml:"valid-to,omitempty"`
	Links   []*LinkTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`
	// ID
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Optional provider provided name
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// More detailed description of the service
	Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	// Optional tags defined for service to help in categorising them
	Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// Service parameter definitions
	Parameters []*ParameterDefTResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"`
}

ServiceCreateResponseBody is the type of the "service" service "service-create" endpoint HTTP response body.

type ServiceDeleteBadRequestResponseBody added in v0.44.0

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

ServiceDeleteBadRequestResponseBody is the type of the "service" service "service-delete" endpoint HTTP response body for the "bad-request" error.

type ServiceDeleteInvalidScopesResponseBody added in v0.44.0

type ServiceDeleteInvalidScopesResponseBody 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"`
}

ServiceDeleteInvalidScopesResponseBody is the type of the "service" service "service-delete" endpoint HTTP response body for the "invalid-scopes" error.

type ServiceDeleteNotImplementedResponseBody added in v0.44.0

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

ServiceDeleteNotImplementedResponseBody is the type of the "service" service "service-delete" endpoint HTTP response body for the "not-implemented" error.

type ServiceListBadRequestResponseBody added in v0.44.0

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

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

type ServiceListInvalidParameterResponseBody added in v0.44.0

type ServiceListInvalidParameterResponseBody 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"`
}

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

type ServiceListInvalidScopesResponseBody added in v0.44.0

type ServiceListInvalidScopesResponseBody 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"`
}

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

type ServiceListItemTResponseBody added in v0.44.0

type ServiceListItemTResponseBody 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"`
	// Optional description of the service
	Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	// Optional tags defined for service to help in categorising them
	Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// type of controller used for this service
	ControllerSchema *string `form:"controller-schema,omitempty" json:"controller-schema,omitempty" xml:"controller-schema,omitempty"`
	// time this service has been available from
	ValidFrom *string `form:"valid-from,omitempty" json:"valid-from,omitempty" xml:"valid-from,omitempty"`
	// time this service has been available to
	ValidTo *string `form:"valid-to,omitempty" json:"valid-to,omitempty" xml:"valid-to,omitempty"`
	Href    *string `json:"href,omitempty"`
}

ServiceListItemTResponseBody is used to define fields on response body types.

type ServiceListNotImplementedResponseBody added in v0.44.0

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

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

type ServiceListResponseBody added in v0.44.0

type ServiceListResponseBody struct {
	// Services
	Items []*ServiceListItemTResponseBody `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"`
}

ServiceListResponseBody is the type of the "service" service "service-list" endpoint HTTP response body.

type ServiceReadBadRequestResponseBody added in v0.44.0

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

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

type ServiceReadInvalidScopesResponseBody added in v0.44.0

type ServiceReadInvalidScopesResponseBody 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"`
}

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

type ServiceReadNotFoundResponseBody added in v0.44.0

type ServiceReadNotFoundResponseBody 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"`
}

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

type ServiceReadNotImplementedResponseBody added in v0.44.0

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

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

type ServiceReadResponseBody added in v0.44.0

type ServiceReadResponseBody struct {
	// Service status
	Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	// type of controller used for this service
	ControllerSchema *string `form:"controller-schema,omitempty" json:"controller-schema,omitempty" xml:"controller-schema,omitempty"`
	// controller definition
	Controller any `form:"controller,omitempty" json:"controller,omitempty" xml:"controller,omitempty"`
	// Reference to billable account
	Account *string `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"`
	// Reference to policy used
	Policy *string `form:"policy,omitempty" json:"policy,omitempty" xml:"policy,omitempty"`
	// time this service has been available from
	ValidFrom *string `form:"valid-from,omitempty" json:"valid-from,omitempty" xml:"valid-from,omitempty"`
	// time this service has been available to
	ValidTo *string              `form:"valid-to,omitempty" json:"valid-to,omitempty" xml:"valid-to,omitempty"`
	Links   []*LinkTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`
	// ID
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Optional provider provided name
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// More detailed description of the service
	Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	// Optional tags defined for service to help in categorising them
	Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// Service parameter definitions
	Parameters []*ParameterDefTResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"`
}

ServiceReadResponseBody is the type of the "service" service "service-read" endpoint HTTP response body.

type ServiceUpdateBadRequestResponseBody added in v0.44.0

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

ServiceUpdateBadRequestResponseBody is the type of the "service" service "service-update" endpoint HTTP response body for the "bad-request" error.

type ServiceUpdateInvalidParameterResponseBody added in v0.44.0

type ServiceUpdateInvalidParameterResponseBody 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"`
}

ServiceUpdateInvalidParameterResponseBody is the type of the "service" service "service-update" endpoint HTTP response body for the "invalid-parameter" error.

type ServiceUpdateInvalidScopesResponseBody added in v0.44.0

type ServiceUpdateInvalidScopesResponseBody 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"`
}

ServiceUpdateInvalidScopesResponseBody is the type of the "service" service "service-update" endpoint HTTP response body for the "invalid-scopes" error.

type ServiceUpdateNotFoundResponseBody added in v0.44.0

type ServiceUpdateNotFoundResponseBody 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"`
}

ServiceUpdateNotFoundResponseBody is the type of the "service" service "service-update" endpoint HTTP response body for the "not-found" error.

type ServiceUpdateNotImplementedResponseBody added in v0.44.0

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

ServiceUpdateNotImplementedResponseBody is the type of the "service" service "service-update" endpoint HTTP response body for the "not-implemented" error.

type ServiceUpdateRequestBody added in v0.44.0

type ServiceUpdateRequestBody struct {
	// type of controller used for this service
	ControllerSchema string `form:"controller-schema" json:"controller-schema" xml:"controller-schema"`
	// controller definition
	Controller any `form:"controller" json:"controller" xml:"controller"`
	// Reference to policy used
	Policy string `form:"policy" json:"policy" xml:"policy"`
	// ID
	ID string `form:"id" json:"id" xml:"id"`
	// Optional provider provided name
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// More detailed description of the service
	Description string `form:"description" json:"description" xml:"description"`
	// Optional tags defined for service to help in categorising them
	Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// Service parameter definitions
	Parameters []*ParameterDefT `form:"parameters" json:"parameters" xml:"parameters"`
}

ServiceUpdateRequestBody is the type of the "service" service "service-update" endpoint HTTP request body.

func NewServiceUpdateRequestBody added in v0.44.0

func NewServiceUpdateRequestBody(p *service.ServiceUpdatePayload) *ServiceUpdateRequestBody

NewServiceUpdateRequestBody builds the HTTP request body from the payload of the "service-update" endpoint of the "service" service.

type ServiceUpdateResponseBody added in v0.44.0

type ServiceUpdateResponseBody struct {
	// Service status
	Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	// type of controller used for this service
	ControllerSchema *string `form:"controller-schema,omitempty" json:"controller-schema,omitempty" xml:"controller-schema,omitempty"`
	// controller definition
	Controller any `form:"controller,omitempty" json:"controller,omitempty" xml:"controller,omitempty"`
	// Reference to billable account
	Account *string `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"`
	// Reference to policy used
	Policy *string `form:"policy,omitempty" json:"policy,omitempty" xml:"policy,omitempty"`
	// time this service has been available from
	ValidFrom *string `form:"valid-from,omitempty" json:"valid-from,omitempty" xml:"valid-from,omitempty"`
	// time this service has been available to
	ValidTo *string              `form:"valid-to,omitempty" json:"valid-to,omitempty" xml:"valid-to,omitempty"`
	Links   []*LinkTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`
	// ID
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Optional provider provided name
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// More detailed description of the service
	Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	// Optional tags defined for service to help in categorising them
	Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// Service parameter definitions
	Parameters []*ParameterDefTResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"`
}

ServiceUpdateResponseBody is the type of the "service" service "service-update" endpoint HTTP response body.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳