Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSnmpTransport(params *CreateSnmpTransportParams, opts ...ClientOption) (*CreateSnmpTransportOK, error)
- func (a *Client) DeleteSnmpTransport(params *DeleteSnmpTransportParams, opts ...ClientOption) (*DeleteSnmpTransportOK, error)
- func (a *Client) GetSnmpTransports(params *GetSnmpTransportsParams, opts ...ClientOption) (*GetSnmpTransportsOK, error)
- func (a *Client) GetSnmpTransportsConnection(params *GetSnmpTransportsConnectionParams, opts ...ClientOption) (*GetSnmpTransportsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSnmpTransport(params *UpdateSnmpTransportParams, opts ...ClientOption) (*UpdateSnmpTransportOK, error)
- type ClientOption
- type ClientService
- type CreateSnmpTransportBadRequest
- type CreateSnmpTransportInternalServerError
- type CreateSnmpTransportNotFound
- type CreateSnmpTransportOK
- type CreateSnmpTransportParams
- func NewCreateSnmpTransportParams() *CreateSnmpTransportParams
- func NewCreateSnmpTransportParamsWithContext(ctx context.Context) *CreateSnmpTransportParams
- func NewCreateSnmpTransportParamsWithHTTPClient(client *http.Client) *CreateSnmpTransportParams
- func NewCreateSnmpTransportParamsWithTimeout(timeout time.Duration) *CreateSnmpTransportParams
- func (o *CreateSnmpTransportParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateSnmpTransportParams) SetContext(ctx context.Context)
- func (o *CreateSnmpTransportParams) SetDefaults()
- func (o *CreateSnmpTransportParams) SetHTTPClient(client *http.Client)
- func (o *CreateSnmpTransportParams) SetRequestBody(requestBody []*models.SnmpTransportCreationParams)
- func (o *CreateSnmpTransportParams) SetTimeout(timeout time.Duration)
- func (o *CreateSnmpTransportParams) WithContentLanguage(contentLanguage *string) *CreateSnmpTransportParams
- func (o *CreateSnmpTransportParams) WithContext(ctx context.Context) *CreateSnmpTransportParams
- func (o *CreateSnmpTransportParams) WithDefaults() *CreateSnmpTransportParams
- func (o *CreateSnmpTransportParams) WithHTTPClient(client *http.Client) *CreateSnmpTransportParams
- func (o *CreateSnmpTransportParams) WithRequestBody(requestBody []*models.SnmpTransportCreationParams) *CreateSnmpTransportParams
- func (o *CreateSnmpTransportParams) WithTimeout(timeout time.Duration) *CreateSnmpTransportParams
- func (o *CreateSnmpTransportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSnmpTransportReader
- type DeleteSnmpTransportBadRequest
- type DeleteSnmpTransportInternalServerError
- type DeleteSnmpTransportNotFound
- type DeleteSnmpTransportOK
- type DeleteSnmpTransportParams
- func NewDeleteSnmpTransportParams() *DeleteSnmpTransportParams
- func NewDeleteSnmpTransportParamsWithContext(ctx context.Context) *DeleteSnmpTransportParams
- func NewDeleteSnmpTransportParamsWithHTTPClient(client *http.Client) *DeleteSnmpTransportParams
- func NewDeleteSnmpTransportParamsWithTimeout(timeout time.Duration) *DeleteSnmpTransportParams
- func (o *DeleteSnmpTransportParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteSnmpTransportParams) SetContext(ctx context.Context)
- func (o *DeleteSnmpTransportParams) SetDefaults()
- func (o *DeleteSnmpTransportParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSnmpTransportParams) SetRequestBody(requestBody *models.SnmpTransportDeletionParams)
- func (o *DeleteSnmpTransportParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSnmpTransportParams) WithContentLanguage(contentLanguage *string) *DeleteSnmpTransportParams
- func (o *DeleteSnmpTransportParams) WithContext(ctx context.Context) *DeleteSnmpTransportParams
- func (o *DeleteSnmpTransportParams) WithDefaults() *DeleteSnmpTransportParams
- func (o *DeleteSnmpTransportParams) WithHTTPClient(client *http.Client) *DeleteSnmpTransportParams
- func (o *DeleteSnmpTransportParams) WithRequestBody(requestBody *models.SnmpTransportDeletionParams) *DeleteSnmpTransportParams
- func (o *DeleteSnmpTransportParams) WithTimeout(timeout time.Duration) *DeleteSnmpTransportParams
- func (o *DeleteSnmpTransportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSnmpTransportReader
- type GetSnmpTransportsBadRequest
- type GetSnmpTransportsConnectionBadRequest
- type GetSnmpTransportsConnectionInternalServerError
- type GetSnmpTransportsConnectionNotFound
- type GetSnmpTransportsConnectionOK
- type GetSnmpTransportsConnectionParams
- func NewGetSnmpTransportsConnectionParams() *GetSnmpTransportsConnectionParams
- func NewGetSnmpTransportsConnectionParamsWithContext(ctx context.Context) *GetSnmpTransportsConnectionParams
- func NewGetSnmpTransportsConnectionParamsWithHTTPClient(client *http.Client) *GetSnmpTransportsConnectionParams
- func NewGetSnmpTransportsConnectionParamsWithTimeout(timeout time.Duration) *GetSnmpTransportsConnectionParams
- func (o *GetSnmpTransportsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSnmpTransportsConnectionParams) SetContext(ctx context.Context)
- func (o *GetSnmpTransportsConnectionParams) SetDefaults()
- func (o *GetSnmpTransportsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetSnmpTransportsConnectionParams) SetRequestBody(requestBody *models.GetSnmpTransportsConnectionRequestBody)
- func (o *GetSnmpTransportsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetSnmpTransportsConnectionParams) WithContentLanguage(contentLanguage *string) *GetSnmpTransportsConnectionParams
- func (o *GetSnmpTransportsConnectionParams) WithContext(ctx context.Context) *GetSnmpTransportsConnectionParams
- func (o *GetSnmpTransportsConnectionParams) WithDefaults() *GetSnmpTransportsConnectionParams
- func (o *GetSnmpTransportsConnectionParams) WithHTTPClient(client *http.Client) *GetSnmpTransportsConnectionParams
- func (o *GetSnmpTransportsConnectionParams) WithRequestBody(requestBody *models.GetSnmpTransportsConnectionRequestBody) *GetSnmpTransportsConnectionParams
- func (o *GetSnmpTransportsConnectionParams) WithTimeout(timeout time.Duration) *GetSnmpTransportsConnectionParams
- func (o *GetSnmpTransportsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSnmpTransportsConnectionReader
- type GetSnmpTransportsInternalServerError
- type GetSnmpTransportsNotFound
- type GetSnmpTransportsOK
- type GetSnmpTransportsParams
- func NewGetSnmpTransportsParams() *GetSnmpTransportsParams
- func NewGetSnmpTransportsParamsWithContext(ctx context.Context) *GetSnmpTransportsParams
- func NewGetSnmpTransportsParamsWithHTTPClient(client *http.Client) *GetSnmpTransportsParams
- func NewGetSnmpTransportsParamsWithTimeout(timeout time.Duration) *GetSnmpTransportsParams
- func (o *GetSnmpTransportsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSnmpTransportsParams) SetContext(ctx context.Context)
- func (o *GetSnmpTransportsParams) SetDefaults()
- func (o *GetSnmpTransportsParams) SetHTTPClient(client *http.Client)
- func (o *GetSnmpTransportsParams) SetRequestBody(requestBody *models.GetSnmpTransportsRequestBody)
- func (o *GetSnmpTransportsParams) SetTimeout(timeout time.Duration)
- func (o *GetSnmpTransportsParams) WithContentLanguage(contentLanguage *string) *GetSnmpTransportsParams
- func (o *GetSnmpTransportsParams) WithContext(ctx context.Context) *GetSnmpTransportsParams
- func (o *GetSnmpTransportsParams) WithDefaults() *GetSnmpTransportsParams
- func (o *GetSnmpTransportsParams) WithHTTPClient(client *http.Client) *GetSnmpTransportsParams
- func (o *GetSnmpTransportsParams) WithRequestBody(requestBody *models.GetSnmpTransportsRequestBody) *GetSnmpTransportsParams
- func (o *GetSnmpTransportsParams) WithTimeout(timeout time.Duration) *GetSnmpTransportsParams
- func (o *GetSnmpTransportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSnmpTransportsReader
- type UpdateSnmpTransportBadRequest
- type UpdateSnmpTransportInternalServerError
- type UpdateSnmpTransportNotFound
- type UpdateSnmpTransportOK
- type UpdateSnmpTransportParams
- func NewUpdateSnmpTransportParams() *UpdateSnmpTransportParams
- func NewUpdateSnmpTransportParamsWithContext(ctx context.Context) *UpdateSnmpTransportParams
- func NewUpdateSnmpTransportParamsWithHTTPClient(client *http.Client) *UpdateSnmpTransportParams
- func NewUpdateSnmpTransportParamsWithTimeout(timeout time.Duration) *UpdateSnmpTransportParams
- func (o *UpdateSnmpTransportParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateSnmpTransportParams) SetContext(ctx context.Context)
- func (o *UpdateSnmpTransportParams) SetDefaults()
- func (o *UpdateSnmpTransportParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSnmpTransportParams) SetRequestBody(requestBody *models.SnmpTransportUpdationParams)
- func (o *UpdateSnmpTransportParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSnmpTransportParams) WithContentLanguage(contentLanguage *string) *UpdateSnmpTransportParams
- func (o *UpdateSnmpTransportParams) WithContext(ctx context.Context) *UpdateSnmpTransportParams
- func (o *UpdateSnmpTransportParams) WithDefaults() *UpdateSnmpTransportParams
- func (o *UpdateSnmpTransportParams) WithHTTPClient(client *http.Client) *UpdateSnmpTransportParams
- func (o *UpdateSnmpTransportParams) WithRequestBody(requestBody *models.SnmpTransportUpdationParams) *UpdateSnmpTransportParams
- func (o *UpdateSnmpTransportParams) WithTimeout(timeout time.Duration) *UpdateSnmpTransportParams
- func (o *UpdateSnmpTransportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSnmpTransportReader
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 transport API
func (*Client) CreateSnmpTransport ¶
func (a *Client) CreateSnmpTransport(params *CreateSnmpTransportParams, opts ...ClientOption) (*CreateSnmpTransportOK, error)
CreateSnmpTransport create snmp transport API
func (*Client) DeleteSnmpTransport ¶
func (a *Client) DeleteSnmpTransport(params *DeleteSnmpTransportParams, opts ...ClientOption) (*DeleteSnmpTransportOK, error)
DeleteSnmpTransport delete snmp transport API
func (*Client) GetSnmpTransports ¶
func (a *Client) GetSnmpTransports(params *GetSnmpTransportsParams, opts ...ClientOption) (*GetSnmpTransportsOK, error)
GetSnmpTransports get snmp transports API
func (*Client) GetSnmpTransportsConnection ¶
func (a *Client) GetSnmpTransportsConnection(params *GetSnmpTransportsConnectionParams, opts ...ClientOption) (*GetSnmpTransportsConnectionOK, error)
GetSnmpTransportsConnection get snmp transports connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSnmpTransport ¶
func (a *Client) UpdateSnmpTransport(params *UpdateSnmpTransportParams, opts ...ClientOption) (*UpdateSnmpTransportOK, error)
UpdateSnmpTransport update snmp transport API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateSnmpTransport(params *CreateSnmpTransportParams, opts ...ClientOption) (*CreateSnmpTransportOK, error) DeleteSnmpTransport(params *DeleteSnmpTransportParams, opts ...ClientOption) (*DeleteSnmpTransportOK, error) GetSnmpTransports(params *GetSnmpTransportsParams, opts ...ClientOption) (*GetSnmpTransportsOK, error) GetSnmpTransportsConnection(params *GetSnmpTransportsConnectionParams, opts ...ClientOption) (*GetSnmpTransportsConnectionOK, error) UpdateSnmpTransport(params *UpdateSnmpTransportParams, opts ...ClientOption) (*UpdateSnmpTransportOK, 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 transport API client.
type CreateSnmpTransportBadRequest ¶
CreateSnmpTransportBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateSnmpTransportBadRequest ¶
func NewCreateSnmpTransportBadRequest() *CreateSnmpTransportBadRequest
NewCreateSnmpTransportBadRequest creates a CreateSnmpTransportBadRequest with default headers values
func (*CreateSnmpTransportBadRequest) Error ¶
func (o *CreateSnmpTransportBadRequest) Error() string
func (*CreateSnmpTransportBadRequest) GetPayload ¶
func (o *CreateSnmpTransportBadRequest) GetPayload() *models.ErrorBody
type CreateSnmpTransportInternalServerError ¶
type CreateSnmpTransportInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateSnmpTransportInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateSnmpTransportInternalServerError ¶
func NewCreateSnmpTransportInternalServerError() *CreateSnmpTransportInternalServerError
NewCreateSnmpTransportInternalServerError creates a CreateSnmpTransportInternalServerError with default headers values
func (*CreateSnmpTransportInternalServerError) Error ¶
func (o *CreateSnmpTransportInternalServerError) Error() string
func (*CreateSnmpTransportInternalServerError) GetPayload ¶
func (o *CreateSnmpTransportInternalServerError) GetPayload() *models.ErrorBody
type CreateSnmpTransportNotFound ¶
CreateSnmpTransportNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateSnmpTransportNotFound ¶
func NewCreateSnmpTransportNotFound() *CreateSnmpTransportNotFound
NewCreateSnmpTransportNotFound creates a CreateSnmpTransportNotFound with default headers values
func (*CreateSnmpTransportNotFound) Error ¶
func (o *CreateSnmpTransportNotFound) Error() string
func (*CreateSnmpTransportNotFound) GetPayload ¶
func (o *CreateSnmpTransportNotFound) GetPayload() *models.ErrorBody
type CreateSnmpTransportOK ¶
type CreateSnmpTransportOK struct { XTowerRequestID string Payload []*models.WithTaskSnmpTransport }
CreateSnmpTransportOK describes a response with status code 200, with default header values.
CreateSnmpTransportOK create snmp transport o k
func NewCreateSnmpTransportOK ¶
func NewCreateSnmpTransportOK() *CreateSnmpTransportOK
NewCreateSnmpTransportOK creates a CreateSnmpTransportOK with default headers values
func (*CreateSnmpTransportOK) Error ¶
func (o *CreateSnmpTransportOK) Error() string
func (*CreateSnmpTransportOK) GetPayload ¶
func (o *CreateSnmpTransportOK) GetPayload() []*models.WithTaskSnmpTransport
type CreateSnmpTransportParams ¶
type CreateSnmpTransportParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.SnmpTransportCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSnmpTransportParams contains all the parameters to send to the API endpoint
for the create snmp transport operation. Typically these are written to a http.Request.
func NewCreateSnmpTransportParams ¶
func NewCreateSnmpTransportParams() *CreateSnmpTransportParams
NewCreateSnmpTransportParams creates a new CreateSnmpTransportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSnmpTransportParamsWithContext ¶
func NewCreateSnmpTransportParamsWithContext(ctx context.Context) *CreateSnmpTransportParams
NewCreateSnmpTransportParamsWithContext creates a new CreateSnmpTransportParams object with the ability to set a context for a request.
func NewCreateSnmpTransportParamsWithHTTPClient ¶
func NewCreateSnmpTransportParamsWithHTTPClient(client *http.Client) *CreateSnmpTransportParams
NewCreateSnmpTransportParamsWithHTTPClient creates a new CreateSnmpTransportParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSnmpTransportParamsWithTimeout ¶
func NewCreateSnmpTransportParamsWithTimeout(timeout time.Duration) *CreateSnmpTransportParams
NewCreateSnmpTransportParamsWithTimeout creates a new CreateSnmpTransportParams object with the ability to set a timeout on a request.
func (*CreateSnmpTransportParams) SetContentLanguage ¶
func (o *CreateSnmpTransportParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create snmp transport params
func (*CreateSnmpTransportParams) SetContext ¶
func (o *CreateSnmpTransportParams) SetContext(ctx context.Context)
SetContext adds the context to the create snmp transport params
func (*CreateSnmpTransportParams) SetDefaults ¶
func (o *CreateSnmpTransportParams) SetDefaults()
SetDefaults hydrates default values in the create snmp transport params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSnmpTransportParams) SetHTTPClient ¶
func (o *CreateSnmpTransportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create snmp transport params
func (*CreateSnmpTransportParams) SetRequestBody ¶
func (o *CreateSnmpTransportParams) SetRequestBody(requestBody []*models.SnmpTransportCreationParams)
SetRequestBody adds the requestBody to the create snmp transport params
func (*CreateSnmpTransportParams) SetTimeout ¶
func (o *CreateSnmpTransportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create snmp transport params
func (*CreateSnmpTransportParams) WithContentLanguage ¶
func (o *CreateSnmpTransportParams) WithContentLanguage(contentLanguage *string) *CreateSnmpTransportParams
WithContentLanguage adds the contentLanguage to the create snmp transport params
func (*CreateSnmpTransportParams) WithContext ¶
func (o *CreateSnmpTransportParams) WithContext(ctx context.Context) *CreateSnmpTransportParams
WithContext adds the context to the create snmp transport params
func (*CreateSnmpTransportParams) WithDefaults ¶
func (o *CreateSnmpTransportParams) WithDefaults() *CreateSnmpTransportParams
WithDefaults hydrates default values in the create snmp transport params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSnmpTransportParams) WithHTTPClient ¶
func (o *CreateSnmpTransportParams) WithHTTPClient(client *http.Client) *CreateSnmpTransportParams
WithHTTPClient adds the HTTPClient to the create snmp transport params
func (*CreateSnmpTransportParams) WithRequestBody ¶
func (o *CreateSnmpTransportParams) WithRequestBody(requestBody []*models.SnmpTransportCreationParams) *CreateSnmpTransportParams
WithRequestBody adds the requestBody to the create snmp transport params
func (*CreateSnmpTransportParams) WithTimeout ¶
func (o *CreateSnmpTransportParams) WithTimeout(timeout time.Duration) *CreateSnmpTransportParams
WithTimeout adds the timeout to the create snmp transport params
func (*CreateSnmpTransportParams) WriteToRequest ¶
func (o *CreateSnmpTransportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSnmpTransportReader ¶
type CreateSnmpTransportReader struct {
// contains filtered or unexported fields
}
CreateSnmpTransportReader is a Reader for the CreateSnmpTransport structure.
func (*CreateSnmpTransportReader) ReadResponse ¶
func (o *CreateSnmpTransportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSnmpTransportBadRequest ¶
DeleteSnmpTransportBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteSnmpTransportBadRequest ¶
func NewDeleteSnmpTransportBadRequest() *DeleteSnmpTransportBadRequest
NewDeleteSnmpTransportBadRequest creates a DeleteSnmpTransportBadRequest with default headers values
func (*DeleteSnmpTransportBadRequest) Error ¶
func (o *DeleteSnmpTransportBadRequest) Error() string
func (*DeleteSnmpTransportBadRequest) GetPayload ¶
func (o *DeleteSnmpTransportBadRequest) GetPayload() *models.ErrorBody
type DeleteSnmpTransportInternalServerError ¶
type DeleteSnmpTransportInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteSnmpTransportInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteSnmpTransportInternalServerError ¶
func NewDeleteSnmpTransportInternalServerError() *DeleteSnmpTransportInternalServerError
NewDeleteSnmpTransportInternalServerError creates a DeleteSnmpTransportInternalServerError with default headers values
func (*DeleteSnmpTransportInternalServerError) Error ¶
func (o *DeleteSnmpTransportInternalServerError) Error() string
func (*DeleteSnmpTransportInternalServerError) GetPayload ¶
func (o *DeleteSnmpTransportInternalServerError) GetPayload() *models.ErrorBody
type DeleteSnmpTransportNotFound ¶
DeleteSnmpTransportNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteSnmpTransportNotFound ¶
func NewDeleteSnmpTransportNotFound() *DeleteSnmpTransportNotFound
NewDeleteSnmpTransportNotFound creates a DeleteSnmpTransportNotFound with default headers values
func (*DeleteSnmpTransportNotFound) Error ¶
func (o *DeleteSnmpTransportNotFound) Error() string
func (*DeleteSnmpTransportNotFound) GetPayload ¶
func (o *DeleteSnmpTransportNotFound) GetPayload() *models.ErrorBody
type DeleteSnmpTransportOK ¶
type DeleteSnmpTransportOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteSnmpTransport }
DeleteSnmpTransportOK describes a response with status code 200, with default header values.
DeleteSnmpTransportOK delete snmp transport o k
func NewDeleteSnmpTransportOK ¶
func NewDeleteSnmpTransportOK() *DeleteSnmpTransportOK
NewDeleteSnmpTransportOK creates a DeleteSnmpTransportOK with default headers values
func (*DeleteSnmpTransportOK) Error ¶
func (o *DeleteSnmpTransportOK) Error() string
func (*DeleteSnmpTransportOK) GetPayload ¶
func (o *DeleteSnmpTransportOK) GetPayload() []*models.WithTaskDeleteSnmpTransport
type DeleteSnmpTransportParams ¶
type DeleteSnmpTransportParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SnmpTransportDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSnmpTransportParams contains all the parameters to send to the API endpoint
for the delete snmp transport operation. Typically these are written to a http.Request.
func NewDeleteSnmpTransportParams ¶
func NewDeleteSnmpTransportParams() *DeleteSnmpTransportParams
NewDeleteSnmpTransportParams creates a new DeleteSnmpTransportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteSnmpTransportParamsWithContext ¶
func NewDeleteSnmpTransportParamsWithContext(ctx context.Context) *DeleteSnmpTransportParams
NewDeleteSnmpTransportParamsWithContext creates a new DeleteSnmpTransportParams object with the ability to set a context for a request.
func NewDeleteSnmpTransportParamsWithHTTPClient ¶
func NewDeleteSnmpTransportParamsWithHTTPClient(client *http.Client) *DeleteSnmpTransportParams
NewDeleteSnmpTransportParamsWithHTTPClient creates a new DeleteSnmpTransportParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSnmpTransportParamsWithTimeout ¶
func NewDeleteSnmpTransportParamsWithTimeout(timeout time.Duration) *DeleteSnmpTransportParams
NewDeleteSnmpTransportParamsWithTimeout creates a new DeleteSnmpTransportParams object with the ability to set a timeout on a request.
func (*DeleteSnmpTransportParams) SetContentLanguage ¶
func (o *DeleteSnmpTransportParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete snmp transport params
func (*DeleteSnmpTransportParams) SetContext ¶
func (o *DeleteSnmpTransportParams) SetContext(ctx context.Context)
SetContext adds the context to the delete snmp transport params
func (*DeleteSnmpTransportParams) SetDefaults ¶
func (o *DeleteSnmpTransportParams) SetDefaults()
SetDefaults hydrates default values in the delete snmp transport params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSnmpTransportParams) SetHTTPClient ¶
func (o *DeleteSnmpTransportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete snmp transport params
func (*DeleteSnmpTransportParams) SetRequestBody ¶
func (o *DeleteSnmpTransportParams) SetRequestBody(requestBody *models.SnmpTransportDeletionParams)
SetRequestBody adds the requestBody to the delete snmp transport params
func (*DeleteSnmpTransportParams) SetTimeout ¶
func (o *DeleteSnmpTransportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete snmp transport params
func (*DeleteSnmpTransportParams) WithContentLanguage ¶
func (o *DeleteSnmpTransportParams) WithContentLanguage(contentLanguage *string) *DeleteSnmpTransportParams
WithContentLanguage adds the contentLanguage to the delete snmp transport params
func (*DeleteSnmpTransportParams) WithContext ¶
func (o *DeleteSnmpTransportParams) WithContext(ctx context.Context) *DeleteSnmpTransportParams
WithContext adds the context to the delete snmp transport params
func (*DeleteSnmpTransportParams) WithDefaults ¶
func (o *DeleteSnmpTransportParams) WithDefaults() *DeleteSnmpTransportParams
WithDefaults hydrates default values in the delete snmp transport params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSnmpTransportParams) WithHTTPClient ¶
func (o *DeleteSnmpTransportParams) WithHTTPClient(client *http.Client) *DeleteSnmpTransportParams
WithHTTPClient adds the HTTPClient to the delete snmp transport params
func (*DeleteSnmpTransportParams) WithRequestBody ¶
func (o *DeleteSnmpTransportParams) WithRequestBody(requestBody *models.SnmpTransportDeletionParams) *DeleteSnmpTransportParams
WithRequestBody adds the requestBody to the delete snmp transport params
func (*DeleteSnmpTransportParams) WithTimeout ¶
func (o *DeleteSnmpTransportParams) WithTimeout(timeout time.Duration) *DeleteSnmpTransportParams
WithTimeout adds the timeout to the delete snmp transport params
func (*DeleteSnmpTransportParams) WriteToRequest ¶
func (o *DeleteSnmpTransportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSnmpTransportReader ¶
type DeleteSnmpTransportReader struct {
// contains filtered or unexported fields
}
DeleteSnmpTransportReader is a Reader for the DeleteSnmpTransport structure.
func (*DeleteSnmpTransportReader) ReadResponse ¶
func (o *DeleteSnmpTransportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSnmpTransportsBadRequest ¶
GetSnmpTransportsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetSnmpTransportsBadRequest ¶
func NewGetSnmpTransportsBadRequest() *GetSnmpTransportsBadRequest
NewGetSnmpTransportsBadRequest creates a GetSnmpTransportsBadRequest with default headers values
func (*GetSnmpTransportsBadRequest) Error ¶
func (o *GetSnmpTransportsBadRequest) Error() string
func (*GetSnmpTransportsBadRequest) GetPayload ¶
func (o *GetSnmpTransportsBadRequest) GetPayload() *models.ErrorBody
type GetSnmpTransportsConnectionBadRequest ¶
type GetSnmpTransportsConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetSnmpTransportsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetSnmpTransportsConnectionBadRequest ¶
func NewGetSnmpTransportsConnectionBadRequest() *GetSnmpTransportsConnectionBadRequest
NewGetSnmpTransportsConnectionBadRequest creates a GetSnmpTransportsConnectionBadRequest with default headers values
func (*GetSnmpTransportsConnectionBadRequest) Error ¶
func (o *GetSnmpTransportsConnectionBadRequest) Error() string
func (*GetSnmpTransportsConnectionBadRequest) GetPayload ¶
func (o *GetSnmpTransportsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetSnmpTransportsConnectionInternalServerError ¶
type GetSnmpTransportsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetSnmpTransportsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSnmpTransportsConnectionInternalServerError ¶
func NewGetSnmpTransportsConnectionInternalServerError() *GetSnmpTransportsConnectionInternalServerError
NewGetSnmpTransportsConnectionInternalServerError creates a GetSnmpTransportsConnectionInternalServerError with default headers values
func (*GetSnmpTransportsConnectionInternalServerError) Error ¶
func (o *GetSnmpTransportsConnectionInternalServerError) Error() string
func (*GetSnmpTransportsConnectionInternalServerError) GetPayload ¶
func (o *GetSnmpTransportsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetSnmpTransportsConnectionNotFound ¶
type GetSnmpTransportsConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetSnmpTransportsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSnmpTransportsConnectionNotFound ¶
func NewGetSnmpTransportsConnectionNotFound() *GetSnmpTransportsConnectionNotFound
NewGetSnmpTransportsConnectionNotFound creates a GetSnmpTransportsConnectionNotFound with default headers values
func (*GetSnmpTransportsConnectionNotFound) Error ¶
func (o *GetSnmpTransportsConnectionNotFound) Error() string
func (*GetSnmpTransportsConnectionNotFound) GetPayload ¶
func (o *GetSnmpTransportsConnectionNotFound) GetPayload() *models.ErrorBody
type GetSnmpTransportsConnectionOK ¶
type GetSnmpTransportsConnectionOK struct { XTowerRequestID string Payload *models.SnmpTransportConnection }
GetSnmpTransportsConnectionOK describes a response with status code 200, with default header values.
GetSnmpTransportsConnectionOK get snmp transports connection o k
func NewGetSnmpTransportsConnectionOK ¶
func NewGetSnmpTransportsConnectionOK() *GetSnmpTransportsConnectionOK
NewGetSnmpTransportsConnectionOK creates a GetSnmpTransportsConnectionOK with default headers values
func (*GetSnmpTransportsConnectionOK) Error ¶
func (o *GetSnmpTransportsConnectionOK) Error() string
func (*GetSnmpTransportsConnectionOK) GetPayload ¶
func (o *GetSnmpTransportsConnectionOK) GetPayload() *models.SnmpTransportConnection
type GetSnmpTransportsConnectionParams ¶
type GetSnmpTransportsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSnmpTransportsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSnmpTransportsConnectionParams contains all the parameters to send to the API endpoint
for the get snmp transports connection operation. Typically these are written to a http.Request.
func NewGetSnmpTransportsConnectionParams ¶
func NewGetSnmpTransportsConnectionParams() *GetSnmpTransportsConnectionParams
NewGetSnmpTransportsConnectionParams creates a new GetSnmpTransportsConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSnmpTransportsConnectionParamsWithContext ¶
func NewGetSnmpTransportsConnectionParamsWithContext(ctx context.Context) *GetSnmpTransportsConnectionParams
NewGetSnmpTransportsConnectionParamsWithContext creates a new GetSnmpTransportsConnectionParams object with the ability to set a context for a request.
func NewGetSnmpTransportsConnectionParamsWithHTTPClient ¶
func NewGetSnmpTransportsConnectionParamsWithHTTPClient(client *http.Client) *GetSnmpTransportsConnectionParams
NewGetSnmpTransportsConnectionParamsWithHTTPClient creates a new GetSnmpTransportsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSnmpTransportsConnectionParamsWithTimeout ¶
func NewGetSnmpTransportsConnectionParamsWithTimeout(timeout time.Duration) *GetSnmpTransportsConnectionParams
NewGetSnmpTransportsConnectionParamsWithTimeout creates a new GetSnmpTransportsConnectionParams object with the ability to set a timeout on a request.
func (*GetSnmpTransportsConnectionParams) SetContentLanguage ¶
func (o *GetSnmpTransportsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get snmp transports connection params
func (*GetSnmpTransportsConnectionParams) SetContext ¶
func (o *GetSnmpTransportsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get snmp transports connection params
func (*GetSnmpTransportsConnectionParams) SetDefaults ¶
func (o *GetSnmpTransportsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get snmp transports connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnmpTransportsConnectionParams) SetHTTPClient ¶
func (o *GetSnmpTransportsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get snmp transports connection params
func (*GetSnmpTransportsConnectionParams) SetRequestBody ¶
func (o *GetSnmpTransportsConnectionParams) SetRequestBody(requestBody *models.GetSnmpTransportsConnectionRequestBody)
SetRequestBody adds the requestBody to the get snmp transports connection params
func (*GetSnmpTransportsConnectionParams) SetTimeout ¶
func (o *GetSnmpTransportsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get snmp transports connection params
func (*GetSnmpTransportsConnectionParams) WithContentLanguage ¶
func (o *GetSnmpTransportsConnectionParams) WithContentLanguage(contentLanguage *string) *GetSnmpTransportsConnectionParams
WithContentLanguage adds the contentLanguage to the get snmp transports connection params
func (*GetSnmpTransportsConnectionParams) WithContext ¶
func (o *GetSnmpTransportsConnectionParams) WithContext(ctx context.Context) *GetSnmpTransportsConnectionParams
WithContext adds the context to the get snmp transports connection params
func (*GetSnmpTransportsConnectionParams) WithDefaults ¶
func (o *GetSnmpTransportsConnectionParams) WithDefaults() *GetSnmpTransportsConnectionParams
WithDefaults hydrates default values in the get snmp transports connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnmpTransportsConnectionParams) WithHTTPClient ¶
func (o *GetSnmpTransportsConnectionParams) WithHTTPClient(client *http.Client) *GetSnmpTransportsConnectionParams
WithHTTPClient adds the HTTPClient to the get snmp transports connection params
func (*GetSnmpTransportsConnectionParams) WithRequestBody ¶
func (o *GetSnmpTransportsConnectionParams) WithRequestBody(requestBody *models.GetSnmpTransportsConnectionRequestBody) *GetSnmpTransportsConnectionParams
WithRequestBody adds the requestBody to the get snmp transports connection params
func (*GetSnmpTransportsConnectionParams) WithTimeout ¶
func (o *GetSnmpTransportsConnectionParams) WithTimeout(timeout time.Duration) *GetSnmpTransportsConnectionParams
WithTimeout adds the timeout to the get snmp transports connection params
func (*GetSnmpTransportsConnectionParams) WriteToRequest ¶
func (o *GetSnmpTransportsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSnmpTransportsConnectionReader ¶
type GetSnmpTransportsConnectionReader struct {
// contains filtered or unexported fields
}
GetSnmpTransportsConnectionReader is a Reader for the GetSnmpTransportsConnection structure.
func (*GetSnmpTransportsConnectionReader) ReadResponse ¶
func (o *GetSnmpTransportsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSnmpTransportsInternalServerError ¶
type GetSnmpTransportsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetSnmpTransportsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSnmpTransportsInternalServerError ¶
func NewGetSnmpTransportsInternalServerError() *GetSnmpTransportsInternalServerError
NewGetSnmpTransportsInternalServerError creates a GetSnmpTransportsInternalServerError with default headers values
func (*GetSnmpTransportsInternalServerError) Error ¶
func (o *GetSnmpTransportsInternalServerError) Error() string
func (*GetSnmpTransportsInternalServerError) GetPayload ¶
func (o *GetSnmpTransportsInternalServerError) GetPayload() *models.ErrorBody
type GetSnmpTransportsNotFound ¶
GetSnmpTransportsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSnmpTransportsNotFound ¶
func NewGetSnmpTransportsNotFound() *GetSnmpTransportsNotFound
NewGetSnmpTransportsNotFound creates a GetSnmpTransportsNotFound with default headers values
func (*GetSnmpTransportsNotFound) Error ¶
func (o *GetSnmpTransportsNotFound) Error() string
func (*GetSnmpTransportsNotFound) GetPayload ¶
func (o *GetSnmpTransportsNotFound) GetPayload() *models.ErrorBody
type GetSnmpTransportsOK ¶
type GetSnmpTransportsOK struct { XTowerRequestID string Payload []*models.SnmpTransport }
GetSnmpTransportsOK describes a response with status code 200, with default header values.
GetSnmpTransportsOK get snmp transports o k
func NewGetSnmpTransportsOK ¶
func NewGetSnmpTransportsOK() *GetSnmpTransportsOK
NewGetSnmpTransportsOK creates a GetSnmpTransportsOK with default headers values
func (*GetSnmpTransportsOK) Error ¶
func (o *GetSnmpTransportsOK) Error() string
func (*GetSnmpTransportsOK) GetPayload ¶
func (o *GetSnmpTransportsOK) GetPayload() []*models.SnmpTransport
type GetSnmpTransportsParams ¶
type GetSnmpTransportsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSnmpTransportsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSnmpTransportsParams contains all the parameters to send to the API endpoint
for the get snmp transports operation. Typically these are written to a http.Request.
func NewGetSnmpTransportsParams ¶
func NewGetSnmpTransportsParams() *GetSnmpTransportsParams
NewGetSnmpTransportsParams creates a new GetSnmpTransportsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSnmpTransportsParamsWithContext ¶
func NewGetSnmpTransportsParamsWithContext(ctx context.Context) *GetSnmpTransportsParams
NewGetSnmpTransportsParamsWithContext creates a new GetSnmpTransportsParams object with the ability to set a context for a request.
func NewGetSnmpTransportsParamsWithHTTPClient ¶
func NewGetSnmpTransportsParamsWithHTTPClient(client *http.Client) *GetSnmpTransportsParams
NewGetSnmpTransportsParamsWithHTTPClient creates a new GetSnmpTransportsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSnmpTransportsParamsWithTimeout ¶
func NewGetSnmpTransportsParamsWithTimeout(timeout time.Duration) *GetSnmpTransportsParams
NewGetSnmpTransportsParamsWithTimeout creates a new GetSnmpTransportsParams object with the ability to set a timeout on a request.
func (*GetSnmpTransportsParams) SetContentLanguage ¶
func (o *GetSnmpTransportsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get snmp transports params
func (*GetSnmpTransportsParams) SetContext ¶
func (o *GetSnmpTransportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get snmp transports params
func (*GetSnmpTransportsParams) SetDefaults ¶
func (o *GetSnmpTransportsParams) SetDefaults()
SetDefaults hydrates default values in the get snmp transports params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnmpTransportsParams) SetHTTPClient ¶
func (o *GetSnmpTransportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get snmp transports params
func (*GetSnmpTransportsParams) SetRequestBody ¶
func (o *GetSnmpTransportsParams) SetRequestBody(requestBody *models.GetSnmpTransportsRequestBody)
SetRequestBody adds the requestBody to the get snmp transports params
func (*GetSnmpTransportsParams) SetTimeout ¶
func (o *GetSnmpTransportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get snmp transports params
func (*GetSnmpTransportsParams) WithContentLanguage ¶
func (o *GetSnmpTransportsParams) WithContentLanguage(contentLanguage *string) *GetSnmpTransportsParams
WithContentLanguage adds the contentLanguage to the get snmp transports params
func (*GetSnmpTransportsParams) WithContext ¶
func (o *GetSnmpTransportsParams) WithContext(ctx context.Context) *GetSnmpTransportsParams
WithContext adds the context to the get snmp transports params
func (*GetSnmpTransportsParams) WithDefaults ¶
func (o *GetSnmpTransportsParams) WithDefaults() *GetSnmpTransportsParams
WithDefaults hydrates default values in the get snmp transports params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnmpTransportsParams) WithHTTPClient ¶
func (o *GetSnmpTransportsParams) WithHTTPClient(client *http.Client) *GetSnmpTransportsParams
WithHTTPClient adds the HTTPClient to the get snmp transports params
func (*GetSnmpTransportsParams) WithRequestBody ¶
func (o *GetSnmpTransportsParams) WithRequestBody(requestBody *models.GetSnmpTransportsRequestBody) *GetSnmpTransportsParams
WithRequestBody adds the requestBody to the get snmp transports params
func (*GetSnmpTransportsParams) WithTimeout ¶
func (o *GetSnmpTransportsParams) WithTimeout(timeout time.Duration) *GetSnmpTransportsParams
WithTimeout adds the timeout to the get snmp transports params
func (*GetSnmpTransportsParams) WriteToRequest ¶
func (o *GetSnmpTransportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSnmpTransportsReader ¶
type GetSnmpTransportsReader struct {
// contains filtered or unexported fields
}
GetSnmpTransportsReader is a Reader for the GetSnmpTransports structure.
func (*GetSnmpTransportsReader) ReadResponse ¶
func (o *GetSnmpTransportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSnmpTransportBadRequest ¶
UpdateSnmpTransportBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateSnmpTransportBadRequest ¶
func NewUpdateSnmpTransportBadRequest() *UpdateSnmpTransportBadRequest
NewUpdateSnmpTransportBadRequest creates a UpdateSnmpTransportBadRequest with default headers values
func (*UpdateSnmpTransportBadRequest) Error ¶
func (o *UpdateSnmpTransportBadRequest) Error() string
func (*UpdateSnmpTransportBadRequest) GetPayload ¶
func (o *UpdateSnmpTransportBadRequest) GetPayload() *models.ErrorBody
type UpdateSnmpTransportInternalServerError ¶
type UpdateSnmpTransportInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateSnmpTransportInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateSnmpTransportInternalServerError ¶
func NewUpdateSnmpTransportInternalServerError() *UpdateSnmpTransportInternalServerError
NewUpdateSnmpTransportInternalServerError creates a UpdateSnmpTransportInternalServerError with default headers values
func (*UpdateSnmpTransportInternalServerError) Error ¶
func (o *UpdateSnmpTransportInternalServerError) Error() string
func (*UpdateSnmpTransportInternalServerError) GetPayload ¶
func (o *UpdateSnmpTransportInternalServerError) GetPayload() *models.ErrorBody
type UpdateSnmpTransportNotFound ¶
UpdateSnmpTransportNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateSnmpTransportNotFound ¶
func NewUpdateSnmpTransportNotFound() *UpdateSnmpTransportNotFound
NewUpdateSnmpTransportNotFound creates a UpdateSnmpTransportNotFound with default headers values
func (*UpdateSnmpTransportNotFound) Error ¶
func (o *UpdateSnmpTransportNotFound) Error() string
func (*UpdateSnmpTransportNotFound) GetPayload ¶
func (o *UpdateSnmpTransportNotFound) GetPayload() *models.ErrorBody
type UpdateSnmpTransportOK ¶
type UpdateSnmpTransportOK struct { XTowerRequestID string Payload []*models.WithTaskSnmpTransport }
UpdateSnmpTransportOK describes a response with status code 200, with default header values.
UpdateSnmpTransportOK update snmp transport o k
func NewUpdateSnmpTransportOK ¶
func NewUpdateSnmpTransportOK() *UpdateSnmpTransportOK
NewUpdateSnmpTransportOK creates a UpdateSnmpTransportOK with default headers values
func (*UpdateSnmpTransportOK) Error ¶
func (o *UpdateSnmpTransportOK) Error() string
func (*UpdateSnmpTransportOK) GetPayload ¶
func (o *UpdateSnmpTransportOK) GetPayload() []*models.WithTaskSnmpTransport
type UpdateSnmpTransportParams ¶
type UpdateSnmpTransportParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SnmpTransportUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSnmpTransportParams contains all the parameters to send to the API endpoint
for the update snmp transport operation. Typically these are written to a http.Request.
func NewUpdateSnmpTransportParams ¶
func NewUpdateSnmpTransportParams() *UpdateSnmpTransportParams
NewUpdateSnmpTransportParams creates a new UpdateSnmpTransportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateSnmpTransportParamsWithContext ¶
func NewUpdateSnmpTransportParamsWithContext(ctx context.Context) *UpdateSnmpTransportParams
NewUpdateSnmpTransportParamsWithContext creates a new UpdateSnmpTransportParams object with the ability to set a context for a request.
func NewUpdateSnmpTransportParamsWithHTTPClient ¶
func NewUpdateSnmpTransportParamsWithHTTPClient(client *http.Client) *UpdateSnmpTransportParams
NewUpdateSnmpTransportParamsWithHTTPClient creates a new UpdateSnmpTransportParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSnmpTransportParamsWithTimeout ¶
func NewUpdateSnmpTransportParamsWithTimeout(timeout time.Duration) *UpdateSnmpTransportParams
NewUpdateSnmpTransportParamsWithTimeout creates a new UpdateSnmpTransportParams object with the ability to set a timeout on a request.
func (*UpdateSnmpTransportParams) SetContentLanguage ¶
func (o *UpdateSnmpTransportParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update snmp transport params
func (*UpdateSnmpTransportParams) SetContext ¶
func (o *UpdateSnmpTransportParams) SetContext(ctx context.Context)
SetContext adds the context to the update snmp transport params
func (*UpdateSnmpTransportParams) SetDefaults ¶
func (o *UpdateSnmpTransportParams) SetDefaults()
SetDefaults hydrates default values in the update snmp transport params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSnmpTransportParams) SetHTTPClient ¶
func (o *UpdateSnmpTransportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update snmp transport params
func (*UpdateSnmpTransportParams) SetRequestBody ¶
func (o *UpdateSnmpTransportParams) SetRequestBody(requestBody *models.SnmpTransportUpdationParams)
SetRequestBody adds the requestBody to the update snmp transport params
func (*UpdateSnmpTransportParams) SetTimeout ¶
func (o *UpdateSnmpTransportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update snmp transport params
func (*UpdateSnmpTransportParams) WithContentLanguage ¶
func (o *UpdateSnmpTransportParams) WithContentLanguage(contentLanguage *string) *UpdateSnmpTransportParams
WithContentLanguage adds the contentLanguage to the update snmp transport params
func (*UpdateSnmpTransportParams) WithContext ¶
func (o *UpdateSnmpTransportParams) WithContext(ctx context.Context) *UpdateSnmpTransportParams
WithContext adds the context to the update snmp transport params
func (*UpdateSnmpTransportParams) WithDefaults ¶
func (o *UpdateSnmpTransportParams) WithDefaults() *UpdateSnmpTransportParams
WithDefaults hydrates default values in the update snmp transport params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSnmpTransportParams) WithHTTPClient ¶
func (o *UpdateSnmpTransportParams) WithHTTPClient(client *http.Client) *UpdateSnmpTransportParams
WithHTTPClient adds the HTTPClient to the update snmp transport params
func (*UpdateSnmpTransportParams) WithRequestBody ¶
func (o *UpdateSnmpTransportParams) WithRequestBody(requestBody *models.SnmpTransportUpdationParams) *UpdateSnmpTransportParams
WithRequestBody adds the requestBody to the update snmp transport params
func (*UpdateSnmpTransportParams) WithTimeout ¶
func (o *UpdateSnmpTransportParams) WithTimeout(timeout time.Duration) *UpdateSnmpTransportParams
WithTimeout adds the timeout to the update snmp transport params
func (*UpdateSnmpTransportParams) WriteToRequest ¶
func (o *UpdateSnmpTransportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSnmpTransportReader ¶
type UpdateSnmpTransportReader struct {
// contains filtered or unexported fields
}
UpdateSnmpTransportReader is a Reader for the UpdateSnmpTransport structure.
func (*UpdateSnmpTransportReader) ReadResponse ¶
func (o *UpdateSnmpTransportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_snmp_transport_parameters.go
- create_snmp_transport_responses.go
- delete_snmp_transport_parameters.go
- delete_snmp_transport_responses.go
- get_snmp_transports_connection_parameters.go
- get_snmp_transports_connection_responses.go
- get_snmp_transports_parameters.go
- get_snmp_transports_responses.go
- snmp_transport_client.go
- update_snmp_transport_parameters.go
- update_snmp_transport_responses.go