Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAPI24SNMPManagers(params *DeleteAPI24SNMPManagersParams) (*DeleteApi24SNMPManagersOK, error)
- func (a *Client) GetAPI24SNMPManagers(params *GetAPI24SNMPManagersParams) (*GetApi24SNMPManagersOK, error)
- func (a *Client) GetAPI24SNMPManagersTest(params *GetAPI24SNMPManagersTestParams) (*GetApi24SNMPManagersTestOK, error)
- func (a *Client) PatchAPI24SNMPManagers(params *PatchAPI24SNMPManagersParams) (*PatchApi24SNMPManagersOK, error)
- func (a *Client) PostAPI24SNMPManagers(params *PostAPI24SNMPManagersParams) (*PostApi24SNMPManagersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAPI24SNMPManagersParams
- func NewDeleteAPI24SNMPManagersParams() *DeleteAPI24SNMPManagersParams
- func NewDeleteAPI24SNMPManagersParamsWithContext(ctx context.Context) *DeleteAPI24SNMPManagersParams
- func NewDeleteAPI24SNMPManagersParamsWithHTTPClient(client *http.Client) *DeleteAPI24SNMPManagersParams
- func NewDeleteAPI24SNMPManagersParamsWithTimeout(timeout time.Duration) *DeleteAPI24SNMPManagersParams
- func (o *DeleteAPI24SNMPManagersParams) SetAuthorization(authorization *string)
- func (o *DeleteAPI24SNMPManagersParams) SetContext(ctx context.Context)
- func (o *DeleteAPI24SNMPManagersParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPI24SNMPManagersParams) SetNames(names []string)
- func (o *DeleteAPI24SNMPManagersParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPI24SNMPManagersParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAPI24SNMPManagersParams) WithAuthorization(authorization *string) *DeleteAPI24SNMPManagersParams
- func (o *DeleteAPI24SNMPManagersParams) WithContext(ctx context.Context) *DeleteAPI24SNMPManagersParams
- func (o *DeleteAPI24SNMPManagersParams) WithHTTPClient(client *http.Client) *DeleteAPI24SNMPManagersParams
- func (o *DeleteAPI24SNMPManagersParams) WithNames(names []string) *DeleteAPI24SNMPManagersParams
- func (o *DeleteAPI24SNMPManagersParams) WithTimeout(timeout time.Duration) *DeleteAPI24SNMPManagersParams
- func (o *DeleteAPI24SNMPManagersParams) WithXRequestID(xRequestID *string) *DeleteAPI24SNMPManagersParams
- func (o *DeleteAPI24SNMPManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPI24SNMPManagersReader
- type DeleteApi24SNMPManagersBadRequest
- type DeleteApi24SNMPManagersOK
- type GetAPI24SNMPManagersParams
- func NewGetAPI24SNMPManagersParams() *GetAPI24SNMPManagersParams
- func NewGetAPI24SNMPManagersParamsWithContext(ctx context.Context) *GetAPI24SNMPManagersParams
- func NewGetAPI24SNMPManagersParamsWithHTTPClient(client *http.Client) *GetAPI24SNMPManagersParams
- func NewGetAPI24SNMPManagersParamsWithTimeout(timeout time.Duration) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) SetAuthorization(authorization *string)
- func (o *GetAPI24SNMPManagersParams) SetContext(ctx context.Context)
- func (o *GetAPI24SNMPManagersParams) SetContinuationToken(continuationToken *string)
- func (o *GetAPI24SNMPManagersParams) SetFilter(filter *string)
- func (o *GetAPI24SNMPManagersParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24SNMPManagersParams) SetLimit(limit *int32)
- func (o *GetAPI24SNMPManagersParams) SetNames(names []string)
- func (o *GetAPI24SNMPManagersParams) SetOffset(offset *int32)
- func (o *GetAPI24SNMPManagersParams) SetSort(sort []string)
- func (o *GetAPI24SNMPManagersParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24SNMPManagersParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24SNMPManagersParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24SNMPManagersParams) WithAuthorization(authorization *string) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithContext(ctx context.Context) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithContinuationToken(continuationToken *string) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithFilter(filter *string) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithHTTPClient(client *http.Client) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithLimit(limit *int32) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithNames(names []string) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithOffset(offset *int32) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithSort(sort []string) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithTimeout(timeout time.Duration) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WithXRequestID(xRequestID *string) *GetAPI24SNMPManagersParams
- func (o *GetAPI24SNMPManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24SNMPManagersReader
- type GetAPI24SNMPManagersTestParams
- func NewGetAPI24SNMPManagersTestParams() *GetAPI24SNMPManagersTestParams
- func NewGetAPI24SNMPManagersTestParamsWithContext(ctx context.Context) *GetAPI24SNMPManagersTestParams
- func NewGetAPI24SNMPManagersTestParamsWithHTTPClient(client *http.Client) *GetAPI24SNMPManagersTestParams
- func NewGetAPI24SNMPManagersTestParamsWithTimeout(timeout time.Duration) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) SetAuthorization(authorization *string)
- func (o *GetAPI24SNMPManagersTestParams) SetContext(ctx context.Context)
- func (o *GetAPI24SNMPManagersTestParams) SetFilter(filter *string)
- func (o *GetAPI24SNMPManagersTestParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24SNMPManagersTestParams) SetLimit(limit *int32)
- func (o *GetAPI24SNMPManagersTestParams) SetNames(names []string)
- func (o *GetAPI24SNMPManagersTestParams) SetOffset(offset *int32)
- func (o *GetAPI24SNMPManagersTestParams) SetSort(sort []string)
- func (o *GetAPI24SNMPManagersTestParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24SNMPManagersTestParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24SNMPManagersTestParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24SNMPManagersTestParams) WithAuthorization(authorization *string) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WithContext(ctx context.Context) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WithFilter(filter *string) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WithHTTPClient(client *http.Client) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WithLimit(limit *int32) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WithNames(names []string) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WithOffset(offset *int32) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WithSort(sort []string) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WithTimeout(timeout time.Duration) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WithXRequestID(xRequestID *string) *GetAPI24SNMPManagersTestParams
- func (o *GetAPI24SNMPManagersTestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24SNMPManagersTestReader
- type GetApi24SNMPManagersBadRequest
- type GetApi24SNMPManagersOK
- type GetApi24SNMPManagersTestBadRequest
- type GetApi24SNMPManagersTestOK
- type PatchAPI24SNMPManagersParams
- func NewPatchAPI24SNMPManagersParams() *PatchAPI24SNMPManagersParams
- func NewPatchAPI24SNMPManagersParamsWithContext(ctx context.Context) *PatchAPI24SNMPManagersParams
- func NewPatchAPI24SNMPManagersParamsWithHTTPClient(client *http.Client) *PatchAPI24SNMPManagersParams
- func NewPatchAPI24SNMPManagersParamsWithTimeout(timeout time.Duration) *PatchAPI24SNMPManagersParams
- func (o *PatchAPI24SNMPManagersParams) SetAuthorization(authorization *string)
- func (o *PatchAPI24SNMPManagersParams) SetContext(ctx context.Context)
- func (o *PatchAPI24SNMPManagersParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPI24SNMPManagersParams) SetNames(names []string)
- func (o *PatchAPI24SNMPManagersParams) SetSNMPManager(sNMPManager *models.SNMPManagerPatch)
- func (o *PatchAPI24SNMPManagersParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPI24SNMPManagersParams) SetXRequestID(xRequestID *string)
- func (o *PatchAPI24SNMPManagersParams) WithAuthorization(authorization *string) *PatchAPI24SNMPManagersParams
- func (o *PatchAPI24SNMPManagersParams) WithContext(ctx context.Context) *PatchAPI24SNMPManagersParams
- func (o *PatchAPI24SNMPManagersParams) WithHTTPClient(client *http.Client) *PatchAPI24SNMPManagersParams
- func (o *PatchAPI24SNMPManagersParams) WithNames(names []string) *PatchAPI24SNMPManagersParams
- func (o *PatchAPI24SNMPManagersParams) WithSNMPManager(sNMPManager *models.SNMPManagerPatch) *PatchAPI24SNMPManagersParams
- func (o *PatchAPI24SNMPManagersParams) WithTimeout(timeout time.Duration) *PatchAPI24SNMPManagersParams
- func (o *PatchAPI24SNMPManagersParams) WithXRequestID(xRequestID *string) *PatchAPI24SNMPManagersParams
- func (o *PatchAPI24SNMPManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPI24SNMPManagersReader
- type PatchApi24SNMPManagersBadRequest
- type PatchApi24SNMPManagersOK
- type PostAPI24SNMPManagersParams
- func NewPostAPI24SNMPManagersParams() *PostAPI24SNMPManagersParams
- func NewPostAPI24SNMPManagersParamsWithContext(ctx context.Context) *PostAPI24SNMPManagersParams
- func NewPostAPI24SNMPManagersParamsWithHTTPClient(client *http.Client) *PostAPI24SNMPManagersParams
- func NewPostAPI24SNMPManagersParamsWithTimeout(timeout time.Duration) *PostAPI24SNMPManagersParams
- func (o *PostAPI24SNMPManagersParams) SetAuthorization(authorization *string)
- func (o *PostAPI24SNMPManagersParams) SetContext(ctx context.Context)
- func (o *PostAPI24SNMPManagersParams) SetHTTPClient(client *http.Client)
- func (o *PostAPI24SNMPManagersParams) SetNames(names []string)
- func (o *PostAPI24SNMPManagersParams) SetSNMPManager(sNMPManager *models.SNMPManagerPost)
- func (o *PostAPI24SNMPManagersParams) SetTimeout(timeout time.Duration)
- func (o *PostAPI24SNMPManagersParams) SetXRequestID(xRequestID *string)
- func (o *PostAPI24SNMPManagersParams) WithAuthorization(authorization *string) *PostAPI24SNMPManagersParams
- func (o *PostAPI24SNMPManagersParams) WithContext(ctx context.Context) *PostAPI24SNMPManagersParams
- func (o *PostAPI24SNMPManagersParams) WithHTTPClient(client *http.Client) *PostAPI24SNMPManagersParams
- func (o *PostAPI24SNMPManagersParams) WithNames(names []string) *PostAPI24SNMPManagersParams
- func (o *PostAPI24SNMPManagersParams) WithSNMPManager(sNMPManager *models.SNMPManagerPost) *PostAPI24SNMPManagersParams
- func (o *PostAPI24SNMPManagersParams) WithTimeout(timeout time.Duration) *PostAPI24SNMPManagersParams
- func (o *PostAPI24SNMPManagersParams) WithXRequestID(xRequestID *string) *PostAPI24SNMPManagersParams
- func (o *PostAPI24SNMPManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPI24SNMPManagersReader
- type PostApi24SNMPManagersBadRequest
- type PostApi24SNMPManagersOK
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 snmp managers API
func (*Client) DeleteAPI24SNMPManagers ¶
func (a *Client) DeleteAPI24SNMPManagers(params *DeleteAPI24SNMPManagersParams) (*DeleteApi24SNMPManagersOK, error)
DeleteAPI24SNMPManagers deletes SNMP manager
Deletes the SNMP manager object and stops communication with specified managers.
func (*Client) GetAPI24SNMPManagers ¶
func (a *Client) GetAPI24SNMPManagers(params *GetAPI24SNMPManagersParams) (*GetApi24SNMPManagersOK, error)
GetAPI24SNMPManagers lists SNMP managers
Displays designated SNMP managers and their communication and security attributes.
func (*Client) GetAPI24SNMPManagersTest ¶
func (a *Client) GetAPI24SNMPManagersTest(params *GetAPI24SNMPManagersTestParams) (*GetApi24SNMPManagersTestOK, error)
GetAPI24SNMPManagersTest lists SNMP manager test results
Displays SNMP manager test results (traps or informs).
func (*Client) PatchAPI24SNMPManagers ¶
func (a *Client) PatchAPI24SNMPManagers(params *PatchAPI24SNMPManagersParams) (*PatchApi24SNMPManagersOK, error)
PatchAPI24SNMPManagers modifies SNMP manager
Modifies the name or the protocol attributes of the specified SNMP manager.
func (*Client) PostAPI24SNMPManagers ¶
func (a *Client) PostAPI24SNMPManagers(params *PostAPI24SNMPManagersParams) (*PostApi24SNMPManagersOK, error)
PostAPI24SNMPManagers creates SNMP manager
Creates a Purity SNMP manager object that identifies a host (SNMP manager) and specifies the protocol attributes for communicating with it. Once a manager object is created, the transmission of SNMP traps is immediately enabled.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteAPI24SNMPManagers(params *DeleteAPI24SNMPManagersParams) (*DeleteApi24SNMPManagersOK, error) GetAPI24SNMPManagers(params *GetAPI24SNMPManagersParams) (*GetApi24SNMPManagersOK, error) GetAPI24SNMPManagersTest(params *GetAPI24SNMPManagersTestParams) (*GetApi24SNMPManagersTestOK, error) PatchAPI24SNMPManagers(params *PatchAPI24SNMPManagersParams) (*PatchApi24SNMPManagersOK, error) PostAPI24SNMPManagers(params *PostAPI24SNMPManagersParams) (*PostApi24SNMPManagersOK, 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 snmp managers API client.
type DeleteAPI24SNMPManagersParams ¶
type DeleteAPI24SNMPManagersParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPI24SNMPManagersParams contains all the parameters to send to the API endpoint for the delete API 24 SNMP managers operation typically these are written to a http.Request
func NewDeleteAPI24SNMPManagersParams ¶
func NewDeleteAPI24SNMPManagersParams() *DeleteAPI24SNMPManagersParams
NewDeleteAPI24SNMPManagersParams creates a new DeleteAPI24SNMPManagersParams object with the default values initialized.
func NewDeleteAPI24SNMPManagersParamsWithContext ¶
func NewDeleteAPI24SNMPManagersParamsWithContext(ctx context.Context) *DeleteAPI24SNMPManagersParams
NewDeleteAPI24SNMPManagersParamsWithContext creates a new DeleteAPI24SNMPManagersParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAPI24SNMPManagersParamsWithHTTPClient ¶
func NewDeleteAPI24SNMPManagersParamsWithHTTPClient(client *http.Client) *DeleteAPI24SNMPManagersParams
NewDeleteAPI24SNMPManagersParamsWithHTTPClient creates a new DeleteAPI24SNMPManagersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAPI24SNMPManagersParamsWithTimeout ¶
func NewDeleteAPI24SNMPManagersParamsWithTimeout(timeout time.Duration) *DeleteAPI24SNMPManagersParams
NewDeleteAPI24SNMPManagersParamsWithTimeout creates a new DeleteAPI24SNMPManagersParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAPI24SNMPManagersParams) SetAuthorization ¶
func (o *DeleteAPI24SNMPManagersParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) SetContext ¶
func (o *DeleteAPI24SNMPManagersParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) SetHTTPClient ¶
func (o *DeleteAPI24SNMPManagersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) SetNames ¶
func (o *DeleteAPI24SNMPManagersParams) SetNames(names []string)
SetNames adds the names to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) SetTimeout ¶
func (o *DeleteAPI24SNMPManagersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) SetXRequestID ¶
func (o *DeleteAPI24SNMPManagersParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) WithAuthorization ¶
func (o *DeleteAPI24SNMPManagersParams) WithAuthorization(authorization *string) *DeleteAPI24SNMPManagersParams
WithAuthorization adds the authorization to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) WithContext ¶
func (o *DeleteAPI24SNMPManagersParams) WithContext(ctx context.Context) *DeleteAPI24SNMPManagersParams
WithContext adds the context to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) WithHTTPClient ¶
func (o *DeleteAPI24SNMPManagersParams) WithHTTPClient(client *http.Client) *DeleteAPI24SNMPManagersParams
WithHTTPClient adds the HTTPClient to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) WithNames ¶
func (o *DeleteAPI24SNMPManagersParams) WithNames(names []string) *DeleteAPI24SNMPManagersParams
WithNames adds the names to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) WithTimeout ¶
func (o *DeleteAPI24SNMPManagersParams) WithTimeout(timeout time.Duration) *DeleteAPI24SNMPManagersParams
WithTimeout adds the timeout to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) WithXRequestID ¶
func (o *DeleteAPI24SNMPManagersParams) WithXRequestID(xRequestID *string) *DeleteAPI24SNMPManagersParams
WithXRequestID adds the xRequestID to the delete API 24 SNMP managers params
func (*DeleteAPI24SNMPManagersParams) WriteToRequest ¶
func (o *DeleteAPI24SNMPManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPI24SNMPManagersReader ¶
type DeleteAPI24SNMPManagersReader struct {
// contains filtered or unexported fields
}
DeleteAPI24SNMPManagersReader is a Reader for the DeleteAPI24SNMPManagers structure.
func (*DeleteAPI24SNMPManagersReader) ReadResponse ¶
func (o *DeleteAPI24SNMPManagersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteApi24SNMPManagersBadRequest ¶
DeleteApi24SNMPManagersBadRequest handles this case with default header values.
BadRequest
func NewDeleteApi24SNMPManagersBadRequest ¶
func NewDeleteApi24SNMPManagersBadRequest() *DeleteApi24SNMPManagersBadRequest
NewDeleteApi24SNMPManagersBadRequest creates a DeleteApi24SNMPManagersBadRequest with default headers values
func (*DeleteApi24SNMPManagersBadRequest) Error ¶
func (o *DeleteApi24SNMPManagersBadRequest) Error() string
func (*DeleteApi24SNMPManagersBadRequest) GetPayload ¶
func (o *DeleteApi24SNMPManagersBadRequest) GetPayload() *models.Error
type DeleteApi24SNMPManagersOK ¶
type DeleteApi24SNMPManagersOK struct { }
DeleteApi24SNMPManagersOK handles this case with default header values.
OK
func NewDeleteApi24SNMPManagersOK ¶
func NewDeleteApi24SNMPManagersOK() *DeleteApi24SNMPManagersOK
NewDeleteApi24SNMPManagersOK creates a DeleteApi24SNMPManagersOK with default headers values
func (*DeleteApi24SNMPManagersOK) Error ¶
func (o *DeleteApi24SNMPManagersOK) Error() string
type GetAPI24SNMPManagersParams ¶
type GetAPI24SNMPManagersParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*ContinuationToken A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters. */ ContinuationToken *string /*Filter Narrows down the results to only the response objects that satisfy the filter criteria. */ Filter *string /*Limit Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size. */ Limit *int32 /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string /*Offset The starting position based on the results of the query in relation to the full set of response objects returned. */ Offset *int32 /*Sort Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values. */ Sort []string /*TotalItemCount If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`. */ TotalItemCount *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPI24SNMPManagersParams contains all the parameters to send to the API endpoint for the get API 24 SNMP managers operation typically these are written to a http.Request
func NewGetAPI24SNMPManagersParams ¶
func NewGetAPI24SNMPManagersParams() *GetAPI24SNMPManagersParams
NewGetAPI24SNMPManagersParams creates a new GetAPI24SNMPManagersParams object with the default values initialized.
func NewGetAPI24SNMPManagersParamsWithContext ¶
func NewGetAPI24SNMPManagersParamsWithContext(ctx context.Context) *GetAPI24SNMPManagersParams
NewGetAPI24SNMPManagersParamsWithContext creates a new GetAPI24SNMPManagersParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24SNMPManagersParamsWithHTTPClient ¶
func NewGetAPI24SNMPManagersParamsWithHTTPClient(client *http.Client) *GetAPI24SNMPManagersParams
NewGetAPI24SNMPManagersParamsWithHTTPClient creates a new GetAPI24SNMPManagersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24SNMPManagersParamsWithTimeout ¶
func NewGetAPI24SNMPManagersParamsWithTimeout(timeout time.Duration) *GetAPI24SNMPManagersParams
NewGetAPI24SNMPManagersParamsWithTimeout creates a new GetAPI24SNMPManagersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24SNMPManagersParams) SetAuthorization ¶
func (o *GetAPI24SNMPManagersParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetContext ¶
func (o *GetAPI24SNMPManagersParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetContinuationToken ¶
func (o *GetAPI24SNMPManagersParams) SetContinuationToken(continuationToken *string)
SetContinuationToken adds the continuationToken to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetFilter ¶
func (o *GetAPI24SNMPManagersParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetHTTPClient ¶
func (o *GetAPI24SNMPManagersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetLimit ¶
func (o *GetAPI24SNMPManagersParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetNames ¶
func (o *GetAPI24SNMPManagersParams) SetNames(names []string)
SetNames adds the names to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetOffset ¶
func (o *GetAPI24SNMPManagersParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetSort ¶
func (o *GetAPI24SNMPManagersParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetTimeout ¶
func (o *GetAPI24SNMPManagersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetTotalItemCount ¶
func (o *GetAPI24SNMPManagersParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) SetXRequestID ¶
func (o *GetAPI24SNMPManagersParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithAuthorization ¶
func (o *GetAPI24SNMPManagersParams) WithAuthorization(authorization *string) *GetAPI24SNMPManagersParams
WithAuthorization adds the authorization to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithContext ¶
func (o *GetAPI24SNMPManagersParams) WithContext(ctx context.Context) *GetAPI24SNMPManagersParams
WithContext adds the context to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithContinuationToken ¶
func (o *GetAPI24SNMPManagersParams) WithContinuationToken(continuationToken *string) *GetAPI24SNMPManagersParams
WithContinuationToken adds the continuationToken to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithFilter ¶
func (o *GetAPI24SNMPManagersParams) WithFilter(filter *string) *GetAPI24SNMPManagersParams
WithFilter adds the filter to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithHTTPClient ¶
func (o *GetAPI24SNMPManagersParams) WithHTTPClient(client *http.Client) *GetAPI24SNMPManagersParams
WithHTTPClient adds the HTTPClient to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithLimit ¶
func (o *GetAPI24SNMPManagersParams) WithLimit(limit *int32) *GetAPI24SNMPManagersParams
WithLimit adds the limit to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithNames ¶
func (o *GetAPI24SNMPManagersParams) WithNames(names []string) *GetAPI24SNMPManagersParams
WithNames adds the names to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithOffset ¶
func (o *GetAPI24SNMPManagersParams) WithOffset(offset *int32) *GetAPI24SNMPManagersParams
WithOffset adds the offset to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithSort ¶
func (o *GetAPI24SNMPManagersParams) WithSort(sort []string) *GetAPI24SNMPManagersParams
WithSort adds the sort to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithTimeout ¶
func (o *GetAPI24SNMPManagersParams) WithTimeout(timeout time.Duration) *GetAPI24SNMPManagersParams
WithTimeout adds the timeout to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithTotalItemCount ¶
func (o *GetAPI24SNMPManagersParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SNMPManagersParams
WithTotalItemCount adds the totalItemCount to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WithXRequestID ¶
func (o *GetAPI24SNMPManagersParams) WithXRequestID(xRequestID *string) *GetAPI24SNMPManagersParams
WithXRequestID adds the xRequestID to the get API 24 SNMP managers params
func (*GetAPI24SNMPManagersParams) WriteToRequest ¶
func (o *GetAPI24SNMPManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24SNMPManagersReader ¶
type GetAPI24SNMPManagersReader struct {
// contains filtered or unexported fields
}
GetAPI24SNMPManagersReader is a Reader for the GetAPI24SNMPManagers structure.
func (*GetAPI24SNMPManagersReader) ReadResponse ¶
func (o *GetAPI24SNMPManagersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPI24SNMPManagersTestParams ¶
type GetAPI24SNMPManagersTestParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Filter Narrows down the results to only the response objects that satisfy the filter criteria. */ Filter *string /*Limit Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size. */ Limit *int32 /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string /*Offset The starting position based on the results of the query in relation to the full set of response objects returned. */ Offset *int32 /*Sort Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values. */ Sort []string /*TotalItemCount If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`. */ TotalItemCount *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPI24SNMPManagersTestParams contains all the parameters to send to the API endpoint for the get API 24 SNMP managers test operation typically these are written to a http.Request
func NewGetAPI24SNMPManagersTestParams ¶
func NewGetAPI24SNMPManagersTestParams() *GetAPI24SNMPManagersTestParams
NewGetAPI24SNMPManagersTestParams creates a new GetAPI24SNMPManagersTestParams object with the default values initialized.
func NewGetAPI24SNMPManagersTestParamsWithContext ¶
func NewGetAPI24SNMPManagersTestParamsWithContext(ctx context.Context) *GetAPI24SNMPManagersTestParams
NewGetAPI24SNMPManagersTestParamsWithContext creates a new GetAPI24SNMPManagersTestParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24SNMPManagersTestParamsWithHTTPClient ¶
func NewGetAPI24SNMPManagersTestParamsWithHTTPClient(client *http.Client) *GetAPI24SNMPManagersTestParams
NewGetAPI24SNMPManagersTestParamsWithHTTPClient creates a new GetAPI24SNMPManagersTestParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24SNMPManagersTestParamsWithTimeout ¶
func NewGetAPI24SNMPManagersTestParamsWithTimeout(timeout time.Duration) *GetAPI24SNMPManagersTestParams
NewGetAPI24SNMPManagersTestParamsWithTimeout creates a new GetAPI24SNMPManagersTestParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24SNMPManagersTestParams) SetAuthorization ¶
func (o *GetAPI24SNMPManagersTestParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) SetContext ¶
func (o *GetAPI24SNMPManagersTestParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) SetFilter ¶
func (o *GetAPI24SNMPManagersTestParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) SetHTTPClient ¶
func (o *GetAPI24SNMPManagersTestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) SetLimit ¶
func (o *GetAPI24SNMPManagersTestParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) SetNames ¶
func (o *GetAPI24SNMPManagersTestParams) SetNames(names []string)
SetNames adds the names to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) SetOffset ¶
func (o *GetAPI24SNMPManagersTestParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) SetSort ¶
func (o *GetAPI24SNMPManagersTestParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) SetTimeout ¶
func (o *GetAPI24SNMPManagersTestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) SetTotalItemCount ¶
func (o *GetAPI24SNMPManagersTestParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) SetXRequestID ¶
func (o *GetAPI24SNMPManagersTestParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithAuthorization ¶
func (o *GetAPI24SNMPManagersTestParams) WithAuthorization(authorization *string) *GetAPI24SNMPManagersTestParams
WithAuthorization adds the authorization to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithContext ¶
func (o *GetAPI24SNMPManagersTestParams) WithContext(ctx context.Context) *GetAPI24SNMPManagersTestParams
WithContext adds the context to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithFilter ¶
func (o *GetAPI24SNMPManagersTestParams) WithFilter(filter *string) *GetAPI24SNMPManagersTestParams
WithFilter adds the filter to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithHTTPClient ¶
func (o *GetAPI24SNMPManagersTestParams) WithHTTPClient(client *http.Client) *GetAPI24SNMPManagersTestParams
WithHTTPClient adds the HTTPClient to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithLimit ¶
func (o *GetAPI24SNMPManagersTestParams) WithLimit(limit *int32) *GetAPI24SNMPManagersTestParams
WithLimit adds the limit to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithNames ¶
func (o *GetAPI24SNMPManagersTestParams) WithNames(names []string) *GetAPI24SNMPManagersTestParams
WithNames adds the names to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithOffset ¶
func (o *GetAPI24SNMPManagersTestParams) WithOffset(offset *int32) *GetAPI24SNMPManagersTestParams
WithOffset adds the offset to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithSort ¶
func (o *GetAPI24SNMPManagersTestParams) WithSort(sort []string) *GetAPI24SNMPManagersTestParams
WithSort adds the sort to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithTimeout ¶
func (o *GetAPI24SNMPManagersTestParams) WithTimeout(timeout time.Duration) *GetAPI24SNMPManagersTestParams
WithTimeout adds the timeout to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithTotalItemCount ¶
func (o *GetAPI24SNMPManagersTestParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SNMPManagersTestParams
WithTotalItemCount adds the totalItemCount to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WithXRequestID ¶
func (o *GetAPI24SNMPManagersTestParams) WithXRequestID(xRequestID *string) *GetAPI24SNMPManagersTestParams
WithXRequestID adds the xRequestID to the get API 24 SNMP managers test params
func (*GetAPI24SNMPManagersTestParams) WriteToRequest ¶
func (o *GetAPI24SNMPManagersTestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24SNMPManagersTestReader ¶
type GetAPI24SNMPManagersTestReader struct {
// contains filtered or unexported fields
}
GetAPI24SNMPManagersTestReader is a Reader for the GetAPI24SNMPManagersTest structure.
func (*GetAPI24SNMPManagersTestReader) ReadResponse ¶
func (o *GetAPI24SNMPManagersTestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24SNMPManagersBadRequest ¶
GetApi24SNMPManagersBadRequest handles this case with default header values.
BadRequest
func NewGetApi24SNMPManagersBadRequest ¶
func NewGetApi24SNMPManagersBadRequest() *GetApi24SNMPManagersBadRequest
NewGetApi24SNMPManagersBadRequest creates a GetApi24SNMPManagersBadRequest with default headers values
func (*GetApi24SNMPManagersBadRequest) Error ¶
func (o *GetApi24SNMPManagersBadRequest) Error() string
func (*GetApi24SNMPManagersBadRequest) GetPayload ¶
func (o *GetApi24SNMPManagersBadRequest) GetPayload() *models.Error
type GetApi24SNMPManagersOK ¶
type GetApi24SNMPManagersOK struct {
Payload *models.SNMPManagerGetResponse
}
GetApi24SNMPManagersOK handles this case with default header values.
OK
func NewGetApi24SNMPManagersOK ¶
func NewGetApi24SNMPManagersOK() *GetApi24SNMPManagersOK
NewGetApi24SNMPManagersOK creates a GetApi24SNMPManagersOK with default headers values
func (*GetApi24SNMPManagersOK) Error ¶
func (o *GetApi24SNMPManagersOK) Error() string
func (*GetApi24SNMPManagersOK) GetPayload ¶
func (o *GetApi24SNMPManagersOK) GetPayload() *models.SNMPManagerGetResponse
type GetApi24SNMPManagersTestBadRequest ¶
GetApi24SNMPManagersTestBadRequest handles this case with default header values.
BadRequest
func NewGetApi24SNMPManagersTestBadRequest ¶
func NewGetApi24SNMPManagersTestBadRequest() *GetApi24SNMPManagersTestBadRequest
NewGetApi24SNMPManagersTestBadRequest creates a GetApi24SNMPManagersTestBadRequest with default headers values
func (*GetApi24SNMPManagersTestBadRequest) Error ¶
func (o *GetApi24SNMPManagersTestBadRequest) Error() string
func (*GetApi24SNMPManagersTestBadRequest) GetPayload ¶
func (o *GetApi24SNMPManagersTestBadRequest) GetPayload() *models.Error
type GetApi24SNMPManagersTestOK ¶
type GetApi24SNMPManagersTestOK struct {
Payload *models.TestResultWithResourceGetResponse
}
GetApi24SNMPManagersTestOK handles this case with default header values.
OK
func NewGetApi24SNMPManagersTestOK ¶
func NewGetApi24SNMPManagersTestOK() *GetApi24SNMPManagersTestOK
NewGetApi24SNMPManagersTestOK creates a GetApi24SNMPManagersTestOK with default headers values
func (*GetApi24SNMPManagersTestOK) Error ¶
func (o *GetApi24SNMPManagersTestOK) Error() string
func (*GetApi24SNMPManagersTestOK) GetPayload ¶
func (o *GetApi24SNMPManagersTestOK) GetPayload() *models.TestResultWithResourceGetResponse
type PatchAPI24SNMPManagersParams ¶
type PatchAPI24SNMPManagersParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string /*SNMPManager*/ SNMPManager *models.SNMPManagerPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPI24SNMPManagersParams contains all the parameters to send to the API endpoint for the patch API 24 SNMP managers operation typically these are written to a http.Request
func NewPatchAPI24SNMPManagersParams ¶
func NewPatchAPI24SNMPManagersParams() *PatchAPI24SNMPManagersParams
NewPatchAPI24SNMPManagersParams creates a new PatchAPI24SNMPManagersParams object with the default values initialized.
func NewPatchAPI24SNMPManagersParamsWithContext ¶
func NewPatchAPI24SNMPManagersParamsWithContext(ctx context.Context) *PatchAPI24SNMPManagersParams
NewPatchAPI24SNMPManagersParamsWithContext creates a new PatchAPI24SNMPManagersParams object with the default values initialized, and the ability to set a context for a request
func NewPatchAPI24SNMPManagersParamsWithHTTPClient ¶
func NewPatchAPI24SNMPManagersParamsWithHTTPClient(client *http.Client) *PatchAPI24SNMPManagersParams
NewPatchAPI24SNMPManagersParamsWithHTTPClient creates a new PatchAPI24SNMPManagersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchAPI24SNMPManagersParamsWithTimeout ¶
func NewPatchAPI24SNMPManagersParamsWithTimeout(timeout time.Duration) *PatchAPI24SNMPManagersParams
NewPatchAPI24SNMPManagersParamsWithTimeout creates a new PatchAPI24SNMPManagersParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchAPI24SNMPManagersParams) SetAuthorization ¶
func (o *PatchAPI24SNMPManagersParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) SetContext ¶
func (o *PatchAPI24SNMPManagersParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) SetHTTPClient ¶
func (o *PatchAPI24SNMPManagersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) SetNames ¶
func (o *PatchAPI24SNMPManagersParams) SetNames(names []string)
SetNames adds the names to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) SetSNMPManager ¶
func (o *PatchAPI24SNMPManagersParams) SetSNMPManager(sNMPManager *models.SNMPManagerPatch)
SetSNMPManager adds the snmpManager to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) SetTimeout ¶
func (o *PatchAPI24SNMPManagersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) SetXRequestID ¶
func (o *PatchAPI24SNMPManagersParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) WithAuthorization ¶
func (o *PatchAPI24SNMPManagersParams) WithAuthorization(authorization *string) *PatchAPI24SNMPManagersParams
WithAuthorization adds the authorization to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) WithContext ¶
func (o *PatchAPI24SNMPManagersParams) WithContext(ctx context.Context) *PatchAPI24SNMPManagersParams
WithContext adds the context to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) WithHTTPClient ¶
func (o *PatchAPI24SNMPManagersParams) WithHTTPClient(client *http.Client) *PatchAPI24SNMPManagersParams
WithHTTPClient adds the HTTPClient to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) WithNames ¶
func (o *PatchAPI24SNMPManagersParams) WithNames(names []string) *PatchAPI24SNMPManagersParams
WithNames adds the names to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) WithSNMPManager ¶
func (o *PatchAPI24SNMPManagersParams) WithSNMPManager(sNMPManager *models.SNMPManagerPatch) *PatchAPI24SNMPManagersParams
WithSNMPManager adds the sNMPManager to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) WithTimeout ¶
func (o *PatchAPI24SNMPManagersParams) WithTimeout(timeout time.Duration) *PatchAPI24SNMPManagersParams
WithTimeout adds the timeout to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) WithXRequestID ¶
func (o *PatchAPI24SNMPManagersParams) WithXRequestID(xRequestID *string) *PatchAPI24SNMPManagersParams
WithXRequestID adds the xRequestID to the patch API 24 SNMP managers params
func (*PatchAPI24SNMPManagersParams) WriteToRequest ¶
func (o *PatchAPI24SNMPManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPI24SNMPManagersReader ¶
type PatchAPI24SNMPManagersReader struct {
// contains filtered or unexported fields
}
PatchAPI24SNMPManagersReader is a Reader for the PatchAPI24SNMPManagers structure.
func (*PatchAPI24SNMPManagersReader) ReadResponse ¶
func (o *PatchAPI24SNMPManagersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchApi24SNMPManagersBadRequest ¶
PatchApi24SNMPManagersBadRequest handles this case with default header values.
BadRequest
func NewPatchApi24SNMPManagersBadRequest ¶
func NewPatchApi24SNMPManagersBadRequest() *PatchApi24SNMPManagersBadRequest
NewPatchApi24SNMPManagersBadRequest creates a PatchApi24SNMPManagersBadRequest with default headers values
func (*PatchApi24SNMPManagersBadRequest) Error ¶
func (o *PatchApi24SNMPManagersBadRequest) Error() string
func (*PatchApi24SNMPManagersBadRequest) GetPayload ¶
func (o *PatchApi24SNMPManagersBadRequest) GetPayload() *models.Error
type PatchApi24SNMPManagersOK ¶
type PatchApi24SNMPManagersOK struct {
Payload *models.SNMPManagerResponse
}
PatchApi24SNMPManagersOK handles this case with default header values.
Returns the newly updated snmp manager object.
func NewPatchApi24SNMPManagersOK ¶
func NewPatchApi24SNMPManagersOK() *PatchApi24SNMPManagersOK
NewPatchApi24SNMPManagersOK creates a PatchApi24SNMPManagersOK with default headers values
func (*PatchApi24SNMPManagersOK) Error ¶
func (o *PatchApi24SNMPManagersOK) Error() string
func (*PatchApi24SNMPManagersOK) GetPayload ¶
func (o *PatchApi24SNMPManagersOK) GetPayload() *models.SNMPManagerResponse
type PostAPI24SNMPManagersParams ¶
type PostAPI24SNMPManagersParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string /*SNMPManager*/ SNMPManager *models.SNMPManagerPost Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPI24SNMPManagersParams contains all the parameters to send to the API endpoint for the post API 24 SNMP managers operation typically these are written to a http.Request
func NewPostAPI24SNMPManagersParams ¶
func NewPostAPI24SNMPManagersParams() *PostAPI24SNMPManagersParams
NewPostAPI24SNMPManagersParams creates a new PostAPI24SNMPManagersParams object with the default values initialized.
func NewPostAPI24SNMPManagersParamsWithContext ¶
func NewPostAPI24SNMPManagersParamsWithContext(ctx context.Context) *PostAPI24SNMPManagersParams
NewPostAPI24SNMPManagersParamsWithContext creates a new PostAPI24SNMPManagersParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPI24SNMPManagersParamsWithHTTPClient ¶
func NewPostAPI24SNMPManagersParamsWithHTTPClient(client *http.Client) *PostAPI24SNMPManagersParams
NewPostAPI24SNMPManagersParamsWithHTTPClient creates a new PostAPI24SNMPManagersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPI24SNMPManagersParamsWithTimeout ¶
func NewPostAPI24SNMPManagersParamsWithTimeout(timeout time.Duration) *PostAPI24SNMPManagersParams
NewPostAPI24SNMPManagersParamsWithTimeout creates a new PostAPI24SNMPManagersParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPI24SNMPManagersParams) SetAuthorization ¶
func (o *PostAPI24SNMPManagersParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) SetContext ¶
func (o *PostAPI24SNMPManagersParams) SetContext(ctx context.Context)
SetContext adds the context to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) SetHTTPClient ¶
func (o *PostAPI24SNMPManagersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) SetNames ¶
func (o *PostAPI24SNMPManagersParams) SetNames(names []string)
SetNames adds the names to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) SetSNMPManager ¶
func (o *PostAPI24SNMPManagersParams) SetSNMPManager(sNMPManager *models.SNMPManagerPost)
SetSNMPManager adds the snmpManager to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) SetTimeout ¶
func (o *PostAPI24SNMPManagersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) SetXRequestID ¶
func (o *PostAPI24SNMPManagersParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) WithAuthorization ¶
func (o *PostAPI24SNMPManagersParams) WithAuthorization(authorization *string) *PostAPI24SNMPManagersParams
WithAuthorization adds the authorization to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) WithContext ¶
func (o *PostAPI24SNMPManagersParams) WithContext(ctx context.Context) *PostAPI24SNMPManagersParams
WithContext adds the context to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) WithHTTPClient ¶
func (o *PostAPI24SNMPManagersParams) WithHTTPClient(client *http.Client) *PostAPI24SNMPManagersParams
WithHTTPClient adds the HTTPClient to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) WithNames ¶
func (o *PostAPI24SNMPManagersParams) WithNames(names []string) *PostAPI24SNMPManagersParams
WithNames adds the names to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) WithSNMPManager ¶
func (o *PostAPI24SNMPManagersParams) WithSNMPManager(sNMPManager *models.SNMPManagerPost) *PostAPI24SNMPManagersParams
WithSNMPManager adds the sNMPManager to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) WithTimeout ¶
func (o *PostAPI24SNMPManagersParams) WithTimeout(timeout time.Duration) *PostAPI24SNMPManagersParams
WithTimeout adds the timeout to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) WithXRequestID ¶
func (o *PostAPI24SNMPManagersParams) WithXRequestID(xRequestID *string) *PostAPI24SNMPManagersParams
WithXRequestID adds the xRequestID to the post API 24 SNMP managers params
func (*PostAPI24SNMPManagersParams) WriteToRequest ¶
func (o *PostAPI24SNMPManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPI24SNMPManagersReader ¶
type PostAPI24SNMPManagersReader struct {
// contains filtered or unexported fields
}
PostAPI24SNMPManagersReader is a Reader for the PostAPI24SNMPManagers structure.
func (*PostAPI24SNMPManagersReader) ReadResponse ¶
func (o *PostAPI24SNMPManagersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostApi24SNMPManagersBadRequest ¶
PostApi24SNMPManagersBadRequest handles this case with default header values.
BadRequest
func NewPostApi24SNMPManagersBadRequest ¶
func NewPostApi24SNMPManagersBadRequest() *PostApi24SNMPManagersBadRequest
NewPostApi24SNMPManagersBadRequest creates a PostApi24SNMPManagersBadRequest with default headers values
func (*PostApi24SNMPManagersBadRequest) Error ¶
func (o *PostApi24SNMPManagersBadRequest) Error() string
func (*PostApi24SNMPManagersBadRequest) GetPayload ¶
func (o *PostApi24SNMPManagersBadRequest) GetPayload() *models.Error
type PostApi24SNMPManagersOK ¶
type PostApi24SNMPManagersOK struct {
Payload *models.SNMPManagerResponse
}
PostApi24SNMPManagersOK handles this case with default header values.
Returns the newly created snmp manager object.
func NewPostApi24SNMPManagersOK ¶
func NewPostApi24SNMPManagersOK() *PostApi24SNMPManagersOK
NewPostApi24SNMPManagersOK creates a PostApi24SNMPManagersOK with default headers values
func (*PostApi24SNMPManagersOK) Error ¶
func (o *PostApi24SNMPManagersOK) Error() string
func (*PostApi24SNMPManagersOK) GetPayload ¶
func (o *PostApi24SNMPManagersOK) GetPayload() *models.SNMPManagerResponse
Source Files ¶
- delete_api_24_snmp_managers_parameters.go
- delete_api_24_snmp_managers_responses.go
- get_api_24_snmp_managers_parameters.go
- get_api_24_snmp_managers_responses.go
- get_api_24_snmp_managers_test_swagger_parameters.go
- get_api_24_snmp_managers_test_swagger_responses.go
- patch_api_24_snmp_managers_parameters.go
- patch_api_24_snmp_managers_responses.go
- post_api_24_snmp_managers_parameters.go
- post_api_24_snmp_managers_responses.go
- snmp_managers_client.go