datagroup

package
v0.0.0-...-9dad3f6 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllDatagroupsBadRequest

type AllDatagroupsBadRequest struct {
	Payload *models.Error
}

AllDatagroupsBadRequest handles this case with default header values.

Bad Request

func NewAllDatagroupsBadRequest

func NewAllDatagroupsBadRequest() *AllDatagroupsBadRequest

NewAllDatagroupsBadRequest creates a AllDatagroupsBadRequest with default headers values

func (*AllDatagroupsBadRequest) Error

func (o *AllDatagroupsBadRequest) Error() string

func (*AllDatagroupsBadRequest) GetPayload

func (o *AllDatagroupsBadRequest) GetPayload() *models.Error

type AllDatagroupsNotFound

type AllDatagroupsNotFound struct {
	Payload *models.Error
}

AllDatagroupsNotFound handles this case with default header values.

Not Found

func NewAllDatagroupsNotFound

func NewAllDatagroupsNotFound() *AllDatagroupsNotFound

NewAllDatagroupsNotFound creates a AllDatagroupsNotFound with default headers values

func (*AllDatagroupsNotFound) Error

func (o *AllDatagroupsNotFound) Error() string

func (*AllDatagroupsNotFound) GetPayload

func (o *AllDatagroupsNotFound) GetPayload() *models.Error

type AllDatagroupsOK

type AllDatagroupsOK struct {
	Payload []*models.Datagroup
}

AllDatagroupsOK handles this case with default header values.

Datagroup

func NewAllDatagroupsOK

func NewAllDatagroupsOK() *AllDatagroupsOK

NewAllDatagroupsOK creates a AllDatagroupsOK with default headers values

func (*AllDatagroupsOK) Error

func (o *AllDatagroupsOK) Error() string

func (*AllDatagroupsOK) GetPayload

func (o *AllDatagroupsOK) GetPayload() []*models.Datagroup

type AllDatagroupsParams

type AllDatagroupsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AllDatagroupsParams contains all the parameters to send to the API endpoint for the all datagroups operation typically these are written to a http.Request

func NewAllDatagroupsParams

func NewAllDatagroupsParams() *AllDatagroupsParams

NewAllDatagroupsParams creates a new AllDatagroupsParams object with the default values initialized.

func NewAllDatagroupsParamsWithContext

func NewAllDatagroupsParamsWithContext(ctx context.Context) *AllDatagroupsParams

NewAllDatagroupsParamsWithContext creates a new AllDatagroupsParams object with the default values initialized, and the ability to set a context for a request

func NewAllDatagroupsParamsWithHTTPClient

func NewAllDatagroupsParamsWithHTTPClient(client *http.Client) *AllDatagroupsParams

NewAllDatagroupsParamsWithHTTPClient creates a new AllDatagroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAllDatagroupsParamsWithTimeout

func NewAllDatagroupsParamsWithTimeout(timeout time.Duration) *AllDatagroupsParams

NewAllDatagroupsParamsWithTimeout creates a new AllDatagroupsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AllDatagroupsParams) SetContext

func (o *AllDatagroupsParams) SetContext(ctx context.Context)

SetContext adds the context to the all datagroups params

func (*AllDatagroupsParams) SetHTTPClient

