Documentation
¶
Index ¶
- type Client
- func (a *Client) GetAPI24SNMPAgents(params *GetAPI24SNMPAgentsParams) (*GetApi24SNMPAgentsOK, error)
- func (a *Client) GetAPI24SNMPAgentsMib(params *GetAPI24SNMPAgentsMibParams) (*GetApi24SNMPAgentsMibOK, error)
- func (a *Client) PatchAPI24SNMPAgents(params *PatchAPI24SNMPAgentsParams) (*PatchApi24SNMPAgentsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetAPI24SNMPAgentsMibParams
- func NewGetAPI24SNMPAgentsMibParams() *GetAPI24SNMPAgentsMibParams
- func NewGetAPI24SNMPAgentsMibParamsWithContext(ctx context.Context) *GetAPI24SNMPAgentsMibParams
- func NewGetAPI24SNMPAgentsMibParamsWithHTTPClient(client *http.Client) *GetAPI24SNMPAgentsMibParams
- func NewGetAPI24SNMPAgentsMibParamsWithTimeout(timeout time.Duration) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) SetAuthorization(authorization *string)
- func (o *GetAPI24SNMPAgentsMibParams) SetContext(ctx context.Context)
- func (o *GetAPI24SNMPAgentsMibParams) SetFilter(filter *string)
- func (o *GetAPI24SNMPAgentsMibParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24SNMPAgentsMibParams) SetLimit(limit *int32)
- func (o *GetAPI24SNMPAgentsMibParams) SetOffset(offset *int32)
- func (o *GetAPI24SNMPAgentsMibParams) SetSort(sort []string)
- func (o *GetAPI24SNMPAgentsMibParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24SNMPAgentsMibParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24SNMPAgentsMibParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24SNMPAgentsMibParams) WithAuthorization(authorization *string) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) WithContext(ctx context.Context) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) WithFilter(filter *string) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) WithHTTPClient(client *http.Client) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) WithLimit(limit *int32) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) WithOffset(offset *int32) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) WithSort(sort []string) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) WithTimeout(timeout time.Duration) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) WithXRequestID(xRequestID *string) *GetAPI24SNMPAgentsMibParams
- func (o *GetAPI24SNMPAgentsMibParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24SNMPAgentsMibReader
- type GetAPI24SNMPAgentsParams
- func NewGetAPI24SNMPAgentsParams() *GetAPI24SNMPAgentsParams
- func NewGetAPI24SNMPAgentsParamsWithContext(ctx context.Context) *GetAPI24SNMPAgentsParams
- func NewGetAPI24SNMPAgentsParamsWithHTTPClient(client *http.Client) *GetAPI24SNMPAgentsParams
- func NewGetAPI24SNMPAgentsParamsWithTimeout(timeout time.Duration) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24SNMPAgentsParams) SetContext(ctx context.Context)
- func (o *GetAPI24SNMPAgentsParams) SetFilter(filter *string)
- func (o *GetAPI24SNMPAgentsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24SNMPAgentsParams) SetLimit(limit *int32)
- func (o *GetAPI24SNMPAgentsParams) SetOffset(offset *int32)
- func (o *GetAPI24SNMPAgentsParams) SetSort(sort []string)
- func (o *GetAPI24SNMPAgentsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24SNMPAgentsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24SNMPAgentsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24SNMPAgentsParams) WithAuthorization(authorization *string) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) WithContext(ctx context.Context) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) WithFilter(filter *string) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) WithHTTPClient(client *http.Client) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) WithLimit(limit *int32) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) WithOffset(offset *int32) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) WithSort(sort []string) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) WithTimeout(timeout time.Duration) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) WithXRequestID(xRequestID *string) *GetAPI24SNMPAgentsParams
- func (o *GetAPI24SNMPAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24SNMPAgentsReader
- type GetApi24SNMPAgentsBadRequest
- type GetApi24SNMPAgentsMibBadRequest
- type GetApi24SNMPAgentsMibOK
- type GetApi24SNMPAgentsOK
- type PatchAPI24SNMPAgentsParams
- func NewPatchAPI24SNMPAgentsParams() *PatchAPI24SNMPAgentsParams
- func NewPatchAPI24SNMPAgentsParamsWithContext(ctx context.Context) *PatchAPI24SNMPAgentsParams
- func NewPatchAPI24SNMPAgentsParamsWithHTTPClient(client *http.Client) *PatchAPI24SNMPAgentsParams
- func NewPatchAPI24SNMPAgentsParamsWithTimeout(timeout time.Duration) *PatchAPI24SNMPAgentsParams
- func (o *PatchAPI24SNMPAgentsParams) SetAuthorization(authorization *string)
- func (o *PatchAPI24SNMPAgentsParams) SetContext(ctx context.Context)
- func (o *PatchAPI24SNMPAgentsParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPI24SNMPAgentsParams) SetSNMPAgent(sNMPAgent *models.SNMPAgentPatch)
- func (o *PatchAPI24SNMPAgentsParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPI24SNMPAgentsParams) SetXRequestID(xRequestID *string)
- func (o *PatchAPI24SNMPAgentsParams) WithAuthorization(authorization *string) *PatchAPI24SNMPAgentsParams
- func (o *PatchAPI24SNMPAgentsParams) WithContext(ctx context.Context) *PatchAPI24SNMPAgentsParams
- func (o *PatchAPI24SNMPAgentsParams) WithHTTPClient(client *http.Client) *PatchAPI24SNMPAgentsParams
- func (o *PatchAPI24SNMPAgentsParams) WithSNMPAgent(sNMPAgent *models.SNMPAgentPatch) *PatchAPI24SNMPAgentsParams
- func (o *PatchAPI24SNMPAgentsParams) WithTimeout(timeout time.Duration) *PatchAPI24SNMPAgentsParams
- func (o *PatchAPI24SNMPAgentsParams) WithXRequestID(xRequestID *string) *PatchAPI24SNMPAgentsParams
- func (o *PatchAPI24SNMPAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPI24SNMPAgentsReader
- type PatchApi24SNMPAgentsBadRequest
- type PatchApi24SNMPAgentsOK
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 agents API
func (*Client) GetAPI24SNMPAgents ¶
func (a *Client) GetAPI24SNMPAgents(params *GetAPI24SNMPAgentsParams) (*GetApi24SNMPAgentsOK, error)
GetAPI24SNMPAgents lists SNMP agent
Displays the SNMP agent name and protocol attributes.
func (*Client) GetAPI24SNMPAgentsMib ¶
func (a *Client) GetAPI24SNMPAgentsMib(params *GetAPI24SNMPAgentsMibParams) (*GetApi24SNMPAgentsMibOK, error)
GetAPI24SNMPAgentsMib lists SNMP agent m i b text
Displays the SNMP MIB text.
func (*Client) PatchAPI24SNMPAgents ¶
func (a *Client) PatchAPI24SNMPAgents(params *PatchAPI24SNMPAgentsParams) (*PatchApi24SNMPAgentsOK, error)
PatchAPI24SNMPAgents modifies SNMP agent
Modifies the name or the protocol attributes of the SNMP agent.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetAPI24SNMPAgents(params *GetAPI24SNMPAgentsParams) (*GetApi24SNMPAgentsOK, error) GetAPI24SNMPAgentsMib(params *GetAPI24SNMPAgentsMibParams) (*GetApi24SNMPAgentsMibOK, error) PatchAPI24SNMPAgents(params *PatchAPI24SNMPAgentsParams) (*PatchApi24SNMPAgentsOK, 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 agents API client.
type GetAPI24SNMPAgentsMibParams ¶
type GetAPI24SNMPAgentsMibParams 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 /*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 }
GetAPI24SNMPAgentsMibParams contains all the parameters to send to the API endpoint for the get API 24 SNMP agents mib operation typically these are written to a http.Request
func NewGetAPI24SNMPAgentsMibParams ¶
func NewGetAPI24SNMPAgentsMibParams() *GetAPI24SNMPAgentsMibParams
NewGetAPI24SNMPAgentsMibParams creates a new GetAPI24SNMPAgentsMibParams object with the default values initialized.
func NewGetAPI24SNMPAgentsMibParamsWithContext ¶
func NewGetAPI24SNMPAgentsMibParamsWithContext(ctx context.Context) *GetAPI24SNMPAgentsMibParams
NewGetAPI24SNMPAgentsMibParamsWithContext creates a new GetAPI24SNMPAgentsMibParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24SNMPAgentsMibParamsWithHTTPClient ¶
func NewGetAPI24SNMPAgentsMibParamsWithHTTPClient(client *http.Client) *GetAPI24SNMPAgentsMibParams
NewGetAPI24SNMPAgentsMibParamsWithHTTPClient creates a new GetAPI24SNMPAgentsMibParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24SNMPAgentsMibParamsWithTimeout ¶
func NewGetAPI24SNMPAgentsMibParamsWithTimeout(timeout time.Duration) *GetAPI24SNMPAgentsMibParams
NewGetAPI24SNMPAgentsMibParamsWithTimeout creates a new GetAPI24SNMPAgentsMibParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24SNMPAgentsMibParams) SetAuthorization ¶
func (o *GetAPI24SNMPAgentsMibParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) SetContext ¶
func (o *GetAPI24SNMPAgentsMibParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) SetFilter ¶
func (o *GetAPI24SNMPAgentsMibParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) SetHTTPClient ¶
func (o *GetAPI24SNMPAgentsMibParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) SetLimit ¶
func (o *GetAPI24SNMPAgentsMibParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) SetOffset ¶
func (o *GetAPI24SNMPAgentsMibParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) SetSort ¶
func (o *GetAPI24SNMPAgentsMibParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) SetTimeout ¶
func (o *GetAPI24SNMPAgentsMibParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) SetTotalItemCount ¶
func (o *GetAPI24SNMPAgentsMibParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) SetXRequestID ¶
func (o *GetAPI24SNMPAgentsMibParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WithAuthorization ¶
func (o *GetAPI24SNMPAgentsMibParams) WithAuthorization(authorization *string) *GetAPI24SNMPAgentsMibParams
WithAuthorization adds the authorization to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WithContext ¶
func (o *GetAPI24SNMPAgentsMibParams) WithContext(ctx context.Context) *GetAPI24SNMPAgentsMibParams
WithContext adds the context to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WithFilter ¶
func (o *GetAPI24SNMPAgentsMibParams) WithFilter(filter *string) *GetAPI24SNMPAgentsMibParams
WithFilter adds the filter to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WithHTTPClient ¶
func (o *GetAPI24SNMPAgentsMibParams) WithHTTPClient(client *http.Client) *GetAPI24SNMPAgentsMibParams
WithHTTPClient adds the HTTPClient to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WithLimit ¶
func (o *GetAPI24SNMPAgentsMibParams) WithLimit(limit *int32) *GetAPI24SNMPAgentsMibParams
WithLimit adds the limit to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WithOffset ¶
func (o *GetAPI24SNMPAgentsMibParams) WithOffset(offset *int32) *GetAPI24SNMPAgentsMibParams
WithOffset adds the offset to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WithSort ¶
func (o *GetAPI24SNMPAgentsMibParams) WithSort(sort []string) *GetAPI24SNMPAgentsMibParams
WithSort adds the sort to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WithTimeout ¶
func (o *GetAPI24SNMPAgentsMibParams) WithTimeout(timeout time.Duration) *GetAPI24SNMPAgentsMibParams
WithTimeout adds the timeout to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WithTotalItemCount ¶
func (o *GetAPI24SNMPAgentsMibParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SNMPAgentsMibParams
WithTotalItemCount adds the totalItemCount to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WithXRequestID ¶
func (o *GetAPI24SNMPAgentsMibParams) WithXRequestID(xRequestID *string) *GetAPI24SNMPAgentsMibParams
WithXRequestID adds the xRequestID to the get API 24 SNMP agents mib params
func (*GetAPI24SNMPAgentsMibParams) WriteToRequest ¶
func (o *GetAPI24SNMPAgentsMibParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24SNMPAgentsMibReader ¶
type GetAPI24SNMPAgentsMibReader struct {
// contains filtered or unexported fields
}
GetAPI24SNMPAgentsMibReader is a Reader for the GetAPI24SNMPAgentsMib structure.
func (*GetAPI24SNMPAgentsMibReader) ReadResponse ¶
func (o *GetAPI24SNMPAgentsMibReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPI24SNMPAgentsParams ¶
type GetAPI24SNMPAgentsParams 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 /*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 }
GetAPI24SNMPAgentsParams contains all the parameters to send to the API endpoint for the get API 24 SNMP agents operation typically these are written to a http.Request
func NewGetAPI24SNMPAgentsParams ¶
func NewGetAPI24SNMPAgentsParams() *GetAPI24SNMPAgentsParams
NewGetAPI24SNMPAgentsParams creates a new GetAPI24SNMPAgentsParams object with the default values initialized.
func NewGetAPI24SNMPAgentsParamsWithContext ¶
func NewGetAPI24SNMPAgentsParamsWithContext(ctx context.Context) *GetAPI24SNMPAgentsParams
NewGetAPI24SNMPAgentsParamsWithContext creates a new GetAPI24SNMPAgentsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24SNMPAgentsParamsWithHTTPClient ¶
func NewGetAPI24SNMPAgentsParamsWithHTTPClient(client *http.Client) *GetAPI24SNMPAgentsParams
NewGetAPI24SNMPAgentsParamsWithHTTPClient creates a new GetAPI24SNMPAgentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24SNMPAgentsParamsWithTimeout ¶
func NewGetAPI24SNMPAgentsParamsWithTimeout(timeout time.Duration) *GetAPI24SNMPAgentsParams
NewGetAPI24SNMPAgentsParamsWithTimeout creates a new GetAPI24SNMPAgentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24SNMPAgentsParams) SetAuthorization ¶
func (o *GetAPI24SNMPAgentsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) SetContext ¶
func (o *GetAPI24SNMPAgentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) SetFilter ¶
func (o *GetAPI24SNMPAgentsParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) SetHTTPClient ¶
func (o *GetAPI24SNMPAgentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) SetLimit ¶
func (o *GetAPI24SNMPAgentsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) SetOffset ¶
func (o *GetAPI24SNMPAgentsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) SetSort ¶
func (o *GetAPI24SNMPAgentsParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) SetTimeout ¶
func (o *GetAPI24SNMPAgentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) SetTotalItemCount ¶
func (o *GetAPI24SNMPAgentsParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) SetXRequestID ¶
func (o *GetAPI24SNMPAgentsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WithAuthorization ¶
func (o *GetAPI24SNMPAgentsParams) WithAuthorization(authorization *string) *GetAPI24SNMPAgentsParams
WithAuthorization adds the authorization to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WithContext ¶
func (o *GetAPI24SNMPAgentsParams) WithContext(ctx context.Context) *GetAPI24SNMPAgentsParams
WithContext adds the context to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WithFilter ¶
func (o *GetAPI24SNMPAgentsParams) WithFilter(filter *string) *GetAPI24SNMPAgentsParams
WithFilter adds the filter to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WithHTTPClient ¶
func (o *GetAPI24SNMPAgentsParams) WithHTTPClient(client *http.Client) *GetAPI24SNMPAgentsParams
WithHTTPClient adds the HTTPClient to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WithLimit ¶
func (o *GetAPI24SNMPAgentsParams) WithLimit(limit *int32) *GetAPI24SNMPAgentsParams
WithLimit adds the limit to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WithOffset ¶
func (o *GetAPI24SNMPAgentsParams) WithOffset(offset *int32) *GetAPI24SNMPAgentsParams
WithOffset adds the offset to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WithSort ¶
func (o *GetAPI24SNMPAgentsParams) WithSort(sort []string) *GetAPI24SNMPAgentsParams
WithSort adds the sort to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WithTimeout ¶
func (o *GetAPI24SNMPAgentsParams) WithTimeout(timeout time.Duration) *GetAPI24SNMPAgentsParams
WithTimeout adds the timeout to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WithTotalItemCount ¶
func (o *GetAPI24SNMPAgentsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SNMPAgentsParams
WithTotalItemCount adds the totalItemCount to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WithXRequestID ¶
func (o *GetAPI24SNMPAgentsParams) WithXRequestID(xRequestID *string) *GetAPI24SNMPAgentsParams
WithXRequestID adds the xRequestID to the get API 24 SNMP agents params
func (*GetAPI24SNMPAgentsParams) WriteToRequest ¶
func (o *GetAPI24SNMPAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24SNMPAgentsReader ¶
type GetAPI24SNMPAgentsReader struct {
// contains filtered or unexported fields
}
GetAPI24SNMPAgentsReader is a Reader for the GetAPI24SNMPAgents structure.
func (*GetAPI24SNMPAgentsReader) ReadResponse ¶
func (o *GetAPI24SNMPAgentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24SNMPAgentsBadRequest ¶
GetApi24SNMPAgentsBadRequest handles this case with default header values.
BadRequest
func NewGetApi24SNMPAgentsBadRequest ¶
func NewGetApi24SNMPAgentsBadRequest() *GetApi24SNMPAgentsBadRequest
NewGetApi24SNMPAgentsBadRequest creates a GetApi24SNMPAgentsBadRequest with default headers values
func (*GetApi24SNMPAgentsBadRequest) Error ¶
func (o *GetApi24SNMPAgentsBadRequest) Error() string
func (*GetApi24SNMPAgentsBadRequest) GetPayload ¶
func (o *GetApi24SNMPAgentsBadRequest) GetPayload() *models.Error
type GetApi24SNMPAgentsMibBadRequest ¶
GetApi24SNMPAgentsMibBadRequest handles this case with default header values.
BadRequest
func NewGetApi24SNMPAgentsMibBadRequest ¶
func NewGetApi24SNMPAgentsMibBadRequest() *GetApi24SNMPAgentsMibBadRequest
NewGetApi24SNMPAgentsMibBadRequest creates a GetApi24SNMPAgentsMibBadRequest with default headers values
func (*GetApi24SNMPAgentsMibBadRequest) Error ¶
func (o *GetApi24SNMPAgentsMibBadRequest) Error() string
func (*GetApi24SNMPAgentsMibBadRequest) GetPayload ¶
func (o *GetApi24SNMPAgentsMibBadRequest) GetPayload() *models.Error
type GetApi24SNMPAgentsMibOK ¶
type GetApi24SNMPAgentsMibOK struct {
Payload *models.SNMPAgentMibGetResponse
}
GetApi24SNMPAgentsMibOK handles this case with default header values.
OK
func NewGetApi24SNMPAgentsMibOK ¶
func NewGetApi24SNMPAgentsMibOK() *GetApi24SNMPAgentsMibOK
NewGetApi24SNMPAgentsMibOK creates a GetApi24SNMPAgentsMibOK with default headers values
func (*GetApi24SNMPAgentsMibOK) Error ¶
func (o *GetApi24SNMPAgentsMibOK) Error() string
func (*GetApi24SNMPAgentsMibOK) GetPayload ¶
func (o *GetApi24SNMPAgentsMibOK) GetPayload() *models.SNMPAgentMibGetResponse
type GetApi24SNMPAgentsOK ¶
type GetApi24SNMPAgentsOK struct {
Payload *models.SNMPAgentGetResponse
}
GetApi24SNMPAgentsOK handles this case with default header values.
OK
func NewGetApi24SNMPAgentsOK ¶
func NewGetApi24SNMPAgentsOK() *GetApi24SNMPAgentsOK
NewGetApi24SNMPAgentsOK creates a GetApi24SNMPAgentsOK with default headers values
func (*GetApi24SNMPAgentsOK) Error ¶
func (o *GetApi24SNMPAgentsOK) Error() string
func (*GetApi24SNMPAgentsOK) GetPayload ¶
func (o *GetApi24SNMPAgentsOK) GetPayload() *models.SNMPAgentGetResponse
type PatchAPI24SNMPAgentsParams ¶
type PatchAPI24SNMPAgentsParams 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 /*SNMPAgent*/ SNMPAgent *models.SNMPAgentPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPI24SNMPAgentsParams contains all the parameters to send to the API endpoint for the patch API 24 SNMP agents operation typically these are written to a http.Request
func NewPatchAPI24SNMPAgentsParams ¶
func NewPatchAPI24SNMPAgentsParams() *PatchAPI24SNMPAgentsParams
NewPatchAPI24SNMPAgentsParams creates a new PatchAPI24SNMPAgentsParams object with the default values initialized.
func NewPatchAPI24SNMPAgentsParamsWithContext ¶
func NewPatchAPI24SNMPAgentsParamsWithContext(ctx context.Context) *PatchAPI24SNMPAgentsParams
NewPatchAPI24SNMPAgentsParamsWithContext creates a new PatchAPI24SNMPAgentsParams object with the default values initialized, and the ability to set a context for a request
func NewPatchAPI24SNMPAgentsParamsWithHTTPClient ¶
func NewPatchAPI24SNMPAgentsParamsWithHTTPClient(client *http.Client) *PatchAPI24SNMPAgentsParams
NewPatchAPI24SNMPAgentsParamsWithHTTPClient creates a new PatchAPI24SNMPAgentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchAPI24SNMPAgentsParamsWithTimeout ¶
func NewPatchAPI24SNMPAgentsParamsWithTimeout(timeout time.Duration) *PatchAPI24SNMPAgentsParams
NewPatchAPI24SNMPAgentsParamsWithTimeout creates a new PatchAPI24SNMPAgentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchAPI24SNMPAgentsParams) SetAuthorization ¶
func (o *PatchAPI24SNMPAgentsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) SetContext ¶
func (o *PatchAPI24SNMPAgentsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) SetHTTPClient ¶
func (o *PatchAPI24SNMPAgentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) SetSNMPAgent ¶
func (o *PatchAPI24SNMPAgentsParams) SetSNMPAgent(sNMPAgent *models.SNMPAgentPatch)
SetSNMPAgent adds the snmpAgent to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) SetTimeout ¶
func (o *PatchAPI24SNMPAgentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) SetXRequestID ¶
func (o *PatchAPI24SNMPAgentsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) WithAuthorization ¶
func (o *PatchAPI24SNMPAgentsParams) WithAuthorization(authorization *string) *PatchAPI24SNMPAgentsParams
WithAuthorization adds the authorization to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) WithContext ¶
func (o *PatchAPI24SNMPAgentsParams) WithContext(ctx context.Context) *PatchAPI24SNMPAgentsParams
WithContext adds the context to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) WithHTTPClient ¶
func (o *PatchAPI24SNMPAgentsParams) WithHTTPClient(client *http.Client) *PatchAPI24SNMPAgentsParams
WithHTTPClient adds the HTTPClient to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) WithSNMPAgent ¶
func (o *PatchAPI24SNMPAgentsParams) WithSNMPAgent(sNMPAgent *models.SNMPAgentPatch) *PatchAPI24SNMPAgentsParams
WithSNMPAgent adds the sNMPAgent to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) WithTimeout ¶
func (o *PatchAPI24SNMPAgentsParams) WithTimeout(timeout time.Duration) *PatchAPI24SNMPAgentsParams
WithTimeout adds the timeout to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) WithXRequestID ¶
func (o *PatchAPI24SNMPAgentsParams) WithXRequestID(xRequestID *string) *PatchAPI24SNMPAgentsParams
WithXRequestID adds the xRequestID to the patch API 24 SNMP agents params
func (*PatchAPI24SNMPAgentsParams) WriteToRequest ¶
func (o *PatchAPI24SNMPAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPI24SNMPAgentsReader ¶
type PatchAPI24SNMPAgentsReader struct {
// contains filtered or unexported fields
}
PatchAPI24SNMPAgentsReader is a Reader for the PatchAPI24SNMPAgents structure.
func (*PatchAPI24SNMPAgentsReader) ReadResponse ¶
func (o *PatchAPI24SNMPAgentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchApi24SNMPAgentsBadRequest ¶
PatchApi24SNMPAgentsBadRequest handles this case with default header values.
BadRequest
func NewPatchApi24SNMPAgentsBadRequest ¶
func NewPatchApi24SNMPAgentsBadRequest() *PatchApi24SNMPAgentsBadRequest
NewPatchApi24SNMPAgentsBadRequest creates a PatchApi24SNMPAgentsBadRequest with default headers values
func (*PatchApi24SNMPAgentsBadRequest) Error ¶
func (o *PatchApi24SNMPAgentsBadRequest) Error() string
func (*PatchApi24SNMPAgentsBadRequest) GetPayload ¶
func (o *PatchApi24SNMPAgentsBadRequest) GetPayload() *models.Error
type PatchApi24SNMPAgentsOK ¶
type PatchApi24SNMPAgentsOK struct {
Payload *models.SNMPAgentResponse
}
PatchApi24SNMPAgentsOK handles this case with default header values.
Returns the newly updated SNMP agent object.
func NewPatchApi24SNMPAgentsOK ¶
func NewPatchApi24SNMPAgentsOK() *PatchApi24SNMPAgentsOK
NewPatchApi24SNMPAgentsOK creates a PatchApi24SNMPAgentsOK with default headers values
func (*PatchApi24SNMPAgentsOK) Error ¶
func (o *PatchApi24SNMPAgentsOK) Error() string
func (*PatchApi24SNMPAgentsOK) GetPayload ¶
func (o *PatchApi24SNMPAgentsOK) GetPayload() *models.SNMPAgentResponse