Documentation ¶
Index ¶
- type Client
- func (a *Client) GetResourceWarning(params *GetResourceWarningParams, opts ...ClientOption) (*GetResourceWarningOK, error)
- func (a *Client) GetResourceWarnings(params *GetResourceWarningsParams, opts ...ClientOption) (*GetResourceWarningsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetResourceWarningInternalServerError
- func (o *GetResourceWarningInternalServerError) Error() string
- func (o *GetResourceWarningInternalServerError) GetPayload() *models.Error
- func (o *GetResourceWarningInternalServerError) IsClientError() bool
- func (o *GetResourceWarningInternalServerError) IsCode(code int) bool
- func (o *GetResourceWarningInternalServerError) IsRedirect() bool
- func (o *GetResourceWarningInternalServerError) IsServerError() bool
- func (o *GetResourceWarningInternalServerError) IsSuccess() bool
- func (o *GetResourceWarningInternalServerError) String() string
- type GetResourceWarningNotFound
- func (o *GetResourceWarningNotFound) Error() string
- func (o *GetResourceWarningNotFound) GetPayload() *models.Error
- func (o *GetResourceWarningNotFound) IsClientError() bool
- func (o *GetResourceWarningNotFound) IsCode(code int) bool
- func (o *GetResourceWarningNotFound) IsRedirect() bool
- func (o *GetResourceWarningNotFound) IsServerError() bool
- func (o *GetResourceWarningNotFound) IsSuccess() bool
- func (o *GetResourceWarningNotFound) String() string
- type GetResourceWarningOK
- func (o *GetResourceWarningOK) Error() string
- func (o *GetResourceWarningOK) GetPayload() *models.ResourceWarning
- func (o *GetResourceWarningOK) IsClientError() bool
- func (o *GetResourceWarningOK) IsCode(code int) bool
- func (o *GetResourceWarningOK) IsRedirect() bool
- func (o *GetResourceWarningOK) IsServerError() bool
- func (o *GetResourceWarningOK) IsSuccess() bool
- func (o *GetResourceWarningOK) String() string
- type GetResourceWarningParams
- func NewGetResourceWarningParams() *GetResourceWarningParams
- func NewGetResourceWarningParamsWithContext(ctx context.Context) *GetResourceWarningParams
- func NewGetResourceWarningParamsWithHTTPClient(client *http.Client) *GetResourceWarningParams
- func NewGetResourceWarningParamsWithTimeout(timeout time.Duration) *GetResourceWarningParams
- func (o *GetResourceWarningParams) SetContext(ctx context.Context)
- func (o *GetResourceWarningParams) SetDefaults()
- func (o *GetResourceWarningParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceWarningParams) SetID(id string)
- func (o *GetResourceWarningParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceWarningParams) WithContext(ctx context.Context) *GetResourceWarningParams
- func (o *GetResourceWarningParams) WithDefaults() *GetResourceWarningParams
- func (o *GetResourceWarningParams) WithHTTPClient(client *http.Client) *GetResourceWarningParams
- func (o *GetResourceWarningParams) WithID(id string) *GetResourceWarningParams
- func (o *GetResourceWarningParams) WithTimeout(timeout time.Duration) *GetResourceWarningParams
- func (o *GetResourceWarningParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceWarningReader
- type GetResourceWarningsBadRequest
- func (o *GetResourceWarningsBadRequest) Error() string
- func (o *GetResourceWarningsBadRequest) GetPayload() *models.Error
- func (o *GetResourceWarningsBadRequest) IsClientError() bool
- func (o *GetResourceWarningsBadRequest) IsCode(code int) bool
- func (o *GetResourceWarningsBadRequest) IsRedirect() bool
- func (o *GetResourceWarningsBadRequest) IsServerError() bool
- func (o *GetResourceWarningsBadRequest) IsSuccess() bool
- func (o *GetResourceWarningsBadRequest) String() string
- type GetResourceWarningsInternalServerError
- func (o *GetResourceWarningsInternalServerError) Error() string
- func (o *GetResourceWarningsInternalServerError) GetPayload() *models.Error
- func (o *GetResourceWarningsInternalServerError) IsClientError() bool
- func (o *GetResourceWarningsInternalServerError) IsCode(code int) bool
- func (o *GetResourceWarningsInternalServerError) IsRedirect() bool
- func (o *GetResourceWarningsInternalServerError) IsServerError() bool
- func (o *GetResourceWarningsInternalServerError) IsSuccess() bool
- func (o *GetResourceWarningsInternalServerError) String() string
- type GetResourceWarningsOK
- func (o *GetResourceWarningsOK) Error() string
- func (o *GetResourceWarningsOK) GetPayload() *models.PageOfResourceWarning
- func (o *GetResourceWarningsOK) IsClientError() bool
- func (o *GetResourceWarningsOK) IsCode(code int) bool
- func (o *GetResourceWarningsOK) IsRedirect() bool
- func (o *GetResourceWarningsOK) IsServerError() bool
- func (o *GetResourceWarningsOK) IsSuccess() bool
- func (o *GetResourceWarningsOK) String() string
- type GetResourceWarningsParams
- func NewGetResourceWarningsParams() *GetResourceWarningsParams
- func NewGetResourceWarningsParamsWithContext(ctx context.Context) *GetResourceWarningsParams
- func NewGetResourceWarningsParamsWithHTTPClient(client *http.Client) *GetResourceWarningsParams
- func NewGetResourceWarningsParamsWithTimeout(timeout time.Duration) *GetResourceWarningsParams
- func (o *GetResourceWarningsParams) SetContext(ctx context.Context)
- func (o *GetResourceWarningsParams) SetDefaults()
- func (o *GetResourceWarningsParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceWarningsParams) SetResourceIds(resourceIds []string)
- func (o *GetResourceWarningsParams) SetResourceNames(resourceNames []string)
- func (o *GetResourceWarningsParams) SetResourceType(resourceType *string)
- func (o *GetResourceWarningsParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceWarningsParams) WithContext(ctx context.Context) *GetResourceWarningsParams
- func (o *GetResourceWarningsParams) WithDefaults() *GetResourceWarningsParams
- func (o *GetResourceWarningsParams) WithHTTPClient(client *http.Client) *GetResourceWarningsParams
- func (o *GetResourceWarningsParams) WithResourceIds(resourceIds []string) *GetResourceWarningsParams
- func (o *GetResourceWarningsParams) WithResourceNames(resourceNames []string) *GetResourceWarningsParams
- func (o *GetResourceWarningsParams) WithResourceType(resourceType *string) *GetResourceWarningsParams
- func (o *GetResourceWarningsParams) WithTimeout(timeout time.Duration) *GetResourceWarningsParams
- func (o *GetResourceWarningsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceWarningsReader
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 warnings API
func (*Client) GetResourceWarning ¶ added in v0.1.1
func (a *Client) GetResourceWarning(params *GetResourceWarningParams, opts ...ClientOption) (*GetResourceWarningOK, error)
GetResourceWarning gets a resource warning by ID
func (*Client) GetResourceWarnings ¶ added in v0.1.1
func (a *Client) GetResourceWarnings(params *GetResourceWarningsParams, opts ...ClientOption) (*GetResourceWarningsOK, error)
GetResourceWarnings gets resource warnings
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetResourceWarning(params *GetResourceWarningParams, opts ...ClientOption) (*GetResourceWarningOK, error) GetResourceWarnings(params *GetResourceWarningsParams, opts ...ClientOption) (*GetResourceWarningsOK, 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 warnings API client.
type GetResourceWarningInternalServerError ¶ added in v0.1.1
GetResourceWarningInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetResourceWarningInternalServerError ¶ added in v0.1.1
func NewGetResourceWarningInternalServerError() *GetResourceWarningInternalServerError
NewGetResourceWarningInternalServerError creates a GetResourceWarningInternalServerError with default headers values
func (*GetResourceWarningInternalServerError) Error ¶ added in v0.1.1
func (o *GetResourceWarningInternalServerError) Error() string
func (*GetResourceWarningInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetResourceWarningInternalServerError) GetPayload() *models.Error
func (*GetResourceWarningInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetResourceWarningInternalServerError) IsClientError() bool
IsClientError returns true when this get resource warning internal server error response has a 4xx status code
func (*GetResourceWarningInternalServerError) IsCode ¶ added in v0.1.1
func (o *GetResourceWarningInternalServerError) IsCode(code int) bool
IsCode returns true when this get resource warning internal server error response a status code equal to that given
func (*GetResourceWarningInternalServerError) IsRedirect ¶ added in v0.1.1
func (o *GetResourceWarningInternalServerError) IsRedirect() bool
IsRedirect returns true when this get resource warning internal server error response has a 3xx status code
func (*GetResourceWarningInternalServerError) IsServerError ¶ added in v0.1.1
func (o *GetResourceWarningInternalServerError) IsServerError() bool
IsServerError returns true when this get resource warning internal server error response has a 5xx status code
func (*GetResourceWarningInternalServerError) IsSuccess ¶ added in v0.1.1
func (o *GetResourceWarningInternalServerError) IsSuccess() bool
IsSuccess returns true when this get resource warning internal server error response has a 2xx status code
func (*GetResourceWarningInternalServerError) String ¶ added in v0.1.1
func (o *GetResourceWarningInternalServerError) String() string
type GetResourceWarningNotFound ¶ added in v0.1.1
GetResourceWarningNotFound describes a response with status code 404, with default header values.
Resource Warning not found
func NewGetResourceWarningNotFound ¶ added in v0.1.1
func NewGetResourceWarningNotFound() *GetResourceWarningNotFound
NewGetResourceWarningNotFound creates a GetResourceWarningNotFound with default headers values
func (*GetResourceWarningNotFound) Error ¶ added in v0.1.1
func (o *GetResourceWarningNotFound) Error() string
func (*GetResourceWarningNotFound) GetPayload ¶ added in v0.1.1
func (o *GetResourceWarningNotFound) GetPayload() *models.Error
func (*GetResourceWarningNotFound) IsClientError ¶ added in v0.1.1
func (o *GetResourceWarningNotFound) IsClientError() bool
IsClientError returns true when this get resource warning not found response has a 4xx status code
func (*GetResourceWarningNotFound) IsCode ¶ added in v0.1.1
func (o *GetResourceWarningNotFound) IsCode(code int) bool
IsCode returns true when this get resource warning not found response a status code equal to that given
func (*GetResourceWarningNotFound) IsRedirect ¶ added in v0.1.1
func (o *GetResourceWarningNotFound) IsRedirect() bool
IsRedirect returns true when this get resource warning not found response has a 3xx status code
func (*GetResourceWarningNotFound) IsServerError ¶ added in v0.1.1
func (o *GetResourceWarningNotFound) IsServerError() bool
IsServerError returns true when this get resource warning not found response has a 5xx status code
func (*GetResourceWarningNotFound) IsSuccess ¶ added in v0.1.1
func (o *GetResourceWarningNotFound) IsSuccess() bool
IsSuccess returns true when this get resource warning not found response has a 2xx status code
func (*GetResourceWarningNotFound) String ¶ added in v0.1.1
func (o *GetResourceWarningNotFound) String() string
type GetResourceWarningOK ¶ added in v0.1.1
type GetResourceWarningOK struct {
Payload *models.ResourceWarning
}
GetResourceWarningOK describes a response with status code 200, with default header values.
OK
func NewGetResourceWarningOK ¶ added in v0.1.1
func NewGetResourceWarningOK() *GetResourceWarningOK
NewGetResourceWarningOK creates a GetResourceWarningOK with default headers values
func (*GetResourceWarningOK) Error ¶ added in v0.1.1
func (o *GetResourceWarningOK) Error() string
func (*GetResourceWarningOK) GetPayload ¶ added in v0.1.1
func (o *GetResourceWarningOK) GetPayload() *models.ResourceWarning
func (*GetResourceWarningOK) IsClientError ¶ added in v0.1.1
func (o *GetResourceWarningOK) IsClientError() bool
IsClientError returns true when this get resource warning o k response has a 4xx status code
func (*GetResourceWarningOK) IsCode ¶ added in v0.1.1
func (o *GetResourceWarningOK) IsCode(code int) bool
IsCode returns true when this get resource warning o k response a status code equal to that given
func (*GetResourceWarningOK) IsRedirect ¶ added in v0.1.1
func (o *GetResourceWarningOK) IsRedirect() bool
IsRedirect returns true when this get resource warning o k response has a 3xx status code
func (*GetResourceWarningOK) IsServerError ¶ added in v0.1.1
func (o *GetResourceWarningOK) IsServerError() bool
IsServerError returns true when this get resource warning o k response has a 5xx status code
func (*GetResourceWarningOK) IsSuccess ¶ added in v0.1.1
func (o *GetResourceWarningOK) IsSuccess() bool
IsSuccess returns true when this get resource warning o k response has a 2xx status code
func (*GetResourceWarningOK) String ¶ added in v0.1.1
func (o *GetResourceWarningOK) String() string
type GetResourceWarningParams ¶ added in v0.1.1
type GetResourceWarningParams struct { /* ID. id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceWarningParams contains all the parameters to send to the API endpoint
for the get resource warning operation. Typically these are written to a http.Request.
func NewGetResourceWarningParams ¶ added in v0.1.1
func NewGetResourceWarningParams() *GetResourceWarningParams
NewGetResourceWarningParams creates a new GetResourceWarningParams 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 NewGetResourceWarningParamsWithContext ¶ added in v0.1.1
func NewGetResourceWarningParamsWithContext(ctx context.Context) *GetResourceWarningParams
NewGetResourceWarningParamsWithContext creates a new GetResourceWarningParams object with the ability to set a context for a request.
func NewGetResourceWarningParamsWithHTTPClient ¶ added in v0.1.1
func NewGetResourceWarningParamsWithHTTPClient(client *http.Client) *GetResourceWarningParams
NewGetResourceWarningParamsWithHTTPClient creates a new GetResourceWarningParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceWarningParamsWithTimeout ¶ added in v0.1.1
func NewGetResourceWarningParamsWithTimeout(timeout time.Duration) *GetResourceWarningParams
NewGetResourceWarningParamsWithTimeout creates a new GetResourceWarningParams object with the ability to set a timeout on a request.
func (*GetResourceWarningParams) SetContext ¶ added in v0.1.1
func (o *GetResourceWarningParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource warning params
func (*GetResourceWarningParams) SetDefaults ¶ added in v0.1.1
func (o *GetResourceWarningParams) SetDefaults()
SetDefaults hydrates default values in the get resource warning params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceWarningParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetResourceWarningParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource warning params
func (*GetResourceWarningParams) SetID ¶ added in v0.1.1
func (o *GetResourceWarningParams) SetID(id string)
SetID adds the id to the get resource warning params
func (*GetResourceWarningParams) SetTimeout ¶ added in v0.1.1
func (o *GetResourceWarningParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource warning params
func (*GetResourceWarningParams) WithContext ¶ added in v0.1.1
func (o *GetResourceWarningParams) WithContext(ctx context.Context) *GetResourceWarningParams
WithContext adds the context to the get resource warning params
func (*GetResourceWarningParams) WithDefaults ¶ added in v0.1.1
func (o *GetResourceWarningParams) WithDefaults() *GetResourceWarningParams
WithDefaults hydrates default values in the get resource warning params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceWarningParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetResourceWarningParams) WithHTTPClient(client *http.Client) *GetResourceWarningParams
WithHTTPClient adds the HTTPClient to the get resource warning params
func (*GetResourceWarningParams) WithID ¶ added in v0.1.1
func (o *GetResourceWarningParams) WithID(id string) *GetResourceWarningParams
WithID adds the id to the get resource warning params
func (*GetResourceWarningParams) WithTimeout ¶ added in v0.1.1
func (o *GetResourceWarningParams) WithTimeout(timeout time.Duration) *GetResourceWarningParams
WithTimeout adds the timeout to the get resource warning params
func (*GetResourceWarningParams) WriteToRequest ¶ added in v0.1.1
func (o *GetResourceWarningParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceWarningReader ¶ added in v0.1.1
type GetResourceWarningReader struct {
// contains filtered or unexported fields
}
GetResourceWarningReader is a Reader for the GetResourceWarning structure.
func (*GetResourceWarningReader) ReadResponse ¶ added in v0.1.1
func (o *GetResourceWarningReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceWarningsBadRequest ¶ added in v0.1.1
GetResourceWarningsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetResourceWarningsBadRequest ¶ added in v0.1.1
func NewGetResourceWarningsBadRequest() *GetResourceWarningsBadRequest
NewGetResourceWarningsBadRequest creates a GetResourceWarningsBadRequest with default headers values
func (*GetResourceWarningsBadRequest) Error ¶ added in v0.1.1
func (o *GetResourceWarningsBadRequest) Error() string
func (*GetResourceWarningsBadRequest) GetPayload ¶ added in v0.1.1
func (o *GetResourceWarningsBadRequest) GetPayload() *models.Error
func (*GetResourceWarningsBadRequest) IsClientError ¶ added in v0.1.1
func (o *GetResourceWarningsBadRequest) IsClientError() bool
IsClientError returns true when this get resource warnings bad request response has a 4xx status code
func (*GetResourceWarningsBadRequest) IsCode ¶ added in v0.1.1
func (o *GetResourceWarningsBadRequest) IsCode(code int) bool
IsCode returns true when this get resource warnings bad request response a status code equal to that given
func (*GetResourceWarningsBadRequest) IsRedirect ¶ added in v0.1.1
func (o *GetResourceWarningsBadRequest) IsRedirect() bool
IsRedirect returns true when this get resource warnings bad request response has a 3xx status code
func (*GetResourceWarningsBadRequest) IsServerError ¶ added in v0.1.1
func (o *GetResourceWarningsBadRequest) IsServerError() bool
IsServerError returns true when this get resource warnings bad request response has a 5xx status code
func (*GetResourceWarningsBadRequest) IsSuccess ¶ added in v0.1.1
func (o *GetResourceWarningsBadRequest) IsSuccess() bool
IsSuccess returns true when this get resource warnings bad request response has a 2xx status code
func (*GetResourceWarningsBadRequest) String ¶ added in v0.1.1
func (o *GetResourceWarningsBadRequest) String() string
type GetResourceWarningsInternalServerError ¶ added in v0.1.1
GetResourceWarningsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetResourceWarningsInternalServerError ¶ added in v0.1.1
func NewGetResourceWarningsInternalServerError() *GetResourceWarningsInternalServerError
NewGetResourceWarningsInternalServerError creates a GetResourceWarningsInternalServerError with default headers values
func (*GetResourceWarningsInternalServerError) Error ¶ added in v0.1.1
func (o *GetResourceWarningsInternalServerError) Error() string
func (*GetResourceWarningsInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetResourceWarningsInternalServerError) GetPayload() *models.Error
func (*GetResourceWarningsInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetResourceWarningsInternalServerError) IsClientError() bool
IsClientError returns true when this get resource warnings internal server error response has a 4xx status code
func (*GetResourceWarningsInternalServerError) IsCode ¶ added in v0.1.1
func (o *GetResourceWarningsInternalServerError) IsCode(code int) bool
IsCode returns true when this get resource warnings internal server error response a status code equal to that given
func (*GetResourceWarningsInternalServerError) IsRedirect ¶ added in v0.1.1
func (o *GetResourceWarningsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get resource warnings internal server error response has a 3xx status code
func (*GetResourceWarningsInternalServerError) IsServerError ¶ added in v0.1.1
func (o *GetResourceWarningsInternalServerError) IsServerError() bool
IsServerError returns true when this get resource warnings internal server error response has a 5xx status code
func (*GetResourceWarningsInternalServerError) IsSuccess ¶ added in v0.1.1
func (o *GetResourceWarningsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get resource warnings internal server error response has a 2xx status code
func (*GetResourceWarningsInternalServerError) String ¶ added in v0.1.1
func (o *GetResourceWarningsInternalServerError) String() string
type GetResourceWarningsOK ¶ added in v0.1.1
type GetResourceWarningsOK struct {
Payload *models.PageOfResourceWarning
}
GetResourceWarningsOK describes a response with status code 200, with default header values.
OK
func NewGetResourceWarningsOK ¶ added in v0.1.1
func NewGetResourceWarningsOK() *GetResourceWarningsOK
NewGetResourceWarningsOK creates a GetResourceWarningsOK with default headers values
func (*GetResourceWarningsOK) Error ¶ added in v0.1.1
func (o *GetResourceWarningsOK) Error() string
func (*GetResourceWarningsOK) GetPayload ¶ added in v0.1.1
func (o *GetResourceWarningsOK) GetPayload() *models.PageOfResourceWarning
func (*GetResourceWarningsOK) IsClientError ¶ added in v0.1.1
func (o *GetResourceWarningsOK) IsClientError() bool
IsClientError returns true when this get resource warnings o k response has a 4xx status code
func (*GetResourceWarningsOK) IsCode ¶ added in v0.1.1
func (o *GetResourceWarningsOK) IsCode(code int) bool
IsCode returns true when this get resource warnings o k response a status code equal to that given
func (*GetResourceWarningsOK) IsRedirect ¶ added in v0.1.1
func (o *GetResourceWarningsOK) IsRedirect() bool
IsRedirect returns true when this get resource warnings o k response has a 3xx status code
func (*GetResourceWarningsOK) IsServerError ¶ added in v0.1.1
func (o *GetResourceWarningsOK) IsServerError() bool
IsServerError returns true when this get resource warnings o k response has a 5xx status code
func (*GetResourceWarningsOK) IsSuccess ¶ added in v0.1.1
func (o *GetResourceWarningsOK) IsSuccess() bool
IsSuccess returns true when this get resource warnings o k response has a 2xx status code
func (*GetResourceWarningsOK) String ¶ added in v0.1.1
func (o *GetResourceWarningsOK) String() string
type GetResourceWarningsParams ¶ added in v0.1.1
type GetResourceWarningsParams struct { /* ResourceIds. Resource IDs */ ResourceIds []string /* ResourceNames. Resource Names */ ResourceNames []string /* ResourceType. Resource type */ ResourceType *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceWarningsParams contains all the parameters to send to the API endpoint
for the get resource warnings operation. Typically these are written to a http.Request.
func NewGetResourceWarningsParams ¶ added in v0.1.1
func NewGetResourceWarningsParams() *GetResourceWarningsParams
NewGetResourceWarningsParams creates a new GetResourceWarningsParams 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 NewGetResourceWarningsParamsWithContext ¶ added in v0.1.1
func NewGetResourceWarningsParamsWithContext(ctx context.Context) *GetResourceWarningsParams
NewGetResourceWarningsParamsWithContext creates a new GetResourceWarningsParams object with the ability to set a context for a request.
func NewGetResourceWarningsParamsWithHTTPClient ¶ added in v0.1.1
func NewGetResourceWarningsParamsWithHTTPClient(client *http.Client) *GetResourceWarningsParams
NewGetResourceWarningsParamsWithHTTPClient creates a new GetResourceWarningsParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceWarningsParamsWithTimeout ¶ added in v0.1.1
func NewGetResourceWarningsParamsWithTimeout(timeout time.Duration) *GetResourceWarningsParams
NewGetResourceWarningsParamsWithTimeout creates a new GetResourceWarningsParams object with the ability to set a timeout on a request.
func (*GetResourceWarningsParams) SetContext ¶ added in v0.1.1
func (o *GetResourceWarningsParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource warnings params
func (*GetResourceWarningsParams) SetDefaults ¶ added in v0.1.1
func (o *GetResourceWarningsParams) SetDefaults()
SetDefaults hydrates default values in the get resource warnings params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceWarningsParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetResourceWarningsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource warnings params
func (*GetResourceWarningsParams) SetResourceIds ¶ added in v0.1.1
func (o *GetResourceWarningsParams) SetResourceIds(resourceIds []string)
SetResourceIds adds the resourceIds to the get resource warnings params
func (*GetResourceWarningsParams) SetResourceNames ¶ added in v0.1.1
func (o *GetResourceWarningsParams) SetResourceNames(resourceNames []string)
SetResourceNames adds the resourceNames to the get resource warnings params
func (*GetResourceWarningsParams) SetResourceType ¶ added in v0.1.1
func (o *GetResourceWarningsParams) SetResourceType(resourceType *string)
SetResourceType adds the resourceType to the get resource warnings params
func (*GetResourceWarningsParams) SetTimeout ¶ added in v0.1.1
func (o *GetResourceWarningsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource warnings params
func (*GetResourceWarningsParams) WithContext ¶ added in v0.1.1
func (o *GetResourceWarningsParams) WithContext(ctx context.Context) *GetResourceWarningsParams
WithContext adds the context to the get resource warnings params
func (*GetResourceWarningsParams) WithDefaults ¶ added in v0.1.1
func (o *GetResourceWarningsParams) WithDefaults() *GetResourceWarningsParams
WithDefaults hydrates default values in the get resource warnings params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceWarningsParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetResourceWarningsParams) WithHTTPClient(client *http.Client) *GetResourceWarningsParams
WithHTTPClient adds the HTTPClient to the get resource warnings params
func (*GetResourceWarningsParams) WithResourceIds ¶ added in v0.1.1
func (o *GetResourceWarningsParams) WithResourceIds(resourceIds []string) *GetResourceWarningsParams
WithResourceIds adds the resourceIds to the get resource warnings params
func (*GetResourceWarningsParams) WithResourceNames ¶ added in v0.1.1
func (o *GetResourceWarningsParams) WithResourceNames(resourceNames []string) *GetResourceWarningsParams
WithResourceNames adds the resourceNames to the get resource warnings params
func (*GetResourceWarningsParams) WithResourceType ¶ added in v0.1.1
func (o *GetResourceWarningsParams) WithResourceType(resourceType *string) *GetResourceWarningsParams
WithResourceType adds the resourceType to the get resource warnings params
func (*GetResourceWarningsParams) WithTimeout ¶ added in v0.1.1
func (o *GetResourceWarningsParams) WithTimeout(timeout time.Duration) *GetResourceWarningsParams
WithTimeout adds the timeout to the get resource warnings params
func (*GetResourceWarningsParams) WriteToRequest ¶ added in v0.1.1
func (o *GetResourceWarningsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceWarningsReader ¶ added in v0.1.1
type GetResourceWarningsReader struct {
// contains filtered or unexported fields
}
GetResourceWarningsReader is a Reader for the GetResourceWarnings structure.
func (*GetResourceWarningsReader) ReadResponse ¶ added in v0.1.1
func (o *GetResourceWarningsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.