func (o *AllDatagroupsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the all datagroups params

func (*AllDatagroupsParams) SetTimeout

func (o *AllDatagroupsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the all datagroups params

func (*AllDatagroupsParams) WithContext

WithContext adds the context to the all datagroups params

func (*AllDatagroupsParams) WithHTTPClient

func (o *AllDatagroupsParams) WithHTTPClient(client *http.Client) *AllDatagroupsParams

WithHTTPClient adds the HTTPClient to the all datagroups params

func (*AllDatagroupsParams) WithTimeout

func (o *AllDatagroupsParams) WithTimeout(timeout time.Duration) *AllDatagroupsParams

WithTimeout adds the timeout to the all datagroups params

func (*AllDatagroupsParams) WriteToRequest

func (o *AllDatagroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AllDatagroupsReader

type AllDatagroupsReader struct {
	// contains filtered or unexported fields
}

AllDatagroupsReader is a Reader for the AllDatagroups structure.

func (*AllDatagroupsReader) ReadResponse

func (o *AllDatagroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for datagroup API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new datagroup API client.

func (*Client) AllDatagroups

func (a *Client) AllDatagroups(params *AllDatagroupsParams) (*AllDatagroupsOK, error)

AllDatagroups gets all datagroups

### Get information about all datagroups.

func (*Client) Datagroup

func (a *Client) Datagroup(params *DatagroupParams) (*DatagroupOK, error)

Datagroup gets datagroup

### Get information about a datagroup.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateDatagroup

func (a *Client) UpdateDatagroup(params *UpdateDatagroupParams) (*UpdateDatagroupOK, error)

UpdateDatagroup updates datagroup

### Update a datagroup using the specified params.

type DatagroupBadRequest

type DatagroupBadRequest struct {
	Payload *models.Error
}

DatagroupBadRequest handles this case with default header values.

Bad Request

func NewDatagroupBadRequest

func NewDatagroupBadRequest() *DatagroupBadRequest

NewDatagroupBadRequest creates a DatagroupBadRequest with default headers values

func (*DatagroupBadRequest) Error

func (o *DatagroupBadRequest) Error() string

func (*DatagroupBadRequest) GetPayload

func (o *DatagroupBadRequest) GetPayload() *models.Error

type DatagroupNotFound

type DatagroupNotFound struct {
	Payload *models.Error
}

DatagroupNotFound handles this case with default header values.

Not Found

func NewDatagroupNotFound

func NewDatagroupNotFound() *DatagroupNotFound

NewDatagroupNotFound creates a DatagroupNotFound with default headers values

func (*DatagroupNotFound) Error

func (o *DatagroupNotFound) Error() string

func (*DatagroupNotFound) GetPayload

func (o *DatagroupNotFound) GetPayload() *models.Error

type DatagroupOK

type DatagroupOK struct {
	Payload *models.Datagroup
}

DatagroupOK handles this case with default header values.

Datagroup

func NewDatagroupOK

func NewDatagroupOK() *DatagroupOK

NewDatagroupOK creates a DatagroupOK with default headers values

func (*DatagroupOK) Error

func (o *DatagroupOK) Error() string

func (*DatagroupOK) GetPayload

func (o *DatagroupOK) GetPayload() *models.Datagroup

type DatagroupParams

type DatagroupParams struct {

	/*DatagroupID
	  ID of datagroup.

	*/
	DatagroupID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DatagroupParams contains all the parameters to send to the API endpoint for the datagroup operation typically these are written to a http.Request

func NewDatagroupParams

func NewDatagroupParams() *DatagroupParams

NewDatagroupParams creates a new DatagroupParams object with the default values initialized.

func NewDatagroupParamsWithContext

func NewDatagroupParamsWithContext(ctx context.Context) *DatagroupParams

NewDatagroupParamsWithContext creates a new DatagroupParams object with the default values initialized, and the ability to set a context for a request

func NewDatagroupParamsWithHTTPClient

func NewDatagroupParamsWithHTTPClient(client *http.Client) *DatagroupParams

NewDatagroupParamsWithHTTPClient creates a new DatagroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDatagroupParamsWithTimeout

func NewDatagroupParamsWithTimeout(timeout time.Duration) *DatagroupParams

NewDatagroupParamsWithTimeout creates a new DatagroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*DatagroupParams) SetContext

func (o *DatagroupParams) SetContext(ctx context.Context)

SetContext adds the context to the datagroup params

func (*DatagroupParams) SetDatagroupID

func (o *DatagroupParams) SetDatagroupID(datagroupID string)

SetDatagroupID adds the datagroupId to the datagroup params

func (*DatagroupParams) SetHTTPClient

func (o *DatagroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the datagroup params

func (*DatagroupParams) SetTimeout

func (o *DatagroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the datagroup params

func (*DatagroupParams) WithContext

func (o *DatagroupParams) WithContext(ctx context.Context) *DatagroupParams

WithContext adds the context to the datagroup params

func (*DatagroupParams) WithDatagroupID

func (o *DatagroupParams) WithDatagroupID(datagroupID string) *DatagroupParams

WithDatagroupID adds the datagroupID to the datagroup params

func (*DatagroupParams) WithHTTPClient

func (o *DatagroupParams) WithHTTPClient(client *http.Client) *DatagroupParams

WithHTTPClient adds the HTTPClient to the datagroup params

func (*DatagroupParams) WithTimeout

func (o *DatagroupParams) WithTimeout(timeout time.Duration) *DatagroupParams

WithTimeout adds the timeout to the datagroup params

func (*DatagroupParams) WriteToRequest

func (o *DatagroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DatagroupReader

type DatagroupReader struct {
	// contains filtered or unexported fields
}

DatagroupReader is a Reader for the Datagroup structure.

func (*DatagroupReader) ReadResponse

func (o *DatagroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDatagroupBadRequest

type UpdateDatagroupBadRequest struct {
	Payload *models.Error
}

UpdateDatagroupBadRequest handles this case with default header values.

Bad Request

func NewUpdateDatagroupBadRequest

func NewUpdateDatagroupBadRequest() *UpdateDatagroupBadRequest

NewUpdateDatagroupBadRequest creates a UpdateDatagroupBadRequest with default headers values

func (*UpdateDatagroupBadRequest) Error

func (o *UpdateDatagroupBadRequest) Error() string

func (*UpdateDatagroupBadRequest) GetPayload

func (o *UpdateDatagroupBadRequest) GetPayload() *models.Error

type UpdateDatagroupConflict

type UpdateDatagroupConflict struct {
	Payload *models.Error
}

UpdateDatagroupConflict handles this case with default header values.

Resource Already Exists

func NewUpdateDatagroupConflict

func NewUpdateDatagroupConflict() *UpdateDatagroupConflict

NewUpdateDatagroupConflict creates a UpdateDatagroupConflict with default headers values

func (*UpdateDatagroupConflict) Error

func (o *UpdateDatagroupConflict) Error() string

func (*UpdateDatagroupConflict) GetPayload

func (o *UpdateDatagroupConflict) GetPayload() *models.Error

type UpdateDatagroupNotFound

type UpdateDatagroupNotFound struct {
	Payload *models.Error
}

UpdateDatagroupNotFound handles this case with default header values.

Not Found

func NewUpdateDatagroupNotFound

func NewUpdateDatagroupNotFound() *UpdateDatagroupNotFound

NewUpdateDatagroupNotFound creates a UpdateDatagroupNotFound with default headers values

func (*UpdateDatagroupNotFound) Error

func (o *UpdateDatagroupNotFound) Error() string

func (*UpdateDatagroupNotFound) GetPayload

func (o *UpdateDatagroupNotFound) GetPayload() *models.Error

type UpdateDatagroupOK

type UpdateDatagroupOK struct {
	Payload *models.Datagroup
}

UpdateDatagroupOK handles this case with default header values.

Datagroup

func NewUpdateDatagroupOK

func NewUpdateDatagroupOK() *UpdateDatagroupOK

NewUpdateDatagroupOK creates a UpdateDatagroupOK with default headers values

func (*UpdateDatagroupOK) Error

func (o *UpdateDatagroupOK) Error() string

func (*UpdateDatagroupOK) GetPayload

func (o *UpdateDatagroupOK) GetPayload() *models.Datagroup

type UpdateDatagroupParams

type UpdateDatagroupParams struct {

	/*Body
	  Datagroup

	*/
	Body *models.Datagroup
	/*DatagroupID
	  ID of datagroup.

	*/
	DatagroupID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDatagroupParams contains all the parameters to send to the API endpoint for the update datagroup operation typically these are written to a http.Request

func NewUpdateDatagroupParams

func NewUpdateDatagroupParams() *UpdateDatagroupParams

NewUpdateDatagroupParams creates a new UpdateDatagroupParams object with the default values initialized.

func NewUpdateDatagroupParamsWithContext

func NewUpdateDatagroupParamsWithContext(ctx context.Context) *UpdateDatagroupParams

NewUpdateDatagroupParamsWithContext creates a new UpdateDatagroupParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateDatagroupParamsWithHTTPClient

func NewUpdateDatagroupParamsWithHTTPClient(client *http.Client) *UpdateDatagroupParams

NewUpdateDatagroupParamsWithHTTPClient creates a new UpdateDatagroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateDatagroupParamsWithTimeout

func NewUpdateDatagroupParamsWithTimeout(timeout time.Duration) *UpdateDatagroupParams

NewUpdateDatagroupParamsWithTimeout creates a new UpdateDatagroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateDatagroupParams) SetBody

func (o *UpdateDatagroupParams) SetBody(body *models.Datagroup)

SetBody adds the body to the update datagroup params

func (*UpdateDatagroupParams) SetContext

func (o *UpdateDatagroupParams) SetContext(ctx context.Context)

SetContext adds the context to the update datagroup params

func (*UpdateDatagroupParams) SetDatagroupID

func (o *UpdateDatagroupParams) SetDatagroupID(datagroupID string)

SetDatagroupID adds the datagroupId to the update datagroup params

func (*UpdateDatagroupParams) SetHTTPClient

func (o *UpdateDatagroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update datagroup params

func (*UpdateDatagroupParams) SetTimeout

func (o *UpdateDatagroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update datagroup params

func (*UpdateDatagroupParams) WithBody

WithBody adds the body to the update datagroup params

func (*UpdateDatagroupParams) WithContext

WithContext adds the context to the update datagroup params

func (*UpdateDatagroupParams) WithDatagroupID

func (o *UpdateDatagroupParams) WithDatagroupID(datagroupID string) *UpdateDatagroupParams

WithDatagroupID adds the datagroupID to the update datagroup params

func (*UpdateDatagroupParams) WithHTTPClient

func (o *UpdateDatagroupParams) WithHTTPClient(client *http.Client) *UpdateDatagroupParams

WithHTTPClient adds the HTTPClient to the update datagroup params

func (*UpdateDatagroupParams) WithTimeout

func (o *UpdateDatagroupParams) WithTimeout(timeout time.Duration) *UpdateDatagroupParams

WithTimeout adds the timeout to the update datagroup params

func (*UpdateDatagroupParams) WriteToRequest

func (o *UpdateDatagroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateDatagroupReader

type UpdateDatagroupReader struct {
	// contains filtered or unexported fields
}

UpdateDatagroupReader is a Reader for the UpdateDatagroup structure.

func (*UpdateDatagroupReader) ReadResponse

func (o *UpdateDatagroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDatagroupUnprocessableEntity

type UpdateDatagroupUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateDatagroupUnprocessableEntity handles this case with default header values.

Validation Error

func NewUpdateDatagroupUnprocessableEntity

func NewUpdateDatagroupUnprocessableEntity() *UpdateDatagroupUnprocessableEntity

NewUpdateDatagroupUnprocessableEntity creates a UpdateDatagroupUnprocessableEntity with default headers values

func (*UpdateDatagroupUnprocessableEntity) Error

func (*UpdateDatagroupUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL