Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateResourceReport(params *CreateResourceReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateResourceReportCreated, error)
- func (a *Client) DeleteResourceReport(params *DeleteResourceReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteResourceReportNoContent, error)
- func (a *Client) GetResourceReport(params *GetResourceReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetResourceReportOK, error)
- func (a *Client) GetResourceReports(params *GetResourceReportsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetResourceReportsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateResourceReport(params *UpdateResourceReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateResourceReportOK, error)
- type ClientOption
- type ClientService
- type CreateResourceReportBadRequest
- func (o *CreateResourceReportBadRequest) Code() int
- func (o *CreateResourceReportBadRequest) Error() string
- func (o *CreateResourceReportBadRequest) GetPayload() *models.Errors
- func (o *CreateResourceReportBadRequest) IsClientError() bool
- func (o *CreateResourceReportBadRequest) IsCode(code int) bool
- func (o *CreateResourceReportBadRequest) IsRedirect() bool
- func (o *CreateResourceReportBadRequest) IsServerError() bool
- func (o *CreateResourceReportBadRequest) IsSuccess() bool
- func (o *CreateResourceReportBadRequest) String() string
- type CreateResourceReportCreated
- func (o *CreateResourceReportCreated) Code() int
- func (o *CreateResourceReportCreated) Error() string
- func (o *CreateResourceReportCreated) GetPayload() *models.ResourceReport
- func (o *CreateResourceReportCreated) IsClientError() bool
- func (o *CreateResourceReportCreated) IsCode(code int) bool
- func (o *CreateResourceReportCreated) IsRedirect() bool
- func (o *CreateResourceReportCreated) IsServerError() bool
- func (o *CreateResourceReportCreated) IsSuccess() bool
- func (o *CreateResourceReportCreated) String() string
- type CreateResourceReportParams
- func NewCreateResourceReportParams() *CreateResourceReportParams
- func NewCreateResourceReportParamsWithContext(ctx context.Context) *CreateResourceReportParams
- func NewCreateResourceReportParamsWithHTTPClient(client *http.Client) *CreateResourceReportParams
- func NewCreateResourceReportParamsWithTimeout(timeout time.Duration) *CreateResourceReportParams
- func (o *CreateResourceReportParams) SetContext(ctx context.Context)
- func (o *CreateResourceReportParams) SetCreateResourceReport(createResourceReport *models.CreateResourceReport)
- func (o *CreateResourceReportParams) SetDefaults()
- func (o *CreateResourceReportParams) SetHTTPClient(client *http.Client)
- func (o *CreateResourceReportParams) SetTimeout(timeout time.Duration)
- func (o *CreateResourceReportParams) WithContext(ctx context.Context) *CreateResourceReportParams
- func (o *CreateResourceReportParams) WithCreateResourceReport(createResourceReport *models.CreateResourceReport) *CreateResourceReportParams
- func (o *CreateResourceReportParams) WithDefaults() *CreateResourceReportParams
- func (o *CreateResourceReportParams) WithHTTPClient(client *http.Client) *CreateResourceReportParams
- func (o *CreateResourceReportParams) WithTimeout(timeout time.Duration) *CreateResourceReportParams
- func (o *CreateResourceReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateResourceReportReader
- type CreateResourceReportUnprocessableEntity
- func (o *CreateResourceReportUnprocessableEntity) Code() int
- func (o *CreateResourceReportUnprocessableEntity) Error() string
- func (o *CreateResourceReportUnprocessableEntity) GetPayload() *models.Errors
- func (o *CreateResourceReportUnprocessableEntity) IsClientError() bool
- func (o *CreateResourceReportUnprocessableEntity) IsCode(code int) bool
- func (o *CreateResourceReportUnprocessableEntity) IsRedirect() bool
- func (o *CreateResourceReportUnprocessableEntity) IsServerError() bool
- func (o *CreateResourceReportUnprocessableEntity) IsSuccess() bool
- func (o *CreateResourceReportUnprocessableEntity) String() string
- type DeleteResourceReportNoContent
- func (o *DeleteResourceReportNoContent) Code() int
- func (o *DeleteResourceReportNoContent) Error() string
- func (o *DeleteResourceReportNoContent) GetPayload() *models.ResourceReport
- func (o *DeleteResourceReportNoContent) IsClientError() bool
- func (o *DeleteResourceReportNoContent) IsCode(code int) bool
- func (o *DeleteResourceReportNoContent) IsRedirect() bool
- func (o *DeleteResourceReportNoContent) IsServerError() bool
- func (o *DeleteResourceReportNoContent) IsSuccess() bool
- func (o *DeleteResourceReportNoContent) String() string
- type DeleteResourceReportNotFound
- func (o *DeleteResourceReportNotFound) Code() int
- func (o *DeleteResourceReportNotFound) Error() string
- func (o *DeleteResourceReportNotFound) GetPayload() *models.Errors
- func (o *DeleteResourceReportNotFound) IsClientError() bool
- func (o *DeleteResourceReportNotFound) IsCode(code int) bool
- func (o *DeleteResourceReportNotFound) IsRedirect() bool
- func (o *DeleteResourceReportNotFound) IsServerError() bool
- func (o *DeleteResourceReportNotFound) IsSuccess() bool
- func (o *DeleteResourceReportNotFound) String() string
- type DeleteResourceReportParams
- func NewDeleteResourceReportParams() *DeleteResourceReportParams
- func NewDeleteResourceReportParamsWithContext(ctx context.Context) *DeleteResourceReportParams
- func NewDeleteResourceReportParamsWithHTTPClient(client *http.Client) *DeleteResourceReportParams
- func NewDeleteResourceReportParamsWithTimeout(timeout time.Duration) *DeleteResourceReportParams
- func (o *DeleteResourceReportParams) SetContext(ctx context.Context)
- func (o *DeleteResourceReportParams) SetDefaults()
- func (o *DeleteResourceReportParams) SetHTTPClient(client *http.Client)
- func (o *DeleteResourceReportParams) SetResourceReportToken(resourceReportToken string)
- func (o *DeleteResourceReportParams) SetTimeout(timeout time.Duration)
- func (o *DeleteResourceReportParams) WithContext(ctx context.Context) *DeleteResourceReportParams
- func (o *DeleteResourceReportParams) WithDefaults() *DeleteResourceReportParams
- func (o *DeleteResourceReportParams) WithHTTPClient(client *http.Client) *DeleteResourceReportParams
- func (o *DeleteResourceReportParams) WithResourceReportToken(resourceReportToken string) *DeleteResourceReportParams
- func (o *DeleteResourceReportParams) WithTimeout(timeout time.Duration) *DeleteResourceReportParams
- func (o *DeleteResourceReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteResourceReportReader
- type GetResourceReportNotFound
- func (o *GetResourceReportNotFound) Code() int
- func (o *GetResourceReportNotFound) Error() string
- func (o *GetResourceReportNotFound) GetPayload() *models.Errors
- func (o *GetResourceReportNotFound) IsClientError() bool
- func (o *GetResourceReportNotFound) IsCode(code int) bool
- func (o *GetResourceReportNotFound) IsRedirect() bool
- func (o *GetResourceReportNotFound) IsServerError() bool
- func (o *GetResourceReportNotFound) IsSuccess() bool
- func (o *GetResourceReportNotFound) String() string
- type GetResourceReportOK
- func (o *GetResourceReportOK) Code() int
- func (o *GetResourceReportOK) Error() string
- func (o *GetResourceReportOK) GetPayload() *models.ResourceReport
- func (o *GetResourceReportOK) IsClientError() bool
- func (o *GetResourceReportOK) IsCode(code int) bool
- func (o *GetResourceReportOK) IsRedirect() bool
- func (o *GetResourceReportOK) IsServerError() bool
- func (o *GetResourceReportOK) IsSuccess() bool
- func (o *GetResourceReportOK) String() string
- type GetResourceReportParams
- func NewGetResourceReportParams() *GetResourceReportParams
- func NewGetResourceReportParamsWithContext(ctx context.Context) *GetResourceReportParams
- func NewGetResourceReportParamsWithHTTPClient(client *http.Client) *GetResourceReportParams
- func NewGetResourceReportParamsWithTimeout(timeout time.Duration) *GetResourceReportParams
- func (o *GetResourceReportParams) SetContext(ctx context.Context)
- func (o *GetResourceReportParams) SetDefaults()
- func (o *GetResourceReportParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceReportParams) SetResourceReportToken(resourceReportToken string)
- func (o *GetResourceReportParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceReportParams) WithContext(ctx context.Context) *GetResourceReportParams
- func (o *GetResourceReportParams) WithDefaults() *GetResourceReportParams
- func (o *GetResourceReportParams) WithHTTPClient(client *http.Client) *GetResourceReportParams
- func (o *GetResourceReportParams) WithResourceReportToken(resourceReportToken string) *GetResourceReportParams
- func (o *GetResourceReportParams) WithTimeout(timeout time.Duration) *GetResourceReportParams
- func (o *GetResourceReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceReportReader
- type GetResourceReportsOK
- func (o *GetResourceReportsOK) Code() int
- func (o *GetResourceReportsOK) Error() string
- func (o *GetResourceReportsOK) GetPayload() *models.ResourceReports
- func (o *GetResourceReportsOK) IsClientError() bool
- func (o *GetResourceReportsOK) IsCode(code int) bool
- func (o *GetResourceReportsOK) IsRedirect() bool
- func (o *GetResourceReportsOK) IsServerError() bool
- func (o *GetResourceReportsOK) IsSuccess() bool
- func (o *GetResourceReportsOK) String() string
- type GetResourceReportsParams
- func NewGetResourceReportsParams() *GetResourceReportsParams
- func NewGetResourceReportsParamsWithContext(ctx context.Context) *GetResourceReportsParams
- func NewGetResourceReportsParamsWithHTTPClient(client *http.Client) *GetResourceReportsParams
- func NewGetResourceReportsParamsWithTimeout(timeout time.Duration) *GetResourceReportsParams
- func (o *GetResourceReportsParams) SetContext(ctx context.Context)
- func (o *GetResourceReportsParams) SetDefaults()
- func (o *GetResourceReportsParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceReportsParams) SetLimit(limit *int32)
- func (o *GetResourceReportsParams) SetPage(page *int32)
- func (o *GetResourceReportsParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceReportsParams) WithContext(ctx context.Context) *GetResourceReportsParams
- func (o *GetResourceReportsParams) WithDefaults() *GetResourceReportsParams
- func (o *GetResourceReportsParams) WithHTTPClient(client *http.Client) *GetResourceReportsParams
- func (o *GetResourceReportsParams) WithLimit(limit *int32) *GetResourceReportsParams
- func (o *GetResourceReportsParams) WithPage(page *int32) *GetResourceReportsParams
- func (o *GetResourceReportsParams) WithTimeout(timeout time.Duration) *GetResourceReportsParams
- func (o *GetResourceReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceReportsReader
- type UpdateResourceReportBadRequest
- func (o *UpdateResourceReportBadRequest) Code() int
- func (o *UpdateResourceReportBadRequest) Error() string
- func (o *UpdateResourceReportBadRequest) GetPayload() *models.Errors
- func (o *UpdateResourceReportBadRequest) IsClientError() bool
- func (o *UpdateResourceReportBadRequest) IsCode(code int) bool
- func (o *UpdateResourceReportBadRequest) IsRedirect() bool
- func (o *UpdateResourceReportBadRequest) IsServerError() bool
- func (o *UpdateResourceReportBadRequest) IsSuccess() bool
- func (o *UpdateResourceReportBadRequest) String() string
- type UpdateResourceReportNotFound
- func (o *UpdateResourceReportNotFound) Code() int
- func (o *UpdateResourceReportNotFound) Error() string
- func (o *UpdateResourceReportNotFound) GetPayload() *models.Errors
- func (o *UpdateResourceReportNotFound) IsClientError() bool
- func (o *UpdateResourceReportNotFound) IsCode(code int) bool
- func (o *UpdateResourceReportNotFound) IsRedirect() bool
- func (o *UpdateResourceReportNotFound) IsServerError() bool
- func (o *UpdateResourceReportNotFound) IsSuccess() bool
- func (o *UpdateResourceReportNotFound) String() string
- type UpdateResourceReportOK
- func (o *UpdateResourceReportOK) Code() int
- func (o *UpdateResourceReportOK) Error() string
- func (o *UpdateResourceReportOK) GetPayload() *models.ResourceReport
- func (o *UpdateResourceReportOK) IsClientError() bool
- func (o *UpdateResourceReportOK) IsCode(code int) bool
- func (o *UpdateResourceReportOK) IsRedirect() bool
- func (o *UpdateResourceReportOK) IsServerError() bool
- func (o *UpdateResourceReportOK) IsSuccess() bool
- func (o *UpdateResourceReportOK) String() string
- type UpdateResourceReportParams
- func NewUpdateResourceReportParams() *UpdateResourceReportParams
- func NewUpdateResourceReportParamsWithContext(ctx context.Context) *UpdateResourceReportParams
- func NewUpdateResourceReportParamsWithHTTPClient(client *http.Client) *UpdateResourceReportParams
- func NewUpdateResourceReportParamsWithTimeout(timeout time.Duration) *UpdateResourceReportParams
- func (o *UpdateResourceReportParams) SetContext(ctx context.Context)
- func (o *UpdateResourceReportParams) SetDefaults()
- func (o *UpdateResourceReportParams) SetHTTPClient(client *http.Client)
- func (o *UpdateResourceReportParams) SetResourceReportToken(resourceReportToken string)
- func (o *UpdateResourceReportParams) SetTimeout(timeout time.Duration)
- func (o *UpdateResourceReportParams) SetUpdateResourceReport(updateResourceReport *models.UpdateResourceReport)
- func (o *UpdateResourceReportParams) WithContext(ctx context.Context) *UpdateResourceReportParams
- func (o *UpdateResourceReportParams) WithDefaults() *UpdateResourceReportParams
- func (o *UpdateResourceReportParams) WithHTTPClient(client *http.Client) *UpdateResourceReportParams
- func (o *UpdateResourceReportParams) WithResourceReportToken(resourceReportToken string) *UpdateResourceReportParams
- func (o *UpdateResourceReportParams) WithTimeout(timeout time.Duration) *UpdateResourceReportParams
- func (o *UpdateResourceReportParams) WithUpdateResourceReport(updateResourceReport *models.UpdateResourceReport) *UpdateResourceReportParams
- func (o *UpdateResourceReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateResourceReportReader
- type UpdateResourceReportUnprocessableEntity
- func (o *UpdateResourceReportUnprocessableEntity) Code() int
- func (o *UpdateResourceReportUnprocessableEntity) Error() string
- func (o *UpdateResourceReportUnprocessableEntity) GetPayload() *models.Errors
- func (o *UpdateResourceReportUnprocessableEntity) IsClientError() bool
- func (o *UpdateResourceReportUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateResourceReportUnprocessableEntity) IsRedirect() bool
- func (o *UpdateResourceReportUnprocessableEntity) IsServerError() bool
- func (o *UpdateResourceReportUnprocessableEntity) IsSuccess() bool
- func (o *UpdateResourceReportUnprocessableEntity) String() string
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 resource reports API
func (*Client) CreateResourceReport ¶ added in v0.0.37
func (a *Client) CreateResourceReport(params *CreateResourceReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateResourceReportCreated, error)
CreateResourceReport Create a ResourceReport.
func (*Client) DeleteResourceReport ¶
func (a *Client) DeleteResourceReport(params *DeleteResourceReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteResourceReportNoContent, error)
DeleteResourceReport Delete a ResourceReport.
func (*Client) GetResourceReport ¶
func (a *Client) GetResourceReport(params *GetResourceReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceReportOK, error)
GetResourceReport Return a ResourceReport.
func (*Client) GetResourceReports ¶
func (a *Client) GetResourceReports(params *GetResourceReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceReportsOK, error)
GetResourceReports Return all ResourceReports.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateResourceReport ¶ added in v0.0.38
func (a *Client) UpdateResourceReport(params *UpdateResourceReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateResourceReportOK, error)
UpdateResourceReport Update a ResourceReport.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { CreateResourceReport(params *CreateResourceReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateResourceReportCreated, error) DeleteResourceReport(params *DeleteResourceReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteResourceReportNoContent, error) GetResourceReport(params *GetResourceReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceReportOK, error) GetResourceReports(params *GetResourceReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceReportsOK, error) UpdateResourceReport(params *UpdateResourceReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateResourceReportOK, 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 resource reports API client.
func NewClientWithBasicAuth ¶ added in v0.0.33
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new resource reports API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.0.33
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new resource reports API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateResourceReportBadRequest ¶ added in v0.0.37
CreateResourceReportBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewCreateResourceReportBadRequest ¶ added in v0.0.37
func NewCreateResourceReportBadRequest() *CreateResourceReportBadRequest
NewCreateResourceReportBadRequest creates a CreateResourceReportBadRequest with default headers values
func (*CreateResourceReportBadRequest) Code ¶ added in v0.0.37
func (o *CreateResourceReportBadRequest) Code() int
Code gets the status code for the create resource report bad request response
func (*CreateResourceReportBadRequest) Error ¶ added in v0.0.37
func (o *CreateResourceReportBadRequest) Error() string
func (*CreateResourceReportBadRequest) GetPayload ¶ added in v0.0.37
func (o *CreateResourceReportBadRequest) GetPayload() *models.Errors
func (*CreateResourceReportBadRequest) IsClientError ¶ added in v0.0.37
func (o *CreateResourceReportBadRequest) IsClientError() bool
IsClientError returns true when this create resource report bad request response has a 4xx status code
func (*CreateResourceReportBadRequest) IsCode ¶ added in v0.0.37
func (o *CreateResourceReportBadRequest) IsCode(code int) bool
IsCode returns true when this create resource report bad request response a status code equal to that given
func (*CreateResourceReportBadRequest) IsRedirect ¶ added in v0.0.37
func (o *CreateResourceReportBadRequest) IsRedirect() bool
IsRedirect returns true when this create resource report bad request response has a 3xx status code
func (*CreateResourceReportBadRequest) IsServerError ¶ added in v0.0.37
func (o *CreateResourceReportBadRequest) IsServerError() bool
IsServerError returns true when this create resource report bad request response has a 5xx status code
func (*CreateResourceReportBadRequest) IsSuccess ¶ added in v0.0.37
func (o *CreateResourceReportBadRequest) IsSuccess() bool
IsSuccess returns true when this create resource report bad request response has a 2xx status code
func (*CreateResourceReportBadRequest) String ¶ added in v0.0.37
func (o *CreateResourceReportBadRequest) String() string
type CreateResourceReportCreated ¶ added in v0.0.37
type CreateResourceReportCreated struct {
Payload *models.ResourceReport
}
CreateResourceReportCreated describes a response with status code 201, with default header values.
CreateResourceReportCreated create resource report created
func NewCreateResourceReportCreated ¶ added in v0.0.37
func NewCreateResourceReportCreated() *CreateResourceReportCreated
NewCreateResourceReportCreated creates a CreateResourceReportCreated with default headers values
func (*CreateResourceReportCreated) Code ¶ added in v0.0.37
func (o *CreateResourceReportCreated) Code() int
Code gets the status code for the create resource report created response
func (*CreateResourceReportCreated) Error ¶ added in v0.0.37
func (o *CreateResourceReportCreated) Error() string
func (*CreateResourceReportCreated) GetPayload ¶ added in v0.0.37
func (o *CreateResourceReportCreated) GetPayload() *models.ResourceReport
func (*CreateResourceReportCreated) IsClientError ¶ added in v0.0.37
func (o *CreateResourceReportCreated) IsClientError() bool
IsClientError returns true when this create resource report created response has a 4xx status code
func (*CreateResourceReportCreated) IsCode ¶ added in v0.0.37
func (o *CreateResourceReportCreated) IsCode(code int) bool
IsCode returns true when this create resource report created response a status code equal to that given
func (*CreateResourceReportCreated) IsRedirect ¶ added in v0.0.37
func (o *CreateResourceReportCreated) IsRedirect() bool
IsRedirect returns true when this create resource report created response has a 3xx status code
func (*CreateResourceReportCreated) IsServerError ¶ added in v0.0.37
func (o *CreateResourceReportCreated) IsServerError() bool
IsServerError returns true when this create resource report created response has a 5xx status code
func (*CreateResourceReportCreated) IsSuccess ¶ added in v0.0.37
func (o *CreateResourceReportCreated) IsSuccess() bool
IsSuccess returns true when this create resource report created response has a 2xx status code
func (*CreateResourceReportCreated) String ¶ added in v0.0.37
func (o *CreateResourceReportCreated) String() string
type CreateResourceReportParams ¶ added in v0.0.37
type CreateResourceReportParams struct { // CreateResourceReport. CreateResourceReport *models.CreateResourceReport Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateResourceReportParams contains all the parameters to send to the API endpoint
for the create resource report operation. Typically these are written to a http.Request.
func NewCreateResourceReportParams ¶ added in v0.0.37
func NewCreateResourceReportParams() *CreateResourceReportParams
NewCreateResourceReportParams creates a new CreateResourceReportParams 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 NewCreateResourceReportParamsWithContext ¶ added in v0.0.37
func NewCreateResourceReportParamsWithContext(ctx context.Context) *CreateResourceReportParams
NewCreateResourceReportParamsWithContext creates a new CreateResourceReportParams object with the ability to set a context for a request.
func NewCreateResourceReportParamsWithHTTPClient ¶ added in v0.0.37
func NewCreateResourceReportParamsWithHTTPClient(client *http.Client) *CreateResourceReportParams
NewCreateResourceReportParamsWithHTTPClient creates a new CreateResourceReportParams object with the ability to set a custom HTTPClient for a request.
func NewCreateResourceReportParamsWithTimeout ¶ added in v0.0.37
func NewCreateResourceReportParamsWithTimeout(timeout time.Duration) *CreateResourceReportParams
NewCreateResourceReportParamsWithTimeout creates a new CreateResourceReportParams object with the ability to set a timeout on a request.
func (*CreateResourceReportParams) SetContext ¶ added in v0.0.37
func (o *CreateResourceReportParams) SetContext(ctx context.Context)
SetContext adds the context to the create resource report params
func (*CreateResourceReportParams) SetCreateResourceReport ¶ added in v0.0.37
func (o *CreateResourceReportParams) SetCreateResourceReport(createResourceReport *models.CreateResourceReport)
SetCreateResourceReport adds the createResourceReport to the create resource report params
func (*CreateResourceReportParams) SetDefaults ¶ added in v0.0.37
func (o *CreateResourceReportParams) SetDefaults()
SetDefaults hydrates default values in the create resource report params (not the query body).
All values with no default are reset to their zero value.
func (*CreateResourceReportParams) SetHTTPClient ¶ added in v0.0.37
func (o *CreateResourceReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create resource report params
func (*CreateResourceReportParams) SetTimeout ¶ added in v0.0.37
func (o *CreateResourceReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create resource report params
func (*CreateResourceReportParams) WithContext ¶ added in v0.0.37
func (o *CreateResourceReportParams) WithContext(ctx context.Context) *CreateResourceReportParams
WithContext adds the context to the create resource report params
func (*CreateResourceReportParams) WithCreateResourceReport ¶ added in v0.0.37
func (o *CreateResourceReportParams) WithCreateResourceReport(createResourceReport *models.CreateResourceReport) *CreateResourceReportParams
WithCreateResourceReport adds the createResourceReport to the create resource report params
func (*CreateResourceReportParams) WithDefaults ¶ added in v0.0.37
func (o *CreateResourceReportParams) WithDefaults() *CreateResourceReportParams
WithDefaults hydrates default values in the create resource report params (not the query body).
All values with no default are reset to their zero value.
func (*CreateResourceReportParams) WithHTTPClient ¶ added in v0.0.37
func (o *CreateResourceReportParams) WithHTTPClient(client *http.Client) *CreateResourceReportParams
WithHTTPClient adds the HTTPClient to the create resource report params
func (*CreateResourceReportParams) WithTimeout ¶ added in v0.0.37
func (o *CreateResourceReportParams) WithTimeout(timeout time.Duration) *CreateResourceReportParams
WithTimeout adds the timeout to the create resource report params
func (*CreateResourceReportParams) WriteToRequest ¶ added in v0.0.37
func (o *CreateResourceReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateResourceReportReader ¶ added in v0.0.37
type CreateResourceReportReader struct {
// contains filtered or unexported fields
}
CreateResourceReportReader is a Reader for the CreateResourceReport structure.
func (*CreateResourceReportReader) ReadResponse ¶ added in v0.0.37
func (o *CreateResourceReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateResourceReportUnprocessableEntity ¶ added in v0.0.37
CreateResourceReportUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntity
func NewCreateResourceReportUnprocessableEntity ¶ added in v0.0.37
func NewCreateResourceReportUnprocessableEntity() *CreateResourceReportUnprocessableEntity
NewCreateResourceReportUnprocessableEntity creates a CreateResourceReportUnprocessableEntity with default headers values
func (*CreateResourceReportUnprocessableEntity) Code ¶ added in v0.0.37
func (o *CreateResourceReportUnprocessableEntity) Code() int
Code gets the status code for the create resource report unprocessable entity response
func (*CreateResourceReportUnprocessableEntity) Error ¶ added in v0.0.37
func (o *CreateResourceReportUnprocessableEntity) Error() string
func (*CreateResourceReportUnprocessableEntity) GetPayload ¶ added in v0.0.37
func (o *CreateResourceReportUnprocessableEntity) GetPayload() *models.Errors
func (*CreateResourceReportUnprocessableEntity) IsClientError ¶ added in v0.0.37
func (o *CreateResourceReportUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create resource report unprocessable entity response has a 4xx status code
func (*CreateResourceReportUnprocessableEntity) IsCode ¶ added in v0.0.37
func (o *CreateResourceReportUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create resource report unprocessable entity response a status code equal to that given
func (*CreateResourceReportUnprocessableEntity) IsRedirect ¶ added in v0.0.37
func (o *CreateResourceReportUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create resource report unprocessable entity response has a 3xx status code
func (*CreateResourceReportUnprocessableEntity) IsServerError ¶ added in v0.0.37
func (o *CreateResourceReportUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create resource report unprocessable entity response has a 5xx status code
func (*CreateResourceReportUnprocessableEntity) IsSuccess ¶ added in v0.0.37
func (o *CreateResourceReportUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create resource report unprocessable entity response has a 2xx status code
func (*CreateResourceReportUnprocessableEntity) String ¶ added in v0.0.37
func (o *CreateResourceReportUnprocessableEntity) String() string
type DeleteResourceReportNoContent ¶
type DeleteResourceReportNoContent struct {
Payload *models.ResourceReport
}
DeleteResourceReportNoContent describes a response with status code 204, with default header values.
DeleteResourceReportNoContent delete resource report no content
func NewDeleteResourceReportNoContent ¶
func NewDeleteResourceReportNoContent() *DeleteResourceReportNoContent
NewDeleteResourceReportNoContent creates a DeleteResourceReportNoContent with default headers values
func (*DeleteResourceReportNoContent) Code ¶
func (o *DeleteResourceReportNoContent) Code() int
Code gets the status code for the delete resource report no content response
func (*DeleteResourceReportNoContent) Error ¶
func (o *DeleteResourceReportNoContent) Error() string
func (*DeleteResourceReportNoContent) GetPayload ¶
func (o *DeleteResourceReportNoContent) GetPayload() *models.ResourceReport
func (*DeleteResourceReportNoContent) IsClientError ¶
func (o *DeleteResourceReportNoContent) IsClientError() bool
IsClientError returns true when this delete resource report no content response has a 4xx status code
func (*DeleteResourceReportNoContent) IsCode ¶
func (o *DeleteResourceReportNoContent) IsCode(code int) bool
IsCode returns true when this delete resource report no content response a status code equal to that given
func (*DeleteResourceReportNoContent) IsRedirect ¶
func (o *DeleteResourceReportNoContent) IsRedirect() bool
IsRedirect returns true when this delete resource report no content response has a 3xx status code
func (*DeleteResourceReportNoContent) IsServerError ¶
func (o *DeleteResourceReportNoContent) IsServerError() bool
IsServerError returns true when this delete resource report no content response has a 5xx status code
func (*DeleteResourceReportNoContent) IsSuccess ¶
func (o *DeleteResourceReportNoContent) IsSuccess() bool
IsSuccess returns true when this delete resource report no content response has a 2xx status code
func (*DeleteResourceReportNoContent) String ¶
func (o *DeleteResourceReportNoContent) String() string
type DeleteResourceReportNotFound ¶
DeleteResourceReportNotFound describes a response with status code 404, with default header values.
NotFound
func NewDeleteResourceReportNotFound ¶
func NewDeleteResourceReportNotFound() *DeleteResourceReportNotFound
NewDeleteResourceReportNotFound creates a DeleteResourceReportNotFound with default headers values
func (*DeleteResourceReportNotFound) Code ¶
func (o *DeleteResourceReportNotFound) Code() int
Code gets the status code for the delete resource report not found response
func (*DeleteResourceReportNotFound) Error ¶
func (o *DeleteResourceReportNotFound) Error() string
func (*DeleteResourceReportNotFound) GetPayload ¶
func (o *DeleteResourceReportNotFound) GetPayload() *models.Errors
func (*DeleteResourceReportNotFound) IsClientError ¶
func (o *DeleteResourceReportNotFound) IsClientError() bool
IsClientError returns true when this delete resource report not found response has a 4xx status code
func (*DeleteResourceReportNotFound) IsCode ¶
func (o *DeleteResourceReportNotFound) IsCode(code int) bool
IsCode returns true when this delete resource report not found response a status code equal to that given
func (*DeleteResourceReportNotFound) IsRedirect ¶
func (o *DeleteResourceReportNotFound) IsRedirect() bool
IsRedirect returns true when this delete resource report not found response has a 3xx status code
func (*DeleteResourceReportNotFound) IsServerError ¶
func (o *DeleteResourceReportNotFound) IsServerError() bool
IsServerError returns true when this delete resource report not found response has a 5xx status code
func (*DeleteResourceReportNotFound) IsSuccess ¶
func (o *DeleteResourceReportNotFound) IsSuccess() bool
IsSuccess returns true when this delete resource report not found response has a 2xx status code
func (*DeleteResourceReportNotFound) String ¶
func (o *DeleteResourceReportNotFound) String() string
type DeleteResourceReportParams ¶
type DeleteResourceReportParams struct { // ResourceReportToken. ResourceReportToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteResourceReportParams contains all the parameters to send to the API endpoint
for the delete resource report operation. Typically these are written to a http.Request.
func NewDeleteResourceReportParams ¶
func NewDeleteResourceReportParams() *DeleteResourceReportParams
NewDeleteResourceReportParams creates a new DeleteResourceReportParams 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 NewDeleteResourceReportParamsWithContext ¶
func NewDeleteResourceReportParamsWithContext(ctx context.Context) *DeleteResourceReportParams
NewDeleteResourceReportParamsWithContext creates a new DeleteResourceReportParams object with the ability to set a context for a request.
func NewDeleteResourceReportParamsWithHTTPClient ¶
func NewDeleteResourceReportParamsWithHTTPClient(client *http.Client) *DeleteResourceReportParams
NewDeleteResourceReportParamsWithHTTPClient creates a new DeleteResourceReportParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteResourceReportParamsWithTimeout ¶
func NewDeleteResourceReportParamsWithTimeout(timeout time.Duration) *DeleteResourceReportParams
NewDeleteResourceReportParamsWithTimeout creates a new DeleteResourceReportParams object with the ability to set a timeout on a request.
func (*DeleteResourceReportParams) SetContext ¶
func (o *DeleteResourceReportParams) SetContext(ctx context.Context)
SetContext adds the context to the delete resource report params
func (*DeleteResourceReportParams) SetDefaults ¶
func (o *DeleteResourceReportParams) SetDefaults()
SetDefaults hydrates default values in the delete resource report params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteResourceReportParams) SetHTTPClient ¶
func (o *DeleteResourceReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete resource report params
func (*DeleteResourceReportParams) SetResourceReportToken ¶
func (o *DeleteResourceReportParams) SetResourceReportToken(resourceReportToken string)
SetResourceReportToken adds the resourceReportToken to the delete resource report params
func (*DeleteResourceReportParams) SetTimeout ¶
func (o *DeleteResourceReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete resource report params
func (*DeleteResourceReportParams) WithContext ¶
func (o *DeleteResourceReportParams) WithContext(ctx context.Context) *DeleteResourceReportParams
WithContext adds the context to the delete resource report params
func (*DeleteResourceReportParams) WithDefaults ¶
func (o *DeleteResourceReportParams) WithDefaults() *DeleteResourceReportParams
WithDefaults hydrates default values in the delete resource report params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteResourceReportParams) WithHTTPClient ¶
func (o *DeleteResourceReportParams) WithHTTPClient(client *http.Client) *DeleteResourceReportParams
WithHTTPClient adds the HTTPClient to the delete resource report params
func (*DeleteResourceReportParams) WithResourceReportToken ¶
func (o *DeleteResourceReportParams) WithResourceReportToken(resourceReportToken string) *DeleteResourceReportParams
WithResourceReportToken adds the resourceReportToken to the delete resource report params
func (*DeleteResourceReportParams) WithTimeout ¶
func (o *DeleteResourceReportParams) WithTimeout(timeout time.Duration) *DeleteResourceReportParams
WithTimeout adds the timeout to the delete resource report params
func (*DeleteResourceReportParams) WriteToRequest ¶
func (o *DeleteResourceReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteResourceReportReader ¶
type DeleteResourceReportReader struct {
// contains filtered or unexported fields
}
DeleteResourceReportReader is a Reader for the DeleteResourceReport structure.
func (*DeleteResourceReportReader) ReadResponse ¶
func (o *DeleteResourceReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceReportNotFound ¶
GetResourceReportNotFound describes a response with status code 404, with default header values.
NotFound
func NewGetResourceReportNotFound ¶
func NewGetResourceReportNotFound() *GetResourceReportNotFound
NewGetResourceReportNotFound creates a GetResourceReportNotFound with default headers values
func (*GetResourceReportNotFound) Code ¶
func (o *GetResourceReportNotFound) Code() int
Code gets the status code for the get resource report not found response
func (*GetResourceReportNotFound) Error ¶
func (o *GetResourceReportNotFound) Error() string
func (*GetResourceReportNotFound) GetPayload ¶
func (o *GetResourceReportNotFound) GetPayload() *models.Errors
func (*GetResourceReportNotFound) IsClientError ¶
func (o *GetResourceReportNotFound) IsClientError() bool
IsClientError returns true when this get resource report not found response has a 4xx status code
func (*GetResourceReportNotFound) IsCode ¶
func (o *GetResourceReportNotFound) IsCode(code int) bool
IsCode returns true when this get resource report not found response a status code equal to that given
func (*GetResourceReportNotFound) IsRedirect ¶
func (o *GetResourceReportNotFound) IsRedirect() bool
IsRedirect returns true when this get resource report not found response has a 3xx status code
func (*GetResourceReportNotFound) IsServerError ¶
func (o *GetResourceReportNotFound) IsServerError() bool
IsServerError returns true when this get resource report not found response has a 5xx status code
func (*GetResourceReportNotFound) IsSuccess ¶
func (o *GetResourceReportNotFound) IsSuccess() bool
IsSuccess returns true when this get resource report not found response has a 2xx status code
func (*GetResourceReportNotFound) String ¶
func (o *GetResourceReportNotFound) String() string
type GetResourceReportOK ¶
type GetResourceReportOK struct {
Payload *models.ResourceReport
}
GetResourceReportOK describes a response with status code 200, with default header values.
GetResourceReportOK get resource report o k
func NewGetResourceReportOK ¶
func NewGetResourceReportOK() *GetResourceReportOK
NewGetResourceReportOK creates a GetResourceReportOK with default headers values
func (*GetResourceReportOK) Code ¶
func (o *GetResourceReportOK) Code() int
Code gets the status code for the get resource report o k response
func (*GetResourceReportOK) Error ¶
func (o *GetResourceReportOK) Error() string
func (*GetResourceReportOK) GetPayload ¶
func (o *GetResourceReportOK) GetPayload() *models.ResourceReport
func (*GetResourceReportOK) IsClientError ¶
func (o *GetResourceReportOK) IsClientError() bool
IsClientError returns true when this get resource report o k response has a 4xx status code
func (*GetResourceReportOK) IsCode ¶
func (o *GetResourceReportOK) IsCode(code int) bool
IsCode returns true when this get resource report o k response a status code equal to that given
func (*GetResourceReportOK) IsRedirect ¶
func (o *GetResourceReportOK) IsRedirect() bool
IsRedirect returns true when this get resource report o k response has a 3xx status code
func (*GetResourceReportOK) IsServerError ¶
func (o *GetResourceReportOK) IsServerError() bool
IsServerError returns true when this get resource report o k response has a 5xx status code
func (*GetResourceReportOK) IsSuccess ¶
func (o *GetResourceReportOK) IsSuccess() bool
IsSuccess returns true when this get resource report o k response has a 2xx status code
func (*GetResourceReportOK) String ¶
func (o *GetResourceReportOK) String() string
type GetResourceReportParams ¶
type GetResourceReportParams struct { // ResourceReportToken. ResourceReportToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceReportParams contains all the parameters to send to the API endpoint
for the get resource report operation. Typically these are written to a http.Request.
func NewGetResourceReportParams ¶
func NewGetResourceReportParams() *GetResourceReportParams
NewGetResourceReportParams creates a new GetResourceReportParams 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 NewGetResourceReportParamsWithContext ¶
func NewGetResourceReportParamsWithContext(ctx context.Context) *GetResourceReportParams
NewGetResourceReportParamsWithContext creates a new GetResourceReportParams object with the ability to set a context for a request.
func NewGetResourceReportParamsWithHTTPClient ¶
func NewGetResourceReportParamsWithHTTPClient(client *http.Client) *GetResourceReportParams
NewGetResourceReportParamsWithHTTPClient creates a new GetResourceReportParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceReportParamsWithTimeout ¶
func NewGetResourceReportParamsWithTimeout(timeout time.Duration) *GetResourceReportParams
NewGetResourceReportParamsWithTimeout creates a new GetResourceReportParams object with the ability to set a timeout on a request.
func (*GetResourceReportParams) SetContext ¶
func (o *GetResourceReportParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource report params
func (*GetResourceReportParams) SetDefaults ¶
func (o *GetResourceReportParams) SetDefaults()
SetDefaults hydrates default values in the get resource report params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceReportParams) SetHTTPClient ¶
func (o *GetResourceReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource report params
func (*GetResourceReportParams) SetResourceReportToken ¶
func (o *GetResourceReportParams) SetResourceReportToken(resourceReportToken string)
SetResourceReportToken adds the resourceReportToken to the get resource report params
func (*GetResourceReportParams) SetTimeout ¶
func (o *GetResourceReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource report params
func (*GetResourceReportParams) WithContext ¶
func (o *GetResourceReportParams) WithContext(ctx context.Context) *GetResourceReportParams
WithContext adds the context to the get resource report params
func (*GetResourceReportParams) WithDefaults ¶
func (o *GetResourceReportParams) WithDefaults() *GetResourceReportParams
WithDefaults hydrates default values in the get resource report params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceReportParams) WithHTTPClient ¶
func (o *GetResourceReportParams) WithHTTPClient(client *http.Client) *GetResourceReportParams
WithHTTPClient adds the HTTPClient to the get resource report params
func (*GetResourceReportParams) WithResourceReportToken ¶
func (o *GetResourceReportParams) WithResourceReportToken(resourceReportToken string) *GetResourceReportParams
WithResourceReportToken adds the resourceReportToken to the get resource report params
func (*GetResourceReportParams) WithTimeout ¶
func (o *GetResourceReportParams) WithTimeout(timeout time.Duration) *GetResourceReportParams
WithTimeout adds the timeout to the get resource report params
func (*GetResourceReportParams) WriteToRequest ¶
func (o *GetResourceReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceReportReader ¶
type GetResourceReportReader struct {
// contains filtered or unexported fields
}
GetResourceReportReader is a Reader for the GetResourceReport structure.
func (*GetResourceReportReader) ReadResponse ¶
func (o *GetResourceReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceReportsOK ¶
type GetResourceReportsOK struct {
Payload *models.ResourceReports
}
GetResourceReportsOK describes a response with status code 200, with default header values.
GetResourceReportsOK get resource reports o k
func NewGetResourceReportsOK ¶
func NewGetResourceReportsOK() *GetResourceReportsOK
NewGetResourceReportsOK creates a GetResourceReportsOK with default headers values
func (*GetResourceReportsOK) Code ¶
func (o *GetResourceReportsOK) Code() int
Code gets the status code for the get resource reports o k response
func (*GetResourceReportsOK) Error ¶
func (o *GetResourceReportsOK) Error() string
func (*GetResourceReportsOK) GetPayload ¶
func (o *GetResourceReportsOK) GetPayload() *models.ResourceReports
func (*GetResourceReportsOK) IsClientError ¶
func (o *GetResourceReportsOK) IsClientError() bool
IsClientError returns true when this get resource reports o k response has a 4xx status code
func (*GetResourceReportsOK) IsCode ¶
func (o *GetResourceReportsOK) IsCode(code int) bool
IsCode returns true when this get resource reports o k response a status code equal to that given
func (*GetResourceReportsOK) IsRedirect ¶
func (o *GetResourceReportsOK) IsRedirect() bool
IsRedirect returns true when this get resource reports o k response has a 3xx status code
func (*GetResourceReportsOK) IsServerError ¶
func (o *GetResourceReportsOK) IsServerError() bool
IsServerError returns true when this get resource reports o k response has a 5xx status code
func (*GetResourceReportsOK) IsSuccess ¶
func (o *GetResourceReportsOK) IsSuccess() bool
IsSuccess returns true when this get resource reports o k response has a 2xx status code
func (*GetResourceReportsOK) String ¶
func (o *GetResourceReportsOK) String() string
type GetResourceReportsParams ¶
type GetResourceReportsParams struct { /* Limit. The number of results to return. The maximum is 1000. Format: int32 */ Limit *int32 /* Page. The page of results to return. Format: int32 */ Page *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceReportsParams contains all the parameters to send to the API endpoint
for the get resource reports operation. Typically these are written to a http.Request.
func NewGetResourceReportsParams ¶
func NewGetResourceReportsParams() *GetResourceReportsParams
NewGetResourceReportsParams creates a new GetResourceReportsParams 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 NewGetResourceReportsParamsWithContext ¶
func NewGetResourceReportsParamsWithContext(ctx context.Context) *GetResourceReportsParams
NewGetResourceReportsParamsWithContext creates a new GetResourceReportsParams object with the ability to set a context for a request.
func NewGetResourceReportsParamsWithHTTPClient ¶
func NewGetResourceReportsParamsWithHTTPClient(client *http.Client) *GetResourceReportsParams
NewGetResourceReportsParamsWithHTTPClient creates a new GetResourceReportsParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceReportsParamsWithTimeout ¶
func NewGetResourceReportsParamsWithTimeout(timeout time.Duration) *GetResourceReportsParams
NewGetResourceReportsParamsWithTimeout creates a new GetResourceReportsParams object with the ability to set a timeout on a request.
func (*GetResourceReportsParams) SetContext ¶
func (o *GetResourceReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource reports params
func (*GetResourceReportsParams) SetDefaults ¶
func (o *GetResourceReportsParams) SetDefaults()
SetDefaults hydrates default values in the get resource reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceReportsParams) SetHTTPClient ¶
func (o *GetResourceReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource reports params
func (*GetResourceReportsParams) SetLimit ¶
func (o *GetResourceReportsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get resource reports params
func (*GetResourceReportsParams) SetPage ¶
func (o *GetResourceReportsParams) SetPage(page *int32)
SetPage adds the page to the get resource reports params
func (*GetResourceReportsParams) SetTimeout ¶
func (o *GetResourceReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource reports params
func (*GetResourceReportsParams) WithContext ¶
func (o *GetResourceReportsParams) WithContext(ctx context.Context) *GetResourceReportsParams
WithContext adds the context to the get resource reports params
func (*GetResourceReportsParams) WithDefaults ¶
func (o *GetResourceReportsParams) WithDefaults() *GetResourceReportsParams
WithDefaults hydrates default values in the get resource reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceReportsParams) WithHTTPClient ¶
func (o *GetResourceReportsParams) WithHTTPClient(client *http.Client) *GetResourceReportsParams
WithHTTPClient adds the HTTPClient to the get resource reports params
func (*GetResourceReportsParams) WithLimit ¶
func (o *GetResourceReportsParams) WithLimit(limit *int32) *GetResourceReportsParams
WithLimit adds the limit to the get resource reports params
func (*GetResourceReportsParams) WithPage ¶
func (o *GetResourceReportsParams) WithPage(page *int32) *GetResourceReportsParams
WithPage adds the page to the get resource reports params
func (*GetResourceReportsParams) WithTimeout ¶
func (o *GetResourceReportsParams) WithTimeout(timeout time.Duration) *GetResourceReportsParams
WithTimeout adds the timeout to the get resource reports params
func (*GetResourceReportsParams) WriteToRequest ¶
func (o *GetResourceReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceReportsReader ¶
type GetResourceReportsReader struct {
// contains filtered or unexported fields
}
GetResourceReportsReader is a Reader for the GetResourceReports structure.
func (*GetResourceReportsReader) ReadResponse ¶
func (o *GetResourceReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateResourceReportBadRequest ¶ added in v0.0.38
UpdateResourceReportBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewUpdateResourceReportBadRequest ¶ added in v0.0.38
func NewUpdateResourceReportBadRequest() *UpdateResourceReportBadRequest
NewUpdateResourceReportBadRequest creates a UpdateResourceReportBadRequest with default headers values
func (*UpdateResourceReportBadRequest) Code ¶ added in v0.0.38
func (o *UpdateResourceReportBadRequest) Code() int
Code gets the status code for the update resource report bad request response
func (*UpdateResourceReportBadRequest) Error ¶ added in v0.0.38
func (o *UpdateResourceReportBadRequest) Error() string
func (*UpdateResourceReportBadRequest) GetPayload ¶ added in v0.0.38
func (o *UpdateResourceReportBadRequest) GetPayload() *models.Errors
func (*UpdateResourceReportBadRequest) IsClientError ¶ added in v0.0.38
func (o *UpdateResourceReportBadRequest) IsClientError() bool
IsClientError returns true when this update resource report bad request response has a 4xx status code
func (*UpdateResourceReportBadRequest) IsCode ¶ added in v0.0.38
func (o *UpdateResourceReportBadRequest) IsCode(code int) bool
IsCode returns true when this update resource report bad request response a status code equal to that given
func (*UpdateResourceReportBadRequest) IsRedirect ¶ added in v0.0.38
func (o *UpdateResourceReportBadRequest) IsRedirect() bool
IsRedirect returns true when this update resource report bad request response has a 3xx status code
func (*UpdateResourceReportBadRequest) IsServerError ¶ added in v0.0.38
func (o *UpdateResourceReportBadRequest) IsServerError() bool
IsServerError returns true when this update resource report bad request response has a 5xx status code
func (*UpdateResourceReportBadRequest) IsSuccess ¶ added in v0.0.38
func (o *UpdateResourceReportBadRequest) IsSuccess() bool
IsSuccess returns true when this update resource report bad request response has a 2xx status code
func (*UpdateResourceReportBadRequest) String ¶ added in v0.0.38
func (o *UpdateResourceReportBadRequest) String() string
type UpdateResourceReportNotFound ¶ added in v0.0.38
UpdateResourceReportNotFound describes a response with status code 404, with default header values.
NotFound
func NewUpdateResourceReportNotFound ¶ added in v0.0.38
func NewUpdateResourceReportNotFound() *UpdateResourceReportNotFound
NewUpdateResourceReportNotFound creates a UpdateResourceReportNotFound with default headers values
func (*UpdateResourceReportNotFound) Code ¶ added in v0.0.38
func (o *UpdateResourceReportNotFound) Code() int
Code gets the status code for the update resource report not found response
func (*UpdateResourceReportNotFound) Error ¶ added in v0.0.38
func (o *UpdateResourceReportNotFound) Error() string
func (*UpdateResourceReportNotFound) GetPayload ¶ added in v0.0.38
func (o *UpdateResourceReportNotFound) GetPayload() *models.Errors
func (*UpdateResourceReportNotFound) IsClientError ¶ added in v0.0.38
func (o *UpdateResourceReportNotFound) IsClientError() bool
IsClientError returns true when this update resource report not found response has a 4xx status code
func (*UpdateResourceReportNotFound) IsCode ¶ added in v0.0.38
func (o *UpdateResourceReportNotFound) IsCode(code int) bool
IsCode returns true when this update resource report not found response a status code equal to that given
func (*UpdateResourceReportNotFound) IsRedirect ¶ added in v0.0.38
func (o *UpdateResourceReportNotFound) IsRedirect() bool
IsRedirect returns true when this update resource report not found response has a 3xx status code
func (*UpdateResourceReportNotFound) IsServerError ¶ added in v0.0.38
func (o *UpdateResourceReportNotFound) IsServerError() bool
IsServerError returns true when this update resource report not found response has a 5xx status code
func (*UpdateResourceReportNotFound) IsSuccess ¶ added in v0.0.38
func (o *UpdateResourceReportNotFound) IsSuccess() bool
IsSuccess returns true when this update resource report not found response has a 2xx status code
func (*UpdateResourceReportNotFound) String ¶ added in v0.0.38
func (o *UpdateResourceReportNotFound) String() string
type UpdateResourceReportOK ¶ added in v0.0.38
type UpdateResourceReportOK struct {
Payload *models.ResourceReport
}
UpdateResourceReportOK describes a response with status code 200, with default header values.
UpdateResourceReportOK update resource report o k
func NewUpdateResourceReportOK ¶ added in v0.0.38
func NewUpdateResourceReportOK() *UpdateResourceReportOK
NewUpdateResourceReportOK creates a UpdateResourceReportOK with default headers values
func (*UpdateResourceReportOK) Code ¶ added in v0.0.38
func (o *UpdateResourceReportOK) Code() int
Code gets the status code for the update resource report o k response
func (*UpdateResourceReportOK) Error ¶ added in v0.0.38
func (o *UpdateResourceReportOK) Error() string
func (*UpdateResourceReportOK) GetPayload ¶ added in v0.0.38
func (o *UpdateResourceReportOK) GetPayload() *models.ResourceReport
func (*UpdateResourceReportOK) IsClientError ¶ added in v0.0.38
func (o *UpdateResourceReportOK) IsClientError() bool
IsClientError returns true when this update resource report o k response has a 4xx status code
func (*UpdateResourceReportOK) IsCode ¶ added in v0.0.38
func (o *UpdateResourceReportOK) IsCode(code int) bool
IsCode returns true when this update resource report o k response a status code equal to that given
func (*UpdateResourceReportOK) IsRedirect ¶ added in v0.0.38
func (o *UpdateResourceReportOK) IsRedirect() bool
IsRedirect returns true when this update resource report o k response has a 3xx status code
func (*UpdateResourceReportOK) IsServerError ¶ added in v0.0.38
func (o *UpdateResourceReportOK) IsServerError() bool
IsServerError returns true when this update resource report o k response has a 5xx status code
func (*UpdateResourceReportOK) IsSuccess ¶ added in v0.0.38
func (o *UpdateResourceReportOK) IsSuccess() bool
IsSuccess returns true when this update resource report o k response has a 2xx status code
func (*UpdateResourceReportOK) String ¶ added in v0.0.38
func (o *UpdateResourceReportOK) String() string
type UpdateResourceReportParams ¶ added in v0.0.38
type UpdateResourceReportParams struct { // ResourceReportToken. ResourceReportToken string // UpdateResourceReport. UpdateResourceReport *models.UpdateResourceReport Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateResourceReportParams contains all the parameters to send to the API endpoint
for the update resource report operation. Typically these are written to a http.Request.
func NewUpdateResourceReportParams ¶ added in v0.0.38
func NewUpdateResourceReportParams() *UpdateResourceReportParams
NewUpdateResourceReportParams creates a new UpdateResourceReportParams 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 NewUpdateResourceReportParamsWithContext ¶ added in v0.0.38
func NewUpdateResourceReportParamsWithContext(ctx context.Context) *UpdateResourceReportParams
NewUpdateResourceReportParamsWithContext creates a new UpdateResourceReportParams object with the ability to set a context for a request.
func NewUpdateResourceReportParamsWithHTTPClient ¶ added in v0.0.38
func NewUpdateResourceReportParamsWithHTTPClient(client *http.Client) *UpdateResourceReportParams
NewUpdateResourceReportParamsWithHTTPClient creates a new UpdateResourceReportParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateResourceReportParamsWithTimeout ¶ added in v0.0.38
func NewUpdateResourceReportParamsWithTimeout(timeout time.Duration) *UpdateResourceReportParams
NewUpdateResourceReportParamsWithTimeout creates a new UpdateResourceReportParams object with the ability to set a timeout on a request.
func (*UpdateResourceReportParams) SetContext ¶ added in v0.0.38
func (o *UpdateResourceReportParams) SetContext(ctx context.Context)
SetContext adds the context to the update resource report params
func (*UpdateResourceReportParams) SetDefaults ¶ added in v0.0.38
func (o *UpdateResourceReportParams) SetDefaults()
SetDefaults hydrates default values in the update resource report params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateResourceReportParams) SetHTTPClient ¶ added in v0.0.38
func (o *UpdateResourceReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update resource report params
func (*UpdateResourceReportParams) SetResourceReportToken ¶ added in v0.0.38
func (o *UpdateResourceReportParams) SetResourceReportToken(resourceReportToken string)
SetResourceReportToken adds the resourceReportToken to the update resource report params
func (*UpdateResourceReportParams) SetTimeout ¶ added in v0.0.38
func (o *UpdateResourceReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update resource report params
func (*UpdateResourceReportParams) SetUpdateResourceReport ¶ added in v0.0.38
func (o *UpdateResourceReportParams) SetUpdateResourceReport(updateResourceReport *models.UpdateResourceReport)
SetUpdateResourceReport adds the updateResourceReport to the update resource report params
func (*UpdateResourceReportParams) WithContext ¶ added in v0.0.38
func (o *UpdateResourceReportParams) WithContext(ctx context.Context) *UpdateResourceReportParams
WithContext adds the context to the update resource report params
func (*UpdateResourceReportParams) WithDefaults ¶ added in v0.0.38
func (o *UpdateResourceReportParams) WithDefaults() *UpdateResourceReportParams
WithDefaults hydrates default values in the update resource report params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateResourceReportParams) WithHTTPClient ¶ added in v0.0.38
func (o *UpdateResourceReportParams) WithHTTPClient(client *http.Client) *UpdateResourceReportParams
WithHTTPClient adds the HTTPClient to the update resource report params
func (*UpdateResourceReportParams) WithResourceReportToken ¶ added in v0.0.38
func (o *UpdateResourceReportParams) WithResourceReportToken(resourceReportToken string) *UpdateResourceReportParams
WithResourceReportToken adds the resourceReportToken to the update resource report params
func (*UpdateResourceReportParams) WithTimeout ¶ added in v0.0.38
func (o *UpdateResourceReportParams) WithTimeout(timeout time.Duration) *UpdateResourceReportParams
WithTimeout adds the timeout to the update resource report params
func (*UpdateResourceReportParams) WithUpdateResourceReport ¶ added in v0.0.38
func (o *UpdateResourceReportParams) WithUpdateResourceReport(updateResourceReport *models.UpdateResourceReport) *UpdateResourceReportParams
WithUpdateResourceReport adds the updateResourceReport to the update resource report params
func (*UpdateResourceReportParams) WriteToRequest ¶ added in v0.0.38
func (o *UpdateResourceReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateResourceReportReader ¶ added in v0.0.38
type UpdateResourceReportReader struct {
// contains filtered or unexported fields
}
UpdateResourceReportReader is a Reader for the UpdateResourceReport structure.
func (*UpdateResourceReportReader) ReadResponse ¶ added in v0.0.38
func (o *UpdateResourceReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateResourceReportUnprocessableEntity ¶ added in v0.0.38
UpdateResourceReportUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntity
func NewUpdateResourceReportUnprocessableEntity ¶ added in v0.0.38
func NewUpdateResourceReportUnprocessableEntity() *UpdateResourceReportUnprocessableEntity
NewUpdateResourceReportUnprocessableEntity creates a UpdateResourceReportUnprocessableEntity with default headers values
func (*UpdateResourceReportUnprocessableEntity) Code ¶ added in v0.0.38
func (o *UpdateResourceReportUnprocessableEntity) Code() int
Code gets the status code for the update resource report unprocessable entity response
func (*UpdateResourceReportUnprocessableEntity) Error ¶ added in v0.0.38
func (o *UpdateResourceReportUnprocessableEntity) Error() string
func (*UpdateResourceReportUnprocessableEntity) GetPayload ¶ added in v0.0.38
func (o *UpdateResourceReportUnprocessableEntity) GetPayload() *models.Errors
func (*UpdateResourceReportUnprocessableEntity) IsClientError ¶ added in v0.0.38
func (o *UpdateResourceReportUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update resource report unprocessable entity response has a 4xx status code
func (*UpdateResourceReportUnprocessableEntity) IsCode ¶ added in v0.0.38
func (o *UpdateResourceReportUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update resource report unprocessable entity response a status code equal to that given
func (*UpdateResourceReportUnprocessableEntity) IsRedirect ¶ added in v0.0.38
func (o *UpdateResourceReportUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update resource report unprocessable entity response has a 3xx status code
func (*UpdateResourceReportUnprocessableEntity) IsServerError ¶ added in v0.0.38
func (o *UpdateResourceReportUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update resource report unprocessable entity response has a 5xx status code
func (*UpdateResourceReportUnprocessableEntity) IsSuccess ¶ added in v0.0.38
func (o *UpdateResourceReportUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update resource report unprocessable entity response has a 2xx status code
func (*UpdateResourceReportUnprocessableEntity) String ¶ added in v0.0.38
func (o *UpdateResourceReportUnprocessableEntity) String() string
Source Files
¶
- create_resource_report_parameters.go
- create_resource_report_responses.go
- delete_resource_report_parameters.go
- delete_resource_report_responses.go
- get_resource_report_parameters.go
- get_resource_report_responses.go
- get_resource_reports_parameters.go
- get_resource_reports_responses.go
- resource_reports_client.go
- update_resource_report_parameters.go
- update_resource_report_responses.go