Documentation
¶
Index ¶
- func AddMetadataPath() string
- func BuildAddPayload(metadataAddBody string, metadataAddEntityID string, metadataAddSchema string, ...) (*metadata.AddPayload, error)
- func BuildListPayload(metadataListEntityID string, metadataListSchema string, ...) (*metadata.ListPayload, error)
- func BuildReadPayload(metadataReadID string, metadataReadJWT string) (*metadata.ReadPayload, error)
- func BuildRevokePayload(metadataRevokeID string, metadataRevokeJWT string) (*metadata.RevokePayload, error)
- func BuildUpdateOnePayload(metadataUpdateOneBody string, metadataUpdateOneEntityID string, ...) (*metadata.UpdateOnePayload, error)
- func BuildUpdateRecordPayload(metadataUpdateRecordBody string, metadataUpdateRecordID string, ...) (*metadata.UpdateRecordPayload, error)
- func DecodeAddResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeListResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeReadResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeRevokeResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeUpdateOneResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeUpdateRecordResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func EncodeAddRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeListRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeReadRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeRevokeRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeUpdateOneRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeUpdateRecordRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func ListMetadataPath() string
- func NewAddBadRequest(body *AddBadRequestResponseBody) *metadata.BadRequestT
- func NewAddInvalidCredential() *metadata.InvalidCredentialsT
- func NewAddInvalidParameter(body *AddInvalidParameterResponseBody) *metadata.InvalidParameterValue
- func NewAddInvalidScopes(body *AddInvalidScopesResponseBody) *metadata.InvalidScopesT
- func NewAddMetaRTViewOK(body *AddResponseBody) *metadataviews.AddMetaRTView
- func NewAddNotAuthorized() *metadata.UnauthorizedT
- func NewAddNotImplemented(body *AddNotImplementedResponseBody) *metadata.NotImplementedT
- func NewListBadRequest(body *ListBadRequestResponseBody) *metadata.BadRequestT
- func NewListInvalidCredential() *metadata.InvalidCredentialsT
- func NewListInvalidParameter(body *ListInvalidParameterResponseBody) *metadata.InvalidParameterValue
- func NewListInvalidScopes(body *ListInvalidScopesResponseBody) *metadata.InvalidScopesT
- func NewListMetaRTViewOK(body *ListResponseBody) *metadataviews.ListMetaRTView
- func NewListNotAuthorized() *metadata.UnauthorizedT
- func NewListNotImplemented(body *ListNotImplementedResponseBody) *metadata.NotImplementedT
- func NewReadBadRequest(body *ReadBadRequestResponseBody) *metadata.BadRequestT
- func NewReadInvalidCredential() *metadata.InvalidCredentialsT
- func NewReadInvalidScopes(body *ReadInvalidScopesResponseBody) *metadata.InvalidScopesT
- func NewReadMetadataRecordRTOK(body *ReadResponseBody) *metadataviews.MetadataRecordRTView
- func NewReadNotAuthorized() *metadata.UnauthorizedT
- func NewReadNotFound(body *ReadNotFoundResponseBody) *metadata.ResourceNotFoundT
- func NewReadNotImplemented(body *ReadNotImplementedResponseBody) *metadata.NotImplementedT
- func NewRevokeBadRequest(body *RevokeBadRequestResponseBody) *metadata.BadRequestT
- func NewRevokeInvalidCredential() *metadata.InvalidCredentialsT
- func NewRevokeInvalidParameter(body *RevokeInvalidParameterResponseBody) *metadata.InvalidParameterValue
- func NewRevokeInvalidScopes(body *RevokeInvalidScopesResponseBody) *metadata.InvalidScopesT
- func NewRevokeNotAuthorized() *metadata.UnauthorizedT
- func NewRevokeNotImplemented(body *RevokeNotImplementedResponseBody) *metadata.NotImplementedT
- func NewUpdateOneAddMetaRTOK(body *UpdateOneResponseBody) *metadataviews.AddMetaRTView
- func NewUpdateOneBadRequest(body *UpdateOneBadRequestResponseBody) *metadata.BadRequestT
- func NewUpdateOneInvalidCredential() *metadata.InvalidCredentialsT
- func NewUpdateOneInvalidParameter(body *UpdateOneInvalidParameterResponseBody) *metadata.InvalidParameterValue
- func NewUpdateOneInvalidScopes(body *UpdateOneInvalidScopesResponseBody) *metadata.InvalidScopesT
- func NewUpdateOneNotAuthorized() *metadata.UnauthorizedT
- func NewUpdateOneNotImplemented(body *UpdateOneNotImplementedResponseBody) *metadata.NotImplementedT
- func NewUpdateRecordAddMetaRTOK(body *UpdateRecordResponseBody) *metadataviews.AddMetaRTView
- func NewUpdateRecordBadRequest(body *UpdateRecordBadRequestResponseBody) *metadata.BadRequestT
- func NewUpdateRecordInvalidCredential() *metadata.InvalidCredentialsT
- func NewUpdateRecordInvalidParameter(body *UpdateRecordInvalidParameterResponseBody) *metadata.InvalidParameterValue
- func NewUpdateRecordInvalidScopes(body *UpdateRecordInvalidScopesResponseBody) *metadata.InvalidScopesT
- func NewUpdateRecordNotAuthorized() *metadata.UnauthorizedT
- func NewUpdateRecordNotImplemented(body *UpdateRecordNotImplementedResponseBody) *metadata.NotImplementedT
- func ReadMetadataPath(id string) string
- func RevokeMetadataPath(id string) string
- func UpdateOneMetadataPath() string
- func UpdateRecordMetadataPath(id string) string
- func ValidateAddBadRequestResponseBody(body *AddBadRequestResponseBody) (err error)
- func ValidateAddInvalidParameterResponseBody(body *AddInvalidParameterResponseBody) (err error)
- func ValidateAddInvalidScopesResponseBody(body *AddInvalidScopesResponseBody) (err error)
- func ValidateAddNotImplementedResponseBody(body *AddNotImplementedResponseBody) (err error)
- func ValidateListBadRequestResponseBody(body *ListBadRequestResponseBody) (err error)
- func ValidateListInvalidParameterResponseBody(body *ListInvalidParameterResponseBody) (err error)
- func ValidateListInvalidScopesResponseBody(body *ListInvalidScopesResponseBody) (err error)
- func ValidateListNotImplementedResponseBody(body *ListNotImplementedResponseBody) (err error)
- func ValidateMetadataListItemRTResponseBody(body *MetadataListItemRTResponseBody) (err error)
- func ValidateNavTResponseBody(body *NavTResponseBody) (err error)
- func ValidateReadBadRequestResponseBody(body *ReadBadRequestResponseBody) (err error)
- func ValidateReadInvalidScopesResponseBody(body *ReadInvalidScopesResponseBody) (err error)
- func ValidateReadNotFoundResponseBody(body *ReadNotFoundResponseBody) (err error)
- func ValidateReadNotImplementedResponseBody(body *ReadNotImplementedResponseBody) (err error)
- func ValidateRevokeBadRequestResponseBody(body *RevokeBadRequestResponseBody) (err error)
- func ValidateRevokeInvalidParameterResponseBody(body *RevokeInvalidParameterResponseBody) (err error)
- func ValidateRevokeInvalidScopesResponseBody(body *RevokeInvalidScopesResponseBody) (err error)
- func ValidateRevokeNotImplementedResponseBody(body *RevokeNotImplementedResponseBody) (err error)
- func ValidateUpdateOneBadRequestResponseBody(body *UpdateOneBadRequestResponseBody) (err error)
- func ValidateUpdateOneInvalidParameterResponseBody(body *UpdateOneInvalidParameterResponseBody) (err error)
- func ValidateUpdateOneInvalidScopesResponseBody(body *UpdateOneInvalidScopesResponseBody) (err error)
- func ValidateUpdateOneNotImplementedResponseBody(body *UpdateOneNotImplementedResponseBody) (err error)
- func ValidateUpdateRecordBadRequestResponseBody(body *UpdateRecordBadRequestResponseBody) (err error)
- func ValidateUpdateRecordInvalidParameterResponseBody(body *UpdateRecordInvalidParameterResponseBody) (err error)
- func ValidateUpdateRecordInvalidScopesResponseBody(body *UpdateRecordInvalidScopesResponseBody) (err error)
- func ValidateUpdateRecordNotImplementedResponseBody(body *UpdateRecordNotImplementedResponseBody) (err error)
- type AddBadRequestResponseBody
- type AddInvalidParameterResponseBody
- type AddInvalidScopesResponseBody
- type AddNotImplementedResponseBody
- type AddResponseBody
- type Client
- func (c *Client) Add() goa.Endpoint
- func (c *Client) BuildAddRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildListRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildReadRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildRevokeRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildUpdateOneRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildUpdateRecordRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) List() goa.Endpoint
- func (c *Client) Read() goa.Endpoint
- func (c *Client) Revoke() goa.Endpoint
- func (c *Client) UpdateOne() goa.Endpoint
- func (c *Client) UpdateRecord() goa.Endpoint
- type ListBadRequestResponseBody
- type ListInvalidParameterResponseBody
- type ListInvalidScopesResponseBody
- type ListNotImplementedResponseBody
- type ListResponseBody
- type MetadataListItemRTResponseBody
- type NavTResponseBody
- type ReadBadRequestResponseBody
- type ReadInvalidScopesResponseBody
- type ReadNotFoundResponseBody
- type ReadNotImplementedResponseBody
- type ReadResponseBody
- type RevokeBadRequestResponseBody
- type RevokeInvalidParameterResponseBody
- type RevokeInvalidScopesResponseBody
- type RevokeNotImplementedResponseBody
- type UpdateOneBadRequestResponseBody
- type UpdateOneInvalidParameterResponseBody
- type UpdateOneInvalidScopesResponseBody
- type UpdateOneNotImplementedResponseBody
- type UpdateOneResponseBody
- type UpdateRecordBadRequestResponseBody
- type UpdateRecordInvalidParameterResponseBody
- type UpdateRecordInvalidScopesResponseBody
- type UpdateRecordNotImplementedResponseBody
- type UpdateRecordResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMetadataPath ¶
func AddMetadataPath() string
AddMetadataPath returns the URL path to the metadata service add HTTP endpoint.
func BuildAddPayload ¶
func BuildAddPayload(metadataAddBody string, metadataAddEntityID string, metadataAddSchema string, metadataAddPolicyID string, metadataAddJWT string, metadataAddContentType string) (*metadata.AddPayload, error)
BuildAddPayload builds the payload for the metadata add endpoint from CLI flags.
func BuildListPayload ¶
func BuildListPayload(metadataListEntityID string, metadataListSchema string, metadataListAspectPath string, metadataListAtTime string, metadataListLimit string, metadataListFilter string, metadataListOrderBy string, metadataListOrderDesc string, metadataListPage string, metadataListJWT string) (*metadata.ListPayload, error)
BuildListPayload builds the payload for the metadata list endpoint from CLI flags.
func BuildReadPayload ¶
func BuildReadPayload(metadataReadID string, metadataReadJWT string) (*metadata.ReadPayload, error)
BuildReadPayload builds the payload for the metadata read endpoint from CLI flags.
func BuildRevokePayload ¶
func BuildRevokePayload(metadataRevokeID string, metadataRevokeJWT string) (*metadata.RevokePayload, error)
BuildRevokePayload builds the payload for the metadata revoke endpoint from CLI flags.
func BuildUpdateOnePayload ¶ added in v0.27.0
func BuildUpdateOnePayload(metadataUpdateOneBody string, metadataUpdateOneEntityID string, metadataUpdateOneSchema string, metadataUpdateOnePolicyID string, metadataUpdateOneJWT string, metadataUpdateOneContentType string) (*metadata.UpdateOnePayload, error)
BuildUpdateOnePayload builds the payload for the metadata update_one endpoint from CLI flags.
func BuildUpdateRecordPayload ¶ added in v0.27.0
func BuildUpdateRecordPayload(metadataUpdateRecordBody string, metadataUpdateRecordID string, metadataUpdateRecordEntityID string, metadataUpdateRecordSchema string, metadataUpdateRecordPolicyID string, metadataUpdateRecordJWT string, metadataUpdateRecordContentType string) (*metadata.UpdateRecordPayload, error)
BuildUpdateRecordPayload builds the payload for the metadata update_record endpoint from CLI flags.
func DecodeAddResponse ¶
func DecodeAddResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeAddResponse returns a decoder for responses returned by the metadata add endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAddResponse may return the following errors:
- "bad-request" (type *metadata.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *metadata.InvalidCredentialsT): http.StatusBadRequest
- "invalid-parameter" (type *metadata.InvalidParameterValue): http.StatusUnprocessableEntity
- "invalid-scopes" (type *metadata.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *metadata.NotImplementedT): http.StatusNotImplemented
- "not-authorized" (type *metadata.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeListResponse ¶
func DecodeListResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeListResponse returns a decoder for responses returned by the metadata list endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListResponse may return the following errors:
- "bad-request" (type *metadata.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *metadata.InvalidCredentialsT): http.StatusBadRequest
- "invalid-parameter" (type *metadata.InvalidParameterValue): http.StatusUnprocessableEntity
- "invalid-scopes" (type *metadata.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *metadata.NotImplementedT): http.StatusNotImplemented
- "not-authorized" (type *metadata.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeReadResponse ¶
func DecodeReadResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeReadResponse returns a decoder for responses returned by the metadata read endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeReadResponse may return the following errors:
- "bad-request" (type *metadata.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *metadata.InvalidCredentialsT): http.StatusBadRequest
- "invalid-scopes" (type *metadata.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *metadata.NotImplementedT): http.StatusNotImplemented
- "not-found" (type *metadata.ResourceNotFoundT): http.StatusNotFound
- "not-authorized" (type *metadata.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeRevokeResponse ¶
func DecodeRevokeResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeRevokeResponse returns a decoder for responses returned by the metadata revoke endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeRevokeResponse may return the following errors:
- "bad-request" (type *metadata.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *metadata.InvalidCredentialsT): http.StatusBadRequest
- "invalid-parameter" (type *metadata.InvalidParameterValue): http.StatusUnprocessableEntity
- "invalid-scopes" (type *metadata.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *metadata.NotImplementedT): http.StatusNotImplemented
- "not-authorized" (type *metadata.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeUpdateOneResponse ¶ added in v0.27.0
func DecodeUpdateOneResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeUpdateOneResponse returns a decoder for responses returned by the metadata update_one endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUpdateOneResponse may return the following errors:
- "bad-request" (type *metadata.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *metadata.InvalidCredentialsT): http.StatusBadRequest
- "invalid-parameter" (type *metadata.InvalidParameterValue): http.StatusUnprocessableEntity
- "invalid-scopes" (type *metadata.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *metadata.NotImplementedT): http.StatusNotImplemented
- "not-authorized" (type *metadata.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeUpdateRecordResponse ¶ added in v0.27.0
func DecodeUpdateRecordResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeUpdateRecordResponse returns a decoder for responses returned by the metadata update_record endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUpdateRecordResponse may return the following errors:
- "bad-request" (type *metadata.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *metadata.InvalidCredentialsT): http.StatusBadRequest
- "invalid-parameter" (type *metadata.InvalidParameterValue): http.StatusUnprocessableEntity
- "invalid-scopes" (type *metadata.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *metadata.NotImplementedT): http.StatusNotImplemented
- "not-authorized" (type *metadata.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func EncodeAddRequest ¶
func EncodeAddRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeAddRequest returns an encoder for requests sent to the metadata add server.
func EncodeListRequest ¶
func EncodeListRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeListRequest returns an encoder for requests sent to the metadata list server.
func EncodeReadRequest ¶
func EncodeReadRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeReadRequest returns an encoder for requests sent to the metadata read server.
func EncodeRevokeRequest ¶
func EncodeRevokeRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeRevokeRequest returns an encoder for requests sent to the metadata revoke server.
func EncodeUpdateOneRequest ¶ added in v0.27.0
func EncodeUpdateOneRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeUpdateOneRequest returns an encoder for requests sent to the metadata update_one server.
func EncodeUpdateRecordRequest ¶ added in v0.27.0
func EncodeUpdateRecordRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeUpdateRecordRequest returns an encoder for requests sent to the metadata update_record server.
func ListMetadataPath ¶
func ListMetadataPath() string
ListMetadataPath returns the URL path to the metadata service list HTTP endpoint.
func NewAddBadRequest ¶
func NewAddBadRequest(body *AddBadRequestResponseBody) *metadata.BadRequestT
NewAddBadRequest builds a metadata service add endpoint bad-request error.
func NewAddInvalidCredential ¶
func NewAddInvalidCredential() *metadata.InvalidCredentialsT
NewAddInvalidCredential builds a metadata service add endpoint invalid-credential error.
func NewAddInvalidParameter ¶
func NewAddInvalidParameter(body *AddInvalidParameterResponseBody) *metadata.InvalidParameterValue
NewAddInvalidParameter builds a metadata service add endpoint invalid-parameter error.
func NewAddInvalidScopes ¶
func NewAddInvalidScopes(body *AddInvalidScopesResponseBody) *metadata.InvalidScopesT
NewAddInvalidScopes builds a metadata service add endpoint invalid-scopes error.
func NewAddMetaRTViewOK ¶
func NewAddMetaRTViewOK(body *AddResponseBody) *metadataviews.AddMetaRTView
NewAddMetaRTViewOK builds a "metadata" service "add" endpoint result from a HTTP "OK" response.
func NewAddNotAuthorized ¶
func NewAddNotAuthorized() *metadata.UnauthorizedT
NewAddNotAuthorized builds a metadata service add endpoint not-authorized error.
func NewAddNotImplemented ¶
func NewAddNotImplemented(body *AddNotImplementedResponseBody) *metadata.NotImplementedT
NewAddNotImplemented builds a metadata service add endpoint not-implemented error.
func NewListBadRequest ¶
func NewListBadRequest(body *ListBadRequestResponseBody) *metadata.BadRequestT
NewListBadRequest builds a metadata service list endpoint bad-request error.
func NewListInvalidCredential ¶
func NewListInvalidCredential() *metadata.InvalidCredentialsT
NewListInvalidCredential builds a metadata service list endpoint invalid-credential error.
func NewListInvalidParameter ¶
func NewListInvalidParameter(body *ListInvalidParameterResponseBody) *metadata.InvalidParameterValue
NewListInvalidParameter builds a metadata service list endpoint invalid-parameter error.
func NewListInvalidScopes ¶
func NewListInvalidScopes(body *ListInvalidScopesResponseBody) *metadata.InvalidScopesT
NewListInvalidScopes builds a metadata service list endpoint invalid-scopes error.
func NewListMetaRTViewOK ¶
func NewListMetaRTViewOK(body *ListResponseBody) *metadataviews.ListMetaRTView
NewListMetaRTViewOK builds a "metadata" service "list" endpoint result from a HTTP "OK" response.
func NewListNotAuthorized ¶
func NewListNotAuthorized() *metadata.UnauthorizedT
NewListNotAuthorized builds a metadata service list endpoint not-authorized error.
func NewListNotImplemented ¶
func NewListNotImplemented(body *ListNotImplementedResponseBody) *metadata.NotImplementedT
NewListNotImplemented builds a metadata service list endpoint not-implemented error.
func NewReadBadRequest ¶
func NewReadBadRequest(body *ReadBadRequestResponseBody) *metadata.BadRequestT
NewReadBadRequest builds a metadata service read endpoint bad-request error.
func NewReadInvalidCredential ¶
func NewReadInvalidCredential() *metadata.InvalidCredentialsT
NewReadInvalidCredential builds a metadata service read endpoint invalid-credential error.
func NewReadInvalidScopes ¶
func NewReadInvalidScopes(body *ReadInvalidScopesResponseBody) *metadata.InvalidScopesT
NewReadInvalidScopes builds a metadata service read endpoint invalid-scopes error.
func NewReadMetadataRecordRTOK ¶
func NewReadMetadataRecordRTOK(body *ReadResponseBody) *metadataviews.MetadataRecordRTView
NewReadMetadataRecordRTOK builds a "metadata" service "read" endpoint result from a HTTP "OK" response.
func NewReadNotAuthorized ¶
func NewReadNotAuthorized() *metadata.UnauthorizedT
NewReadNotAuthorized builds a metadata service read endpoint not-authorized error.
func NewReadNotFound ¶
func NewReadNotFound(body *ReadNotFoundResponseBody) *metadata.ResourceNotFoundT
NewReadNotFound builds a metadata service read endpoint not-found error.
func NewReadNotImplemented ¶
func NewReadNotImplemented(body *ReadNotImplementedResponseBody) *metadata.NotImplementedT
NewReadNotImplemented builds a metadata service read endpoint not-implemented error.
func NewRevokeBadRequest ¶
func NewRevokeBadRequest(body *RevokeBadRequestResponseBody) *metadata.BadRequestT
NewRevokeBadRequest builds a metadata service revoke endpoint bad-request error.
func NewRevokeInvalidCredential ¶
func NewRevokeInvalidCredential() *metadata.InvalidCredentialsT
NewRevokeInvalidCredential builds a metadata service revoke endpoint invalid-credential error.
func NewRevokeInvalidParameter ¶
func NewRevokeInvalidParameter(body *RevokeInvalidParameterResponseBody) *metadata.InvalidParameterValue
NewRevokeInvalidParameter builds a metadata service revoke endpoint invalid-parameter error.
func NewRevokeInvalidScopes ¶
func NewRevokeInvalidScopes(body *RevokeInvalidScopesResponseBody) *metadata.InvalidScopesT
NewRevokeInvalidScopes builds a metadata service revoke endpoint invalid-scopes error.
func NewRevokeNotAuthorized ¶
func NewRevokeNotAuthorized() *metadata.UnauthorizedT
NewRevokeNotAuthorized builds a metadata service revoke endpoint not-authorized error.
func NewRevokeNotImplemented ¶
func NewRevokeNotImplemented(body *RevokeNotImplementedResponseBody) *metadata.NotImplementedT
NewRevokeNotImplemented builds a metadata service revoke endpoint not-implemented error.
func NewUpdateOneAddMetaRTOK ¶ added in v0.27.0
func NewUpdateOneAddMetaRTOK(body *UpdateOneResponseBody) *metadataviews.AddMetaRTView
NewUpdateOneAddMetaRTOK builds a "metadata" service "update_one" endpoint result from a HTTP "OK" response.
func NewUpdateOneBadRequest ¶ added in v0.27.0
func NewUpdateOneBadRequest(body *UpdateOneBadRequestResponseBody) *metadata.BadRequestT
NewUpdateOneBadRequest builds a metadata service update_one endpoint bad-request error.
func NewUpdateOneInvalidCredential ¶ added in v0.27.0
func NewUpdateOneInvalidCredential() *metadata.InvalidCredentialsT
NewUpdateOneInvalidCredential builds a metadata service update_one endpoint invalid-credential error.
func NewUpdateOneInvalidParameter ¶ added in v0.27.0
func NewUpdateOneInvalidParameter(body *UpdateOneInvalidParameterResponseBody) *metadata.InvalidParameterValue
NewUpdateOneInvalidParameter builds a metadata service update_one endpoint invalid-parameter error.
func NewUpdateOneInvalidScopes ¶ added in v0.27.0
func NewUpdateOneInvalidScopes(body *UpdateOneInvalidScopesResponseBody) *metadata.InvalidScopesT
NewUpdateOneInvalidScopes builds a metadata service update_one endpoint invalid-scopes error.
func NewUpdateOneNotAuthorized ¶ added in v0.27.0
func NewUpdateOneNotAuthorized() *metadata.UnauthorizedT
NewUpdateOneNotAuthorized builds a metadata service update_one endpoint not-authorized error.
func NewUpdateOneNotImplemented ¶ added in v0.27.0
func NewUpdateOneNotImplemented(body *UpdateOneNotImplementedResponseBody) *metadata.NotImplementedT
NewUpdateOneNotImplemented builds a metadata service update_one endpoint not-implemented error.
func NewUpdateRecordAddMetaRTOK ¶ added in v0.27.0
func NewUpdateRecordAddMetaRTOK(body *UpdateRecordResponseBody) *metadataviews.AddMetaRTView
NewUpdateRecordAddMetaRTOK builds a "metadata" service "update_record" endpoint result from a HTTP "OK" response.
func NewUpdateRecordBadRequest ¶ added in v0.27.0
func NewUpdateRecordBadRequest(body *UpdateRecordBadRequestResponseBody) *metadata.BadRequestT
NewUpdateRecordBadRequest builds a metadata service update_record endpoint bad-request error.
func NewUpdateRecordInvalidCredential ¶ added in v0.27.0
func NewUpdateRecordInvalidCredential() *metadata.InvalidCredentialsT
NewUpdateRecordInvalidCredential builds a metadata service update_record endpoint invalid-credential error.
func NewUpdateRecordInvalidParameter ¶ added in v0.27.0
func NewUpdateRecordInvalidParameter(body *UpdateRecordInvalidParameterResponseBody) *metadata.InvalidParameterValue
NewUpdateRecordInvalidParameter builds a metadata service update_record endpoint invalid-parameter error.
func NewUpdateRecordInvalidScopes ¶ added in v0.27.0
func NewUpdateRecordInvalidScopes(body *UpdateRecordInvalidScopesResponseBody) *metadata.InvalidScopesT
NewUpdateRecordInvalidScopes builds a metadata service update_record endpoint invalid-scopes error.
func NewUpdateRecordNotAuthorized ¶ added in v0.27.0
func NewUpdateRecordNotAuthorized() *metadata.UnauthorizedT
NewUpdateRecordNotAuthorized builds a metadata service update_record endpoint not-authorized error.
func NewUpdateRecordNotImplemented ¶ added in v0.27.0
func NewUpdateRecordNotImplemented(body *UpdateRecordNotImplementedResponseBody) *metadata.NotImplementedT
NewUpdateRecordNotImplemented builds a metadata service update_record endpoint not-implemented error.
func ReadMetadataPath ¶
ReadMetadataPath returns the URL path to the metadata service read HTTP endpoint.
func RevokeMetadataPath ¶
RevokeMetadataPath returns the URL path to the metadata service revoke HTTP endpoint.
func UpdateOneMetadataPath ¶ added in v0.27.0
func UpdateOneMetadataPath() string
UpdateOneMetadataPath returns the URL path to the metadata service update_one HTTP endpoint.
func UpdateRecordMetadataPath ¶ added in v0.27.0
UpdateRecordMetadataPath returns the URL path to the metadata service update_record HTTP endpoint.
func ValidateAddBadRequestResponseBody ¶
func ValidateAddBadRequestResponseBody(body *AddBadRequestResponseBody) (err error)
ValidateAddBadRequestResponseBody runs the validations defined on add_bad-request_response_body
func ValidateAddInvalidParameterResponseBody ¶
func ValidateAddInvalidParameterResponseBody(body *AddInvalidParameterResponseBody) (err error)
ValidateAddInvalidParameterResponseBody runs the validations defined on add_invalid-parameter_response_body
func ValidateAddInvalidScopesResponseBody ¶
func ValidateAddInvalidScopesResponseBody(body *AddInvalidScopesResponseBody) (err error)
ValidateAddInvalidScopesResponseBody runs the validations defined on add_invalid-scopes_response_body
func ValidateAddNotImplementedResponseBody ¶
func ValidateAddNotImplementedResponseBody(body *AddNotImplementedResponseBody) (err error)
ValidateAddNotImplementedResponseBody runs the validations defined on add_not-implemented_response_body
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 ValidateMetadataListItemRTResponseBody ¶
func ValidateMetadataListItemRTResponseBody(body *MetadataListItemRTResponseBody) (err error)
ValidateMetadataListItemRTResponseBody runs the validations defined on MetadataListItemRTResponseBody
func ValidateNavTResponseBody ¶
func ValidateNavTResponseBody(body *NavTResponseBody) (err error)
ValidateNavTResponseBody runs the validations defined on NavTResponseBody
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 ValidateRevokeBadRequestResponseBody ¶
func ValidateRevokeBadRequestResponseBody(body *RevokeBadRequestResponseBody) (err error)
ValidateRevokeBadRequestResponseBody runs the validations defined on revoke_bad-request_response_body
func ValidateRevokeInvalidParameterResponseBody ¶
func ValidateRevokeInvalidParameterResponseBody(body *RevokeInvalidParameterResponseBody) (err error)
ValidateRevokeInvalidParameterResponseBody runs the validations defined on revoke_invalid-parameter_response_body
func ValidateRevokeInvalidScopesResponseBody ¶
func ValidateRevokeInvalidScopesResponseBody(body *RevokeInvalidScopesResponseBody) (err error)
ValidateRevokeInvalidScopesResponseBody runs the validations defined on revoke_invalid-scopes_response_body
func ValidateRevokeNotImplementedResponseBody ¶
func ValidateRevokeNotImplementedResponseBody(body *RevokeNotImplementedResponseBody) (err error)
ValidateRevokeNotImplementedResponseBody runs the validations defined on revoke_not-implemented_response_body
func ValidateUpdateOneBadRequestResponseBody ¶ added in v0.27.0
func ValidateUpdateOneBadRequestResponseBody(body *UpdateOneBadRequestResponseBody) (err error)
ValidateUpdateOneBadRequestResponseBody runs the validations defined on update_one_bad-request_response_body
func ValidateUpdateOneInvalidParameterResponseBody ¶ added in v0.27.0
func ValidateUpdateOneInvalidParameterResponseBody(body *UpdateOneInvalidParameterResponseBody) (err error)
ValidateUpdateOneInvalidParameterResponseBody runs the validations defined on update_one_invalid-parameter_response_body
func ValidateUpdateOneInvalidScopesResponseBody ¶ added in v0.27.0
func ValidateUpdateOneInvalidScopesResponseBody(body *UpdateOneInvalidScopesResponseBody) (err error)
ValidateUpdateOneInvalidScopesResponseBody runs the validations defined on update_one_invalid-scopes_response_body
func ValidateUpdateOneNotImplementedResponseBody ¶ added in v0.27.0
func ValidateUpdateOneNotImplementedResponseBody(body *UpdateOneNotImplementedResponseBody) (err error)
ValidateUpdateOneNotImplementedResponseBody runs the validations defined on update_one_not-implemented_response_body
func ValidateUpdateRecordBadRequestResponseBody ¶ added in v0.27.0
func ValidateUpdateRecordBadRequestResponseBody(body *UpdateRecordBadRequestResponseBody) (err error)
ValidateUpdateRecordBadRequestResponseBody runs the validations defined on update_record_bad-request_response_body
func ValidateUpdateRecordInvalidParameterResponseBody ¶ added in v0.27.0
func ValidateUpdateRecordInvalidParameterResponseBody(body *UpdateRecordInvalidParameterResponseBody) (err error)
ValidateUpdateRecordInvalidParameterResponseBody runs the validations defined on update_record_invalid-parameter_response_body
func ValidateUpdateRecordInvalidScopesResponseBody ¶ added in v0.27.0
func ValidateUpdateRecordInvalidScopesResponseBody(body *UpdateRecordInvalidScopesResponseBody) (err error)
ValidateUpdateRecordInvalidScopesResponseBody runs the validations defined on update_record_invalid-scopes_response_body
func ValidateUpdateRecordNotImplementedResponseBody ¶ added in v0.27.0
func ValidateUpdateRecordNotImplementedResponseBody(body *UpdateRecordNotImplementedResponseBody) (err error)
ValidateUpdateRecordNotImplementedResponseBody runs the validations defined on update_record_not-implemented_response_body
Types ¶
type AddBadRequestResponseBody ¶
type AddBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
AddBadRequestResponseBody is the type of the "metadata" service "add" endpoint HTTP response body for the "bad-request" error.
type AddInvalidParameterResponseBody ¶
type AddInvalidParameterResponseBody 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"` }
AddInvalidParameterResponseBody is the type of the "metadata" service "add" endpoint HTTP response body for the "invalid-parameter" error.
type AddInvalidScopesResponseBody ¶
type AddInvalidScopesResponseBody 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"` }
AddInvalidScopesResponseBody is the type of the "metadata" service "add" endpoint HTTP response body for the "invalid-scopes" error.
type AddNotImplementedResponseBody ¶
type AddNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
AddNotImplementedResponseBody is the type of the "metadata" service "add" endpoint HTTP response body for the "not-implemented" error.
type AddResponseBody ¶
type AddResponseBody struct { // Reference to record created RecordID *string `form:"record-id,omitempty" json:"record-id,omitempty" xml:"record-id,omitempty"` }
AddResponseBody is the type of the "metadata" service "add" endpoint HTTP response body.
type Client ¶
type Client struct { // Read Doer is the HTTP client used to make requests to the read endpoint. ReadDoer goahttp.Doer // List Doer is the HTTP client used to make requests to the list endpoint. ListDoer goahttp.Doer // Add Doer is the HTTP client used to make requests to the add endpoint. AddDoer goahttp.Doer // UpdateOne Doer is the HTTP client used to make requests to the update_one // endpoint. UpdateOneDoer goahttp.Doer // UpdateRecord Doer is the HTTP client used to make requests to the // update_record endpoint. UpdateRecordDoer goahttp.Doer // Revoke Doer is the HTTP client used to make requests to the revoke endpoint. RevokeDoer 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 metadata 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 metadata service servers.
func (*Client) Add ¶
Add returns an endpoint that makes HTTP requests to the metadata service add server.
func (*Client) BuildAddRequest ¶
BuildAddRequest instantiates a HTTP request object with method and path set to call the "metadata" service "add" endpoint
func (*Client) BuildListRequest ¶
BuildListRequest instantiates a HTTP request object with method and path set to call the "metadata" service "list" endpoint
func (*Client) BuildReadRequest ¶
BuildReadRequest instantiates a HTTP request object with method and path set to call the "metadata" service "read" endpoint
func (*Client) BuildRevokeRequest ¶
BuildRevokeRequest instantiates a HTTP request object with method and path set to call the "metadata" service "revoke" endpoint
func (*Client) BuildUpdateOneRequest ¶ added in v0.27.0
BuildUpdateOneRequest instantiates a HTTP request object with method and path set to call the "metadata" service "update_one" endpoint
func (*Client) BuildUpdateRecordRequest ¶ added in v0.27.0
func (c *Client) BuildUpdateRecordRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildUpdateRecordRequest instantiates a HTTP request object with method and path set to call the "metadata" service "update_record" endpoint
func (*Client) List ¶
List returns an endpoint that makes HTTP requests to the metadata service list server.
func (*Client) Read ¶
Read returns an endpoint that makes HTTP requests to the metadata service read server.
func (*Client) Revoke ¶
Revoke returns an endpoint that makes HTTP requests to the metadata service revoke server.
func (*Client) UpdateOne ¶ added in v0.27.0
UpdateOne returns an endpoint that makes HTTP requests to the metadata service update_one server.
func (*Client) UpdateRecord ¶ added in v0.27.0
UpdateRecord returns an endpoint that makes HTTP requests to the metadata service update_record server.
type ListBadRequestResponseBody ¶
type ListBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ListBadRequestResponseBody is the type of the "metadata" 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 "metadata" 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 "metadata" 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 "metadata" service "list" endpoint HTTP response body for the "not-implemented" error.
type ListResponseBody ¶
type ListResponseBody struct { // List of metadata records Records []*MetadataListItemRTResponseBody `form:"records,omitempty" json:"records,omitempty" xml:"records,omitempty"` // Entity for which to request metadata EntityID *string `form:"entity-id,omitempty" json:"entity-id,omitempty" xml:"entity-id,omitempty"` // Optional schema to filter on Schema *string `form:"schema,omitempty" json:"schema,omitempty" xml:"schema,omitempty"` // Optional json path to further filter on returned list AspectPath *string `form:"aspect-path,omitempty" json:"aspect-path,omitempty" xml:"aspect-path,omitempty"` // Time at which this list was valid AtTime *string `form:"at-time,omitempty" json:"at-time,omitempty" xml:"at-time,omitempty"` // Navigation links Links *NavTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` }
ListResponseBody is the type of the "metadata" service "list" endpoint HTTP response body.
type MetadataListItemRTResponseBody ¶
type MetadataListItemRTResponseBody struct { // Record ID RecordID *string `form:"record-id,omitempty" json:"record-id,omitempty" xml:"record-id,omitempty"` // Entity ID Entity *string `form:"entity,omitempty" json:"entity,omitempty" xml:"entity,omitempty"` // Schema ID Schema *string `form:"schema,omitempty" json:"schema,omitempty" xml:"schema,omitempty"` // Attached metadata aspect Aspect interface{} `form:"aspect,omitempty" json:"aspect,omitempty" xml:"aspect,omitempty"` // If aspectPath was defined, this is what matched the query AspectContext *string `form:"aspectContext,omitempty" json:"aspectContext,omitempty" xml:"aspectContext,omitempty"` }
MetadataListItemRTResponseBody is used to define fields on response body types.
type NavTResponseBody ¶
type NavTResponseBody struct {}
NavTResponseBody is used to define fields on response body types.
type ReadBadRequestResponseBody ¶
type ReadBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ReadBadRequestResponseBody is the type of the "metadata" 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 "metadata" 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 "metadata" 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 "metadata" service "read" endpoint HTTP response body for the "not-implemented" error.
type ReadResponseBody ¶
type ReadResponseBody struct { // Record ID RecordID *string `form:"record-id,omitempty" json:"record-id,omitempty" xml:"record-id,omitempty"` // Entity ID Entity *string `form:"entity,omitempty" json:"entity,omitempty" xml:"entity,omitempty"` // Schema ID Schema *string `form:"schema,omitempty" json:"schema,omitempty" xml:"schema,omitempty"` // Attached metadata aspect Aspect interface{} `form:"aspect,omitempty" json:"aspect,omitempty" xml:"aspect,omitempty"` // Time this record was asserted ValidFrom *string `form:"valid-from,omitempty" json:"valid-from,omitempty" xml:"valid-from,omitempty"` // Time this record was revoked ValidTo *string `form:"valid-to,omitempty" json:"valid-to,omitempty" xml:"valid-to,omitempty"` // Entity asserting this metadata record at 'valid-from' Asserter *string `form:"asserter,omitempty" json:"asserter,omitempty" xml:"asserter,omitempty"` // Entity revoking this record at 'valid-to' Revoker *string `form:"revoker,omitempty" json:"revoker,omitempty" xml:"revoker,omitempty"` }
ReadResponseBody is the type of the "metadata" service "read" endpoint HTTP response body.
type RevokeBadRequestResponseBody ¶
type RevokeBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
RevokeBadRequestResponseBody is the type of the "metadata" service "revoke" endpoint HTTP response body for the "bad-request" error.
type RevokeInvalidParameterResponseBody ¶
type RevokeInvalidParameterResponseBody 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"` }
RevokeInvalidParameterResponseBody is the type of the "metadata" service "revoke" endpoint HTTP response body for the "invalid-parameter" error.
type RevokeInvalidScopesResponseBody ¶
type RevokeInvalidScopesResponseBody 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"` }
RevokeInvalidScopesResponseBody is the type of the "metadata" service "revoke" endpoint HTTP response body for the "invalid-scopes" error.
type RevokeNotImplementedResponseBody ¶
type RevokeNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
RevokeNotImplementedResponseBody is the type of the "metadata" service "revoke" endpoint HTTP response body for the "not-implemented" error.
type UpdateOneBadRequestResponseBody ¶ added in v0.27.0
type UpdateOneBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UpdateOneBadRequestResponseBody is the type of the "metadata" service "update_one" endpoint HTTP response body for the "bad-request" error.
type UpdateOneInvalidParameterResponseBody ¶ added in v0.27.0
type UpdateOneInvalidParameterResponseBody 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"` }
UpdateOneInvalidParameterResponseBody is the type of the "metadata" service "update_one" endpoint HTTP response body for the "invalid-parameter" error.
type UpdateOneInvalidScopesResponseBody ¶ added in v0.27.0
type UpdateOneInvalidScopesResponseBody 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"` }
UpdateOneInvalidScopesResponseBody is the type of the "metadata" service "update_one" endpoint HTTP response body for the "invalid-scopes" error.
type UpdateOneNotImplementedResponseBody ¶ added in v0.27.0
type UpdateOneNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UpdateOneNotImplementedResponseBody is the type of the "metadata" service "update_one" endpoint HTTP response body for the "not-implemented" error.
type UpdateOneResponseBody ¶ added in v0.27.0
type UpdateOneResponseBody struct { // Reference to record created RecordID *string `form:"record-id,omitempty" json:"record-id,omitempty" xml:"record-id,omitempty"` }
UpdateOneResponseBody is the type of the "metadata" service "update_one" endpoint HTTP response body.
type UpdateRecordBadRequestResponseBody ¶ added in v0.27.0
type UpdateRecordBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UpdateRecordBadRequestResponseBody is the type of the "metadata" service "update_record" endpoint HTTP response body for the "bad-request" error.
type UpdateRecordInvalidParameterResponseBody ¶ added in v0.27.0
type UpdateRecordInvalidParameterResponseBody 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"` }
UpdateRecordInvalidParameterResponseBody is the type of the "metadata" service "update_record" endpoint HTTP response body for the "invalid-parameter" error.
type UpdateRecordInvalidScopesResponseBody ¶ added in v0.27.0
type UpdateRecordInvalidScopesResponseBody 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"` }
UpdateRecordInvalidScopesResponseBody is the type of the "metadata" service "update_record" endpoint HTTP response body for the "invalid-scopes" error.
type UpdateRecordNotImplementedResponseBody ¶ added in v0.27.0
type UpdateRecordNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UpdateRecordNotImplementedResponseBody is the type of the "metadata" service "update_record" endpoint HTTP response body for the "not-implemented" error.
type UpdateRecordResponseBody ¶ added in v0.27.0
type UpdateRecordResponseBody struct { // Reference to record created RecordID *string `form:"record-id,omitempty" json:"record-id,omitempty" xml:"record-id,omitempty"` }
UpdateRecordResponseBody is the type of the "metadata" service "update_record" endpoint HTTP response body.