Documentation
¶
Index ¶
- type Client
- func (a *Client) GetDiscoveryScanstatus(params *GetDiscoveryScanstatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDiscoveryScanstatusOK, error)
- func (a *Client) GetDiscoveryStatusDeviceid(params *GetDiscoveryStatusDeviceidParams, ...) (*GetDiscoveryStatusDeviceidOK, error)
- func (a *Client) PostDiscoveryConnectOther(params *PostDiscoveryConnectOtherParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostDiscoveryConnectOtherOK, error)
- func (a *Client) PostDiscoveryConnectUbnt(params *PostDiscoveryConnectUbntParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostDiscoveryConnectUbntOK, error)
- func (a *Client) PostDiscoveryImport(params *PostDiscoveryImportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostDiscoveryImportOK, error)
- func (a *Client) PostDiscoveryRescan(params *PostDiscoveryRescanParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostDiscoveryRescanOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetDiscoveryScanstatusBadRequest
- type GetDiscoveryScanstatusInternalServerError
- type GetDiscoveryScanstatusOK
- type GetDiscoveryScanstatusParams
- func NewGetDiscoveryScanstatusParams() *GetDiscoveryScanstatusParams
- func NewGetDiscoveryScanstatusParamsWithContext(ctx context.Context) *GetDiscoveryScanstatusParams
- func NewGetDiscoveryScanstatusParamsWithHTTPClient(client *http.Client) *GetDiscoveryScanstatusParams
- func NewGetDiscoveryScanstatusParamsWithTimeout(timeout time.Duration) *GetDiscoveryScanstatusParams
- func (o *GetDiscoveryScanstatusParams) SetContext(ctx context.Context)
- func (o *GetDiscoveryScanstatusParams) SetDefaults()
- func (o *GetDiscoveryScanstatusParams) SetHTTPClient(client *http.Client)
- func (o *GetDiscoveryScanstatusParams) SetTimeout(timeout time.Duration)
- func (o *GetDiscoveryScanstatusParams) WithContext(ctx context.Context) *GetDiscoveryScanstatusParams
- func (o *GetDiscoveryScanstatusParams) WithDefaults() *GetDiscoveryScanstatusParams
- func (o *GetDiscoveryScanstatusParams) WithHTTPClient(client *http.Client) *GetDiscoveryScanstatusParams
- func (o *GetDiscoveryScanstatusParams) WithTimeout(timeout time.Duration) *GetDiscoveryScanstatusParams
- func (o *GetDiscoveryScanstatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDiscoveryScanstatusReader
- type GetDiscoveryScanstatusUnauthorized
- type GetDiscoveryStatusDeviceidBadRequest
- type GetDiscoveryStatusDeviceidInternalServerError
- type GetDiscoveryStatusDeviceidNotFound
- type GetDiscoveryStatusDeviceidOK
- type GetDiscoveryStatusDeviceidParams
- func NewGetDiscoveryStatusDeviceidParams() *GetDiscoveryStatusDeviceidParams
- func NewGetDiscoveryStatusDeviceidParamsWithContext(ctx context.Context) *GetDiscoveryStatusDeviceidParams
- func NewGetDiscoveryStatusDeviceidParamsWithHTTPClient(client *http.Client) *GetDiscoveryStatusDeviceidParams
- func NewGetDiscoveryStatusDeviceidParamsWithTimeout(timeout time.Duration) *GetDiscoveryStatusDeviceidParams
- func (o *GetDiscoveryStatusDeviceidParams) SetContext(ctx context.Context)
- func (o *GetDiscoveryStatusDeviceidParams) SetDefaults()
- func (o *GetDiscoveryStatusDeviceidParams) SetDeviceID(deviceID string)
- func (o *GetDiscoveryStatusDeviceidParams) SetHTTPClient(client *http.Client)
- func (o *GetDiscoveryStatusDeviceidParams) SetTimeout(timeout time.Duration)
- func (o *GetDiscoveryStatusDeviceidParams) WithContext(ctx context.Context) *GetDiscoveryStatusDeviceidParams
- func (o *GetDiscoveryStatusDeviceidParams) WithDefaults() *GetDiscoveryStatusDeviceidParams
- func (o *GetDiscoveryStatusDeviceidParams) WithDeviceID(deviceID string) *GetDiscoveryStatusDeviceidParams
- func (o *GetDiscoveryStatusDeviceidParams) WithHTTPClient(client *http.Client) *GetDiscoveryStatusDeviceidParams
- func (o *GetDiscoveryStatusDeviceidParams) WithTimeout(timeout time.Duration) *GetDiscoveryStatusDeviceidParams
- func (o *GetDiscoveryStatusDeviceidParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDiscoveryStatusDeviceidReader
- type GetDiscoveryStatusDeviceidUnauthorized
- type PostDiscoveryConnectOtherBadRequest
- type PostDiscoveryConnectOtherInternalServerError
- type PostDiscoveryConnectOtherOK
- type PostDiscoveryConnectOtherParams
- func NewPostDiscoveryConnectOtherParams() *PostDiscoveryConnectOtherParams
- func NewPostDiscoveryConnectOtherParamsWithContext(ctx context.Context) *PostDiscoveryConnectOtherParams
- func NewPostDiscoveryConnectOtherParamsWithHTTPClient(client *http.Client) *PostDiscoveryConnectOtherParams
- func NewPostDiscoveryConnectOtherParamsWithTimeout(timeout time.Duration) *PostDiscoveryConnectOtherParams
- func (o *PostDiscoveryConnectOtherParams) SetBody(body *models.Model83)
- func (o *PostDiscoveryConnectOtherParams) SetContext(ctx context.Context)
- func (o *PostDiscoveryConnectOtherParams) SetDefaults()
- func (o *PostDiscoveryConnectOtherParams) SetHTTPClient(client *http.Client)
- func (o *PostDiscoveryConnectOtherParams) SetTimeout(timeout time.Duration)
- func (o *PostDiscoveryConnectOtherParams) WithBody(body *models.Model83) *PostDiscoveryConnectOtherParams
- func (o *PostDiscoveryConnectOtherParams) WithContext(ctx context.Context) *PostDiscoveryConnectOtherParams
- func (o *PostDiscoveryConnectOtherParams) WithDefaults() *PostDiscoveryConnectOtherParams
- func (o *PostDiscoveryConnectOtherParams) WithHTTPClient(client *http.Client) *PostDiscoveryConnectOtherParams
- func (o *PostDiscoveryConnectOtherParams) WithTimeout(timeout time.Duration) *PostDiscoveryConnectOtherParams
- func (o *PostDiscoveryConnectOtherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDiscoveryConnectOtherReader
- type PostDiscoveryConnectOtherUnauthorized
- type PostDiscoveryConnectUbntBadRequest
- type PostDiscoveryConnectUbntInternalServerError
- type PostDiscoveryConnectUbntOK
- type PostDiscoveryConnectUbntParams
- func NewPostDiscoveryConnectUbntParams() *PostDiscoveryConnectUbntParams
- func NewPostDiscoveryConnectUbntParamsWithContext(ctx context.Context) *PostDiscoveryConnectUbntParams
- func NewPostDiscoveryConnectUbntParamsWithHTTPClient(client *http.Client) *PostDiscoveryConnectUbntParams
- func NewPostDiscoveryConnectUbntParamsWithTimeout(timeout time.Duration) *PostDiscoveryConnectUbntParams
- func (o *PostDiscoveryConnectUbntParams) SetBody(body *models.Model84)
- func (o *PostDiscoveryConnectUbntParams) SetContext(ctx context.Context)
- func (o *PostDiscoveryConnectUbntParams) SetDefaults()
- func (o *PostDiscoveryConnectUbntParams) SetHTTPClient(client *http.Client)
- func (o *PostDiscoveryConnectUbntParams) SetTimeout(timeout time.Duration)
- func (o *PostDiscoveryConnectUbntParams) WithBody(body *models.Model84) *PostDiscoveryConnectUbntParams
- func (o *PostDiscoveryConnectUbntParams) WithContext(ctx context.Context) *PostDiscoveryConnectUbntParams
- func (o *PostDiscoveryConnectUbntParams) WithDefaults() *PostDiscoveryConnectUbntParams
- func (o *PostDiscoveryConnectUbntParams) WithHTTPClient(client *http.Client) *PostDiscoveryConnectUbntParams
- func (o *PostDiscoveryConnectUbntParams) WithTimeout(timeout time.Duration) *PostDiscoveryConnectUbntParams
- func (o *PostDiscoveryConnectUbntParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDiscoveryConnectUbntReader
- type PostDiscoveryConnectUbntUnauthorized
- type PostDiscoveryImportBadRequest
- type PostDiscoveryImportInternalServerError
- type PostDiscoveryImportOK
- type PostDiscoveryImportParams
- func NewPostDiscoveryImportParams() *PostDiscoveryImportParams
- func NewPostDiscoveryImportParamsWithContext(ctx context.Context) *PostDiscoveryImportParams
- func NewPostDiscoveryImportParamsWithHTTPClient(client *http.Client) *PostDiscoveryImportParams
- func NewPostDiscoveryImportParamsWithTimeout(timeout time.Duration) *PostDiscoveryImportParams
- func (o *PostDiscoveryImportParams) SetBody(body models.DiscoveryImportList)
- func (o *PostDiscoveryImportParams) SetContext(ctx context.Context)
- func (o *PostDiscoveryImportParams) SetDefaults()
- func (o *PostDiscoveryImportParams) SetHTTPClient(client *http.Client)
- func (o *PostDiscoveryImportParams) SetTimeout(timeout time.Duration)
- func (o *PostDiscoveryImportParams) WithBody(body models.DiscoveryImportList) *PostDiscoveryImportParams
- func (o *PostDiscoveryImportParams) WithContext(ctx context.Context) *PostDiscoveryImportParams
- func (o *PostDiscoveryImportParams) WithDefaults() *PostDiscoveryImportParams
- func (o *PostDiscoveryImportParams) WithHTTPClient(client *http.Client) *PostDiscoveryImportParams
- func (o *PostDiscoveryImportParams) WithTimeout(timeout time.Duration) *PostDiscoveryImportParams
- func (o *PostDiscoveryImportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDiscoveryImportReader
- type PostDiscoveryImportUnauthorized
- type PostDiscoveryRescanBadRequest
- type PostDiscoveryRescanInternalServerError
- type PostDiscoveryRescanOK
- type PostDiscoveryRescanParams
- func NewPostDiscoveryRescanParams() *PostDiscoveryRescanParams
- func NewPostDiscoveryRescanParamsWithContext(ctx context.Context) *PostDiscoveryRescanParams
- func NewPostDiscoveryRescanParamsWithHTTPClient(client *http.Client) *PostDiscoveryRescanParams
- func NewPostDiscoveryRescanParamsWithTimeout(timeout time.Duration) *PostDiscoveryRescanParams
- func (o *PostDiscoveryRescanParams) SetContext(ctx context.Context)
- func (o *PostDiscoveryRescanParams) SetDefaults()
- func (o *PostDiscoveryRescanParams) SetHTTPClient(client *http.Client)
- func (o *PostDiscoveryRescanParams) SetTimeout(timeout time.Duration)
- func (o *PostDiscoveryRescanParams) WithContext(ctx context.Context) *PostDiscoveryRescanParams
- func (o *PostDiscoveryRescanParams) WithDefaults() *PostDiscoveryRescanParams
- func (o *PostDiscoveryRescanParams) WithHTTPClient(client *http.Client) *PostDiscoveryRescanParams
- func (o *PostDiscoveryRescanParams) WithTimeout(timeout time.Duration) *PostDiscoveryRescanParams
- func (o *PostDiscoveryRescanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDiscoveryRescanReader
- type PostDiscoveryRescanUnauthorized
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 discovery API
func (*Client) GetDiscoveryScanstatus ¶
func (a *Client) GetDiscoveryScanstatus(params *GetDiscoveryScanstatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDiscoveryScanstatusOK, error)
GetDiscoveryScanstatus gets current scan status payload is w IP
func (*Client) GetDiscoveryStatusDeviceid ¶
func (a *Client) GetDiscoveryStatusDeviceid(params *GetDiscoveryStatusDeviceidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDiscoveryStatusDeviceidOK, error)
GetDiscoveryStatusDeviceid gets device s discovery status
func (*Client) PostDiscoveryConnectOther ¶
func (a *Client) PostDiscoveryConnectOther(params *PostDiscoveryConnectOtherParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDiscoveryConnectOtherOK, error)
PostDiscoveryConnectOther starts connect process for discovered other devices
func (*Client) PostDiscoveryConnectUbnt ¶
func (a *Client) PostDiscoveryConnectUbnt(params *PostDiscoveryConnectUbntParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDiscoveryConnectUbntOK, error)
PostDiscoveryConnectUbnt starts connect process for discovered u b n t devices
func (*Client) PostDiscoveryImport ¶
func (a *Client) PostDiscoveryImport(params *PostDiscoveryImportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDiscoveryImportOK, error)
PostDiscoveryImport imports devices to discovery
func (*Client) PostDiscoveryRescan ¶
func (a *Client) PostDiscoveryRescan(params *PostDiscoveryRescanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDiscoveryRescanOK, error)
PostDiscoveryRescan restarts scanning process
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetDiscoveryScanstatus(params *GetDiscoveryScanstatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDiscoveryScanstatusOK, error) GetDiscoveryStatusDeviceid(params *GetDiscoveryStatusDeviceidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDiscoveryStatusDeviceidOK, error) PostDiscoveryConnectOther(params *PostDiscoveryConnectOtherParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDiscoveryConnectOtherOK, error) PostDiscoveryConnectUbnt(params *PostDiscoveryConnectUbntParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDiscoveryConnectUbntOK, error) PostDiscoveryImport(params *PostDiscoveryImportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDiscoveryImportOK, error) PostDiscoveryRescan(params *PostDiscoveryRescanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDiscoveryRescanOK, 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 discovery API client.
type GetDiscoveryScanstatusBadRequest ¶
GetDiscoveryScanstatusBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetDiscoveryScanstatusBadRequest ¶
func NewGetDiscoveryScanstatusBadRequest() *GetDiscoveryScanstatusBadRequest
NewGetDiscoveryScanstatusBadRequest creates a GetDiscoveryScanstatusBadRequest with default headers values
func (*GetDiscoveryScanstatusBadRequest) Error ¶
func (o *GetDiscoveryScanstatusBadRequest) Error() string
func (*GetDiscoveryScanstatusBadRequest) GetPayload ¶
func (o *GetDiscoveryScanstatusBadRequest) GetPayload() *models.Error
type GetDiscoveryScanstatusInternalServerError ¶
GetDiscoveryScanstatusInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetDiscoveryScanstatusInternalServerError ¶
func NewGetDiscoveryScanstatusInternalServerError() *GetDiscoveryScanstatusInternalServerError
NewGetDiscoveryScanstatusInternalServerError creates a GetDiscoveryScanstatusInternalServerError with default headers values
func (*GetDiscoveryScanstatusInternalServerError) Error ¶
func (o *GetDiscoveryScanstatusInternalServerError) Error() string
func (*GetDiscoveryScanstatusInternalServerError) GetPayload ¶
func (o *GetDiscoveryScanstatusInternalServerError) GetPayload() *models.Error
type GetDiscoveryScanstatusOK ¶
type GetDiscoveryScanstatusOK struct {
Payload string
}
GetDiscoveryScanstatusOK describes a response with status code 200, with default header values.
Successful
func NewGetDiscoveryScanstatusOK ¶
func NewGetDiscoveryScanstatusOK() *GetDiscoveryScanstatusOK
NewGetDiscoveryScanstatusOK creates a GetDiscoveryScanstatusOK with default headers values
func (*GetDiscoveryScanstatusOK) Error ¶
func (o *GetDiscoveryScanstatusOK) Error() string
func (*GetDiscoveryScanstatusOK) GetPayload ¶
func (o *GetDiscoveryScanstatusOK) GetPayload() string
type GetDiscoveryScanstatusParams ¶
type GetDiscoveryScanstatusParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDiscoveryScanstatusParams contains all the parameters to send to the API endpoint
for the get discovery scanstatus operation. Typically these are written to a http.Request.
func NewGetDiscoveryScanstatusParams ¶
func NewGetDiscoveryScanstatusParams() *GetDiscoveryScanstatusParams
NewGetDiscoveryScanstatusParams creates a new GetDiscoveryScanstatusParams 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 NewGetDiscoveryScanstatusParamsWithContext ¶
func NewGetDiscoveryScanstatusParamsWithContext(ctx context.Context) *GetDiscoveryScanstatusParams
NewGetDiscoveryScanstatusParamsWithContext creates a new GetDiscoveryScanstatusParams object with the ability to set a context for a request.
func NewGetDiscoveryScanstatusParamsWithHTTPClient ¶
func NewGetDiscoveryScanstatusParamsWithHTTPClient(client *http.Client) *GetDiscoveryScanstatusParams
NewGetDiscoveryScanstatusParamsWithHTTPClient creates a new GetDiscoveryScanstatusParams object with the ability to set a custom HTTPClient for a request.
func NewGetDiscoveryScanstatusParamsWithTimeout ¶
func NewGetDiscoveryScanstatusParamsWithTimeout(timeout time.Duration) *GetDiscoveryScanstatusParams
NewGetDiscoveryScanstatusParamsWithTimeout creates a new GetDiscoveryScanstatusParams object with the ability to set a timeout on a request.
func (*GetDiscoveryScanstatusParams) SetContext ¶
func (o *GetDiscoveryScanstatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get discovery scanstatus params
func (*GetDiscoveryScanstatusParams) SetDefaults ¶
func (o *GetDiscoveryScanstatusParams) SetDefaults()
SetDefaults hydrates default values in the get discovery scanstatus params (not the query body).
All values with no default are reset to their zero value.
func (*GetDiscoveryScanstatusParams) SetHTTPClient ¶
func (o *GetDiscoveryScanstatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get discovery scanstatus params
func (*GetDiscoveryScanstatusParams) SetTimeout ¶
func (o *GetDiscoveryScanstatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get discovery scanstatus params
func (*GetDiscoveryScanstatusParams) WithContext ¶
func (o *GetDiscoveryScanstatusParams) WithContext(ctx context.Context) *GetDiscoveryScanstatusParams
WithContext adds the context to the get discovery scanstatus params
func (*GetDiscoveryScanstatusParams) WithDefaults ¶
func (o *GetDiscoveryScanstatusParams) WithDefaults() *GetDiscoveryScanstatusParams
WithDefaults hydrates default values in the get discovery scanstatus params (not the query body).
All values with no default are reset to their zero value.
func (*GetDiscoveryScanstatusParams) WithHTTPClient ¶
func (o *GetDiscoveryScanstatusParams) WithHTTPClient(client *http.Client) *GetDiscoveryScanstatusParams
WithHTTPClient adds the HTTPClient to the get discovery scanstatus params
func (*GetDiscoveryScanstatusParams) WithTimeout ¶
func (o *GetDiscoveryScanstatusParams) WithTimeout(timeout time.Duration) *GetDiscoveryScanstatusParams
WithTimeout adds the timeout to the get discovery scanstatus params
func (*GetDiscoveryScanstatusParams) WriteToRequest ¶
func (o *GetDiscoveryScanstatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDiscoveryScanstatusReader ¶
type GetDiscoveryScanstatusReader struct {
// contains filtered or unexported fields
}
GetDiscoveryScanstatusReader is a Reader for the GetDiscoveryScanstatus structure.
func (*GetDiscoveryScanstatusReader) ReadResponse ¶
func (o *GetDiscoveryScanstatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDiscoveryScanstatusUnauthorized ¶
type GetDiscoveryScanstatusUnauthorized struct {
}GetDiscoveryScanstatusUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetDiscoveryScanstatusUnauthorized ¶
func NewGetDiscoveryScanstatusUnauthorized() *GetDiscoveryScanstatusUnauthorized
NewGetDiscoveryScanstatusUnauthorized creates a GetDiscoveryScanstatusUnauthorized with default headers values
func (*GetDiscoveryScanstatusUnauthorized) Error ¶
func (o *GetDiscoveryScanstatusUnauthorized) Error() string
func (*GetDiscoveryScanstatusUnauthorized) GetPayload ¶
func (o *GetDiscoveryScanstatusUnauthorized) GetPayload() *models.Error
type GetDiscoveryStatusDeviceidBadRequest ¶
GetDiscoveryStatusDeviceidBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetDiscoveryStatusDeviceidBadRequest ¶
func NewGetDiscoveryStatusDeviceidBadRequest() *GetDiscoveryStatusDeviceidBadRequest
NewGetDiscoveryStatusDeviceidBadRequest creates a GetDiscoveryStatusDeviceidBadRequest with default headers values
func (*GetDiscoveryStatusDeviceidBadRequest) Error ¶
func (o *GetDiscoveryStatusDeviceidBadRequest) Error() string
func (*GetDiscoveryStatusDeviceidBadRequest) GetPayload ¶
func (o *GetDiscoveryStatusDeviceidBadRequest) GetPayload() *models.Error
type GetDiscoveryStatusDeviceidInternalServerError ¶
GetDiscoveryStatusDeviceidInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetDiscoveryStatusDeviceidInternalServerError ¶
func NewGetDiscoveryStatusDeviceidInternalServerError() *GetDiscoveryStatusDeviceidInternalServerError
NewGetDiscoveryStatusDeviceidInternalServerError creates a GetDiscoveryStatusDeviceidInternalServerError with default headers values
func (*GetDiscoveryStatusDeviceidInternalServerError) Error ¶
func (o *GetDiscoveryStatusDeviceidInternalServerError) Error() string
func (*GetDiscoveryStatusDeviceidInternalServerError) GetPayload ¶
func (o *GetDiscoveryStatusDeviceidInternalServerError) GetPayload() *models.Error
type GetDiscoveryStatusDeviceidNotFound ¶
GetDiscoveryStatusDeviceidNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetDiscoveryStatusDeviceidNotFound ¶
func NewGetDiscoveryStatusDeviceidNotFound() *GetDiscoveryStatusDeviceidNotFound
NewGetDiscoveryStatusDeviceidNotFound creates a GetDiscoveryStatusDeviceidNotFound with default headers values
func (*GetDiscoveryStatusDeviceidNotFound) Error ¶
func (o *GetDiscoveryStatusDeviceidNotFound) Error() string
func (*GetDiscoveryStatusDeviceidNotFound) GetPayload ¶
func (o *GetDiscoveryStatusDeviceidNotFound) GetPayload() *models.Error
type GetDiscoveryStatusDeviceidOK ¶
GetDiscoveryStatusDeviceidOK describes a response with status code 200, with default header values.
Successful
func NewGetDiscoveryStatusDeviceidOK ¶
func NewGetDiscoveryStatusDeviceidOK() *GetDiscoveryStatusDeviceidOK
NewGetDiscoveryStatusDeviceidOK creates a GetDiscoveryStatusDeviceidOK with default headers values
func (*GetDiscoveryStatusDeviceidOK) Error ¶
func (o *GetDiscoveryStatusDeviceidOK) Error() string
func (*GetDiscoveryStatusDeviceidOK) GetPayload ¶
func (o *GetDiscoveryStatusDeviceidOK) GetPayload() *models.Model33
type GetDiscoveryStatusDeviceidParams ¶
type GetDiscoveryStatusDeviceidParams struct { // DeviceID. DeviceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDiscoveryStatusDeviceidParams contains all the parameters to send to the API endpoint
for the get discovery status deviceid operation. Typically these are written to a http.Request.
func NewGetDiscoveryStatusDeviceidParams ¶
func NewGetDiscoveryStatusDeviceidParams() *GetDiscoveryStatusDeviceidParams
NewGetDiscoveryStatusDeviceidParams creates a new GetDiscoveryStatusDeviceidParams 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 NewGetDiscoveryStatusDeviceidParamsWithContext ¶
func NewGetDiscoveryStatusDeviceidParamsWithContext(ctx context.Context) *GetDiscoveryStatusDeviceidParams
NewGetDiscoveryStatusDeviceidParamsWithContext creates a new GetDiscoveryStatusDeviceidParams object with the ability to set a context for a request.
func NewGetDiscoveryStatusDeviceidParamsWithHTTPClient ¶
func NewGetDiscoveryStatusDeviceidParamsWithHTTPClient(client *http.Client) *GetDiscoveryStatusDeviceidParams
NewGetDiscoveryStatusDeviceidParamsWithHTTPClient creates a new GetDiscoveryStatusDeviceidParams object with the ability to set a custom HTTPClient for a request.
func NewGetDiscoveryStatusDeviceidParamsWithTimeout ¶
func NewGetDiscoveryStatusDeviceidParamsWithTimeout(timeout time.Duration) *GetDiscoveryStatusDeviceidParams
NewGetDiscoveryStatusDeviceidParamsWithTimeout creates a new GetDiscoveryStatusDeviceidParams object with the ability to set a timeout on a request.
func (*GetDiscoveryStatusDeviceidParams) SetContext ¶
func (o *GetDiscoveryStatusDeviceidParams) SetContext(ctx context.Context)
SetContext adds the context to the get discovery status deviceid params
func (*GetDiscoveryStatusDeviceidParams) SetDefaults ¶
func (o *GetDiscoveryStatusDeviceidParams) SetDefaults()
SetDefaults hydrates default values in the get discovery status deviceid params (not the query body).
All values with no default are reset to their zero value.
func (*GetDiscoveryStatusDeviceidParams) SetDeviceID ¶ added in v0.5.0
func (o *GetDiscoveryStatusDeviceidParams) SetDeviceID(deviceID string)
SetDeviceID adds the deviceId to the get discovery status deviceid params
func (*GetDiscoveryStatusDeviceidParams) SetHTTPClient ¶
func (o *GetDiscoveryStatusDeviceidParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get discovery status deviceid params
func (*GetDiscoveryStatusDeviceidParams) SetTimeout ¶
func (o *GetDiscoveryStatusDeviceidParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get discovery status deviceid params
func (*GetDiscoveryStatusDeviceidParams) WithContext ¶
func (o *GetDiscoveryStatusDeviceidParams) WithContext(ctx context.Context) *GetDiscoveryStatusDeviceidParams
WithContext adds the context to the get discovery status deviceid params
func (*GetDiscoveryStatusDeviceidParams) WithDefaults ¶
func (o *GetDiscoveryStatusDeviceidParams) WithDefaults() *GetDiscoveryStatusDeviceidParams
WithDefaults hydrates default values in the get discovery status deviceid params (not the query body).
All values with no default are reset to their zero value.
func (*GetDiscoveryStatusDeviceidParams) WithDeviceID ¶ added in v0.5.0
func (o *GetDiscoveryStatusDeviceidParams) WithDeviceID(deviceID string) *GetDiscoveryStatusDeviceidParams
WithDeviceID adds the deviceID to the get discovery status deviceid params
func (*GetDiscoveryStatusDeviceidParams) WithHTTPClient ¶
func (o *GetDiscoveryStatusDeviceidParams) WithHTTPClient(client *http.Client) *GetDiscoveryStatusDeviceidParams
WithHTTPClient adds the HTTPClient to the get discovery status deviceid params
func (*GetDiscoveryStatusDeviceidParams) WithTimeout ¶
func (o *GetDiscoveryStatusDeviceidParams) WithTimeout(timeout time.Duration) *GetDiscoveryStatusDeviceidParams
WithTimeout adds the timeout to the get discovery status deviceid params
func (*GetDiscoveryStatusDeviceidParams) WriteToRequest ¶
func (o *GetDiscoveryStatusDeviceidParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDiscoveryStatusDeviceidReader ¶
type GetDiscoveryStatusDeviceidReader struct {
// contains filtered or unexported fields
}
GetDiscoveryStatusDeviceidReader is a Reader for the GetDiscoveryStatusDeviceid structure.
func (*GetDiscoveryStatusDeviceidReader) ReadResponse ¶
func (o *GetDiscoveryStatusDeviceidReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDiscoveryStatusDeviceidUnauthorized ¶
type GetDiscoveryStatusDeviceidUnauthorized struct {
}GetDiscoveryStatusDeviceidUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetDiscoveryStatusDeviceidUnauthorized ¶
func NewGetDiscoveryStatusDeviceidUnauthorized() *GetDiscoveryStatusDeviceidUnauthorized
NewGetDiscoveryStatusDeviceidUnauthorized creates a GetDiscoveryStatusDeviceidUnauthorized with default headers values
func (*GetDiscoveryStatusDeviceidUnauthorized) Error ¶
func (o *GetDiscoveryStatusDeviceidUnauthorized) Error() string
func (*GetDiscoveryStatusDeviceidUnauthorized) GetPayload ¶
func (o *GetDiscoveryStatusDeviceidUnauthorized) GetPayload() *models.Error
type PostDiscoveryConnectOtherBadRequest ¶
PostDiscoveryConnectOtherBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostDiscoveryConnectOtherBadRequest ¶
func NewPostDiscoveryConnectOtherBadRequest() *PostDiscoveryConnectOtherBadRequest
NewPostDiscoveryConnectOtherBadRequest creates a PostDiscoveryConnectOtherBadRequest with default headers values
func (*PostDiscoveryConnectOtherBadRequest) Error ¶
func (o *PostDiscoveryConnectOtherBadRequest) Error() string
func (*PostDiscoveryConnectOtherBadRequest) GetPayload ¶
func (o *PostDiscoveryConnectOtherBadRequest) GetPayload() *models.Error
type PostDiscoveryConnectOtherInternalServerError ¶
PostDiscoveryConnectOtherInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostDiscoveryConnectOtherInternalServerError ¶
func NewPostDiscoveryConnectOtherInternalServerError() *PostDiscoveryConnectOtherInternalServerError
NewPostDiscoveryConnectOtherInternalServerError creates a PostDiscoveryConnectOtherInternalServerError with default headers values
func (*PostDiscoveryConnectOtherInternalServerError) Error ¶
func (o *PostDiscoveryConnectOtherInternalServerError) Error() string
func (*PostDiscoveryConnectOtherInternalServerError) GetPayload ¶
func (o *PostDiscoveryConnectOtherInternalServerError) GetPayload() *models.Error
type PostDiscoveryConnectOtherOK ¶
PostDiscoveryConnectOtherOK describes a response with status code 200, with default header values.
Successful
func NewPostDiscoveryConnectOtherOK ¶
func NewPostDiscoveryConnectOtherOK() *PostDiscoveryConnectOtherOK
NewPostDiscoveryConnectOtherOK creates a PostDiscoveryConnectOtherOK with default headers values
func (*PostDiscoveryConnectOtherOK) Error ¶
func (o *PostDiscoveryConnectOtherOK) Error() string
func (*PostDiscoveryConnectOtherOK) GetPayload ¶
func (o *PostDiscoveryConnectOtherOK) GetPayload() *models.Status
type PostDiscoveryConnectOtherParams ¶
type PostDiscoveryConnectOtherParams struct { // Body. Body *models.Model83 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostDiscoveryConnectOtherParams contains all the parameters to send to the API endpoint
for the post discovery connect other operation. Typically these are written to a http.Request.
func NewPostDiscoveryConnectOtherParams ¶
func NewPostDiscoveryConnectOtherParams() *PostDiscoveryConnectOtherParams
NewPostDiscoveryConnectOtherParams creates a new PostDiscoveryConnectOtherParams 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 NewPostDiscoveryConnectOtherParamsWithContext ¶
func NewPostDiscoveryConnectOtherParamsWithContext(ctx context.Context) *PostDiscoveryConnectOtherParams
NewPostDiscoveryConnectOtherParamsWithContext creates a new PostDiscoveryConnectOtherParams object with the ability to set a context for a request.
func NewPostDiscoveryConnectOtherParamsWithHTTPClient ¶
func NewPostDiscoveryConnectOtherParamsWithHTTPClient(client *http.Client) *PostDiscoveryConnectOtherParams
NewPostDiscoveryConnectOtherParamsWithHTTPClient creates a new PostDiscoveryConnectOtherParams object with the ability to set a custom HTTPClient for a request.
func NewPostDiscoveryConnectOtherParamsWithTimeout ¶
func NewPostDiscoveryConnectOtherParamsWithTimeout(timeout time.Duration) *PostDiscoveryConnectOtherParams
NewPostDiscoveryConnectOtherParamsWithTimeout creates a new PostDiscoveryConnectOtherParams object with the ability to set a timeout on a request.
func (*PostDiscoveryConnectOtherParams) SetBody ¶
func (o *PostDiscoveryConnectOtherParams) SetBody(body *models.Model83)
SetBody adds the body to the post discovery connect other params
func (*PostDiscoveryConnectOtherParams) SetContext ¶
func (o *PostDiscoveryConnectOtherParams) SetContext(ctx context.Context)
SetContext adds the context to the post discovery connect other params
func (*PostDiscoveryConnectOtherParams) SetDefaults ¶
func (o *PostDiscoveryConnectOtherParams) SetDefaults()
SetDefaults hydrates default values in the post discovery connect other params (not the query body).
All values with no default are reset to their zero value.
func (*PostDiscoveryConnectOtherParams) SetHTTPClient ¶
func (o *PostDiscoveryConnectOtherParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post discovery connect other params
func (*PostDiscoveryConnectOtherParams) SetTimeout ¶
func (o *PostDiscoveryConnectOtherParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post discovery connect other params
func (*PostDiscoveryConnectOtherParams) WithBody ¶
func (o *PostDiscoveryConnectOtherParams) WithBody(body *models.Model83) *PostDiscoveryConnectOtherParams
WithBody adds the body to the post discovery connect other params
func (*PostDiscoveryConnectOtherParams) WithContext ¶
func (o *PostDiscoveryConnectOtherParams) WithContext(ctx context.Context) *PostDiscoveryConnectOtherParams
WithContext adds the context to the post discovery connect other params
func (*PostDiscoveryConnectOtherParams) WithDefaults ¶
func (o *PostDiscoveryConnectOtherParams) WithDefaults() *PostDiscoveryConnectOtherParams
WithDefaults hydrates default values in the post discovery connect other params (not the query body).
All values with no default are reset to their zero value.
func (*PostDiscoveryConnectOtherParams) WithHTTPClient ¶
func (o *PostDiscoveryConnectOtherParams) WithHTTPClient(client *http.Client) *PostDiscoveryConnectOtherParams
WithHTTPClient adds the HTTPClient to the post discovery connect other params
func (*PostDiscoveryConnectOtherParams) WithTimeout ¶
func (o *PostDiscoveryConnectOtherParams) WithTimeout(timeout time.Duration) *PostDiscoveryConnectOtherParams
WithTimeout adds the timeout to the post discovery connect other params
func (*PostDiscoveryConnectOtherParams) WriteToRequest ¶
func (o *PostDiscoveryConnectOtherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostDiscoveryConnectOtherReader ¶
type PostDiscoveryConnectOtherReader struct {
// contains filtered or unexported fields
}
PostDiscoveryConnectOtherReader is a Reader for the PostDiscoveryConnectOther structure.
func (*PostDiscoveryConnectOtherReader) ReadResponse ¶
func (o *PostDiscoveryConnectOtherReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostDiscoveryConnectOtherUnauthorized ¶
type PostDiscoveryConnectOtherUnauthorized struct {
}PostDiscoveryConnectOtherUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostDiscoveryConnectOtherUnauthorized ¶
func NewPostDiscoveryConnectOtherUnauthorized() *PostDiscoveryConnectOtherUnauthorized
NewPostDiscoveryConnectOtherUnauthorized creates a PostDiscoveryConnectOtherUnauthorized with default headers values
func (*PostDiscoveryConnectOtherUnauthorized) Error ¶
func (o *PostDiscoveryConnectOtherUnauthorized) Error() string
func (*PostDiscoveryConnectOtherUnauthorized) GetPayload ¶
func (o *PostDiscoveryConnectOtherUnauthorized) GetPayload() *models.Error
type PostDiscoveryConnectUbntBadRequest ¶
PostDiscoveryConnectUbntBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostDiscoveryConnectUbntBadRequest ¶
func NewPostDiscoveryConnectUbntBadRequest() *PostDiscoveryConnectUbntBadRequest
NewPostDiscoveryConnectUbntBadRequest creates a PostDiscoveryConnectUbntBadRequest with default headers values
func (*PostDiscoveryConnectUbntBadRequest) Error ¶
func (o *PostDiscoveryConnectUbntBadRequest) Error() string
func (*PostDiscoveryConnectUbntBadRequest) GetPayload ¶
func (o *PostDiscoveryConnectUbntBadRequest) GetPayload() *models.Error
type PostDiscoveryConnectUbntInternalServerError ¶
PostDiscoveryConnectUbntInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostDiscoveryConnectUbntInternalServerError ¶
func NewPostDiscoveryConnectUbntInternalServerError() *PostDiscoveryConnectUbntInternalServerError
NewPostDiscoveryConnectUbntInternalServerError creates a PostDiscoveryConnectUbntInternalServerError with default headers values
func (*PostDiscoveryConnectUbntInternalServerError) Error ¶
func (o *PostDiscoveryConnectUbntInternalServerError) Error() string
func (*PostDiscoveryConnectUbntInternalServerError) GetPayload ¶
func (o *PostDiscoveryConnectUbntInternalServerError) GetPayload() *models.Error
type PostDiscoveryConnectUbntOK ¶
PostDiscoveryConnectUbntOK describes a response with status code 200, with default header values.
Successful
func NewPostDiscoveryConnectUbntOK ¶
func NewPostDiscoveryConnectUbntOK() *PostDiscoveryConnectUbntOK
NewPostDiscoveryConnectUbntOK creates a PostDiscoveryConnectUbntOK with default headers values
func (*PostDiscoveryConnectUbntOK) Error ¶
func (o *PostDiscoveryConnectUbntOK) Error() string
func (*PostDiscoveryConnectUbntOK) GetPayload ¶
func (o *PostDiscoveryConnectUbntOK) GetPayload() *models.Status
type PostDiscoveryConnectUbntParams ¶
type PostDiscoveryConnectUbntParams struct { // Body. Body *models.Model84 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostDiscoveryConnectUbntParams contains all the parameters to send to the API endpoint
for the post discovery connect ubnt operation. Typically these are written to a http.Request.
func NewPostDiscoveryConnectUbntParams ¶
func NewPostDiscoveryConnectUbntParams() *PostDiscoveryConnectUbntParams
NewPostDiscoveryConnectUbntParams creates a new PostDiscoveryConnectUbntParams 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 NewPostDiscoveryConnectUbntParamsWithContext ¶
func NewPostDiscoveryConnectUbntParamsWithContext(ctx context.Context) *PostDiscoveryConnectUbntParams
NewPostDiscoveryConnectUbntParamsWithContext creates a new PostDiscoveryConnectUbntParams object with the ability to set a context for a request.
func NewPostDiscoveryConnectUbntParamsWithHTTPClient ¶
func NewPostDiscoveryConnectUbntParamsWithHTTPClient(client *http.Client) *PostDiscoveryConnectUbntParams
NewPostDiscoveryConnectUbntParamsWithHTTPClient creates a new PostDiscoveryConnectUbntParams object with the ability to set a custom HTTPClient for a request.
func NewPostDiscoveryConnectUbntParamsWithTimeout ¶
func NewPostDiscoveryConnectUbntParamsWithTimeout(timeout time.Duration) *PostDiscoveryConnectUbntParams
NewPostDiscoveryConnectUbntParamsWithTimeout creates a new PostDiscoveryConnectUbntParams object with the ability to set a timeout on a request.
func (*PostDiscoveryConnectUbntParams) SetBody ¶
func (o *PostDiscoveryConnectUbntParams) SetBody(body *models.Model84)
SetBody adds the body to the post discovery connect ubnt params
func (*PostDiscoveryConnectUbntParams) SetContext ¶
func (o *PostDiscoveryConnectUbntParams) SetContext(ctx context.Context)
SetContext adds the context to the post discovery connect ubnt params
func (*PostDiscoveryConnectUbntParams) SetDefaults ¶
func (o *PostDiscoveryConnectUbntParams) SetDefaults()
SetDefaults hydrates default values in the post discovery connect ubnt params (not the query body).
All values with no default are reset to their zero value.
func (*PostDiscoveryConnectUbntParams) SetHTTPClient ¶
func (o *PostDiscoveryConnectUbntParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post discovery connect ubnt params
func (*PostDiscoveryConnectUbntParams) SetTimeout ¶
func (o *PostDiscoveryConnectUbntParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post discovery connect ubnt params
func (*PostDiscoveryConnectUbntParams) WithBody ¶
func (o *PostDiscoveryConnectUbntParams) WithBody(body *models.Model84) *PostDiscoveryConnectUbntParams
WithBody adds the body to the post discovery connect ubnt params
func (*PostDiscoveryConnectUbntParams) WithContext ¶
func (o *PostDiscoveryConnectUbntParams) WithContext(ctx context.Context) *PostDiscoveryConnectUbntParams
WithContext adds the context to the post discovery connect ubnt params
func (*PostDiscoveryConnectUbntParams) WithDefaults ¶
func (o *PostDiscoveryConnectUbntParams) WithDefaults() *PostDiscoveryConnectUbntParams
WithDefaults hydrates default values in the post discovery connect ubnt params (not the query body).
All values with no default are reset to their zero value.
func (*PostDiscoveryConnectUbntParams) WithHTTPClient ¶
func (o *PostDiscoveryConnectUbntParams) WithHTTPClient(client *http.Client) *PostDiscoveryConnectUbntParams
WithHTTPClient adds the HTTPClient to the post discovery connect ubnt params
func (*PostDiscoveryConnectUbntParams) WithTimeout ¶
func (o *PostDiscoveryConnectUbntParams) WithTimeout(timeout time.Duration) *PostDiscoveryConnectUbntParams
WithTimeout adds the timeout to the post discovery connect ubnt params
func (*PostDiscoveryConnectUbntParams) WriteToRequest ¶
func (o *PostDiscoveryConnectUbntParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostDiscoveryConnectUbntReader ¶
type PostDiscoveryConnectUbntReader struct {
// contains filtered or unexported fields
}
PostDiscoveryConnectUbntReader is a Reader for the PostDiscoveryConnectUbnt structure.
func (*PostDiscoveryConnectUbntReader) ReadResponse ¶
func (o *PostDiscoveryConnectUbntReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostDiscoveryConnectUbntUnauthorized ¶
type PostDiscoveryConnectUbntUnauthorized struct {
}PostDiscoveryConnectUbntUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostDiscoveryConnectUbntUnauthorized ¶
func NewPostDiscoveryConnectUbntUnauthorized() *PostDiscoveryConnectUbntUnauthorized
NewPostDiscoveryConnectUbntUnauthorized creates a PostDiscoveryConnectUbntUnauthorized with default headers values
func (*PostDiscoveryConnectUbntUnauthorized) Error ¶
func (o *PostDiscoveryConnectUbntUnauthorized) Error() string
func (*PostDiscoveryConnectUbntUnauthorized) GetPayload ¶
func (o *PostDiscoveryConnectUbntUnauthorized) GetPayload() *models.Error
type PostDiscoveryImportBadRequest ¶
PostDiscoveryImportBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostDiscoveryImportBadRequest ¶
func NewPostDiscoveryImportBadRequest() *PostDiscoveryImportBadRequest
NewPostDiscoveryImportBadRequest creates a PostDiscoveryImportBadRequest with default headers values
func (*PostDiscoveryImportBadRequest) Error ¶
func (o *PostDiscoveryImportBadRequest) Error() string
func (*PostDiscoveryImportBadRequest) GetPayload ¶
func (o *PostDiscoveryImportBadRequest) GetPayload() *models.Error
type PostDiscoveryImportInternalServerError ¶
PostDiscoveryImportInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostDiscoveryImportInternalServerError ¶
func NewPostDiscoveryImportInternalServerError() *PostDiscoveryImportInternalServerError
NewPostDiscoveryImportInternalServerError creates a PostDiscoveryImportInternalServerError with default headers values
func (*PostDiscoveryImportInternalServerError) Error ¶
func (o *PostDiscoveryImportInternalServerError) Error() string
func (*PostDiscoveryImportInternalServerError) GetPayload ¶
func (o *PostDiscoveryImportInternalServerError) GetPayload() *models.Error
type PostDiscoveryImportOK ¶
PostDiscoveryImportOK describes a response with status code 200, with default header values.
Successful
func NewPostDiscoveryImportOK ¶
func NewPostDiscoveryImportOK() *PostDiscoveryImportOK
NewPostDiscoveryImportOK creates a PostDiscoveryImportOK with default headers values
func (*PostDiscoveryImportOK) Error ¶
func (o *PostDiscoveryImportOK) Error() string
func (*PostDiscoveryImportOK) GetPayload ¶
func (o *PostDiscoveryImportOK) GetPayload() *models.Status
type PostDiscoveryImportParams ¶
type PostDiscoveryImportParams struct { // Body. Body models.DiscoveryImportList Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostDiscoveryImportParams contains all the parameters to send to the API endpoint
for the post discovery import operation. Typically these are written to a http.Request.
func NewPostDiscoveryImportParams ¶
func NewPostDiscoveryImportParams() *PostDiscoveryImportParams
NewPostDiscoveryImportParams creates a new PostDiscoveryImportParams 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 NewPostDiscoveryImportParamsWithContext ¶
func NewPostDiscoveryImportParamsWithContext(ctx context.Context) *PostDiscoveryImportParams
NewPostDiscoveryImportParamsWithContext creates a new PostDiscoveryImportParams object with the ability to set a context for a request.
func NewPostDiscoveryImportParamsWithHTTPClient ¶
func NewPostDiscoveryImportParamsWithHTTPClient(client *http.Client) *PostDiscoveryImportParams
NewPostDiscoveryImportParamsWithHTTPClient creates a new PostDiscoveryImportParams object with the ability to set a custom HTTPClient for a request.
func NewPostDiscoveryImportParamsWithTimeout ¶
func NewPostDiscoveryImportParamsWithTimeout(timeout time.Duration) *PostDiscoveryImportParams
NewPostDiscoveryImportParamsWithTimeout creates a new PostDiscoveryImportParams object with the ability to set a timeout on a request.
func (*PostDiscoveryImportParams) SetBody ¶
func (o *PostDiscoveryImportParams) SetBody(body models.DiscoveryImportList)
SetBody adds the body to the post discovery import params
func (*PostDiscoveryImportParams) SetContext ¶
func (o *PostDiscoveryImportParams) SetContext(ctx context.Context)
SetContext adds the context to the post discovery import params
func (*PostDiscoveryImportParams) SetDefaults ¶
func (o *PostDiscoveryImportParams) SetDefaults()
SetDefaults hydrates default values in the post discovery import params (not the query body).
All values with no default are reset to their zero value.
func (*PostDiscoveryImportParams) SetHTTPClient ¶
func (o *PostDiscoveryImportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post discovery import params
func (*PostDiscoveryImportParams) SetTimeout ¶
func (o *PostDiscoveryImportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post discovery import params
func (*PostDiscoveryImportParams) WithBody ¶
func (o *PostDiscoveryImportParams) WithBody(body models.DiscoveryImportList) *PostDiscoveryImportParams
WithBody adds the body to the post discovery import params
func (*PostDiscoveryImportParams) WithContext ¶
func (o *PostDiscoveryImportParams) WithContext(ctx context.Context) *PostDiscoveryImportParams
WithContext adds the context to the post discovery import params
func (*PostDiscoveryImportParams) WithDefaults ¶
func (o *PostDiscoveryImportParams) WithDefaults() *PostDiscoveryImportParams
WithDefaults hydrates default values in the post discovery import params (not the query body).
All values with no default are reset to their zero value.
func (*PostDiscoveryImportParams) WithHTTPClient ¶
func (o *PostDiscoveryImportParams) WithHTTPClient(client *http.Client) *PostDiscoveryImportParams
WithHTTPClient adds the HTTPClient to the post discovery import params
func (*PostDiscoveryImportParams) WithTimeout ¶
func (o *PostDiscoveryImportParams) WithTimeout(timeout time.Duration) *PostDiscoveryImportParams
WithTimeout adds the timeout to the post discovery import params
func (*PostDiscoveryImportParams) WriteToRequest ¶
func (o *PostDiscoveryImportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostDiscoveryImportReader ¶
type PostDiscoveryImportReader struct {
// contains filtered or unexported fields
}
PostDiscoveryImportReader is a Reader for the PostDiscoveryImport structure.
func (*PostDiscoveryImportReader) ReadResponse ¶
func (o *PostDiscoveryImportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostDiscoveryImportUnauthorized ¶
type PostDiscoveryImportUnauthorized struct {
}PostDiscoveryImportUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostDiscoveryImportUnauthorized ¶
func NewPostDiscoveryImportUnauthorized() *PostDiscoveryImportUnauthorized
NewPostDiscoveryImportUnauthorized creates a PostDiscoveryImportUnauthorized with default headers values
func (*PostDiscoveryImportUnauthorized) Error ¶
func (o *PostDiscoveryImportUnauthorized) Error() string
func (*PostDiscoveryImportUnauthorized) GetPayload ¶
func (o *PostDiscoveryImportUnauthorized) GetPayload() *models.Error
type PostDiscoveryRescanBadRequest ¶
PostDiscoveryRescanBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostDiscoveryRescanBadRequest ¶
func NewPostDiscoveryRescanBadRequest() *PostDiscoveryRescanBadRequest
NewPostDiscoveryRescanBadRequest creates a PostDiscoveryRescanBadRequest with default headers values
func (*PostDiscoveryRescanBadRequest) Error ¶
func (o *PostDiscoveryRescanBadRequest) Error() string
func (*PostDiscoveryRescanBadRequest) GetPayload ¶
func (o *PostDiscoveryRescanBadRequest) GetPayload() *models.Error
type PostDiscoveryRescanInternalServerError ¶
PostDiscoveryRescanInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostDiscoveryRescanInternalServerError ¶
func NewPostDiscoveryRescanInternalServerError() *PostDiscoveryRescanInternalServerError
NewPostDiscoveryRescanInternalServerError creates a PostDiscoveryRescanInternalServerError with default headers values
func (*PostDiscoveryRescanInternalServerError) Error ¶
func (o *PostDiscoveryRescanInternalServerError) Error() string
func (*PostDiscoveryRescanInternalServerError) GetPayload ¶
func (o *PostDiscoveryRescanInternalServerError) GetPayload() *models.Error
type PostDiscoveryRescanOK ¶
PostDiscoveryRescanOK describes a response with status code 200, with default header values.
Successful
func NewPostDiscoveryRescanOK ¶
func NewPostDiscoveryRescanOK() *PostDiscoveryRescanOK
NewPostDiscoveryRescanOK creates a PostDiscoveryRescanOK with default headers values
func (*PostDiscoveryRescanOK) Error ¶
func (o *PostDiscoveryRescanOK) Error() string
func (*PostDiscoveryRescanOK) GetPayload ¶
func (o *PostDiscoveryRescanOK) GetPayload() *models.Status
type PostDiscoveryRescanParams ¶
type PostDiscoveryRescanParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostDiscoveryRescanParams contains all the parameters to send to the API endpoint
for the post discovery rescan operation. Typically these are written to a http.Request.
func NewPostDiscoveryRescanParams ¶
func NewPostDiscoveryRescanParams() *PostDiscoveryRescanParams
NewPostDiscoveryRescanParams creates a new PostDiscoveryRescanParams 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 NewPostDiscoveryRescanParamsWithContext ¶
func NewPostDiscoveryRescanParamsWithContext(ctx context.Context) *PostDiscoveryRescanParams
NewPostDiscoveryRescanParamsWithContext creates a new PostDiscoveryRescanParams object with the ability to set a context for a request.
func NewPostDiscoveryRescanParamsWithHTTPClient ¶
func NewPostDiscoveryRescanParamsWithHTTPClient(client *http.Client) *PostDiscoveryRescanParams
NewPostDiscoveryRescanParamsWithHTTPClient creates a new PostDiscoveryRescanParams object with the ability to set a custom HTTPClient for a request.
func NewPostDiscoveryRescanParamsWithTimeout ¶
func NewPostDiscoveryRescanParamsWithTimeout(timeout time.Duration) *PostDiscoveryRescanParams
NewPostDiscoveryRescanParamsWithTimeout creates a new PostDiscoveryRescanParams object with the ability to set a timeout on a request.
func (*PostDiscoveryRescanParams) SetContext ¶
func (o *PostDiscoveryRescanParams) SetContext(ctx context.Context)
SetContext adds the context to the post discovery rescan params
func (*PostDiscoveryRescanParams) SetDefaults ¶
func (o *PostDiscoveryRescanParams) SetDefaults()
SetDefaults hydrates default values in the post discovery rescan params (not the query body).
All values with no default are reset to their zero value.
func (*PostDiscoveryRescanParams) SetHTTPClient ¶
func (o *PostDiscoveryRescanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post discovery rescan params
func (*PostDiscoveryRescanParams) SetTimeout ¶
func (o *PostDiscoveryRescanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post discovery rescan params
func (*PostDiscoveryRescanParams) WithContext ¶
func (o *PostDiscoveryRescanParams) WithContext(ctx context.Context) *PostDiscoveryRescanParams
WithContext adds the context to the post discovery rescan params
func (*PostDiscoveryRescanParams) WithDefaults ¶
func (o *PostDiscoveryRescanParams) WithDefaults() *PostDiscoveryRescanParams
WithDefaults hydrates default values in the post discovery rescan params (not the query body).
All values with no default are reset to their zero value.
func (*PostDiscoveryRescanParams) WithHTTPClient ¶
func (o *PostDiscoveryRescanParams) WithHTTPClient(client *http.Client) *PostDiscoveryRescanParams
WithHTTPClient adds the HTTPClient to the post discovery rescan params
func (*PostDiscoveryRescanParams) WithTimeout ¶
func (o *PostDiscoveryRescanParams) WithTimeout(timeout time.Duration) *PostDiscoveryRescanParams
WithTimeout adds the timeout to the post discovery rescan params
func (*PostDiscoveryRescanParams) WriteToRequest ¶
func (o *PostDiscoveryRescanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostDiscoveryRescanReader ¶
type PostDiscoveryRescanReader struct {
// contains filtered or unexported fields
}
PostDiscoveryRescanReader is a Reader for the PostDiscoveryRescan structure.
func (*PostDiscoveryRescanReader) ReadResponse ¶
func (o *PostDiscoveryRescanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostDiscoveryRescanUnauthorized ¶
type PostDiscoveryRescanUnauthorized struct {
}PostDiscoveryRescanUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostDiscoveryRescanUnauthorized ¶
func NewPostDiscoveryRescanUnauthorized() *PostDiscoveryRescanUnauthorized
NewPostDiscoveryRescanUnauthorized creates a PostDiscoveryRescanUnauthorized with default headers values
func (*PostDiscoveryRescanUnauthorized) Error ¶
func (o *PostDiscoveryRescanUnauthorized) Error() string
func (*PostDiscoveryRescanUnauthorized) GetPayload ¶
func (o *PostDiscoveryRescanUnauthorized) GetPayload() *models.Error
Source Files
¶
- discovery_client.go
- get_discovery_scanstatus_parameters.go
- get_discovery_scanstatus_responses.go
- get_discovery_status_deviceid_parameters.go
- get_discovery_status_deviceid_responses.go
- post_discovery_connect_other_parameters.go
- post_discovery_connect_other_responses.go
- post_discovery_connect_ubnt_parameters.go
- post_discovery_connect_ubnt_responses.go
- post_discovery_import_parameters.go
- post_discovery_import_responses.go
- post_discovery_rescan_parameters.go
- post_discovery_rescan_responses.go