Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDataset(params *CreateDatasetParams, opts ...ClientOption) (*CreateDatasetOK, error)
- func (a *Client) DeleteDataset(params *DeleteDatasetParams, opts ...ClientOption) (*DeleteDatasetOK, error)
- func (a *Client) ListDatasets(params *ListDatasetsParams, opts ...ClientOption) (*ListDatasetsOK, error)
- func (a *Client) ReadDataset(params *ReadDatasetParams, opts ...ClientOption) (*ReadDatasetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDataset(params *UpdateDatasetParams, opts ...ClientOption) (*UpdateDatasetOK, error)
- type ClientOption
- type ClientService
- type CreateDatasetBadRequest
- func (o *CreateDatasetBadRequest) Code() int
- func (o *CreateDatasetBadRequest) Error() string
- func (o *CreateDatasetBadRequest) GetPayload() *models.APIError
- func (o *CreateDatasetBadRequest) IsClientError() bool
- func (o *CreateDatasetBadRequest) IsCode(code int) bool
- func (o *CreateDatasetBadRequest) IsRedirect() bool
- func (o *CreateDatasetBadRequest) IsServerError() bool
- func (o *CreateDatasetBadRequest) IsSuccess() bool
- func (o *CreateDatasetBadRequest) String() string
- type CreateDatasetConflict
- func (o *CreateDatasetConflict) Code() int
- func (o *CreateDatasetConflict) Error() string
- func (o *CreateDatasetConflict) GetPayload() *models.APIError
- func (o *CreateDatasetConflict) IsClientError() bool
- func (o *CreateDatasetConflict) IsCode(code int) bool
- func (o *CreateDatasetConflict) IsRedirect() bool
- func (o *CreateDatasetConflict) IsServerError() bool
- func (o *CreateDatasetConflict) IsSuccess() bool
- func (o *CreateDatasetConflict) String() string
- type CreateDatasetDefault
- func (o *CreateDatasetDefault) Code() int
- func (o *CreateDatasetDefault) Error() string
- func (o *CreateDatasetDefault) GetPayload() models.GenericError
- func (o *CreateDatasetDefault) IsClientError() bool
- func (o *CreateDatasetDefault) IsCode(code int) bool
- func (o *CreateDatasetDefault) IsRedirect() bool
- func (o *CreateDatasetDefault) IsServerError() bool
- func (o *CreateDatasetDefault) IsSuccess() bool
- func (o *CreateDatasetDefault) String() string
- type CreateDatasetInternalServerError
- func (o *CreateDatasetInternalServerError) Code() int
- func (o *CreateDatasetInternalServerError) Error() string
- func (o *CreateDatasetInternalServerError) GetPayload() *models.APIError
- func (o *CreateDatasetInternalServerError) IsClientError() bool
- func (o *CreateDatasetInternalServerError) IsCode(code int) bool
- func (o *CreateDatasetInternalServerError) IsRedirect() bool
- func (o *CreateDatasetInternalServerError) IsServerError() bool
- func (o *CreateDatasetInternalServerError) IsSuccess() bool
- func (o *CreateDatasetInternalServerError) String() string
- type CreateDatasetOK
- func (o *CreateDatasetOK) Code() int
- func (o *CreateDatasetOK) Error() string
- func (o *CreateDatasetOK) GetPayload() *models.ConfigunstableCreateDatasetResponse
- func (o *CreateDatasetOK) IsClientError() bool
- func (o *CreateDatasetOK) IsCode(code int) bool
- func (o *CreateDatasetOK) IsRedirect() bool
- func (o *CreateDatasetOK) IsServerError() bool
- func (o *CreateDatasetOK) IsSuccess() bool
- func (o *CreateDatasetOK) String() string
- type CreateDatasetParams
- func (o *CreateDatasetParams) SetBody(body *models.ConfigunstableCreateDatasetRequest)
- func (o *CreateDatasetParams) SetContext(ctx context.Context)
- func (o *CreateDatasetParams) SetDefaults()
- func (o *CreateDatasetParams) SetHTTPClient(client *http.Client)
- func (o *CreateDatasetParams) SetTimeout(timeout time.Duration)
- func (o *CreateDatasetParams) WithBody(body *models.ConfigunstableCreateDatasetRequest) *CreateDatasetParams
- func (o *CreateDatasetParams) WithContext(ctx context.Context) *CreateDatasetParams
- func (o *CreateDatasetParams) WithDefaults() *CreateDatasetParams
- func (o *CreateDatasetParams) WithHTTPClient(client *http.Client) *CreateDatasetParams
- func (o *CreateDatasetParams) WithTimeout(timeout time.Duration) *CreateDatasetParams
- func (o *CreateDatasetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDatasetReader
- type DeleteDatasetBadRequest
- func (o *DeleteDatasetBadRequest) Code() int
- func (o *DeleteDatasetBadRequest) Error() string
- func (o *DeleteDatasetBadRequest) GetPayload() *models.APIError
- func (o *DeleteDatasetBadRequest) IsClientError() bool
- func (o *DeleteDatasetBadRequest) IsCode(code int) bool
- func (o *DeleteDatasetBadRequest) IsRedirect() bool
- func (o *DeleteDatasetBadRequest) IsServerError() bool
- func (o *DeleteDatasetBadRequest) IsSuccess() bool
- func (o *DeleteDatasetBadRequest) String() string
- type DeleteDatasetDefault
- func (o *DeleteDatasetDefault) Code() int
- func (o *DeleteDatasetDefault) Error() string
- func (o *DeleteDatasetDefault) GetPayload() models.GenericError
- func (o *DeleteDatasetDefault) IsClientError() bool
- func (o *DeleteDatasetDefault) IsCode(code int) bool
- func (o *DeleteDatasetDefault) IsRedirect() bool
- func (o *DeleteDatasetDefault) IsServerError() bool
- func (o *DeleteDatasetDefault) IsSuccess() bool
- func (o *DeleteDatasetDefault) String() string
- type DeleteDatasetInternalServerError
- func (o *DeleteDatasetInternalServerError) Code() int
- func (o *DeleteDatasetInternalServerError) Error() string
- func (o *DeleteDatasetInternalServerError) GetPayload() *models.APIError
- func (o *DeleteDatasetInternalServerError) IsClientError() bool
- func (o *DeleteDatasetInternalServerError) IsCode(code int) bool
- func (o *DeleteDatasetInternalServerError) IsRedirect() bool
- func (o *DeleteDatasetInternalServerError) IsServerError() bool
- func (o *DeleteDatasetInternalServerError) IsSuccess() bool
- func (o *DeleteDatasetInternalServerError) String() string
- type DeleteDatasetNotFound
- func (o *DeleteDatasetNotFound) Code() int
- func (o *DeleteDatasetNotFound) Error() string
- func (o *DeleteDatasetNotFound) GetPayload() *models.APIError
- func (o *DeleteDatasetNotFound) IsClientError() bool
- func (o *DeleteDatasetNotFound) IsCode(code int) bool
- func (o *DeleteDatasetNotFound) IsRedirect() bool
- func (o *DeleteDatasetNotFound) IsServerError() bool
- func (o *DeleteDatasetNotFound) IsSuccess() bool
- func (o *DeleteDatasetNotFound) String() string
- type DeleteDatasetOK
- func (o *DeleteDatasetOK) Code() int
- func (o *DeleteDatasetOK) Error() string
- func (o *DeleteDatasetOK) GetPayload() models.ConfigunstableDeleteDatasetResponse
- func (o *DeleteDatasetOK) IsClientError() bool
- func (o *DeleteDatasetOK) IsCode(code int) bool
- func (o *DeleteDatasetOK) IsRedirect() bool
- func (o *DeleteDatasetOK) IsServerError() bool
- func (o *DeleteDatasetOK) IsSuccess() bool
- func (o *DeleteDatasetOK) String() string
- type DeleteDatasetParams
- func (o *DeleteDatasetParams) SetContext(ctx context.Context)
- func (o *DeleteDatasetParams) SetDefaults()
- func (o *DeleteDatasetParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDatasetParams) SetSlug(slug string)
- func (o *DeleteDatasetParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDatasetParams) WithContext(ctx context.Context) *DeleteDatasetParams
- func (o *DeleteDatasetParams) WithDefaults() *DeleteDatasetParams
- func (o *DeleteDatasetParams) WithHTTPClient(client *http.Client) *DeleteDatasetParams
- func (o *DeleteDatasetParams) WithSlug(slug string) *DeleteDatasetParams
- func (o *DeleteDatasetParams) WithTimeout(timeout time.Duration) *DeleteDatasetParams
- func (o *DeleteDatasetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDatasetReader
- type ListDatasetsDefault
- func (o *ListDatasetsDefault) Code() int
- func (o *ListDatasetsDefault) Error() string
- func (o *ListDatasetsDefault) GetPayload() models.GenericError
- func (o *ListDatasetsDefault) IsClientError() bool
- func (o *ListDatasetsDefault) IsCode(code int) bool
- func (o *ListDatasetsDefault) IsRedirect() bool
- func (o *ListDatasetsDefault) IsServerError() bool
- func (o *ListDatasetsDefault) IsSuccess() bool
- func (o *ListDatasetsDefault) String() string
- type ListDatasetsInternalServerError
- func (o *ListDatasetsInternalServerError) Code() int
- func (o *ListDatasetsInternalServerError) Error() string
- func (o *ListDatasetsInternalServerError) GetPayload() *models.APIError
- func (o *ListDatasetsInternalServerError) IsClientError() bool
- func (o *ListDatasetsInternalServerError) IsCode(code int) bool
- func (o *ListDatasetsInternalServerError) IsRedirect() bool
- func (o *ListDatasetsInternalServerError) IsServerError() bool
- func (o *ListDatasetsInternalServerError) IsSuccess() bool
- func (o *ListDatasetsInternalServerError) String() string
- type ListDatasetsOK
- func (o *ListDatasetsOK) Code() int
- func (o *ListDatasetsOK) Error() string
- func (o *ListDatasetsOK) GetPayload() *models.ConfigunstableListDatasetsResponse
- func (o *ListDatasetsOK) IsClientError() bool
- func (o *ListDatasetsOK) IsCode(code int) bool
- func (o *ListDatasetsOK) IsRedirect() bool
- func (o *ListDatasetsOK) IsServerError() bool
- func (o *ListDatasetsOK) IsSuccess() bool
- func (o *ListDatasetsOK) String() string
- type ListDatasetsParams
- func (o *ListDatasetsParams) SetContext(ctx context.Context)
- func (o *ListDatasetsParams) SetDefaults()
- func (o *ListDatasetsParams) SetHTTPClient(client *http.Client)
- func (o *ListDatasetsParams) SetNames(names []string)
- func (o *ListDatasetsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListDatasetsParams) SetPageToken(pageToken *string)
- func (o *ListDatasetsParams) SetSlugs(slugs []string)
- func (o *ListDatasetsParams) SetTimeout(timeout time.Duration)
- func (o *ListDatasetsParams) SetType(typeVar *string)
- func (o *ListDatasetsParams) WithContext(ctx context.Context) *ListDatasetsParams
- func (o *ListDatasetsParams) WithDefaults() *ListDatasetsParams
- func (o *ListDatasetsParams) WithHTTPClient(client *http.Client) *ListDatasetsParams
- func (o *ListDatasetsParams) WithNames(names []string) *ListDatasetsParams
- func (o *ListDatasetsParams) WithPageMaxSize(pageMaxSize *int64) *ListDatasetsParams
- func (o *ListDatasetsParams) WithPageToken(pageToken *string) *ListDatasetsParams
- func (o *ListDatasetsParams) WithSlugs(slugs []string) *ListDatasetsParams
- func (o *ListDatasetsParams) WithTimeout(timeout time.Duration) *ListDatasetsParams
- func (o *ListDatasetsParams) WithType(typeVar *string) *ListDatasetsParams
- func (o *ListDatasetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDatasetsReader
- type ReadDatasetDefault
- func (o *ReadDatasetDefault) Code() int
- func (o *ReadDatasetDefault) Error() string
- func (o *ReadDatasetDefault) GetPayload() models.GenericError
- func (o *ReadDatasetDefault) IsClientError() bool
- func (o *ReadDatasetDefault) IsCode(code int) bool
- func (o *ReadDatasetDefault) IsRedirect() bool
- func (o *ReadDatasetDefault) IsServerError() bool
- func (o *ReadDatasetDefault) IsSuccess() bool
- func (o *ReadDatasetDefault) String() string
- type ReadDatasetInternalServerError
- func (o *ReadDatasetInternalServerError) Code() int
- func (o *ReadDatasetInternalServerError) Error() string
- func (o *ReadDatasetInternalServerError) GetPayload() *models.APIError
- func (o *ReadDatasetInternalServerError) IsClientError() bool
- func (o *ReadDatasetInternalServerError) IsCode(code int) bool
- func (o *ReadDatasetInternalServerError) IsRedirect() bool
- func (o *ReadDatasetInternalServerError) IsServerError() bool
- func (o *ReadDatasetInternalServerError) IsSuccess() bool
- func (o *ReadDatasetInternalServerError) String() string
- type ReadDatasetNotFound
- func (o *ReadDatasetNotFound) Code() int
- func (o *ReadDatasetNotFound) Error() string
- func (o *ReadDatasetNotFound) GetPayload() *models.APIError
- func (o *ReadDatasetNotFound) IsClientError() bool
- func (o *ReadDatasetNotFound) IsCode(code int) bool
- func (o *ReadDatasetNotFound) IsRedirect() bool
- func (o *ReadDatasetNotFound) IsServerError() bool
- func (o *ReadDatasetNotFound) IsSuccess() bool
- func (o *ReadDatasetNotFound) String() string
- type ReadDatasetOK
- func (o *ReadDatasetOK) Code() int
- func (o *ReadDatasetOK) Error() string
- func (o *ReadDatasetOK) GetPayload() *models.ConfigunstableReadDatasetResponse
- func (o *ReadDatasetOK) IsClientError() bool
- func (o *ReadDatasetOK) IsCode(code int) bool
- func (o *ReadDatasetOK) IsRedirect() bool
- func (o *ReadDatasetOK) IsServerError() bool
- func (o *ReadDatasetOK) IsSuccess() bool
- func (o *ReadDatasetOK) String() string
- type ReadDatasetParams
- func (o *ReadDatasetParams) SetContext(ctx context.Context)
- func (o *ReadDatasetParams) SetDefaults()
- func (o *ReadDatasetParams) SetHTTPClient(client *http.Client)
- func (o *ReadDatasetParams) SetSlug(slug string)
- func (o *ReadDatasetParams) SetTimeout(timeout time.Duration)
- func (o *ReadDatasetParams) WithContext(ctx context.Context) *ReadDatasetParams
- func (o *ReadDatasetParams) WithDefaults() *ReadDatasetParams
- func (o *ReadDatasetParams) WithHTTPClient(client *http.Client) *ReadDatasetParams
- func (o *ReadDatasetParams) WithSlug(slug string) *ReadDatasetParams
- func (o *ReadDatasetParams) WithTimeout(timeout time.Duration) *ReadDatasetParams
- func (o *ReadDatasetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadDatasetReader
- type UpdateDatasetBadRequest
- func (o *UpdateDatasetBadRequest) Code() int
- func (o *UpdateDatasetBadRequest) Error() string
- func (o *UpdateDatasetBadRequest) GetPayload() *models.APIError
- func (o *UpdateDatasetBadRequest) IsClientError() bool
- func (o *UpdateDatasetBadRequest) IsCode(code int) bool
- func (o *UpdateDatasetBadRequest) IsRedirect() bool
- func (o *UpdateDatasetBadRequest) IsServerError() bool
- func (o *UpdateDatasetBadRequest) IsSuccess() bool
- func (o *UpdateDatasetBadRequest) String() string
- type UpdateDatasetConflict
- func (o *UpdateDatasetConflict) Code() int
- func (o *UpdateDatasetConflict) Error() string
- func (o *UpdateDatasetConflict) GetPayload() *models.APIError
- func (o *UpdateDatasetConflict) IsClientError() bool
- func (o *UpdateDatasetConflict) IsCode(code int) bool
- func (o *UpdateDatasetConflict) IsRedirect() bool
- func (o *UpdateDatasetConflict) IsServerError() bool
- func (o *UpdateDatasetConflict) IsSuccess() bool
- func (o *UpdateDatasetConflict) String() string
- type UpdateDatasetDefault
- func (o *UpdateDatasetDefault) Code() int
- func (o *UpdateDatasetDefault) Error() string
- func (o *UpdateDatasetDefault) GetPayload() models.GenericError
- func (o *UpdateDatasetDefault) IsClientError() bool
- func (o *UpdateDatasetDefault) IsCode(code int) bool
- func (o *UpdateDatasetDefault) IsRedirect() bool
- func (o *UpdateDatasetDefault) IsServerError() bool
- func (o *UpdateDatasetDefault) IsSuccess() bool
- func (o *UpdateDatasetDefault) String() string
- type UpdateDatasetInternalServerError
- func (o *UpdateDatasetInternalServerError) Code() int
- func (o *UpdateDatasetInternalServerError) Error() string
- func (o *UpdateDatasetInternalServerError) GetPayload() *models.APIError
- func (o *UpdateDatasetInternalServerError) IsClientError() bool
- func (o *UpdateDatasetInternalServerError) IsCode(code int) bool
- func (o *UpdateDatasetInternalServerError) IsRedirect() bool
- func (o *UpdateDatasetInternalServerError) IsServerError() bool
- func (o *UpdateDatasetInternalServerError) IsSuccess() bool
- func (o *UpdateDatasetInternalServerError) String() string
- type UpdateDatasetNotFound
- func (o *UpdateDatasetNotFound) Code() int
- func (o *UpdateDatasetNotFound) Error() string
- func (o *UpdateDatasetNotFound) GetPayload() *models.APIError
- func (o *UpdateDatasetNotFound) IsClientError() bool
- func (o *UpdateDatasetNotFound) IsCode(code int) bool
- func (o *UpdateDatasetNotFound) IsRedirect() bool
- func (o *UpdateDatasetNotFound) IsServerError() bool
- func (o *UpdateDatasetNotFound) IsSuccess() bool
- func (o *UpdateDatasetNotFound) String() string
- type UpdateDatasetOK
- func (o *UpdateDatasetOK) Code() int
- func (o *UpdateDatasetOK) Error() string
- func (o *UpdateDatasetOK) GetPayload() *models.ConfigunstableUpdateDatasetResponse
- func (o *UpdateDatasetOK) IsClientError() bool
- func (o *UpdateDatasetOK) IsCode(code int) bool
- func (o *UpdateDatasetOK) IsRedirect() bool
- func (o *UpdateDatasetOK) IsServerError() bool
- func (o *UpdateDatasetOK) IsSuccess() bool
- func (o *UpdateDatasetOK) String() string
- type UpdateDatasetParams
- func (o *UpdateDatasetParams) SetBody(body *models.ConfigUnstableUpdateDatasetBody)
- func (o *UpdateDatasetParams) SetContext(ctx context.Context)
- func (o *UpdateDatasetParams) SetDefaults()
- func (o *UpdateDatasetParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDatasetParams) SetSlug(slug string)
- func (o *UpdateDatasetParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDatasetParams) WithBody(body *models.ConfigUnstableUpdateDatasetBody) *UpdateDatasetParams
- func (o *UpdateDatasetParams) WithContext(ctx context.Context) *UpdateDatasetParams
- func (o *UpdateDatasetParams) WithDefaults() *UpdateDatasetParams
- func (o *UpdateDatasetParams) WithHTTPClient(client *http.Client) *UpdateDatasetParams
- func (o *UpdateDatasetParams) WithSlug(slug string) *UpdateDatasetParams
- func (o *UpdateDatasetParams) WithTimeout(timeout time.Duration) *UpdateDatasetParams
- func (o *UpdateDatasetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDatasetReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for dataset API
func (*Client) CreateDataset ¶
func (a *Client) CreateDataset(params *CreateDatasetParams, opts ...ClientOption) (*CreateDatasetOK, error)
CreateDataset create dataset API
func (*Client) DeleteDataset ¶
func (a *Client) DeleteDataset(params *DeleteDatasetParams, opts ...ClientOption) (*DeleteDatasetOK, error)
DeleteDataset delete dataset API
func (*Client) ListDatasets ¶
func (a *Client) ListDatasets(params *ListDatasetsParams, opts ...ClientOption) (*ListDatasetsOK, error)
ListDatasets list datasets API
func (*Client) ReadDataset ¶
func (a *Client) ReadDataset(params *ReadDatasetParams, opts ...ClientOption) (*ReadDatasetOK, error)
ReadDataset read dataset API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDataset ¶
func (a *Client) UpdateDataset(params *UpdateDatasetParams, opts ...ClientOption) (*UpdateDatasetOK, error)
UpdateDataset update dataset API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDataset(params *CreateDatasetParams, opts ...ClientOption) (*CreateDatasetOK, error) DeleteDataset(params *DeleteDatasetParams, opts ...ClientOption) (*DeleteDatasetOK, error) ListDatasets(params *ListDatasetsParams, opts ...ClientOption) (*ListDatasetsOK, error) ReadDataset(params *ReadDatasetParams, opts ...ClientOption) (*ReadDatasetOK, error) UpdateDataset(params *UpdateDatasetParams, opts ...ClientOption) (*UpdateDatasetOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new dataset API client.
type CreateDatasetBadRequest ¶
CreateDatasetBadRequest describes a response with status code 400, with default header values.
Cannot create the Dataset because the request is invalid.
func NewCreateDatasetBadRequest ¶
func NewCreateDatasetBadRequest() *CreateDatasetBadRequest
NewCreateDatasetBadRequest creates a CreateDatasetBadRequest with default headers values
func (*CreateDatasetBadRequest) Code ¶
func (o *CreateDatasetBadRequest) Code() int
Code gets the status code for the create dataset bad request response
func (*CreateDatasetBadRequest) Error ¶
func (o *CreateDatasetBadRequest) Error() string
func (*CreateDatasetBadRequest) GetPayload ¶
func (o *CreateDatasetBadRequest) GetPayload() *models.APIError
func (*CreateDatasetBadRequest) IsClientError ¶
func (o *CreateDatasetBadRequest) IsClientError() bool
IsClientError returns true when this create dataset bad request response has a 4xx status code
func (*CreateDatasetBadRequest) IsCode ¶
func (o *CreateDatasetBadRequest) IsCode(code int) bool
IsCode returns true when this create dataset bad request response a status code equal to that given
func (*CreateDatasetBadRequest) IsRedirect ¶
func (o *CreateDatasetBadRequest) IsRedirect() bool
IsRedirect returns true when this create dataset bad request response has a 3xx status code
func (*CreateDatasetBadRequest) IsServerError ¶
func (o *CreateDatasetBadRequest) IsServerError() bool
IsServerError returns true when this create dataset bad request response has a 5xx status code
func (*CreateDatasetBadRequest) IsSuccess ¶
func (o *CreateDatasetBadRequest) IsSuccess() bool
IsSuccess returns true when this create dataset bad request response has a 2xx status code
func (*CreateDatasetBadRequest) String ¶
func (o *CreateDatasetBadRequest) String() string
type CreateDatasetConflict ¶
CreateDatasetConflict describes a response with status code 409, with default header values.
Cannot create the Dataset because there is a conflict with an existing Dataset.
func NewCreateDatasetConflict ¶
func NewCreateDatasetConflict() *CreateDatasetConflict
NewCreateDatasetConflict creates a CreateDatasetConflict with default headers values
func (*CreateDatasetConflict) Code ¶
func (o *CreateDatasetConflict) Code() int
Code gets the status code for the create dataset conflict response
func (*CreateDatasetConflict) Error ¶
func (o *CreateDatasetConflict) Error() string
func (*CreateDatasetConflict) GetPayload ¶
func (o *CreateDatasetConflict) GetPayload() *models.APIError
func (*CreateDatasetConflict) IsClientError ¶
func (o *CreateDatasetConflict) IsClientError() bool
IsClientError returns true when this create dataset conflict response has a 4xx status code
func (*CreateDatasetConflict) IsCode ¶
func (o *CreateDatasetConflict) IsCode(code int) bool
IsCode returns true when this create dataset conflict response a status code equal to that given
func (*CreateDatasetConflict) IsRedirect ¶
func (o *CreateDatasetConflict) IsRedirect() bool
IsRedirect returns true when this create dataset conflict response has a 3xx status code
func (*CreateDatasetConflict) IsServerError ¶
func (o *CreateDatasetConflict) IsServerError() bool
IsServerError returns true when this create dataset conflict response has a 5xx status code
func (*CreateDatasetConflict) IsSuccess ¶
func (o *CreateDatasetConflict) IsSuccess() bool
IsSuccess returns true when this create dataset conflict response has a 2xx status code
func (*CreateDatasetConflict) String ¶
func (o *CreateDatasetConflict) String() string
type CreateDatasetDefault ¶
type CreateDatasetDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateDatasetDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateDatasetDefault ¶
func NewCreateDatasetDefault(code int) *CreateDatasetDefault
NewCreateDatasetDefault creates a CreateDatasetDefault with default headers values
func (*CreateDatasetDefault) Code ¶
func (o *CreateDatasetDefault) Code() int
Code gets the status code for the create dataset default response
func (*CreateDatasetDefault) Error ¶
func (o *CreateDatasetDefault) Error() string
func (*CreateDatasetDefault) GetPayload ¶
func (o *CreateDatasetDefault) GetPayload() models.GenericError
func (*CreateDatasetDefault) IsClientError ¶
func (o *CreateDatasetDefault) IsClientError() bool
IsClientError returns true when this create dataset default response has a 4xx status code
func (*CreateDatasetDefault) IsCode ¶
func (o *CreateDatasetDefault) IsCode(code int) bool
IsCode returns true when this create dataset default response a status code equal to that given
func (*CreateDatasetDefault) IsRedirect ¶
func (o *CreateDatasetDefault) IsRedirect() bool
IsRedirect returns true when this create dataset default response has a 3xx status code
func (*CreateDatasetDefault) IsServerError ¶
func (o *CreateDatasetDefault) IsServerError() bool
IsServerError returns true when this create dataset default response has a 5xx status code
func (*CreateDatasetDefault) IsSuccess ¶
func (o *CreateDatasetDefault) IsSuccess() bool
IsSuccess returns true when this create dataset default response has a 2xx status code
func (*CreateDatasetDefault) String ¶
func (o *CreateDatasetDefault) String() string
type CreateDatasetInternalServerError ¶
CreateDatasetInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateDatasetInternalServerError ¶
func NewCreateDatasetInternalServerError() *CreateDatasetInternalServerError
NewCreateDatasetInternalServerError creates a CreateDatasetInternalServerError with default headers values
func (*CreateDatasetInternalServerError) Code ¶
func (o *CreateDatasetInternalServerError) Code() int
Code gets the status code for the create dataset internal server error response
func (*CreateDatasetInternalServerError) Error ¶
func (o *CreateDatasetInternalServerError) Error() string
func (*CreateDatasetInternalServerError) GetPayload ¶
func (o *CreateDatasetInternalServerError) GetPayload() *models.APIError
func (*CreateDatasetInternalServerError) IsClientError ¶
func (o *CreateDatasetInternalServerError) IsClientError() bool
IsClientError returns true when this create dataset internal server error response has a 4xx status code
func (*CreateDatasetInternalServerError) IsCode ¶
func (o *CreateDatasetInternalServerError) IsCode(code int) bool
IsCode returns true when this create dataset internal server error response a status code equal to that given
func (*CreateDatasetInternalServerError) IsRedirect ¶
func (o *CreateDatasetInternalServerError) IsRedirect() bool
IsRedirect returns true when this create dataset internal server error response has a 3xx status code
func (*CreateDatasetInternalServerError) IsServerError ¶
func (o *CreateDatasetInternalServerError) IsServerError() bool
IsServerError returns true when this create dataset internal server error response has a 5xx status code
func (*CreateDatasetInternalServerError) IsSuccess ¶
func (o *CreateDatasetInternalServerError) IsSuccess() bool
IsSuccess returns true when this create dataset internal server error response has a 2xx status code
func (*CreateDatasetInternalServerError) String ¶
func (o *CreateDatasetInternalServerError) String() string
type CreateDatasetOK ¶
type CreateDatasetOK struct {
Payload *models.ConfigunstableCreateDatasetResponse
}
CreateDatasetOK describes a response with status code 200, with default header values.
A successful response containing the created Dataset.
func NewCreateDatasetOK ¶
func NewCreateDatasetOK() *CreateDatasetOK
NewCreateDatasetOK creates a CreateDatasetOK with default headers values
func (*CreateDatasetOK) Code ¶
func (o *CreateDatasetOK) Code() int
Code gets the status code for the create dataset o k response
func (*CreateDatasetOK) Error ¶
func (o *CreateDatasetOK) Error() string
func (*CreateDatasetOK) GetPayload ¶
func (o *CreateDatasetOK) GetPayload() *models.ConfigunstableCreateDatasetResponse
func (*CreateDatasetOK) IsClientError ¶
func (o *CreateDatasetOK) IsClientError() bool
IsClientError returns true when this create dataset o k response has a 4xx status code
func (*CreateDatasetOK) IsCode ¶
func (o *CreateDatasetOK) IsCode(code int) bool
IsCode returns true when this create dataset o k response a status code equal to that given
func (*CreateDatasetOK) IsRedirect ¶
func (o *CreateDatasetOK) IsRedirect() bool
IsRedirect returns true when this create dataset o k response has a 3xx status code
func (*CreateDatasetOK) IsServerError ¶
func (o *CreateDatasetOK) IsServerError() bool
IsServerError returns true when this create dataset o k response has a 5xx status code
func (*CreateDatasetOK) IsSuccess ¶
func (o *CreateDatasetOK) IsSuccess() bool
IsSuccess returns true when this create dataset o k response has a 2xx status code
func (*CreateDatasetOK) String ¶
func (o *CreateDatasetOK) String() string
type CreateDatasetParams ¶
type CreateDatasetParams struct { // Body. Body *models.ConfigunstableCreateDatasetRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDatasetParams contains all the parameters to send to the API endpoint
for the create dataset operation. Typically these are written to a http.Request.
func NewCreateDatasetParams ¶
func NewCreateDatasetParams() *CreateDatasetParams
NewCreateDatasetParams creates a new CreateDatasetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateDatasetParamsWithContext ¶
func NewCreateDatasetParamsWithContext(ctx context.Context) *CreateDatasetParams
NewCreateDatasetParamsWithContext creates a new CreateDatasetParams object with the ability to set a context for a request.
func NewCreateDatasetParamsWithHTTPClient ¶
func NewCreateDatasetParamsWithHTTPClient(client *http.Client) *CreateDatasetParams
NewCreateDatasetParamsWithHTTPClient creates a new CreateDatasetParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDatasetParamsWithTimeout ¶
func NewCreateDatasetParamsWithTimeout(timeout time.Duration) *CreateDatasetParams
NewCreateDatasetParamsWithTimeout creates a new CreateDatasetParams object with the ability to set a timeout on a request.
func (*CreateDatasetParams) SetBody ¶
func (o *CreateDatasetParams) SetBody(body *models.ConfigunstableCreateDatasetRequest)
SetBody adds the body to the create dataset params
func (*CreateDatasetParams) SetContext ¶
func (o *CreateDatasetParams) SetContext(ctx context.Context)
SetContext adds the context to the create dataset params
func (*CreateDatasetParams) SetDefaults ¶
func (o *CreateDatasetParams) SetDefaults()
SetDefaults hydrates default values in the create dataset params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDatasetParams) SetHTTPClient ¶
func (o *CreateDatasetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create dataset params
func (*CreateDatasetParams) SetTimeout ¶
func (o *CreateDatasetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create dataset params
func (*CreateDatasetParams) WithBody ¶
func (o *CreateDatasetParams) WithBody(body *models.ConfigunstableCreateDatasetRequest) *CreateDatasetParams
WithBody adds the body to the create dataset params
func (*CreateDatasetParams) WithContext ¶
func (o *CreateDatasetParams) WithContext(ctx context.Context) *CreateDatasetParams
WithContext adds the context to the create dataset params
func (*CreateDatasetParams) WithDefaults ¶
func (o *CreateDatasetParams) WithDefaults() *CreateDatasetParams
WithDefaults hydrates default values in the create dataset params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDatasetParams) WithHTTPClient ¶
func (o *CreateDatasetParams) WithHTTPClient(client *http.Client) *CreateDatasetParams
WithHTTPClient adds the HTTPClient to the create dataset params
func (*CreateDatasetParams) WithTimeout ¶
func (o *CreateDatasetParams) WithTimeout(timeout time.Duration) *CreateDatasetParams
WithTimeout adds the timeout to the create dataset params
func (*CreateDatasetParams) WriteToRequest ¶
func (o *CreateDatasetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDatasetReader ¶
type CreateDatasetReader struct {
// contains filtered or unexported fields
}
CreateDatasetReader is a Reader for the CreateDataset structure.
func (*CreateDatasetReader) ReadResponse ¶
func (o *CreateDatasetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDatasetBadRequest ¶
DeleteDatasetBadRequest describes a response with status code 400, with default header values.
Cannot delete the Dataset because it is in use.
func NewDeleteDatasetBadRequest ¶
func NewDeleteDatasetBadRequest() *DeleteDatasetBadRequest
NewDeleteDatasetBadRequest creates a DeleteDatasetBadRequest with default headers values
func (*DeleteDatasetBadRequest) Code ¶
func (o *DeleteDatasetBadRequest) Code() int
Code gets the status code for the delete dataset bad request response
func (*DeleteDatasetBadRequest) Error ¶
func (o *DeleteDatasetBadRequest) Error() string
func (*DeleteDatasetBadRequest) GetPayload ¶
func (o *DeleteDatasetBadRequest) GetPayload() *models.APIError
func (*DeleteDatasetBadRequest) IsClientError ¶
func (o *DeleteDatasetBadRequest) IsClientError() bool
IsClientError returns true when this delete dataset bad request response has a 4xx status code
func (*DeleteDatasetBadRequest) IsCode ¶
func (o *DeleteDatasetBadRequest) IsCode(code int) bool
IsCode returns true when this delete dataset bad request response a status code equal to that given
func (*DeleteDatasetBadRequest) IsRedirect ¶
func (o *DeleteDatasetBadRequest) IsRedirect() bool
IsRedirect returns true when this delete dataset bad request response has a 3xx status code
func (*DeleteDatasetBadRequest) IsServerError ¶
func (o *DeleteDatasetBadRequest) IsServerError() bool
IsServerError returns true when this delete dataset bad request response has a 5xx status code
func (*DeleteDatasetBadRequest) IsSuccess ¶
func (o *DeleteDatasetBadRequest) IsSuccess() bool
IsSuccess returns true when this delete dataset bad request response has a 2xx status code
func (*DeleteDatasetBadRequest) String ¶
func (o *DeleteDatasetBadRequest) String() string
type DeleteDatasetDefault ¶
type DeleteDatasetDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteDatasetDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteDatasetDefault ¶
func NewDeleteDatasetDefault(code int) *DeleteDatasetDefault
NewDeleteDatasetDefault creates a DeleteDatasetDefault with default headers values
func (*DeleteDatasetDefault) Code ¶
func (o *DeleteDatasetDefault) Code() int
Code gets the status code for the delete dataset default response
func (*DeleteDatasetDefault) Error ¶
func (o *DeleteDatasetDefault) Error() string
func (*DeleteDatasetDefault) GetPayload ¶
func (o *DeleteDatasetDefault) GetPayload() models.GenericError
func (*DeleteDatasetDefault) IsClientError ¶
func (o *DeleteDatasetDefault) IsClientError() bool
IsClientError returns true when this delete dataset default response has a 4xx status code
func (*DeleteDatasetDefault) IsCode ¶
func (o *DeleteDatasetDefault) IsCode(code int) bool
IsCode returns true when this delete dataset default response a status code equal to that given
func (*DeleteDatasetDefault) IsRedirect ¶
func (o *DeleteDatasetDefault) IsRedirect() bool
IsRedirect returns true when this delete dataset default response has a 3xx status code
func (*DeleteDatasetDefault) IsServerError ¶
func (o *DeleteDatasetDefault) IsServerError() bool
IsServerError returns true when this delete dataset default response has a 5xx status code
func (*DeleteDatasetDefault) IsSuccess ¶
func (o *DeleteDatasetDefault) IsSuccess() bool
IsSuccess returns true when this delete dataset default response has a 2xx status code
func (*DeleteDatasetDefault) String ¶
func (o *DeleteDatasetDefault) String() string
type DeleteDatasetInternalServerError ¶
DeleteDatasetInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteDatasetInternalServerError ¶
func NewDeleteDatasetInternalServerError() *DeleteDatasetInternalServerError
NewDeleteDatasetInternalServerError creates a DeleteDatasetInternalServerError with default headers values
func (*DeleteDatasetInternalServerError) Code ¶
func (o *DeleteDatasetInternalServerError) Code() int
Code gets the status code for the delete dataset internal server error response
func (*DeleteDatasetInternalServerError) Error ¶
func (o *DeleteDatasetInternalServerError) Error() string
func (*DeleteDatasetInternalServerError) GetPayload ¶
func (o *DeleteDatasetInternalServerError) GetPayload() *models.APIError
func (*DeleteDatasetInternalServerError) IsClientError ¶
func (o *DeleteDatasetInternalServerError) IsClientError() bool
IsClientError returns true when this delete dataset internal server error response has a 4xx status code
func (*DeleteDatasetInternalServerError) IsCode ¶
func (o *DeleteDatasetInternalServerError) IsCode(code int) bool
IsCode returns true when this delete dataset internal server error response a status code equal to that given
func (*DeleteDatasetInternalServerError) IsRedirect ¶
func (o *DeleteDatasetInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete dataset internal server error response has a 3xx status code
func (*DeleteDatasetInternalServerError) IsServerError ¶
func (o *DeleteDatasetInternalServerError) IsServerError() bool
IsServerError returns true when this delete dataset internal server error response has a 5xx status code
func (*DeleteDatasetInternalServerError) IsSuccess ¶
func (o *DeleteDatasetInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete dataset internal server error response has a 2xx status code
func (*DeleteDatasetInternalServerError) String ¶
func (o *DeleteDatasetInternalServerError) String() string
type DeleteDatasetNotFound ¶
DeleteDatasetNotFound describes a response with status code 404, with default header values.
Cannot delete the Dataset because the slug does not exist.
func NewDeleteDatasetNotFound ¶
func NewDeleteDatasetNotFound() *DeleteDatasetNotFound
NewDeleteDatasetNotFound creates a DeleteDatasetNotFound with default headers values
func (*DeleteDatasetNotFound) Code ¶
func (o *DeleteDatasetNotFound) Code() int
Code gets the status code for the delete dataset not found response
func (*DeleteDatasetNotFound) Error ¶
func (o *DeleteDatasetNotFound) Error() string
func (*DeleteDatasetNotFound) GetPayload ¶
func (o *DeleteDatasetNotFound) GetPayload() *models.APIError
func (*DeleteDatasetNotFound) IsClientError ¶
func (o *DeleteDatasetNotFound) IsClientError() bool
IsClientError returns true when this delete dataset not found response has a 4xx status code
func (*DeleteDatasetNotFound) IsCode ¶
func (o *DeleteDatasetNotFound) IsCode(code int) bool
IsCode returns true when this delete dataset not found response a status code equal to that given
func (*DeleteDatasetNotFound) IsRedirect ¶
func (o *DeleteDatasetNotFound) IsRedirect() bool
IsRedirect returns true when this delete dataset not found response has a 3xx status code
func (*DeleteDatasetNotFound) IsServerError ¶
func (o *DeleteDatasetNotFound) IsServerError() bool
IsServerError returns true when this delete dataset not found response has a 5xx status code
func (*DeleteDatasetNotFound) IsSuccess ¶
func (o *DeleteDatasetNotFound) IsSuccess() bool
IsSuccess returns true when this delete dataset not found response has a 2xx status code
func (*DeleteDatasetNotFound) String ¶
func (o *DeleteDatasetNotFound) String() string
type DeleteDatasetOK ¶
type DeleteDatasetOK struct {
Payload models.ConfigunstableDeleteDatasetResponse
}
DeleteDatasetOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteDatasetOK ¶
func NewDeleteDatasetOK() *DeleteDatasetOK
NewDeleteDatasetOK creates a DeleteDatasetOK with default headers values
func (*DeleteDatasetOK) Code ¶
func (o *DeleteDatasetOK) Code() int
Code gets the status code for the delete dataset o k response
func (*DeleteDatasetOK) Error ¶
func (o *DeleteDatasetOK) Error() string
func (*DeleteDatasetOK) GetPayload ¶
func (o *DeleteDatasetOK) GetPayload() models.ConfigunstableDeleteDatasetResponse
func (*DeleteDatasetOK) IsClientError ¶
func (o *DeleteDatasetOK) IsClientError() bool
IsClientError returns true when this delete dataset o k response has a 4xx status code
func (*DeleteDatasetOK) IsCode ¶
func (o *DeleteDatasetOK) IsCode(code int) bool
IsCode returns true when this delete dataset o k response a status code equal to that given
func (*DeleteDatasetOK) IsRedirect ¶
func (o *DeleteDatasetOK) IsRedirect() bool
IsRedirect returns true when this delete dataset o k response has a 3xx status code
func (*DeleteDatasetOK) IsServerError ¶
func (o *DeleteDatasetOK) IsServerError() bool
IsServerError returns true when this delete dataset o k response has a 5xx status code
func (*DeleteDatasetOK) IsSuccess ¶
func (o *DeleteDatasetOK) IsSuccess() bool
IsSuccess returns true when this delete dataset o k response has a 2xx status code
func (*DeleteDatasetOK) String ¶
func (o *DeleteDatasetOK) String() string
type DeleteDatasetParams ¶
type DeleteDatasetParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDatasetParams contains all the parameters to send to the API endpoint
for the delete dataset operation. Typically these are written to a http.Request.
func NewDeleteDatasetParams ¶
func NewDeleteDatasetParams() *DeleteDatasetParams
NewDeleteDatasetParams creates a new DeleteDatasetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteDatasetParamsWithContext ¶
func NewDeleteDatasetParamsWithContext(ctx context.Context) *DeleteDatasetParams
NewDeleteDatasetParamsWithContext creates a new DeleteDatasetParams object with the ability to set a context for a request.
func NewDeleteDatasetParamsWithHTTPClient ¶
func NewDeleteDatasetParamsWithHTTPClient(client *http.Client) *DeleteDatasetParams
NewDeleteDatasetParamsWithHTTPClient creates a new DeleteDatasetParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDatasetParamsWithTimeout ¶
func NewDeleteDatasetParamsWithTimeout(timeout time.Duration) *DeleteDatasetParams
NewDeleteDatasetParamsWithTimeout creates a new DeleteDatasetParams object with the ability to set a timeout on a request.
func (*DeleteDatasetParams) SetContext ¶
func (o *DeleteDatasetParams) SetContext(ctx context.Context)
SetContext adds the context to the delete dataset params
func (*DeleteDatasetParams) SetDefaults ¶
func (o *DeleteDatasetParams) SetDefaults()
SetDefaults hydrates default values in the delete dataset params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDatasetParams) SetHTTPClient ¶
func (o *DeleteDatasetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete dataset params
func (*DeleteDatasetParams) SetSlug ¶
func (o *DeleteDatasetParams) SetSlug(slug string)
SetSlug adds the slug to the delete dataset params
func (*DeleteDatasetParams) SetTimeout ¶
func (o *DeleteDatasetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete dataset params
func (*DeleteDatasetParams) WithContext ¶
func (o *DeleteDatasetParams) WithContext(ctx context.Context) *DeleteDatasetParams
WithContext adds the context to the delete dataset params
func (*DeleteDatasetParams) WithDefaults ¶
func (o *DeleteDatasetParams) WithDefaults() *DeleteDatasetParams
WithDefaults hydrates default values in the delete dataset params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDatasetParams) WithHTTPClient ¶
func (o *DeleteDatasetParams) WithHTTPClient(client *http.Client) *DeleteDatasetParams
WithHTTPClient adds the HTTPClient to the delete dataset params
func (*DeleteDatasetParams) WithSlug ¶
func (o *DeleteDatasetParams) WithSlug(slug string) *DeleteDatasetParams
WithSlug adds the slug to the delete dataset params
func (*DeleteDatasetParams) WithTimeout ¶
func (o *DeleteDatasetParams) WithTimeout(timeout time.Duration) *DeleteDatasetParams
WithTimeout adds the timeout to the delete dataset params
func (*DeleteDatasetParams) WriteToRequest ¶
func (o *DeleteDatasetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDatasetReader ¶
type DeleteDatasetReader struct {
// contains filtered or unexported fields
}
DeleteDatasetReader is a Reader for the DeleteDataset structure.
func (*DeleteDatasetReader) ReadResponse ¶
func (o *DeleteDatasetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDatasetsDefault ¶
type ListDatasetsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListDatasetsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListDatasetsDefault ¶
func NewListDatasetsDefault(code int) *ListDatasetsDefault
NewListDatasetsDefault creates a ListDatasetsDefault with default headers values
func (*ListDatasetsDefault) Code ¶
func (o *ListDatasetsDefault) Code() int
Code gets the status code for the list datasets default response
func (*ListDatasetsDefault) Error ¶
func (o *ListDatasetsDefault) Error() string
func (*ListDatasetsDefault) GetPayload ¶
func (o *ListDatasetsDefault) GetPayload() models.GenericError
func (*ListDatasetsDefault) IsClientError ¶
func (o *ListDatasetsDefault) IsClientError() bool
IsClientError returns true when this list datasets default response has a 4xx status code
func (*ListDatasetsDefault) IsCode ¶
func (o *ListDatasetsDefault) IsCode(code int) bool
IsCode returns true when this list datasets default response a status code equal to that given
func (*ListDatasetsDefault) IsRedirect ¶
func (o *ListDatasetsDefault) IsRedirect() bool
IsRedirect returns true when this list datasets default response has a 3xx status code
func (*ListDatasetsDefault) IsServerError ¶
func (o *ListDatasetsDefault) IsServerError() bool
IsServerError returns true when this list datasets default response has a 5xx status code
func (*ListDatasetsDefault) IsSuccess ¶
func (o *ListDatasetsDefault) IsSuccess() bool
IsSuccess returns true when this list datasets default response has a 2xx status code
func (*ListDatasetsDefault) String ¶
func (o *ListDatasetsDefault) String() string
type ListDatasetsInternalServerError ¶
ListDatasetsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListDatasetsInternalServerError ¶
func NewListDatasetsInternalServerError() *ListDatasetsInternalServerError
NewListDatasetsInternalServerError creates a ListDatasetsInternalServerError with default headers values
func (*ListDatasetsInternalServerError) Code ¶
func (o *ListDatasetsInternalServerError) Code() int
Code gets the status code for the list datasets internal server error response
func (*ListDatasetsInternalServerError) Error ¶
func (o *ListDatasetsInternalServerError) Error() string
func (*ListDatasetsInternalServerError) GetPayload ¶
func (o *ListDatasetsInternalServerError) GetPayload() *models.APIError
func (*ListDatasetsInternalServerError) IsClientError ¶
func (o *ListDatasetsInternalServerError) IsClientError() bool
IsClientError returns true when this list datasets internal server error response has a 4xx status code
func (*ListDatasetsInternalServerError) IsCode ¶
func (o *ListDatasetsInternalServerError) IsCode(code int) bool
IsCode returns true when this list datasets internal server error response a status code equal to that given
func (*ListDatasetsInternalServerError) IsRedirect ¶
func (o *ListDatasetsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list datasets internal server error response has a 3xx status code
func (*ListDatasetsInternalServerError) IsServerError ¶
func (o *ListDatasetsInternalServerError) IsServerError() bool
IsServerError returns true when this list datasets internal server error response has a 5xx status code
func (*ListDatasetsInternalServerError) IsSuccess ¶
func (o *ListDatasetsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list datasets internal server error response has a 2xx status code
func (*ListDatasetsInternalServerError) String ¶
func (o *ListDatasetsInternalServerError) String() string
type ListDatasetsOK ¶
type ListDatasetsOK struct {
Payload *models.ConfigunstableListDatasetsResponse
}
ListDatasetsOK describes a response with status code 200, with default header values.
A successful response.
func NewListDatasetsOK ¶
func NewListDatasetsOK() *ListDatasetsOK
NewListDatasetsOK creates a ListDatasetsOK with default headers values
func (*ListDatasetsOK) Code ¶
func (o *ListDatasetsOK) Code() int
Code gets the status code for the list datasets o k response
func (*ListDatasetsOK) Error ¶
func (o *ListDatasetsOK) Error() string
func (*ListDatasetsOK) GetPayload ¶
func (o *ListDatasetsOK) GetPayload() *models.ConfigunstableListDatasetsResponse
func (*ListDatasetsOK) IsClientError ¶
func (o *ListDatasetsOK) IsClientError() bool
IsClientError returns true when this list datasets o k response has a 4xx status code
func (*ListDatasetsOK) IsCode ¶
func (o *ListDatasetsOK) IsCode(code int) bool
IsCode returns true when this list datasets o k response a status code equal to that given
func (*ListDatasetsOK) IsRedirect ¶
func (o *ListDatasetsOK) IsRedirect() bool
IsRedirect returns true when this list datasets o k response has a 3xx status code
func (*ListDatasetsOK) IsServerError ¶
func (o *ListDatasetsOK) IsServerError() bool
IsServerError returns true when this list datasets o k response has a 5xx status code
func (*ListDatasetsOK) IsSuccess ¶
func (o *ListDatasetsOK) IsSuccess() bool
IsSuccess returns true when this list datasets o k response has a 2xx status code
func (*ListDatasetsOK) String ¶
func (o *ListDatasetsOK) String() string
type ListDatasetsParams ¶
type ListDatasetsParams struct { /* Names. Filters results by name, where any Dataset with a matching name in the given list (and matches all other filters) is returned. */ Names []string /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string /* Slugs. Filters results by slug, where any Dataset with a matching slug in the given list (and matches all other filters) is returned. */ Slugs []string /* Type. Custom filtering option: list filtered down to a specific telemetry type. */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDatasetsParams contains all the parameters to send to the API endpoint
for the list datasets operation. Typically these are written to a http.Request.
func NewListDatasetsParams ¶
func NewListDatasetsParams() *ListDatasetsParams
NewListDatasetsParams creates a new ListDatasetsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListDatasetsParamsWithContext ¶
func NewListDatasetsParamsWithContext(ctx context.Context) *ListDatasetsParams
NewListDatasetsParamsWithContext creates a new ListDatasetsParams object with the ability to set a context for a request.
func NewListDatasetsParamsWithHTTPClient ¶
func NewListDatasetsParamsWithHTTPClient(client *http.Client) *ListDatasetsParams
NewListDatasetsParamsWithHTTPClient creates a new ListDatasetsParams object with the ability to set a custom HTTPClient for a request.
func NewListDatasetsParamsWithTimeout ¶
func NewListDatasetsParamsWithTimeout(timeout time.Duration) *ListDatasetsParams
NewListDatasetsParamsWithTimeout creates a new ListDatasetsParams object with the ability to set a timeout on a request.
func (*ListDatasetsParams) SetContext ¶
func (o *ListDatasetsParams) SetContext(ctx context.Context)
SetContext adds the context to the list datasets params
func (*ListDatasetsParams) SetDefaults ¶
func (o *ListDatasetsParams) SetDefaults()
SetDefaults hydrates default values in the list datasets params (not the query body).
All values with no default are reset to their zero value.
func (*ListDatasetsParams) SetHTTPClient ¶
func (o *ListDatasetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list datasets params
func (*ListDatasetsParams) SetNames ¶
func (o *ListDatasetsParams) SetNames(names []string)
SetNames adds the names to the list datasets params
func (*ListDatasetsParams) SetPageMaxSize ¶
func (o *ListDatasetsParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list datasets params
func (*ListDatasetsParams) SetPageToken ¶
func (o *ListDatasetsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list datasets params
func (*ListDatasetsParams) SetSlugs ¶
func (o *ListDatasetsParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list datasets params
func (*ListDatasetsParams) SetTimeout ¶
func (o *ListDatasetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list datasets params
func (*ListDatasetsParams) SetType ¶
func (o *ListDatasetsParams) SetType(typeVar *string)
SetType adds the type to the list datasets params
func (*ListDatasetsParams) WithContext ¶
func (o *ListDatasetsParams) WithContext(ctx context.Context) *ListDatasetsParams
WithContext adds the context to the list datasets params
func (*ListDatasetsParams) WithDefaults ¶
func (o *ListDatasetsParams) WithDefaults() *ListDatasetsParams
WithDefaults hydrates default values in the list datasets params (not the query body).
All values with no default are reset to their zero value.
func (*ListDatasetsParams) WithHTTPClient ¶
func (o *ListDatasetsParams) WithHTTPClient(client *http.Client) *ListDatasetsParams
WithHTTPClient adds the HTTPClient to the list datasets params
func (*ListDatasetsParams) WithNames ¶
func (o *ListDatasetsParams) WithNames(names []string) *ListDatasetsParams
WithNames adds the names to the list datasets params
func (*ListDatasetsParams) WithPageMaxSize ¶
func (o *ListDatasetsParams) WithPageMaxSize(pageMaxSize *int64) *ListDatasetsParams
WithPageMaxSize adds the pageMaxSize to the list datasets params
func (*ListDatasetsParams) WithPageToken ¶
func (o *ListDatasetsParams) WithPageToken(pageToken *string) *ListDatasetsParams
WithPageToken adds the pageToken to the list datasets params
func (*ListDatasetsParams) WithSlugs ¶
func (o *ListDatasetsParams) WithSlugs(slugs []string) *ListDatasetsParams
WithSlugs adds the slugs to the list datasets params
func (*ListDatasetsParams) WithTimeout ¶
func (o *ListDatasetsParams) WithTimeout(timeout time.Duration) *ListDatasetsParams
WithTimeout adds the timeout to the list datasets params
func (*ListDatasetsParams) WithType ¶
func (o *ListDatasetsParams) WithType(typeVar *string) *ListDatasetsParams
WithType adds the typeVar to the list datasets params
func (*ListDatasetsParams) WriteToRequest ¶
func (o *ListDatasetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDatasetsReader ¶
type ListDatasetsReader struct {
// contains filtered or unexported fields
}
ListDatasetsReader is a Reader for the ListDatasets structure.
func (*ListDatasetsReader) ReadResponse ¶
func (o *ListDatasetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadDatasetDefault ¶
type ReadDatasetDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadDatasetDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadDatasetDefault ¶
func NewReadDatasetDefault(code int) *ReadDatasetDefault
NewReadDatasetDefault creates a ReadDatasetDefault with default headers values
func (*ReadDatasetDefault) Code ¶
func (o *ReadDatasetDefault) Code() int
Code gets the status code for the read dataset default response
func (*ReadDatasetDefault) Error ¶
func (o *ReadDatasetDefault) Error() string
func (*ReadDatasetDefault) GetPayload ¶
func (o *ReadDatasetDefault) GetPayload() models.GenericError
func (*ReadDatasetDefault) IsClientError ¶
func (o *ReadDatasetDefault) IsClientError() bool
IsClientError returns true when this read dataset default response has a 4xx status code
func (*ReadDatasetDefault) IsCode ¶
func (o *ReadDatasetDefault) IsCode(code int) bool
IsCode returns true when this read dataset default response a status code equal to that given
func (*ReadDatasetDefault) IsRedirect ¶
func (o *ReadDatasetDefault) IsRedirect() bool
IsRedirect returns true when this read dataset default response has a 3xx status code
func (*ReadDatasetDefault) IsServerError ¶
func (o *ReadDatasetDefault) IsServerError() bool
IsServerError returns true when this read dataset default response has a 5xx status code
func (*ReadDatasetDefault) IsSuccess ¶
func (o *ReadDatasetDefault) IsSuccess() bool
IsSuccess returns true when this read dataset default response has a 2xx status code
func (*ReadDatasetDefault) String ¶
func (o *ReadDatasetDefault) String() string
type ReadDatasetInternalServerError ¶
ReadDatasetInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadDatasetInternalServerError ¶
func NewReadDatasetInternalServerError() *ReadDatasetInternalServerError
NewReadDatasetInternalServerError creates a ReadDatasetInternalServerError with default headers values
func (*ReadDatasetInternalServerError) Code ¶
func (o *ReadDatasetInternalServerError) Code() int
Code gets the status code for the read dataset internal server error response
func (*ReadDatasetInternalServerError) Error ¶
func (o *ReadDatasetInternalServerError) Error() string
func (*ReadDatasetInternalServerError) GetPayload ¶
func (o *ReadDatasetInternalServerError) GetPayload() *models.APIError
func (*ReadDatasetInternalServerError) IsClientError ¶
func (o *ReadDatasetInternalServerError) IsClientError() bool
IsClientError returns true when this read dataset internal server error response has a 4xx status code
func (*ReadDatasetInternalServerError) IsCode ¶
func (o *ReadDatasetInternalServerError) IsCode(code int) bool
IsCode returns true when this read dataset internal server error response a status code equal to that given
func (*ReadDatasetInternalServerError) IsRedirect ¶
func (o *ReadDatasetInternalServerError) IsRedirect() bool
IsRedirect returns true when this read dataset internal server error response has a 3xx status code
func (*ReadDatasetInternalServerError) IsServerError ¶
func (o *ReadDatasetInternalServerError) IsServerError() bool
IsServerError returns true when this read dataset internal server error response has a 5xx status code
func (*ReadDatasetInternalServerError) IsSuccess ¶
func (o *ReadDatasetInternalServerError) IsSuccess() bool
IsSuccess returns true when this read dataset internal server error response has a 2xx status code
func (*ReadDatasetInternalServerError) String ¶
func (o *ReadDatasetInternalServerError) String() string
type ReadDatasetNotFound ¶
ReadDatasetNotFound describes a response with status code 404, with default header values.
Cannot read the Dataset because the slug does not exist.
func NewReadDatasetNotFound ¶
func NewReadDatasetNotFound() *ReadDatasetNotFound
NewReadDatasetNotFound creates a ReadDatasetNotFound with default headers values
func (*ReadDatasetNotFound) Code ¶
func (o *ReadDatasetNotFound) Code() int
Code gets the status code for the read dataset not found response
func (*ReadDatasetNotFound) Error ¶
func (o *ReadDatasetNotFound) Error() string
func (*ReadDatasetNotFound) GetPayload ¶
func (o *ReadDatasetNotFound) GetPayload() *models.APIError
func (*ReadDatasetNotFound) IsClientError ¶
func (o *ReadDatasetNotFound) IsClientError() bool
IsClientError returns true when this read dataset not found response has a 4xx status code
func (*ReadDatasetNotFound) IsCode ¶
func (o *ReadDatasetNotFound) IsCode(code int) bool
IsCode returns true when this read dataset not found response a status code equal to that given
func (*ReadDatasetNotFound) IsRedirect ¶
func (o *ReadDatasetNotFound) IsRedirect() bool
IsRedirect returns true when this read dataset not found response has a 3xx status code
func (*ReadDatasetNotFound) IsServerError ¶
func (o *ReadDatasetNotFound) IsServerError() bool
IsServerError returns true when this read dataset not found response has a 5xx status code
func (*ReadDatasetNotFound) IsSuccess ¶
func (o *ReadDatasetNotFound) IsSuccess() bool
IsSuccess returns true when this read dataset not found response has a 2xx status code
func (*ReadDatasetNotFound) String ¶
func (o *ReadDatasetNotFound) String() string
type ReadDatasetOK ¶
type ReadDatasetOK struct {
Payload *models.ConfigunstableReadDatasetResponse
}
ReadDatasetOK describes a response with status code 200, with default header values.
A successful response.
func NewReadDatasetOK ¶
func NewReadDatasetOK() *ReadDatasetOK
NewReadDatasetOK creates a ReadDatasetOK with default headers values
func (*ReadDatasetOK) Code ¶
func (o *ReadDatasetOK) Code() int
Code gets the status code for the read dataset o k response
func (*ReadDatasetOK) Error ¶
func (o *ReadDatasetOK) Error() string
func (*ReadDatasetOK) GetPayload ¶
func (o *ReadDatasetOK) GetPayload() *models.ConfigunstableReadDatasetResponse
func (*ReadDatasetOK) IsClientError ¶
func (o *ReadDatasetOK) IsClientError() bool
IsClientError returns true when this read dataset o k response has a 4xx status code
func (*ReadDatasetOK) IsCode ¶
func (o *ReadDatasetOK) IsCode(code int) bool
IsCode returns true when this read dataset o k response a status code equal to that given
func (*ReadDatasetOK) IsRedirect ¶
func (o *ReadDatasetOK) IsRedirect() bool
IsRedirect returns true when this read dataset o k response has a 3xx status code
func (*ReadDatasetOK) IsServerError ¶
func (o *ReadDatasetOK) IsServerError() bool
IsServerError returns true when this read dataset o k response has a 5xx status code
func (*ReadDatasetOK) IsSuccess ¶
func (o *ReadDatasetOK) IsSuccess() bool
IsSuccess returns true when this read dataset o k response has a 2xx status code
func (*ReadDatasetOK) String ¶
func (o *ReadDatasetOK) String() string
type ReadDatasetParams ¶
type ReadDatasetParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadDatasetParams contains all the parameters to send to the API endpoint
for the read dataset operation. Typically these are written to a http.Request.
func NewReadDatasetParams ¶
func NewReadDatasetParams() *ReadDatasetParams
NewReadDatasetParams creates a new ReadDatasetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReadDatasetParamsWithContext ¶
func NewReadDatasetParamsWithContext(ctx context.Context) *ReadDatasetParams
NewReadDatasetParamsWithContext creates a new ReadDatasetParams object with the ability to set a context for a request.
func NewReadDatasetParamsWithHTTPClient ¶
func NewReadDatasetParamsWithHTTPClient(client *http.Client) *ReadDatasetParams
NewReadDatasetParamsWithHTTPClient creates a new ReadDatasetParams object with the ability to set a custom HTTPClient for a request.
func NewReadDatasetParamsWithTimeout ¶
func NewReadDatasetParamsWithTimeout(timeout time.Duration) *ReadDatasetParams
NewReadDatasetParamsWithTimeout creates a new ReadDatasetParams object with the ability to set a timeout on a request.
func (*ReadDatasetParams) SetContext ¶
func (o *ReadDatasetParams) SetContext(ctx context.Context)
SetContext adds the context to the read dataset params
func (*ReadDatasetParams) SetDefaults ¶
func (o *ReadDatasetParams) SetDefaults()
SetDefaults hydrates default values in the read dataset params (not the query body).
All values with no default are reset to their zero value.
func (*ReadDatasetParams) SetHTTPClient ¶
func (o *ReadDatasetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read dataset params
func (*ReadDatasetParams) SetSlug ¶
func (o *ReadDatasetParams) SetSlug(slug string)
SetSlug adds the slug to the read dataset params
func (*ReadDatasetParams) SetTimeout ¶
func (o *ReadDatasetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read dataset params
func (*ReadDatasetParams) WithContext ¶
func (o *ReadDatasetParams) WithContext(ctx context.Context) *ReadDatasetParams
WithContext adds the context to the read dataset params
func (*ReadDatasetParams) WithDefaults ¶
func (o *ReadDatasetParams) WithDefaults() *ReadDatasetParams
WithDefaults hydrates default values in the read dataset params (not the query body).
All values with no default are reset to their zero value.
func (*ReadDatasetParams) WithHTTPClient ¶
func (o *ReadDatasetParams) WithHTTPClient(client *http.Client) *ReadDatasetParams
WithHTTPClient adds the HTTPClient to the read dataset params
func (*ReadDatasetParams) WithSlug ¶
func (o *ReadDatasetParams) WithSlug(slug string) *ReadDatasetParams
WithSlug adds the slug to the read dataset params
func (*ReadDatasetParams) WithTimeout ¶
func (o *ReadDatasetParams) WithTimeout(timeout time.Duration) *ReadDatasetParams
WithTimeout adds the timeout to the read dataset params
func (*ReadDatasetParams) WriteToRequest ¶
func (o *ReadDatasetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadDatasetReader ¶
type ReadDatasetReader struct {
// contains filtered or unexported fields
}
ReadDatasetReader is a Reader for the ReadDataset structure.
func (*ReadDatasetReader) ReadResponse ¶
func (o *ReadDatasetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDatasetBadRequest ¶
UpdateDatasetBadRequest describes a response with status code 400, with default header values.
Cannot update the Dataset because the request is invalid.
func NewUpdateDatasetBadRequest ¶
func NewUpdateDatasetBadRequest() *UpdateDatasetBadRequest
NewUpdateDatasetBadRequest creates a UpdateDatasetBadRequest with default headers values
func (*UpdateDatasetBadRequest) Code ¶
func (o *UpdateDatasetBadRequest) Code() int
Code gets the status code for the update dataset bad request response
func (*UpdateDatasetBadRequest) Error ¶
func (o *UpdateDatasetBadRequest) Error() string
func (*UpdateDatasetBadRequest) GetPayload ¶
func (o *UpdateDatasetBadRequest) GetPayload() *models.APIError
func (*UpdateDatasetBadRequest) IsClientError ¶
func (o *UpdateDatasetBadRequest) IsClientError() bool
IsClientError returns true when this update dataset bad request response has a 4xx status code
func (*UpdateDatasetBadRequest) IsCode ¶
func (o *UpdateDatasetBadRequest) IsCode(code int) bool
IsCode returns true when this update dataset bad request response a status code equal to that given
func (*UpdateDatasetBadRequest) IsRedirect ¶
func (o *UpdateDatasetBadRequest) IsRedirect() bool
IsRedirect returns true when this update dataset bad request response has a 3xx status code
func (*UpdateDatasetBadRequest) IsServerError ¶
func (o *UpdateDatasetBadRequest) IsServerError() bool
IsServerError returns true when this update dataset bad request response has a 5xx status code
func (*UpdateDatasetBadRequest) IsSuccess ¶
func (o *UpdateDatasetBadRequest) IsSuccess() bool
IsSuccess returns true when this update dataset bad request response has a 2xx status code
func (*UpdateDatasetBadRequest) String ¶
func (o *UpdateDatasetBadRequest) String() string
type UpdateDatasetConflict ¶
UpdateDatasetConflict describes a response with status code 409, with default header values.
Cannot update the Dataset because there is a conflict with an existing Dataset.
func NewUpdateDatasetConflict ¶
func NewUpdateDatasetConflict() *UpdateDatasetConflict
NewUpdateDatasetConflict creates a UpdateDatasetConflict with default headers values
func (*UpdateDatasetConflict) Code ¶
func (o *UpdateDatasetConflict) Code() int
Code gets the status code for the update dataset conflict response
func (*UpdateDatasetConflict) Error ¶
func (o *UpdateDatasetConflict) Error() string
func (*UpdateDatasetConflict) GetPayload ¶
func (o *UpdateDatasetConflict) GetPayload() *models.APIError
func (*UpdateDatasetConflict) IsClientError ¶
func (o *UpdateDatasetConflict) IsClientError() bool
IsClientError returns true when this update dataset conflict response has a 4xx status code
func (*UpdateDatasetConflict) IsCode ¶
func (o *UpdateDatasetConflict) IsCode(code int) bool
IsCode returns true when this update dataset conflict response a status code equal to that given
func (*UpdateDatasetConflict) IsRedirect ¶
func (o *UpdateDatasetConflict) IsRedirect() bool
IsRedirect returns true when this update dataset conflict response has a 3xx status code
func (*UpdateDatasetConflict) IsServerError ¶
func (o *UpdateDatasetConflict) IsServerError() bool
IsServerError returns true when this update dataset conflict response has a 5xx status code
func (*UpdateDatasetConflict) IsSuccess ¶
func (o *UpdateDatasetConflict) IsSuccess() bool
IsSuccess returns true when this update dataset conflict response has a 2xx status code
func (*UpdateDatasetConflict) String ¶
func (o *UpdateDatasetConflict) String() string
type UpdateDatasetDefault ¶
type UpdateDatasetDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateDatasetDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateDatasetDefault ¶
func NewUpdateDatasetDefault(code int) *UpdateDatasetDefault
NewUpdateDatasetDefault creates a UpdateDatasetDefault with default headers values
func (*UpdateDatasetDefault) Code ¶
func (o *UpdateDatasetDefault) Code() int
Code gets the status code for the update dataset default response
func (*UpdateDatasetDefault) Error ¶
func (o *UpdateDatasetDefault) Error() string
func (*UpdateDatasetDefault) GetPayload ¶
func (o *UpdateDatasetDefault) GetPayload() models.GenericError
func (*UpdateDatasetDefault) IsClientError ¶
func (o *UpdateDatasetDefault) IsClientError() bool
IsClientError returns true when this update dataset default response has a 4xx status code
func (*UpdateDatasetDefault) IsCode ¶
func (o *UpdateDatasetDefault) IsCode(code int) bool
IsCode returns true when this update dataset default response a status code equal to that given
func (*UpdateDatasetDefault) IsRedirect ¶
func (o *UpdateDatasetDefault) IsRedirect() bool
IsRedirect returns true when this update dataset default response has a 3xx status code
func (*UpdateDatasetDefault) IsServerError ¶
func (o *UpdateDatasetDefault) IsServerError() bool
IsServerError returns true when this update dataset default response has a 5xx status code
func (*UpdateDatasetDefault) IsSuccess ¶
func (o *UpdateDatasetDefault) IsSuccess() bool
IsSuccess returns true when this update dataset default response has a 2xx status code
func (*UpdateDatasetDefault) String ¶
func (o *UpdateDatasetDefault) String() string
type UpdateDatasetInternalServerError ¶
UpdateDatasetInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateDatasetInternalServerError ¶
func NewUpdateDatasetInternalServerError() *UpdateDatasetInternalServerError
NewUpdateDatasetInternalServerError creates a UpdateDatasetInternalServerError with default headers values
func (*UpdateDatasetInternalServerError) Code ¶
func (o *UpdateDatasetInternalServerError) Code() int
Code gets the status code for the update dataset internal server error response
func (*UpdateDatasetInternalServerError) Error ¶
func (o *UpdateDatasetInternalServerError) Error() string
func (*UpdateDatasetInternalServerError) GetPayload ¶
func (o *UpdateDatasetInternalServerError) GetPayload() *models.APIError
func (*UpdateDatasetInternalServerError) IsClientError ¶
func (o *UpdateDatasetInternalServerError) IsClientError() bool
IsClientError returns true when this update dataset internal server error response has a 4xx status code
func (*UpdateDatasetInternalServerError) IsCode ¶
func (o *UpdateDatasetInternalServerError) IsCode(code int) bool
IsCode returns true when this update dataset internal server error response a status code equal to that given
func (*UpdateDatasetInternalServerError) IsRedirect ¶
func (o *UpdateDatasetInternalServerError) IsRedirect() bool
IsRedirect returns true when this update dataset internal server error response has a 3xx status code
func (*UpdateDatasetInternalServerError) IsServerError ¶
func (o *UpdateDatasetInternalServerError) IsServerError() bool
IsServerError returns true when this update dataset internal server error response has a 5xx status code
func (*UpdateDatasetInternalServerError) IsSuccess ¶
func (o *UpdateDatasetInternalServerError) IsSuccess() bool
IsSuccess returns true when this update dataset internal server error response has a 2xx status code
func (*UpdateDatasetInternalServerError) String ¶
func (o *UpdateDatasetInternalServerError) String() string
type UpdateDatasetNotFound ¶
UpdateDatasetNotFound describes a response with status code 404, with default header values.
Cannot update the Dataset because the slug does not exist.
func NewUpdateDatasetNotFound ¶
func NewUpdateDatasetNotFound() *UpdateDatasetNotFound
NewUpdateDatasetNotFound creates a UpdateDatasetNotFound with default headers values
func (*UpdateDatasetNotFound) Code ¶
func (o *UpdateDatasetNotFound) Code() int
Code gets the status code for the update dataset not found response
func (*UpdateDatasetNotFound) Error ¶
func (o *UpdateDatasetNotFound) Error() string
func (*UpdateDatasetNotFound) GetPayload ¶
func (o *UpdateDatasetNotFound) GetPayload() *models.APIError
func (*UpdateDatasetNotFound) IsClientError ¶
func (o *UpdateDatasetNotFound) IsClientError() bool
IsClientError returns true when this update dataset not found response has a 4xx status code
func (*UpdateDatasetNotFound) IsCode ¶
func (o *UpdateDatasetNotFound) IsCode(code int) bool
IsCode returns true when this update dataset not found response a status code equal to that given
func (*UpdateDatasetNotFound) IsRedirect ¶
func (o *UpdateDatasetNotFound) IsRedirect() bool
IsRedirect returns true when this update dataset not found response has a 3xx status code
func (*UpdateDatasetNotFound) IsServerError ¶
func (o *UpdateDatasetNotFound) IsServerError() bool
IsServerError returns true when this update dataset not found response has a 5xx status code
func (*UpdateDatasetNotFound) IsSuccess ¶
func (o *UpdateDatasetNotFound) IsSuccess() bool
IsSuccess returns true when this update dataset not found response has a 2xx status code
func (*UpdateDatasetNotFound) String ¶
func (o *UpdateDatasetNotFound) String() string
type UpdateDatasetOK ¶
type UpdateDatasetOK struct {
Payload *models.ConfigunstableUpdateDatasetResponse
}
UpdateDatasetOK describes a response with status code 200, with default header values.
A successful response containing the updated Dataset.
func NewUpdateDatasetOK ¶
func NewUpdateDatasetOK() *UpdateDatasetOK
NewUpdateDatasetOK creates a UpdateDatasetOK with default headers values
func (*UpdateDatasetOK) Code ¶
func (o *UpdateDatasetOK) Code() int
Code gets the status code for the update dataset o k response
func (*UpdateDatasetOK) Error ¶
func (o *UpdateDatasetOK) Error() string
func (*UpdateDatasetOK) GetPayload ¶
func (o *UpdateDatasetOK) GetPayload() *models.ConfigunstableUpdateDatasetResponse
func (*UpdateDatasetOK) IsClientError ¶
func (o *UpdateDatasetOK) IsClientError() bool
IsClientError returns true when this update dataset o k response has a 4xx status code
func (*UpdateDatasetOK) IsCode ¶
func (o *UpdateDatasetOK) IsCode(code int) bool
IsCode returns true when this update dataset o k response a status code equal to that given
func (*UpdateDatasetOK) IsRedirect ¶
func (o *UpdateDatasetOK) IsRedirect() bool
IsRedirect returns true when this update dataset o k response has a 3xx status code
func (*UpdateDatasetOK) IsServerError ¶
func (o *UpdateDatasetOK) IsServerError() bool
IsServerError returns true when this update dataset o k response has a 5xx status code
func (*UpdateDatasetOK) IsSuccess ¶
func (o *UpdateDatasetOK) IsSuccess() bool
IsSuccess returns true when this update dataset o k response has a 2xx status code
func (*UpdateDatasetOK) String ¶
func (o *UpdateDatasetOK) String() string
type UpdateDatasetParams ¶
type UpdateDatasetParams struct { // Body. Body *models.ConfigUnstableUpdateDatasetBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDatasetParams contains all the parameters to send to the API endpoint
for the update dataset operation. Typically these are written to a http.Request.
func NewUpdateDatasetParams ¶
func NewUpdateDatasetParams() *UpdateDatasetParams
NewUpdateDatasetParams creates a new UpdateDatasetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateDatasetParamsWithContext ¶
func NewUpdateDatasetParamsWithContext(ctx context.Context) *UpdateDatasetParams
NewUpdateDatasetParamsWithContext creates a new UpdateDatasetParams object with the ability to set a context for a request.
func NewUpdateDatasetParamsWithHTTPClient ¶
func NewUpdateDatasetParamsWithHTTPClient(client *http.Client) *UpdateDatasetParams
NewUpdateDatasetParamsWithHTTPClient creates a new UpdateDatasetParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDatasetParamsWithTimeout ¶
func NewUpdateDatasetParamsWithTimeout(timeout time.Duration) *UpdateDatasetParams
NewUpdateDatasetParamsWithTimeout creates a new UpdateDatasetParams object with the ability to set a timeout on a request.
func (*UpdateDatasetParams) SetBody ¶
func (o *UpdateDatasetParams) SetBody(body *models.ConfigUnstableUpdateDatasetBody)
SetBody adds the body to the update dataset params
func (*UpdateDatasetParams) SetContext ¶
func (o *UpdateDatasetParams) SetContext(ctx context.Context)
SetContext adds the context to the update dataset params
func (*UpdateDatasetParams) SetDefaults ¶
func (o *UpdateDatasetParams) SetDefaults()
SetDefaults hydrates default values in the update dataset params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDatasetParams) SetHTTPClient ¶
func (o *UpdateDatasetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update dataset params
func (*UpdateDatasetParams) SetSlug ¶
func (o *UpdateDatasetParams) SetSlug(slug string)
SetSlug adds the slug to the update dataset params
func (*UpdateDatasetParams) SetTimeout ¶
func (o *UpdateDatasetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update dataset params
func (*UpdateDatasetParams) WithBody ¶
func (o *UpdateDatasetParams) WithBody(body *models.ConfigUnstableUpdateDatasetBody) *UpdateDatasetParams
WithBody adds the body to the update dataset params
func (*UpdateDatasetParams) WithContext ¶
func (o *UpdateDatasetParams) WithContext(ctx context.Context) *UpdateDatasetParams
WithContext adds the context to the update dataset params
func (*UpdateDatasetParams) WithDefaults ¶
func (o *UpdateDatasetParams) WithDefaults() *UpdateDatasetParams
WithDefaults hydrates default values in the update dataset params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDatasetParams) WithHTTPClient ¶
func (o *UpdateDatasetParams) WithHTTPClient(client *http.Client) *UpdateDatasetParams
WithHTTPClient adds the HTTPClient to the update dataset params
func (*UpdateDatasetParams) WithSlug ¶
func (o *UpdateDatasetParams) WithSlug(slug string) *UpdateDatasetParams
WithSlug adds the slug to the update dataset params
func (*UpdateDatasetParams) WithTimeout ¶
func (o *UpdateDatasetParams) WithTimeout(timeout time.Duration) *UpdateDatasetParams
WithTimeout adds the timeout to the update dataset params
func (*UpdateDatasetParams) WriteToRequest ¶
func (o *UpdateDatasetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDatasetReader ¶
type UpdateDatasetReader struct {
// contains filtered or unexported fields
}
UpdateDatasetReader is a Reader for the UpdateDataset structure.
func (*UpdateDatasetReader) ReadResponse ¶
func (o *UpdateDatasetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.