change_types

package
v0.0.0-...-c0d51b7 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 change types API

func (*Client) GetV1ChangeTypes

func (a *Client) GetV1ChangeTypes(params *GetV1ChangeTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ChangeTypesOK, error)

GetV1ChangeTypes Lists all change types

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetV1ChangeTypes(params *GetV1ChangeTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ChangeTypesOK, 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 change types API client.

type GetV1ChangeTypesOK

type GetV1ChangeTypesOK struct {
	Payload *models.ChangeTypeEntityPaginated
}

GetV1ChangeTypesOK describes a response with status code 200, with default header values.

Lists all change types

func NewGetV1ChangeTypesOK

func NewGetV1ChangeTypesOK() *GetV1ChangeTypesOK

NewGetV1ChangeTypesOK creates a GetV1ChangeTypesOK with default headers values

func (*GetV1ChangeTypesOK) Error

func (o *GetV1ChangeTypesOK) Error() string

func (*GetV1ChangeTypesOK) GetPayload

func (*GetV1ChangeTypesOK) IsClientError

func (o *GetV1ChangeTypesOK) IsClientError() bool

IsClientError returns true when this get v1 change types o k response has a 4xx status code

func (*GetV1ChangeTypesOK) IsCode

func (o *GetV1ChangeTypesOK) IsCode(code int) bool

IsCode returns true when this get v1 change types o k response a status code equal to that given

func (*GetV1ChangeTypesOK) IsRedirect

func (o *GetV1ChangeTypesOK) IsRedirect() bool

IsRedirect returns true when this get v1 change types o k response has a 3xx status code

func (*GetV1ChangeTypesOK) IsServerError

func (o *GetV1ChangeTypesOK) IsServerError() bool

IsServerError returns true when this get v1 change types o k response has a 5xx status code

func (*GetV1ChangeTypesOK) IsSuccess

func (o *GetV1ChangeTypesOK) IsSuccess() bool

IsSuccess returns true when this get v1 change types o k response has a 2xx status code

func (*GetV1ChangeTypesOK) String

func (o *GetV1ChangeTypesOK) String() string

type GetV1ChangeTypesParams

type GetV1ChangeTypesParams struct {

	// Page.
	//
	// Format: int32
	Page *int32

	// PerPage.
	//
	// Format: int32
	PerPage *int32

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

GetV1ChangeTypesParams contains all the parameters to send to the API endpoint

for the get v1 change types operation.

Typically these are written to a http.Request.

func NewGetV1ChangeTypesParams

func NewGetV1ChangeTypesParams() *GetV1ChangeTypesParams

NewGetV1ChangeTypesParams creates a new GetV1ChangeTypesParams 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 NewGetV1ChangeTypesParamsWithContext

func NewGetV1ChangeTypesParamsWithContext(ctx context.Context) *GetV1ChangeTypesParams

NewGetV1ChangeTypesParamsWithContext creates a new GetV1ChangeTypesParams object with the ability to set a context for a request.

func NewGetV1ChangeTypesParamsWithHTTPClient

func NewGetV1ChangeTypesParamsWithHTTPClient(client *http.Client) *GetV1ChangeTypesParams

NewGetV1ChangeTypesParamsWithHTTPClient creates a new GetV1ChangeTypesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1ChangeTypesParamsWithTimeout

func NewGetV1ChangeTypesParamsWithTimeout(timeout time.Duration) *GetV1ChangeTypesParams

NewGetV1ChangeTypesParamsWithTimeout creates a new GetV1ChangeTypesParams object with the ability to set a timeout on a request.

func (*GetV1ChangeTypesParams) SetContext

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

SetContext adds the context to the get v1 change types params

func (*GetV1ChangeTypesParams) SetDefaults

func (o *GetV1ChangeTypesParams) SetDefaults()

SetDefaults hydrates default values in the get v1 change types params (not the query body).

All values with no default are reset to their zero value.

func (*GetV1ChangeTypesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 change types params

func (*GetV1ChangeTypesParams) SetPage

func (o *GetV1ChangeTypesParams) SetPage(page *int32)

SetPage adds the page to the get v1 change types params

func (*GetV1ChangeTypesParams) SetPerPage

func (o *GetV1ChangeTypesParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v1 change types params

func (*GetV1ChangeTypesParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 change types params

func (*GetV1ChangeTypesParams) WithContext

WithContext adds the context to the get v1 change types params

func (*GetV1ChangeTypesParams) WithDefaults

WithDefaults hydrates default values in the get v1 change types params (not the query body).

All values with no default are reset to their zero value.

func (*GetV1ChangeTypesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get v1 change types params

func (*GetV1ChangeTypesParams) WithPage

WithPage adds the page to the get v1 change types params

func (*GetV1ChangeTypesParams) WithPerPage

func (o *GetV1ChangeTypesParams) WithPerPage(perPage *int32) *GetV1ChangeTypesParams

WithPerPage adds the perPage to the get v1 change types params

func (*GetV1ChangeTypesParams) WithTimeout

WithTimeout adds the timeout to the get v1 change types params

func (*GetV1ChangeTypesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1ChangeTypesReader

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

GetV1ChangeTypesReader is a Reader for the GetV1ChangeTypes structure.

func (*GetV1ChangeTypesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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