redaktion

package
v0.0.2-beta Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 9 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 redaktion API

func (*Client) Create

func (a *Client) Create(params *CreateParams, opts ...ClientOption) error

Create anlegens von bildern

func (*Client) Delete

func (a *Client) Delete(params *DeleteParams, opts ...ClientOption) error

Delete delete API

func (*Client) Delete1

func (a *Client) Delete1(params *Delete1Params, opts ...ClientOption) error

Delete1 delete 1 API

func (*Client) Fetch

func (a *Client) Fetch(params *FetchParams, opts ...ClientOption) error

Fetch abrufs des bildes oder der meta daten je nach angefragtem mime type via accept header default ist die bereitstellung des eigentlichen bildes

func (*Client) Fetch1

func (a *Client) Fetch1(params *Fetch1Params, opts ...ClientOption) error

Fetch1 lädts das modell als JSON oder XML

func (*Client) Fetch2

func (a *Client) Fetch2(params *Fetch2Params, opts ...ClientOption) error

Fetch2 lädts das modell als JSON oder XML

func (*Client) Fetch3

func (a *Client) Fetch3(params *Fetch3Params, opts ...ClientOption) error

Fetch3 lädts das modell als JSON oder XML

func (*Client) FetchAll

func (a *Client) FetchAll(params *FetchAllParams, opts ...ClientOption) error

FetchAll lieferts eine liste alle inhalte dieses typs

func (*Client) FetchAll1

func (a *Client) FetchAll1(params *FetchAll1Params, opts ...ClientOption) error

FetchAll1 lieferts eine liste alle inhalte dieses typs

func (*Client) FetchAll2

func (a *Client) FetchAll2(params *FetchAll2Params, opts ...ClientOption) error

FetchAll2 lieferts eine liste alle inhalte dieses typs

func (*Client) FetchAll3

func (a *Client) FetchAll3(params *FetchAll3Params, opts ...ClientOption) error

FetchAll3 lieferts eine liste alle inhalte dieses typs

func (*Client) FetchByPath

func (a *Client) FetchByPath(params *FetchByPathParams, opts ...ClientOption) error

FetchByPath fetch by path API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Update3

func (a *Client) Update3(params *Update3Params, opts ...ClientOption) error

Update3 aktualisierungs oder anlegen von bildern

func (*Client) Update4

func (a *Client) Update4(params *Update4Params, opts ...ClientOption) error

Update4 aktualisierungs des objekts muss xml sein

func (*Client) Update5

func (a *Client) Update5(params *Update5Params, opts ...ClientOption) error

Update5 aktualisierungs des objekts muss xml sein

func (*Client) Update6

func (a *Client) Update6(params *Update6Params, opts ...ClientOption) error

Update6 aktualisierungs des objekts muss xml sein

func (*Client) Upload

func (a *Client) Upload(params *UploadParams, opts ...ClientOption) error

Upload upload API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	Create(params *CreateParams, opts ...ClientOption) error

	Delete(params *DeleteParams, opts ...ClientOption) error

	Delete1(params *Delete1Params, opts ...ClientOption) error

	Fetch(params *FetchParams, opts ...ClientOption) error

	FetchAll(params *FetchAllParams, opts ...ClientOption) error

	FetchAll1(params *FetchAll1Params, opts ...ClientOption) error

	FetchAll2(params *FetchAll2Params, opts ...ClientOption) error

	FetchAll3(params *FetchAll3Params, opts ...ClientOption) error

	FetchByPath(params *FetchByPathParams, opts ...ClientOption) error

	Fetch1(params *Fetch1Params, opts ...ClientOption) error

	Fetch2(params *Fetch2Params, opts ...ClientOption) error

	Fetch3(params *Fetch3Params, opts ...ClientOption) error

	Update3(params *Update3Params, opts ...ClientOption) error

	Update4(params *Update4Params, opts ...ClientOption) error

	Update5(params *Update5Params, opts ...ClientOption) error

	Update6(params *Update6Params, opts ...ClientOption) error

	Upload(params *UploadParams, opts ...ClientOption) 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 redaktion API client.

type CreateDefault

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

CreateDefault describes a response with status code -1, with default header values.

successful operation

func NewCreateDefault

func NewCreateDefault(code int) *CreateDefault

NewCreateDefault creates a CreateDefault with default headers values

func (*CreateDefault) Code

func (o *CreateDefault) Code() int

Code gets the status code for the create default response

func (*CreateDefault) Error

func (o *CreateDefault) Error() string

func (*CreateDefault) IsClientError

func (o *CreateDefault) IsClientError() bool

IsClientError returns true when this create default response has a 4xx status code

func (*CreateDefault) IsCode

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

IsCode returns true when this create default response a status code equal to that given

func (*CreateDefault) IsRedirect

func (o *CreateDefault) IsRedirect() bool

IsRedirect returns true when this create default response has a 3xx status code

func (*CreateDefault) IsServerError

func (o *CreateDefault) IsServerError() bool

IsServerError returns true when this create default response has a 5xx status code

func (*CreateDefault) IsSuccess

func (o *CreateDefault) IsSuccess() bool

IsSuccess returns true when this create default response has a 2xx status code

func (*CreateDefault) String

func (o *CreateDefault) String() string

type CreateParams

