snmp_agents

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

WithContext adds the context to the get API 24 SNMP agents mib params

func (*GetAPI24SNMPAgentsMibParams) WithFilter

WithFilter adds the filter to the get API 24 SNMP agents mib params

func (*GetAPI24SNMPAgentsMibParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 SNMP agents mib params

func (*GetAPI24SNMPAgentsMibParams) WithLimit

WithLimit adds the limit to the get API 24 SNMP agents mib params

func (*GetAPI24SNMPAgentsMibParams) WithOffset

WithOffset adds the offset to the get API 24 SNMP agents mib params

func (*GetAPI24SNMPAgentsMibParams) WithSort

WithSort adds the sort to the get API 24 SNMP agents mib params

func (*GetAPI24SNMPAgentsMibParams) WithTimeout

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

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

WithContext adds the context to the get API 24 SNMP agents params

func (*GetAPI24SNMPAgentsParams) WithFilter

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

WithLimit adds the limit to the get API 24 SNMP agents params

func (*GetAPI24SNMPAgentsParams) WithOffset

WithOffset adds the offset to the get API 24 SNMP agents params

func (*GetAPI24SNMPAgentsParams) WithSort

WithSort adds the sort to the get API 24 SNMP agents params

func (*GetAPI24SNMPAgentsParams) WithTimeout

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

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

type GetApi24SNMPAgentsBadRequest struct {
	Payload *models.Error
}

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 (*GetApi24SNMPAgentsBadRequest) GetPayload

func (o *GetApi24SNMPAgentsBadRequest) GetPayload() *models.Error

type GetApi24SNMPAgentsMibBadRequest

type GetApi24SNMPAgentsMibBadRequest struct {
	Payload *models.Error
}

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 (*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

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

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

WithContext adds the context to the patch API 24 SNMP agents params

func (*PatchAPI24SNMPAgentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API 24 SNMP agents params

func (*PatchAPI24SNMPAgentsParams) WithSNMPAgent

WithSNMPAgent adds the sNMPAgent to the patch API 24 SNMP agents params

func (*PatchAPI24SNMPAgentsParams) WithTimeout

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

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

type PatchApi24SNMPAgentsBadRequest struct {
	Payload *models.Error
}

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL