Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteV1ModulesModuleID(params *DeleteV1ModulesModuleIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteV1ModulesModuleIDOK, *DeleteV1ModulesModuleIDNoContent, error)
- func (a *Client) GetV1Modules(params *GetV1ModulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetV1ModulesOK, error)
- func (a *Client) GetV1ModulesModuleID(params *GetV1ModulesModuleIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetV1ModulesModuleIDOK, error)
- func (a *Client) PostV1Modules(params *PostV1ModulesParams, authInfo runtime.ClientAuthInfoWriter) (*PostV1ModulesCreated, error)
- func (a *Client) PutV1ModulesModuleID(params *PutV1ModulesModuleIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutV1ModulesModuleIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteV1ModulesModuleIDForbidden
- type DeleteV1ModulesModuleIDNoContent
- type DeleteV1ModulesModuleIDNotFound
- type DeleteV1ModulesModuleIDOK
- type DeleteV1ModulesModuleIDParams
- func (o *DeleteV1ModulesModuleIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1ModulesModuleIDParams) SetModuleID(moduleID string)
- func (o *DeleteV1ModulesModuleIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1ModulesModuleIDParams) WithContext(ctx context.Context) *DeleteV1ModulesModuleIDParams
- func (o *DeleteV1ModulesModuleIDParams) WithModuleID(moduleID string) *DeleteV1ModulesModuleIDParams
- func (o *DeleteV1ModulesModuleIDParams) WithTimeout(timeout time.Duration) *DeleteV1ModulesModuleIDParams
- func (o *DeleteV1ModulesModuleIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1ModulesModuleIDReader
- type DeleteV1ModulesModuleIDUnauthorized
- type GetV1ModulesModuleIDNotFound
- type GetV1ModulesModuleIDOK
- type GetV1ModulesModuleIDParams
- func (o *GetV1ModulesModuleIDParams) SetContext(ctx context.Context)
- func (o *GetV1ModulesModuleIDParams) SetModuleID(moduleID string)
- func (o *GetV1ModulesModuleIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ModulesModuleIDParams) WithContext(ctx context.Context) *GetV1ModulesModuleIDParams
- func (o *GetV1ModulesModuleIDParams) WithModuleID(moduleID string) *GetV1ModulesModuleIDParams
- func (o *GetV1ModulesModuleIDParams) WithTimeout(timeout time.Duration) *GetV1ModulesModuleIDParams
- func (o *GetV1ModulesModuleIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ModulesModuleIDReader
- type GetV1ModulesModuleIDUnauthorized
- type GetV1ModulesOK
- type GetV1ModulesParams
- func (o *GetV1ModulesParams) SetContext(ctx context.Context)
- func (o *GetV1ModulesParams) SetModel(model *string)
- func (o *GetV1ModulesParams) SetProject(project *int64)
- func (o *GetV1ModulesParams) SetSerialNumber(serialNumber *string)
- func (o *GetV1ModulesParams) SetSort(sort *string)
- func (o *GetV1ModulesParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ModulesParams) WithContext(ctx context.Context) *GetV1ModulesParams
- func (o *GetV1ModulesParams) WithModel(model *string) *GetV1ModulesParams
- func (o *GetV1ModulesParams) WithProject(project *int64) *GetV1ModulesParams
- func (o *GetV1ModulesParams) WithSerialNumber(serialNumber *string) *GetV1ModulesParams
- func (o *GetV1ModulesParams) WithSort(sort *string) *GetV1ModulesParams
- func (o *GetV1ModulesParams) WithTimeout(timeout time.Duration) *GetV1ModulesParams
- func (o *GetV1ModulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ModulesReader
- type GetV1ModulesUnauthorized
- type PostV1ModulesCreated
- type PostV1ModulesForbidden
- type PostV1ModulesParams
- func (o *PostV1ModulesParams) SetContext(ctx context.Context)
- func (o *PostV1ModulesParams) SetRegisterInformation(registerInformation *models.ModuleRegister)
- func (o *PostV1ModulesParams) SetTimeout(timeout time.Duration)
- func (o *PostV1ModulesParams) WithContext(ctx context.Context) *PostV1ModulesParams
- func (o *PostV1ModulesParams) WithRegisterInformation(registerInformation *models.ModuleRegister) *PostV1ModulesParams
- func (o *PostV1ModulesParams) WithTimeout(timeout time.Duration) *PostV1ModulesParams
- func (o *PostV1ModulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1ModulesReader
- type PostV1ModulesUnauthorized
- type PostV1ModulesUnprocessableEntity
- type PutV1ModulesModuleIDForbidden
- type PutV1ModulesModuleIDNotFound
- type PutV1ModulesModuleIDOK
- type PutV1ModulesModuleIDParams
- func (o *PutV1ModulesModuleIDParams) SetBody(body *models.ModuleUpdate)
- func (o *PutV1ModulesModuleIDParams) SetContext(ctx context.Context)
- func (o *PutV1ModulesModuleIDParams) SetModuleID(moduleID string)
- func (o *PutV1ModulesModuleIDParams) SetTimeout(timeout time.Duration)
- func (o *PutV1ModulesModuleIDParams) WithBody(body *models.ModuleUpdate) *PutV1ModulesModuleIDParams
- func (o *PutV1ModulesModuleIDParams) WithContext(ctx context.Context) *PutV1ModulesModuleIDParams
- func (o *PutV1ModulesModuleIDParams) WithModuleID(moduleID string) *PutV1ModulesModuleIDParams
- func (o *PutV1ModulesModuleIDParams) WithTimeout(timeout time.Duration) *PutV1ModulesModuleIDParams
- func (o *PutV1ModulesModuleIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutV1ModulesModuleIDReader
- type PutV1ModulesModuleIDUnauthorized
- type PutV1ModulesModuleIDUnprocessableEntity
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 module API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new module API client.
func (*Client) DeleteV1ModulesModuleID ¶
func (a *Client) DeleteV1ModulesModuleID(params *DeleteV1ModulesModuleIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteV1ModulesModuleIDOK, *DeleteV1ModulesModuleIDNoContent, error)
DeleteV1ModulesModuleID deletes module
Delete a module based on single ID
func (*Client) GetV1Modules ¶
func (a *Client) GetV1Modules(params *GetV1ModulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetV1ModulesOK, error)
GetV1Modules modules list
Returns modules list
func (*Client) GetV1ModulesModuleID ¶
func (a *Client) GetV1ModulesModuleID(params *GetV1ModulesModuleIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetV1ModulesModuleIDOK, error)
GetV1ModulesModuleID gets module
Returns a module based on a single ID
func (*Client) PostV1Modules ¶
func (a *Client) PostV1Modules(params *PostV1ModulesParams, authInfo runtime.ClientAuthInfoWriter) (*PostV1ModulesCreated, error)
PostV1Modules registers module
Regsiter a new module
func (*Client) PutV1ModulesModuleID ¶
func (a *Client) PutV1ModulesModuleID(params *PutV1ModulesModuleIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutV1ModulesModuleIDOK, error)
PutV1ModulesModuleID updates module
Update a module based on a single ID
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteV1ModulesModuleIDForbidden ¶
type DeleteV1ModulesModuleIDForbidden struct { }
DeleteV1ModulesModuleIDForbidden handles this case with default header values.
Forbidden
func NewDeleteV1ModulesModuleIDForbidden ¶
func NewDeleteV1ModulesModuleIDForbidden() *DeleteV1ModulesModuleIDForbidden
NewDeleteV1ModulesModuleIDForbidden creates a DeleteV1ModulesModuleIDForbidden with default headers values
func (*DeleteV1ModulesModuleIDForbidden) Error ¶
func (o *DeleteV1ModulesModuleIDForbidden) Error() string
type DeleteV1ModulesModuleIDNoContent ¶
type DeleteV1ModulesModuleIDNoContent struct { }
DeleteV1ModulesModuleIDNoContent handles this case with default header values.
No Content
func NewDeleteV1ModulesModuleIDNoContent ¶
func NewDeleteV1ModulesModuleIDNoContent() *DeleteV1ModulesModuleIDNoContent
NewDeleteV1ModulesModuleIDNoContent creates a DeleteV1ModulesModuleIDNoContent with default headers values
func (*DeleteV1ModulesModuleIDNoContent) Error ¶
func (o *DeleteV1ModulesModuleIDNoContent) Error() string
type DeleteV1ModulesModuleIDNotFound ¶
type DeleteV1ModulesModuleIDNotFound struct { }
DeleteV1ModulesModuleIDNotFound handles this case with default header values.
Not found
func NewDeleteV1ModulesModuleIDNotFound ¶
func NewDeleteV1ModulesModuleIDNotFound() *DeleteV1ModulesModuleIDNotFound
NewDeleteV1ModulesModuleIDNotFound creates a DeleteV1ModulesModuleIDNotFound with default headers values
func (*DeleteV1ModulesModuleIDNotFound) Error ¶
func (o *DeleteV1ModulesModuleIDNotFound) Error() string
type DeleteV1ModulesModuleIDOK ¶
type DeleteV1ModulesModuleIDOK struct { }
DeleteV1ModulesModuleIDOK handles this case with default header values.
Successful
func NewDeleteV1ModulesModuleIDOK ¶
func NewDeleteV1ModulesModuleIDOK() *DeleteV1ModulesModuleIDOK
NewDeleteV1ModulesModuleIDOK creates a DeleteV1ModulesModuleIDOK with default headers values
func (*DeleteV1ModulesModuleIDOK) Error ¶
func (o *DeleteV1ModulesModuleIDOK) Error() string
type DeleteV1ModulesModuleIDParams ¶
type DeleteV1ModulesModuleIDParams struct { /*ModuleID ID of module */ ModuleID string Context context.Context // contains filtered or unexported fields }
DeleteV1ModulesModuleIDParams contains all the parameters to send to the API endpoint for the delete v1 modules module ID operation typically these are written to a http.Request
func NewDeleteV1ModulesModuleIDParams ¶
func NewDeleteV1ModulesModuleIDParams() *DeleteV1ModulesModuleIDParams
NewDeleteV1ModulesModuleIDParams creates a new DeleteV1ModulesModuleIDParams object with the default values initialized.
func NewDeleteV1ModulesModuleIDParamsWithContext ¶
func NewDeleteV1ModulesModuleIDParamsWithContext(ctx context.Context) *DeleteV1ModulesModuleIDParams
NewDeleteV1ModulesModuleIDParamsWithContext creates a new DeleteV1ModulesModuleIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteV1ModulesModuleIDParamsWithTimeout ¶
func NewDeleteV1ModulesModuleIDParamsWithTimeout(timeout time.Duration) *DeleteV1ModulesModuleIDParams
NewDeleteV1ModulesModuleIDParamsWithTimeout creates a new DeleteV1ModulesModuleIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteV1ModulesModuleIDParams) SetContext ¶
func (o *DeleteV1ModulesModuleIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 modules module ID params
func (*DeleteV1ModulesModuleIDParams) SetModuleID ¶
func (o *DeleteV1ModulesModuleIDParams) SetModuleID(moduleID string)
SetModuleID adds the moduleId to the delete v1 modules module ID params
func (*DeleteV1ModulesModuleIDParams) SetTimeout ¶
func (o *DeleteV1ModulesModuleIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 modules module ID params
func (*DeleteV1ModulesModuleIDParams) WithContext ¶
func (o *DeleteV1ModulesModuleIDParams) WithContext(ctx context.Context) *DeleteV1ModulesModuleIDParams
WithContext adds the context to the delete v1 modules module ID params
func (*DeleteV1ModulesModuleIDParams) WithModuleID ¶
func (o *DeleteV1ModulesModuleIDParams) WithModuleID(moduleID string) *DeleteV1ModulesModuleIDParams
WithModuleID adds the moduleID to the delete v1 modules module ID params
func (*DeleteV1ModulesModuleIDParams) WithTimeout ¶
func (o *DeleteV1ModulesModuleIDParams) WithTimeout(timeout time.Duration) *DeleteV1ModulesModuleIDParams
WithTimeout adds the timeout to the delete v1 modules module ID params
func (*DeleteV1ModulesModuleIDParams) WriteToRequest ¶
func (o *DeleteV1ModulesModuleIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1ModulesModuleIDReader ¶
type DeleteV1ModulesModuleIDReader struct {
// contains filtered or unexported fields
}
DeleteV1ModulesModuleIDReader is a Reader for the DeleteV1ModulesModuleID structure.
func (*DeleteV1ModulesModuleIDReader) ReadResponse ¶
func (o *DeleteV1ModulesModuleIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteV1ModulesModuleIDUnauthorized ¶
type DeleteV1ModulesModuleIDUnauthorized struct { }
DeleteV1ModulesModuleIDUnauthorized handles this case with default header values.
Unauthenticated
func NewDeleteV1ModulesModuleIDUnauthorized ¶
func NewDeleteV1ModulesModuleIDUnauthorized() *DeleteV1ModulesModuleIDUnauthorized
NewDeleteV1ModulesModuleIDUnauthorized creates a DeleteV1ModulesModuleIDUnauthorized with default headers values
func (*DeleteV1ModulesModuleIDUnauthorized) Error ¶
func (o *DeleteV1ModulesModuleIDUnauthorized) Error() string
type GetV1ModulesModuleIDNotFound ¶
type GetV1ModulesModuleIDNotFound struct { }
GetV1ModulesModuleIDNotFound handles this case with default header values.
Not found
func NewGetV1ModulesModuleIDNotFound ¶
func NewGetV1ModulesModuleIDNotFound() *GetV1ModulesModuleIDNotFound
NewGetV1ModulesModuleIDNotFound creates a GetV1ModulesModuleIDNotFound with default headers values
func (*GetV1ModulesModuleIDNotFound) Error ¶
func (o *GetV1ModulesModuleIDNotFound) Error() string
type GetV1ModulesModuleIDOK ¶
GetV1ModulesModuleIDOK handles this case with default header values.
Module
func NewGetV1ModulesModuleIDOK ¶
func NewGetV1ModulesModuleIDOK() *GetV1ModulesModuleIDOK
NewGetV1ModulesModuleIDOK creates a GetV1ModulesModuleIDOK with default headers values
func (*GetV1ModulesModuleIDOK) Error ¶
func (o *GetV1ModulesModuleIDOK) Error() string
type GetV1ModulesModuleIDParams ¶
type GetV1ModulesModuleIDParams struct { /*ModuleID ID of module */ ModuleID string Context context.Context // contains filtered or unexported fields }
GetV1ModulesModuleIDParams contains all the parameters to send to the API endpoint for the get v1 modules module ID operation typically these are written to a http.Request
func NewGetV1ModulesModuleIDParams ¶
func NewGetV1ModulesModuleIDParams() *GetV1ModulesModuleIDParams
NewGetV1ModulesModuleIDParams creates a new GetV1ModulesModuleIDParams object with the default values initialized.
func NewGetV1ModulesModuleIDParamsWithContext ¶
func NewGetV1ModulesModuleIDParamsWithContext(ctx context.Context) *GetV1ModulesModuleIDParams
NewGetV1ModulesModuleIDParamsWithContext creates a new GetV1ModulesModuleIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetV1ModulesModuleIDParamsWithTimeout ¶
func NewGetV1ModulesModuleIDParamsWithTimeout(timeout time.Duration) *GetV1ModulesModuleIDParams
NewGetV1ModulesModuleIDParamsWithTimeout creates a new GetV1ModulesModuleIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetV1ModulesModuleIDParams) SetContext ¶
func (o *GetV1ModulesModuleIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 modules module ID params
func (*GetV1ModulesModuleIDParams) SetModuleID ¶
func (o *GetV1ModulesModuleIDParams) SetModuleID(moduleID string)
SetModuleID adds the moduleId to the get v1 modules module ID params
func (*GetV1ModulesModuleIDParams) SetTimeout ¶
func (o *GetV1ModulesModuleIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 modules module ID params
func (*GetV1ModulesModuleIDParams) WithContext ¶
func (o *GetV1ModulesModuleIDParams) WithContext(ctx context.Context) *GetV1ModulesModuleIDParams
WithContext adds the context to the get v1 modules module ID params
func (*GetV1ModulesModuleIDParams) WithModuleID ¶
func (o *GetV1ModulesModuleIDParams) WithModuleID(moduleID string) *GetV1ModulesModuleIDParams
WithModuleID adds the moduleID to the get v1 modules module ID params
func (*GetV1ModulesModuleIDParams) WithTimeout ¶
func (o *GetV1ModulesModuleIDParams) WithTimeout(timeout time.Duration) *GetV1ModulesModuleIDParams
WithTimeout adds the timeout to the get v1 modules module ID params
func (*GetV1ModulesModuleIDParams) WriteToRequest ¶
func (o *GetV1ModulesModuleIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1ModulesModuleIDReader ¶
type GetV1ModulesModuleIDReader struct {
// contains filtered or unexported fields
}
GetV1ModulesModuleIDReader is a Reader for the GetV1ModulesModuleID structure.
func (*GetV1ModulesModuleIDReader) ReadResponse ¶
func (o *GetV1ModulesModuleIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1ModulesModuleIDUnauthorized ¶
type GetV1ModulesModuleIDUnauthorized struct { }
GetV1ModulesModuleIDUnauthorized handles this case with default header values.
Unauthenticated
func NewGetV1ModulesModuleIDUnauthorized ¶
func NewGetV1ModulesModuleIDUnauthorized() *GetV1ModulesModuleIDUnauthorized
NewGetV1ModulesModuleIDUnauthorized creates a GetV1ModulesModuleIDUnauthorized with default headers values
func (*GetV1ModulesModuleIDUnauthorized) Error ¶
func (o *GetV1ModulesModuleIDUnauthorized) Error() string
type GetV1ModulesOK ¶
GetV1ModulesOK handles this case with default header values.
Modules
func NewGetV1ModulesOK ¶
func NewGetV1ModulesOK() *GetV1ModulesOK
NewGetV1ModulesOK creates a GetV1ModulesOK with default headers values
func (*GetV1ModulesOK) Error ¶
func (o *GetV1ModulesOK) Error() string
type GetV1ModulesParams ¶
type GetV1ModulesParams struct { /*Model Model */ Model *string /*Project ID of project */ Project *int64 /*SerialNumber Serial number */ SerialNumber *string /*Sort Sort fields */ Sort *string Context context.Context // contains filtered or unexported fields }
GetV1ModulesParams contains all the parameters to send to the API endpoint for the get v1 modules operation typically these are written to a http.Request
func NewGetV1ModulesParams ¶
func NewGetV1ModulesParams() *GetV1ModulesParams
NewGetV1ModulesParams creates a new GetV1ModulesParams object with the default values initialized.
func NewGetV1ModulesParamsWithContext ¶
func NewGetV1ModulesParamsWithContext(ctx context.Context) *GetV1ModulesParams
NewGetV1ModulesParamsWithContext creates a new GetV1ModulesParams object with the default values initialized, and the ability to set a context for a request
func NewGetV1ModulesParamsWithTimeout ¶
func NewGetV1ModulesParamsWithTimeout(timeout time.Duration) *GetV1ModulesParams
NewGetV1ModulesParamsWithTimeout creates a new GetV1ModulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetV1ModulesParams) SetContext ¶
func (o *GetV1ModulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 modules params
func (*GetV1ModulesParams) SetModel ¶
func (o *GetV1ModulesParams) SetModel(model *string)
SetModel adds the model to the get v1 modules params
func (*GetV1ModulesParams) SetProject ¶
func (o *GetV1ModulesParams) SetProject(project *int64)
SetProject adds the project to the get v1 modules params
func (*GetV1ModulesParams) SetSerialNumber ¶
func (o *GetV1ModulesParams) SetSerialNumber(serialNumber *string)
SetSerialNumber adds the serialNumber to the get v1 modules params
func (*GetV1ModulesParams) SetSort ¶
func (o *GetV1ModulesParams) SetSort(sort *string)
SetSort adds the sort to the get v1 modules params
func (*GetV1ModulesParams) SetTimeout ¶
func (o *GetV1ModulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 modules params
func (*GetV1ModulesParams) WithContext ¶
func (o *GetV1ModulesParams) WithContext(ctx context.Context) *GetV1ModulesParams
WithContext adds the context to the get v1 modules params
func (*GetV1ModulesParams) WithModel ¶
func (o *GetV1ModulesParams) WithModel(model *string) *GetV1ModulesParams
WithModel adds the model to the get v1 modules params
func (*GetV1ModulesParams) WithProject ¶
func (o *GetV1ModulesParams) WithProject(project *int64) *GetV1ModulesParams
WithProject adds the project to the get v1 modules params
func (*GetV1ModulesParams) WithSerialNumber ¶
func (o *GetV1ModulesParams) WithSerialNumber(serialNumber *string) *GetV1ModulesParams
WithSerialNumber adds the serialNumber to the get v1 modules params
func (*GetV1ModulesParams) WithSort ¶
func (o *GetV1ModulesParams) WithSort(sort *string) *GetV1ModulesParams
WithSort adds the sort to the get v1 modules params
func (*GetV1ModulesParams) WithTimeout ¶
func (o *GetV1ModulesParams) WithTimeout(timeout time.Duration) *GetV1ModulesParams
WithTimeout adds the timeout to the get v1 modules params
func (*GetV1ModulesParams) WriteToRequest ¶
func (o *GetV1ModulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1ModulesReader ¶
type GetV1ModulesReader struct {
// contains filtered or unexported fields
}
GetV1ModulesReader is a Reader for the GetV1Modules structure.
func (*GetV1ModulesReader) ReadResponse ¶
func (o *GetV1ModulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1ModulesUnauthorized ¶
type GetV1ModulesUnauthorized struct { }
GetV1ModulesUnauthorized handles this case with default header values.
Unauthenticated
func NewGetV1ModulesUnauthorized ¶
func NewGetV1ModulesUnauthorized() *GetV1ModulesUnauthorized
NewGetV1ModulesUnauthorized creates a GetV1ModulesUnauthorized with default headers values
func (*GetV1ModulesUnauthorized) Error ¶
func (o *GetV1ModulesUnauthorized) Error() string
type PostV1ModulesCreated ¶
PostV1ModulesCreated handles this case with default header values.
Registered module
func NewPostV1ModulesCreated ¶
func NewPostV1ModulesCreated() *PostV1ModulesCreated
NewPostV1ModulesCreated creates a PostV1ModulesCreated with default headers values
func (*PostV1ModulesCreated) Error ¶
func (o *PostV1ModulesCreated) Error() string
type PostV1ModulesForbidden ¶
type PostV1ModulesForbidden struct { }
PostV1ModulesForbidden handles this case with default header values.
Forbidden
func NewPostV1ModulesForbidden ¶
func NewPostV1ModulesForbidden() *PostV1ModulesForbidden
NewPostV1ModulesForbidden creates a PostV1ModulesForbidden with default headers values
func (*PostV1ModulesForbidden) Error ¶
func (o *PostV1ModulesForbidden) Error() string
type PostV1ModulesParams ¶
type PostV1ModulesParams struct { /*RegisterInformation Module information to register */ RegisterInformation *models.ModuleRegister Context context.Context // contains filtered or unexported fields }
PostV1ModulesParams contains all the parameters to send to the API endpoint for the post v1 modules operation typically these are written to a http.Request
func NewPostV1ModulesParams ¶
func NewPostV1ModulesParams() *PostV1ModulesParams
NewPostV1ModulesParams creates a new PostV1ModulesParams object with the default values initialized.
func NewPostV1ModulesParamsWithContext ¶
func NewPostV1ModulesParamsWithContext(ctx context.Context) *PostV1ModulesParams
NewPostV1ModulesParamsWithContext creates a new PostV1ModulesParams object with the default values initialized, and the ability to set a context for a request
func NewPostV1ModulesParamsWithTimeout ¶
func NewPostV1ModulesParamsWithTimeout(timeout time.Duration) *PostV1ModulesParams
NewPostV1ModulesParamsWithTimeout creates a new PostV1ModulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostV1ModulesParams) SetContext ¶
func (o *PostV1ModulesParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 modules params
func (*PostV1ModulesParams) SetRegisterInformation ¶
func (o *PostV1ModulesParams) SetRegisterInformation(registerInformation *models.ModuleRegister)
SetRegisterInformation adds the registerInformation to the post v1 modules params
func (*PostV1ModulesParams) SetTimeout ¶
func (o *PostV1ModulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 modules params
func (*PostV1ModulesParams) WithContext ¶
func (o *PostV1ModulesParams) WithContext(ctx context.Context) *PostV1ModulesParams
WithContext adds the context to the post v1 modules params
func (*PostV1ModulesParams) WithRegisterInformation ¶
func (o *PostV1ModulesParams) WithRegisterInformation(registerInformation *models.ModuleRegister) *PostV1ModulesParams
WithRegisterInformation adds the registerInformation to the post v1 modules params
func (*PostV1ModulesParams) WithTimeout ¶
func (o *PostV1ModulesParams) WithTimeout(timeout time.Duration) *PostV1ModulesParams
WithTimeout adds the timeout to the post v1 modules params
func (*PostV1ModulesParams) WriteToRequest ¶
func (o *PostV1ModulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1ModulesReader ¶
type PostV1ModulesReader struct {
// contains filtered or unexported fields
}
PostV1ModulesReader is a Reader for the PostV1Modules structure.
func (*PostV1ModulesReader) ReadResponse ¶
func (o *PostV1ModulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1ModulesUnauthorized ¶
type PostV1ModulesUnauthorized struct { }
PostV1ModulesUnauthorized handles this case with default header values.
Unauthenticated
func NewPostV1ModulesUnauthorized ¶
func NewPostV1ModulesUnauthorized() *PostV1ModulesUnauthorized
NewPostV1ModulesUnauthorized creates a PostV1ModulesUnauthorized with default headers values
func (*PostV1ModulesUnauthorized) Error ¶
func (o *PostV1ModulesUnauthorized) Error() string
type PostV1ModulesUnprocessableEntity ¶
type PostV1ModulesUnprocessableEntity struct { }
PostV1ModulesUnprocessableEntity handles this case with default header values.
Validation error
func NewPostV1ModulesUnprocessableEntity ¶
func NewPostV1ModulesUnprocessableEntity() *PostV1ModulesUnprocessableEntity
NewPostV1ModulesUnprocessableEntity creates a PostV1ModulesUnprocessableEntity with default headers values
func (*PostV1ModulesUnprocessableEntity) Error ¶
func (o *PostV1ModulesUnprocessableEntity) Error() string
type PutV1ModulesModuleIDForbidden ¶
type PutV1ModulesModuleIDForbidden struct { }
PutV1ModulesModuleIDForbidden handles this case with default header values.
Forbidden
func NewPutV1ModulesModuleIDForbidden ¶
func NewPutV1ModulesModuleIDForbidden() *PutV1ModulesModuleIDForbidden
NewPutV1ModulesModuleIDForbidden creates a PutV1ModulesModuleIDForbidden with default headers values
func (*PutV1ModulesModuleIDForbidden) Error ¶
func (o *PutV1ModulesModuleIDForbidden) Error() string
type PutV1ModulesModuleIDNotFound ¶
type PutV1ModulesModuleIDNotFound struct { }
PutV1ModulesModuleIDNotFound handles this case with default header values.
Not found
func NewPutV1ModulesModuleIDNotFound ¶
func NewPutV1ModulesModuleIDNotFound() *PutV1ModulesModuleIDNotFound
NewPutV1ModulesModuleIDNotFound creates a PutV1ModulesModuleIDNotFound with default headers values
func (*PutV1ModulesModuleIDNotFound) Error ¶
func (o *PutV1ModulesModuleIDNotFound) Error() string
type PutV1ModulesModuleIDOK ¶
PutV1ModulesModuleIDOK handles this case with default header values.
Updated module
func NewPutV1ModulesModuleIDOK ¶
func NewPutV1ModulesModuleIDOK() *PutV1ModulesModuleIDOK
NewPutV1ModulesModuleIDOK creates a PutV1ModulesModuleIDOK with default headers values
func (*PutV1ModulesModuleIDOK) Error ¶
func (o *PutV1ModulesModuleIDOK) Error() string
type PutV1ModulesModuleIDParams ¶
type PutV1ModulesModuleIDParams struct { /*Body*/ Body *models.ModuleUpdate /*ModuleID ID of module */ ModuleID string Context context.Context // contains filtered or unexported fields }
PutV1ModulesModuleIDParams contains all the parameters to send to the API endpoint for the put v1 modules module ID operation typically these are written to a http.Request
func NewPutV1ModulesModuleIDParams ¶
func NewPutV1ModulesModuleIDParams() *PutV1ModulesModuleIDParams
NewPutV1ModulesModuleIDParams creates a new PutV1ModulesModuleIDParams object with the default values initialized.
func NewPutV1ModulesModuleIDParamsWithContext ¶
func NewPutV1ModulesModuleIDParamsWithContext(ctx context.Context) *PutV1ModulesModuleIDParams
NewPutV1ModulesModuleIDParamsWithContext creates a new PutV1ModulesModuleIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutV1ModulesModuleIDParamsWithTimeout ¶
func NewPutV1ModulesModuleIDParamsWithTimeout(timeout time.Duration) *PutV1ModulesModuleIDParams
NewPutV1ModulesModuleIDParamsWithTimeout creates a new PutV1ModulesModuleIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutV1ModulesModuleIDParams) SetBody ¶
func (o *PutV1ModulesModuleIDParams) SetBody(body *models.ModuleUpdate)
SetBody adds the body to the put v1 modules module ID params
func (*PutV1ModulesModuleIDParams) SetContext ¶
func (o *PutV1ModulesModuleIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put v1 modules module ID params
func (*PutV1ModulesModuleIDParams) SetModuleID ¶
func (o *PutV1ModulesModuleIDParams) SetModuleID(moduleID string)
SetModuleID adds the moduleId to the put v1 modules module ID params
func (*PutV1ModulesModuleIDParams) SetTimeout ¶
func (o *PutV1ModulesModuleIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put v1 modules module ID params
func (*PutV1ModulesModuleIDParams) WithBody ¶
func (o *PutV1ModulesModuleIDParams) WithBody(body *models.ModuleUpdate) *PutV1ModulesModuleIDParams
WithBody adds the body to the put v1 modules module ID params
func (*PutV1ModulesModuleIDParams) WithContext ¶
func (o *PutV1ModulesModuleIDParams) WithContext(ctx context.Context) *PutV1ModulesModuleIDParams
WithContext adds the context to the put v1 modules module ID params
func (*PutV1ModulesModuleIDParams) WithModuleID ¶
func (o *PutV1ModulesModuleIDParams) WithModuleID(moduleID string) *PutV1ModulesModuleIDParams
WithModuleID adds the moduleID to the put v1 modules module ID params
func (*PutV1ModulesModuleIDParams) WithTimeout ¶
func (o *PutV1ModulesModuleIDParams) WithTimeout(timeout time.Duration) *PutV1ModulesModuleIDParams
WithTimeout adds the timeout to the put v1 modules module ID params
func (*PutV1ModulesModuleIDParams) WriteToRequest ¶
func (o *PutV1ModulesModuleIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutV1ModulesModuleIDReader ¶
type PutV1ModulesModuleIDReader struct {
// contains filtered or unexported fields
}
PutV1ModulesModuleIDReader is a Reader for the PutV1ModulesModuleID structure.
func (*PutV1ModulesModuleIDReader) ReadResponse ¶
func (o *PutV1ModulesModuleIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutV1ModulesModuleIDUnauthorized ¶
type PutV1ModulesModuleIDUnauthorized struct { }
PutV1ModulesModuleIDUnauthorized handles this case with default header values.
Unauthentication
func NewPutV1ModulesModuleIDUnauthorized ¶
func NewPutV1ModulesModuleIDUnauthorized() *PutV1ModulesModuleIDUnauthorized
NewPutV1ModulesModuleIDUnauthorized creates a PutV1ModulesModuleIDUnauthorized with default headers values
func (*PutV1ModulesModuleIDUnauthorized) Error ¶
func (o *PutV1ModulesModuleIDUnauthorized) Error() string
type PutV1ModulesModuleIDUnprocessableEntity ¶
type PutV1ModulesModuleIDUnprocessableEntity struct { }
PutV1ModulesModuleIDUnprocessableEntity handles this case with default header values.
Validation error
func NewPutV1ModulesModuleIDUnprocessableEntity ¶
func NewPutV1ModulesModuleIDUnprocessableEntity() *PutV1ModulesModuleIDUnprocessableEntity
NewPutV1ModulesModuleIDUnprocessableEntity creates a PutV1ModulesModuleIDUnprocessableEntity with default headers values
func (*PutV1ModulesModuleIDUnprocessableEntity) Error ¶
func (o *PutV1ModulesModuleIDUnprocessableEntity) Error() string
Source Files ¶
- delete_v1_modules_module_id_parameters.go
- delete_v1_modules_module_id_responses.go
- get_v1_modules_module_id_parameters.go
- get_v1_modules_module_id_responses.go
- get_v1_modules_parameters.go
- get_v1_modules_responses.go
- module_client.go
- post_v1_modules_parameters.go
- post_v1_modules_responses.go
- put_v1_modules_module_id_parameters.go
- put_v1_modules_module_id_responses.go