Documentation
¶
Overview ¶
Package catalogapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewCreateDatasetRequest(server string, body CreateDatasetJSONRequestBody) (*http.Request, error)
- func NewCreateDatasetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMaterializationRequest(server string, urn DatasetURN, version VersionPathParameter, ...) (*http.Request, error)
- func NewCreateMaterializationRequestWithBody(server string, urn DatasetURN, version VersionPathParameter, ...) (*http.Request, error)
- func NewDeleteMaterializationRequest(server string, urn DatasetURN, version VersionPathParameter, ...) (*http.Request, error)
- func NewGetDatasetRequest(server string, urn DatasetURN) (*http.Request, error)
- func NewGetDatasetVersionRequest(server string, urn DatasetURN, version VersionPathParameter) (*http.Request, error)
- func NewGetMaterializationRequest(server string, urn DatasetURN, version VersionPathParameter, ...) (*http.Request, error)
- func NewListDatasetVersionsRequest(server string, urn DatasetURN, params *ListDatasetVersionsParams) (*http.Request, error)
- func NewListDatasetsRequest(server string, params *ListDatasetsParams) (*http.Request, error)
- func NewListMaterializationsRequest(server string, urn DatasetURN, version VersionPathParameter) (*http.Request, error)
- func NewPatchDatasetVersionRequestWithApplicationMergePatchPlusJSONBody(server string, urn DatasetURN, version VersionPathParameter, ...) (*http.Request, error)
- func NewPatchDatasetVersionRequestWithBody(server string, urn DatasetURN, version VersionPathParameter, ...) (*http.Request, error)
- func SecureHTTPClient(httpClient *http.Client) *http.Client
- type BadRequest
- type Client
- func (c *Client) CreateDataset(ctx context.Context, body CreateDatasetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDatasetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMaterialization(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*http.Response, error)
- func (c *Client) CreateMaterializationWithBody(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*http.Response, error)
- func (c *Client) DeleteMaterialization(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*http.Response, error)
- func (c *Client) GetDataset(ctx context.Context, urn DatasetURN, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDatasetVersion(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*http.Response, error)
- func (c *Client) GetMaterialization(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*http.Response, error)
- func (c *Client) ListDatasetVersions(ctx context.Context, urn DatasetURN, params *ListDatasetVersionsParams, ...) (*http.Response, error)
- func (c *Client) ListDatasets(ctx context.Context, params *ListDatasetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMaterializations(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*http.Response, error)
- func (c *Client) PatchDatasetVersionWithApplicationMergePatchPlusJSONBody(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*http.Response, error)
- func (c *Client) PatchDatasetVersionWithBody(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateDatasetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDatasetResponse, error)
- func (c *ClientWithResponses) CreateDatasetWithResponse(ctx context.Context, body CreateDatasetJSONRequestBody, ...) (*CreateDatasetResponse, error)
- func (c *ClientWithResponses) CreateMaterializationWithBodyWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*CreateMaterializationResponse, error)
- func (c *ClientWithResponses) CreateMaterializationWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*CreateMaterializationResponse, error)
- func (c *ClientWithResponses) DeleteMaterializationWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*DeleteMaterializationResponse, error)
- func (c *ClientWithResponses) GetDatasetVersionWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*GetDatasetVersionResponse, error)
- func (c *ClientWithResponses) GetDatasetWithResponse(ctx context.Context, urn DatasetURN, reqEditors ...RequestEditorFn) (*GetDatasetResponse, error)
- func (c *ClientWithResponses) GetMaterializationWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*GetMaterializationResponse, error)
- func (c *ClientWithResponses) ListDatasetVersionsWithResponse(ctx context.Context, urn DatasetURN, params *ListDatasetVersionsParams, ...) (*ListDatasetVersionsResponse, error)
- func (c *ClientWithResponses) ListDatasetsWithResponse(ctx context.Context, params *ListDatasetsParams, reqEditors ...RequestEditorFn) (*ListDatasetsResponse, error)
- func (c *ClientWithResponses) ListMaterializationsWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*ListMaterializationsResponse, error)
- func (c *ClientWithResponses) PatchDatasetVersionWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*PatchDatasetVersionResponse, error)
- func (c *ClientWithResponses) PatchDatasetVersionWithBodyWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, ...) (*PatchDatasetVersionResponse, error)
- type ClientWithResponsesInterface
- type Conflict
- type Contract
- type ContractInput
- type CreateDatasetJSONRequestBody
- type CreateDatasetResponse
- func (r CreateDatasetResponse) ContentType() string
- func (r CreateDatasetResponse) GetApplicationproblemJSON400() *BadRequest
- func (r CreateDatasetResponse) GetApplicationproblemJSON401() *Unauthorized
- func (r CreateDatasetResponse) GetApplicationproblemJSON403() *Forbidden
- func (r CreateDatasetResponse) GetApplicationproblemJSON405() *MethodNotAllowed
- func (r CreateDatasetResponse) GetApplicationproblemJSON409() *Conflict
- func (r CreateDatasetResponse) GetApplicationproblemJSON413() *PayloadTooLarge
- func (r CreateDatasetResponse) GetApplicationproblemJSON500() *InternalServerError
- func (r CreateDatasetResponse) GetApplicationproblemJSON503() *ServiceUnavailable
- func (r CreateDatasetResponse) GetApplicationproblemJSON504() *GatewayTimeout
- func (r CreateDatasetResponse) GetBody() []byte
- func (r CreateDatasetResponse) GetJSON201() *Dataset
- func (r CreateDatasetResponse) Status() string
- func (r CreateDatasetResponse) StatusCode() int
- type CreateDatasetResponse201Headers
- type CreateDatasetResponse400Headers
- type CreateDatasetResponse401Headers
- type CreateDatasetResponse403Headers
- type CreateDatasetResponse405Headers
- type CreateDatasetResponse409Headers
- type CreateDatasetResponse413Headers
- type CreateDatasetResponse500Headers
- type CreateDatasetResponse503Headers
- type CreateDatasetResponse504Headers
- type CreateMaterializationJSONRequestBody
- type CreateMaterializationResponse
- func (r CreateMaterializationResponse) ContentType() string
- func (r CreateMaterializationResponse) GetApplicationproblemJSON400() *BadRequest
- func (r CreateMaterializationResponse) GetApplicationproblemJSON401() *Unauthorized
- func (r CreateMaterializationResponse) GetApplicationproblemJSON403() *Forbidden
- func (r CreateMaterializationResponse) GetApplicationproblemJSON404() *NotFound
- func (r CreateMaterializationResponse) GetApplicationproblemJSON405() *MethodNotAllowed
- func (r CreateMaterializationResponse) GetApplicationproblemJSON409() *Conflict
- func (r CreateMaterializationResponse) GetApplicationproblemJSON413() *PayloadTooLarge
- func (r CreateMaterializationResponse) GetApplicationproblemJSON500() *InternalServerError
- func (r CreateMaterializationResponse) GetApplicationproblemJSON503() *ServiceUnavailable
- func (r CreateMaterializationResponse) GetApplicationproblemJSON504() *GatewayTimeout
- func (r CreateMaterializationResponse) GetBody() []byte
- func (r CreateMaterializationResponse) GetJSON201() *Materialization
- func (r CreateMaterializationResponse) Status() string
- func (r CreateMaterializationResponse) StatusCode() int
- type CreateMaterializationResponse201Headers
- type CreateMaterializationResponse400Headers
- type CreateMaterializationResponse401Headers
- type CreateMaterializationResponse403Headers
- type CreateMaterializationResponse404Headers
- type CreateMaterializationResponse405Headers
- type CreateMaterializationResponse409Headers
- type CreateMaterializationResponse413Headers
- type CreateMaterializationResponse500Headers
- type CreateMaterializationResponse503Headers
- type CreateMaterializationResponse504Headers
- type DatabricksTableLocator
- type Dataset
- type DatasetInput
- type DatasetList
- type DatasetSummary
- type DatasetURN
- type DatasetVersionList
- type DatasetVersionPatch
- type DeleteMaterializationParams
- type DeleteMaterializationResponse
- func (r DeleteMaterializationResponse) ContentType() string
- func (r DeleteMaterializationResponse) GetApplicationproblemJSON400() *BadRequest
- func (r DeleteMaterializationResponse) GetApplicationproblemJSON401() *Unauthorized
- func (r DeleteMaterializationResponse) GetApplicationproblemJSON403() *Forbidden
- func (r DeleteMaterializationResponse) GetApplicationproblemJSON404() *NotFound
- func (r DeleteMaterializationResponse) GetApplicationproblemJSON405() *MethodNotAllowed
- func (r DeleteMaterializationResponse) GetApplicationproblemJSON412() *PreconditionFailed
- func (r DeleteMaterializationResponse) GetApplicationproblemJSON500() *InternalServerError
- func (r DeleteMaterializationResponse) GetApplicationproblemJSON503() *ServiceUnavailable
- func (r DeleteMaterializationResponse) GetApplicationproblemJSON504() *GatewayTimeout
- func (r DeleteMaterializationResponse) GetBody() []byte
- func (r DeleteMaterializationResponse) Status() string
- func (r DeleteMaterializationResponse) StatusCode() int
- type DeleteMaterializationResponse204Headers
- type DeleteMaterializationResponse400Headers
- type DeleteMaterializationResponse401Headers
- type DeleteMaterializationResponse403Headers
- type DeleteMaterializationResponse404Headers
- type DeleteMaterializationResponse405Headers
- type DeleteMaterializationResponse412Headers
- type DeleteMaterializationResponse500Headers
- type DeleteMaterializationResponse503Headers
- type DeleteMaterializationResponse504Headers
- type Forbidden
- type GatewayTimeout
- type GetDatasetResponse
- func (r GetDatasetResponse) ContentType() string
- func (r GetDatasetResponse) GetApplicationproblemJSON400() *BadRequest
- func (r GetDatasetResponse) GetApplicationproblemJSON401() *Unauthorized
- func (r GetDatasetResponse) GetApplicationproblemJSON403() *Forbidden
- func (r GetDatasetResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetDatasetResponse) GetApplicationproblemJSON405() *MethodNotAllowed
- func (r GetDatasetResponse) GetApplicationproblemJSON500() *InternalServerError
- func (r GetDatasetResponse) GetApplicationproblemJSON503() *ServiceUnavailable
- func (r GetDatasetResponse) GetApplicationproblemJSON504() *GatewayTimeout
- func (r GetDatasetResponse) GetBody() []byte
- func (r GetDatasetResponse) GetJSON200() *Dataset
- func (r GetDatasetResponse) Status() string
- func (r GetDatasetResponse) StatusCode() int
- type GetDatasetResponse200Headers
- type GetDatasetResponse400Headers
- type GetDatasetResponse401Headers
- type GetDatasetResponse403Headers
- type GetDatasetResponse404Headers
- type GetDatasetResponse405Headers
- type GetDatasetResponse500Headers
- type GetDatasetResponse503Headers
- type GetDatasetResponse504Headers
- type GetDatasetVersionResponse
- func (r GetDatasetVersionResponse) ContentType() string
- func (r GetDatasetVersionResponse) GetApplicationproblemJSON400() *BadRequest
- func (r GetDatasetVersionResponse) GetApplicationproblemJSON401() *Unauthorized
- func (r GetDatasetVersionResponse) GetApplicationproblemJSON403() *Forbidden
- func (r GetDatasetVersionResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetDatasetVersionResponse) GetApplicationproblemJSON405() *MethodNotAllowed
- func (r GetDatasetVersionResponse) GetApplicationproblemJSON500() *InternalServerError
- func (r GetDatasetVersionResponse) GetApplicationproblemJSON503() *ServiceUnavailable
- func (r GetDatasetVersionResponse) GetApplicationproblemJSON504() *GatewayTimeout
- func (r GetDatasetVersionResponse) GetBody() []byte
- func (r GetDatasetVersionResponse) GetJSON200() *Dataset
- func (r GetDatasetVersionResponse) Status() string
- func (r GetDatasetVersionResponse) StatusCode() int
- type GetDatasetVersionResponse200Headers
- type GetDatasetVersionResponse400Headers
- type GetDatasetVersionResponse401Headers
- type GetDatasetVersionResponse403Headers
- type GetDatasetVersionResponse404Headers
- type GetDatasetVersionResponse405Headers
- type GetDatasetVersionResponse500Headers
- type GetDatasetVersionResponse503Headers
- type GetDatasetVersionResponse504Headers
- type GetMaterializationResponse
- func (r GetMaterializationResponse) ContentType() string
- func (r GetMaterializationResponse) GetApplicationproblemJSON400() *BadRequest
- func (r GetMaterializationResponse) GetApplicationproblemJSON401() *Unauthorized
- func (r GetMaterializationResponse) GetApplicationproblemJSON403() *Forbidden
- func (r GetMaterializationResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMaterializationResponse) GetApplicationproblemJSON405() *MethodNotAllowed
- func (r GetMaterializationResponse) GetApplicationproblemJSON500() *InternalServerError
- func (r GetMaterializationResponse) GetApplicationproblemJSON503() *ServiceUnavailable
- func (r GetMaterializationResponse) GetApplicationproblemJSON504() *GatewayTimeout
- func (r GetMaterializationResponse) GetBody() []byte
- func (r GetMaterializationResponse) GetJSON200() *Materialization
- func (r GetMaterializationResponse) Status() string
- func (r GetMaterializationResponse) StatusCode() int
- type GetMaterializationResponse200Headers
- type GetMaterializationResponse400Headers
- type GetMaterializationResponse401Headers
- type GetMaterializationResponse403Headers
- type GetMaterializationResponse404Headers
- type GetMaterializationResponse405Headers
- type GetMaterializationResponse500Headers
- type GetMaterializationResponse503Headers
- type GetMaterializationResponse504Headers
- type HttpRequestDoer
- type IfMatch
- type InternalServerError
- type InvalidParameter
- type JSONMetadata
- type ListDatasetVersionsParams
- type ListDatasetVersionsResponse
- func (r ListDatasetVersionsResponse) ContentType() string
- func (r ListDatasetVersionsResponse) GetApplicationproblemJSON400() *BadRequest
- func (r ListDatasetVersionsResponse) GetApplicationproblemJSON401() *Unauthorized
- func (r ListDatasetVersionsResponse) GetApplicationproblemJSON403() *Forbidden
- func (r ListDatasetVersionsResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListDatasetVersionsResponse) GetApplicationproblemJSON405() *MethodNotAllowed
- func (r ListDatasetVersionsResponse) GetApplicationproblemJSON500() *InternalServerError
- func (r ListDatasetVersionsResponse) GetApplicationproblemJSON503() *ServiceUnavailable
- func (r ListDatasetVersionsResponse) GetApplicationproblemJSON504() *GatewayTimeout
- func (r ListDatasetVersionsResponse) GetBody() []byte
- func (r ListDatasetVersionsResponse) GetJSON200() *DatasetVersionList
- func (r ListDatasetVersionsResponse) Status() string
- func (r ListDatasetVersionsResponse) StatusCode() int
- type ListDatasetVersionsResponse200Headers
- type ListDatasetVersionsResponse400Headers
- type ListDatasetVersionsResponse401Headers
- type ListDatasetVersionsResponse403Headers
- type ListDatasetVersionsResponse404Headers
- type ListDatasetVersionsResponse405Headers
- type ListDatasetVersionsResponse500Headers
- type ListDatasetVersionsResponse503Headers
- type ListDatasetVersionsResponse504Headers
- type ListDatasetsParams
- type ListDatasetsResponse
- func (r ListDatasetsResponse) ContentType() string
- func (r ListDatasetsResponse) GetApplicationproblemJSON400() *BadRequest
- func (r ListDatasetsResponse) GetApplicationproblemJSON401() *Unauthorized
- func (r ListDatasetsResponse) GetApplicationproblemJSON403() *Forbidden
- func (r ListDatasetsResponse) GetApplicationproblemJSON405() *MethodNotAllowed
- func (r ListDatasetsResponse) GetApplicationproblemJSON500() *InternalServerError
- func (r ListDatasetsResponse) GetApplicationproblemJSON503() *ServiceUnavailable
- func (r ListDatasetsResponse) GetApplicationproblemJSON504() *GatewayTimeout
- func (r ListDatasetsResponse) GetBody() []byte
- func (r ListDatasetsResponse) GetJSON200() *DatasetList
- func (r ListDatasetsResponse) Status() string
- func (r ListDatasetsResponse) StatusCode() int
- type ListDatasetsResponse200Headers
- type ListDatasetsResponse400Headers
- type ListDatasetsResponse401Headers
- type ListDatasetsResponse403Headers
- type ListDatasetsResponse405Headers
- type ListDatasetsResponse500Headers
- type ListDatasetsResponse503Headers
- type ListDatasetsResponse504Headers
- type ListMaterializationsResponse
- func (r ListMaterializationsResponse) ContentType() string
- func (r ListMaterializationsResponse) GetApplicationproblemJSON400() *BadRequest
- func (r ListMaterializationsResponse) GetApplicationproblemJSON401() *Unauthorized
- func (r ListMaterializationsResponse) GetApplicationproblemJSON403() *Forbidden
- func (r ListMaterializationsResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListMaterializationsResponse) GetApplicationproblemJSON405() *MethodNotAllowed
- func (r ListMaterializationsResponse) GetApplicationproblemJSON500() *InternalServerError
- func (r ListMaterializationsResponse) GetApplicationproblemJSON503() *ServiceUnavailable
- func (r ListMaterializationsResponse) GetApplicationproblemJSON504() *GatewayTimeout
- func (r ListMaterializationsResponse) GetBody() []byte
- func (r ListMaterializationsResponse) GetJSON200() *MaterializationList
- func (r ListMaterializationsResponse) Status() string
- func (r ListMaterializationsResponse) StatusCode() int
- type ListMaterializationsResponse200Headers
- type ListMaterializationsResponse400Headers
- type ListMaterializationsResponse401Headers
- type ListMaterializationsResponse403Headers
- type ListMaterializationsResponse404Headers
- type ListMaterializationsResponse405Headers
- type ListMaterializationsResponse500Headers
- type ListMaterializationsResponse503Headers
- type ListMaterializationsResponse504Headers
- type Materialization
- func (t Materialization) AsMaterialization0() (Materialization0, error)
- func (t Materialization) AsMaterialization1() (Materialization1, error)
- func (t *Materialization) FromMaterialization0(v Materialization0) error
- func (t *Materialization) FromMaterialization1(v Materialization1) error
- func (t Materialization) MarshalJSON() ([]byte, error)
- func (t *Materialization) MergeMaterialization0(v Materialization0) error
- func (t *Materialization) MergeMaterialization1(v Materialization1) error
- func (t *Materialization) UnmarshalJSON(b []byte) error
- type Materialization0
- type Materialization0Kind
- type Materialization1
- type Materialization1Kind
- type MaterializationInput
- func (t MaterializationInput) AsMaterializationInput0() (MaterializationInput0, error)
- func (t MaterializationInput) AsMaterializationInput1() (MaterializationInput1, error)
- func (t *MaterializationInput) FromMaterializationInput0(v MaterializationInput0) error
- func (t *MaterializationInput) FromMaterializationInput1(v MaterializationInput1) error
- func (t MaterializationInput) MarshalJSON() ([]byte, error)
- func (t *MaterializationInput) MergeMaterializationInput0(v MaterializationInput0) error
- func (t *MaterializationInput) MergeMaterializationInput1(v MaterializationInput1) error
- func (t *MaterializationInput) UnmarshalJSON(b []byte) error
- type MaterializationInput0
- type MaterializationInput0Kind
- type MaterializationInput1
- type MaterializationInput1Kind
- type MaterializationList
- type MaterializationURN
- type MethodNotAllowed
- type NotFound
- type PageSize
- type PageToken
- type PatchDatasetVersionApplicationMergePatchPlusJSONRequestBody
- type PatchDatasetVersionParams
- type PatchDatasetVersionResponse
- func (r PatchDatasetVersionResponse) ContentType() string
- func (r PatchDatasetVersionResponse) GetApplicationproblemJSON400() *BadRequest
- func (r PatchDatasetVersionResponse) GetApplicationproblemJSON401() *Unauthorized
- func (r PatchDatasetVersionResponse) GetApplicationproblemJSON403() *Forbidden
- func (r PatchDatasetVersionResponse) GetApplicationproblemJSON404() *NotFound
- func (r PatchDatasetVersionResponse) GetApplicationproblemJSON405() *MethodNotAllowed
- func (r PatchDatasetVersionResponse) GetApplicationproblemJSON412() *PreconditionFailed
- func (r PatchDatasetVersionResponse) GetApplicationproblemJSON413() *PayloadTooLarge
- func (r PatchDatasetVersionResponse) GetApplicationproblemJSON500() *InternalServerError
- func (r PatchDatasetVersionResponse) GetApplicationproblemJSON503() *ServiceUnavailable
- func (r PatchDatasetVersionResponse) GetApplicationproblemJSON504() *GatewayTimeout
- func (r PatchDatasetVersionResponse) GetBody() []byte
- func (r PatchDatasetVersionResponse) GetJSON200() *Dataset
- func (r PatchDatasetVersionResponse) Status() string
- func (r PatchDatasetVersionResponse) StatusCode() int
- type PatchDatasetVersionResponse200Headers
- type PatchDatasetVersionResponse400Headers
- type PatchDatasetVersionResponse401Headers
- type PatchDatasetVersionResponse403Headers
- type PatchDatasetVersionResponse404Headers
- type PatchDatasetVersionResponse405Headers
- type PatchDatasetVersionResponse412Headers
- type PatchDatasetVersionResponse413Headers
- type PatchDatasetVersionResponse500Headers
- type PatchDatasetVersionResponse503Headers
- type PatchDatasetVersionResponse504Headers
- type PayloadTooLarge
- type PreconditionFailed
- type Problem
- type RequestEditorFn
- type SemVer
- type ServiceUnavailable
- type SnowflakeTableLocator
- type Unauthorized
- type VersionPathParameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateDatasetRequest ¶
func NewCreateDatasetRequest(server string, body CreateDatasetJSONRequestBody) (*http.Request, error)
NewCreateDatasetRequest calls the generic CreateDataset builder with application/json body
func NewCreateDatasetRequestWithBody ¶
func NewCreateDatasetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDatasetRequestWithBody constructs an http.Request for the CreateDataset method, with any body, and a specified content type
func NewCreateMaterializationRequest ¶
func NewCreateMaterializationRequest(server string, urn DatasetURN, version VersionPathParameter, body CreateMaterializationJSONRequestBody) (*http.Request, error)
NewCreateMaterializationRequest calls the generic CreateMaterialization builder with application/json body
func NewCreateMaterializationRequestWithBody ¶
func NewCreateMaterializationRequestWithBody(server string, urn DatasetURN, version VersionPathParameter, contentType string, body io.Reader) (*http.Request, error)
NewCreateMaterializationRequestWithBody constructs an http.Request for the CreateMaterialization method, with any body, and a specified content type
func NewDeleteMaterializationRequest ¶
func NewDeleteMaterializationRequest(server string, urn DatasetURN, version VersionPathParameter, materializationUrn MaterializationURN, params *DeleteMaterializationParams) (*http.Request, error)
NewDeleteMaterializationRequest constructs an http.Request for the DeleteMaterialization method
func NewGetDatasetRequest ¶
func NewGetDatasetRequest(server string, urn DatasetURN) (*http.Request, error)
NewGetDatasetRequest constructs an http.Request for the GetDataset method
func NewGetDatasetVersionRequest ¶
func NewGetDatasetVersionRequest(server string, urn DatasetURN, version VersionPathParameter) (*http.Request, error)
NewGetDatasetVersionRequest constructs an http.Request for the GetDatasetVersion method
func NewGetMaterializationRequest ¶
func NewGetMaterializationRequest(server string, urn DatasetURN, version VersionPathParameter, materializationUrn MaterializationURN) (*http.Request, error)
NewGetMaterializationRequest constructs an http.Request for the GetMaterialization method
func NewListDatasetVersionsRequest ¶
func NewListDatasetVersionsRequest(server string, urn DatasetURN, params *ListDatasetVersionsParams) (*http.Request, error)
NewListDatasetVersionsRequest constructs an http.Request for the ListDatasetVersions method
func NewListDatasetsRequest ¶
func NewListDatasetsRequest(server string, params *ListDatasetsParams) (*http.Request, error)
NewListDatasetsRequest constructs an http.Request for the ListDatasets method
func NewListMaterializationsRequest ¶
func NewListMaterializationsRequest(server string, urn DatasetURN, version VersionPathParameter) (*http.Request, error)
NewListMaterializationsRequest constructs an http.Request for the ListMaterializations method
func NewPatchDatasetVersionRequestWithApplicationMergePatchPlusJSONBody ¶
func NewPatchDatasetVersionRequestWithApplicationMergePatchPlusJSONBody(server string, urn DatasetURN, version VersionPathParameter, params *PatchDatasetVersionParams, body PatchDatasetVersionApplicationMergePatchPlusJSONRequestBody) (*http.Request, error)
NewPatchDatasetVersionRequestWithApplicationMergePatchPlusJSONBody calls the generic PatchDatasetVersion builder with application/merge-patch+json body
func NewPatchDatasetVersionRequestWithBody ¶
func NewPatchDatasetVersionRequestWithBody(server string, urn DatasetURN, version VersionPathParameter, params *PatchDatasetVersionParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchDatasetVersionRequestWithBody constructs an http.Request for the PatchDatasetVersion method, with any body, and a specified content type
Types ¶
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CreateDataset ¶
func (c *Client) CreateDataset(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDataset Create a Dataset Version
Takes a body of the `application/json` content type.
Corresponds with POST /api/catalog/datasets (the `CreateDataset` operationId).
func (*Client) CreateDatasetWithBody ¶
func (c *Client) CreateDatasetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatasetWithBody Create a Dataset Version
Takes any type of body and a specified content type.
Corresponds with POST /api/catalog/datasets (the `CreateDataset` operationId).
func (*Client) CreateMaterialization ¶
func (c *Client) CreateMaterialization(ctx context.Context, urn DatasetURN, version VersionPathParameter, body CreateMaterializationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMaterialization Add an immutable catalog binding
Takes a body of the `application/json` content type.
Corresponds with POST /api/catalog/datasets/{urn}/versions/{version}/materializations (the `CreateMaterialization` operationId).
func (*Client) CreateMaterializationWithBody ¶
func (c *Client) CreateMaterializationWithBody(ctx context.Context, urn DatasetURN, version VersionPathParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMaterializationWithBody Add an immutable catalog binding
Takes any type of body and a specified content type.
Corresponds with POST /api/catalog/datasets/{urn}/versions/{version}/materializations (the `CreateMaterialization` operationId).
func (*Client) DeleteMaterialization ¶
func (c *Client) DeleteMaterialization(ctx context.Context, urn DatasetURN, version VersionPathParameter, materializationUrn MaterializationURN, params *DeleteMaterializationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteMaterialization Remove a catalog binding without touching its provider
Corresponds with DELETE /api/catalog/datasets/{urn}/versions/{version}/materializations/{materializationUrn} (the `DeleteMaterialization` operationId).
func (*Client) GetDataset ¶
func (c *Client) GetDataset(ctx context.Context, urn DatasetURN, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDataset Get a Dataset's greatest Version
Corresponds with GET /api/catalog/datasets/{urn} (the `GetDataset` operationId).
func (*Client) GetDatasetVersion ¶
func (c *Client) GetDatasetVersion(ctx context.Context, urn DatasetURN, version VersionPathParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDatasetVersion Get an explicit Dataset Version and its Contract
Corresponds with GET /api/catalog/datasets/{urn}/versions/{version} (the `GetDatasetVersion` operationId).
func (*Client) GetMaterialization ¶
func (c *Client) GetMaterialization(ctx context.Context, urn DatasetURN, version VersionPathParameter, materializationUrn MaterializationURN, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMaterialization Get a materialization binding
Corresponds with GET /api/catalog/datasets/{urn}/versions/{version}/materializations/{materializationUrn} (the `GetMaterialization` operationId).
func (*Client) ListDatasetVersions ¶
func (c *Client) ListDatasetVersions(ctx context.Context, urn DatasetURN, params *ListDatasetVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDatasetVersions List a Dataset's Versions in descending numeric SemVer order
Corresponds with GET /api/catalog/datasets/{urn}/versions (the `ListDatasetVersions` operationId).
func (*Client) ListDatasets ¶
func (c *Client) ListDatasets(ctx context.Context, params *ListDatasetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDatasets List Datasets
Corresponds with GET /api/catalog/datasets (the `ListDatasets` operationId).
func (*Client) ListMaterializations ¶
func (c *Client) ListMaterializations(ctx context.Context, urn DatasetURN, version VersionPathParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMaterializations List a Version's materialization bindings
Corresponds with GET /api/catalog/datasets/{urn}/versions/{version}/materializations (the `ListMaterializations` operationId).
func (*Client) PatchDatasetVersionWithApplicationMergePatchPlusJSONBody ¶
func (c *Client) PatchDatasetVersionWithApplicationMergePatchPlusJSONBody(ctx context.Context, urn DatasetURN, version VersionPathParameter, params *PatchDatasetVersionParams, body PatchDatasetVersionApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchDatasetVersionWithApplicationMergePatchPlusJSONBody Merge-patch mutable Version fields
Takes a body of the `application/merge-patch+json` content type.
Corresponds with PATCH /api/catalog/datasets/{urn}/versions/{version} (the `PatchDatasetVersion` operationId).
func (*Client) PatchDatasetVersionWithBody ¶
func (c *Client) PatchDatasetVersionWithBody(ctx context.Context, urn DatasetURN, version VersionPathParameter, params *PatchDatasetVersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchDatasetVersionWithBody Merge-patch mutable Version fields
Takes any type of body and a specified content type.
Corresponds with PATCH /api/catalog/datasets/{urn}/versions/{version} (the `PatchDatasetVersion` operationId).
type ClientInterface ¶
type ClientInterface interface {
// ListDatasets List Datasets
//
// Corresponds with GET /api/catalog/datasets (the `ListDatasets` operationId).
ListDatasets(ctx context.Context, params *ListDatasetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatasetWithBody Create a Dataset Version
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/catalog/datasets (the `CreateDataset` operationId).
CreateDatasetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDataset Create a Dataset Version
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/catalog/datasets (the `CreateDataset` operationId).
CreateDataset(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDataset Get a Dataset's greatest Version
//
// Corresponds with GET /api/catalog/datasets/{urn} (the `GetDataset` operationId).
GetDataset(ctx context.Context, urn DatasetURN, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatasetVersions List a Dataset's Versions in descending numeric SemVer order
//
// Corresponds with GET /api/catalog/datasets/{urn}/versions (the `ListDatasetVersions` operationId).
ListDatasetVersions(ctx context.Context, urn DatasetURN, params *ListDatasetVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatasetVersion Get an explicit Dataset Version and its Contract
//
// Corresponds with GET /api/catalog/datasets/{urn}/versions/{version} (the `GetDatasetVersion` operationId).
GetDatasetVersion(ctx context.Context, urn DatasetURN, version VersionPathParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchDatasetVersionWithBody Merge-patch mutable Version fields
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/catalog/datasets/{urn}/versions/{version} (the `PatchDatasetVersion` operationId).
PatchDatasetVersionWithBody(ctx context.Context, urn DatasetURN, version VersionPathParameter, params *PatchDatasetVersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchDatasetVersionWithApplicationMergePatchPlusJSONBody Merge-patch mutable Version fields
//
// Takes a body of the `application/merge-patch+json` content type.
//
// Corresponds with PATCH /api/catalog/datasets/{urn}/versions/{version} (the `PatchDatasetVersion` operationId).
PatchDatasetVersionWithApplicationMergePatchPlusJSONBody(ctx context.Context, urn DatasetURN, version VersionPathParameter, params *PatchDatasetVersionParams, body PatchDatasetVersionApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMaterializations List a Version's materialization bindings
//
// Corresponds with GET /api/catalog/datasets/{urn}/versions/{version}/materializations (the `ListMaterializations` operationId).
ListMaterializations(ctx context.Context, urn DatasetURN, version VersionPathParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMaterializationWithBody Add an immutable catalog binding
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/catalog/datasets/{urn}/versions/{version}/materializations (the `CreateMaterialization` operationId).
CreateMaterializationWithBody(ctx context.Context, urn DatasetURN, version VersionPathParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMaterialization Add an immutable catalog binding
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/catalog/datasets/{urn}/versions/{version}/materializations (the `CreateMaterialization` operationId).
CreateMaterialization(ctx context.Context, urn DatasetURN, version VersionPathParameter, body CreateMaterializationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMaterialization Remove a catalog binding without touching its provider
//
// Corresponds with DELETE /api/catalog/datasets/{urn}/versions/{version}/materializations/{materializationUrn} (the `DeleteMaterialization` operationId).
DeleteMaterialization(ctx context.Context, urn DatasetURN, version VersionPathParameter, materializationUrn MaterializationURN, params *DeleteMaterializationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMaterialization Get a materialization binding
//
// Corresponds with GET /api/catalog/datasets/{urn}/versions/{version}/materializations/{materializationUrn} (the `GetMaterialization` operationId).
GetMaterialization(ctx context.Context, urn DatasetURN, version VersionPathParameter, materializationUrn MaterializationURN, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewAuthenticatedClient ¶
func NewAuthenticatedClient(baseURL, accessToken string, httpClient *http.Client) (*ClientWithResponses, error)
NewAuthenticatedClient returns a Catalog ClientWithResponses that attaches the given Bearer access token to every request.
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CreateDatasetWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDatasetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetResponse, error)
CreateDatasetWithBodyWithResponse Create a Dataset Version
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/catalog/datasets (the `CreateDataset` operationId).
func (*ClientWithResponses) CreateDatasetWithResponse ¶
func (c *ClientWithResponses) CreateDatasetWithResponse(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetResponse, error)
CreateDatasetWithResponse Create a Dataset Version
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/catalog/datasets (the `CreateDataset` operationId).
func (*ClientWithResponses) CreateMaterializationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMaterializationWithBodyWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMaterializationResponse, error)
CreateMaterializationWithBodyWithResponse Add an immutable catalog binding
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/catalog/datasets/{urn}/versions/{version}/materializations (the `CreateMaterialization` operationId).
func (*ClientWithResponses) CreateMaterializationWithResponse ¶
func (c *ClientWithResponses) CreateMaterializationWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, body CreateMaterializationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMaterializationResponse, error)
CreateMaterializationWithResponse Add an immutable catalog binding
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/catalog/datasets/{urn}/versions/{version}/materializations (the `CreateMaterialization` operationId).
func (*ClientWithResponses) DeleteMaterializationWithResponse ¶
func (c *ClientWithResponses) DeleteMaterializationWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, materializationUrn MaterializationURN, params *DeleteMaterializationParams, reqEditors ...RequestEditorFn) (*DeleteMaterializationResponse, error)
DeleteMaterializationWithResponse Remove a catalog binding without touching its provider
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/catalog/datasets/{urn}/versions/{version}/materializations/{materializationUrn} (the `DeleteMaterialization` operationId).
func (*ClientWithResponses) GetDatasetVersionWithResponse ¶
func (c *ClientWithResponses) GetDatasetVersionWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, reqEditors ...RequestEditorFn) (*GetDatasetVersionResponse, error)
GetDatasetVersionWithResponse Get an explicit Dataset Version and its Contract
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/datasets/{urn}/versions/{version} (the `GetDatasetVersion` operationId).
func (*ClientWithResponses) GetDatasetWithResponse ¶
func (c *ClientWithResponses) GetDatasetWithResponse(ctx context.Context, urn DatasetURN, reqEditors ...RequestEditorFn) (*GetDatasetResponse, error)
GetDatasetWithResponse Get a Dataset's greatest Version
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/datasets/{urn} (the `GetDataset` operationId).
func (*ClientWithResponses) GetMaterializationWithResponse ¶
func (c *ClientWithResponses) GetMaterializationWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, materializationUrn MaterializationURN, reqEditors ...RequestEditorFn) (*GetMaterializationResponse, error)
GetMaterializationWithResponse Get a materialization binding
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/datasets/{urn}/versions/{version}/materializations/{materializationUrn} (the `GetMaterialization` operationId).
func (*ClientWithResponses) ListDatasetVersionsWithResponse ¶
func (c *ClientWithResponses) ListDatasetVersionsWithResponse(ctx context.Context, urn DatasetURN, params *ListDatasetVersionsParams, reqEditors ...RequestEditorFn) (*ListDatasetVersionsResponse, error)
ListDatasetVersionsWithResponse List a Dataset's Versions in descending numeric SemVer order
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/datasets/{urn}/versions (the `ListDatasetVersions` operationId).
func (*ClientWithResponses) ListDatasetsWithResponse ¶
func (c *ClientWithResponses) ListDatasetsWithResponse(ctx context.Context, params *ListDatasetsParams, reqEditors ...RequestEditorFn) (*ListDatasetsResponse, error)
ListDatasetsWithResponse List Datasets
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/datasets (the `ListDatasets` operationId).
func (*ClientWithResponses) ListMaterializationsWithResponse ¶
func (c *ClientWithResponses) ListMaterializationsWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, reqEditors ...RequestEditorFn) (*ListMaterializationsResponse, error)
ListMaterializationsWithResponse List a Version's materialization bindings
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/datasets/{urn}/versions/{version}/materializations (the `ListMaterializations` operationId).
func (*ClientWithResponses) PatchDatasetVersionWithApplicationMergePatchPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) PatchDatasetVersionWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, params *PatchDatasetVersionParams, body PatchDatasetVersionApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDatasetVersionResponse, error)
PatchDatasetVersionWithApplicationMergePatchPlusJSONBodyWithResponse Merge-patch mutable Version fields
Takes a body of the `application/merge-patch+json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/catalog/datasets/{urn}/versions/{version} (the `PatchDatasetVersion` operationId).
func (*ClientWithResponses) PatchDatasetVersionWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchDatasetVersionWithBodyWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, params *PatchDatasetVersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDatasetVersionResponse, error)
PatchDatasetVersionWithBodyWithResponse Merge-patch mutable Version fields
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/catalog/datasets/{urn}/versions/{version} (the `PatchDatasetVersion` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListDatasetsWithResponse List Datasets
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/datasets (the `ListDatasets` operationId).
ListDatasetsWithResponse(ctx context.Context, params *ListDatasetsParams, reqEditors ...RequestEditorFn) (*ListDatasetsResponse, error)
// CreateDatasetWithBodyWithResponse Create a Dataset Version
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/catalog/datasets (the `CreateDataset` operationId).
CreateDatasetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetResponse, error)
// CreateDatasetWithResponse Create a Dataset Version
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/catalog/datasets (the `CreateDataset` operationId).
CreateDatasetWithResponse(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetResponse, error)
// GetDatasetWithResponse Get a Dataset's greatest Version
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/datasets/{urn} (the `GetDataset` operationId).
GetDatasetWithResponse(ctx context.Context, urn DatasetURN, reqEditors ...RequestEditorFn) (*GetDatasetResponse, error)
// ListDatasetVersionsWithResponse List a Dataset's Versions in descending numeric SemVer order
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/datasets/{urn}/versions (the `ListDatasetVersions` operationId).
ListDatasetVersionsWithResponse(ctx context.Context, urn DatasetURN, params *ListDatasetVersionsParams, reqEditors ...RequestEditorFn) (*ListDatasetVersionsResponse, error)
// GetDatasetVersionWithResponse Get an explicit Dataset Version and its Contract
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/datasets/{urn}/versions/{version} (the `GetDatasetVersion` operationId).
GetDatasetVersionWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, reqEditors ...RequestEditorFn) (*GetDatasetVersionResponse, error)
// PatchDatasetVersionWithBodyWithResponse Merge-patch mutable Version fields
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/catalog/datasets/{urn}/versions/{version} (the `PatchDatasetVersion` operationId).
PatchDatasetVersionWithBodyWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, params *PatchDatasetVersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDatasetVersionResponse, error)
// PatchDatasetVersionWithApplicationMergePatchPlusJSONBodyWithResponse Merge-patch mutable Version fields
//
// Takes a body of the `application/merge-patch+json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/catalog/datasets/{urn}/versions/{version} (the `PatchDatasetVersion` operationId).
PatchDatasetVersionWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, params *PatchDatasetVersionParams, body PatchDatasetVersionApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDatasetVersionResponse, error)
// ListMaterializationsWithResponse List a Version's materialization bindings
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/datasets/{urn}/versions/{version}/materializations (the `ListMaterializations` operationId).
ListMaterializationsWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, reqEditors ...RequestEditorFn) (*ListMaterializationsResponse, error)
// CreateMaterializationWithBodyWithResponse Add an immutable catalog binding
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/catalog/datasets/{urn}/versions/{version}/materializations (the `CreateMaterialization` operationId).
CreateMaterializationWithBodyWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMaterializationResponse, error)
// CreateMaterializationWithResponse Add an immutable catalog binding
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/catalog/datasets/{urn}/versions/{version}/materializations (the `CreateMaterialization` operationId).
CreateMaterializationWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, body CreateMaterializationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMaterializationResponse, error)
// DeleteMaterializationWithResponse Remove a catalog binding without touching its provider
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/catalog/datasets/{urn}/versions/{version}/materializations/{materializationUrn} (the `DeleteMaterialization` operationId).
DeleteMaterializationWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, materializationUrn MaterializationURN, params *DeleteMaterializationParams, reqEditors ...RequestEditorFn) (*DeleteMaterializationResponse, error)
// GetMaterializationWithResponse Get a materialization binding
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/datasets/{urn}/versions/{version}/materializations/{materializationUrn} (the `GetMaterialization` operationId).
GetMaterializationWithResponse(ctx context.Context, urn DatasetURN, version VersionPathParameter, materializationUrn MaterializationURN, reqEditors ...RequestEditorFn) (*GetMaterializationResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Contract ¶
type Contract struct {
// Metadata A JSON object; arrays and scalars are invalid at the top level.
Metadata JSONMetadata `json:"metadata"`
Schema map[string]interface{} `json:"schema"`
}
Contract defines model for Contract.
type ContractInput ¶
type ContractInput struct {
// Metadata A JSON object; arrays and scalars are invalid at the top level.
Metadata JSONMetadata `json:"metadata"`
// Schema Valid Draft 2020-12 JSON Schema object.
Schema map[string]interface{} `json:"schema"`
}
ContractInput defines model for ContractInput.
type CreateDatasetJSONRequestBody ¶
type CreateDatasetJSONRequestBody = DatasetInput
CreateDatasetJSONRequestBody defines body for CreateDataset for application/json ContentType.
type CreateDatasetResponse ¶
type CreateDatasetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Dataset
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *BadRequest
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *Unauthorized
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Forbidden
// ApplicationproblemJSON405 the response for an HTTP 405 `application/problem+json` response
ApplicationproblemJSON405 *MethodNotAllowed
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *PayloadTooLarge
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *InternalServerError
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ServiceUnavailable
// ApplicationproblemJSON504 the response for an HTTP 504 `application/problem+json` response
ApplicationproblemJSON504 *GatewayTimeout
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateDatasetResponse201Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *CreateDatasetResponse400Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *CreateDatasetResponse401Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *CreateDatasetResponse403Headers
// Headers405 the parsed response headers for an HTTP 405 response
Headers405 *CreateDatasetResponse405Headers
// Headers409 the parsed response headers for an HTTP 409 response
Headers409 *CreateDatasetResponse409Headers
// Headers413 the parsed response headers for an HTTP 413 response
Headers413 *CreateDatasetResponse413Headers
// Headers500 the parsed response headers for an HTTP 500 response
Headers500 *CreateDatasetResponse500Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CreateDatasetResponse503Headers
// Headers504 the parsed response headers for an HTTP 504 response
Headers504 *CreateDatasetResponse504Headers
}
func ParseCreateDatasetResponse ¶
func ParseCreateDatasetResponse(rsp *http.Response) (*CreateDatasetResponse, error)
ParseCreateDatasetResponse parses an HTTP response from a CreateDatasetWithResponse call
func (CreateDatasetResponse) ContentType ¶
func (r CreateDatasetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDatasetResponse) GetApplicationproblemJSON400 ¶
func (r CreateDatasetResponse) GetApplicationproblemJSON400() *BadRequest
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateDatasetResponse) GetApplicationproblemJSON401 ¶
func (r CreateDatasetResponse) GetApplicationproblemJSON401() *Unauthorized
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateDatasetResponse) GetApplicationproblemJSON403 ¶
func (r CreateDatasetResponse) GetApplicationproblemJSON403() *Forbidden
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateDatasetResponse) GetApplicationproblemJSON405 ¶
func (r CreateDatasetResponse) GetApplicationproblemJSON405() *MethodNotAllowed
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (CreateDatasetResponse) GetApplicationproblemJSON409 ¶
func (r CreateDatasetResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateDatasetResponse) GetApplicationproblemJSON413 ¶
func (r CreateDatasetResponse) GetApplicationproblemJSON413() *PayloadTooLarge
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (CreateDatasetResponse) GetApplicationproblemJSON500 ¶
func (r CreateDatasetResponse) GetApplicationproblemJSON500() *InternalServerError
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateDatasetResponse) GetApplicationproblemJSON503 ¶
func (r CreateDatasetResponse) GetApplicationproblemJSON503() *ServiceUnavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateDatasetResponse) GetApplicationproblemJSON504 ¶
func (r CreateDatasetResponse) GetApplicationproblemJSON504() *GatewayTimeout
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (CreateDatasetResponse) GetBody ¶
func (r CreateDatasetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDatasetResponse) GetJSON201 ¶
func (r CreateDatasetResponse) GetJSON201() *Dataset
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDatasetResponse) Status ¶
func (r CreateDatasetResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDatasetResponse) StatusCode ¶
func (r CreateDatasetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatasetResponse201Headers ¶
CreateDatasetResponse201Headers the declared response headers of an HTTP 201 response for CreateDataset
type CreateDatasetResponse400Headers ¶
type CreateDatasetResponse400Headers struct {
XRequestID string
}
CreateDatasetResponse400Headers the declared response headers of an HTTP 400 response for CreateDataset
type CreateDatasetResponse401Headers ¶
CreateDatasetResponse401Headers the declared response headers of an HTTP 401 response for CreateDataset
type CreateDatasetResponse403Headers ¶
type CreateDatasetResponse403Headers struct {
XRequestID string
}
CreateDatasetResponse403Headers the declared response headers of an HTTP 403 response for CreateDataset
type CreateDatasetResponse405Headers ¶
CreateDatasetResponse405Headers the declared response headers of an HTTP 405 response for CreateDataset
type CreateDatasetResponse409Headers ¶
type CreateDatasetResponse409Headers struct {
XRequestID string
}
CreateDatasetResponse409Headers the declared response headers of an HTTP 409 response for CreateDataset
type CreateDatasetResponse413Headers ¶
type CreateDatasetResponse413Headers struct {
XRequestID string
}
CreateDatasetResponse413Headers the declared response headers of an HTTP 413 response for CreateDataset
type CreateDatasetResponse500Headers ¶
type CreateDatasetResponse500Headers struct {
XRequestID string
}
CreateDatasetResponse500Headers the declared response headers of an HTTP 500 response for CreateDataset
type CreateDatasetResponse503Headers ¶
type CreateDatasetResponse503Headers struct {
XRequestID string
}
CreateDatasetResponse503Headers the declared response headers of an HTTP 503 response for CreateDataset
type CreateDatasetResponse504Headers ¶
type CreateDatasetResponse504Headers struct {
XRequestID string
}
CreateDatasetResponse504Headers the declared response headers of an HTTP 504 response for CreateDataset
type CreateMaterializationJSONRequestBody ¶
type CreateMaterializationJSONRequestBody = MaterializationInput
CreateMaterializationJSONRequestBody defines body for CreateMaterialization for application/json ContentType.
type CreateMaterializationResponse ¶
type CreateMaterializationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Materialization
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *BadRequest
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *Unauthorized
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Forbidden
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON405 the response for an HTTP 405 `application/problem+json` response
ApplicationproblemJSON405 *MethodNotAllowed
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *PayloadTooLarge
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *InternalServerError
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ServiceUnavailable
// ApplicationproblemJSON504 the response for an HTTP 504 `application/problem+json` response
ApplicationproblemJSON504 *GatewayTimeout
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateMaterializationResponse201Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *CreateMaterializationResponse400Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *CreateMaterializationResponse401Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *CreateMaterializationResponse403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *CreateMaterializationResponse404Headers
// Headers405 the parsed response headers for an HTTP 405 response
Headers405 *CreateMaterializationResponse405Headers
// Headers409 the parsed response headers for an HTTP 409 response
Headers409 *CreateMaterializationResponse409Headers
// Headers413 the parsed response headers for an HTTP 413 response
Headers413 *CreateMaterializationResponse413Headers
// Headers500 the parsed response headers for an HTTP 500 response
Headers500 *CreateMaterializationResponse500Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CreateMaterializationResponse503Headers
// Headers504 the parsed response headers for an HTTP 504 response
Headers504 *CreateMaterializationResponse504Headers
}
func ParseCreateMaterializationResponse ¶
func ParseCreateMaterializationResponse(rsp *http.Response) (*CreateMaterializationResponse, error)
ParseCreateMaterializationResponse parses an HTTP response from a CreateMaterializationWithResponse call
func (CreateMaterializationResponse) ContentType ¶
func (r CreateMaterializationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMaterializationResponse) GetApplicationproblemJSON400 ¶
func (r CreateMaterializationResponse) GetApplicationproblemJSON400() *BadRequest
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateMaterializationResponse) GetApplicationproblemJSON401 ¶
func (r CreateMaterializationResponse) GetApplicationproblemJSON401() *Unauthorized
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateMaterializationResponse) GetApplicationproblemJSON403 ¶
func (r CreateMaterializationResponse) GetApplicationproblemJSON403() *Forbidden
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateMaterializationResponse) GetApplicationproblemJSON404 ¶
func (r CreateMaterializationResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateMaterializationResponse) GetApplicationproblemJSON405 ¶
func (r CreateMaterializationResponse) GetApplicationproblemJSON405() *MethodNotAllowed
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (CreateMaterializationResponse) GetApplicationproblemJSON409 ¶
func (r CreateMaterializationResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateMaterializationResponse) GetApplicationproblemJSON413 ¶
func (r CreateMaterializationResponse) GetApplicationproblemJSON413() *PayloadTooLarge
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (CreateMaterializationResponse) GetApplicationproblemJSON500 ¶
func (r CreateMaterializationResponse) GetApplicationproblemJSON500() *InternalServerError
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateMaterializationResponse) GetApplicationproblemJSON503 ¶
func (r CreateMaterializationResponse) GetApplicationproblemJSON503() *ServiceUnavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateMaterializationResponse) GetApplicationproblemJSON504 ¶
func (r CreateMaterializationResponse) GetApplicationproblemJSON504() *GatewayTimeout
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (CreateMaterializationResponse) GetBody ¶
func (r CreateMaterializationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateMaterializationResponse) GetJSON201 ¶
func (r CreateMaterializationResponse) GetJSON201() *Materialization
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateMaterializationResponse) Status ¶
func (r CreateMaterializationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMaterializationResponse) StatusCode ¶
func (r CreateMaterializationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMaterializationResponse201Headers ¶
type CreateMaterializationResponse201Headers struct {
ETag string
Location string
XRequestID string
}
CreateMaterializationResponse201Headers the declared response headers of an HTTP 201 response for CreateMaterialization
type CreateMaterializationResponse400Headers ¶
type CreateMaterializationResponse400Headers struct {
XRequestID string
}
CreateMaterializationResponse400Headers the declared response headers of an HTTP 400 response for CreateMaterialization
type CreateMaterializationResponse401Headers ¶
CreateMaterializationResponse401Headers the declared response headers of an HTTP 401 response for CreateMaterialization
type CreateMaterializationResponse403Headers ¶
type CreateMaterializationResponse403Headers struct {
XRequestID string
}
CreateMaterializationResponse403Headers the declared response headers of an HTTP 403 response for CreateMaterialization
type CreateMaterializationResponse404Headers ¶
type CreateMaterializationResponse404Headers struct {
XRequestID string
}
CreateMaterializationResponse404Headers the declared response headers of an HTTP 404 response for CreateMaterialization
type CreateMaterializationResponse405Headers ¶
CreateMaterializationResponse405Headers the declared response headers of an HTTP 405 response for CreateMaterialization
type CreateMaterializationResponse409Headers ¶
type CreateMaterializationResponse409Headers struct {
XRequestID string
}
CreateMaterializationResponse409Headers the declared response headers of an HTTP 409 response for CreateMaterialization
type CreateMaterializationResponse413Headers ¶
type CreateMaterializationResponse413Headers struct {
XRequestID string
}
CreateMaterializationResponse413Headers the declared response headers of an HTTP 413 response for CreateMaterialization
type CreateMaterializationResponse500Headers ¶
type CreateMaterializationResponse500Headers struct {
XRequestID string
}
CreateMaterializationResponse500Headers the declared response headers of an HTTP 500 response for CreateMaterialization
type CreateMaterializationResponse503Headers ¶
type CreateMaterializationResponse503Headers struct {
XRequestID string
}
CreateMaterializationResponse503Headers the declared response headers of an HTTP 503 response for CreateMaterialization
type CreateMaterializationResponse504Headers ¶
type CreateMaterializationResponse504Headers struct {
XRequestID string
}
CreateMaterializationResponse504Headers the declared response headers of an HTTP 504 response for CreateMaterialization
type DatabricksTableLocator ¶
type DatabricksTableLocator struct {
Catalog string `json:"catalog"`
Schema string `json:"schema"`
Table string `json:"table"`
WorkspaceUrl string `json:"workspaceUrl"`
}
DatabricksTableLocator defines model for DatabricksTableLocator.
type Dataset ¶
type Dataset struct {
Contract Contract `json:"contract"`
CreatedAt time.Time `json:"createdAt"`
Description string `json:"description"`
// Metadata A JSON object; arrays and scalars are invalid at the top level.
Metadata JSONMetadata `json:"metadata"`
Revision int64 `json:"revision"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
// Urn Immutable, opaque, case-sensitive Dataset identity.
//
// Examples: urn:daco:dataset:orders
Urn string `json:"urn"`
// Version Stable numeric major.minor.patch without prerelease or build suffixes.
//
// Examples: 1.2.3
Version SemVer `json:"version"`
}
Dataset defines model for Dataset.
type DatasetInput ¶
type DatasetInput struct {
Contract ContractInput `json:"contract"`
Description string `json:"description"`
// Metadata A JSON object; arrays and scalars are invalid at the top level.
Metadata JSONMetadata `json:"metadata"`
// Title Trimmed before validating the 200-character limit.
Title string `json:"title"`
Urn string `json:"urn"`
// Version Stable numeric major.minor.patch without prerelease or build suffixes.
//
// Examples: 1.2.3
Version SemVer `json:"version"`
}
DatasetInput defines model for DatasetInput.
type DatasetList ¶
type DatasetList struct {
Datasets []DatasetSummary `json:"datasets"`
// NextPageToken Opaque URL-safe continuation token; omitted on the final page.
NextPageToken *string `json:"nextPageToken,omitempty"`
}
DatasetList defines model for DatasetList.
type DatasetSummary ¶
type DatasetSummary struct {
Title string `json:"title"`
Urn string `json:"urn"`
// Version Stable numeric major.minor.patch without prerelease or build suffixes.
//
// Examples: 1.2.3
Version SemVer `json:"version"`
}
DatasetSummary defines model for DatasetSummary.
type DatasetVersionList ¶
type DatasetVersionList struct {
NextPageToken *string `json:"nextPageToken,omitempty"`
Versions []Dataset `json:"versions"`
}
DatasetVersionList defines model for DatasetVersionList.
type DatasetVersionPatch ¶
type DatasetVersionPatch struct {
Description *string `json:"description,omitempty"`
// Metadata A JSON object; arrays and scalars are invalid at the top level.
Metadata *JSONMetadata `json:"metadata,omitempty"`
// Title Trimmed before validating the 200-character limit.
Title *string `json:"title,omitempty"`
}
DatasetVersionPatch defines model for DatasetVersionPatch.
type DeleteMaterializationParams ¶
type DeleteMaterializationParams struct {
// IfMatch Optional current ETag; mismatch prevents the command.
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
DeleteMaterializationParams defines parameters for DeleteMaterialization.
type DeleteMaterializationResponse ¶
type DeleteMaterializationResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *BadRequest
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *Unauthorized
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Forbidden
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON405 the response for an HTTP 405 `application/problem+json` response
ApplicationproblemJSON405 *MethodNotAllowed
// ApplicationproblemJSON412 the response for an HTTP 412 `application/problem+json` response
ApplicationproblemJSON412 *PreconditionFailed
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *InternalServerError
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ServiceUnavailable
// ApplicationproblemJSON504 the response for an HTTP 504 `application/problem+json` response
ApplicationproblemJSON504 *GatewayTimeout
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *DeleteMaterializationResponse204Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *DeleteMaterializationResponse400Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *DeleteMaterializationResponse401Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *DeleteMaterializationResponse403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *DeleteMaterializationResponse404Headers
// Headers405 the parsed response headers for an HTTP 405 response
Headers405 *DeleteMaterializationResponse405Headers
// Headers412 the parsed response headers for an HTTP 412 response
Headers412 *DeleteMaterializationResponse412Headers
// Headers500 the parsed response headers for an HTTP 500 response
Headers500 *DeleteMaterializationResponse500Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *DeleteMaterializationResponse503Headers
// Headers504 the parsed response headers for an HTTP 504 response
Headers504 *DeleteMaterializationResponse504Headers
}
func ParseDeleteMaterializationResponse ¶
func ParseDeleteMaterializationResponse(rsp *http.Response) (*DeleteMaterializationResponse, error)
ParseDeleteMaterializationResponse parses an HTTP response from a DeleteMaterializationWithResponse call
func (DeleteMaterializationResponse) ContentType ¶
func (r DeleteMaterializationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMaterializationResponse) GetApplicationproblemJSON400 ¶
func (r DeleteMaterializationResponse) GetApplicationproblemJSON400() *BadRequest
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DeleteMaterializationResponse) GetApplicationproblemJSON401 ¶
func (r DeleteMaterializationResponse) GetApplicationproblemJSON401() *Unauthorized
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteMaterializationResponse) GetApplicationproblemJSON403 ¶
func (r DeleteMaterializationResponse) GetApplicationproblemJSON403() *Forbidden
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteMaterializationResponse) GetApplicationproblemJSON404 ¶
func (r DeleteMaterializationResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteMaterializationResponse) GetApplicationproblemJSON405 ¶
func (r DeleteMaterializationResponse) GetApplicationproblemJSON405() *MethodNotAllowed
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (DeleteMaterializationResponse) GetApplicationproblemJSON412 ¶
func (r DeleteMaterializationResponse) GetApplicationproblemJSON412() *PreconditionFailed
GetApplicationproblemJSON412 returns the response for an HTTP 412 `application/problem+json` response
func (DeleteMaterializationResponse) GetApplicationproblemJSON500 ¶
func (r DeleteMaterializationResponse) GetApplicationproblemJSON500() *InternalServerError
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteMaterializationResponse) GetApplicationproblemJSON503 ¶
func (r DeleteMaterializationResponse) GetApplicationproblemJSON503() *ServiceUnavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (DeleteMaterializationResponse) GetApplicationproblemJSON504 ¶
func (r DeleteMaterializationResponse) GetApplicationproblemJSON504() *GatewayTimeout
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (DeleteMaterializationResponse) GetBody ¶
func (r DeleteMaterializationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteMaterializationResponse) Status ¶
func (r DeleteMaterializationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMaterializationResponse) StatusCode ¶
func (r DeleteMaterializationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMaterializationResponse204Headers ¶
type DeleteMaterializationResponse204Headers struct {
XRequestID string
}
DeleteMaterializationResponse204Headers the declared response headers of an HTTP 204 response for DeleteMaterialization
type DeleteMaterializationResponse400Headers ¶
type DeleteMaterializationResponse400Headers struct {
XRequestID string
}
DeleteMaterializationResponse400Headers the declared response headers of an HTTP 400 response for DeleteMaterialization
type DeleteMaterializationResponse401Headers ¶
DeleteMaterializationResponse401Headers the declared response headers of an HTTP 401 response for DeleteMaterialization
type DeleteMaterializationResponse403Headers ¶
type DeleteMaterializationResponse403Headers struct {
XRequestID string
}
DeleteMaterializationResponse403Headers the declared response headers of an HTTP 403 response for DeleteMaterialization
type DeleteMaterializationResponse404Headers ¶
type DeleteMaterializationResponse404Headers struct {
XRequestID string
}
DeleteMaterializationResponse404Headers the declared response headers of an HTTP 404 response for DeleteMaterialization
type DeleteMaterializationResponse405Headers ¶
DeleteMaterializationResponse405Headers the declared response headers of an HTTP 405 response for DeleteMaterialization
type DeleteMaterializationResponse412Headers ¶
type DeleteMaterializationResponse412Headers struct {
XRequestID string
}
DeleteMaterializationResponse412Headers the declared response headers of an HTTP 412 response for DeleteMaterialization
type DeleteMaterializationResponse500Headers ¶
type DeleteMaterializationResponse500Headers struct {
XRequestID string
}
DeleteMaterializationResponse500Headers the declared response headers of an HTTP 500 response for DeleteMaterialization
type DeleteMaterializationResponse503Headers ¶
type DeleteMaterializationResponse503Headers struct {
XRequestID string
}
DeleteMaterializationResponse503Headers the declared response headers of an HTTP 503 response for DeleteMaterialization
type DeleteMaterializationResponse504Headers ¶
type DeleteMaterializationResponse504Headers struct {
XRequestID string
}
DeleteMaterializationResponse504Headers the declared response headers of an HTTP 504 response for DeleteMaterialization
type GatewayTimeout ¶
type GatewayTimeout = Problem
GatewayTimeout defines model for GatewayTimeout.
type GetDatasetResponse ¶
type GetDatasetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Dataset
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *BadRequest
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *Unauthorized
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Forbidden
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON405 the response for an HTTP 405 `application/problem+json` response
ApplicationproblemJSON405 *MethodNotAllowed
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *InternalServerError
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ServiceUnavailable
// ApplicationproblemJSON504 the response for an HTTP 504 `application/problem+json` response
ApplicationproblemJSON504 *GatewayTimeout
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetDatasetResponse200Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *GetDatasetResponse400Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetDatasetResponse401Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetDatasetResponse403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetDatasetResponse404Headers
// Headers405 the parsed response headers for an HTTP 405 response
Headers405 *GetDatasetResponse405Headers
// Headers500 the parsed response headers for an HTTP 500 response
Headers500 *GetDatasetResponse500Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *GetDatasetResponse503Headers
// Headers504 the parsed response headers for an HTTP 504 response
Headers504 *GetDatasetResponse504Headers
}
func ParseGetDatasetResponse ¶
func ParseGetDatasetResponse(rsp *http.Response) (*GetDatasetResponse, error)
ParseGetDatasetResponse parses an HTTP response from a GetDatasetWithResponse call
func (GetDatasetResponse) ContentType ¶
func (r GetDatasetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDatasetResponse) GetApplicationproblemJSON400 ¶
func (r GetDatasetResponse) GetApplicationproblemJSON400() *BadRequest
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetDatasetResponse) GetApplicationproblemJSON401 ¶
func (r GetDatasetResponse) GetApplicationproblemJSON401() *Unauthorized
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetDatasetResponse) GetApplicationproblemJSON403 ¶
func (r GetDatasetResponse) GetApplicationproblemJSON403() *Forbidden
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetDatasetResponse) GetApplicationproblemJSON404 ¶
func (r GetDatasetResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetDatasetResponse) GetApplicationproblemJSON405 ¶
func (r GetDatasetResponse) GetApplicationproblemJSON405() *MethodNotAllowed
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (GetDatasetResponse) GetApplicationproblemJSON500 ¶
func (r GetDatasetResponse) GetApplicationproblemJSON500() *InternalServerError
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetDatasetResponse) GetApplicationproblemJSON503 ¶
func (r GetDatasetResponse) GetApplicationproblemJSON503() *ServiceUnavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetDatasetResponse) GetApplicationproblemJSON504 ¶
func (r GetDatasetResponse) GetApplicationproblemJSON504() *GatewayTimeout
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (GetDatasetResponse) GetBody ¶
func (r GetDatasetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDatasetResponse) GetJSON200 ¶
func (r GetDatasetResponse) GetJSON200() *Dataset
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDatasetResponse) Status ¶
func (r GetDatasetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatasetResponse) StatusCode ¶
func (r GetDatasetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatasetResponse200Headers ¶
type GetDatasetResponse200Headers struct {
XRequestID string
}
GetDatasetResponse200Headers the declared response headers of an HTTP 200 response for GetDataset
type GetDatasetResponse400Headers ¶
type GetDatasetResponse400Headers struct {
XRequestID string
}
GetDatasetResponse400Headers the declared response headers of an HTTP 400 response for GetDataset
type GetDatasetResponse401Headers ¶
GetDatasetResponse401Headers the declared response headers of an HTTP 401 response for GetDataset
type GetDatasetResponse403Headers ¶
type GetDatasetResponse403Headers struct {
XRequestID string
}
GetDatasetResponse403Headers the declared response headers of an HTTP 403 response for GetDataset
type GetDatasetResponse404Headers ¶
type GetDatasetResponse404Headers struct {
XRequestID string
}
GetDatasetResponse404Headers the declared response headers of an HTTP 404 response for GetDataset
type GetDatasetResponse405Headers ¶
GetDatasetResponse405Headers the declared response headers of an HTTP 405 response for GetDataset
type GetDatasetResponse500Headers ¶
type GetDatasetResponse500Headers struct {
XRequestID string
}
GetDatasetResponse500Headers the declared response headers of an HTTP 500 response for GetDataset
type GetDatasetResponse503Headers ¶
type GetDatasetResponse503Headers struct {
XRequestID string
}
GetDatasetResponse503Headers the declared response headers of an HTTP 503 response for GetDataset
type GetDatasetResponse504Headers ¶
type GetDatasetResponse504Headers struct {
XRequestID string
}
GetDatasetResponse504Headers the declared response headers of an HTTP 504 response for GetDataset
type GetDatasetVersionResponse ¶
type GetDatasetVersionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Dataset
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *BadRequest
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *Unauthorized
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Forbidden
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON405 the response for an HTTP 405 `application/problem+json` response
ApplicationproblemJSON405 *MethodNotAllowed
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *InternalServerError
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ServiceUnavailable
// ApplicationproblemJSON504 the response for an HTTP 504 `application/problem+json` response
ApplicationproblemJSON504 *GatewayTimeout
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetDatasetVersionResponse200Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *GetDatasetVersionResponse400Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetDatasetVersionResponse401Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetDatasetVersionResponse403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetDatasetVersionResponse404Headers
// Headers405 the parsed response headers for an HTTP 405 response
Headers405 *GetDatasetVersionResponse405Headers
// Headers500 the parsed response headers for an HTTP 500 response
Headers500 *GetDatasetVersionResponse500Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *GetDatasetVersionResponse503Headers
// Headers504 the parsed response headers for an HTTP 504 response
Headers504 *GetDatasetVersionResponse504Headers
}
func ParseGetDatasetVersionResponse ¶
func ParseGetDatasetVersionResponse(rsp *http.Response) (*GetDatasetVersionResponse, error)
ParseGetDatasetVersionResponse parses an HTTP response from a GetDatasetVersionWithResponse call
func (GetDatasetVersionResponse) ContentType ¶
func (r GetDatasetVersionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDatasetVersionResponse) GetApplicationproblemJSON400 ¶
func (r GetDatasetVersionResponse) GetApplicationproblemJSON400() *BadRequest
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetDatasetVersionResponse) GetApplicationproblemJSON401 ¶
func (r GetDatasetVersionResponse) GetApplicationproblemJSON401() *Unauthorized
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetDatasetVersionResponse) GetApplicationproblemJSON403 ¶
func (r GetDatasetVersionResponse) GetApplicationproblemJSON403() *Forbidden
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetDatasetVersionResponse) GetApplicationproblemJSON404 ¶
func (r GetDatasetVersionResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetDatasetVersionResponse) GetApplicationproblemJSON405 ¶
func (r GetDatasetVersionResponse) GetApplicationproblemJSON405() *MethodNotAllowed
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (GetDatasetVersionResponse) GetApplicationproblemJSON500 ¶
func (r GetDatasetVersionResponse) GetApplicationproblemJSON500() *InternalServerError
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetDatasetVersionResponse) GetApplicationproblemJSON503 ¶
func (r GetDatasetVersionResponse) GetApplicationproblemJSON503() *ServiceUnavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetDatasetVersionResponse) GetApplicationproblemJSON504 ¶
func (r GetDatasetVersionResponse) GetApplicationproblemJSON504() *GatewayTimeout
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (GetDatasetVersionResponse) GetBody ¶
func (r GetDatasetVersionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDatasetVersionResponse) GetJSON200 ¶
func (r GetDatasetVersionResponse) GetJSON200() *Dataset
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDatasetVersionResponse) Status ¶
func (r GetDatasetVersionResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatasetVersionResponse) StatusCode ¶
func (r GetDatasetVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatasetVersionResponse200Headers ¶
GetDatasetVersionResponse200Headers the declared response headers of an HTTP 200 response for GetDatasetVersion
type GetDatasetVersionResponse400Headers ¶
type GetDatasetVersionResponse400Headers struct {
XRequestID string
}
GetDatasetVersionResponse400Headers the declared response headers of an HTTP 400 response for GetDatasetVersion
type GetDatasetVersionResponse401Headers ¶
GetDatasetVersionResponse401Headers the declared response headers of an HTTP 401 response for GetDatasetVersion
type GetDatasetVersionResponse403Headers ¶
type GetDatasetVersionResponse403Headers struct {
XRequestID string
}
GetDatasetVersionResponse403Headers the declared response headers of an HTTP 403 response for GetDatasetVersion
type GetDatasetVersionResponse404Headers ¶
type GetDatasetVersionResponse404Headers struct {
XRequestID string
}
GetDatasetVersionResponse404Headers the declared response headers of an HTTP 404 response for GetDatasetVersion
type GetDatasetVersionResponse405Headers ¶
GetDatasetVersionResponse405Headers the declared response headers of an HTTP 405 response for GetDatasetVersion
type GetDatasetVersionResponse500Headers ¶
type GetDatasetVersionResponse500Headers struct {
XRequestID string
}
GetDatasetVersionResponse500Headers the declared response headers of an HTTP 500 response for GetDatasetVersion
type GetDatasetVersionResponse503Headers ¶
type GetDatasetVersionResponse503Headers struct {
XRequestID string
}
GetDatasetVersionResponse503Headers the declared response headers of an HTTP 503 response for GetDatasetVersion
type GetDatasetVersionResponse504Headers ¶
type GetDatasetVersionResponse504Headers struct {
XRequestID string
}
GetDatasetVersionResponse504Headers the declared response headers of an HTTP 504 response for GetDatasetVersion
type GetMaterializationResponse ¶
type GetMaterializationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Materialization
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *BadRequest
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *Unauthorized
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Forbidden
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON405 the response for an HTTP 405 `application/problem+json` response
ApplicationproblemJSON405 *MethodNotAllowed
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *InternalServerError
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ServiceUnavailable
// ApplicationproblemJSON504 the response for an HTTP 504 `application/problem+json` response
ApplicationproblemJSON504 *GatewayTimeout
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetMaterializationResponse200Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *GetMaterializationResponse400Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMaterializationResponse401Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetMaterializationResponse403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetMaterializationResponse404Headers
// Headers405 the parsed response headers for an HTTP 405 response
Headers405 *GetMaterializationResponse405Headers
// Headers500 the parsed response headers for an HTTP 500 response
Headers500 *GetMaterializationResponse500Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *GetMaterializationResponse503Headers
// Headers504 the parsed response headers for an HTTP 504 response
Headers504 *GetMaterializationResponse504Headers
}
func ParseGetMaterializationResponse ¶
func ParseGetMaterializationResponse(rsp *http.Response) (*GetMaterializationResponse, error)
ParseGetMaterializationResponse parses an HTTP response from a GetMaterializationWithResponse call
func (GetMaterializationResponse) ContentType ¶
func (r GetMaterializationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMaterializationResponse) GetApplicationproblemJSON400 ¶
func (r GetMaterializationResponse) GetApplicationproblemJSON400() *BadRequest
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMaterializationResponse) GetApplicationproblemJSON401 ¶
func (r GetMaterializationResponse) GetApplicationproblemJSON401() *Unauthorized
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMaterializationResponse) GetApplicationproblemJSON403 ¶
func (r GetMaterializationResponse) GetApplicationproblemJSON403() *Forbidden
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetMaterializationResponse) GetApplicationproblemJSON404 ¶
func (r GetMaterializationResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMaterializationResponse) GetApplicationproblemJSON405 ¶
func (r GetMaterializationResponse) GetApplicationproblemJSON405() *MethodNotAllowed
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (GetMaterializationResponse) GetApplicationproblemJSON500 ¶
func (r GetMaterializationResponse) GetApplicationproblemJSON500() *InternalServerError
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetMaterializationResponse) GetApplicationproblemJSON503 ¶
func (r GetMaterializationResponse) GetApplicationproblemJSON503() *ServiceUnavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMaterializationResponse) GetApplicationproblemJSON504 ¶
func (r GetMaterializationResponse) GetApplicationproblemJSON504() *GatewayTimeout
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (GetMaterializationResponse) GetBody ¶
func (r GetMaterializationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMaterializationResponse) GetJSON200 ¶
func (r GetMaterializationResponse) GetJSON200() *Materialization
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMaterializationResponse) Status ¶
func (r GetMaterializationResponse) Status() string
Status returns HTTPResponse.Status
func (GetMaterializationResponse) StatusCode ¶
func (r GetMaterializationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMaterializationResponse200Headers ¶
GetMaterializationResponse200Headers the declared response headers of an HTTP 200 response for GetMaterialization
type GetMaterializationResponse400Headers ¶
type GetMaterializationResponse400Headers struct {
XRequestID string
}
GetMaterializationResponse400Headers the declared response headers of an HTTP 400 response for GetMaterialization
type GetMaterializationResponse401Headers ¶
GetMaterializationResponse401Headers the declared response headers of an HTTP 401 response for GetMaterialization
type GetMaterializationResponse403Headers ¶
type GetMaterializationResponse403Headers struct {
XRequestID string
}
GetMaterializationResponse403Headers the declared response headers of an HTTP 403 response for GetMaterialization
type GetMaterializationResponse404Headers ¶
type GetMaterializationResponse404Headers struct {
XRequestID string
}
GetMaterializationResponse404Headers the declared response headers of an HTTP 404 response for GetMaterialization
type GetMaterializationResponse405Headers ¶
GetMaterializationResponse405Headers the declared response headers of an HTTP 405 response for GetMaterialization
type GetMaterializationResponse500Headers ¶
type GetMaterializationResponse500Headers struct {
XRequestID string
}
GetMaterializationResponse500Headers the declared response headers of an HTTP 500 response for GetMaterialization
type GetMaterializationResponse503Headers ¶
type GetMaterializationResponse503Headers struct {
XRequestID string
}
GetMaterializationResponse503Headers the declared response headers of an HTTP 503 response for GetMaterialization
type GetMaterializationResponse504Headers ¶
type GetMaterializationResponse504Headers struct {
XRequestID string
}
GetMaterializationResponse504Headers the declared response headers of an HTTP 504 response for GetMaterialization
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InternalServerError ¶
type InternalServerError = Problem
InternalServerError defines model for InternalServerError.
type InvalidParameter ¶
InvalidParameter defines model for InvalidParameter.
type JSONMetadata ¶
type JSONMetadata map[string]interface{}
JSONMetadata A JSON object; arrays and scalars are invalid at the top level.
type ListDatasetVersionsParams ¶
type ListDatasetVersionsParams struct {
// PageSize Zero selects the default of 50; positive values are capped at 200.
PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
PageToken *PageToken `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}
ListDatasetVersionsParams defines parameters for ListDatasetVersions.
type ListDatasetVersionsResponse ¶
type ListDatasetVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatasetVersionList
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *BadRequest
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *Unauthorized
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Forbidden
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON405 the response for an HTTP 405 `application/problem+json` response
ApplicationproblemJSON405 *MethodNotAllowed
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *InternalServerError
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ServiceUnavailable
// ApplicationproblemJSON504 the response for an HTTP 504 `application/problem+json` response
ApplicationproblemJSON504 *GatewayTimeout
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *ListDatasetVersionsResponse200Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *ListDatasetVersionsResponse400Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListDatasetVersionsResponse401Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *ListDatasetVersionsResponse403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *ListDatasetVersionsResponse404Headers
// Headers405 the parsed response headers for an HTTP 405 response
Headers405 *ListDatasetVersionsResponse405Headers
// Headers500 the parsed response headers for an HTTP 500 response
Headers500 *ListDatasetVersionsResponse500Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *ListDatasetVersionsResponse503Headers
// Headers504 the parsed response headers for an HTTP 504 response
Headers504 *ListDatasetVersionsResponse504Headers
}
func ParseListDatasetVersionsResponse ¶
func ParseListDatasetVersionsResponse(rsp *http.Response) (*ListDatasetVersionsResponse, error)
ParseListDatasetVersionsResponse parses an HTTP response from a ListDatasetVersionsWithResponse call
func (ListDatasetVersionsResponse) ContentType ¶
func (r ListDatasetVersionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDatasetVersionsResponse) GetApplicationproblemJSON400 ¶
func (r ListDatasetVersionsResponse) GetApplicationproblemJSON400() *BadRequest
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListDatasetVersionsResponse) GetApplicationproblemJSON401 ¶
func (r ListDatasetVersionsResponse) GetApplicationproblemJSON401() *Unauthorized
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListDatasetVersionsResponse) GetApplicationproblemJSON403 ¶
func (r ListDatasetVersionsResponse) GetApplicationproblemJSON403() *Forbidden
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListDatasetVersionsResponse) GetApplicationproblemJSON404 ¶
func (r ListDatasetVersionsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListDatasetVersionsResponse) GetApplicationproblemJSON405 ¶
func (r ListDatasetVersionsResponse) GetApplicationproblemJSON405() *MethodNotAllowed
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (ListDatasetVersionsResponse) GetApplicationproblemJSON500 ¶
func (r ListDatasetVersionsResponse) GetApplicationproblemJSON500() *InternalServerError
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListDatasetVersionsResponse) GetApplicationproblemJSON503 ¶
func (r ListDatasetVersionsResponse) GetApplicationproblemJSON503() *ServiceUnavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListDatasetVersionsResponse) GetApplicationproblemJSON504 ¶
func (r ListDatasetVersionsResponse) GetApplicationproblemJSON504() *GatewayTimeout
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (ListDatasetVersionsResponse) GetBody ¶
func (r ListDatasetVersionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDatasetVersionsResponse) GetJSON200 ¶
func (r ListDatasetVersionsResponse) GetJSON200() *DatasetVersionList
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDatasetVersionsResponse) Status ¶
func (r ListDatasetVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatasetVersionsResponse) StatusCode ¶
func (r ListDatasetVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatasetVersionsResponse200Headers ¶
type ListDatasetVersionsResponse200Headers struct {
XRequestID string
}
ListDatasetVersionsResponse200Headers the declared response headers of an HTTP 200 response for ListDatasetVersions
type ListDatasetVersionsResponse400Headers ¶
type ListDatasetVersionsResponse400Headers struct {
XRequestID string
}
ListDatasetVersionsResponse400Headers the declared response headers of an HTTP 400 response for ListDatasetVersions
type ListDatasetVersionsResponse401Headers ¶
ListDatasetVersionsResponse401Headers the declared response headers of an HTTP 401 response for ListDatasetVersions
type ListDatasetVersionsResponse403Headers ¶
type ListDatasetVersionsResponse403Headers struct {
XRequestID string
}
ListDatasetVersionsResponse403Headers the declared response headers of an HTTP 403 response for ListDatasetVersions
type ListDatasetVersionsResponse404Headers ¶
type ListDatasetVersionsResponse404Headers struct {
XRequestID string
}
ListDatasetVersionsResponse404Headers the declared response headers of an HTTP 404 response for ListDatasetVersions
type ListDatasetVersionsResponse405Headers ¶
ListDatasetVersionsResponse405Headers the declared response headers of an HTTP 405 response for ListDatasetVersions
type ListDatasetVersionsResponse500Headers ¶
type ListDatasetVersionsResponse500Headers struct {
XRequestID string
}
ListDatasetVersionsResponse500Headers the declared response headers of an HTTP 500 response for ListDatasetVersions
type ListDatasetVersionsResponse503Headers ¶
type ListDatasetVersionsResponse503Headers struct {
XRequestID string
}
ListDatasetVersionsResponse503Headers the declared response headers of an HTTP 503 response for ListDatasetVersions
type ListDatasetVersionsResponse504Headers ¶
type ListDatasetVersionsResponse504Headers struct {
XRequestID string
}
ListDatasetVersionsResponse504Headers the declared response headers of an HTTP 504 response for ListDatasetVersions
type ListDatasetsParams ¶
type ListDatasetsParams struct {
// PageSize Zero selects the default of 50; positive values are capped at 200.
PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
PageToken *PageToken `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}
ListDatasetsParams defines parameters for ListDatasets.
type ListDatasetsResponse ¶
type ListDatasetsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatasetList
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *BadRequest
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *Unauthorized
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Forbidden
// ApplicationproblemJSON405 the response for an HTTP 405 `application/problem+json` response
ApplicationproblemJSON405 *MethodNotAllowed
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *InternalServerError
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ServiceUnavailable
// ApplicationproblemJSON504 the response for an HTTP 504 `application/problem+json` response
ApplicationproblemJSON504 *GatewayTimeout
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *ListDatasetsResponse200Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *ListDatasetsResponse400Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListDatasetsResponse401Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *ListDatasetsResponse403Headers
// Headers405 the parsed response headers for an HTTP 405 response
Headers405 *ListDatasetsResponse405Headers
// Headers500 the parsed response headers for an HTTP 500 response
Headers500 *ListDatasetsResponse500Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *ListDatasetsResponse503Headers
// Headers504 the parsed response headers for an HTTP 504 response
Headers504 *ListDatasetsResponse504Headers
}
func ParseListDatasetsResponse ¶
func ParseListDatasetsResponse(rsp *http.Response) (*ListDatasetsResponse, error)
ParseListDatasetsResponse parses an HTTP response from a ListDatasetsWithResponse call
func (ListDatasetsResponse) ContentType ¶
func (r ListDatasetsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDatasetsResponse) GetApplicationproblemJSON400 ¶
func (r ListDatasetsResponse) GetApplicationproblemJSON400() *BadRequest
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListDatasetsResponse) GetApplicationproblemJSON401 ¶
func (r ListDatasetsResponse) GetApplicationproblemJSON401() *Unauthorized
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListDatasetsResponse) GetApplicationproblemJSON403 ¶
func (r ListDatasetsResponse) GetApplicationproblemJSON403() *Forbidden
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListDatasetsResponse) GetApplicationproblemJSON405 ¶
func (r ListDatasetsResponse) GetApplicationproblemJSON405() *MethodNotAllowed
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (ListDatasetsResponse) GetApplicationproblemJSON500 ¶
func (r ListDatasetsResponse) GetApplicationproblemJSON500() *InternalServerError
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListDatasetsResponse) GetApplicationproblemJSON503 ¶
func (r ListDatasetsResponse) GetApplicationproblemJSON503() *ServiceUnavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListDatasetsResponse) GetApplicationproblemJSON504 ¶
func (r ListDatasetsResponse) GetApplicationproblemJSON504() *GatewayTimeout
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (ListDatasetsResponse) GetBody ¶
func (r ListDatasetsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDatasetsResponse) GetJSON200 ¶
func (r ListDatasetsResponse) GetJSON200() *DatasetList
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDatasetsResponse) Status ¶
func (r ListDatasetsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatasetsResponse) StatusCode ¶
func (r ListDatasetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatasetsResponse200Headers ¶
type ListDatasetsResponse200Headers struct {
XRequestID string
}
ListDatasetsResponse200Headers the declared response headers of an HTTP 200 response for ListDatasets
type ListDatasetsResponse400Headers ¶
type ListDatasetsResponse400Headers struct {
XRequestID string
}
ListDatasetsResponse400Headers the declared response headers of an HTTP 400 response for ListDatasets
type ListDatasetsResponse401Headers ¶
ListDatasetsResponse401Headers the declared response headers of an HTTP 401 response for ListDatasets
type ListDatasetsResponse403Headers ¶
type ListDatasetsResponse403Headers struct {
XRequestID string
}
ListDatasetsResponse403Headers the declared response headers of an HTTP 403 response for ListDatasets
type ListDatasetsResponse405Headers ¶
ListDatasetsResponse405Headers the declared response headers of an HTTP 405 response for ListDatasets
type ListDatasetsResponse500Headers ¶
type ListDatasetsResponse500Headers struct {
XRequestID string
}
ListDatasetsResponse500Headers the declared response headers of an HTTP 500 response for ListDatasets
type ListDatasetsResponse503Headers ¶
type ListDatasetsResponse503Headers struct {
XRequestID string
}
ListDatasetsResponse503Headers the declared response headers of an HTTP 503 response for ListDatasets
type ListDatasetsResponse504Headers ¶
type ListDatasetsResponse504Headers struct {
XRequestID string
}
ListDatasetsResponse504Headers the declared response headers of an HTTP 504 response for ListDatasets
type ListMaterializationsResponse ¶
type ListMaterializationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MaterializationList
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *BadRequest
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *Unauthorized
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Forbidden
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON405 the response for an HTTP 405 `application/problem+json` response
ApplicationproblemJSON405 *MethodNotAllowed
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *InternalServerError
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ServiceUnavailable
// ApplicationproblemJSON504 the response for an HTTP 504 `application/problem+json` response
ApplicationproblemJSON504 *GatewayTimeout
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *ListMaterializationsResponse200Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *ListMaterializationsResponse400Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListMaterializationsResponse401Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *ListMaterializationsResponse403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *ListMaterializationsResponse404Headers
// Headers405 the parsed response headers for an HTTP 405 response
Headers405 *ListMaterializationsResponse405Headers
// Headers500 the parsed response headers for an HTTP 500 response
Headers500 *ListMaterializationsResponse500Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *ListMaterializationsResponse503Headers
// Headers504 the parsed response headers for an HTTP 504 response
Headers504 *ListMaterializationsResponse504Headers
}
func ParseListMaterializationsResponse ¶
func ParseListMaterializationsResponse(rsp *http.Response) (*ListMaterializationsResponse, error)
ParseListMaterializationsResponse parses an HTTP response from a ListMaterializationsWithResponse call
func (ListMaterializationsResponse) ContentType ¶
func (r ListMaterializationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMaterializationsResponse) GetApplicationproblemJSON400 ¶
func (r ListMaterializationsResponse) GetApplicationproblemJSON400() *BadRequest
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListMaterializationsResponse) GetApplicationproblemJSON401 ¶
func (r ListMaterializationsResponse) GetApplicationproblemJSON401() *Unauthorized
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListMaterializationsResponse) GetApplicationproblemJSON403 ¶
func (r ListMaterializationsResponse) GetApplicationproblemJSON403() *Forbidden
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListMaterializationsResponse) GetApplicationproblemJSON404 ¶
func (r ListMaterializationsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListMaterializationsResponse) GetApplicationproblemJSON405 ¶
func (r ListMaterializationsResponse) GetApplicationproblemJSON405() *MethodNotAllowed
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (ListMaterializationsResponse) GetApplicationproblemJSON500 ¶
func (r ListMaterializationsResponse) GetApplicationproblemJSON500() *InternalServerError
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListMaterializationsResponse) GetApplicationproblemJSON503 ¶
func (r ListMaterializationsResponse) GetApplicationproblemJSON503() *ServiceUnavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListMaterializationsResponse) GetApplicationproblemJSON504 ¶
func (r ListMaterializationsResponse) GetApplicationproblemJSON504() *GatewayTimeout
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (ListMaterializationsResponse) GetBody ¶
func (r ListMaterializationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMaterializationsResponse) GetJSON200 ¶
func (r ListMaterializationsResponse) GetJSON200() *MaterializationList
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMaterializationsResponse) Status ¶
func (r ListMaterializationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListMaterializationsResponse) StatusCode ¶
func (r ListMaterializationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMaterializationsResponse200Headers ¶
type ListMaterializationsResponse200Headers struct {
XRequestID string
}
ListMaterializationsResponse200Headers the declared response headers of an HTTP 200 response for ListMaterializations
type ListMaterializationsResponse400Headers ¶
type ListMaterializationsResponse400Headers struct {
XRequestID string
}
ListMaterializationsResponse400Headers the declared response headers of an HTTP 400 response for ListMaterializations
type ListMaterializationsResponse401Headers ¶
ListMaterializationsResponse401Headers the declared response headers of an HTTP 401 response for ListMaterializations
type ListMaterializationsResponse403Headers ¶
type ListMaterializationsResponse403Headers struct {
XRequestID string
}
ListMaterializationsResponse403Headers the declared response headers of an HTTP 403 response for ListMaterializations
type ListMaterializationsResponse404Headers ¶
type ListMaterializationsResponse404Headers struct {
XRequestID string
}
ListMaterializationsResponse404Headers the declared response headers of an HTTP 404 response for ListMaterializations
type ListMaterializationsResponse405Headers ¶
ListMaterializationsResponse405Headers the declared response headers of an HTTP 405 response for ListMaterializations
type ListMaterializationsResponse500Headers ¶
type ListMaterializationsResponse500Headers struct {
XRequestID string
}
ListMaterializationsResponse500Headers the declared response headers of an HTTP 500 response for ListMaterializations
type ListMaterializationsResponse503Headers ¶
type ListMaterializationsResponse503Headers struct {
XRequestID string
}
ListMaterializationsResponse503Headers the declared response headers of an HTTP 503 response for ListMaterializations
type ListMaterializationsResponse504Headers ¶
type ListMaterializationsResponse504Headers struct {
XRequestID string
}
ListMaterializationsResponse504Headers the declared response headers of an HTTP 504 response for ListMaterializations
type Materialization ¶
type Materialization struct {
// contains filtered or unexported fields
}
Materialization defines model for Materialization.
func (Materialization) AsMaterialization0 ¶
func (t Materialization) AsMaterialization0() (Materialization0, error)
AsMaterialization0 returns the union data inside the Materialization as a Materialization0
func (Materialization) AsMaterialization1 ¶
func (t Materialization) AsMaterialization1() (Materialization1, error)
AsMaterialization1 returns the union data inside the Materialization as a Materialization1
func (*Materialization) FromMaterialization0 ¶
func (t *Materialization) FromMaterialization0(v Materialization0) error
FromMaterialization0 overwrites any union data inside the Materialization as the provided Materialization0
func (*Materialization) FromMaterialization1 ¶
func (t *Materialization) FromMaterialization1(v Materialization1) error
FromMaterialization1 overwrites any union data inside the Materialization as the provided Materialization1
func (Materialization) MarshalJSON ¶
func (t Materialization) MarshalJSON() ([]byte, error)
func (*Materialization) MergeMaterialization0 ¶
func (t *Materialization) MergeMaterialization0(v Materialization0) error
MergeMaterialization0 performs a merge with any union data inside the Materialization, using the provided Materialization0
func (*Materialization) MergeMaterialization1 ¶
func (t *Materialization) MergeMaterialization1(v Materialization1) error
MergeMaterialization1 performs a merge with any union data inside the Materialization, using the provided Materialization1
func (*Materialization) UnmarshalJSON ¶
func (t *Materialization) UnmarshalJSON(b []byte) error
type Materialization0 ¶
type Materialization0 struct {
CreatedAt time.Time `json:"createdAt"`
Kind Materialization0Kind `json:"kind"`
Locator SnowflakeTableLocator `json:"locator"`
Revision int64 `json:"revision"`
Urn string `json:"urn"`
}
Materialization0 defines model for Materialization.0.
type Materialization0Kind ¶
type Materialization0Kind string
Materialization0Kind defines model for Materialization.0.Kind.
const (
Materialization0KindSnowflakeTable Materialization0Kind = "snowflake-table"
)
Defines values for Materialization0Kind.
func (Materialization0Kind) Valid ¶
func (e Materialization0Kind) Valid() bool
Valid indicates whether the value is a known member of the Materialization0Kind enum.
type Materialization1 ¶
type Materialization1 struct {
CreatedAt time.Time `json:"createdAt"`
Kind Materialization1Kind `json:"kind"`
Locator DatabricksTableLocator `json:"locator"`
Revision int64 `json:"revision"`
Urn string `json:"urn"`
}
Materialization1 defines model for Materialization.1.
type Materialization1Kind ¶
type Materialization1Kind string
Materialization1Kind defines model for Materialization.1.Kind.
const (
Materialization1KindDatabricksTable Materialization1Kind = "databricks-table"
)
Defines values for Materialization1Kind.
func (Materialization1Kind) Valid ¶
func (e Materialization1Kind) Valid() bool
Valid indicates whether the value is a known member of the Materialization1Kind enum.
type MaterializationInput ¶
type MaterializationInput struct {
// contains filtered or unexported fields
}
MaterializationInput defines model for MaterializationInput.
func (MaterializationInput) AsMaterializationInput0 ¶
func (t MaterializationInput) AsMaterializationInput0() (MaterializationInput0, error)
AsMaterializationInput0 returns the union data inside the MaterializationInput as a MaterializationInput0
func (MaterializationInput) AsMaterializationInput1 ¶
func (t MaterializationInput) AsMaterializationInput1() (MaterializationInput1, error)
AsMaterializationInput1 returns the union data inside the MaterializationInput as a MaterializationInput1
func (*MaterializationInput) FromMaterializationInput0 ¶
func (t *MaterializationInput) FromMaterializationInput0(v MaterializationInput0) error
FromMaterializationInput0 overwrites any union data inside the MaterializationInput as the provided MaterializationInput0
func (*MaterializationInput) FromMaterializationInput1 ¶
func (t *MaterializationInput) FromMaterializationInput1(v MaterializationInput1) error
FromMaterializationInput1 overwrites any union data inside the MaterializationInput as the provided MaterializationInput1
func (MaterializationInput) MarshalJSON ¶
func (t MaterializationInput) MarshalJSON() ([]byte, error)
func (*MaterializationInput) MergeMaterializationInput0 ¶
func (t *MaterializationInput) MergeMaterializationInput0(v MaterializationInput0) error
MergeMaterializationInput0 performs a merge with any union data inside the MaterializationInput, using the provided MaterializationInput0
func (*MaterializationInput) MergeMaterializationInput1 ¶
func (t *MaterializationInput) MergeMaterializationInput1(v MaterializationInput1) error
MergeMaterializationInput1 performs a merge with any union data inside the MaterializationInput, using the provided MaterializationInput1
func (*MaterializationInput) UnmarshalJSON ¶
func (t *MaterializationInput) UnmarshalJSON(b []byte) error
type MaterializationInput0 ¶
type MaterializationInput0 struct {
Kind MaterializationInput0Kind `json:"kind"`
Locator SnowflakeTableLocator `json:"locator"`
}
MaterializationInput0 defines model for MaterializationInput.0.
type MaterializationInput0Kind ¶
type MaterializationInput0Kind string
MaterializationInput0Kind defines model for MaterializationInput.0.Kind.
const (
MaterializationInput0KindSnowflakeTable MaterializationInput0Kind = "snowflake-table"
)
Defines values for MaterializationInput0Kind.
func (MaterializationInput0Kind) Valid ¶
func (e MaterializationInput0Kind) Valid() bool
Valid indicates whether the value is a known member of the MaterializationInput0Kind enum.
type MaterializationInput1 ¶
type MaterializationInput1 struct {
Kind MaterializationInput1Kind `json:"kind"`
Locator DatabricksTableLocator `json:"locator"`
}
MaterializationInput1 defines model for MaterializationInput.1.
type MaterializationInput1Kind ¶
type MaterializationInput1Kind string
MaterializationInput1Kind defines model for MaterializationInput.1.Kind.
const (
MaterializationInput1KindDatabricksTable MaterializationInput1Kind = "databricks-table"
)
Defines values for MaterializationInput1Kind.
func (MaterializationInput1Kind) Valid ¶
func (e MaterializationInput1Kind) Valid() bool
Valid indicates whether the value is a known member of the MaterializationInput1Kind enum.
type MaterializationList ¶
type MaterializationList struct {
Materializations []Materialization `json:"materializations"`
}
MaterializationList defines model for MaterializationList.
type MaterializationURN ¶
type MaterializationURN = string
MaterializationURN defines model for MaterializationURN.
type MethodNotAllowed ¶
type MethodNotAllowed = Problem
MethodNotAllowed defines model for MethodNotAllowed.
type PatchDatasetVersionApplicationMergePatchPlusJSONRequestBody ¶
type PatchDatasetVersionApplicationMergePatchPlusJSONRequestBody = DatasetVersionPatch
PatchDatasetVersionApplicationMergePatchPlusJSONRequestBody defines body for PatchDatasetVersion for application/merge-patch+json ContentType.
type PatchDatasetVersionParams ¶
type PatchDatasetVersionParams struct {
// IfMatch Optional current ETag; mismatch prevents the command.
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
PatchDatasetVersionParams defines parameters for PatchDatasetVersion.
type PatchDatasetVersionResponse ¶
type PatchDatasetVersionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Dataset
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *BadRequest
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *Unauthorized
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Forbidden
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON405 the response for an HTTP 405 `application/problem+json` response
ApplicationproblemJSON405 *MethodNotAllowed
// ApplicationproblemJSON412 the response for an HTTP 412 `application/problem+json` response
ApplicationproblemJSON412 *PreconditionFailed
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *PayloadTooLarge
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *InternalServerError
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ServiceUnavailable
// ApplicationproblemJSON504 the response for an HTTP 504 `application/problem+json` response
ApplicationproblemJSON504 *GatewayTimeout
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *PatchDatasetVersionResponse200Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *PatchDatasetVersionResponse400Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *PatchDatasetVersionResponse401Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *PatchDatasetVersionResponse403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *PatchDatasetVersionResponse404Headers
// Headers405 the parsed response headers for an HTTP 405 response
Headers405 *PatchDatasetVersionResponse405Headers
// Headers412 the parsed response headers for an HTTP 412 response
Headers412 *PatchDatasetVersionResponse412Headers
// Headers413 the parsed response headers for an HTTP 413 response
Headers413 *PatchDatasetVersionResponse413Headers
// Headers500 the parsed response headers for an HTTP 500 response
Headers500 *PatchDatasetVersionResponse500Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PatchDatasetVersionResponse503Headers
// Headers504 the parsed response headers for an HTTP 504 response
Headers504 *PatchDatasetVersionResponse504Headers
}
func ParsePatchDatasetVersionResponse ¶
func ParsePatchDatasetVersionResponse(rsp *http.Response) (*PatchDatasetVersionResponse, error)
ParsePatchDatasetVersionResponse parses an HTTP response from a PatchDatasetVersionWithResponse call
func (PatchDatasetVersionResponse) ContentType ¶
func (r PatchDatasetVersionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchDatasetVersionResponse) GetApplicationproblemJSON400 ¶
func (r PatchDatasetVersionResponse) GetApplicationproblemJSON400() *BadRequest
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (PatchDatasetVersionResponse) GetApplicationproblemJSON401 ¶
func (r PatchDatasetVersionResponse) GetApplicationproblemJSON401() *Unauthorized
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (PatchDatasetVersionResponse) GetApplicationproblemJSON403 ¶
func (r PatchDatasetVersionResponse) GetApplicationproblemJSON403() *Forbidden
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (PatchDatasetVersionResponse) GetApplicationproblemJSON404 ¶
func (r PatchDatasetVersionResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (PatchDatasetVersionResponse) GetApplicationproblemJSON405 ¶
func (r PatchDatasetVersionResponse) GetApplicationproblemJSON405() *MethodNotAllowed
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (PatchDatasetVersionResponse) GetApplicationproblemJSON412 ¶
func (r PatchDatasetVersionResponse) GetApplicationproblemJSON412() *PreconditionFailed
GetApplicationproblemJSON412 returns the response for an HTTP 412 `application/problem+json` response
func (PatchDatasetVersionResponse) GetApplicationproblemJSON413 ¶
func (r PatchDatasetVersionResponse) GetApplicationproblemJSON413() *PayloadTooLarge
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (PatchDatasetVersionResponse) GetApplicationproblemJSON500 ¶
func (r PatchDatasetVersionResponse) GetApplicationproblemJSON500() *InternalServerError
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (PatchDatasetVersionResponse) GetApplicationproblemJSON503 ¶
func (r PatchDatasetVersionResponse) GetApplicationproblemJSON503() *ServiceUnavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (PatchDatasetVersionResponse) GetApplicationproblemJSON504 ¶
func (r PatchDatasetVersionResponse) GetApplicationproblemJSON504() *GatewayTimeout
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (PatchDatasetVersionResponse) GetBody ¶
func (r PatchDatasetVersionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchDatasetVersionResponse) GetJSON200 ¶
func (r PatchDatasetVersionResponse) GetJSON200() *Dataset
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchDatasetVersionResponse) Status ¶
func (r PatchDatasetVersionResponse) Status() string
Status returns HTTPResponse.Status
func (PatchDatasetVersionResponse) StatusCode ¶
func (r PatchDatasetVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchDatasetVersionResponse200Headers ¶
PatchDatasetVersionResponse200Headers the declared response headers of an HTTP 200 response for PatchDatasetVersion
type PatchDatasetVersionResponse400Headers ¶
type PatchDatasetVersionResponse400Headers struct {
XRequestID string
}
PatchDatasetVersionResponse400Headers the declared response headers of an HTTP 400 response for PatchDatasetVersion
type PatchDatasetVersionResponse401Headers ¶
PatchDatasetVersionResponse401Headers the declared response headers of an HTTP 401 response for PatchDatasetVersion
type PatchDatasetVersionResponse403Headers ¶
type PatchDatasetVersionResponse403Headers struct {
XRequestID string
}
PatchDatasetVersionResponse403Headers the declared response headers of an HTTP 403 response for PatchDatasetVersion
type PatchDatasetVersionResponse404Headers ¶
type PatchDatasetVersionResponse404Headers struct {
XRequestID string
}
PatchDatasetVersionResponse404Headers the declared response headers of an HTTP 404 response for PatchDatasetVersion
type PatchDatasetVersionResponse405Headers ¶
PatchDatasetVersionResponse405Headers the declared response headers of an HTTP 405 response for PatchDatasetVersion
type PatchDatasetVersionResponse412Headers ¶
type PatchDatasetVersionResponse412Headers struct {
XRequestID string
}
PatchDatasetVersionResponse412Headers the declared response headers of an HTTP 412 response for PatchDatasetVersion
type PatchDatasetVersionResponse413Headers ¶
type PatchDatasetVersionResponse413Headers struct {
XRequestID string
}
PatchDatasetVersionResponse413Headers the declared response headers of an HTTP 413 response for PatchDatasetVersion
type PatchDatasetVersionResponse500Headers ¶
type PatchDatasetVersionResponse500Headers struct {
XRequestID string
}
PatchDatasetVersionResponse500Headers the declared response headers of an HTTP 500 response for PatchDatasetVersion
type PatchDatasetVersionResponse503Headers ¶
type PatchDatasetVersionResponse503Headers struct {
XRequestID string
}
PatchDatasetVersionResponse503Headers the declared response headers of an HTTP 503 response for PatchDatasetVersion
type PatchDatasetVersionResponse504Headers ¶
type PatchDatasetVersionResponse504Headers struct {
XRequestID string
}
PatchDatasetVersionResponse504Headers the declared response headers of an HTTP 504 response for PatchDatasetVersion
type PayloadTooLarge ¶
type PayloadTooLarge = Problem
PayloadTooLarge defines model for PayloadTooLarge.
type PreconditionFailed ¶
type PreconditionFailed = Problem
PreconditionFailed defines model for PreconditionFailed.
type Problem ¶
type Problem struct {
Detail *string `json:"detail,omitempty"`
Instance *string `json:"instance,omitempty"`
InvalidParams *[]InvalidParameter `json:"invalidParams,omitempty"`
RequestId string `json:"requestId"`
Status int `json:"status"`
Title string `json:"title"`
// Type Stable problem type path.
//
// Examples: /problems/invalid-request
Type string `json:"type"`
}
Problem defines model for Problem.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SemVer ¶
type SemVer = string
SemVer Stable numeric major.minor.patch without prerelease or build suffixes.
Examples: 1.2.3
type ServiceUnavailable ¶
type ServiceUnavailable = Problem
ServiceUnavailable defines model for ServiceUnavailable.
type SnowflakeTableLocator ¶
type SnowflakeTableLocator struct {
Account string `json:"account"`
Database string `json:"database"`
Schema string `json:"schema"`
Table string `json:"table"`
}
SnowflakeTableLocator defines model for SnowflakeTableLocator.
type VersionPathParameter ¶
type VersionPathParameter = SemVer
VersionPathParameter Stable numeric major.minor.patch without prerelease or build suffixes.
Examples: 1.2.3