user_operations

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 10 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 user operations API

func (*Client) DeleteUsingDELETE10

func (a *Client) DeleteUsingDELETE10(params *DeleteUsingDELETE10Params, opts ...ClientOption) (*DeleteUsingDELETE10OK, error)

DeleteUsingDELETE10 deletes a user operation by id

Delete a User Operation with the given id

func (*Client) GetAllUsingGET10

func (a *Client) GetAllUsingGET10(params *GetAllUsingGET10Params, opts ...ClientOption) (*GetAllUsingGET10OK, error)

GetAllUsingGET10 gets all user operations

Get all User operations with specified paging and filter parameters.

func (*Client) GetUsingGET4

func (a *Client) GetUsingGET4(params *GetUsingGET4Params, opts ...ClientOption) (*GetUsingGET4OK, error)

GetUsingGET4 gets a user operation

Get a User Operation with the given id

func (*Client) ModifyPatchUserOperationUsingPATCH

func (a *Client) ModifyPatchUserOperationUsingPATCH(params *ModifyPatchUserOperationUsingPATCHParams, opts ...ClientOption) (*ModifyPatchUserOperationUsingPATCHOK, error)

ModifyPatchUserOperationUsingPATCH modifies a user operation

Modify a User Operation with the given id

func (*Client) ModifyPostUserOperationUsingPOST

func (a *Client) ModifyPostUserOperationUsingPOST(params *ModifyPostUserOperationUsingPOSTParams, opts ...ClientOption) (*ModifyPostUserOperationUsingPOSTOK, error)

ModifyPostUserOperationUsingPOST modifies a user operation

Modify a User Operation with the given id

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 {
	DeleteUsingDELETE10(params *DeleteUsingDELETE10Params, opts ...ClientOption) (*DeleteUsingDELETE10OK, error)

	GetAllUsingGET10(params *GetAllUsingGET10Params, opts ...ClientOption) (*GetAllUsingGET10OK, error)

	GetUsingGET4(params *GetUsingGET4Params, opts ...ClientOption) (*GetUsingGET4OK, error)

	ModifyPatchUserOperationUsingPATCH(params *ModifyPatchUserOperationUsingPATCHParams, opts ...ClientOption) (*ModifyPatchUserOperationUsingPATCHOK, error)

	ModifyPostUserOperationUsingPOST(params *ModifyPostUserOperationUsingPOSTParams, opts ...ClientOption) (*ModifyPostUserOperationUsingPOSTOK, 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 user operations API client.

type DeleteUsingDELETE10Forbidden

type DeleteUsingDELETE10Forbidden struct {
}
DeleteUsingDELETE10Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteUsingDELETE10Forbidden

func NewDeleteUsingDELETE10Forbidden() *DeleteUsingDELETE10Forbidden

NewDeleteUsingDELETE10Forbidden creates a DeleteUsingDELETE10Forbidden with default headers values

func (*DeleteUsingDELETE10Forbidden) Error

type DeleteUsingDELETE10InternalServerError

type DeleteUsingDELETE10InternalServerError struct {
}
DeleteUsingDELETE10InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewDeleteUsingDELETE10InternalServerError

func NewDeleteUsingDELETE10InternalServerError() *DeleteUsingDELETE10InternalServerError

NewDeleteUsingDELETE10InternalServerError creates a DeleteUsingDELETE10InternalServerError with default headers values

func (*DeleteUsingDELETE10InternalServerError) Error

type DeleteUsingDELETE10NotFound

type DeleteUsingDELETE10NotFound struct {
	Payload *models.Error
}
DeleteUsingDELETE10NotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteUsingDELETE10NotFound

func NewDeleteUsingDELETE10NotFound() *DeleteUsingDELETE10NotFound

NewDeleteUsingDELETE10NotFound creates a DeleteUsingDELETE10NotFound with default headers values

func (*DeleteUsingDELETE10NotFound) Error

func (*DeleteUsingDELETE10NotFound) GetPayload

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

type DeleteUsingDELETE10OK

type DeleteUsingDELETE10OK struct {
	Payload models.UserOperation
}
DeleteUsingDELETE10OK describes a response with status code 200, with default header values.

'Success' with the deleted User Operation

func NewDeleteUsingDELETE10OK

func NewDeleteUsingDELETE10OK() *DeleteUsingDELETE10OK

NewDeleteUsingDELETE10OK creates a DeleteUsingDELETE10OK with default headers values

func (*DeleteUsingDELETE10OK) Error

func (o *DeleteUsingDELETE10OK) Error() string

func (*DeleteUsingDELETE10OK) GetPayload

func (o *DeleteUsingDELETE10OK) GetPayload() models.UserOperation

type DeleteUsingDELETE10Params

type DeleteUsingDELETE10Params struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* ID.

	   The ID of the User Operation
	*/
	ID string

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

DeleteUsingDELETE10Params contains all the parameters to send to the API endpoint

for the delete using d e l e t e 10 operation.

Typically these are written to a http.Request.

func NewDeleteUsingDELETE10Params

func NewDeleteUsingDELETE10Params() *DeleteUsingDELETE10Params

NewDeleteUsingDELETE10Params creates a new DeleteUsingDELETE10Params 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 NewDeleteUsingDELETE10ParamsWithContext

func NewDeleteUsingDELETE10ParamsWithContext(ctx context.Context) *DeleteUsingDELETE10Params

NewDeleteUsingDELETE10ParamsWithContext creates a new DeleteUsingDELETE10Params object with the ability to set a context for a request.

func NewDeleteUsingDELETE10ParamsWithHTTPClient

func NewDeleteUsingDELETE10ParamsWithHTTPClient(client *http.Client) *DeleteUsingDELETE10Params

NewDeleteUsingDELETE10ParamsWithHTTPClient creates a new DeleteUsingDELETE10Params object with the ability to set a custom HTTPClient for a request.

func NewDeleteUsingDELETE10ParamsWithTimeout

func NewDeleteUsingDELETE10ParamsWithTimeout(timeout time.Duration) *DeleteUsingDELETE10Params

NewDeleteUsingDELETE10ParamsWithTimeout creates a new DeleteUsingDELETE10Params object with the ability to set a timeout on a request.

func (*DeleteUsingDELETE10Params) SetAPIVersion

func (o *DeleteUsingDELETE10Params) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) SetAuthorization

func (o *DeleteUsingDELETE10Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) SetContext

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

SetContext adds the context to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) SetDefaults