type CreateParams struct {

	/* File.

	   Bild (Binärdaten)
	*/
	File runtime.NamedReadCloser

	/* Model.

	   Bild-Modell als JSON
	*/
	Model string

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

CreateParams contains all the parameters to send to the API endpoint

for the create operation.

Typically these are written to a http.Request.

func NewCreateParams

func NewCreateParams() *CreateParams

NewCreateParams creates a new CreateParams 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 NewCreateParamsWithContext

func NewCreateParamsWithContext(ctx context.Context) *CreateParams

NewCreateParamsWithContext creates a new CreateParams object with the ability to set a context for a request.

func NewCreateParamsWithHTTPClient

func NewCreateParamsWithHTTPClient(client *http.Client) *CreateParams

NewCreateParamsWithHTTPClient creates a new CreateParams object with the ability to set a custom HTTPClient for a request.

func NewCreateParamsWithTimeout

func NewCreateParamsWithTimeout(timeout time.Duration) *CreateParams

NewCreateParamsWithTimeout creates a new CreateParams object with the ability to set a timeout on a request.

func (*CreateParams) SetContext

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

SetContext adds the context to the create params

func (*CreateParams) SetDefaults

func (o *CreateParams) SetDefaults()

SetDefaults hydrates default values in the create params (not the query body).

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

func (*CreateParams) SetFile

func (o *CreateParams) SetFile(file runtime.NamedReadCloser)

SetFile adds the file to the create params

func (*CreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create params

func (*CreateParams) SetModel

func (o *CreateParams) SetModel(model string)

SetModel adds the model to the create params

func (*CreateParams) SetTimeout

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

SetTimeout adds the timeout to the create params

func (*CreateParams) WithContext

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

WithContext adds the context to the create params

func (*CreateParams) WithDefaults

func (o *CreateParams) WithDefaults() *CreateParams

WithDefaults hydrates default values in the create params (not the query body).

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

func (*CreateParams) WithFile

func (o *CreateParams) WithFile(file runtime.NamedReadCloser) *CreateParams

WithFile adds the file to the create params

func (*CreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create params

func (*CreateParams) WithModel

func (o *CreateParams) WithModel(model string) *CreateParams

WithModel adds the model to the create params

func (*CreateParams) WithTimeout

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

WithTimeout adds the timeout to the create params

func (*CreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateReader

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

CreateReader is a Reader for the Create structure.

func (*CreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Delete1Default

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

Delete1Default describes a response with status code -1, with default header values.

successful operation

func NewDelete1Default

func NewDelete1Default(code int) *Delete1Default

NewDelete1Default creates a Delete1Default with default headers values

func (*Delete1Default) Code

func (o *Delete1Default) Code() int

Code gets the status code for the delete 1 default response

func (*Delete1Default) Error

func (o *Delete1Default) Error() string

func (*Delete1Default) IsClientError

func (o *Delete1Default) IsClientError() bool

IsClientError returns true when this delete 1 default response has a 4xx status code

func (*Delete1Default) IsCode

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

IsCode returns true when this delete 1 default response a status code equal to that given

func (*Delete1Default) IsRedirect

func (o *Delete1Default) IsRedirect() bool

IsRedirect returns true when this delete 1 default response has a 3xx status code

func (*Delete1Default) IsServerError

func (o *Delete1Default) IsServerError() bool

IsServerError returns true when this delete 1 default response has a 5xx status code

func (*Delete1Default) IsSuccess

func (o *Delete1Default) IsSuccess() bool

IsSuccess returns true when this delete 1 default response has a 2xx status code

func (*Delete1Default) String

func (o *Delete1Default) String() string

type Delete1Params

type Delete1Params struct {

	// Urn.
	Urn string

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

Delete1Params contains all the parameters to send to the API endpoint

for the delete 1 operation.

Typically these are written to a http.Request.

func NewDelete1Params

func NewDelete1Params() *Delete1Params

NewDelete1Params creates a new Delete1Params 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 NewDelete1ParamsWithContext

func NewDelete1ParamsWithContext(ctx context.Context) *Delete1Params

NewDelete1ParamsWithContext creates a new Delete1Params object with the ability to set a context for a request.

func NewDelete1ParamsWithHTTPClient

func NewDelete1ParamsWithHTTPClient(client *http.Client) *Delete1Params

NewDelete1ParamsWithHTTPClient creates a new Delete1Params object with the ability to set a custom HTTPClient for a request.

func NewDelete1ParamsWithTimeout

func NewDelete1ParamsWithTimeout(timeout time.Duration) *Delete1Params

NewDelete1ParamsWithTimeout creates a new Delete1Params object with the ability to set a timeout on a request.

func (*Delete1Params) SetContext

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

SetContext adds the context to the delete 1 params

func (*Delete1Params) SetDefaults

func (o *Delete1Params) SetDefaults()

SetDefaults hydrates default values in the delete 1 params (not the query body).

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

func (*Delete1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete 1 params

func (*Delete1Params) SetTimeout

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

SetTimeout adds the timeout to the delete 1 params

func (*Delete1Params) SetUrn

func (o *Delete1Params) SetUrn(urn string)

SetUrn adds the urn to the delete 1 params

func (*Delete1Params) WithContext

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

WithContext adds the context to the delete 1 params

func (*Delete1Params) WithDefaults

func (o *Delete1Params) WithDefaults() *Delete1Params

WithDefaults hydrates default values in the delete 1 params (not the query body).

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

func (*Delete1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete 1 params

func (*Delete1Params) WithTimeout

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

WithTimeout adds the timeout to the delete 1 params

func (*Delete1Params) WithUrn

func (o *Delete1Params) WithUrn(urn string) *Delete1Params

WithUrn adds the urn to the delete 1 params

func (*Delete1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Delete1Reader

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

Delete1Reader is a Reader for the Delete1 structure.

func (*Delete1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDefault

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

DeleteDefault describes a response with status code -1, with default header values.

successful operation

func NewDeleteDefault

func NewDeleteDefault(code int) *DeleteDefault

NewDeleteDefault creates a DeleteDefault with default headers values

func (*DeleteDefault) Code

func (o *DeleteDefault) Code() int

Code gets the status code for the delete default response

func (*DeleteDefault) Error

func (o *DeleteDefault) Error() string

func (*DeleteDefault) IsClientError

func (o *DeleteDefault) IsClientError() bool

IsClientError returns true when this delete default response has a 4xx status code

func (*DeleteDefault) IsCode

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

IsCode returns true when this delete default response a status code equal to that given

func (*DeleteDefault) IsRedirect

func (o *DeleteDefault) IsRedirect() bool

IsRedirect returns true when this delete default response has a 3xx status code

func (*DeleteDefault) IsServerError

func (o *DeleteDefault) IsServerError() bool

IsServerError returns true when this delete default response has a 5xx status code

func (*DeleteDefault) IsSuccess

func (o *DeleteDefault) IsSuccess() bool

IsSuccess returns true when this delete default response has a 2xx status code

func (*DeleteDefault) String

func (o *DeleteDefault) String() string

type DeleteParams

type DeleteParams struct {

	// Urn.
	Urn string

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

DeleteParams contains all the parameters to send to the API endpoint

for the delete operation.

Typically these are written to a http.Request.

func NewDeleteParams

func NewDeleteParams() *DeleteParams

NewDeleteParams creates a new DeleteParams 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 NewDeleteParamsWithContext

func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams

NewDeleteParamsWithContext creates a new DeleteParams object with the ability to set a context for a request.

func NewDeleteParamsWithHTTPClient

func NewDeleteParamsWithHTTPClient(client *http.Client) *DeleteParams

NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteParamsWithTimeout

func NewDeleteParamsWithTimeout(timeout time.Duration) *DeleteParams

NewDeleteParamsWithTimeout creates a new DeleteParams object with the ability to set a timeout on a request.

func (*DeleteParams) SetContext

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

SetContext adds the context to the delete params

func (*DeleteParams) SetDefaults

func (o *DeleteParams) SetDefaults()

SetDefaults hydrates default values in the delete params (not the query body).

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

func (*DeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete params

func (*DeleteParams) SetTimeout

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

SetTimeout adds the timeout to the delete params

func (*DeleteParams) SetUrn

func (o *DeleteParams) SetUrn(urn string)

SetUrn adds the urn to the delete params

func (*DeleteParams) WithContext

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

WithContext adds the context to the delete params

func (*DeleteParams) WithDefaults

func (o *DeleteParams) WithDefaults() *DeleteParams

WithDefaults hydrates default values in the delete params (not the query body).

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

func (*DeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete params

func (*DeleteParams) WithTimeout

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

WithTimeout adds the timeout to the delete params

func (*DeleteParams) WithUrn

func (o *DeleteParams) WithUrn(urn string) *DeleteParams

WithUrn adds the urn to the delete params

func (*DeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteReader

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

DeleteReader is a Reader for the Delete structure.

func (*DeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Fetch1Default

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

Fetch1Default describes a response with status code -1, with default header values.

successful operation

func NewFetch1Default

func NewFetch1Default(code int) *Fetch1Default

NewFetch1Default creates a Fetch1Default with default headers values

func (*Fetch1Default) Code

func (o *Fetch1Default) Code() int

Code gets the status code for the fetch 1 default response

func (*Fetch1Default) Error

func (o *Fetch1Default) Error() string

func (*Fetch1Default) IsClientError

func (o *Fetch1Default) IsClientError() bool

IsClientError returns true when this fetch 1 default response has a 4xx status code

func (*Fetch1Default) IsCode

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

IsCode returns true when this fetch 1 default response a status code equal to that given

func (*Fetch1Default) IsRedirect

func (o *Fetch1Default) IsRedirect() bool

IsRedirect returns true when this fetch 1 default response has a 3xx status code

func (*Fetch1Default) IsServerError

func (o *Fetch1Default) IsServerError() bool

IsServerError returns true when this fetch 1 default response has a 5xx status code

func (*Fetch1Default) IsSuccess

func (o *Fetch1Default) IsSuccess() bool

IsSuccess returns true when this fetch 1 default response has a 2xx status code

func (*Fetch1Default) String

func (o *Fetch1Default) String() string

type Fetch1Params

type Fetch1Params struct {

	// Urn.
	Urn string

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

Fetch1Params contains all the parameters to send to the API endpoint

for the fetch 1 operation.

Typically these are written to a http.Request.

func NewFetch1Params

func NewFetch1Params() *Fetch1Params

NewFetch1Params creates a new Fetch1Params 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 NewFetch1ParamsWithContext

func NewFetch1ParamsWithContext(ctx context.Context) *Fetch1Params

NewFetch1ParamsWithContext creates a new Fetch1Params object with the ability to set a context for a request.

func NewFetch1ParamsWithHTTPClient

func NewFetch1ParamsWithHTTPClient(client *http.Client) *Fetch1Params

NewFetch1ParamsWithHTTPClient creates a new Fetch1Params object with the ability to set a custom HTTPClient for a request.

func NewFetch1ParamsWithTimeout

func NewFetch1ParamsWithTimeout(timeout time.Duration) *Fetch1Params

NewFetch1ParamsWithTimeout creates a new Fetch1Params object with the ability to set a timeout on a request.

func (*Fetch1Params) SetContext

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

SetContext adds the context to the fetch 1 params

func (*Fetch1Params) SetDefaults

func (o *Fetch1Params) SetDefaults()

SetDefaults hydrates default values in the fetch 1 params (not the query body).

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

func (*Fetch1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fetch 1 params

func (*Fetch1Params) SetTimeout

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

SetTimeout adds the timeout to the fetch 1 params

func (*Fetch1Params) SetUrn

func (o *Fetch1Params) SetUrn(urn string)

SetUrn adds the urn to the fetch 1 params

func (*Fetch1Params) WithContext

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

WithContext adds the context to the fetch 1 params

func (*Fetch1Params) WithDefaults

func (o *Fetch1Params) WithDefaults() *Fetch1Params

WithDefaults hydrates default values in the fetch 1 params (not the query body).

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

func (*Fetch1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fetch 1 params

func (*Fetch1Params) WithTimeout

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

WithTimeout adds the timeout to the fetch 1 params

func (*Fetch1Params) WithUrn

func (o *Fetch1Params) WithUrn(urn string) *Fetch1Params

WithUrn adds the urn to the fetch 1 params

func (*Fetch1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Fetch1Reader

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

Fetch1Reader is a Reader for the Fetch1 structure.

func (*Fetch1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Fetch2Default

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

Fetch2Default describes a response with status code -1, with default header values.

successful operation

func NewFetch2Default

func NewFetch2Default(code int) *Fetch2Default

NewFetch2Default creates a Fetch2Default with default headers values

func (*Fetch2Default) Code

func (o *Fetch2Default) Code() int

Code gets the status code for the fetch 2 default response

func (*Fetch2Default) Error

func (o *Fetch2Default) Error() string

func (*Fetch2Default) IsClientError

func (o *Fetch2Default) IsClientError() bool

IsClientError returns true when this fetch 2 default response has a 4xx status code

func (*Fetch2Default) IsCode

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

IsCode returns true when this fetch 2 default response a status code equal to that given

func (*Fetch2Default) IsRedirect

func (o *Fetch2Default) IsRedirect() bool

IsRedirect returns true when this fetch 2 default response has a 3xx status code

func (*Fetch2Default) IsServerError

func (o *Fetch2Default) IsServerError() bool

IsServerError returns true when this fetch 2 default response has a 5xx status code

func (*Fetch2Default) IsSuccess

func (o *Fetch2Default) IsSuccess() bool

IsSuccess returns true when this fetch 2 default response has a 2xx status code

func (*Fetch2Default) String

func (o *Fetch2Default) String() string

type Fetch2Params

type Fetch2Params struct {

	// Urn.
	Urn string

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

Fetch2Params contains all the parameters to send to the API endpoint

for the fetch 2 operation.

Typically these are written to a http.Request.

func NewFetch2Params

func NewFetch2Params() *Fetch2Params

NewFetch2Params creates a new Fetch2Params 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 NewFetch2ParamsWithContext

func NewFetch2ParamsWithContext(ctx context.Context) *Fetch2Params

NewFetch2ParamsWithContext creates a new Fetch2Params object with the ability to set a context for a request.

func NewFetch2ParamsWithHTTPClient

func NewFetch2ParamsWithHTTPClient(client *http.Client) *Fetch2Params

NewFetch2ParamsWithHTTPClient creates a new Fetch2Params object with the ability to set a custom HTTPClient for a request.

func NewFetch2ParamsWithTimeout

func NewFetch2ParamsWithTimeout(timeout time.Duration) *Fetch2Params

NewFetch2ParamsWithTimeout creates a new Fetch2Params object with the ability to set a timeout on a request.

func (*Fetch2Params) SetContext

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

SetContext adds the context to the fetch 2 params

func (*Fetch2Params) SetDefaults

func (o *Fetch2Params) SetDefaults()

SetDefaults hydrates default values in the fetch 2 params (not the query body).

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

func (*Fetch2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fetch 2 params

func (*Fetch2Params) SetTimeout

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

SetTimeout adds the timeout to the fetch 2 params

func (*Fetch2Params) SetUrn

func (o *Fetch2Params) SetUrn(urn string)

SetUrn adds the urn to the fetch 2 params

func (*Fetch2Params) WithContext

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

WithContext adds the context to the fetch 2 params

func (*Fetch2Params) WithDefaults

func (o *Fetch2Params) WithDefaults() *Fetch2Params

WithDefaults hydrates default values in the fetch 2 params (not the query body).

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

func (*Fetch2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fetch 2 params

func (*Fetch2Params) WithTimeout

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

WithTimeout adds the timeout to the fetch 2 params

func (*Fetch2Params) WithUrn

func (o *Fetch2Params) WithUrn(urn string) *Fetch2Params

WithUrn adds the urn to the fetch 2 params

func (*Fetch2Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Fetch2Reader

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

Fetch2Reader is a Reader for the Fetch2 structure.

func (*Fetch2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Fetch3Default

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

Fetch3Default describes a response with status code -1, with default header values.

successful operation

func NewFetch3Default

func NewFetch3Default(code int) *Fetch3Default

NewFetch3Default creates a Fetch3Default with default headers values

func (*Fetch3Default) Code

func (o *Fetch3Default) Code() int

Code gets the status code for the fetch 3 default response

func (*Fetch3Default) Error

func (o *Fetch3Default) Error() string

func (*Fetch3Default) IsClientError

func (o *Fetch3Default) IsClientError() bool

IsClientError returns true when this fetch 3 default response has a 4xx status code

func (*Fetch3Default) IsCode

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

IsCode returns true when this fetch 3 default response a status code equal to that given

func (*Fetch3Default) IsRedirect

func (o *Fetch3Default) IsRedirect() bool

IsRedirect returns true when this fetch 3 default response has a 3xx status code

func (*Fetch3Default) IsServerError

func (o *Fetch3Default) IsServerError() bool

IsServerError returns true when this fetch 3 default response has a 5xx status code

func (*Fetch3Default) IsSuccess

func (o *Fetch3Default) IsSuccess() bool

IsSuccess returns true when this fetch 3 default response has a 2xx status code

func (*Fetch3Default) String

func (o *Fetch3Default) String() string

type Fetch3Params

type Fetch3Params struct {

	// Urn.
	Urn string

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

Fetch3Params contains all the parameters to send to the API endpoint

for the fetch 3 operation.

Typically these are written to a http.Request.

func NewFetch3Params

func NewFetch3Params() *Fetch3Params

NewFetch3Params creates a new Fetch3Params 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 NewFetch3ParamsWithContext

func NewFetch3ParamsWithContext(ctx context.Context) *Fetch3Params

NewFetch3ParamsWithContext creates a new Fetch3Params object with the ability to set a context for a request.

func NewFetch3ParamsWithHTTPClient

func NewFetch3ParamsWithHTTPClient(client *http.Client) *Fetch3Params

NewFetch3ParamsWithHTTPClient creates a new Fetch3Params object with the ability to set a custom HTTPClient for a request.

func NewFetch3ParamsWithTimeout

func NewFetch3ParamsWithTimeout(timeout time.Duration) *Fetch3Params

NewFetch3ParamsWithTimeout creates a new Fetch3Params object with the ability to set a timeout on a request.

func (*Fetch3Params) SetContext

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

SetContext adds the context to the fetch 3 params

func (*Fetch3Params) SetDefaults

func (o *Fetch3Params) SetDefaults()

SetDefaults hydrates default values in the fetch 3 params (not the query body).

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

func (*Fetch3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fetch 3 params

func (*Fetch3Params) SetTimeout

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

SetTimeout adds the timeout to the fetch 3 params

func (*Fetch3Params) SetUrn

func (o *Fetch3Params) SetUrn(urn string)

SetUrn adds the urn to the fetch 3 params

func (*Fetch3Params) WithContext

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

WithContext adds the context to the fetch 3 params

func (*Fetch3Params) WithDefaults

func (o *Fetch3Params) WithDefaults() *Fetch3Params

WithDefaults hydrates default values in the fetch 3 params (not the query body).

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

func (*Fetch3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fetch 3 params

func (*Fetch3Params) WithTimeout

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

WithTimeout adds the timeout to the fetch 3 params

func (*Fetch3Params) WithUrn

func (o *Fetch3Params) WithUrn(urn string) *Fetch3Params

WithUrn adds the urn to the fetch 3 params

func (*Fetch3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Fetch3Reader

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

Fetch3Reader is a Reader for the Fetch3 structure.

func (*Fetch3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FetchAll1Default

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

FetchAll1Default describes a response with status code -1, with default header values.

successful operation

func NewFetchAll1Default

func NewFetchAll1Default(code int) *FetchAll1Default

NewFetchAll1Default creates a FetchAll1Default with default headers values

func (*FetchAll1Default) Code

func (o *FetchAll1Default) Code() int

Code gets the status code for the fetch all 1 default response

func (*FetchAll1Default) Error

func (o *FetchAll1Default) Error() string

func (*FetchAll1Default) IsClientError

func (o *FetchAll1Default) IsClientError() bool

IsClientError returns true when this fetch all 1 default response has a 4xx status code

func (*FetchAll1Default) IsCode

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

IsCode returns true when this fetch all 1 default response a status code equal to that given

func (*FetchAll1Default) IsRedirect

func (o *FetchAll1Default) IsRedirect() bool

IsRedirect returns true when this fetch all 1 default response has a 3xx status code

func (*FetchAll1Default) IsServerError

func (o *FetchAll1Default) IsServerError() bool

IsServerError returns true when this fetch all 1 default response has a 5xx status code

func (*FetchAll1Default) IsSuccess

func (o *FetchAll1Default) IsSuccess() bool

IsSuccess returns true when this fetch all 1 default response has a 2xx status code

func (*FetchAll1Default) String

func (o *FetchAll1Default) String() string

type FetchAll1Params

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

FetchAll1Params contains all the parameters to send to the API endpoint

for the fetch all 1 operation.

Typically these are written to a http.Request.

func NewFetchAll1Params

func NewFetchAll1Params() *FetchAll1Params

NewFetchAll1Params creates a new FetchAll1Params 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 NewFetchAll1ParamsWithContext

func NewFetchAll1ParamsWithContext(ctx context.Context) *FetchAll1Params

NewFetchAll1ParamsWithContext creates a new FetchAll1Params object with the ability to set a context for a request.

func NewFetchAll1ParamsWithHTTPClient

func NewFetchAll1ParamsWithHTTPClient(client *http.Client) *FetchAll1Params

NewFetchAll1ParamsWithHTTPClient creates a new FetchAll1Params object with the ability to set a custom HTTPClient for a request.

func NewFetchAll1ParamsWithTimeout

func NewFetchAll1ParamsWithTimeout(timeout time.Duration) *FetchAll1Params

NewFetchAll1ParamsWithTimeout creates a new FetchAll1Params object with the ability to set a timeout on a request.

func (*FetchAll1Params) SetContext

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

SetContext adds the context to the fetch all 1 params

func (*FetchAll1Params) SetDefaults

func (o *FetchAll1Params) SetDefaults()

SetDefaults hydrates default values in the fetch all 1 params (not the query body).

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

func (*FetchAll1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fetch all 1 params

func (*FetchAll1Params) SetTimeout

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

SetTimeout adds the timeout to the fetch all 1 params

func (*FetchAll1Params) WithContext

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

WithContext adds the context to the fetch all 1 params

func (*FetchAll1Params) WithDefaults

func (o *FetchAll1Params) WithDefaults() *FetchAll1Params

WithDefaults hydrates default values in the fetch all 1 params (not the query body).

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

func (*FetchAll1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fetch all 1 params

func (*FetchAll1Params) WithTimeout

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

WithTimeout adds the timeout to the fetch all 1 params

func (*FetchAll1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FetchAll1Reader

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

FetchAll1Reader is a Reader for the FetchAll1 structure.

func (*FetchAll1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FetchAll2Default

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

FetchAll2Default describes a response with status code -1, with default header values.

successful operation

func NewFetchAll2Default

func NewFetchAll2Default(code int) *FetchAll2Default

NewFetchAll2Default creates a FetchAll2Default with default headers values

func (*FetchAll2Default) Code

func (o *FetchAll2Default) Code() int

Code gets the status code for the fetch all 2 default response

func (*FetchAll2Default) Error

func (o *FetchAll2Default) Error() string

func (*FetchAll2Default) IsClientError

func (o *FetchAll2Default) IsClientError() bool

IsClientError returns true when this fetch all 2 default response has a 4xx status code

func (*FetchAll2Default) IsCode

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

IsCode returns true when this fetch all 2 default response a status code equal to that given

func (*FetchAll2Default) IsRedirect

func (o *FetchAll2Default) IsRedirect() bool

IsRedirect returns true when this fetch all 2 default response has a 3xx status code

func (*FetchAll2Default) IsServerError

func (o *FetchAll2Default) IsServerError() bool

IsServerError returns true when this fetch all 2 default response has a 5xx status code

func (*FetchAll2Default) IsSuccess

func (o *FetchAll2Default) IsSuccess() bool

IsSuccess returns true when this fetch all 2 default response has a 2xx status code

func (*FetchAll2Default) String

func (o *FetchAll2Default) String() string

type FetchAll2Params

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

FetchAll2Params contains all the parameters to send to the API endpoint

for the fetch all 2 operation.

Typically these are written to a http.Request.

func NewFetchAll2Params

func NewFetchAll2Params() *FetchAll2Params

NewFetchAll2Params creates a new FetchAll2Params 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 NewFetchAll2ParamsWithContext

func NewFetchAll2ParamsWithContext(ctx context.Context) *FetchAll2Params

NewFetchAll2ParamsWithContext creates a new FetchAll2Params object with the ability to set a context for a request.

func NewFetchAll2ParamsWithHTTPClient

func NewFetchAll2ParamsWithHTTPClient(client *http.Client) *FetchAll2Params

NewFetchAll2ParamsWithHTTPClient creates a new FetchAll2Params object with the ability to set a custom HTTPClient for a request.

func NewFetchAll2ParamsWithTimeout

func NewFetchAll2ParamsWithTimeout(timeout time.Duration) *FetchAll2Params

NewFetchAll2ParamsWithTimeout creates a new FetchAll2Params object with the ability to set a timeout on a request.

func (*FetchAll2Params) SetContext

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

SetContext adds the context to the fetch all 2 params

func (*FetchAll2Params) SetDefaults

func (o *FetchAll2Params) SetDefaults()

SetDefaults hydrates default values in the fetch all 2 params (not the query body).

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

func (*FetchAll2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fetch all 2 params

func (*FetchAll2Params) SetTimeout

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

SetTimeout adds the timeout to the fetch all 2 params

func (*FetchAll2Params) WithContext

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

WithContext adds the context to the fetch all 2 params

func (*FetchAll2Params) WithDefaults

func (o *FetchAll2Params) WithDefaults() *FetchAll2Params

WithDefaults hydrates default values in the fetch all 2 params (not the query body).

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

func (*FetchAll2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fetch all 2 params

func (*FetchAll2Params) WithTimeout

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

WithTimeout adds the timeout to the fetch all 2 params

func (*FetchAll2Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FetchAll2Reader

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

FetchAll2Reader is a Reader for the FetchAll2 structure.

func (*FetchAll2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FetchAll3Default

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

FetchAll3Default describes a response with status code -1, with default header values.

successful operation

func NewFetchAll3Default

func NewFetchAll3Default(code int) *FetchAll3Default

NewFetchAll3Default creates a FetchAll3Default with default headers values

func (*FetchAll3Default) Code

func (o *FetchAll3Default) Code() int

Code gets the status code for the fetch all 3 default response

func (*FetchAll3Default) Error

func (o *FetchAll3Default) Error() string

func (*FetchAll3Default) IsClientError

func (o *FetchAll3Default) IsClientError() bool

IsClientError returns true when this fetch all 3 default response has a 4xx status code

func (*FetchAll3Default) IsCode

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

IsCode returns true when this fetch all 3 default response a status code equal to that given

func (*FetchAll3Default) IsRedirect

func (o *FetchAll3Default) IsRedirect() bool

IsRedirect returns true when this fetch all 3 default response has a 3xx status code

func (*FetchAll3Default) IsServerError

func (o *FetchAll3Default) IsServerError() bool

IsServerError returns true when this fetch all 3 default response has a 5xx status code

func (*FetchAll3Default) IsSuccess

func (o *FetchAll3Default) IsSuccess() bool

IsSuccess returns true when this fetch all 3 default response has a 2xx status code

func (*FetchAll3Default) String

func (o *FetchAll3Default) String() string

type FetchAll3Params

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

FetchAll3Params contains all the parameters to send to the API endpoint

for the fetch all 3 operation.

Typically these are written to a http.Request.

func NewFetchAll3Params

func NewFetchAll3Params() *FetchAll3Params

NewFetchAll3Params creates a new FetchAll3Params 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 NewFetchAll3ParamsWithContext

func NewFetchAll3ParamsWithContext(ctx context.Context) *FetchAll3Params

NewFetchAll3ParamsWithContext creates a new FetchAll3Params object with the ability to set a context for a request.

func NewFetchAll3ParamsWithHTTPClient

func NewFetchAll3ParamsWithHTTPClient(client *http.Client) *FetchAll3Params

NewFetchAll3ParamsWithHTTPClient creates a new FetchAll3Params object with the ability to set a custom HTTPClient for a request.

func NewFetchAll3ParamsWithTimeout

func NewFetchAll3ParamsWithTimeout(timeout time.Duration) *FetchAll3Params

NewFetchAll3ParamsWithTimeout creates a new FetchAll3Params object with the ability to set a timeout on a request.

func (*FetchAll3Params) SetContext

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

SetContext adds the context to the fetch all 3 params

func (*FetchAll3Params) SetDefaults

func (o *FetchAll3Params) SetDefaults()

SetDefaults hydrates default values in the fetch all 3 params (not the query body).

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

func (*FetchAll3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fetch all 3 params

func (*FetchAll3Params) SetTimeout

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

SetTimeout adds the timeout to the fetch all 3 params

func (*FetchAll3Params) WithContext

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

WithContext adds the context to the fetch all 3 params

func (*FetchAll3Params) WithDefaults

func (o *FetchAll3Params) WithDefaults() *FetchAll3Params

WithDefaults hydrates default values in the fetch all 3 params (not the query body).

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

func (*FetchAll3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fetch all 3 params

func (*FetchAll3Params) WithTimeout

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

WithTimeout adds the timeout to the fetch all 3 params

func (*FetchAll3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FetchAll3Reader

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

FetchAll3Reader is a Reader for the FetchAll3 structure.

func (*FetchAll3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FetchAllDefault

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

FetchAllDefault describes a response with status code -1, with default header values.

successful operation

func NewFetchAllDefault

func NewFetchAllDefault(code int) *FetchAllDefault

NewFetchAllDefault creates a FetchAllDefault with default headers values

func (*FetchAllDefault) Code

func (o *FetchAllDefault) Code() int

Code gets the status code for the fetch all default response

func (*FetchAllDefault) Error

func (o *FetchAllDefault) Error() string

func (*FetchAllDefault) IsClientError

func (o *FetchAllDefault) IsClientError() bool

IsClientError returns true when this fetch all default response has a 4xx status code

func (*FetchAllDefault) IsCode

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

IsCode returns true when this fetch all default response a status code equal to that given

func (*FetchAllDefault) IsRedirect

func (o *FetchAllDefault) IsRedirect() bool

IsRedirect returns true when this fetch all default response has a 3xx status code

func (*FetchAllDefault) IsServerError

func (o *FetchAllDefault) IsServerError() bool

IsServerError returns true when this fetch all default response has a 5xx status code

func (*FetchAllDefault) IsSuccess

func (o *FetchAllDefault) IsSuccess() bool

IsSuccess returns true when this fetch all default response has a 2xx status code

func (*FetchAllDefault) String

func (o *FetchAllDefault) String() string

type FetchAllParams

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

FetchAllParams contains all the parameters to send to the API endpoint

for the fetch all operation.

Typically these are written to a http.Request.

func NewFetchAllParams

func NewFetchAllParams() *FetchAllParams

NewFetchAllParams creates a new FetchAllParams 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 NewFetchAllParamsWithContext

func NewFetchAllParamsWithContext(ctx context.Context) *FetchAllParams

NewFetchAllParamsWithContext creates a new FetchAllParams object with the ability to set a context for a request.

func NewFetchAllParamsWithHTTPClient

func NewFetchAllParamsWithHTTPClient(client *http.Client) *FetchAllParams

NewFetchAllParamsWithHTTPClient creates a new FetchAllParams object with the ability to set a custom HTTPClient for a request.

func NewFetchAllParamsWithTimeout

func NewFetchAllParamsWithTimeout(timeout time.Duration) *FetchAllParams

NewFetchAllParamsWithTimeout creates a new FetchAllParams object with the ability to set a timeout on a request.

func (*FetchAllParams) SetContext

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

SetContext adds the context to the fetch all params

func (*FetchAllParams) SetDefaults

func (o *FetchAllParams) SetDefaults()

SetDefaults hydrates default values in the fetch all params (not the query body).

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

func (*FetchAllParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fetch all params

func (*FetchAllParams) SetTimeout

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

SetTimeout adds the timeout to the fetch all params

func (*FetchAllParams) WithContext

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

WithContext adds the context to the fetch all params

func (*FetchAllParams) WithDefaults

func (o *FetchAllParams) WithDefaults() *FetchAllParams

WithDefaults hydrates default values in the fetch all params (not the query body).

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

func (*FetchAllParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fetch all params

func (*FetchAllParams) WithTimeout

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

WithTimeout adds the timeout to the fetch all params

func (*FetchAllParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FetchAllReader

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

FetchAllReader is a Reader for the FetchAll structure.

func (*FetchAllReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FetchByPathDefault

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

FetchByPathDefault describes a response with status code -1, with default header values.

successful operation

func NewFetchByPathDefault

func NewFetchByPathDefault(code int) *FetchByPathDefault

NewFetchByPathDefault creates a FetchByPathDefault with default headers values

func (*FetchByPathDefault) Code

func (o *FetchByPathDefault) Code() int

Code gets the status code for the fetch by path default response

func (*FetchByPathDefault) Error

func (o *FetchByPathDefault) Error() string

func (*FetchByPathDefault) IsClientError

func (o *FetchByPathDefault) IsClientError() bool

IsClientError returns true when this fetch by path default response has a 4xx status code

func (*FetchByPathDefault) IsCode

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

IsCode returns true when this fetch by path default response a status code equal to that given

func (*FetchByPathDefault) IsRedirect

func (o *FetchByPathDefault) IsRedirect() bool

IsRedirect returns true when this fetch by path default response has a 3xx status code

func (*FetchByPathDefault) IsServerError

func (o *FetchByPathDefault) IsServerError() bool

IsServerError returns true when this fetch by path default response has a 5xx status code

func (*FetchByPathDefault) IsSuccess

func (o *FetchByPathDefault) IsSuccess() bool

IsSuccess returns true when this fetch by path default response has a 2xx status code

func (*FetchByPathDefault) String

func (o *FetchByPathDefault) String() string

type FetchByPathParams

type FetchByPathParams struct {

	// Pfad.
	Pfad string

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

FetchByPathParams contains all the parameters to send to the API endpoint

for the fetch by path operation.

Typically these are written to a http.Request.

func NewFetchByPathParams

func NewFetchByPathParams() *FetchByPathParams

NewFetchByPathParams creates a new FetchByPathParams 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 NewFetchByPathParamsWithContext

func NewFetchByPathParamsWithContext(ctx context.Context) *FetchByPathParams

NewFetchByPathParamsWithContext creates a new FetchByPathParams object with the ability to set a context for a request.

func NewFetchByPathParamsWithHTTPClient

func NewFetchByPathParamsWithHTTPClient(client *http.Client) *FetchByPathParams

NewFetchByPathParamsWithHTTPClient creates a new FetchByPathParams object with the ability to set a custom HTTPClient for a request.

func NewFetchByPathParamsWithTimeout

func NewFetchByPathParamsWithTimeout(timeout time.Duration) *FetchByPathParams

NewFetchByPathParamsWithTimeout creates a new FetchByPathParams object with the ability to set a timeout on a request.

func (*FetchByPathParams) SetContext

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

SetContext adds the context to the fetch by path params

func (*FetchByPathParams) SetDefaults

func (o *FetchByPathParams) SetDefaults()

SetDefaults hydrates default values in the fetch by path params (not the query body).

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

func (*FetchByPathParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fetch by path params

func (*FetchByPathParams) SetPfad

func (o *FetchByPathParams) SetPfad(pfad string)

SetPfad adds the pfad to the fetch by path params

func (*FetchByPathParams) SetTimeout

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

SetTimeout adds the timeout to the fetch by path params

func (*FetchByPathParams) WithContext

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

WithContext adds the context to the fetch by path params

func (*FetchByPathParams) WithDefaults

func (o *FetchByPathParams) WithDefaults() *FetchByPathParams

WithDefaults hydrates default values in the fetch by path params (not the query body).

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

func (*FetchByPathParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fetch by path params

func (*FetchByPathParams) WithPfad

func (o *FetchByPathParams) WithPfad(pfad string) *FetchByPathParams

WithPfad adds the pfad to the fetch by path params

func (*FetchByPathParams) WithTimeout

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

WithTimeout adds the timeout to the fetch by path params

func (*FetchByPathParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FetchByPathReader

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

FetchByPathReader is a Reader for the FetchByPath structure.

func (*FetchByPathReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FetchDefault

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

FetchDefault describes a response with status code -1, with default header values.

successful operation

func NewFetchDefault

func NewFetchDefault(code int) *FetchDefault

NewFetchDefault creates a FetchDefault with default headers values

func (*FetchDefault) Code

func (o *FetchDefault) Code() int

Code gets the status code for the fetch default response

func (*FetchDefault) Error

func (o *FetchDefault) Error() string

func (*FetchDefault) IsClientError

func (o *FetchDefault) IsClientError() bool

IsClientError returns true when this fetch default response has a 4xx status code

func (*FetchDefault) IsCode

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

IsCode returns true when this fetch default response a status code equal to that given

func (*FetchDefault) IsRedirect

func (o *FetchDefault) IsRedirect() bool

IsRedirect returns true when this fetch default response has a 3xx status code

func (*FetchDefault) IsServerError

func (o *FetchDefault) IsServerError() bool

IsServerError returns true when this fetch default response has a 5xx status code

func (*FetchDefault) IsSuccess

func (o *FetchDefault) IsSuccess() bool

IsSuccess returns true when this fetch default response has a 2xx status code

func (*FetchDefault) String

func (o *FetchDefault) String() string

type FetchParams

type FetchParams struct {

	// Urn.
	Urn string

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

FetchParams contains all the parameters to send to the API endpoint

for the fetch operation.

Typically these are written to a http.Request.

func NewFetchParams

func NewFetchParams() *FetchParams

NewFetchParams creates a new FetchParams 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 NewFetchParamsWithContext

func NewFetchParamsWithContext(ctx context.Context) *FetchParams

NewFetchParamsWithContext creates a new FetchParams object with the ability to set a context for a request.

func NewFetchParamsWithHTTPClient

func NewFetchParamsWithHTTPClient(client *http.Client) *FetchParams

NewFetchParamsWithHTTPClient creates a new FetchParams object with the ability to set a custom HTTPClient for a request.

func NewFetchParamsWithTimeout

func NewFetchParamsWithTimeout(timeout time.Duration) *FetchParams

NewFetchParamsWithTimeout creates a new FetchParams object with the ability to set a timeout on a request.

func (*FetchParams) SetContext

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

SetContext adds the context to the fetch params

func (*FetchParams) SetDefaults

func (o *FetchParams) SetDefaults()

SetDefaults hydrates default values in the fetch params (not the query body).

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

func (*FetchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fetch params

func (*FetchParams) SetTimeout

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

SetTimeout adds the timeout to the fetch params

func (*FetchParams) SetUrn

func (o *FetchParams) SetUrn(urn string)

SetUrn adds the urn to the fetch params

func (*FetchParams) WithContext

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

WithContext adds the context to the fetch params

func (*FetchParams) WithDefaults

func (o *FetchParams) WithDefaults() *FetchParams

WithDefaults hydrates default values in the fetch params (not the query body).

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

func (*FetchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fetch params

func (*FetchParams) WithTimeout

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

WithTimeout adds the timeout to the fetch params

func (*FetchParams) WithUrn

func (o *FetchParams) WithUrn(urn string) *FetchParams

WithUrn adds the urn to the fetch params

func (*FetchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FetchReader

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

FetchReader is a Reader for the Fetch structure.

func (*FetchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Update3Default

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

Update3Default describes a response with status code -1, with default header values.

successful operation

func NewUpdate3Default

func NewUpdate3Default(code int) *Update3Default

NewUpdate3Default creates a Update3Default with default headers values

func (*Update3Default) Code

func (o *Update3Default) Code() int

Code gets the status code for the update 3 default response

func (*Update3Default) Error

func (o *Update3Default) Error() string

func (*Update3Default) IsClientError

func (o *Update3Default) IsClientError() bool

IsClientError returns true when this update 3 default response has a 4xx status code

func (*Update3Default) IsCode

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

IsCode returns true when this update 3 default response a status code equal to that given

func (*Update3Default) IsRedirect

func (o *Update3Default) IsRedirect() bool

IsRedirect returns true when this update 3 default response has a 3xx status code

func (*Update3Default) IsServerError

func (o *Update3Default) IsServerError() bool

IsServerError returns true when this update 3 default response has a 5xx status code

func (*Update3Default) IsSuccess

func (o *Update3Default) IsSuccess() bool

IsSuccess returns true when this update 3 default response has a 2xx status code

func (*Update3Default) String

func (o *Update3Default) String() string

type Update3Params

type Update3Params struct {

	/* File.

	   Bild (Binärdaten)
	*/
	File runtime.NamedReadCloser

	/* Model.

	   Bild-Modell als JSON
	*/
	Model string

	// Urn.
	Urn string

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

Update3Params contains all the parameters to send to the API endpoint

for the update 3 operation.

Typically these are written to a http.Request.

func NewUpdate3Params

func NewUpdate3Params() *Update3Params

NewUpdate3Params creates a new Update3Params 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 NewUpdate3ParamsWithContext

func NewUpdate3ParamsWithContext(ctx context.Context) *Update3Params

NewUpdate3ParamsWithContext creates a new Update3Params object with the ability to set a context for a request.

func NewUpdate3ParamsWithHTTPClient

func NewUpdate3ParamsWithHTTPClient(client *http.Client) *Update3Params

NewUpdate3ParamsWithHTTPClient creates a new Update3Params object with the ability to set a custom HTTPClient for a request.

func NewUpdate3ParamsWithTimeout

func NewUpdate3ParamsWithTimeout(timeout time.Duration) *Update3Params

NewUpdate3ParamsWithTimeout creates a new Update3Params object with the ability to set a timeout on a request.

func (*Update3Params) SetContext

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

SetContext adds the context to the update 3 params

func (*Update3Params) SetDefaults

func (o *Update3Params) SetDefaults()

SetDefaults hydrates default values in the update 3 params (not the query body).

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

func (*Update3Params) SetFile

func (o *Update3Params) SetFile(file runtime.NamedReadCloser)

SetFile adds the file to the update 3 params

func (*Update3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update 3 params

func (*Update3Params) SetModel

func (o *Update3Params) SetModel(model string)

SetModel adds the model to the update 3 params

func (*Update3Params) SetTimeout

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

SetTimeout adds the timeout to the update 3 params

func (*Update3Params) SetUrn

func (o *Update3Params) SetUrn(urn string)

SetUrn adds the urn to the update 3 params

func (*Update3Params) WithContext

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

WithContext adds the context to the update 3 params

func (*Update3Params) WithDefaults

func (o *Update3Params) WithDefaults() *Update3Params

WithDefaults hydrates default values in the update 3 params (not the query body).

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

func (*Update3Params) WithFile

WithFile adds the file to the update 3 params

func (*Update3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update 3 params

func (*Update3Params) WithModel

func (o *Update3Params) WithModel(model string) *Update3Params

WithModel adds the model to the update 3 params

func (*Update3Params) WithTimeout

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

WithTimeout adds the timeout to the update 3 params

func (*Update3Params) WithUrn

func (o *Update3Params) WithUrn(urn string) *Update3Params

WithUrn adds the urn to the update 3 params

func (*Update3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Update3Reader

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

Update3Reader is a Reader for the Update3 structure.

func (*Update3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Update4Default

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

Update4Default describes a response with status code -1, with default header values.

successful operation

func NewUpdate4Default

func NewUpdate4Default(code int) *Update4Default

NewUpdate4Default creates a Update4Default with default headers values

func (*Update4Default) Code

func (o *Update4Default) Code() int

Code gets the status code for the update 4 default response

func (*Update4Default) Error

func (o *Update4Default) Error() string

func (*Update4Default) IsClientError

func (o *Update4Default) IsClientError() bool

IsClientError returns true when this update 4 default response has a 4xx status code

func (*Update4Default) IsCode

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

IsCode returns true when this update 4 default response a status code equal to that given

func (*Update4Default) IsRedirect

func (o *Update4Default) IsRedirect() bool

IsRedirect returns true when this update 4 default response has a 3xx status code

func (*Update4Default) IsServerError

func (o *Update4Default) IsServerError() bool

IsServerError returns true when this update 4 default response has a 5xx status code

func (*Update4Default) IsSuccess

func (o *Update4Default) IsSuccess() bool

IsSuccess returns true when this update 4 default response has a 2xx status code

func (*Update4Default) String

func (o *Update4Default) String() string

type Update4Params

type Update4Params struct {

	// Body.
	Body *models.ListObjekt

	// Urn.
	Urn string

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

Update4Params contains all the parameters to send to the API endpoint

for the update 4 operation.

Typically these are written to a http.Request.

func NewUpdate4Params

func NewUpdate4Params() *Update4Params

NewUpdate4Params creates a new Update4Params 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 NewUpdate4ParamsWithContext

func NewUpdate4ParamsWithContext(ctx context.Context) *Update4Params

NewUpdate4ParamsWithContext creates a new Update4Params object with the ability to set a context for a request.

func NewUpdate4ParamsWithHTTPClient

func NewUpdate4ParamsWithHTTPClient(client *http.Client) *Update4Params

NewUpdate4ParamsWithHTTPClient creates a new Update4Params object with the ability to set a custom HTTPClient for a request.

func NewUpdate4ParamsWithTimeout

func NewUpdate4ParamsWithTimeout(timeout time.Duration) *Update4Params

NewUpdate4ParamsWithTimeout creates a new Update4Params object with the ability to set a timeout on a request.

func (*Update4Params) SetBody

func (o *Update4Params) SetBody(body *models.ListObjekt)

SetBody adds the body to the update 4 params

func (*Update4Params) SetContext

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

SetContext adds the context to the update 4 params

func (*Update4Params) SetDefaults

func (o *Update4Params) SetDefaults()

SetDefaults hydrates default values in the update 4 params (not the query body).

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

func (*Update4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update 4 params

func (*Update4Params) SetTimeout

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

SetTimeout adds the timeout to the update 4 params

func (*Update4Params) SetUrn

func (o *Update4Params) SetUrn(urn string)

SetUrn adds the urn to the update 4 params

func (*Update4Params) WithBody

func (o *Update4Params) WithBody(body *models.ListObjekt) *Update4Params

WithBody adds the body to the update 4 params

func (*Update4Params) WithContext

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

WithContext adds the context to the update 4 params

func (*Update4Params) WithDefaults

func (o *Update4Params) WithDefaults() *Update4Params

WithDefaults hydrates default values in the update 4 params (not the query body).

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

func (*Update4Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update 4 params

func (*Update4Params) WithTimeout

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

WithTimeout adds the timeout to the update 4 params

func (*Update4Params) WithUrn

func (o *Update4Params) WithUrn(urn string) *Update4Params

WithUrn adds the urn to the update 4 params

func (*Update4Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Update4Reader

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

Update4Reader is a Reader for the Update4 structure.

func (*Update4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Update5Default

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

Update5Default describes a response with status code -1, with default header values.

successful operation

func NewUpdate5Default

func NewUpdate5Default(code int) *Update5Default

NewUpdate5Default creates a Update5Default with default headers values

func (*Update5Default) Code

func (o *Update5Default) Code() int

Code gets the status code for the update 5 default response

func (*Update5Default) Error

func (o *Update5Default) Error() string

func (*Update5Default) IsClientError

func (o *Update5Default) IsClientError() bool

IsClientError returns true when this update 5 default response has a 4xx status code

func (*Update5Default) IsCode

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

IsCode returns true when this update 5 default response a status code equal to that given

func (*Update5Default) IsRedirect

func (o *Update5Default) IsRedirect() bool

IsRedirect returns true when this update 5 default response has a 3xx status code

func (*Update5Default) IsServerError

func (o *Update5Default) IsServerError() bool

IsServerError returns true when this update 5 default response has a 5xx status code

func (*Update5Default) IsSuccess

func (o *Update5Default) IsSuccess() bool

IsSuccess returns true when this update 5 default response has a 2xx status code

func (*Update5Default) String

func (o *Update5Default) String() string

type Update5Params

type Update5Params struct {

	// Body.
	Body *models.MailTemplate

	// Urn.
	Urn string

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

Update5Params contains all the parameters to send to the API endpoint

for the update 5 operation.

Typically these are written to a http.Request.

func NewUpdate5Params

func NewUpdate5Params() *Update5Params

NewUpdate5Params creates a new Update5Params 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 NewUpdate5ParamsWithContext

func NewUpdate5ParamsWithContext(ctx context.Context) *Update5Params

NewUpdate5ParamsWithContext creates a new Update5Params object with the ability to set a context for a request.

func NewUpdate5ParamsWithHTTPClient

func NewUpdate5ParamsWithHTTPClient(client *http.Client) *Update5Params

NewUpdate5ParamsWithHTTPClient creates a new Update5Params object with the ability to set a custom HTTPClient for a request.

func NewUpdate5ParamsWithTimeout

func NewUpdate5ParamsWithTimeout(timeout time.Duration) *Update5Params

NewUpdate5ParamsWithTimeout creates a new Update5Params object with the ability to set a timeout on a request.

func (*Update5Params) SetBody

func (o *Update5Params) SetBody(body *models.MailTemplate)

SetBody adds the body to the update 5 params

func (*Update5Params) SetContext

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

SetContext adds the context to the update 5 params

func (*Update5Params) SetDefaults

func (o *Update5Params) SetDefaults()

SetDefaults hydrates default values in the update 5 params (not the query body).

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

func (*Update5Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update 5 params

func (*Update5Params) SetTimeout

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

SetTimeout adds the timeout to the update 5 params

func (*Update5Params) SetUrn

func (o *Update5Params) SetUrn(urn string)

SetUrn adds the urn to the update 5 params

func (*Update5Params) WithBody

func (o *Update5Params) WithBody(body *models.MailTemplate) *Update5Params

WithBody adds the body to the update 5 params

func (*Update5Params) WithContext

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

WithContext adds the context to the update 5 params

func (*Update5Params) WithDefaults

func (o *Update5Params) WithDefaults() *Update5Params

WithDefaults hydrates default values in the update 5 params (not the query body).

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

func (*Update5Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update 5 params

func (*Update5Params) WithTimeout

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

WithTimeout adds the timeout to the update 5 params

func (*Update5Params) WithUrn

func (o *Update5Params) WithUrn(urn string) *Update5Params

WithUrn adds the urn to the update 5 params

func (*Update5Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Update5Reader

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

Update5Reader is a Reader for the Update5 structure.

func (*Update5Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Update6Default

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

Update6Default describes a response with status code -1, with default header values.

successful operation

func NewUpdate6Default

func NewUpdate6Default(code int) *Update6Default

NewUpdate6Default creates a Update6Default with default headers values

func (*Update6Default) Code

func (o *Update6Default) Code() int

Code gets the status code for the update 6 default response

func (*Update6Default) Error

func (o *Update6Default) Error() string

func (*Update6Default) IsClientError

func (o *Update6Default) IsClientError() bool

IsClientError returns true when this update 6 default response has a 4xx status code

func (*Update6Default) IsCode

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

IsCode returns true when this update 6 default response a status code equal to that given

func (*Update6Default) IsRedirect

func (o *Update6Default) IsRedirect() bool

IsRedirect returns true when this update 6 default response has a 3xx status code

func (*Update6Default) IsServerError

func (o *Update6Default) IsServerError() bool

IsServerError returns true when this update 6 default response has a 5xx status code

func (*Update6Default) IsSuccess

func (o *Update6Default) IsSuccess() bool

IsSuccess returns true when this update 6 default response has a 2xx status code

func (*Update6Default) String

func (o *Update6Default) String() string

type Update6Params

type Update6Params struct {

	// Body.
	Body *models.Seite

	// Urn.
	Urn string

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

Update6Params contains all the parameters to send to the API endpoint

for the update 6 operation.

Typically these are written to a http.Request.

func NewUpdate6Params

func NewUpdate6Params() *Update6Params

NewUpdate6Params creates a new Update6Params 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 NewUpdate6ParamsWithContext

func NewUpdate6ParamsWithContext(ctx context.Context) *Update6Params

NewUpdate6ParamsWithContext creates a new Update6Params object with the ability to set a context for a request.

func NewUpdate6ParamsWithHTTPClient

func NewUpdate6ParamsWithHTTPClient(client *http.Client) *Update6Params

NewUpdate6ParamsWithHTTPClient creates a new Update6Params object with the ability to set a custom HTTPClient for a request.

func NewUpdate6ParamsWithTimeout

func NewUpdate6ParamsWithTimeout(timeout time.Duration) *Update6Params

NewUpdate6ParamsWithTimeout creates a new Update6Params object with the ability to set a timeout on a request.

func (*Update6Params) SetBody

func (o *Update6Params) SetBody(body *models.Seite)

SetBody adds the body to the update 6 params

func (*Update6Params) SetContext

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

SetContext adds the context to the update 6 params

func (*Update6Params) SetDefaults

func (o *Update6Params) SetDefaults()

SetDefaults hydrates default values in the update 6 params (not the query body).

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

func (*Update6Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update 6 params

func (*Update6Params) SetTimeout

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

SetTimeout adds the timeout to the update 6 params

func (*Update6Params) SetUrn

func (o *Update6Params) SetUrn(urn string)

SetUrn adds the urn to the update 6 params

func (*Update6Params) WithBody

func (o *Update6Params) WithBody(body *models.Seite) *Update6Params

WithBody adds the body to the update 6 params

func (*Update6Params) WithContext

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

WithContext adds the context to the update 6 params

func (*Update6Params) WithDefaults

func (o *Update6Params) WithDefaults() *Update6Params

WithDefaults hydrates default values in the update 6 params (not the query body).

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

func (*Update6Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update 6 params

func (*Update6Params) WithTimeout

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

WithTimeout adds the timeout to the update 6 params

func (*Update6Params) WithUrn

func (o *Update6Params) WithUrn(urn string) *Update6Params

WithUrn adds the urn to the update 6 params

func (*Update6Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Update6Reader

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

Update6Reader is a Reader for the Update6 structure.

func (*Update6Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadDefault

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

UploadDefault describes a response with status code -1, with default header values.

successful operation

func NewUploadDefault

func NewUploadDefault(code int) *UploadDefault

NewUploadDefault creates a UploadDefault with default headers values

func (*UploadDefault) Code

func (o *UploadDefault) Code() int

Code gets the status code for the upload default response

func (*UploadDefault) Error

func (o *UploadDefault) Error() string

func (*UploadDefault) IsClientError

func (o *UploadDefault) IsClientError() bool

IsClientError returns true when this upload default response has a 4xx status code

func (*UploadDefault) IsCode

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

IsCode returns true when this upload default response a status code equal to that given

func (*UploadDefault) IsRedirect

func (o *UploadDefault) IsRedirect() bool

IsRedirect returns true when this upload default response has a 3xx status code

func (*UploadDefault) IsServerError

func (o *UploadDefault) IsServerError() bool

IsServerError returns true when this upload default response has a 5xx status code

func (*UploadDefault) IsSuccess

func (o *UploadDefault) IsSuccess() bool

IsSuccess returns true when this upload default response has a 2xx status code

func (*UploadDefault) String

func (o *UploadDefault) String() string

type UploadParams

type UploadParams struct {

	// Body.
	Body *models.Seite

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

UploadParams contains all the parameters to send to the API endpoint

for the upload operation.

Typically these are written to a http.Request.

func NewUploadParams

func NewUploadParams() *UploadParams

NewUploadParams creates a new UploadParams 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 NewUploadParamsWithContext

func NewUploadParamsWithContext(ctx context.Context) *UploadParams

NewUploadParamsWithContext creates a new UploadParams object with the ability to set a context for a request.

func NewUploadParamsWithHTTPClient

func NewUploadParamsWithHTTPClient(client *http.Client) *UploadParams

NewUploadParamsWithHTTPClient creates a new UploadParams object with the ability to set a custom HTTPClient for a request.

func NewUploadParamsWithTimeout

func NewUploadParamsWithTimeout(timeout time.Duration) *UploadParams

NewUploadParamsWithTimeout creates a new UploadParams object with the ability to set a timeout on a request.

func (*UploadParams) SetBody

func (o *UploadParams) SetBody(body *models.Seite)

SetBody adds the body to the upload params

func (*UploadParams) SetContext

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

SetContext adds the context to the upload params

func (*UploadParams) SetDefaults

func (o *UploadParams) SetDefaults()

SetDefaults hydrates default values in the upload params (not the query body).

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

func (*UploadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload params

func (*UploadParams) SetTimeout

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

SetTimeout adds the timeout to the upload params

func (*UploadParams) WithBody

func (o *UploadParams) WithBody(body *models.Seite) *UploadParams

WithBody adds the body to the upload params

func (*UploadParams) WithContext

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

WithContext adds the context to the upload params

func (*UploadParams) WithDefaults

func (o *UploadParams) WithDefaults() *UploadParams

WithDefaults hydrates default values in the upload params (not the query body).

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

func (*UploadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload params

func (*UploadParams) WithTimeout

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

WithTimeout adds the timeout to the upload params

func (*UploadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadReader

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

UploadReader is a Reader for the Upload structure.

func (*UploadReader) ReadResponse

func (o *UploadReader) 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