Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type V1PoweredgerouterActionPostBadRequest
- func (o *V1PoweredgerouterActionPostBadRequest) Code() int
- func (o *V1PoweredgerouterActionPostBadRequest) Error() string
- func (o *V1PoweredgerouterActionPostBadRequest) GetPayload() *models.Error
- func (o *V1PoweredgerouterActionPostBadRequest) IsClientError() bool
- func (o *V1PoweredgerouterActionPostBadRequest) IsCode(code int) bool
- func (o *V1PoweredgerouterActionPostBadRequest) IsRedirect() bool
- func (o *V1PoweredgerouterActionPostBadRequest) IsServerError() bool
- func (o *V1PoweredgerouterActionPostBadRequest) IsSuccess() bool
- func (o *V1PoweredgerouterActionPostBadRequest) String() string
- type V1PoweredgerouterActionPostConflict
- func (o *V1PoweredgerouterActionPostConflict) Code() int
- func (o *V1PoweredgerouterActionPostConflict) Error() string
- func (o *V1PoweredgerouterActionPostConflict) GetPayload() *models.Error
- func (o *V1PoweredgerouterActionPostConflict) IsClientError() bool
- func (o *V1PoweredgerouterActionPostConflict) IsCode(code int) bool
- func (o *V1PoweredgerouterActionPostConflict) IsRedirect() bool
- func (o *V1PoweredgerouterActionPostConflict) IsServerError() bool
- func (o *V1PoweredgerouterActionPostConflict) IsSuccess() bool
- func (o *V1PoweredgerouterActionPostConflict) String() string
- type V1PoweredgerouterActionPostForbidden
- func (o *V1PoweredgerouterActionPostForbidden) Code() int
- func (o *V1PoweredgerouterActionPostForbidden) Error() string
- func (o *V1PoweredgerouterActionPostForbidden) GetPayload() *models.Error
- func (o *V1PoweredgerouterActionPostForbidden) IsClientError() bool
- func (o *V1PoweredgerouterActionPostForbidden) IsCode(code int) bool
- func (o *V1PoweredgerouterActionPostForbidden) IsRedirect() bool
- func (o *V1PoweredgerouterActionPostForbidden) IsServerError() bool
- func (o *V1PoweredgerouterActionPostForbidden) IsSuccess() bool
- func (o *V1PoweredgerouterActionPostForbidden) String() string
- type V1PoweredgerouterActionPostInternalServerError
- func (o *V1PoweredgerouterActionPostInternalServerError) Code() int
- func (o *V1PoweredgerouterActionPostInternalServerError) Error() string
- func (o *V1PoweredgerouterActionPostInternalServerError) GetPayload() *models.Error
- func (o *V1PoweredgerouterActionPostInternalServerError) IsClientError() bool
- func (o *V1PoweredgerouterActionPostInternalServerError) IsCode(code int) bool
- func (o *V1PoweredgerouterActionPostInternalServerError) IsRedirect() bool
- func (o *V1PoweredgerouterActionPostInternalServerError) IsServerError() bool
- func (o *V1PoweredgerouterActionPostInternalServerError) IsSuccess() bool
- func (o *V1PoweredgerouterActionPostInternalServerError) String() string
- type V1PoweredgerouterActionPostNotFound
- func (o *V1PoweredgerouterActionPostNotFound) Code() int
- func (o *V1PoweredgerouterActionPostNotFound) Error() string
- func (o *V1PoweredgerouterActionPostNotFound) GetPayload() *models.Error
- func (o *V1PoweredgerouterActionPostNotFound) IsClientError() bool
- func (o *V1PoweredgerouterActionPostNotFound) IsCode(code int) bool
- func (o *V1PoweredgerouterActionPostNotFound) IsRedirect() bool
- func (o *V1PoweredgerouterActionPostNotFound) IsServerError() bool
- func (o *V1PoweredgerouterActionPostNotFound) IsSuccess() bool
- func (o *V1PoweredgerouterActionPostNotFound) String() string
- type V1PoweredgerouterActionPostOK
- func (o *V1PoweredgerouterActionPostOK) Code() int
- func (o *V1PoweredgerouterActionPostOK) Error() string
- func (o *V1PoweredgerouterActionPostOK) GetPayload() models.Object
- func (o *V1PoweredgerouterActionPostOK) IsClientError() bool
- func (o *V1PoweredgerouterActionPostOK) IsCode(code int) bool
- func (o *V1PoweredgerouterActionPostOK) IsRedirect() bool
- func (o *V1PoweredgerouterActionPostOK) IsServerError() bool
- func (o *V1PoweredgerouterActionPostOK) IsSuccess() bool
- func (o *V1PoweredgerouterActionPostOK) String() string
- type V1PoweredgerouterActionPostParams
- func NewV1PoweredgerouterActionPostParams() *V1PoweredgerouterActionPostParams
- func NewV1PoweredgerouterActionPostParamsWithContext(ctx context.Context) *V1PoweredgerouterActionPostParams
- func NewV1PoweredgerouterActionPostParamsWithHTTPClient(client *http.Client) *V1PoweredgerouterActionPostParams
- func NewV1PoweredgerouterActionPostParamsWithTimeout(timeout time.Duration) *V1PoweredgerouterActionPostParams
- func (o *V1PoweredgerouterActionPostParams) SetBody(body *models.PowerEdgeRouterAction)
- func (o *V1PoweredgerouterActionPostParams) SetContext(ctx context.Context)
- func (o *V1PoweredgerouterActionPostParams) SetDefaults()
- func (o *V1PoweredgerouterActionPostParams) SetHTTPClient(client *http.Client)
- func (o *V1PoweredgerouterActionPostParams) SetTimeout(timeout time.Duration)
- func (o *V1PoweredgerouterActionPostParams) SetWorkspaceID(workspaceID string)
- func (o *V1PoweredgerouterActionPostParams) WithBody(body *models.PowerEdgeRouterAction) *V1PoweredgerouterActionPostParams
- func (o *V1PoweredgerouterActionPostParams) WithContext(ctx context.Context) *V1PoweredgerouterActionPostParams
- func (o *V1PoweredgerouterActionPostParams) WithDefaults() *V1PoweredgerouterActionPostParams
- func (o *V1PoweredgerouterActionPostParams) WithHTTPClient(client *http.Client) *V1PoweredgerouterActionPostParams
- func (o *V1PoweredgerouterActionPostParams) WithTimeout(timeout time.Duration) *V1PoweredgerouterActionPostParams
- func (o *V1PoweredgerouterActionPostParams) WithWorkspaceID(workspaceID string) *V1PoweredgerouterActionPostParams
- func (o *V1PoweredgerouterActionPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1PoweredgerouterActionPostReader
- type V1PoweredgerouterActionPostUnauthorized
- func (o *V1PoweredgerouterActionPostUnauthorized) Code() int
- func (o *V1PoweredgerouterActionPostUnauthorized) Error() string
- func (o *V1PoweredgerouterActionPostUnauthorized) GetPayload() *models.Error
- func (o *V1PoweredgerouterActionPostUnauthorized) IsClientError() bool
- func (o *V1PoweredgerouterActionPostUnauthorized) IsCode(code int) bool
- func (o *V1PoweredgerouterActionPostUnauthorized) IsRedirect() bool
- func (o *V1PoweredgerouterActionPostUnauthorized) IsServerError() bool
- func (o *V1PoweredgerouterActionPostUnauthorized) IsSuccess() bool
- func (o *V1PoweredgerouterActionPostUnauthorized) 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 power edge router API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) V1PoweredgerouterActionPost ¶
func (a *Client) V1PoweredgerouterActionPost(params *V1PoweredgerouterActionPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1PoweredgerouterActionPostOK, error)
V1PoweredgerouterActionPost performs a power edge router action migrate start migrate validate on a workspace
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { V1PoweredgerouterActionPost(params *V1PoweredgerouterActionPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1PoweredgerouterActionPostOK, 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 power edge router API client.
type V1PoweredgerouterActionPostBadRequest ¶
V1PoweredgerouterActionPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1PoweredgerouterActionPostBadRequest ¶
func NewV1PoweredgerouterActionPostBadRequest() *V1PoweredgerouterActionPostBadRequest
NewV1PoweredgerouterActionPostBadRequest creates a V1PoweredgerouterActionPostBadRequest with default headers values
func (*V1PoweredgerouterActionPostBadRequest) Code ¶
func (o *V1PoweredgerouterActionPostBadRequest) Code() int
Code gets the status code for the v1 poweredgerouter action post bad request response
func (*V1PoweredgerouterActionPostBadRequest) Error ¶
func (o *V1PoweredgerouterActionPostBadRequest) Error() string
func (*V1PoweredgerouterActionPostBadRequest) GetPayload ¶
func (o *V1PoweredgerouterActionPostBadRequest) GetPayload() *models.Error
func (*V1PoweredgerouterActionPostBadRequest) IsClientError ¶
func (o *V1PoweredgerouterActionPostBadRequest) IsClientError() bool
IsClientError returns true when this v1 poweredgerouter action post bad request response has a 4xx status code
func (*V1PoweredgerouterActionPostBadRequest) IsCode ¶
func (o *V1PoweredgerouterActionPostBadRequest) IsCode(code int) bool
IsCode returns true when this v1 poweredgerouter action post bad request response a status code equal to that given
func (*V1PoweredgerouterActionPostBadRequest) IsRedirect ¶
func (o *V1PoweredgerouterActionPostBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 poweredgerouter action post bad request response has a 3xx status code
func (*V1PoweredgerouterActionPostBadRequest) IsServerError ¶
func (o *V1PoweredgerouterActionPostBadRequest) IsServerError() bool
IsServerError returns true when this v1 poweredgerouter action post bad request response has a 5xx status code
func (*V1PoweredgerouterActionPostBadRequest) IsSuccess ¶
func (o *V1PoweredgerouterActionPostBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 poweredgerouter action post bad request response has a 2xx status code
func (*V1PoweredgerouterActionPostBadRequest) String ¶
func (o *V1PoweredgerouterActionPostBadRequest) String() string
type V1PoweredgerouterActionPostConflict ¶
V1PoweredgerouterActionPostConflict describes a response with status code 409, with default header values.
Conflict
func NewV1PoweredgerouterActionPostConflict ¶
func NewV1PoweredgerouterActionPostConflict() *V1PoweredgerouterActionPostConflict
NewV1PoweredgerouterActionPostConflict creates a V1PoweredgerouterActionPostConflict with default headers values
func (*V1PoweredgerouterActionPostConflict) Code ¶
func (o *V1PoweredgerouterActionPostConflict) Code() int
Code gets the status code for the v1 poweredgerouter action post conflict response
func (*V1PoweredgerouterActionPostConflict) Error ¶
func (o *V1PoweredgerouterActionPostConflict) Error() string
func (*V1PoweredgerouterActionPostConflict) GetPayload ¶
func (o *V1PoweredgerouterActionPostConflict) GetPayload() *models.Error
func (*V1PoweredgerouterActionPostConflict) IsClientError ¶
func (o *V1PoweredgerouterActionPostConflict) IsClientError() bool
IsClientError returns true when this v1 poweredgerouter action post conflict response has a 4xx status code
func (*V1PoweredgerouterActionPostConflict) IsCode ¶
func (o *V1PoweredgerouterActionPostConflict) IsCode(code int) bool
IsCode returns true when this v1 poweredgerouter action post conflict response a status code equal to that given
func (*V1PoweredgerouterActionPostConflict) IsRedirect ¶
func (o *V1PoweredgerouterActionPostConflict) IsRedirect() bool
IsRedirect returns true when this v1 poweredgerouter action post conflict response has a 3xx status code
func (*V1PoweredgerouterActionPostConflict) IsServerError ¶
func (o *V1PoweredgerouterActionPostConflict) IsServerError() bool
IsServerError returns true when this v1 poweredgerouter action post conflict response has a 5xx status code
func (*V1PoweredgerouterActionPostConflict) IsSuccess ¶
func (o *V1PoweredgerouterActionPostConflict) IsSuccess() bool
IsSuccess returns true when this v1 poweredgerouter action post conflict response has a 2xx status code
func (*V1PoweredgerouterActionPostConflict) String ¶
func (o *V1PoweredgerouterActionPostConflict) String() string
type V1PoweredgerouterActionPostForbidden ¶
V1PoweredgerouterActionPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1PoweredgerouterActionPostForbidden ¶
func NewV1PoweredgerouterActionPostForbidden() *V1PoweredgerouterActionPostForbidden
NewV1PoweredgerouterActionPostForbidden creates a V1PoweredgerouterActionPostForbidden with default headers values
func (*V1PoweredgerouterActionPostForbidden) Code ¶
func (o *V1PoweredgerouterActionPostForbidden) Code() int
Code gets the status code for the v1 poweredgerouter action post forbidden response
func (*V1PoweredgerouterActionPostForbidden) Error ¶
func (o *V1PoweredgerouterActionPostForbidden) Error() string
func (*V1PoweredgerouterActionPostForbidden) GetPayload ¶
func (o *V1PoweredgerouterActionPostForbidden) GetPayload() *models.Error
func (*V1PoweredgerouterActionPostForbidden) IsClientError ¶
func (o *V1PoweredgerouterActionPostForbidden) IsClientError() bool
IsClientError returns true when this v1 poweredgerouter action post forbidden response has a 4xx status code
func (*V1PoweredgerouterActionPostForbidden) IsCode ¶
func (o *V1PoweredgerouterActionPostForbidden) IsCode(code int) bool
IsCode returns true when this v1 poweredgerouter action post forbidden response a status code equal to that given
func (*V1PoweredgerouterActionPostForbidden) IsRedirect ¶
func (o *V1PoweredgerouterActionPostForbidden) IsRedirect() bool
IsRedirect returns true when this v1 poweredgerouter action post forbidden response has a 3xx status code
func (*V1PoweredgerouterActionPostForbidden) IsServerError ¶
func (o *V1PoweredgerouterActionPostForbidden) IsServerError() bool
IsServerError returns true when this v1 poweredgerouter action post forbidden response has a 5xx status code
func (*V1PoweredgerouterActionPostForbidden) IsSuccess ¶
func (o *V1PoweredgerouterActionPostForbidden) IsSuccess() bool
IsSuccess returns true when this v1 poweredgerouter action post forbidden response has a 2xx status code
func (*V1PoweredgerouterActionPostForbidden) String ¶
func (o *V1PoweredgerouterActionPostForbidden) String() string
type V1PoweredgerouterActionPostInternalServerError ¶
V1PoweredgerouterActionPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1PoweredgerouterActionPostInternalServerError ¶
func NewV1PoweredgerouterActionPostInternalServerError() *V1PoweredgerouterActionPostInternalServerError
NewV1PoweredgerouterActionPostInternalServerError creates a V1PoweredgerouterActionPostInternalServerError with default headers values
func (*V1PoweredgerouterActionPostInternalServerError) Code ¶
func (o *V1PoweredgerouterActionPostInternalServerError) Code() int
Code gets the status code for the v1 poweredgerouter action post internal server error response
func (*V1PoweredgerouterActionPostInternalServerError) Error ¶
func (o *V1PoweredgerouterActionPostInternalServerError) Error() string
func (*V1PoweredgerouterActionPostInternalServerError) GetPayload ¶
func (o *V1PoweredgerouterActionPostInternalServerError) GetPayload() *models.Error
func (*V1PoweredgerouterActionPostInternalServerError) IsClientError ¶
func (o *V1PoweredgerouterActionPostInternalServerError) IsClientError() bool
IsClientError returns true when this v1 poweredgerouter action post internal server error response has a 4xx status code
func (*V1PoweredgerouterActionPostInternalServerError) IsCode ¶
func (o *V1PoweredgerouterActionPostInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 poweredgerouter action post internal server error response a status code equal to that given
func (*V1PoweredgerouterActionPostInternalServerError) IsRedirect ¶
func (o *V1PoweredgerouterActionPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 poweredgerouter action post internal server error response has a 3xx status code
func (*V1PoweredgerouterActionPostInternalServerError) IsServerError ¶
func (o *V1PoweredgerouterActionPostInternalServerError) IsServerError() bool
IsServerError returns true when this v1 poweredgerouter action post internal server error response has a 5xx status code
func (*V1PoweredgerouterActionPostInternalServerError) IsSuccess ¶
func (o *V1PoweredgerouterActionPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 poweredgerouter action post internal server error response has a 2xx status code
func (*V1PoweredgerouterActionPostInternalServerError) String ¶
func (o *V1PoweredgerouterActionPostInternalServerError) String() string
type V1PoweredgerouterActionPostNotFound ¶
V1PoweredgerouterActionPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1PoweredgerouterActionPostNotFound ¶
func NewV1PoweredgerouterActionPostNotFound() *V1PoweredgerouterActionPostNotFound
NewV1PoweredgerouterActionPostNotFound creates a V1PoweredgerouterActionPostNotFound with default headers values
func (*V1PoweredgerouterActionPostNotFound) Code ¶
func (o *V1PoweredgerouterActionPostNotFound) Code() int
Code gets the status code for the v1 poweredgerouter action post not found response
func (*V1PoweredgerouterActionPostNotFound) Error ¶
func (o *V1PoweredgerouterActionPostNotFound) Error() string
func (*V1PoweredgerouterActionPostNotFound) GetPayload ¶
func (o *V1PoweredgerouterActionPostNotFound) GetPayload() *models.Error
func (*V1PoweredgerouterActionPostNotFound) IsClientError ¶
func (o *V1PoweredgerouterActionPostNotFound) IsClientError() bool
IsClientError returns true when this v1 poweredgerouter action post not found response has a 4xx status code
func (*V1PoweredgerouterActionPostNotFound) IsCode ¶
func (o *V1PoweredgerouterActionPostNotFound) IsCode(code int) bool
IsCode returns true when this v1 poweredgerouter action post not found response a status code equal to that given
func (*V1PoweredgerouterActionPostNotFound) IsRedirect ¶
func (o *V1PoweredgerouterActionPostNotFound) IsRedirect() bool
IsRedirect returns true when this v1 poweredgerouter action post not found response has a 3xx status code
func (*V1PoweredgerouterActionPostNotFound) IsServerError ¶
func (o *V1PoweredgerouterActionPostNotFound) IsServerError() bool
IsServerError returns true when this v1 poweredgerouter action post not found response has a 5xx status code
func (*V1PoweredgerouterActionPostNotFound) IsSuccess ¶
func (o *V1PoweredgerouterActionPostNotFound) IsSuccess() bool
IsSuccess returns true when this v1 poweredgerouter action post not found response has a 2xx status code
func (*V1PoweredgerouterActionPostNotFound) String ¶
func (o *V1PoweredgerouterActionPostNotFound) String() string
type V1PoweredgerouterActionPostOK ¶
V1PoweredgerouterActionPostOK describes a response with status code 200, with default header values.
OK
func NewV1PoweredgerouterActionPostOK ¶
func NewV1PoweredgerouterActionPostOK() *V1PoweredgerouterActionPostOK
NewV1PoweredgerouterActionPostOK creates a V1PoweredgerouterActionPostOK with default headers values
func (*V1PoweredgerouterActionPostOK) Code ¶
func (o *V1PoweredgerouterActionPostOK) Code() int
Code gets the status code for the v1 poweredgerouter action post o k response
func (*V1PoweredgerouterActionPostOK) Error ¶
func (o *V1PoweredgerouterActionPostOK) Error() string
func (*V1PoweredgerouterActionPostOK) GetPayload ¶
func (o *V1PoweredgerouterActionPostOK) GetPayload() models.Object
func (*V1PoweredgerouterActionPostOK) IsClientError ¶
func (o *V1PoweredgerouterActionPostOK) IsClientError() bool
IsClientError returns true when this v1 poweredgerouter action post o k response has a 4xx status code
func (*V1PoweredgerouterActionPostOK) IsCode ¶
func (o *V1PoweredgerouterActionPostOK) IsCode(code int) bool
IsCode returns true when this v1 poweredgerouter action post o k response a status code equal to that given
func (*V1PoweredgerouterActionPostOK) IsRedirect ¶
func (o *V1PoweredgerouterActionPostOK) IsRedirect() bool
IsRedirect returns true when this v1 poweredgerouter action post o k response has a 3xx status code
func (*V1PoweredgerouterActionPostOK) IsServerError ¶
func (o *V1PoweredgerouterActionPostOK) IsServerError() bool
IsServerError returns true when this v1 poweredgerouter action post o k response has a 5xx status code
func (*V1PoweredgerouterActionPostOK) IsSuccess ¶
func (o *V1PoweredgerouterActionPostOK) IsSuccess() bool
IsSuccess returns true when this v1 poweredgerouter action post o k response has a 2xx status code
func (*V1PoweredgerouterActionPostOK) String ¶
func (o *V1PoweredgerouterActionPostOK) String() string
type V1PoweredgerouterActionPostParams ¶
type V1PoweredgerouterActionPostParams struct { /* Body. Parameters for the desired action */ Body *models.PowerEdgeRouterAction /* WorkspaceID. Workspace ID */ WorkspaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1PoweredgerouterActionPostParams contains all the parameters to send to the API endpoint
for the v1 poweredgerouter action post operation. Typically these are written to a http.Request.
func NewV1PoweredgerouterActionPostParams ¶
func NewV1PoweredgerouterActionPostParams() *V1PoweredgerouterActionPostParams
NewV1PoweredgerouterActionPostParams creates a new V1PoweredgerouterActionPostParams 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 NewV1PoweredgerouterActionPostParamsWithContext ¶
func NewV1PoweredgerouterActionPostParamsWithContext(ctx context.Context) *V1PoweredgerouterActionPostParams
NewV1PoweredgerouterActionPostParamsWithContext creates a new V1PoweredgerouterActionPostParams object with the ability to set a context for a request.
func NewV1PoweredgerouterActionPostParamsWithHTTPClient ¶
func NewV1PoweredgerouterActionPostParamsWithHTTPClient(client *http.Client) *V1PoweredgerouterActionPostParams
NewV1PoweredgerouterActionPostParamsWithHTTPClient creates a new V1PoweredgerouterActionPostParams object with the ability to set a custom HTTPClient for a request.
func NewV1PoweredgerouterActionPostParamsWithTimeout ¶
func NewV1PoweredgerouterActionPostParamsWithTimeout(timeout time.Duration) *V1PoweredgerouterActionPostParams
NewV1PoweredgerouterActionPostParamsWithTimeout creates a new V1PoweredgerouterActionPostParams object with the ability to set a timeout on a request.
func (*V1PoweredgerouterActionPostParams) SetBody ¶
func (o *V1PoweredgerouterActionPostParams) SetBody(body *models.PowerEdgeRouterAction)
SetBody adds the body to the v1 poweredgerouter action post params
func (*V1PoweredgerouterActionPostParams) SetContext ¶
func (o *V1PoweredgerouterActionPostParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 poweredgerouter action post params
func (*V1PoweredgerouterActionPostParams) SetDefaults ¶
func (o *V1PoweredgerouterActionPostParams) SetDefaults()
SetDefaults hydrates default values in the v1 poweredgerouter action post params (not the query body).
All values with no default are reset to their zero value.
func (*V1PoweredgerouterActionPostParams) SetHTTPClient ¶
func (o *V1PoweredgerouterActionPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 poweredgerouter action post params
func (*V1PoweredgerouterActionPostParams) SetTimeout ¶
func (o *V1PoweredgerouterActionPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 poweredgerouter action post params
func (*V1PoweredgerouterActionPostParams) SetWorkspaceID ¶
func (o *V1PoweredgerouterActionPostParams) SetWorkspaceID(workspaceID string)
SetWorkspaceID adds the workspaceId to the v1 poweredgerouter action post params
func (*V1PoweredgerouterActionPostParams) WithBody ¶
func (o *V1PoweredgerouterActionPostParams) WithBody(body *models.PowerEdgeRouterAction) *V1PoweredgerouterActionPostParams
WithBody adds the body to the v1 poweredgerouter action post params
func (*V1PoweredgerouterActionPostParams) WithContext ¶
func (o *V1PoweredgerouterActionPostParams) WithContext(ctx context.Context) *V1PoweredgerouterActionPostParams
WithContext adds the context to the v1 poweredgerouter action post params
func (*V1PoweredgerouterActionPostParams) WithDefaults ¶
func (o *V1PoweredgerouterActionPostParams) WithDefaults() *V1PoweredgerouterActionPostParams
WithDefaults hydrates default values in the v1 poweredgerouter action post params (not the query body).
All values with no default are reset to their zero value.
func (*V1PoweredgerouterActionPostParams) WithHTTPClient ¶
func (o *V1PoweredgerouterActionPostParams) WithHTTPClient(client *http.Client) *V1PoweredgerouterActionPostParams
WithHTTPClient adds the HTTPClient to the v1 poweredgerouter action post params
func (*V1PoweredgerouterActionPostParams) WithTimeout ¶
func (o *V1PoweredgerouterActionPostParams) WithTimeout(timeout time.Duration) *V1PoweredgerouterActionPostParams
WithTimeout adds the timeout to the v1 poweredgerouter action post params
func (*V1PoweredgerouterActionPostParams) WithWorkspaceID ¶
func (o *V1PoweredgerouterActionPostParams) WithWorkspaceID(workspaceID string) *V1PoweredgerouterActionPostParams
WithWorkspaceID adds the workspaceID to the v1 poweredgerouter action post params
func (*V1PoweredgerouterActionPostParams) WriteToRequest ¶
func (o *V1PoweredgerouterActionPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1PoweredgerouterActionPostReader ¶
type V1PoweredgerouterActionPostReader struct {
// contains filtered or unexported fields
}
V1PoweredgerouterActionPostReader is a Reader for the V1PoweredgerouterActionPost structure.
func (*V1PoweredgerouterActionPostReader) ReadResponse ¶
func (o *V1PoweredgerouterActionPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1PoweredgerouterActionPostUnauthorized ¶
type V1PoweredgerouterActionPostUnauthorized struct {
}V1PoweredgerouterActionPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1PoweredgerouterActionPostUnauthorized ¶
func NewV1PoweredgerouterActionPostUnauthorized() *V1PoweredgerouterActionPostUnauthorized
NewV1PoweredgerouterActionPostUnauthorized creates a V1PoweredgerouterActionPostUnauthorized with default headers values
func (*V1PoweredgerouterActionPostUnauthorized) Code ¶
func (o *V1PoweredgerouterActionPostUnauthorized) Code() int
Code gets the status code for the v1 poweredgerouter action post unauthorized response
func (*V1PoweredgerouterActionPostUnauthorized) Error ¶
func (o *V1PoweredgerouterActionPostUnauthorized) Error() string
func (*V1PoweredgerouterActionPostUnauthorized) GetPayload ¶
func (o *V1PoweredgerouterActionPostUnauthorized) GetPayload() *models.Error
func (*V1PoweredgerouterActionPostUnauthorized) IsClientError ¶
func (o *V1PoweredgerouterActionPostUnauthorized) IsClientError() bool
IsClientError returns true when this v1 poweredgerouter action post unauthorized response has a 4xx status code
func (*V1PoweredgerouterActionPostUnauthorized) IsCode ¶
func (o *V1PoweredgerouterActionPostUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 poweredgerouter action post unauthorized response a status code equal to that given
func (*V1PoweredgerouterActionPostUnauthorized) IsRedirect ¶
func (o *V1PoweredgerouterActionPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 poweredgerouter action post unauthorized response has a 3xx status code
func (*V1PoweredgerouterActionPostUnauthorized) IsServerError ¶
func (o *V1PoweredgerouterActionPostUnauthorized) IsServerError() bool
IsServerError returns true when this v1 poweredgerouter action post unauthorized response has a 5xx status code
func (*V1PoweredgerouterActionPostUnauthorized) IsSuccess ¶
func (o *V1PoweredgerouterActionPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 poweredgerouter action post unauthorized response has a 2xx status code
func (*V1PoweredgerouterActionPostUnauthorized) String ¶
func (o *V1PoweredgerouterActionPostUnauthorized) String() string