Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteUsingDELETE10(params *DeleteUsingDELETE10Params, opts ...ClientOption) (*DeleteUsingDELETE10OK, error)
- func (a *Client) GetAllUsingGET10(params *GetAllUsingGET10Params, opts ...ClientOption) (*GetAllUsingGET10OK, error)
- func (a *Client) GetUsingGET4(params *GetUsingGET4Params, opts ...ClientOption) (*GetUsingGET4OK, error)
- func (a *Client) ModifyPatchUserOperationUsingPATCH(params *ModifyPatchUserOperationUsingPATCHParams, opts ...ClientOption) (*ModifyPatchUserOperationUsingPATCHOK, error)
- func (a *Client) ModifyPostUserOperationUsingPOST(params *ModifyPostUserOperationUsingPOSTParams, opts ...ClientOption) (*ModifyPostUserOperationUsingPOSTOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteUsingDELETE10Forbidden
- type DeleteUsingDELETE10InternalServerError
- type DeleteUsingDELETE10NotFound
- type DeleteUsingDELETE10OK
- type DeleteUsingDELETE10Params
- func NewDeleteUsingDELETE10Params() *DeleteUsingDELETE10Params
- func NewDeleteUsingDELETE10ParamsWithContext(ctx context.Context) *DeleteUsingDELETE10Params
- func NewDeleteUsingDELETE10ParamsWithHTTPClient(client *http.Client) *DeleteUsingDELETE10Params
- func NewDeleteUsingDELETE10ParamsWithTimeout(timeout time.Duration) *DeleteUsingDELETE10Params
- func (o *DeleteUsingDELETE10Params) SetAPIVersion(aPIVersion string)
- func (o *DeleteUsingDELETE10Params) SetAuthorization(authorization string)
- func (o *DeleteUsingDELETE10Params) SetContext(ctx context.Context)
- func (o *DeleteUsingDELETE10Params) SetDefaults()
- func (o *DeleteUsingDELETE10Params) SetHTTPClient(client *http.Client)
- func (o *DeleteUsingDELETE10Params) SetID(id string)
- func (o *DeleteUsingDELETE10Params) SetTimeout(timeout time.Duration)
- func (o *DeleteUsingDELETE10Params) WithAPIVersion(aPIVersion string) *DeleteUsingDELETE10Params
- func (o *DeleteUsingDELETE10Params) WithAuthorization(authorization string) *DeleteUsingDELETE10Params
- func (o *DeleteUsingDELETE10Params) WithContext(ctx context.Context) *DeleteUsingDELETE10Params
- func (o *DeleteUsingDELETE10Params) WithDefaults() *DeleteUsingDELETE10Params
- func (o *DeleteUsingDELETE10Params) WithHTTPClient(client *http.Client) *DeleteUsingDELETE10Params
- func (o *DeleteUsingDELETE10Params) WithID(id string) *DeleteUsingDELETE10Params
- func (o *DeleteUsingDELETE10Params) WithTimeout(timeout time.Duration) *DeleteUsingDELETE10Params
- func (o *DeleteUsingDELETE10Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUsingDELETE10Reader
- type DeleteUsingDELETE10Unauthorized
- type GetAllUsingGET10Forbidden
- type GetAllUsingGET10InternalServerError
- type GetAllUsingGET10NotFound
- type GetAllUsingGET10OK
- type GetAllUsingGET10Params
- func NewGetAllUsingGET10Params() *GetAllUsingGET10Params
- func NewGetAllUsingGET10ParamsWithContext(ctx context.Context) *GetAllUsingGET10Params
- func NewGetAllUsingGET10ParamsWithHTTPClient(client *http.Client) *GetAllUsingGET10Params
- func NewGetAllUsingGET10ParamsWithTimeout(timeout time.Duration) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) SetAPIVersion(aPIVersion string)
- func (o *GetAllUsingGET10Params) SetAuthorization(authorization string)
- func (o *GetAllUsingGET10Params) SetContext(ctx context.Context)
- func (o *GetAllUsingGET10Params) SetDefaults()
- func (o *GetAllUsingGET10Params) SetDollarFilter(dollarFilter *string)
- func (o *GetAllUsingGET10Params) SetDollarOrderby(dollarOrderby *string)
- func (o *GetAllUsingGET10Params) SetDollarSkip(dollarSkip *string)
- func (o *GetAllUsingGET10Params) SetDollarTop(dollarTop *string)
- func (o *GetAllUsingGET10Params) SetHTTPClient(client *http.Client)
- func (o *GetAllUsingGET10Params) SetPage(page *string)
- func (o *GetAllUsingGET10Params) SetTimeout(timeout time.Duration)
- func (o *GetAllUsingGET10Params) WithAPIVersion(aPIVersion string) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WithAuthorization(authorization string) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WithContext(ctx context.Context) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WithDefaults() *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WithDollarFilter(dollarFilter *string) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WithDollarOrderby(dollarOrderby *string) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WithDollarSkip(dollarSkip *string) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WithDollarTop(dollarTop *string) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WithHTTPClient(client *http.Client) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WithPage(page *string) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WithTimeout(timeout time.Duration) *GetAllUsingGET10Params
- func (o *GetAllUsingGET10Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllUsingGET10Reader
- type GetAllUsingGET10Unauthorized
- type GetUsingGET4Forbidden
- type GetUsingGET4InternalServerError
- type GetUsingGET4NotFound
- type GetUsingGET4OK
- type GetUsingGET4Params
- func (o *GetUsingGET4Params) SetAPIVersion(aPIVersion string)
- func (o *GetUsingGET4Params) SetAuthorization(authorization string)
- func (o *GetUsingGET4Params) SetContext(ctx context.Context)
- func (o *GetUsingGET4Params) SetDefaults()
- func (o *GetUsingGET4Params) SetHTTPClient(client *http.Client)
- func (o *GetUsingGET4Params) SetID(id string)
- func (o *GetUsingGET4Params) SetTimeout(timeout time.Duration)
- func (o *GetUsingGET4Params) WithAPIVersion(aPIVersion string) *GetUsingGET4Params
- func (o *GetUsingGET4Params) WithAuthorization(authorization string) *GetUsingGET4Params
- func (o *GetUsingGET4Params) WithContext(ctx context.Context) *GetUsingGET4Params
- func (o *GetUsingGET4Params) WithDefaults() *GetUsingGET4Params
- func (o *GetUsingGET4Params) WithHTTPClient(client *http.Client) *GetUsingGET4Params
- func (o *GetUsingGET4Params) WithID(id string) *GetUsingGET4Params
- func (o *GetUsingGET4Params) WithTimeout(timeout time.Duration) *GetUsingGET4Params
- func (o *GetUsingGET4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsingGET4Reader
- type GetUsingGET4Unauthorized
- type ModifyPatchUserOperationUsingPATCHForbidden
- type ModifyPatchUserOperationUsingPATCHInternalServerError
- type ModifyPatchUserOperationUsingPATCHNotFound
- type ModifyPatchUserOperationUsingPATCHOK
- type ModifyPatchUserOperationUsingPATCHParams
- func NewModifyPatchUserOperationUsingPATCHParams() *ModifyPatchUserOperationUsingPATCHParams
- func NewModifyPatchUserOperationUsingPATCHParamsWithContext(ctx context.Context) *ModifyPatchUserOperationUsingPATCHParams
- func NewModifyPatchUserOperationUsingPATCHParamsWithHTTPClient(client *http.Client) *ModifyPatchUserOperationUsingPATCHParams
- func NewModifyPatchUserOperationUsingPATCHParamsWithTimeout(timeout time.Duration) *ModifyPatchUserOperationUsingPATCHParams
- func (o *ModifyPatchUserOperationUsingPATCHParams) SetAPIVersion(aPIVersion string)
- func (o *ModifyPatchUserOperationUsingPATCHParams) SetAuthorization(authorization string)
- func (o *ModifyPatchUserOperationUsingPATCHParams) SetBody(body models.UserOpResponse)
- func (o *ModifyPatchUserOperationUsingPATCHParams) SetContext(ctx context.Context)
- func (o *ModifyPatchUserOperationUsingPATCHParams) SetDefaults()
- func (o *ModifyPatchUserOperationUsingPATCHParams) SetHTTPClient(client *http.Client)
- func (o *ModifyPatchUserOperationUsingPATCHParams) SetID(id string)
- func (o *ModifyPatchUserOperationUsingPATCHParams) SetTimeout(timeout time.Duration)
- func (o *ModifyPatchUserOperationUsingPATCHParams) WithAPIVersion(aPIVersion string) *ModifyPatchUserOperationUsingPATCHParams
- func (o *ModifyPatchUserOperationUsingPATCHParams) WithAuthorization(authorization string) *ModifyPatchUserOperationUsingPATCHParams
- func (o *ModifyPatchUserOperationUsingPATCHParams) WithBody(body models.UserOpResponse) *ModifyPatchUserOperationUsingPATCHParams
- func (o *ModifyPatchUserOperationUsingPATCHParams) WithContext(ctx context.Context) *ModifyPatchUserOperationUsingPATCHParams
- func (o *ModifyPatchUserOperationUsingPATCHParams) WithDefaults() *ModifyPatchUserOperationUsingPATCHParams
- func (o *ModifyPatchUserOperationUsingPATCHParams) WithHTTPClient(client *http.Client) *ModifyPatchUserOperationUsingPATCHParams
- func (o *ModifyPatchUserOperationUsingPATCHParams) WithID(id string) *ModifyPatchUserOperationUsingPATCHParams
- func (o *ModifyPatchUserOperationUsingPATCHParams) WithTimeout(timeout time.Duration) *ModifyPatchUserOperationUsingPATCHParams
- func (o *ModifyPatchUserOperationUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyPatchUserOperationUsingPATCHReader
- type ModifyPatchUserOperationUsingPATCHUnauthorized
- type ModifyPostUserOperationUsingPOSTForbidden
- type ModifyPostUserOperationUsingPOSTInternalServerError
- type ModifyPostUserOperationUsingPOSTNotFound
- type ModifyPostUserOperationUsingPOSTOK
- type ModifyPostUserOperationUsingPOSTParams
- func NewModifyPostUserOperationUsingPOSTParams() *ModifyPostUserOperationUsingPOSTParams
- func NewModifyPostUserOperationUsingPOSTParamsWithContext(ctx context.Context) *ModifyPostUserOperationUsingPOSTParams
- func NewModifyPostUserOperationUsingPOSTParamsWithHTTPClient(client *http.Client) *ModifyPostUserOperationUsingPOSTParams
- func NewModifyPostUserOperationUsingPOSTParamsWithTimeout(timeout time.Duration) *ModifyPostUserOperationUsingPOSTParams
- func (o *ModifyPostUserOperationUsingPOSTParams) SetAPIVersion(aPIVersion string)
- func (o *ModifyPostUserOperationUsingPOSTParams) SetAuthorization(authorization string)
- func (o *ModifyPostUserOperationUsingPOSTParams) SetBody(body models.UserOpResponse)
- func (o *ModifyPostUserOperationUsingPOSTParams) SetContext(ctx context.Context)
- func (o *ModifyPostUserOperationUsingPOSTParams) SetDefaults()
- func (o *ModifyPostUserOperationUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *ModifyPostUserOperationUsingPOSTParams) SetID(id string)
- func (o *ModifyPostUserOperationUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *ModifyPostUserOperationUsingPOSTParams) WithAPIVersion(aPIVersion string) *ModifyPostUserOperationUsingPOSTParams
- func (o *ModifyPostUserOperationUsingPOSTParams) WithAuthorization(authorization string) *ModifyPostUserOperationUsingPOSTParams
- func (o *ModifyPostUserOperationUsingPOSTParams) WithBody(body models.UserOpResponse) *ModifyPostUserOperationUsingPOSTParams
- func (o *ModifyPostUserOperationUsingPOSTParams) WithContext(ctx context.Context) *ModifyPostUserOperationUsingPOSTParams
- func (o *ModifyPostUserOperationUsingPOSTParams) WithDefaults() *ModifyPostUserOperationUsingPOSTParams
- func (o *ModifyPostUserOperationUsingPOSTParams) WithHTTPClient(client *http.Client) *ModifyPostUserOperationUsingPOSTParams
- func (o *ModifyPostUserOperationUsingPOSTParams) WithID(id string) *ModifyPostUserOperationUsingPOSTParams
- func (o *ModifyPostUserOperationUsingPOSTParams) WithTimeout(timeout time.Duration) *ModifyPostUserOperationUsingPOSTParams
- func (o *ModifyPostUserOperationUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyPostUserOperationUsingPOSTReader
- type ModifyPostUserOperationUsingPOSTUnauthorized
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 ¶
func (o *DeleteUsingDELETE10Forbidden) Error() string
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 ¶
func (o *DeleteUsingDELETE10InternalServerError) Error() string
type DeleteUsingDELETE10NotFound ¶
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 (o *DeleteUsingDELETE10NotFound) Error() string
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 ¶
func (o *DeleteUsingDELETE10Params) WithContext(ctx context.Context) *DeleteUsingDELETE10Params
WithContext adds the context to the delete using d e l e t e 10 params
func (*DeleteUsingDELETE10Params) WithDefaults ¶
func (o *DeleteUsingDELETE10Params) WithDefaults() *DeleteUsingDELETE10Params
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 ¶
func (o *DeleteUsingDELETE10Params) WithID(id string) *DeleteUsingDELETE10Params
WithID adds the id to the delete using d e l e t e 10 params
func (*DeleteUsingDELETE10Params) WithTimeout ¶
func (o *DeleteUsingDELETE10Params) WithTimeout(timeout time.Duration) *DeleteUsingDELETE10Params
WithTimeout adds the timeout to the delete using d e l e t e 10 params
func (*DeleteUsingDELETE10Params) WriteToRequest ¶
func (o *DeleteUsingDELETE10Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteUsingDELETE10Unauthorized) Error() string
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 ¶
func (o *GetAllUsingGET10InternalServerError) Error() string
type GetAllUsingGET10NotFound ¶
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 ¶
func (o *GetAllUsingGET10Params) WithContext(ctx context.Context) *GetAllUsingGET10Params
WithContext adds the context to the get all using g e t 10 params
func (*GetAllUsingGET10Params) WithDefaults ¶
func (o *GetAllUsingGET10Params) WithDefaults() *GetAllUsingGET10Params
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 ¶
func (o *GetAllUsingGET10Params) WithPage(page *string) *GetAllUsingGET10Params
WithPage adds the page to the get all using g e t 10 params
func (*GetAllUsingGET10Params) WithTimeout ¶
func (o *GetAllUsingGET10Params) WithTimeout(timeout time.Duration) *GetAllUsingGET10Params
WithTimeout adds the timeout to the get all using g e t 10 params
func (*GetAllUsingGET10Params) WriteToRequest ¶
func (o *GetAllUsingGET10Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAllUsingGET10Unauthorized) Error() string
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 ¶
func (o *GetUsingGET4InternalServerError) Error() string
type GetUsingGET4NotFound ¶
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 ¶
func (o *GetUsingGET4Params) WithContext(ctx context.Context) *GetUsingGET4Params
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 ¶
func (o *GetUsingGET4Params) WithID(id string) *GetUsingGET4Params
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 ¶
func (o *ModifyPatchUserOperationUsingPATCHForbidden) Error() string
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 ¶
func (o *ModifyPatchUserOperationUsingPATCHInternalServerError) Error() string
type ModifyPatchUserOperationUsingPATCHNotFound ¶
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 (o *ModifyPatchUserOperationUsingPATCHNotFound) Error() string
func (*ModifyPatchUserOperationUsingPATCHNotFound) GetPayload ¶
func (o *ModifyPatchUserOperationUsingPATCHNotFound) GetPayload() *models.Error
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 (o *ModifyPatchUserOperationUsingPATCHOK) Error() string
func (*ModifyPatchUserOperationUsingPATCHOK) GetPayload ¶
func (o *ModifyPatchUserOperationUsingPATCHOK) GetPayload() *models.UserOpResource
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 ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) SetBody(body models.UserOpResponse)
SetBody adds the body to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) SetContext ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) SetContext(ctx context.Context)
SetContext adds the context to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) SetDefaults ¶
func (o *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 ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) SetID(id string)
SetID adds the id to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) SetTimeout ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) WithAPIVersion ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) WithAPIVersion(aPIVersion string) *ModifyPatchUserOperationUsingPATCHParams
WithAPIVersion adds the aPIVersion to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) WithAuthorization ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) WithAuthorization(authorization string) *ModifyPatchUserOperationUsingPATCHParams
WithAuthorization adds the authorization to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) WithBody ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) WithBody(body models.UserOpResponse) *ModifyPatchUserOperationUsingPATCHParams
WithBody adds the body to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) WithContext ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) WithContext(ctx context.Context) *ModifyPatchUserOperationUsingPATCHParams
WithContext adds the context to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) WithDefaults ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) WithDefaults() *ModifyPatchUserOperationUsingPATCHParams
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 ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) WithHTTPClient(client *http.Client) *ModifyPatchUserOperationUsingPATCHParams
WithHTTPClient adds the HTTPClient to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) WithID ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) WithID(id string) *ModifyPatchUserOperationUsingPATCHParams
WithID adds the id to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) WithTimeout ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) WithTimeout(timeout time.Duration) *ModifyPatchUserOperationUsingPATCHParams
WithTimeout adds the timeout to the modify patch user operation using p a t c h params
func (*ModifyPatchUserOperationUsingPATCHParams) WriteToRequest ¶
func (o *ModifyPatchUserOperationUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ModifyPatchUserOperationUsingPATCHUnauthorized) Error() string
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 ¶
func (o *ModifyPostUserOperationUsingPOSTForbidden) Error() string
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 ¶
func (o *ModifyPostUserOperationUsingPOSTInternalServerError) Error() string
type ModifyPostUserOperationUsingPOSTNotFound ¶
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 (o *ModifyPostUserOperationUsingPOSTNotFound) Error() string
func (*ModifyPostUserOperationUsingPOSTNotFound) GetPayload ¶
func (o *ModifyPostUserOperationUsingPOSTNotFound) GetPayload() *models.Error
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 (o *ModifyPostUserOperationUsingPOSTOK) Error() string
func (*ModifyPostUserOperationUsingPOSTOK) GetPayload ¶
func (o *ModifyPostUserOperationUsingPOSTOK) GetPayload() *models.UserOpResource
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 ¶
func (o *ModifyPostUserOperationUsingPOSTParams) SetBody(body models.UserOpResponse)
SetBody adds the body to the modify post user operation using p o s t params
func (*ModifyPostUserOperationUsingPOSTParams) SetContext ¶
func (o *ModifyPostUserOperationUsingPOSTParams) SetContext(ctx context.Context)
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 ¶
func (o *ModifyPostUserOperationUsingPOSTParams) SetID(id string)
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 ¶
func (o *ModifyPostUserOperationUsingPOSTParams) WithAPIVersion(aPIVersion string) *ModifyPostUserOperationUsingPOSTParams
WithAPIVersion adds the aPIVersion to the modify post user operation using p o s t params
func (*ModifyPostUserOperationUsingPOSTParams) WithAuthorization ¶
func (o *ModifyPostUserOperationUsingPOSTParams) WithAuthorization(authorization string) *ModifyPostUserOperationUsingPOSTParams
WithAuthorization adds the authorization to the modify post user operation using p o s t params
func (*ModifyPostUserOperationUsingPOSTParams) WithBody ¶
func (o *ModifyPostUserOperationUsingPOSTParams) WithBody(body models.UserOpResponse) *ModifyPostUserOperationUsingPOSTParams
WithBody adds the body to the modify post user operation using p o s t params
func (*ModifyPostUserOperationUsingPOSTParams) WithContext ¶
func (o *ModifyPostUserOperationUsingPOSTParams) WithContext(ctx context.Context) *ModifyPostUserOperationUsingPOSTParams
WithContext adds the context to the modify post user operation using p o s t params
func (*ModifyPostUserOperationUsingPOSTParams) WithDefaults ¶
func (o *ModifyPostUserOperationUsingPOSTParams) WithDefaults() *ModifyPostUserOperationUsingPOSTParams
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 ¶
func (o *ModifyPostUserOperationUsingPOSTParams) WithHTTPClient(client *http.Client) *ModifyPostUserOperationUsingPOSTParams
WithHTTPClient adds the HTTPClient to the modify post user operation using p o s t params
func (*ModifyPostUserOperationUsingPOSTParams) WithID ¶
func (o *ModifyPostUserOperationUsingPOSTParams) WithID(id string) *ModifyPostUserOperationUsingPOSTParams
WithID adds the id to the modify post user operation using p o s t params
func (*ModifyPostUserOperationUsingPOSTParams) WithTimeout ¶
func (o *ModifyPostUserOperationUsingPOSTParams) WithTimeout(timeout time.Duration) *ModifyPostUserOperationUsingPOSTParams
WithTimeout adds the timeout to the modify post user operation using p o s t params
func (*ModifyPostUserOperationUsingPOSTParams) WriteToRequest ¶
func (o *ModifyPostUserOperationUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ModifyPostUserOperationUsingPOSTUnauthorized) Error() string
Source Files
¶
- delete_using_delete10_parameters.go
- delete_using_delete10_responses.go
- get_all_using_get10_parameters.go
- get_all_using_get10_responses.go
- get_using_get4_parameters.go
- get_using_get4_responses.go
- modify_patch_user_operation_using_patch_parameters.go
- modify_patch_user_operation_using_patch_responses.go
- modify_post_user_operation_using_post_parameters.go
- modify_post_user_operation_using_post_responses.go
- user_operations_client.go