Documentation ¶
Index ¶
- func BuildDataPayload(recordsDataRecordID string, recordsDataAuth string) (*records.DataPayload, error)
- func BuildMetaPayload(recordsMetaRecordID string, recordsMetaAuth string) (*records.MetaPayload, error)
- func BuildResolvedPayload(recordsResolvedRecordID string, recordsResolvedAuth string) (*records.ResolvedPayload, error)
- func DataRecordsPath(recordID int64) string
- func DecodeDataResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeMetaResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeResolvedResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func EncodeDataRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeMetaRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeResolvedRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func MetaRecordsPath(recordID int64) string
- func NewDataBadRequest(body *DataBadRequestResponseBody) *goa.ServiceError
- func NewDataForbidden(body *DataForbiddenResponseBody) *goa.ServiceError
- func NewDataNotFound(body *DataNotFoundResponseBody) *goa.ServiceError
- func NewDataResultOK(body interface{}) *records.DataResult
- func NewDataUnauthorized(body *DataUnauthorizedResponseBody) *goa.ServiceError
- func NewMetaBadRequest(body *MetaBadRequestResponseBody) *goa.ServiceError
- func NewMetaForbidden(body *MetaForbiddenResponseBody) *goa.ServiceError
- func NewMetaNotFound(body *MetaNotFoundResponseBody) *goa.ServiceError
- func NewMetaResultOK(body interface{}) *records.MetaResult
- func NewMetaUnauthorized(body *MetaUnauthorizedResponseBody) *goa.ServiceError
- func NewResolvedBadRequest(body *ResolvedBadRequestResponseBody) *goa.ServiceError
- func NewResolvedForbidden(body *ResolvedForbiddenResponseBody) *goa.ServiceError
- func NewResolvedNotFound(body *ResolvedNotFoundResponseBody) *goa.ServiceError
- func NewResolvedResultOK(body interface{}) *records.ResolvedResult
- func NewResolvedUnauthorized(body *ResolvedUnauthorizedResponseBody) *goa.ServiceError
- func ResolvedRecordsPath(recordID int64) string
- func ValidateDataBadRequestResponseBody(body *DataBadRequestResponseBody) (err error)
- func ValidateDataForbiddenResponseBody(body *DataForbiddenResponseBody) (err error)
- func ValidateDataNotFoundResponseBody(body *DataNotFoundResponseBody) (err error)
- func ValidateDataUnauthorizedResponseBody(body *DataUnauthorizedResponseBody) (err error)
- func ValidateMetaBadRequestResponseBody(body *MetaBadRequestResponseBody) (err error)
- func ValidateMetaForbiddenResponseBody(body *MetaForbiddenResponseBody) (err error)
- func ValidateMetaNotFoundResponseBody(body *MetaNotFoundResponseBody) (err error)
- func ValidateMetaUnauthorizedResponseBody(body *MetaUnauthorizedResponseBody) (err error)
- func ValidateResolvedBadRequestResponseBody(body *ResolvedBadRequestResponseBody) (err error)
- func ValidateResolvedForbiddenResponseBody(body *ResolvedForbiddenResponseBody) (err error)
- func ValidateResolvedNotFoundResponseBody(body *ResolvedNotFoundResponseBody) (err error)
- func ValidateResolvedUnauthorizedResponseBody(body *ResolvedUnauthorizedResponseBody) (err error)
- type Client
- func (c *Client) BuildDataRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildMetaRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildResolvedRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) Data() goa.Endpoint
- func (c *Client) Meta() goa.Endpoint
- func (c *Client) Resolved() goa.Endpoint
- type DataBadRequestResponseBody
- type DataForbiddenResponseBody
- type DataNotFoundResponseBody
- type DataUnauthorizedResponseBody
- type MetaBadRequestResponseBody
- type MetaForbiddenResponseBody
- type MetaNotFoundResponseBody
- type MetaUnauthorizedResponseBody
- type ResolvedBadRequestResponseBody
- type ResolvedForbiddenResponseBody
- type ResolvedNotFoundResponseBody
- type ResolvedUnauthorizedResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDataPayload ¶
func BuildDataPayload(recordsDataRecordID string, recordsDataAuth string) (*records.DataPayload, error)
BuildDataPayload builds the payload for the records data endpoint from CLI flags.
func BuildMetaPayload ¶
func BuildMetaPayload(recordsMetaRecordID string, recordsMetaAuth string) (*records.MetaPayload, error)
BuildMetaPayload builds the payload for the records meta endpoint from CLI flags.
func BuildResolvedPayload ¶
func BuildResolvedPayload(recordsResolvedRecordID string, recordsResolvedAuth string) (*records.ResolvedPayload, error)
BuildResolvedPayload builds the payload for the records resolved endpoint from CLI flags.
func DataRecordsPath ¶
DataRecordsPath returns the URL path to the records service data HTTP endpoint.
func DecodeDataResponse ¶
func DecodeDataResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeDataResponse returns a decoder for responses returned by the records data endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDataResponse may return the following errors:
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "not-found" (type *goa.ServiceError): http.StatusNotFound
- "bad-request" (type *goa.ServiceError): http.StatusBadRequest
- error: internal error
func DecodeMetaResponse ¶
func DecodeMetaResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeMetaResponse returns a decoder for responses returned by the records meta endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeMetaResponse may return the following errors:
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "not-found" (type *goa.ServiceError): http.StatusNotFound
- "bad-request" (type *goa.ServiceError): http.StatusBadRequest
- error: internal error
func DecodeResolvedResponse ¶
func DecodeResolvedResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeResolvedResponse returns a decoder for responses returned by the records resolved endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeResolvedResponse may return the following errors:
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "not-found" (type *goa.ServiceError): http.StatusNotFound
- "bad-request" (type *goa.ServiceError): http.StatusBadRequest
- error: internal error
func EncodeDataRequest ¶
func EncodeDataRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeDataRequest returns an encoder for requests sent to the records data server.
func EncodeMetaRequest ¶
func EncodeMetaRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeMetaRequest returns an encoder for requests sent to the records meta server.
func EncodeResolvedRequest ¶
func EncodeResolvedRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeResolvedRequest returns an encoder for requests sent to the records resolved server.
func MetaRecordsPath ¶
MetaRecordsPath returns the URL path to the records service meta HTTP endpoint.
func NewDataBadRequest ¶
func NewDataBadRequest(body *DataBadRequestResponseBody) *goa.ServiceError
NewDataBadRequest builds a records service data endpoint bad-request error.
func NewDataForbidden ¶
func NewDataForbidden(body *DataForbiddenResponseBody) *goa.ServiceError
NewDataForbidden builds a records service data endpoint forbidden error.
func NewDataNotFound ¶
func NewDataNotFound(body *DataNotFoundResponseBody) *goa.ServiceError
NewDataNotFound builds a records service data endpoint not-found error.
func NewDataResultOK ¶
func NewDataResultOK(body interface{}) *records.DataResult
NewDataResultOK builds a "records" service "data" endpoint result from a HTTP "OK" response.
func NewDataUnauthorized ¶
func NewDataUnauthorized(body *DataUnauthorizedResponseBody) *goa.ServiceError
NewDataUnauthorized builds a records service data endpoint unauthorized error.
func NewMetaBadRequest ¶
func NewMetaBadRequest(body *MetaBadRequestResponseBody) *goa.ServiceError
NewMetaBadRequest builds a records service meta endpoint bad-request error.
func NewMetaForbidden ¶
func NewMetaForbidden(body *MetaForbiddenResponseBody) *goa.ServiceError
NewMetaForbidden builds a records service meta endpoint forbidden error.
func NewMetaNotFound ¶
func NewMetaNotFound(body *MetaNotFoundResponseBody) *goa.ServiceError
NewMetaNotFound builds a records service meta endpoint not-found error.
func NewMetaResultOK ¶
func NewMetaResultOK(body interface{}) *records.MetaResult
NewMetaResultOK builds a "records" service "meta" endpoint result from a HTTP "OK" response.
func NewMetaUnauthorized ¶
func NewMetaUnauthorized(body *MetaUnauthorizedResponseBody) *goa.ServiceError
NewMetaUnauthorized builds a records service meta endpoint unauthorized error.
func NewResolvedBadRequest ¶
func NewResolvedBadRequest(body *ResolvedBadRequestResponseBody) *goa.ServiceError
NewResolvedBadRequest builds a records service resolved endpoint bad-request error.
func NewResolvedForbidden ¶
func NewResolvedForbidden(body *ResolvedForbiddenResponseBody) *goa.ServiceError
NewResolvedForbidden builds a records service resolved endpoint forbidden error.
func NewResolvedNotFound ¶
func NewResolvedNotFound(body *ResolvedNotFoundResponseBody) *goa.ServiceError
NewResolvedNotFound builds a records service resolved endpoint not-found error.
func NewResolvedResultOK ¶
func NewResolvedResultOK(body interface{}) *records.ResolvedResult
NewResolvedResultOK builds a "records" service "resolved" endpoint result from a HTTP "OK" response.
func NewResolvedUnauthorized ¶
func NewResolvedUnauthorized(body *ResolvedUnauthorizedResponseBody) *goa.ServiceError
NewResolvedUnauthorized builds a records service resolved endpoint unauthorized error.
func ResolvedRecordsPath ¶
ResolvedRecordsPath returns the URL path to the records service resolved HTTP endpoint.
func ValidateDataBadRequestResponseBody ¶
func ValidateDataBadRequestResponseBody(body *DataBadRequestResponseBody) (err error)
ValidateDataBadRequestResponseBody runs the validations defined on data_bad-request_response_body
func ValidateDataForbiddenResponseBody ¶
func ValidateDataForbiddenResponseBody(body *DataForbiddenResponseBody) (err error)
ValidateDataForbiddenResponseBody runs the validations defined on data_forbidden_response_body
func ValidateDataNotFoundResponseBody ¶
func ValidateDataNotFoundResponseBody(body *DataNotFoundResponseBody) (err error)
ValidateDataNotFoundResponseBody runs the validations defined on data_not-found_response_body
func ValidateDataUnauthorizedResponseBody ¶
func ValidateDataUnauthorizedResponseBody(body *DataUnauthorizedResponseBody) (err error)
ValidateDataUnauthorizedResponseBody runs the validations defined on data_unauthorized_response_body
func ValidateMetaBadRequestResponseBody ¶
func ValidateMetaBadRequestResponseBody(body *MetaBadRequestResponseBody) (err error)
ValidateMetaBadRequestResponseBody runs the validations defined on meta_bad-request_response_body
func ValidateMetaForbiddenResponseBody ¶
func ValidateMetaForbiddenResponseBody(body *MetaForbiddenResponseBody) (err error)
ValidateMetaForbiddenResponseBody runs the validations defined on meta_forbidden_response_body
func ValidateMetaNotFoundResponseBody ¶
func ValidateMetaNotFoundResponseBody(body *MetaNotFoundResponseBody) (err error)
ValidateMetaNotFoundResponseBody runs the validations defined on meta_not-found_response_body
func ValidateMetaUnauthorizedResponseBody ¶
func ValidateMetaUnauthorizedResponseBody(body *MetaUnauthorizedResponseBody) (err error)
ValidateMetaUnauthorizedResponseBody runs the validations defined on meta_unauthorized_response_body
func ValidateResolvedBadRequestResponseBody ¶
func ValidateResolvedBadRequestResponseBody(body *ResolvedBadRequestResponseBody) (err error)
ValidateResolvedBadRequestResponseBody runs the validations defined on resolved_bad-request_response_body
func ValidateResolvedForbiddenResponseBody ¶
func ValidateResolvedForbiddenResponseBody(body *ResolvedForbiddenResponseBody) (err error)
ValidateResolvedForbiddenResponseBody runs the validations defined on resolved_forbidden_response_body
func ValidateResolvedNotFoundResponseBody ¶
func ValidateResolvedNotFoundResponseBody(body *ResolvedNotFoundResponseBody) (err error)
ValidateResolvedNotFoundResponseBody runs the validations defined on resolved_not-found_response_body
func ValidateResolvedUnauthorizedResponseBody ¶
func ValidateResolvedUnauthorizedResponseBody(body *ResolvedUnauthorizedResponseBody) (err error)
ValidateResolvedUnauthorizedResponseBody runs the validations defined on resolved_unauthorized_response_body
Types ¶
type Client ¶
type Client struct { // Data Doer is the HTTP client used to make requests to the data endpoint. DataDoer goahttp.Doer // Meta Doer is the HTTP client used to make requests to the meta endpoint. MetaDoer goahttp.Doer // Resolved Doer is the HTTP client used to make requests to the resolved // endpoint. ResolvedDoer 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 records 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 records service servers.
func (*Client) BuildDataRequest ¶
BuildDataRequest instantiates a HTTP request object with method and path set to call the "records" service "data" endpoint
func (*Client) BuildMetaRequest ¶
BuildMetaRequest instantiates a HTTP request object with method and path set to call the "records" service "meta" endpoint
func (*Client) BuildResolvedRequest ¶
BuildResolvedRequest instantiates a HTTP request object with method and path set to call the "records" service "resolved" endpoint
func (*Client) Data ¶
Data returns an endpoint that makes HTTP requests to the records service data server.
type DataBadRequestResponseBody ¶
type DataBadRequestResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DataBadRequestResponseBody is the type of the "records" service "data" endpoint HTTP response body for the "bad-request" error.
type DataForbiddenResponseBody ¶
type DataForbiddenResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DataForbiddenResponseBody is the type of the "records" service "data" endpoint HTTP response body for the "forbidden" error.
type DataNotFoundResponseBody ¶
type DataNotFoundResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DataNotFoundResponseBody is the type of the "records" service "data" endpoint HTTP response body for the "not-found" error.
type DataUnauthorizedResponseBody ¶
type DataUnauthorizedResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
DataUnauthorizedResponseBody is the type of the "records" service "data" endpoint HTTP response body for the "unauthorized" error.
type MetaBadRequestResponseBody ¶
type MetaBadRequestResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
MetaBadRequestResponseBody is the type of the "records" service "meta" endpoint HTTP response body for the "bad-request" error.
type MetaForbiddenResponseBody ¶
type MetaForbiddenResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
MetaForbiddenResponseBody is the type of the "records" service "meta" endpoint HTTP response body for the "forbidden" error.
type MetaNotFoundResponseBody ¶
type MetaNotFoundResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
MetaNotFoundResponseBody is the type of the "records" service "meta" endpoint HTTP response body for the "not-found" error.
type MetaUnauthorizedResponseBody ¶
type MetaUnauthorizedResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
MetaUnauthorizedResponseBody is the type of the "records" service "meta" endpoint HTTP response body for the "unauthorized" error.
type ResolvedBadRequestResponseBody ¶
type ResolvedBadRequestResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
ResolvedBadRequestResponseBody is the type of the "records" service "resolved" endpoint HTTP response body for the "bad-request" error.
type ResolvedForbiddenResponseBody ¶
type ResolvedForbiddenResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
ResolvedForbiddenResponseBody is the type of the "records" service "resolved" endpoint HTTP response body for the "forbidden" error.
type ResolvedNotFoundResponseBody ¶
type ResolvedNotFoundResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
ResolvedNotFoundResponseBody is the type of the "records" service "resolved" endpoint HTTP response body for the "not-found" error.
type ResolvedUnauthorizedResponseBody ¶
type ResolvedUnauthorizedResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
ResolvedUnauthorizedResponseBody is the type of the "records" service "resolved" endpoint HTTP response body for the "unauthorized" error.