func (o *DeleteUsingDELETE10Params) SetDefaults()

SetDefaults hydrates default values in the delete using d e l e t e 10 params (not the query body).

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

func (*DeleteUsingDELETE10Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) SetID

func (o *DeleteUsingDELETE10Params) SetID(id string)

SetID adds the id to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) SetTimeout

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

SetTimeout adds the timeout to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) WithAPIVersion

func (o *DeleteUsingDELETE10Params) WithAPIVersion(aPIVersion string) *DeleteUsingDELETE10Params

WithAPIVersion adds the aPIVersion to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) WithAuthorization

func (o *DeleteUsingDELETE10Params) WithAuthorization(authorization string) *DeleteUsingDELETE10Params

WithAuthorization adds the authorization to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) WithContext

WithContext adds the context to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) WithDefaults

WithDefaults hydrates default values in the delete using d e l e t e 10 params (not the query body).

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

func (*DeleteUsingDELETE10Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) WithID

WithID adds the id to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) WithTimeout

WithTimeout adds the timeout to the delete using d e l e t e 10 params

func (*DeleteUsingDELETE10Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUsingDELETE10Reader

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

DeleteUsingDELETE10Reader is a Reader for the DeleteUsingDELETE10 structure.

func (*DeleteUsingDELETE10Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUsingDELETE10Unauthorized

type DeleteUsingDELETE10Unauthorized struct {
}
DeleteUsingDELETE10Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewDeleteUsingDELETE10Unauthorized

func NewDeleteUsingDELETE10Unauthorized() *DeleteUsingDELETE10Unauthorized

NewDeleteUsingDELETE10Unauthorized creates a DeleteUsingDELETE10Unauthorized with default headers values

func (*DeleteUsingDELETE10Unauthorized) Error

type GetAllUsingGET10Forbidden

type GetAllUsingGET10Forbidden struct {
}
GetAllUsingGET10Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAllUsingGET10Forbidden

func NewGetAllUsingGET10Forbidden() *GetAllUsingGET10Forbidden

NewGetAllUsingGET10Forbidden creates a GetAllUsingGET10Forbidden with default headers values

func (*GetAllUsingGET10Forbidden) Error

func (o *GetAllUsingGET10Forbidden) Error() string

type GetAllUsingGET10InternalServerError

type GetAllUsingGET10InternalServerError struct {
}
GetAllUsingGET10InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetAllUsingGET10InternalServerError

func NewGetAllUsingGET10InternalServerError() *GetAllUsingGET10InternalServerError

NewGetAllUsingGET10InternalServerError creates a GetAllUsingGET10InternalServerError with default headers values

func (*GetAllUsingGET10InternalServerError) Error

type GetAllUsingGET10NotFound

type GetAllUsingGET10NotFound struct {
	Payload *models.Error
}
GetAllUsingGET10NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAllUsingGET10NotFound

func NewGetAllUsingGET10NotFound() *GetAllUsingGET10NotFound

NewGetAllUsingGET10NotFound creates a GetAllUsingGET10NotFound with default headers values

func (*GetAllUsingGET10NotFound) Error

func (o *GetAllUsingGET10NotFound) Error() string

func (*GetAllUsingGET10NotFound) GetPayload

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

type GetAllUsingGET10OK

type GetAllUsingGET10OK struct {
	Payload models.UserOperations
}
GetAllUsingGET10OK describes a response with status code 200, with default header values.

'Success' with the requested User Operations

func NewGetAllUsingGET10OK

func NewGetAllUsingGET10OK() *GetAllUsingGET10OK

NewGetAllUsingGET10OK creates a GetAllUsingGET10OK with default headers values

func (*GetAllUsingGET10OK) Error

func (o *GetAllUsingGET10OK) Error() string

func (*GetAllUsingGET10OK) GetPayload

func (o *GetAllUsingGET10OK) GetPayload() models.UserOperations

type GetAllUsingGET10Params

type GetAllUsingGET10Params struct {

	/* DollarFilter.

	   To list User Operations with OData like filter
	*/
	DollarFilter *string

	/* DollarOrderby.

	   Order by attribute

	   Default: "name desc"
	*/
	DollarOrderby *string

	/* DollarSkip.

	   To skip 'n' User Operations for listing

	   Default: "0"
	*/
	DollarSkip *string

	/* DollarTop.

	   To list top 'n' User Operations for listing

	   Default: "25"
	*/
	DollarTop *string

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* Page.

	   To select 'n'th page for listing

	   Default: "0"
	*/
	Page *string

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

GetAllUsingGET10Params contains all the parameters to send to the API endpoint

for the get all using g e t 10 operation.

Typically these are written to a http.Request.

func NewGetAllUsingGET10Params

func NewGetAllUsingGET10Params() *GetAllUsingGET10Params

NewGetAllUsingGET10Params creates a new GetAllUsingGET10Params 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 NewGetAllUsingGET10ParamsWithContext

func NewGetAllUsingGET10ParamsWithContext(ctx context.Context) *GetAllUsingGET10Params

NewGetAllUsingGET10ParamsWithContext creates a new GetAllUsingGET10Params object with the ability to set a context for a request.

func NewGetAllUsingGET10ParamsWithHTTPClient

func NewGetAllUsingGET10ParamsWithHTTPClient(client *http.Client) *GetAllUsingGET10Params

NewGetAllUsingGET10ParamsWithHTTPClient creates a new GetAllUsingGET10Params object with the ability to set a custom HTTPClient for a request.

func NewGetAllUsingGET10ParamsWithTimeout

func NewGetAllUsingGET10ParamsWithTimeout(timeout time.Duration) *GetAllUsingGET10Params

NewGetAllUsingGET10ParamsWithTimeout creates a new GetAllUsingGET10Params object with the ability to set a timeout on a request.

func (*GetAllUsingGET10Params) SetAPIVersion

func (o *GetAllUsingGET10Params) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get all using g e t 10 params

func (*GetAllUsingGET10Params) SetAuthorization

func (o *GetAllUsingGET10Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get all using g e t 10 params

func (*GetAllUsingGET10Params) SetContext

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

SetContext adds the context to the get all using g e t 10 params

func (*GetAllUsingGET10Params) SetDefaults

func (o *GetAllUsingGET10Params) SetDefaults()

SetDefaults hydrates default values in the get all using g e t 10 params (not the query body).

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

func (*GetAllUsingGET10Params) SetDollarFilter

func (o *GetAllUsingGET10Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get all using g e t 10 params

func (*GetAllUsingGET10Params) SetDollarOrderby

func (o *GetAllUsingGET10Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the get all using g e t 10 params

func (*GetAllUsingGET10Params) SetDollarSkip

func (o *GetAllUsingGET10Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the get all using g e t 10 params

func (*GetAllUsingGET10Params) SetDollarTop

func (o *GetAllUsingGET10Params) SetDollarTop(dollarTop *string)

SetDollarTop adds the dollarTop to the get all using g e t 10 params

func (*GetAllUsingGET10Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all using g e t 10 params

func (*GetAllUsingGET10Params) SetPage

func (o *GetAllUsingGET10Params) SetPage(page *string)

SetPage adds the page to the get all using g e t 10 params

func (*GetAllUsingGET10Params) SetTimeout

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

SetTimeout adds the timeout to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WithAPIVersion

func (o *GetAllUsingGET10Params) WithAPIVersion(aPIVersion string) *GetAllUsingGET10Params

WithAPIVersion adds the aPIVersion to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WithAuthorization

func (o *GetAllUsingGET10Params) WithAuthorization(authorization string) *GetAllUsingGET10Params

WithAuthorization adds the authorization to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WithContext

WithContext adds the context to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WithDefaults

WithDefaults hydrates default values in the get all using g e t 10 params (not the query body).

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

func (*GetAllUsingGET10Params) WithDollarFilter

func (o *GetAllUsingGET10Params) WithDollarFilter(dollarFilter *string) *GetAllUsingGET10Params

WithDollarFilter adds the dollarFilter to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WithDollarOrderby

func (o *GetAllUsingGET10Params) WithDollarOrderby(dollarOrderby *string) *GetAllUsingGET10Params

WithDollarOrderby adds the dollarOrderby to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WithDollarSkip

func (o *GetAllUsingGET10Params) WithDollarSkip(dollarSkip *string) *GetAllUsingGET10Params

WithDollarSkip adds the dollarSkip to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WithDollarTop

func (o *GetAllUsingGET10Params) WithDollarTop(dollarTop *string) *GetAllUsingGET10Params

WithDollarTop adds the dollarTop to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WithPage

WithPage adds the page to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WithTimeout

WithTimeout adds the timeout to the get all using g e t 10 params

func (*GetAllUsingGET10Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllUsingGET10Reader

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

GetAllUsingGET10Reader is a Reader for the GetAllUsingGET10 structure.

func (*GetAllUsingGET10Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllUsingGET10Unauthorized

type GetAllUsingGET10Unauthorized struct {
}
GetAllUsingGET10Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewGetAllUsingGET10Unauthorized

func NewGetAllUsingGET10Unauthorized() *GetAllUsingGET10Unauthorized

NewGetAllUsingGET10Unauthorized creates a GetAllUsingGET10Unauthorized with default headers values

func (*GetAllUsingGET10Unauthorized) Error

type GetUsingGET4Forbidden

type GetUsingGET4Forbidden struct {
}
GetUsingGET4Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetUsingGET4Forbidden

func NewGetUsingGET4Forbidden() *GetUsingGET4Forbidden

NewGetUsingGET4Forbidden creates a GetUsingGET4Forbidden with default headers values

func (*GetUsingGET4Forbidden) Error

func (o *GetUsingGET4Forbidden) Error() string

type GetUsingGET4InternalServerError

type GetUsingGET4InternalServerError struct {
}
GetUsingGET4InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetUsingGET4InternalServerError

func NewGetUsingGET4InternalServerError() *GetUsingGET4InternalServerError

NewGetUsingGET4InternalServerError creates a GetUsingGET4InternalServerError with default headers values

func (*GetUsingGET4InternalServerError) Error

type GetUsingGET4NotFound

type GetUsingGET4NotFound struct {
	Payload *models.Error
}
GetUsingGET4NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetUsingGET4NotFound

func NewGetUsingGET4NotFound() *GetUsingGET4NotFound

NewGetUsingGET4NotFound creates a GetUsingGET4NotFound with default headers values

func (*GetUsingGET4NotFound) Error

func (o *GetUsingGET4NotFound) Error() string

func (*GetUsingGET4NotFound) GetPayload

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

type GetUsingGET4OK

type GetUsingGET4OK struct {
	Payload models.UserOperation
}
GetUsingGET4OK describes a response with status code 200, with default header values.

'Success' with the requested User Operation

func NewGetUsingGET4OK

func NewGetUsingGET4OK() *GetUsingGET4OK

NewGetUsingGET4OK creates a GetUsingGET4OK with default headers values

func (*GetUsingGET4OK) Error

func (o *GetUsingGET4OK) Error() string

func (*GetUsingGET4OK) GetPayload

func (o *GetUsingGET4OK) GetPayload() models.UserOperation

type GetUsingGET4Params

type GetUsingGET4Params struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* ID.

	   The ID of the User Operation
	*/
	ID string

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

GetUsingGET4Params contains all the parameters to send to the API endpoint

for the get using g e t 4 operation.

Typically these are written to a http.Request.

func NewGetUsingGET4Params

func NewGetUsingGET4Params() *GetUsingGET4Params

NewGetUsingGET4Params creates a new GetUsingGET4Params 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 NewGetUsingGET4ParamsWithContext

func NewGetUsingGET4ParamsWithContext(ctx context.Context) *GetUsingGET4Params

NewGetUsingGET4ParamsWithContext creates a new GetUsingGET4Params object with the ability to set a context for a request.

func NewGetUsingGET4ParamsWithHTTPClient

func NewGetUsingGET4ParamsWithHTTPClient(client *http.Client) *GetUsingGET4Params

NewGetUsingGET4ParamsWithHTTPClient creates a new GetUsingGET4Params object with the ability to set a custom HTTPClient for a request.

func NewGetUsingGET4ParamsWithTimeout

func NewGetUsingGET4ParamsWithTimeout(timeout time.Duration) *GetUsingGET4Params

NewGetUsingGET4ParamsWithTimeout creates a new GetUsingGET4Params object with the ability to set a timeout on a request.

func (*GetUsingGET4Params) SetAPIVersion

func (o *GetUsingGET4Params) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get using g e t 4 params

func (*GetUsingGET4Params) SetAuthorization

func (o *GetUsingGET4Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get using g e t 4 params

func (*GetUsingGET4Params) SetContext

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

SetContext adds the context to the get using g e t 4 params

func (*GetUsingGET4Params) SetDefaults

func (o *GetUsingGET4Params) SetDefaults()

SetDefaults hydrates default values in the get using g e t 4 params (not the query body).

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

func (*GetUsingGET4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get using g e t 4 params

func (*GetUsingGET4Params) SetID

func (o *GetUsingGET4Params) SetID(id string)

SetID adds the id to the get using g e t 4 params

func (*GetUsingGET4Params) SetTimeout

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

SetTimeout adds the timeout to the get using g e t 4 params

func (*GetUsingGET4Params) WithAPIVersion

func (o *GetUsingGET4Params) WithAPIVersion(aPIVersion string) *GetUsingGET4Params

WithAPIVersion adds the aPIVersion to the get using g e t 4 params

func (*GetUsingGET4Params) WithAuthorization

func (o *GetUsingGET4Params) WithAuthorization(authorization string) *GetUsingGET4Params

WithAuthorization adds the authorization to the get using g e t 4 params

func (*GetUsingGET4Params) WithContext

WithContext adds the context to the get using g e t 4 params

func (*GetUsingGET4Params) WithDefaults

func (o *GetUsingGET4Params) WithDefaults() *GetUsingGET4Params

WithDefaults hydrates default values in the get using g e t 4 params (not the query body).

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

func (*GetUsingGET4Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get using g e t 4 params

func (*GetUsingGET4Params) WithID

WithID adds the id to the get using g e t 4 params

func (*GetUsingGET4Params) WithTimeout

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

WithTimeout adds the timeout to the get using g e t 4 params

func (*GetUsingGET4Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsingGET4Reader

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

GetUsingGET4Reader is a Reader for the GetUsingGET4 structure.

func (*GetUsingGET4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsingGET4Unauthorized

type GetUsingGET4Unauthorized struct {
}
GetUsingGET4Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewGetUsingGET4Unauthorized

func NewGetUsingGET4Unauthorized() *GetUsingGET4Unauthorized

NewGetUsingGET4Unauthorized creates a GetUsingGET4Unauthorized with default headers values

func (*GetUsingGET4Unauthorized) Error

func (o *GetUsingGET4Unauthorized) Error() string

type ModifyPatchUserOperationUsingPATCHForbidden

type ModifyPatchUserOperationUsingPATCHForbidden struct {
}
ModifyPatchUserOperationUsingPATCHForbidden describes a response with status code 403, with default header values.

Forbidden

func NewModifyPatchUserOperationUsingPATCHForbidden

func NewModifyPatchUserOperationUsingPATCHForbidden() *ModifyPatchUserOperationUsingPATCHForbidden

NewModifyPatchUserOperationUsingPATCHForbidden creates a ModifyPatchUserOperationUsingPATCHForbidden with default headers values

func (*ModifyPatchUserOperationUsingPATCHForbidden) Error

type ModifyPatchUserOperationUsingPATCHInternalServerError

type ModifyPatchUserOperationUsingPATCHInternalServerError struct {
}
ModifyPatchUserOperationUsingPATCHInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewModifyPatchUserOperationUsingPATCHInternalServerError

func NewModifyPatchUserOperationUsingPATCHInternalServerError() *ModifyPatchUserOperationUsingPATCHInternalServerError

NewModifyPatchUserOperationUsingPATCHInternalServerError creates a ModifyPatchUserOperationUsingPATCHInternalServerError with default headers values

func (*ModifyPatchUserOperationUsingPATCHInternalServerError) Error

type ModifyPatchUserOperationUsingPATCHNotFound

type ModifyPatchUserOperationUsingPATCHNotFound struct {
	Payload *models.Error
}
ModifyPatchUserOperationUsingPATCHNotFound describes a response with status code 404, with default header values.

Not Found

func NewModifyPatchUserOperationUsingPATCHNotFound

func NewModifyPatchUserOperationUsingPATCHNotFound() *ModifyPatchUserOperationUsingPATCHNotFound

NewModifyPatchUserOperationUsingPATCHNotFound creates a ModifyPatchUserOperationUsingPATCHNotFound with default headers values

func (*ModifyPatchUserOperationUsingPATCHNotFound) Error

func (*ModifyPatchUserOperationUsingPATCHNotFound) GetPayload

type ModifyPatchUserOperationUsingPATCHOK

type ModifyPatchUserOperationUsingPATCHOK struct {
	Payload *models.UserOpResource
}
ModifyPatchUserOperationUsingPATCHOK describes a response with status code 200, with default header values.

'Success' with the modified User Operation

func NewModifyPatchUserOperationUsingPATCHOK

func NewModifyPatchUserOperationUsingPATCHOK() *ModifyPatchUserOperationUsingPATCHOK

NewModifyPatchUserOperationUsingPATCHOK creates a ModifyPatchUserOperationUsingPATCHOK with default headers values

func (*ModifyPatchUserOperationUsingPATCHOK) Error

func (*ModifyPatchUserOperationUsingPATCHOK) GetPayload

type ModifyPatchUserOperationUsingPATCHParams

type ModifyPatchUserOperationUsingPATCHParams struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* Body.

	   User's response to the User Operation request
	*/
	Body models.UserOpResponse

	/* ID.

	   The ID of the User Operation
	*/
	ID string

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

ModifyPatchUserOperationUsingPATCHParams contains all the parameters to send to the API endpoint

for the modify patch user operation using p a t c h operation.

Typically these are written to a http.Request.

func NewModifyPatchUserOperationUsingPATCHParams

func NewModifyPatchUserOperationUsingPATCHParams() *ModifyPatchUserOperationUsingPATCHParams

NewModifyPatchUserOperationUsingPATCHParams creates a new ModifyPatchUserOperationUsingPATCHParams 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 NewModifyPatchUserOperationUsingPATCHParamsWithContext

func NewModifyPatchUserOperationUsingPATCHParamsWithContext(ctx context.Context) *ModifyPatchUserOperationUsingPATCHParams

NewModifyPatchUserOperationUsingPATCHParamsWithContext creates a new ModifyPatchUserOperationUsingPATCHParams object with the ability to set a context for a request.

func NewModifyPatchUserOperationUsingPATCHParamsWithHTTPClient

func NewModifyPatchUserOperationUsingPATCHParamsWithHTTPClient(client *http.Client) *ModifyPatchUserOperationUsingPATCHParams

NewModifyPatchUserOperationUsingPATCHParamsWithHTTPClient creates a new ModifyPatchUserOperationUsingPATCHParams object with the ability to set a custom HTTPClient for a request.

func NewModifyPatchUserOperationUsingPATCHParamsWithTimeout

func NewModifyPatchUserOperationUsingPATCHParamsWithTimeout(timeout time.Duration) *ModifyPatchUserOperationUsingPATCHParams

NewModifyPatchUserOperationUsingPATCHParamsWithTimeout creates a new ModifyPatchUserOperationUsingPATCHParams object with the ability to set a timeout on a request.

func (*ModifyPatchUserOperationUsingPATCHParams) SetAPIVersion

func (o *ModifyPatchUserOperationUsingPATCHParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) SetAuthorization

func (o *ModifyPatchUserOperationUsingPATCHParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) SetBody

SetBody adds the body to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) SetContext

SetContext adds the context to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) SetDefaults

SetDefaults hydrates default values in the modify patch user operation using p a t c h params (not the query body).

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

func (*ModifyPatchUserOperationUsingPATCHParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) SetID

SetID adds the id to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) SetTimeout

SetTimeout adds the timeout to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) WithAuthorization

WithAuthorization adds the authorization to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) WithBody

WithBody adds the body to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) WithContext

WithContext adds the context to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) WithDefaults

WithDefaults hydrates default values in the modify patch user operation using p a t c h params (not the query body).

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

func (*ModifyPatchUserOperationUsingPATCHParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) WithID

WithID adds the id to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) WithTimeout

WithTimeout adds the timeout to the modify patch user operation using p a t c h params

func (*ModifyPatchUserOperationUsingPATCHParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyPatchUserOperationUsingPATCHReader

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

ModifyPatchUserOperationUsingPATCHReader is a Reader for the ModifyPatchUserOperationUsingPATCH structure.

func (*ModifyPatchUserOperationUsingPATCHReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ModifyPatchUserOperationUsingPATCHUnauthorized

type ModifyPatchUserOperationUsingPATCHUnauthorized struct {
}
ModifyPatchUserOperationUsingPATCHUnauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewModifyPatchUserOperationUsingPATCHUnauthorized

func NewModifyPatchUserOperationUsingPATCHUnauthorized() *ModifyPatchUserOperationUsingPATCHUnauthorized

NewModifyPatchUserOperationUsingPATCHUnauthorized creates a ModifyPatchUserOperationUsingPATCHUnauthorized with default headers values

func (*ModifyPatchUserOperationUsingPATCHUnauthorized) Error

type ModifyPostUserOperationUsingPOSTForbidden

type ModifyPostUserOperationUsingPOSTForbidden struct {
}
ModifyPostUserOperationUsingPOSTForbidden describes a response with status code 403, with default header values.

Forbidden

func NewModifyPostUserOperationUsingPOSTForbidden

func NewModifyPostUserOperationUsingPOSTForbidden() *ModifyPostUserOperationUsingPOSTForbidden

NewModifyPostUserOperationUsingPOSTForbidden creates a ModifyPostUserOperationUsingPOSTForbidden with default headers values

func (*ModifyPostUserOperationUsingPOSTForbidden) Error

type ModifyPostUserOperationUsingPOSTInternalServerError

type ModifyPostUserOperationUsingPOSTInternalServerError struct {
}
ModifyPostUserOperationUsingPOSTInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewModifyPostUserOperationUsingPOSTInternalServerError

func NewModifyPostUserOperationUsingPOSTInternalServerError() *ModifyPostUserOperationUsingPOSTInternalServerError

NewModifyPostUserOperationUsingPOSTInternalServerError creates a ModifyPostUserOperationUsingPOSTInternalServerError with default headers values

func (*ModifyPostUserOperationUsingPOSTInternalServerError) Error

type ModifyPostUserOperationUsingPOSTNotFound

type ModifyPostUserOperationUsingPOSTNotFound struct {
	Payload *models.Error
}
ModifyPostUserOperationUsingPOSTNotFound describes a response with status code 404, with default header values.

Not Found

func NewModifyPostUserOperationUsingPOSTNotFound

func NewModifyPostUserOperationUsingPOSTNotFound() *ModifyPostUserOperationUsingPOSTNotFound

NewModifyPostUserOperationUsingPOSTNotFound creates a ModifyPostUserOperationUsingPOSTNotFound with default headers values

func (*ModifyPostUserOperationUsingPOSTNotFound) Error

func (*ModifyPostUserOperationUsingPOSTNotFound) GetPayload

type ModifyPostUserOperationUsingPOSTOK

type ModifyPostUserOperationUsingPOSTOK struct {
	Payload *models.UserOpResource
}
ModifyPostUserOperationUsingPOSTOK describes a response with status code 200, with default header values.

'Success' with the modified User Operation

func NewModifyPostUserOperationUsingPOSTOK

func NewModifyPostUserOperationUsingPOSTOK() *ModifyPostUserOperationUsingPOSTOK

NewModifyPostUserOperationUsingPOSTOK creates a ModifyPostUserOperationUsingPOSTOK with default headers values

func (*ModifyPostUserOperationUsingPOSTOK) Error

func (*ModifyPostUserOperationUsingPOSTOK) GetPayload

type ModifyPostUserOperationUsingPOSTParams

type ModifyPostUserOperationUsingPOSTParams struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* Body.

	   User's response to the User Operation request
	*/
	Body models.UserOpResponse

	/* ID.

	   The ID of the User Operation
	*/
	ID string

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

ModifyPostUserOperationUsingPOSTParams contains all the parameters to send to the API endpoint

for the modify post user operation using p o s t operation.

Typically these are written to a http.Request.

func NewModifyPostUserOperationUsingPOSTParams

func NewModifyPostUserOperationUsingPOSTParams() *ModifyPostUserOperationUsingPOSTParams

NewModifyPostUserOperationUsingPOSTParams creates a new ModifyPostUserOperationUsingPOSTParams 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 NewModifyPostUserOperationUsingPOSTParamsWithContext

func NewModifyPostUserOperationUsingPOSTParamsWithContext(ctx context.Context) *ModifyPostUserOperationUsingPOSTParams

NewModifyPostUserOperationUsingPOSTParamsWithContext creates a new ModifyPostUserOperationUsingPOSTParams object with the ability to set a context for a request.

func NewModifyPostUserOperationUsingPOSTParamsWithHTTPClient

func NewModifyPostUserOperationUsingPOSTParamsWithHTTPClient(client *http.Client) *ModifyPostUserOperationUsingPOSTParams

NewModifyPostUserOperationUsingPOSTParamsWithHTTPClient creates a new ModifyPostUserOperationUsingPOSTParams object with the ability to set a custom HTTPClient for a request.

func NewModifyPostUserOperationUsingPOSTParamsWithTimeout

func NewModifyPostUserOperationUsingPOSTParamsWithTimeout(timeout time.Duration) *ModifyPostUserOperationUsingPOSTParams

NewModifyPostUserOperationUsingPOSTParamsWithTimeout creates a new ModifyPostUserOperationUsingPOSTParams object with the ability to set a timeout on a request.

func (*ModifyPostUserOperationUsingPOSTParams) SetAPIVersion

func (o *ModifyPostUserOperationUsingPOSTParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) SetAuthorization

func (o *ModifyPostUserOperationUsingPOSTParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) SetBody

SetBody adds the body to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) SetContext

SetContext adds the context to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) SetDefaults

func (o *ModifyPostUserOperationUsingPOSTParams) SetDefaults()

SetDefaults hydrates default values in the modify post user operation using p o s t params (not the query body).

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

func (*ModifyPostUserOperationUsingPOSTParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) SetID

SetID adds the id to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) SetTimeout

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

SetTimeout adds the timeout to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) WithAuthorization

WithAuthorization adds the authorization to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) WithBody

WithBody adds the body to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) WithContext

WithContext adds the context to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) WithDefaults

WithDefaults hydrates default values in the modify post user operation using p o s t params (not the query body).

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

func (*ModifyPostUserOperationUsingPOSTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) WithID

WithID adds the id to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the modify post user operation using p o s t params

func (*ModifyPostUserOperationUsingPOSTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyPostUserOperationUsingPOSTReader

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

ModifyPostUserOperationUsingPOSTReader is a Reader for the ModifyPostUserOperationUsingPOST structure.

func (*ModifyPostUserOperationUsingPOSTReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ModifyPostUserOperationUsingPOSTUnauthorized

type ModifyPostUserOperationUsingPOSTUnauthorized struct {
}
ModifyPostUserOperationUsingPOSTUnauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewModifyPostUserOperationUsingPOSTUnauthorized

func NewModifyPostUserOperationUsingPOSTUnauthorized() *ModifyPostUserOperationUsingPOSTUnauthorized

NewModifyPostUserOperationUsingPOSTUnauthorized creates a ModifyPostUserOperationUsingPOSTUnauthorized with default headers values

func (*ModifyPostUserOperationUsingPOSTUnauthorized) Error

Jump to

Keyboard shortcuts

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