Documentation
¶
Overview ¶
Package log provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.1 DO NOT EDIT.
Index ¶
- func NewApplyCliConfigRequest(server string, omadacId string, siteId string, configId string) (*http.Request, error)
- func NewApplyCliConfigTemplateRequest(server string, omadacId string, siteTemplateId string, configId string) (*http.Request, error)
- func NewCreateCliConfigRequest(server string, omadacId string, siteId string, cliType string, ...) (*http.Request, error)
- func NewCreateCliConfigRequestWithBody(server string, omadacId string, siteId string, cliType string, ...) (*http.Request, error)
- func NewCreateCliConfigTemplateRequest(server string, omadacId string, siteTemplateId string, cliType string, ...) (*http.Request, error)
- func NewCreateCliConfigTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, cliType string, ...) (*http.Request, error)
- func NewCreateWebhookForGlobalRequest(server string, omadacId string, body CreateWebhookForGlobalJSONRequestBody) (*http.Request, error)
- func NewCreateWebhookForGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAlertLogsForGlobalRequest(server string, omadacId string, body DeleteAlertLogsForGlobalJSONRequestBody) (*http.Request, error)
- func NewDeleteAlertLogsForGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAlertLogsForSiteRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewDeleteAlertLogsForSiteRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewDeleteCliConfigRequest(server string, omadacId string, siteId string, cliType string, ...) (*http.Request, error)
- func NewDeleteCliConfigRequestWithBody(server string, omadacId string, siteId string, cliType string, ...) (*http.Request, error)
- func NewDeleteCliConfigTemplateRequest(server string, omadacId string, siteTemplateId string, cliType string, ...) (*http.Request, error)
- func NewDeleteCliConfigTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, cliType string, ...) (*http.Request, error)
- func NewDeleteEventLogsForGlobalRequest(server string, omadacId string, body DeleteEventLogsForGlobalJSONRequestBody) (*http.Request, error)
- func NewDeleteEventLogsForGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteEventLogsForSiteRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewDeleteEventLogsForSiteRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewDeleteWebhookForGlobalRequest(server string, omadacId string, webhookId string) (*http.Request, error)
- func NewExportAuditLogListForGlobalRequest(server string, omadacId string, ...) (*http.Request, error)
- func NewExportAuditLogListForGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewExportCliVariableToFileRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewExportCliVariableToFileRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewExportLogListForGlobalRequest(server string, omadacId string, body ExportLogListForGlobalJSONRequestBody) (*http.Request, error)
- func NewExportLogListForGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAlertLogsForGlobalRequest(server string, omadacId string, params *GetAlertLogsForGlobalParams) (*http.Request, error)
- func NewGetAlertLogsForSiteRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetApSsidOverridesAuditLogsRequest(server string, omadacId string, siteId string, apMac string, ...) (*http.Request, error)
- func NewGetAuditLogSettingForGlobalRequest(server string, omadacId string) (*http.Request, error)
- func NewGetAuditLogSettingForMsp1Request(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetAuditLogSettingForMspRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
- func NewGetAuditLogsForGlobalRequest(server string, omadacId string, params *GetAuditLogsForGlobalParams) (*http.Request, error)
- func NewGetAuditLogsForSiteRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetCliConfigRequest(server string, omadacId string, siteId string, cliType string, configId string) (*http.Request, error)
- func NewGetCliConfigTemplateRequest(server string, omadacId string, siteTemplateId string, cliType string, ...) (*http.Request, error)
- func NewGetCliDeviceByTypeRequest(server string, omadacId string, siteId string, deviceType string) (*http.Request, error)
- func NewGetCliDeviceRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetCliListRequest(server string, omadacId string, siteId string, cliType string, ...) (*http.Request, error)
- func NewGetEventLogsForGlobalRequest(server string, omadacId string, params *GetEventLogsForGlobalParams) (*http.Request, error)
- func NewGetEventLogsForSiteRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridCliTemplateRequest(server string, omadacId string, siteTemplateId string, cliType string, ...) (*http.Request, error)
- func NewGetLogSettingForGlobalRequest(server string, omadacId string) (*http.Request, error)
- func NewGetLogSettingForGlobalV2Request(server string, omadacId string) (*http.Request, error)
- func NewGetLogSettingForSiteRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetLogSettingForSiteTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
- func NewGetLogSettingForSiteV2Request(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetModelAndVersionListByTypeRequest(server string, omadacId string, siteId string, deviceType string) (*http.Request, error)
- func NewGetRemoteLoggingSettingTipRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetRemoteLoggingTipRequest(server string, omadacId string) (*http.Request, error)
- func NewGetWebhookForGlobalRequest(server string, omadacId string) (*http.Request, error)
- func NewGetWebhookLogsForGlobalRequest(server string, omadacId string, params *GetWebhookLogsForGlobalParams) (*http.Request, error)
- func NewImportCliVariableToFileRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewImportCliVariableToFileRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifyAuditLogSettingGlobalRequest(server string, omadacId string, ...) (*http.Request, error)
- func NewModifyAuditLogSettingGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewModifyAuditLogSettingSite1Request(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewModifyAuditLogSettingSite1RequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifyAuditLogSettingSiteRequest(server string, omadacId string, siteTemplateId string, ...) (*http.Request, error)
- func NewModifyAuditLogSettingSiteRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, ...) (*http.Request, error)
- func NewModifyCliConfigRequest(server string, omadacId string, siteId string, cliType string, configId string, ...) (*http.Request, error)
- func NewModifyCliConfigRequestWithBody(server string, omadacId string, siteId string, cliType string, configId string, ...) (*http.Request, error)
- func NewModifyCliConfigTemplateRequest(server string, omadacId string, siteTemplateId string, cliType string, ...) (*http.Request, error)
- func NewModifyCliConfigTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, cliType string, ...) (*http.Request, error)
- func NewModifyLogSettingGlobalRequest(server string, omadacId string, body ModifyLogSettingGlobalJSONRequestBody) (*http.Request, error)
- func NewModifyLogSettingGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewModifyLogSettingGlobalV2Request(server string, omadacId string, body ModifyLogSettingGlobalV2JSONRequestBody) (*http.Request, error)
- func NewModifyLogSettingGlobalV2RequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewModifyLogSettingSiteRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewModifyLogSettingSiteRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifyLogSettingSiteTemplateRequest(server string, omadacId string, siteTemplateId string, ...) (*http.Request, error)
- func NewModifyLogSettingSiteTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, ...) (*http.Request, error)
- func NewModifyLogSettingSiteV2Request(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewModifyLogSettingSiteV2RequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifyWebhookForGlobalRequest(server string, omadacId string, webhookId string, ...) (*http.Request, error)
- func NewModifyWebhookForGlobalRequestWithBody(server string, omadacId string, webhookId string, contentType string, ...) (*http.Request, error)
- func NewResetLogSettingGlobalRequest(server string, omadacId string) (*http.Request, error)
- func NewResetLogSettingSiteRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewResetLogSettingSiteTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
- func NewResolveAlertForSiteRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewResolveAlertForSiteRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewTestWebhookForGlobalRequest(server string, omadacId string, webhookId string, ...) (*http.Request, error)
- func NewTestWebhookForGlobalRequestWithBody(server string, omadacId string, webhookId string, contentType string, ...) (*http.Request, error)
- type AlertLogGridVOAlertLogOpenApiVO
- type AlertLogOpenApiVO
- type AlertLogStatOpenApiVO
- type ApInterference
- type ApOverrideAuditLogVO
- type ApplyCliConfigResponse
- type ApplyCliConfigTemplateResponse
- type AuditLogNotificationEditOpenApiVO
- type AuditLogNotificationOpenApiVO
- type AuditLogNotificationSettingEditOpenApiVO
- type AuditLogNotificationSettingOpenApiVO
- type AuditLogOpenApiVO
- type CliConfigOpenApiVO
- type CliConfigTemplateOpenApiVO
- type CliDeviceListVO
- type CliTemplateOpenApiVO
- type CliVO
- type Client
- func (c *Client) ApplyCliConfig(ctx context.Context, omadacId string, siteId string, configId string, ...) (*http.Response, error)
- func (c *Client) ApplyCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, configId string, ...) (*http.Response, error)
- func (c *Client) CreateCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*http.Response, error)
- func (c *Client) CreateCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*http.Response, error)
- func (c *Client) CreateCliConfigTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*http.Response, error)
- func (c *Client) CreateCliConfigWithBody(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*http.Response, error)
- func (c *Client) CreateWebhookForGlobal(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) CreateWebhookForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAlertLogsForGlobal(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) DeleteAlertLogsForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAlertLogsForSite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) DeleteAlertLogsForSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*http.Response, error)
- func (c *Client) DeleteCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*http.Response, error)
- func (c *Client) DeleteCliConfigTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*http.Response, error)
- func (c *Client) DeleteCliConfigWithBody(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*http.Response, error)
- func (c *Client) DeleteEventLogsForGlobal(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) DeleteEventLogsForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteEventLogsForSite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) DeleteEventLogsForSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteWebhookForGlobal(ctx context.Context, omadacId string, webhookId string, ...) (*http.Response, error)
- func (c *Client) ExportAuditLogListForGlobal(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) ExportAuditLogListForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ExportCliVariableToFile(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ExportCliVariableToFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ExportLogListForGlobal(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) ExportLogListForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetAlertLogsForGlobal(ctx context.Context, omadacId string, params *GetAlertLogsForGlobalParams, ...) (*http.Response, error)
- func (c *Client) GetAlertLogsForSite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetApSsidOverridesAuditLogs(ctx context.Context, omadacId string, siteId string, apMac string, ...) (*http.Response, error)
- func (c *Client) GetAuditLogSettingForGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAuditLogSettingForMsp(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) GetAuditLogSettingForMsp1(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetAuditLogsForGlobal(ctx context.Context, omadacId string, params *GetAuditLogsForGlobalParams, ...) (*http.Response, error)
- func (c *Client) GetAuditLogsForSite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*http.Response, error)
- func (c *Client) GetCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*http.Response, error)
- func (c *Client) GetCliDevice(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetCliDeviceByType(ctx context.Context, omadacId string, siteId string, deviceType string, ...) (*http.Response, error)
- func (c *Client) GetCliList(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*http.Response, error)
- func (c *Client) GetEventLogsForGlobal(ctx context.Context, omadacId string, params *GetEventLogsForGlobalParams, ...) (*http.Response, error)
- func (c *Client) GetEventLogsForSite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridCliTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*http.Response, error)
- func (c *Client) GetLogSettingForGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLogSettingForGlobalV2(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLogSettingForSite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetLogSettingForSiteTemplate(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) GetLogSettingForSiteV2(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetModelAndVersionListByType(ctx context.Context, omadacId string, siteId string, deviceType string, ...) (*http.Response, error)
- func (c *Client) GetRemoteLoggingSettingTip(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetRemoteLoggingTip(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWebhookForGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWebhookLogsForGlobal(ctx context.Context, omadacId string, params *GetWebhookLogsForGlobalParams, ...) (*http.Response, error)
- func (c *Client) ImportCliVariableToFile(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ImportCliVariableToFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifyAuditLogSettingGlobal(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) ModifyAuditLogSettingGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModifyAuditLogSettingSite(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) ModifyAuditLogSettingSite1(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ModifyAuditLogSettingSite1WithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifyAuditLogSettingSiteWithBody(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) ModifyCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*http.Response, error)
- func (c *Client) ModifyCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*http.Response, error)
- func (c *Client) ModifyCliConfigTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*http.Response, error)
- func (c *Client) ModifyCliConfigWithBody(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*http.Response, error)
- func (c *Client) ModifyLogSettingGlobal(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) ModifyLogSettingGlobalV2(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) ModifyLogSettingGlobalV2WithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModifyLogSettingGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModifyLogSettingSite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ModifyLogSettingSiteTemplate(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) ModifyLogSettingSiteTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) ModifyLogSettingSiteV2(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ModifyLogSettingSiteV2WithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifyLogSettingSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifyWebhookForGlobal(ctx context.Context, omadacId string, webhookId string, ...) (*http.Response, error)
- func (c *Client) ModifyWebhookForGlobalWithBody(ctx context.Context, omadacId string, webhookId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ResetLogSettingGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResetLogSettingSite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ResetLogSettingSiteTemplate(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) ResolveAlertForSite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ResolveAlertForSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) TestWebhookForGlobal(ctx context.Context, omadacId string, webhookId string, ...) (*http.Response, error)
- func (c *Client) TestWebhookForGlobalWithBody(ctx context.Context, omadacId string, webhookId string, contentType string, ...) (*http.Response, error)
- type ClientAggHealthDTO
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ApplyCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, configId string, ...) (*ApplyCliConfigTemplateResponse, error)
- func (c *ClientWithResponses) ApplyCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, configId string, ...) (*ApplyCliConfigResponse, error)
- func (c *ClientWithResponses) CreateCliConfigTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*CreateCliConfigTemplateResponse, error)
- func (c *ClientWithResponses) CreateCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*CreateCliConfigTemplateResponse, error)
- func (c *ClientWithResponses) CreateCliConfigWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*CreateCliConfigResponse, error)
- func (c *ClientWithResponses) CreateCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*CreateCliConfigResponse, error)
- func (c *ClientWithResponses) CreateWebhookForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*CreateWebhookForGlobalResponse, error)
- func (c *ClientWithResponses) CreateWebhookForGlobalWithResponse(ctx context.Context, omadacId string, ...) (*CreateWebhookForGlobalResponse, error)
- func (c *ClientWithResponses) DeleteAlertLogsForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*DeleteAlertLogsForGlobalResponse, error)
- func (c *ClientWithResponses) DeleteAlertLogsForGlobalWithResponse(ctx context.Context, omadacId string, ...) (*DeleteAlertLogsForGlobalResponse, error)
- func (c *ClientWithResponses) DeleteAlertLogsForSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*DeleteAlertLogsForSiteResponse, error)
- func (c *ClientWithResponses) DeleteAlertLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*DeleteAlertLogsForSiteResponse, error)
- func (c *ClientWithResponses) DeleteCliConfigTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*DeleteCliConfigTemplateResponse, error)
- func (c *ClientWithResponses) DeleteCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*DeleteCliConfigTemplateResponse, error)
- func (c *ClientWithResponses) DeleteCliConfigWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*DeleteCliConfigResponse, error)
- func (c *ClientWithResponses) DeleteCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*DeleteCliConfigResponse, error)
- func (c *ClientWithResponses) DeleteEventLogsForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*DeleteEventLogsForGlobalResponse, error)
- func (c *ClientWithResponses) DeleteEventLogsForGlobalWithResponse(ctx context.Context, omadacId string, ...) (*DeleteEventLogsForGlobalResponse, error)
- func (c *ClientWithResponses) DeleteEventLogsForSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*DeleteEventLogsForSiteResponse, error)
- func (c *ClientWithResponses) DeleteEventLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*DeleteEventLogsForSiteResponse, error)
- func (c *ClientWithResponses) DeleteWebhookForGlobalWithResponse(ctx context.Context, omadacId string, webhookId string, ...) (*DeleteWebhookForGlobalResponse, error)
- func (c *ClientWithResponses) ExportAuditLogListForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ExportAuditLogListForGlobalResponse, error)
- func (c *ClientWithResponses) ExportAuditLogListForGlobalWithResponse(ctx context.Context, omadacId string, ...) (*ExportAuditLogListForGlobalResponse, error)
- func (c *ClientWithResponses) ExportCliVariableToFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ExportCliVariableToFileResponse, error)
- func (c *ClientWithResponses) ExportCliVariableToFileWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ExportCliVariableToFileResponse, error)
- func (c *ClientWithResponses) ExportLogListForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ExportLogListForGlobalResponse, error)
- func (c *ClientWithResponses) ExportLogListForGlobalWithResponse(ctx context.Context, omadacId string, ...) (*ExportLogListForGlobalResponse, error)
- func (c *ClientWithResponses) GetAlertLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetAlertLogsForGlobalParams, ...) (*GetAlertLogsForGlobalResponse, error)
- func (c *ClientWithResponses) GetAlertLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetAlertLogsForSiteResponse, error)
- func (c *ClientWithResponses) GetApSsidOverridesAuditLogsWithResponse(ctx context.Context, omadacId string, siteId string, apMac string, ...) (*GetApSsidOverridesAuditLogsResponse, error)
- func (c *ClientWithResponses) GetAuditLogSettingForGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetAuditLogSettingForGlobalResponse, error)
- func (c *ClientWithResponses) GetAuditLogSettingForMsp1WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetAuditLogSettingForMsp1Response, error)
- func (c *ClientWithResponses) GetAuditLogSettingForMspWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*GetAuditLogSettingForMspResponse, error)
- func (c *ClientWithResponses) GetAuditLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetAuditLogsForGlobalParams, ...) (*GetAuditLogsForGlobalResponse, error)
- func (c *ClientWithResponses) GetAuditLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetAuditLogsForSiteResponse, error)
- func (c *ClientWithResponses) GetCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*GetCliConfigTemplateResponse, error)
- func (c *ClientWithResponses) GetCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*GetCliConfigResponse, error)
- func (c *ClientWithResponses) GetCliDeviceByTypeWithResponse(ctx context.Context, omadacId string, siteId string, deviceType string, ...) (*GetCliDeviceByTypeResponse, error)
- func (c *ClientWithResponses) GetCliDeviceWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetCliDeviceResponse, error)
- func (c *ClientWithResponses) GetCliListWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*GetCliListResponse, error)
- func (c *ClientWithResponses) GetEventLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetEventLogsForGlobalParams, ...) (*GetEventLogsForGlobalResponse, error)
- func (c *ClientWithResponses) GetEventLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetEventLogsForSiteResponse, error)
- func (c *ClientWithResponses) GetGridCliTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*GetGridCliTemplateResponse, error)
- func (c *ClientWithResponses) GetLogSettingForGlobalV2WithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetLogSettingForGlobalV2Response, error)
- func (c *ClientWithResponses) GetLogSettingForGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetLogSettingForGlobalResponse, error)deprecated
- func (c *ClientWithResponses) GetLogSettingForSiteTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*GetLogSettingForSiteTemplateResponse, error)
- func (c *ClientWithResponses) GetLogSettingForSiteV2WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetLogSettingForSiteV2Response, error)
- func (c *ClientWithResponses) GetLogSettingForSiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetLogSettingForSiteResponse, error)deprecated
- func (c *ClientWithResponses) GetModelAndVersionListByTypeWithResponse(ctx context.Context, omadacId string, siteId string, deviceType string, ...) (*GetModelAndVersionListByTypeResponse, error)
- func (c *ClientWithResponses) GetRemoteLoggingSettingTipWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetRemoteLoggingSettingTipResponse, error)
- func (c *ClientWithResponses) GetRemoteLoggingTipWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetRemoteLoggingTipResponse, error)
- func (c *ClientWithResponses) GetWebhookForGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetWebhookForGlobalResponse, error)
- func (c *ClientWithResponses) GetWebhookLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetWebhookLogsForGlobalParams, ...) (*GetWebhookLogsForGlobalResponse, error)
- func (c *ClientWithResponses) ImportCliVariableToFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ImportCliVariableToFileResponse, error)
- func (c *ClientWithResponses) ImportCliVariableToFileWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ImportCliVariableToFileResponse, error)
- func (c *ClientWithResponses) ModifyAuditLogSettingGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ModifyAuditLogSettingGlobalResponse, error)
- func (c *ClientWithResponses) ModifyAuditLogSettingGlobalWithResponse(ctx context.Context, omadacId string, ...) (*ModifyAuditLogSettingGlobalResponse, error)
- func (c *ClientWithResponses) ModifyAuditLogSettingSite1WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ModifyAuditLogSettingSite1Response, error)
- func (c *ClientWithResponses) ModifyAuditLogSettingSite1WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ModifyAuditLogSettingSite1Response, error)
- func (c *ClientWithResponses) ModifyAuditLogSettingSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*ModifyAuditLogSettingSiteResponse, error)
- func (c *ClientWithResponses) ModifyAuditLogSettingSiteWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*ModifyAuditLogSettingSiteResponse, error)
- func (c *ClientWithResponses) ModifyCliConfigTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*ModifyCliConfigTemplateResponse, error)
- func (c *ClientWithResponses) ModifyCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, ...) (*ModifyCliConfigTemplateResponse, error)
- func (c *ClientWithResponses) ModifyCliConfigWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*ModifyCliConfigResponse, error)
- func (c *ClientWithResponses) ModifyCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, ...) (*ModifyCliConfigResponse, error)
- func (c *ClientWithResponses) ModifyLogSettingGlobalV2WithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ModifyLogSettingGlobalV2Response, error)
- func (c *ClientWithResponses) ModifyLogSettingGlobalV2WithResponse(ctx context.Context, omadacId string, ...) (*ModifyLogSettingGlobalV2Response, error)
- func (c *ClientWithResponses) ModifyLogSettingGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ModifyLogSettingGlobalResponse, error)deprecated
- func (c *ClientWithResponses) ModifyLogSettingGlobalWithResponse(ctx context.Context, omadacId string, ...) (*ModifyLogSettingGlobalResponse, error)
- func (c *ClientWithResponses) ModifyLogSettingSiteTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*ModifyLogSettingSiteTemplateResponse, error)
- func (c *ClientWithResponses) ModifyLogSettingSiteTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*ModifyLogSettingSiteTemplateResponse, error)
- func (c *ClientWithResponses) ModifyLogSettingSiteV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ModifyLogSettingSiteV2Response, error)
- func (c *ClientWithResponses) ModifyLogSettingSiteV2WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ModifyLogSettingSiteV2Response, error)
- func (c *ClientWithResponses) ModifyLogSettingSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ModifyLogSettingSiteResponse, error)deprecated
- func (c *ClientWithResponses) ModifyLogSettingSiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ModifyLogSettingSiteResponse, error)
- func (c *ClientWithResponses) ModifyWebhookForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, webhookId string, contentType string, ...) (*ModifyWebhookForGlobalResponse, error)
- func (c *ClientWithResponses) ModifyWebhookForGlobalWithResponse(ctx context.Context, omadacId string, webhookId string, ...) (*ModifyWebhookForGlobalResponse, error)
- func (c *ClientWithResponses) ResetLogSettingGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*ResetLogSettingGlobalResponse, error)
- func (c *ClientWithResponses) ResetLogSettingSiteTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*ResetLogSettingSiteTemplateResponse, error)
- func (c *ClientWithResponses) ResetLogSettingSiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ResetLogSettingSiteResponse, error)
- func (c *ClientWithResponses) ResolveAlertForSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ResolveAlertForSiteResponse, error)
- func (c *ClientWithResponses) ResolveAlertForSiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ResolveAlertForSiteResponse, error)
- func (c *ClientWithResponses) TestWebhookForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, webhookId string, contentType string, ...) (*TestWebhookForGlobalResponse, error)
- func (c *ClientWithResponses) TestWebhookForGlobalWithResponse(ctx context.Context, omadacId string, webhookId string, ...) (*TestWebhookForGlobalResponse, error)
- type ClientWithResponsesInterface
- type ClientsQueryMacAndFilterType
- type CreateCliConfigJSONRequestBody
- type CreateCliConfigResponse
- type CreateCliConfigTemplateJSONRequestBody
- type CreateCliConfigTemplateResponse
- type CreateWebhookForGlobalJSONRequestBody
- type CreateWebhookForGlobalResponse
- type CustomerRemoteLogTipOpenApiVO
- type DeleteAlertLogsForGlobalJSONRequestBody
- type DeleteAlertLogsForGlobalResponse
- type DeleteAlertLogsForSiteJSONRequestBody
- type DeleteAlertLogsForSiteResponse
- type DeleteCliConfigJSONRequestBody
- type DeleteCliConfigResponse
- type DeleteCliConfigTemplateJSONRequestBody
- type DeleteCliConfigTemplateResponse
- type DeleteCliOpenApiVO
- type DeleteCliTemplateOpenApiVO
- type DeleteEventLogsForGlobalJSONRequestBody
- type DeleteEventLogsForGlobalResponse
- type DeleteEventLogsForSiteJSONRequestBody
- type DeleteEventLogsForSiteResponse
- type DeleteGlobalAlertLogListOpenApiVO
- type DeleteGlobalEventLogListOpenApiVO
- type DeleteSiteAlertLogListOpenApiVO
- type DeleteSiteEventLogListOpenApiVO
- type DeleteWebhookForGlobalResponse
- type DeviceCliVO
- type DeviceExportCliVO
- type EventLogGridVOEventLogOpenApiVO
- type EventLogOpenApiVO
- type EventLogStatOpenApiVO
- type ExportAuditLogListForGlobalJSONRequestBody
- type ExportAuditLogListForGlobalResponse
- type ExportCliVarOpenApiVO
- type ExportCliVariableToFileJSONRequestBody
- type ExportCliVariableToFileResponse
- type ExportLogListForGlobalJSONRequestBody
- type ExportLogListForGlobalResponse
- type ExportLogOpenApiVO
- type GetAlertLogsForGlobalParams
- type GetAlertLogsForGlobalResponse
- type GetAlertLogsForSiteParams
- type GetAlertLogsForSiteResponse
- type GetApSsidOverridesAuditLogsParams
- type GetApSsidOverridesAuditLogsResponse
- type GetAuditLogSettingForGlobalResponse
- type GetAuditLogSettingForMsp1Response
- type GetAuditLogSettingForMspResponse
- type GetAuditLogsForGlobalParams
- type GetAuditLogsForGlobalResponse
- type GetAuditLogsForSiteParams
- type GetAuditLogsForSiteResponse
- type GetCliConfigResponse
- type GetCliConfigTemplateResponse
- type GetCliDeviceByTypeResponse
- type GetCliDeviceResponse
- type GetCliListParams
- type GetCliListResponse
- type GetEventLogsForGlobalParams
- type GetEventLogsForGlobalResponse
- type GetEventLogsForSiteParams
- type GetEventLogsForSiteResponse
- type GetGridCliTemplateParams
- type GetGridCliTemplateResponse
- type GetLogSettingForGlobalResponse
- type GetLogSettingForGlobalV2Response
- type GetLogSettingForSiteResponse
- type GetLogSettingForSiteTemplateResponse
- type GetLogSettingForSiteV2Response
- type GetModelAndVersionListByTypeResponse
- type GetRemoteLoggingSettingTipResponse
- type GetRemoteLoggingTipResponse
- type GetWebhookForGlobalResponse
- type GetWebhookLogsForGlobalParams
- type GetWebhookLogsForGlobalResponse
- type GridVOApOverrideAuditLogVO
- type GridVOAuditLogOpenApiVO
- type GridVOCliTemplateOpenApiVO
- type GridVOCliVO
- type GridVOOpenApiWebhookDispatchLogVO
- type HttpRequestDoer
- type ImportCliVarOpenApiVO
- type ImportCliVariableToFileJSONBody
- type ImportCliVariableToFileJSONRequestBody
- type ImportCliVariableToFileResponse
- type InstancesVO
- type LagCapVO
- type LanPort
- type LogAlertEmailOpenApiVO
- type LogNotificationEditOpenApiV2VO
- type LogNotificationEditOpenApiVO
- type LogNotificationOpenApiVO
- type LogNotificationSettingEditOpenApiV2VO
- type LogNotificationSettingEditOpenApiVO
- type LogNotificationSettingOpenApiVO
- type MirroredLag
- type MirroredPort
- type ModelAndModelVersionVO
- type ModifyAuditLogSettingGlobalJSONRequestBody
- type ModifyAuditLogSettingGlobalResponse
- type ModifyAuditLogSettingSite1JSONRequestBody
- type ModifyAuditLogSettingSite1Response
- type ModifyAuditLogSettingSiteJSONRequestBody
- type ModifyAuditLogSettingSiteResponse
- type ModifyCliConfigJSONRequestBody
- type ModifyCliConfigResponse
- type ModifyCliConfigTemplateJSONRequestBody
- type ModifyCliConfigTemplateResponse
- type ModifyCliOpenApiVO
- type ModifyCliTemplateOpenApiVO
- type ModifyLogSettingGlobalJSONRequestBodydeprecated
- type ModifyLogSettingGlobalResponse
- type ModifyLogSettingGlobalV2JSONRequestBody
- type ModifyLogSettingGlobalV2Response
- type ModifyLogSettingSiteJSONRequestBodydeprecated
- type ModifyLogSettingSiteResponse
- type ModifyLogSettingSiteTemplateJSONRequestBody
- type ModifyLogSettingSiteTemplateResponse
- type ModifyLogSettingSiteV2JSONRequestBody
- type ModifyLogSettingSiteV2Response
- type ModifyWebhookForGlobalJSONRequestBody
- type ModifyWebhookForGlobalResponse
- type MultiLinkEntryDTO
- type OnuInformationConfigDTO
- type OnuInformationConfigDTOActiveStatus
- type OnuInformationConfigDTOAdminStatus
- type OnuInformationConfigDTOConfigStatus
- type OnuInformationConfigDTOMatchStatus
- type OnuInformationConfigDTOOnlineStatus
- type OpenApiDispatchLogDetailVO
- type OpenApiWebhookAttemptMessageVO
- type OpenApiWebhookDispatchLogVO
- type OpenApiWebhookLogMessageVO
- type OpenApiWebhookMessageVO
- type OpenApiWebhookSettingAddVO
- type OpenApiWebhookSettingEditVO
- type OpenApiWebhookSettingTestVO
- type OperationResponse
- type OperationResponseAlertLogGridVOAlertLogOpenApiVO
- type OperationResponseAuditLogNotificationSettingOpenApiVO
- type OperationResponseCliConfigOpenApiVO
- type OperationResponseCliConfigTemplateOpenApiVO
- type OperationResponseCustomerRemoteLogTipOpenApiVO
- type OperationResponseEventLogGridVOEventLogOpenApiVO
- type OperationResponseGridVOApOverrideAuditLogVO
- type OperationResponseGridVOAuditLogOpenApiVO
- type OperationResponseGridVOCliTemplateOpenApiVO
- type OperationResponseGridVOCliVO
- type OperationResponseGridVOOpenApiWebhookDispatchLogVO
- type OperationResponseImportCliVarOpenApiVO
- type OperationResponseListCliDeviceListVO
- type OperationResponseListModelAndModelVersionVO
- type OperationResponseListSupportCliDeviceVO
- type OperationResponseListWebhookSetting
- type OperationResponseLogNotificationSettingOpenApiVO
- type OperationResponseSiteRemoteLoggingSetting
- type OperationResponseWithoutResult
- type OswBandCtrlLimitRangeVO
- type OswBandCtrlVO
- type OswDataVO
- type OswDevCapVO
- type OswFecCapVO
- type OswLagStatusVO
- type OswLagVO
- type OswLinkCapVO
- type OswMlagPeerAllPortsConfigInfoVO
- type OswMlagPeerSettingVO
- type OswPeerPortVO
- type OswPortDhcpL2RelayVO
- type OswPortOuiBasedVlanVO
- type OswPortSpeedCapVO
- type OswPortStatusVO
- type OswPortVO
- type OswStackDataVOOswDataVO
- type OswStackDataVOSwitchDataVO
- type OswStandPortVO
- type OswStormCtrlLimitRangeVO
- type OswStormCtrlVO
- type OswUplinkVO
- type OuiBasedVlanNetworkVO
- type PartnerLinkDTO
- type PortLabelDTO
- type PortSpeedCapVO
- type PortVO
- type RemoteLogSettingVO
- type RequestEditorFn
- type ResetLogSettingGlobalResponse
- type ResetLogSettingSiteResponse
- type ResetLogSettingSiteTemplateResponse
- type ResolveAlertForSiteJSONRequestBody
- type ResolveAlertForSiteResponse
- type ResolveSiteLogListOpenApiVO
- type SiteRemoteLoggingSetting
- type SpanningTreeSettingVO
- type StackCliVO
- type SupportCliDeviceVO
- type SwitchDataVO
- type TestWebhookForGlobalJSONRequestBody
- type TestWebhookForGlobalResponse
- type TopologyFilterClientCountDTO
- type TopologyOpenApiEdgeVO
- type TopologyV3OpenApiNodeVO
- type VigiWirelessUpInfoDTO
- type VrrpGroupDTO
- type VrrpLinkDTO
- type WanPort
- type WebhookConfigEditOpenApiVO
- type WebhookConfigOpenApiVO
- type WebhookSetting
- type WiredPortV3DTO
- type WiredUpInfoDTO
- type WirelessUpInfoDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplyCliConfigRequest ¶
func NewApplyCliConfigRequest(server string, omadacId string, siteId string, configId string) (*http.Request, error)
NewApplyCliConfigRequest constructs an http.Request for the ApplyCliConfig method
func NewApplyCliConfigTemplateRequest ¶
func NewApplyCliConfigTemplateRequest(server string, omadacId string, siteTemplateId string, configId string) (*http.Request, error)
NewApplyCliConfigTemplateRequest constructs an http.Request for the ApplyCliConfigTemplate method
func NewCreateCliConfigRequest ¶
func NewCreateCliConfigRequest(server string, omadacId string, siteId string, cliType string, body CreateCliConfigJSONRequestBody) (*http.Request, error)
NewCreateCliConfigRequest calls the generic CreateCliConfig builder with application/json body
func NewCreateCliConfigRequestWithBody ¶
func NewCreateCliConfigRequestWithBody(server string, omadacId string, siteId string, cliType string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCliConfigRequestWithBody constructs an http.Request for the CreateCliConfig method, with any body, and a specified content type
func NewCreateCliConfigTemplateRequest ¶
func NewCreateCliConfigTemplateRequest(server string, omadacId string, siteTemplateId string, cliType string, body CreateCliConfigTemplateJSONRequestBody) (*http.Request, error)
NewCreateCliConfigTemplateRequest calls the generic CreateCliConfigTemplate builder with application/json body
func NewCreateCliConfigTemplateRequestWithBody ¶
func NewCreateCliConfigTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, cliType string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCliConfigTemplateRequestWithBody constructs an http.Request for the CreateCliConfigTemplate method, with any body, and a specified content type
func NewCreateWebhookForGlobalRequest ¶
func NewCreateWebhookForGlobalRequest(server string, omadacId string, body CreateWebhookForGlobalJSONRequestBody) (*http.Request, error)
NewCreateWebhookForGlobalRequest calls the generic CreateWebhookForGlobal builder with application/json body
func NewCreateWebhookForGlobalRequestWithBody ¶
func NewCreateWebhookForGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWebhookForGlobalRequestWithBody constructs an http.Request for the CreateWebhookForGlobal method, with any body, and a specified content type
func NewDeleteAlertLogsForGlobalRequest ¶
func NewDeleteAlertLogsForGlobalRequest(server string, omadacId string, body DeleteAlertLogsForGlobalJSONRequestBody) (*http.Request, error)
NewDeleteAlertLogsForGlobalRequest calls the generic DeleteAlertLogsForGlobal builder with application/json body
func NewDeleteAlertLogsForGlobalRequestWithBody ¶
func NewDeleteAlertLogsForGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteAlertLogsForGlobalRequestWithBody constructs an http.Request for the DeleteAlertLogsForGlobal method, with any body, and a specified content type
func NewDeleteAlertLogsForSiteRequest ¶
func NewDeleteAlertLogsForSiteRequest(server string, omadacId string, siteId string, body DeleteAlertLogsForSiteJSONRequestBody) (*http.Request, error)
NewDeleteAlertLogsForSiteRequest calls the generic DeleteAlertLogsForSite builder with application/json body
func NewDeleteAlertLogsForSiteRequestWithBody ¶
func NewDeleteAlertLogsForSiteRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteAlertLogsForSiteRequestWithBody constructs an http.Request for the DeleteAlertLogsForSite method, with any body, and a specified content type
func NewDeleteCliConfigRequest ¶
func NewDeleteCliConfigRequest(server string, omadacId string, siteId string, cliType string, body DeleteCliConfigJSONRequestBody) (*http.Request, error)
NewDeleteCliConfigRequest calls the generic DeleteCliConfig builder with application/json body
func NewDeleteCliConfigRequestWithBody ¶
func NewDeleteCliConfigRequestWithBody(server string, omadacId string, siteId string, cliType string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteCliConfigRequestWithBody constructs an http.Request for the DeleteCliConfig method, with any body, and a specified content type
func NewDeleteCliConfigTemplateRequest ¶
func NewDeleteCliConfigTemplateRequest(server string, omadacId string, siteTemplateId string, cliType string, body DeleteCliConfigTemplateJSONRequestBody) (*http.Request, error)
NewDeleteCliConfigTemplateRequest calls the generic DeleteCliConfigTemplate builder with application/json body
func NewDeleteCliConfigTemplateRequestWithBody ¶
func NewDeleteCliConfigTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, cliType string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteCliConfigTemplateRequestWithBody constructs an http.Request for the DeleteCliConfigTemplate method, with any body, and a specified content type
func NewDeleteEventLogsForGlobalRequest ¶
func NewDeleteEventLogsForGlobalRequest(server string, omadacId string, body DeleteEventLogsForGlobalJSONRequestBody) (*http.Request, error)
NewDeleteEventLogsForGlobalRequest calls the generic DeleteEventLogsForGlobal builder with application/json body
func NewDeleteEventLogsForGlobalRequestWithBody ¶
func NewDeleteEventLogsForGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteEventLogsForGlobalRequestWithBody constructs an http.Request for the DeleteEventLogsForGlobal method, with any body, and a specified content type
func NewDeleteEventLogsForSiteRequest ¶
func NewDeleteEventLogsForSiteRequest(server string, omadacId string, siteId string, body DeleteEventLogsForSiteJSONRequestBody) (*http.Request, error)
NewDeleteEventLogsForSiteRequest calls the generic DeleteEventLogsForSite builder with application/json body
func NewDeleteEventLogsForSiteRequestWithBody ¶
func NewDeleteEventLogsForSiteRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteEventLogsForSiteRequestWithBody constructs an http.Request for the DeleteEventLogsForSite method, with any body, and a specified content type
func NewDeleteWebhookForGlobalRequest ¶
func NewDeleteWebhookForGlobalRequest(server string, omadacId string, webhookId string) (*http.Request, error)
NewDeleteWebhookForGlobalRequest constructs an http.Request for the DeleteWebhookForGlobal method
func NewExportAuditLogListForGlobalRequest ¶
func NewExportAuditLogListForGlobalRequest(server string, omadacId string, body ExportAuditLogListForGlobalJSONRequestBody) (*http.Request, error)
NewExportAuditLogListForGlobalRequest calls the generic ExportAuditLogListForGlobal builder with application/json body
func NewExportAuditLogListForGlobalRequestWithBody ¶
func NewExportAuditLogListForGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewExportAuditLogListForGlobalRequestWithBody constructs an http.Request for the ExportAuditLogListForGlobal method, with any body, and a specified content type
func NewExportCliVariableToFileRequest ¶
func NewExportCliVariableToFileRequest(server string, omadacId string, siteId string, body ExportCliVariableToFileJSONRequestBody) (*http.Request, error)
NewExportCliVariableToFileRequest calls the generic ExportCliVariableToFile builder with application/json body
func NewExportCliVariableToFileRequestWithBody ¶
func NewExportCliVariableToFileRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewExportCliVariableToFileRequestWithBody constructs an http.Request for the ExportCliVariableToFile method, with any body, and a specified content type
func NewExportLogListForGlobalRequest ¶
func NewExportLogListForGlobalRequest(server string, omadacId string, body ExportLogListForGlobalJSONRequestBody) (*http.Request, error)
NewExportLogListForGlobalRequest calls the generic ExportLogListForGlobal builder with application/json body
func NewExportLogListForGlobalRequestWithBody ¶
func NewExportLogListForGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewExportLogListForGlobalRequestWithBody constructs an http.Request for the ExportLogListForGlobal method, with any body, and a specified content type
func NewGetAlertLogsForGlobalRequest ¶
func NewGetAlertLogsForGlobalRequest(server string, omadacId string, params *GetAlertLogsForGlobalParams) (*http.Request, error)
NewGetAlertLogsForGlobalRequest constructs an http.Request for the GetAlertLogsForGlobal method
func NewGetAlertLogsForSiteRequest ¶
func NewGetAlertLogsForSiteRequest(server string, omadacId string, siteId string, params *GetAlertLogsForSiteParams) (*http.Request, error)
NewGetAlertLogsForSiteRequest constructs an http.Request for the GetAlertLogsForSite method
func NewGetApSsidOverridesAuditLogsRequest ¶
func NewGetApSsidOverridesAuditLogsRequest(server string, omadacId string, siteId string, apMac string, params *GetApSsidOverridesAuditLogsParams) (*http.Request, error)
NewGetApSsidOverridesAuditLogsRequest constructs an http.Request for the GetApSsidOverridesAuditLogs method
func NewGetAuditLogSettingForGlobalRequest ¶
NewGetAuditLogSettingForGlobalRequest constructs an http.Request for the GetAuditLogSettingForGlobal method
func NewGetAuditLogSettingForMsp1Request ¶
func NewGetAuditLogSettingForMsp1Request(server string, omadacId string, siteId string) (*http.Request, error)
NewGetAuditLogSettingForMsp1Request constructs an http.Request for the GetAuditLogSettingForMsp1 method
func NewGetAuditLogSettingForMspRequest ¶
func NewGetAuditLogSettingForMspRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
NewGetAuditLogSettingForMspRequest constructs an http.Request for the GetAuditLogSettingForMsp method
func NewGetAuditLogsForGlobalRequest ¶
func NewGetAuditLogsForGlobalRequest(server string, omadacId string, params *GetAuditLogsForGlobalParams) (*http.Request, error)
NewGetAuditLogsForGlobalRequest constructs an http.Request for the GetAuditLogsForGlobal method
func NewGetAuditLogsForSiteRequest ¶
func NewGetAuditLogsForSiteRequest(server string, omadacId string, siteId string, params *GetAuditLogsForSiteParams) (*http.Request, error)
NewGetAuditLogsForSiteRequest constructs an http.Request for the GetAuditLogsForSite method
func NewGetCliConfigRequest ¶
func NewGetCliConfigRequest(server string, omadacId string, siteId string, cliType string, configId string) (*http.Request, error)
NewGetCliConfigRequest constructs an http.Request for the GetCliConfig method
func NewGetCliConfigTemplateRequest ¶
func NewGetCliConfigTemplateRequest(server string, omadacId string, siteTemplateId string, cliType string, configId string) (*http.Request, error)
NewGetCliConfigTemplateRequest constructs an http.Request for the GetCliConfigTemplate method
func NewGetCliDeviceByTypeRequest ¶
func NewGetCliDeviceByTypeRequest(server string, omadacId string, siteId string, deviceType string) (*http.Request, error)
NewGetCliDeviceByTypeRequest constructs an http.Request for the GetCliDeviceByType method
func NewGetCliDeviceRequest ¶
NewGetCliDeviceRequest constructs an http.Request for the GetCliDevice method
func NewGetCliListRequest ¶
func NewGetCliListRequest(server string, omadacId string, siteId string, cliType string, deviceType string, params *GetCliListParams) (*http.Request, error)
NewGetCliListRequest constructs an http.Request for the GetCliList method
func NewGetEventLogsForGlobalRequest ¶
func NewGetEventLogsForGlobalRequest(server string, omadacId string, params *GetEventLogsForGlobalParams) (*http.Request, error)
NewGetEventLogsForGlobalRequest constructs an http.Request for the GetEventLogsForGlobal method
func NewGetEventLogsForSiteRequest ¶
func NewGetEventLogsForSiteRequest(server string, omadacId string, siteId string, params *GetEventLogsForSiteParams) (*http.Request, error)
NewGetEventLogsForSiteRequest constructs an http.Request for the GetEventLogsForSite method
func NewGetGridCliTemplateRequest ¶
func NewGetGridCliTemplateRequest(server string, omadacId string, siteTemplateId string, cliType string, deviceType string, params *GetGridCliTemplateParams) (*http.Request, error)
NewGetGridCliTemplateRequest constructs an http.Request for the GetGridCliTemplate method
func NewGetLogSettingForGlobalRequest ¶
NewGetLogSettingForGlobalRequest constructs an http.Request for the GetLogSettingForGlobal method
func NewGetLogSettingForGlobalV2Request ¶
NewGetLogSettingForGlobalV2Request constructs an http.Request for the GetLogSettingForGlobalV2 method
func NewGetLogSettingForSiteRequest ¶
func NewGetLogSettingForSiteRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetLogSettingForSiteRequest constructs an http.Request for the GetLogSettingForSite method
func NewGetLogSettingForSiteTemplateRequest ¶
func NewGetLogSettingForSiteTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
NewGetLogSettingForSiteTemplateRequest constructs an http.Request for the GetLogSettingForSiteTemplate method
func NewGetLogSettingForSiteV2Request ¶
func NewGetLogSettingForSiteV2Request(server string, omadacId string, siteId string) (*http.Request, error)
NewGetLogSettingForSiteV2Request constructs an http.Request for the GetLogSettingForSiteV2 method
func NewGetModelAndVersionListByTypeRequest ¶
func NewGetModelAndVersionListByTypeRequest(server string, omadacId string, siteId string, deviceType string) (*http.Request, error)
NewGetModelAndVersionListByTypeRequest constructs an http.Request for the GetModelAndVersionListByType method
func NewGetRemoteLoggingSettingTipRequest ¶
func NewGetRemoteLoggingSettingTipRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetRemoteLoggingSettingTipRequest constructs an http.Request for the GetRemoteLoggingSettingTip method
func NewGetRemoteLoggingTipRequest ¶
NewGetRemoteLoggingTipRequest constructs an http.Request for the GetRemoteLoggingTip method
func NewGetWebhookForGlobalRequest ¶
NewGetWebhookForGlobalRequest constructs an http.Request for the GetWebhookForGlobal method
func NewGetWebhookLogsForGlobalRequest ¶
func NewGetWebhookLogsForGlobalRequest(server string, omadacId string, params *GetWebhookLogsForGlobalParams) (*http.Request, error)
NewGetWebhookLogsForGlobalRequest constructs an http.Request for the GetWebhookLogsForGlobal method
func NewImportCliVariableToFileRequest ¶
func NewImportCliVariableToFileRequest(server string, omadacId string, siteId string, body ImportCliVariableToFileJSONRequestBody) (*http.Request, error)
NewImportCliVariableToFileRequest calls the generic ImportCliVariableToFile builder with application/json body
func NewImportCliVariableToFileRequestWithBody ¶
func NewImportCliVariableToFileRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewImportCliVariableToFileRequestWithBody constructs an http.Request for the ImportCliVariableToFile method, with any body, and a specified content type
func NewModifyAuditLogSettingGlobalRequest ¶
func NewModifyAuditLogSettingGlobalRequest(server string, omadacId string, body ModifyAuditLogSettingGlobalJSONRequestBody) (*http.Request, error)
NewModifyAuditLogSettingGlobalRequest calls the generic ModifyAuditLogSettingGlobal builder with application/json body
func NewModifyAuditLogSettingGlobalRequestWithBody ¶
func NewModifyAuditLogSettingGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyAuditLogSettingGlobalRequestWithBody constructs an http.Request for the ModifyAuditLogSettingGlobal method, with any body, and a specified content type
func NewModifyAuditLogSettingSite1Request ¶
func NewModifyAuditLogSettingSite1Request(server string, omadacId string, siteId string, body ModifyAuditLogSettingSite1JSONRequestBody) (*http.Request, error)
NewModifyAuditLogSettingSite1Request calls the generic ModifyAuditLogSettingSite1 builder with application/json body
func NewModifyAuditLogSettingSite1RequestWithBody ¶
func NewModifyAuditLogSettingSite1RequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyAuditLogSettingSite1RequestWithBody constructs an http.Request for the ModifyAuditLogSettingSite1 method, with any body, and a specified content type
func NewModifyAuditLogSettingSiteRequest ¶
func NewModifyAuditLogSettingSiteRequest(server string, omadacId string, siteTemplateId string, body ModifyAuditLogSettingSiteJSONRequestBody) (*http.Request, error)
NewModifyAuditLogSettingSiteRequest calls the generic ModifyAuditLogSettingSite builder with application/json body
func NewModifyAuditLogSettingSiteRequestWithBody ¶
func NewModifyAuditLogSettingSiteRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyAuditLogSettingSiteRequestWithBody constructs an http.Request for the ModifyAuditLogSettingSite method, with any body, and a specified content type
func NewModifyCliConfigRequest ¶
func NewModifyCliConfigRequest(server string, omadacId string, siteId string, cliType string, configId string, body ModifyCliConfigJSONRequestBody) (*http.Request, error)
NewModifyCliConfigRequest calls the generic ModifyCliConfig builder with application/json body
func NewModifyCliConfigRequestWithBody ¶
func NewModifyCliConfigRequestWithBody(server string, omadacId string, siteId string, cliType string, configId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyCliConfigRequestWithBody constructs an http.Request for the ModifyCliConfig method, with any body, and a specified content type
func NewModifyCliConfigTemplateRequest ¶
func NewModifyCliConfigTemplateRequest(server string, omadacId string, siteTemplateId string, cliType string, configId string, body ModifyCliConfigTemplateJSONRequestBody) (*http.Request, error)
NewModifyCliConfigTemplateRequest calls the generic ModifyCliConfigTemplate builder with application/json body
func NewModifyCliConfigTemplateRequestWithBody ¶
func NewModifyCliConfigTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, cliType string, configId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyCliConfigTemplateRequestWithBody constructs an http.Request for the ModifyCliConfigTemplate method, with any body, and a specified content type
func NewModifyLogSettingGlobalRequest ¶
func NewModifyLogSettingGlobalRequest(server string, omadacId string, body ModifyLogSettingGlobalJSONRequestBody) (*http.Request, error)
NewModifyLogSettingGlobalRequest calls the generic ModifyLogSettingGlobal builder with application/json body
func NewModifyLogSettingGlobalRequestWithBody ¶
func NewModifyLogSettingGlobalRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyLogSettingGlobalRequestWithBody constructs an http.Request for the ModifyLogSettingGlobal method, with any body, and a specified content type
func NewModifyLogSettingGlobalV2Request ¶
func NewModifyLogSettingGlobalV2Request(server string, omadacId string, body ModifyLogSettingGlobalV2JSONRequestBody) (*http.Request, error)
NewModifyLogSettingGlobalV2Request calls the generic ModifyLogSettingGlobalV2 builder with application/json body
func NewModifyLogSettingGlobalV2RequestWithBody ¶
func NewModifyLogSettingGlobalV2RequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyLogSettingGlobalV2RequestWithBody constructs an http.Request for the ModifyLogSettingGlobalV2 method, with any body, and a specified content type
func NewModifyLogSettingSiteRequest ¶
func NewModifyLogSettingSiteRequest(server string, omadacId string, siteId string, body ModifyLogSettingSiteJSONRequestBody) (*http.Request, error)
NewModifyLogSettingSiteRequest calls the generic ModifyLogSettingSite builder with application/json body
func NewModifyLogSettingSiteRequestWithBody ¶
func NewModifyLogSettingSiteRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyLogSettingSiteRequestWithBody constructs an http.Request for the ModifyLogSettingSite method, with any body, and a specified content type
func NewModifyLogSettingSiteTemplateRequest ¶
func NewModifyLogSettingSiteTemplateRequest(server string, omadacId string, siteTemplateId string, body ModifyLogSettingSiteTemplateJSONRequestBody) (*http.Request, error)
NewModifyLogSettingSiteTemplateRequest calls the generic ModifyLogSettingSiteTemplate builder with application/json body
func NewModifyLogSettingSiteTemplateRequestWithBody ¶
func NewModifyLogSettingSiteTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyLogSettingSiteTemplateRequestWithBody constructs an http.Request for the ModifyLogSettingSiteTemplate method, with any body, and a specified content type
func NewModifyLogSettingSiteV2Request ¶
func NewModifyLogSettingSiteV2Request(server string, omadacId string, siteId string, body ModifyLogSettingSiteV2JSONRequestBody) (*http.Request, error)
NewModifyLogSettingSiteV2Request calls the generic ModifyLogSettingSiteV2 builder with application/json body
func NewModifyLogSettingSiteV2RequestWithBody ¶
func NewModifyLogSettingSiteV2RequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyLogSettingSiteV2RequestWithBody constructs an http.Request for the ModifyLogSettingSiteV2 method, with any body, and a specified content type
func NewModifyWebhookForGlobalRequest ¶
func NewModifyWebhookForGlobalRequest(server string, omadacId string, webhookId string, body ModifyWebhookForGlobalJSONRequestBody) (*http.Request, error)
NewModifyWebhookForGlobalRequest calls the generic ModifyWebhookForGlobal builder with application/json body
func NewModifyWebhookForGlobalRequestWithBody ¶
func NewModifyWebhookForGlobalRequestWithBody(server string, omadacId string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyWebhookForGlobalRequestWithBody constructs an http.Request for the ModifyWebhookForGlobal method, with any body, and a specified content type
func NewResetLogSettingGlobalRequest ¶
NewResetLogSettingGlobalRequest constructs an http.Request for the ResetLogSettingGlobal method
func NewResetLogSettingSiteRequest ¶
func NewResetLogSettingSiteRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewResetLogSettingSiteRequest constructs an http.Request for the ResetLogSettingSite method
func NewResetLogSettingSiteTemplateRequest ¶
func NewResetLogSettingSiteTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
NewResetLogSettingSiteTemplateRequest constructs an http.Request for the ResetLogSettingSiteTemplate method
func NewResolveAlertForSiteRequest ¶
func NewResolveAlertForSiteRequest(server string, omadacId string, siteId string, body ResolveAlertForSiteJSONRequestBody) (*http.Request, error)
NewResolveAlertForSiteRequest calls the generic ResolveAlertForSite builder with application/json body
func NewResolveAlertForSiteRequestWithBody ¶
func NewResolveAlertForSiteRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewResolveAlertForSiteRequestWithBody constructs an http.Request for the ResolveAlertForSite method, with any body, and a specified content type
func NewTestWebhookForGlobalRequest ¶
func NewTestWebhookForGlobalRequest(server string, omadacId string, webhookId string, body TestWebhookForGlobalJSONRequestBody) (*http.Request, error)
NewTestWebhookForGlobalRequest calls the generic TestWebhookForGlobal builder with application/json body
func NewTestWebhookForGlobalRequestWithBody ¶
func NewTestWebhookForGlobalRequestWithBody(server string, omadacId string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
NewTestWebhookForGlobalRequestWithBody constructs an http.Request for the TestWebhookForGlobal method, with any body, and a specified content type
Types ¶
type AlertLogGridVOAlertLogOpenApiVO ¶
type AlertLogGridVOAlertLogOpenApiVO struct {
// AlertLogStat Alert log statistic.
AlertLogStat *AlertLogStatOpenApiVO `json:"alertLogStat,omitempty"`
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]AlertLogOpenApiVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
AlertLogGridVOAlertLogOpenApiVO defines model for AlertLogGridVOAlertLogOpenApiVO.
type AlertLogOpenApiVO ¶
type AlertLogOpenApiVO struct {
// Content Log content.
Content *string `json:"content,omitempty"`
// Id Log ID.
Id *string `json:"id,omitempty"`
// Key Log key.
Key *string `json:"key,omitempty"`
// Level Alert log level.
Level *string `json:"level,omitempty"`
// Module Log module.
Module *string `json:"module,omitempty"`
// Time Log time.
Time *int64 `json:"time,omitempty"`
}
AlertLogOpenApiVO defines model for AlertLogOpenApiVO.
type AlertLogStatOpenApiVO ¶
type AlertLogStatOpenApiVO struct {
// DeviceLogNum Device alert log number.
DeviceLogNum *int64 `json:"deviceLogNum,omitempty"`
// ResolvedLogNum Resolved alert log number.
ResolvedLogNum *int64 `json:"resolvedLogNum,omitempty"`
// SystemLogNum System alert log number.
SystemLogNum *int64 `json:"systemLogNum,omitempty"`
// TotalLogNum Total log number.
TotalLogNum *int64 `json:"totalLogNum,omitempty"`
// UnResolvedLogNum Unresolved alert log number.
UnResolvedLogNum *int64 `json:"unResolvedLogNum,omitempty"`
}
AlertLogStatOpenApiVO Alert log statistic.
type ApInterference ¶
type ApInterference struct {
// Interferences2g List of 2G interferences.
Interferences2g *[]ApInterference `json:"interferences2g,omitempty"`
// Interferences5g List of 5G interferences.
Interferences5g *[]ApInterference `json:"interferences5g,omitempty"`
// Interferences6g List of 6G interferences.
Interferences6g *[]ApInterference `json:"interferences6g,omitempty"`
}
ApInterference defines model for ApInterference.
type ApOverrideAuditLogVO ¶
type ApOverrideAuditLogVO struct {
GlobalSsid *string `json:"globalSsid,omitempty"`
NewSsidName *string `json:"newSsidName,omitempty"`
NewVlanId *string `json:"newVlanId,omitempty"`
OldSsidName *string `json:"oldSsidName,omitempty"`
OldVlanId *string `json:"oldVlanId,omitempty"`
PasswordModified *bool `json:"passwordModified,omitempty"`
SsidNameModified *bool `json:"ssidNameModified,omitempty"`
VlanIdModified *bool `json:"vlanIdModified,omitempty"`
}
ApOverrideAuditLogVO defines model for ApOverrideAuditLogVO.
type ApplyCliConfigResponse ¶
func ParseApplyCliConfigResponse ¶
func ParseApplyCliConfigResponse(rsp *http.Response) (*ApplyCliConfigResponse, error)
ParseApplyCliConfigResponse parses an HTTP response from a ApplyCliConfigWithResponse call
func (ApplyCliConfigResponse) ContentType ¶
func (r ApplyCliConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApplyCliConfigResponse) GetBody ¶
func (r ApplyCliConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ApplyCliConfigResponse) Status ¶
func (r ApplyCliConfigResponse) Status() string
Status returns HTTPResponse.Status
func (ApplyCliConfigResponse) StatusCode ¶
func (r ApplyCliConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplyCliConfigTemplateResponse ¶
func ParseApplyCliConfigTemplateResponse ¶
func ParseApplyCliConfigTemplateResponse(rsp *http.Response) (*ApplyCliConfigTemplateResponse, error)
ParseApplyCliConfigTemplateResponse parses an HTTP response from a ApplyCliConfigTemplateWithResponse call
func (ApplyCliConfigTemplateResponse) ContentType ¶
func (r ApplyCliConfigTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApplyCliConfigTemplateResponse) GetBody ¶
func (r ApplyCliConfigTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ApplyCliConfigTemplateResponse) Status ¶
func (r ApplyCliConfigTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (ApplyCliConfigTemplateResponse) StatusCode ¶
func (r ApplyCliConfigTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuditLogNotificationEditOpenApiVO ¶
type AuditLogNotificationEditOpenApiVO struct {
// Key For the values of Audit Log Notification Category Key, refer to section 5.2.1 of the Open API Access
//
// Example: DASHBOARD
Key string `json:"key"`
// Webhook Audit Log Notification Category Enable or Disable Webhook
//
// Example: false
Webhook bool `json:"webhook"`
}
AuditLogNotificationEditOpenApiVO Audit Log Notification List
type AuditLogNotificationOpenApiVO ¶
type AuditLogNotificationOpenApiVO struct {
// Key Audit Log Notification Category Key
//
// Example: DASHBOARD
Key *string `json:"key,omitempty"`
// ShortMsg Audit Log Notification Category Short Message
//
// Example: Dashboard
ShortMsg *string `json:"shortMsg,omitempty"`
// Webhook Audit Log Notification Category Enable or Disable Webhook
//
// Example: false
Webhook *bool `json:"webhook,omitempty"`
}
AuditLogNotificationOpenApiVO Audit Log Notification List
type AuditLogNotificationSettingEditOpenApiVO ¶
type AuditLogNotificationSettingEditOpenApiVO struct {
// AuditLogNotifications Audit Log Notification List
AuditLogNotifications []AuditLogNotificationEditOpenApiVO `json:"auditLogNotifications"`
// WebhookConfig Log Notification Webhook Config (This config applies to the Omada Pro Controller only)
WebhookConfig WebhookConfigEditOpenApiVO `json:"webhookConfig"`
}
AuditLogNotificationSettingEditOpenApiVO defines model for AuditLogNotificationSettingEditOpenApiVO.
type AuditLogNotificationSettingOpenApiVO ¶
type AuditLogNotificationSettingOpenApiVO struct {
// AuditLogNotifications Audit Log Notification List
AuditLogNotifications *[]AuditLogNotificationOpenApiVO `json:"auditLogNotifications,omitempty"`
// WebhookConfig Log Notification Webhook Config (This config applies to the Omada Pro Controller only)
WebhookConfig *WebhookConfigOpenApiVO `json:"webhookConfig,omitempty"`
}
AuditLogNotificationSettingOpenApiVO defines model for AuditLogNotificationSettingOpenApiVO.
type AuditLogOpenApiVO ¶
type AuditLogOpenApiVO struct {
// AuditType Log Type
//
// Example: Log
AuditType *string `json:"auditType,omitempty"`
// Content Log Content
//
// Example: Dashboard Tab test-Tab added successfully.
Content *string `json:"content,omitempty"`
// Ip User Login IP address
//
// Example: 127.0.0.1
Ip *string `json:"ip,omitempty"`
// Label Configuration card or request path, may be empty.
//
// Example: MENU.CLIENTS or /openapi/v1/{omadacId}/sites/{siteId}/site/reset/log-notification
Label *string `json:"label,omitempty"`
// Level Log Level. It should be a value as follows: Error, Warning, Information.
//
// Example: Information
Level *string `json:"level,omitempty"`
// NewValue Configuration after modification, may be empty.
//
// Example: {"dpi":"true","loggingTraffic":"true"}
NewValue *map[string]interface{} `json:"newValue,omitempty"`
// OldValue Configuration before modification, may be empty.
//
// Example: {"dpi":"false","loggingTraffic":"false"}
OldValue *map[string]interface{} `json:"oldValue,omitempty"`
// Operator Operator
//
// Example: user1
Operator *string `json:"operator,omitempty"`
// Resource Log Creation Resource. It should be a value as follows: WEB、Open API
//
// Example: WEB
Resource *string `json:"resource,omitempty"`
// Result Operation Result, it should be a value as follows: Succeed、Failed
//
// Example: Succeed
Result *string `json:"result,omitempty"`
// Time Log Creation TimeStamp, Unit:ms
//
// Example: 1677660067182
Time *int64 `json:"time,omitempty"`
}
AuditLogOpenApiVO defines model for AuditLogOpenApiVO.
type CliConfigOpenApiVO ¶
type CliConfigOpenApiVO struct {
// CliConfig CLI configuration content
CliConfig string `json:"cliConfig"`
// CliType CLI configuration type, it should be a value as follows: 0:site CLI; 1:device CLI.
CliType *int32 `json:"cliType,omitempty"`
// Description CLI configuration description, it should be within the range of 0 - 256 characters.
Description *string `json:"description,omitempty"`
// DeviceType Device type for CLI configuration application, it should be a value as follows: switch.
DeviceType *string `json:"deviceType,omitempty"`
// Devices List of devices bound to the CLI configuration. Only device CLI has this field.
Devices *[]DeviceCliVO `json:"devices,omitempty"`
// Id CLI configuration ID
Id *string `json:"id,omitempty"`
// Model Device model of model cli
Model *string `json:"model,omitempty"`
// ModelVersion Device model version of model cli
ModelVersion *string `json:"modelVersion,omitempty"`
// Name CLI configuration name
Name *string `json:"name,omitempty"`
// OmadacId Omada ID
OmadacId *string `json:"omadacId,omitempty"`
// SiteId Site ID
SiteId *string `json:"siteId,omitempty"`
// Stacks List of stacks bound to the CLI configuration, only device CLI has this field.
Stacks *[]StackCliVO `json:"stacks,omitempty"`
// Status CLI configuration status, it should be a value as follows: 0: active, 1: inactive
Status *int32 `json:"status,omitempty"`
}
CliConfigOpenApiVO Get the CLI configuration entry
type CliConfigTemplateOpenApiVO ¶
type CliConfigTemplateOpenApiVO struct {
// CliConfig CLI configuration content
CliConfig string `json:"cliConfig"`
// CliType CLI configuration type, it should be a value as follows: 0:site CLI.
CliType *int32 `json:"cliType,omitempty"`
// Description CLI configuration description, it should be within the range of 0 - 256 characters.
Description *string `json:"description,omitempty"`
// DeviceType Device type for CLI configuration application, it should be a value as follows: switch.
DeviceType *string `json:"deviceType,omitempty"`
// Id CLI configuration ID
Id *string `json:"id,omitempty"`
// Name CLI configuration name
Name *string `json:"name,omitempty"`
// OmadacId Omada ID
OmadacId *string `json:"omadacId,omitempty"`
// SiteId Site ID
SiteId *string `json:"siteId,omitempty"`
// Status CLI configuration status, it should be a value as follows: 0: active, 1: inactive
Status *int32 `json:"status,omitempty"`
}
CliConfigTemplateOpenApiVO Get the CLI template configuration entry
type CliDeviceListVO ¶
type CliDeviceListVO struct {
// DeviceSeriesType DeviceSeriesType should be a value as follows: 0:advanced; 1:pro
DeviceSeriesType *int32 `json:"deviceSeriesType,omitempty"`
// Ip Ip address
Ip *string `json:"ip,omitempty"`
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// MasterMac Master mac. If the device is not a member of stack, masterMac should be null
MasterMac *string `json:"masterMac,omitempty"`
// Model Model of device
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device
ModelVersion *string `json:"modelVersion,omitempty"`
// Name Device name
Name *string `json:"name,omitempty"`
// StackId The ID of the associated stack. If the device is not a member of stack, stackId should be null
StackId *string `json:"stackId,omitempty"`
// StackName The name of the associated stack. If the device is not a member of stack, stackName should be null
StackName *string `json:"stackName,omitempty"`
// Status Status of device.Status should be a value as follows: 0:Disconnected; 1:Disconnected(Migrating); 10:Provisioning; 11:Configuring; 12:Upgrading; 13:Rebooting; 14:Connected; 15:Connected(Wireless); 16:Connected(Migrating); 17:Connected(Wireless,Migrating); 20:Pending; 21:Pending(Wireless); 22:Adopting; 23:Adopting(Wireless); 24:Adopt Failed; 25:Adopt Failed(Wireless); 26:Managed By Others; 27:Managed By Others(Wireless); 30:Heartbeat Missed; 31:Heartbeat Missed(Wireless); 32:Heartbeat Missed(Migrating); 33:Heartbeat Missed(Wireless,Migrating); 40:Isolated; 41:Isolated(Migrating); 50:Slice Configuring
Status *int32 `json:"status,omitempty"`
// SupportCli Whether the device supports Cli
SupportCli *bool `json:"supportCli,omitempty"`
// Type Type of device should be a value as follows: switch
Type *string `json:"type,omitempty"`
}
CliDeviceListVO defines model for CliDeviceListVO.
type CliTemplateOpenApiVO ¶
type CliTemplateOpenApiVO struct {
// Apply Whether the CLI configuration can be applied. Only the CLI configuration in inactive state can be applied.
Apply *bool `json:"apply,omitempty"`
// Description CLI configuration description, it should be within the range of 0 - 256 characters.
Description *string `json:"description,omitempty"`
// Id CLI configuration ID
Id *string `json:"id,omitempty"`
// Name CLI configuration name
Name *string `json:"name,omitempty"`
// Status CLI configuration status, it should be a value as follows: 0: active, 1: inactive
Status *int32 `json:"status,omitempty"`
}
CliTemplateOpenApiVO CLI template configuration entry
type CliVO ¶
type CliVO struct {
// Apply Whether the CLI configuration can be applied. Only the CLI configuration in inactive state can be applied.
Apply *bool `json:"apply,omitempty"`
// Description CLI configuration description, it should be within the range of 0 - 256 characters.
Description *string `json:"description,omitempty"`
// Devices List of devices bound to the CLI configuration, only device CLI has this field.
Devices *[]DeviceCliVO `json:"devices,omitempty"`
// Id CLI configuration ID
Id *string `json:"id,omitempty"`
Model *string `json:"model,omitempty"`
ModelVersion *string `json:"modelVersion,omitempty"`
// Name CLI configuration name
Name *string `json:"name,omitempty"`
// Stacks List of stacks bound to the CLI configuration, only device CLI has this field.
Stacks *[]StackCliVO `json:"stacks,omitempty"`
// Status CLI configuration status, it should be a value as follows: 0: active, 1: inactive
Status *int32 `json:"status,omitempty"`
}
CliVO defines model for CliVO.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) ApplyCliConfig ¶
func (c *Client) ApplyCliConfig(ctx context.Context, omadacId string, siteId string, configId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ApplyCliConfig Apply the CLI configuration
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/config-id/{configId}/apply (the `ApplyCliConfig` operationId).
func (*Client) ApplyCliConfigTemplate ¶
func (c *Client) ApplyCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, configId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ApplyCliConfigTemplate Apply the CLI template configuration
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/config-id/{configId}/apply (the `ApplyCliConfigTemplate` operationId).
func (*Client) CreateCliConfig ¶
func (c *Client) CreateCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, body CreateCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCliConfig Create a new CLI configuration
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfig` operationId).
func (*Client) CreateCliConfigTemplate ¶
func (c *Client) CreateCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, body CreateCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCliConfigTemplate Create a new CLI template configuration
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfigTemplate` operationId).
func (*Client) CreateCliConfigTemplateWithBody ¶
func (c *Client) CreateCliConfigTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCliConfigTemplateWithBody Create a new CLI template configuration
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfigTemplate` operationId).
func (*Client) CreateCliConfigWithBody ¶
func (c *Client) CreateCliConfigWithBody(ctx context.Context, omadacId string, siteId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCliConfigWithBody Create a new CLI configuration
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfig` operationId).
func (*Client) CreateWebhookForGlobal ¶
func (c *Client) CreateWebhookForGlobal(ctx context.Context, omadacId string, body CreateWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWebhookForGlobal Create global webhook setting
Create global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/webhook/settings (the `CreateWebhookForGlobal` operationId).
func (*Client) CreateWebhookForGlobalWithBody ¶
func (c *Client) CreateWebhookForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWebhookForGlobalWithBody Create global webhook setting
Create global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/webhook/settings (the `CreateWebhookForGlobal` operationId).
func (*Client) DeleteAlertLogsForGlobal ¶
func (c *Client) DeleteAlertLogsForGlobal(ctx context.Context, omadacId string, body DeleteAlertLogsForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAlertLogsForGlobal Delete global alert log
Delete global alert log.
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/logs/alerts/delete (the `DeleteAlertLogsForGlobal` operationId).
func (*Client) DeleteAlertLogsForGlobalWithBody ¶
func (c *Client) DeleteAlertLogsForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAlertLogsForGlobalWithBody Delete global alert log
Delete global alert log.
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/logs/alerts/delete (the `DeleteAlertLogsForGlobal` operationId).
func (*Client) DeleteAlertLogsForSite ¶
func (c *Client) DeleteAlertLogsForSite(ctx context.Context, omadacId string, siteId string, body DeleteAlertLogsForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAlertLogsForSite Delete site alert log
Delete site alert log.
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/delete (the `DeleteAlertLogsForSite` operationId).
func (*Client) DeleteAlertLogsForSiteWithBody ¶
func (c *Client) DeleteAlertLogsForSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAlertLogsForSiteWithBody Delete site alert log
Delete site alert log.
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/delete (the `DeleteAlertLogsForSite` operationId).
func (*Client) DeleteCliConfig ¶
func (c *Client) DeleteCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, body DeleteCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteCliConfig Delete the CLI configuration
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfig` operationId).
func (*Client) DeleteCliConfigTemplate ¶
func (c *Client) DeleteCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, body DeleteCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteCliConfigTemplate Delete the CLI template configuration
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfigTemplate` operationId).
func (*Client) DeleteCliConfigTemplateWithBody ¶
func (c *Client) DeleteCliConfigTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteCliConfigTemplateWithBody Delete the CLI template configuration
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfigTemplate` operationId).
func (*Client) DeleteCliConfigWithBody ¶
func (c *Client) DeleteCliConfigWithBody(ctx context.Context, omadacId string, siteId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteCliConfigWithBody Delete the CLI configuration
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfig` operationId).
func (*Client) DeleteEventLogsForGlobal ¶
func (c *Client) DeleteEventLogsForGlobal(ctx context.Context, omadacId string, body DeleteEventLogsForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEventLogsForGlobal Delete global event log
Delete global event log.
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/logs/events/delete (the `DeleteEventLogsForGlobal` operationId).
func (*Client) DeleteEventLogsForGlobalWithBody ¶
func (c *Client) DeleteEventLogsForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEventLogsForGlobalWithBody Delete global event log
Delete global event log.
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/logs/events/delete (the `DeleteEventLogsForGlobal` operationId).
func (*Client) DeleteEventLogsForSite ¶
func (c *Client) DeleteEventLogsForSite(ctx context.Context, omadacId string, siteId string, body DeleteEventLogsForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEventLogsForSite Delete site event log
Delete site event log.
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/events/delete (the `DeleteEventLogsForSite` operationId).
func (*Client) DeleteEventLogsForSiteWithBody ¶
func (c *Client) DeleteEventLogsForSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEventLogsForSiteWithBody Delete site event log
Delete site event log.
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/events/delete (the `DeleteEventLogsForSite` operationId).
func (*Client) DeleteWebhookForGlobal ¶
func (c *Client) DeleteWebhookForGlobal(ctx context.Context, omadacId string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteWebhookForGlobal Delete global webhook setting
Delete global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Corresponds with DELETE /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `DeleteWebhookForGlobal` operationId).
func (*Client) ExportAuditLogListForGlobal ¶
func (c *Client) ExportAuditLogListForGlobal(ctx context.Context, omadacId string, body ExportAuditLogListForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportAuditLogListForGlobal Export audit log list in global view
Export audit log list in global view.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/logs/audit/export (the `ExportAuditLogListForGlobal` operationId).
func (*Client) ExportAuditLogListForGlobalWithBody ¶
func (c *Client) ExportAuditLogListForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportAuditLogListForGlobalWithBody Export audit log list in global view
Export audit log list in global view.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/logs/audit/export (the `ExportAuditLogListForGlobal` operationId).
func (*Client) ExportCliVariableToFile ¶
func (c *Client) ExportCliVariableToFile(ctx context.Context, omadacId string, siteId string, body ExportCliVariableToFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportCliVariableToFile Export CLI variable
Export CLI variable,filename is a UTF-8 string encoded by URL Encoder ¶
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/export/variable (the `ExportCliVariableToFile` operationId).
func (*Client) ExportCliVariableToFileWithBody ¶
func (c *Client) ExportCliVariableToFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportCliVariableToFileWithBody Export CLI variable
Export CLI variable,filename is a UTF-8 string encoded by URL Encoder ¶
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/export/variable (the `ExportCliVariableToFile` operationId).
func (*Client) ExportLogListForGlobal ¶
func (c *Client) ExportLogListForGlobal(ctx context.Context, omadacId string, body ExportLogListForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportLogListForGlobal Export log list in global view
Export log list in global view.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/logs/export (the `ExportLogListForGlobal` operationId).
func (*Client) ExportLogListForGlobalWithBody ¶
func (c *Client) ExportLogListForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportLogListForGlobalWithBody Export log list in global view
Export log list in global view.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/logs/export (the `ExportLogListForGlobal` operationId).
func (*Client) GetAlertLogsForGlobal ¶
func (c *Client) GetAlertLogsForGlobal(ctx context.Context, omadacId string, params *GetAlertLogsForGlobalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAlertLogsForGlobal Get global alert log list
Get logs in global alert log page.
Corresponds with GET /openapi/v1/{omadacId}/logs/alerts (the `GetAlertLogsForGlobal` operationId).
func (*Client) GetAlertLogsForSite ¶
func (c *Client) GetAlertLogsForSite(ctx context.Context, omadacId string, siteId string, params *GetAlertLogsForSiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAlertLogsForSite Get site alert log list
Get logs in site alert log page.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts (the `GetAlertLogsForSite` operationId).
func (*Client) GetApSsidOverridesAuditLogs ¶
func (c *Client) GetApSsidOverridesAuditLogs(ctx context.Context, omadacId string, siteId string, apMac string, params *GetApSsidOverridesAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApSsidOverridesAuditLogs Get ap ssidoverride audit log list
Get ap ssidoverride audit logs in site audit page.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/audit-logs/{apMac}/ssid-overrides (the `GetApSsidOverridesAuditLogs` operationId).
func (*Client) GetAuditLogSettingForGlobal ¶
func (c *Client) GetAuditLogSettingForGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAuditLogSettingForGlobal Get global audit log notification
Get global audit log notification.
Corresponds with GET /openapi/v1/{omadacId}/audit-notification (the `GetAuditLogSettingForGlobal` operationId).
func (*Client) GetAuditLogSettingForMsp ¶
func (c *Client) GetAuditLogSettingForMsp(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAuditLogSettingForMsp Get site template audit log notification
Get site template audit log notification.
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `GetAuditLogSettingForMsp` operationId).
func (*Client) GetAuditLogSettingForMsp1 ¶
func (c *Client) GetAuditLogSettingForMsp1(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAuditLogSettingForMsp1 Get site audit log notification
Get site audit log notification.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `GetAuditLogSettingForMsp1` operationId).
func (*Client) GetAuditLogsForGlobal ¶
func (c *Client) GetAuditLogsForGlobal(ctx context.Context, omadacId string, params *GetAuditLogsForGlobalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAuditLogsForGlobal Get global audit log list
Get audit logs in global audit page.
Corresponds with GET /openapi/v1/{omadacId}/audit-logs (the `GetAuditLogsForGlobal` operationId).
func (*Client) GetAuditLogsForSite ¶
func (c *Client) GetAuditLogsForSite(ctx context.Context, omadacId string, siteId string, params *GetAuditLogsForSiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAuditLogsForSite Get site audit log list
Get audit logs in site audit page.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/audit-logs (the `GetAuditLogsForSite` operationId).
func (*Client) GetCliConfig ¶
func (c *Client) GetCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, configId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCliConfig Get the CLI configuration content
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `GetCliConfig` operationId).
func (*Client) GetCliConfigTemplate ¶
func (c *Client) GetCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCliConfigTemplate Get the CLI template configuration content
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `GetCliConfigTemplate` operationId).
func (*Client) GetCliDevice ¶
func (c *Client) GetCliDevice(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCliDevice Get device list when importing device configuration
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/devices (the `GetCliDevice` operationId).
func (*Client) GetCliDeviceByType ¶
func (c *Client) GetCliDeviceByType(ctx context.Context, omadacId string, siteId string, deviceType string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCliDeviceByType Get device list when creating CLI
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/devices/device-type/{deviceType} (the `GetCliDeviceByType` operationId).
func (*Client) GetCliList ¶
func (c *Client) GetCliList(ctx context.Context, omadacId string, siteId string, cliType string, deviceType string, params *GetCliListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCliList Get the CLI configuration list
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType}/device-type/{deviceType} (the `GetCliList` operationId).
func (*Client) GetEventLogsForGlobal ¶
func (c *Client) GetEventLogsForGlobal(ctx context.Context, omadacId string, params *GetEventLogsForGlobalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventLogsForGlobal Get global event log list
Get logs in global event log page.
Corresponds with GET /openapi/v1/{omadacId}/logs/events (the `GetEventLogsForGlobal` operationId).
func (*Client) GetEventLogsForSite ¶
func (c *Client) GetEventLogsForSite(ctx context.Context, omadacId string, siteId string, params *GetEventLogsForSiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventLogsForSite Get site event log list
Get logs in site event log page.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/logs/events (the `GetEventLogsForSite` operationId).
func (*Client) GetGridCliTemplate ¶
func (c *Client) GetGridCliTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, deviceType string, params *GetGridCliTemplateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridCliTemplate Get the CLI template configuration list
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType}/device-type/{deviceType} (the `GetGridCliTemplate` operationId).
func (*Client) GetLogSettingForGlobal ¶
func (c *Client) GetLogSettingForGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLogSettingForGlobal Get global log notification
Get global log notification.This interface has been deprecated. Please use the following interface instead: Get global log notification v2
Corresponds with GET /openapi/v1/{omadacId}/log-notification (the `GetLogSettingForGlobal` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetLogSettingForGlobalV2 ¶
func (c *Client) GetLogSettingForGlobalV2(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLogSettingForGlobalV2 Get global log notification v2
Get global log notification.
Corresponds with GET /openapi/v2/{omadacId}/log-notification (the `GetLogSettingForGlobalV2` operationId).
func (*Client) GetLogSettingForSite ¶
func (c *Client) GetLogSettingForSite(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLogSettingForSite Get site log notification
Get site log notification.This interface has been deprecated. Please use the following interface instead: Get site log notification v2
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `GetLogSettingForSite` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetLogSettingForSiteTemplate ¶
func (c *Client) GetLogSettingForSiteTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLogSettingForSiteTemplate Get site template log notification
Get site template log notification.
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `GetLogSettingForSiteTemplate` operationId).
func (*Client) GetLogSettingForSiteV2 ¶
func (c *Client) GetLogSettingForSiteV2(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLogSettingForSiteV2 Get site log notification v2
Get site log notification.
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `GetLogSettingForSiteV2` operationId).
func (*Client) GetModelAndVersionListByType ¶
func (c *Client) GetModelAndVersionListByType(ctx context.Context, omadacId string, siteId string, deviceType string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetModelAndVersionListByType Get model and version for model CLI.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/models/device-type/{deviceType} (the `GetModelAndVersionListByType` operationId).
func (*Client) GetRemoteLoggingSettingTip ¶
func (c *Client) GetRemoteLoggingSettingTip(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRemoteLoggingSettingTip Get site remote logging setting tip
Get site remote logging setting tip.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remote-logging/tip (the `GetRemoteLoggingSettingTip` operationId).
func (*Client) GetRemoteLoggingTip ¶
func (c *Client) GetRemoteLoggingTip(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRemoteLoggingTip Get customer remote logging tip
Get customer remote logging tip.
Corresponds with GET /openapi/v1/{omadacId}/global/controller/setting/syslog/tip (the `GetRemoteLoggingTip` operationId).
func (*Client) GetWebhookForGlobal ¶
func (c *Client) GetWebhookForGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWebhookForGlobal Get global webhook setting list.
Get all global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Corresponds with GET /openapi/v1/{omadacId}/webhook/settings (the `GetWebhookForGlobal` operationId).
func (*Client) GetWebhookLogsForGlobal ¶
func (c *Client) GetWebhookLogsForGlobal(ctx context.Context, omadacId string, params *GetWebhookLogsForGlobalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWebhookLogsForGlobal Get global webhook dispatch log list
Get global webhook dispatch log list.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Corresponds with GET /openapi/v1/{omadacId}/webhook/settings/dispatch-logs (the `GetWebhookLogsForGlobal` operationId).
func (*Client) ImportCliVariableToFile ¶
func (c *Client) ImportCliVariableToFile(ctx context.Context, omadacId string, siteId string, body ImportCliVariableToFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportCliVariableToFile Import CLI variable
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/import/variable (the `ImportCliVariableToFile` operationId).
func (*Client) ImportCliVariableToFileWithBody ¶
func (c *Client) ImportCliVariableToFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportCliVariableToFileWithBody Import CLI variable
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/import/variable (the `ImportCliVariableToFile` operationId).
func (*Client) ModifyAuditLogSettingGlobal ¶
func (c *Client) ModifyAuditLogSettingGlobal(ctx context.Context, omadacId string, body ModifyAuditLogSettingGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyAuditLogSettingGlobal Modify global audit log notification
Modify global audit log notification.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/audit-notification (the `ModifyAuditLogSettingGlobal` operationId).
func (*Client) ModifyAuditLogSettingGlobalWithBody ¶
func (c *Client) ModifyAuditLogSettingGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyAuditLogSettingGlobalWithBody Modify global audit log notification
Modify global audit log notification.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/audit-notification (the `ModifyAuditLogSettingGlobal` operationId).
func (*Client) ModifyAuditLogSettingSite ¶
func (c *Client) ModifyAuditLogSettingSite(ctx context.Context, omadacId string, siteTemplateId string, body ModifyAuditLogSettingSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyAuditLogSettingSite Modify site template audit log notification
Modify site template audit log notification.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `ModifyAuditLogSettingSite` operationId).
func (*Client) ModifyAuditLogSettingSite1 ¶
func (c *Client) ModifyAuditLogSettingSite1(ctx context.Context, omadacId string, siteId string, body ModifyAuditLogSettingSite1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyAuditLogSettingSite1 Modify site audit log notification
Modify site audit log notification.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `ModifyAuditLogSettingSite1` operationId).
func (*Client) ModifyAuditLogSettingSite1WithBody ¶
func (c *Client) ModifyAuditLogSettingSite1WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyAuditLogSettingSite1WithBody Modify site audit log notification
Modify site audit log notification.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `ModifyAuditLogSettingSite1` operationId).
func (*Client) ModifyAuditLogSettingSiteWithBody ¶
func (c *Client) ModifyAuditLogSettingSiteWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyAuditLogSettingSiteWithBody Modify site template audit log notification
Modify site template audit log notification.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `ModifyAuditLogSettingSite` operationId).
func (*Client) ModifyCliConfig ¶
func (c *Client) ModifyCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, configId string, body ModifyCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyCliConfig Modify the CLI configuration content
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfig` operationId).
func (*Client) ModifyCliConfigTemplate ¶
func (c *Client) ModifyCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, body ModifyCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyCliConfigTemplate Modify the CLI template configuration content
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfigTemplate` operationId).
func (*Client) ModifyCliConfigTemplateWithBody ¶
func (c *Client) ModifyCliConfigTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyCliConfigTemplateWithBody Modify the CLI template configuration content
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfigTemplate` operationId).
func (*Client) ModifyCliConfigWithBody ¶
func (c *Client) ModifyCliConfigWithBody(ctx context.Context, omadacId string, siteId string, cliType string, configId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyCliConfigWithBody Modify the CLI configuration content
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfig` operationId).
func (*Client) ModifyLogSettingGlobal ¶
func (c *Client) ModifyLogSettingGlobal(ctx context.Context, omadacId string, body ModifyLogSettingGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLogSettingGlobal Modify global log notification
Modify global log notification.This interface has been deprecated. Please use the following interface instead: Modify global log notification v2
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/log-notification (the `ModifyLogSettingGlobal` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyLogSettingGlobalV2 ¶
func (c *Client) ModifyLogSettingGlobalV2(ctx context.Context, omadacId string, body ModifyLogSettingGlobalV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLogSettingGlobalV2 Modify global log notification v2
Modify global log notification.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v2/{omadacId}/log-notification (the `ModifyLogSettingGlobalV2` operationId).
func (*Client) ModifyLogSettingGlobalV2WithBody ¶
func (c *Client) ModifyLogSettingGlobalV2WithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLogSettingGlobalV2WithBody Modify global log notification v2
Modify global log notification.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v2/{omadacId}/log-notification (the `ModifyLogSettingGlobalV2` operationId).
func (*Client) ModifyLogSettingGlobalWithBody ¶
func (c *Client) ModifyLogSettingGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLogSettingGlobalWithBody Modify global log notification
Modify global log notification.This interface has been deprecated. Please use the following interface instead: Modify global log notification v2
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/log-notification (the `ModifyLogSettingGlobal` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyLogSettingSite ¶
func (c *Client) ModifyLogSettingSite(ctx context.Context, omadacId string, siteId string, body ModifyLogSettingSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLogSettingSite Modify site log notification
Modify site log notification.This interface has been deprecated. Please use the following interface instead: Modify site log notification v2
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSite` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyLogSettingSiteTemplate ¶
func (c *Client) ModifyLogSettingSiteTemplate(ctx context.Context, omadacId string, siteTemplateId string, body ModifyLogSettingSiteTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLogSettingSiteTemplate Modify site template log notification
Modify site template log notification.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `ModifyLogSettingSiteTemplate` operationId).
func (*Client) ModifyLogSettingSiteTemplateWithBody ¶
func (c *Client) ModifyLogSettingSiteTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLogSettingSiteTemplateWithBody Modify site template log notification
Modify site template log notification.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `ModifyLogSettingSiteTemplate` operationId).
func (*Client) ModifyLogSettingSiteV2 ¶
func (c *Client) ModifyLogSettingSiteV2(ctx context.Context, omadacId string, siteId string, body ModifyLogSettingSiteV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLogSettingSiteV2 Modify site log notification v2
Modify site log notification.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSiteV2` operationId).
func (*Client) ModifyLogSettingSiteV2WithBody ¶
func (c *Client) ModifyLogSettingSiteV2WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLogSettingSiteV2WithBody Modify site log notification v2
Modify site log notification.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSiteV2` operationId).
func (*Client) ModifyLogSettingSiteWithBody ¶
func (c *Client) ModifyLogSettingSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLogSettingSiteWithBody Modify site log notification
Modify site log notification.This interface has been deprecated. Please use the following interface instead: Modify site log notification v2
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSite` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyWebhookForGlobal ¶
func (c *Client) ModifyWebhookForGlobal(ctx context.Context, omadacId string, webhookId string, body ModifyWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyWebhookForGlobal Modify global webhook setting
Modify global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `ModifyWebhookForGlobal` operationId).
func (*Client) ModifyWebhookForGlobalWithBody ¶
func (c *Client) ModifyWebhookForGlobalWithBody(ctx context.Context, omadacId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyWebhookForGlobalWithBody Modify global webhook setting
Modify global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `ModifyWebhookForGlobal` operationId).
func (*Client) ResetLogSettingGlobal ¶
func (c *Client) ResetLogSettingGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetLogSettingGlobal Reset global log notification
Reset global log notification.
Corresponds with POST /openapi/v1/{omadacId}/reset/log-notification (the `ResetLogSettingGlobal` operationId).
func (*Client) ResetLogSettingSite ¶
func (c *Client) ResetLogSettingSite(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetLogSettingSite Reset site log notification
Reset site log notification.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/site/reset/log-notification (the `ResetLogSettingSite` operationId).
func (*Client) ResetLogSettingSiteTemplate ¶
func (c *Client) ResetLogSettingSiteTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetLogSettingSiteTemplate Reset site template log notification
Reset site template log notification.
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/reset/log-notification (the `ResetLogSettingSiteTemplate` operationId).
func (*Client) ResolveAlertForSite ¶
func (c *Client) ResolveAlertForSite(ctx context.Context, omadacId string, siteId string, body ResolveAlertForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResolveAlertForSite Resolve site alert log
Resolve site alert log.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/resolve (the `ResolveAlertForSite` operationId).
func (*Client) ResolveAlertForSiteWithBody ¶
func (c *Client) ResolveAlertForSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResolveAlertForSiteWithBody Resolve site alert log
Resolve site alert log.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/resolve (the `ResolveAlertForSite` operationId).
func (*Client) TestWebhookForGlobal ¶
func (c *Client) TestWebhookForGlobal(ctx context.Context, omadacId string, webhookId string, body TestWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TestWebhookForGlobal Test global webhook setting
Test global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `TestWebhookForGlobal` operationId).
func (*Client) TestWebhookForGlobalWithBody ¶
func (c *Client) TestWebhookForGlobalWithBody(ctx context.Context, omadacId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TestWebhookForGlobalWithBody Test global webhook setting
Test global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `TestWebhookForGlobal` operationId).
type ClientAggHealthDTO ¶
type ClientAggHealthDTO struct {
// Fair The Quantity of Fair Clients
Fair *int32 `json:"fair,omitempty"`
// Good The Quantity of Good Clients
Good *int32 `json:"good,omitempty"`
// NoData The Quantity of noData Clients
NoData *int32 `json:"noData,omitempty"`
// Poor The Quantity of Poor Clients
Poor *int32 `json:"poor,omitempty"`
}
ClientAggHealthDTO Client Health
type ClientInterface ¶
type ClientInterface interface {
// GetAuditLogsForGlobal Get global audit log list
//
// Get audit logs in global audit page.
//
// Corresponds with GET /openapi/v1/{omadacId}/audit-logs (the `GetAuditLogsForGlobal` operationId).
GetAuditLogsForGlobal(ctx context.Context, omadacId string, params *GetAuditLogsForGlobalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAuditLogSettingForGlobal Get global audit log notification
//
// Get global audit log notification.
//
// Corresponds with GET /openapi/v1/{omadacId}/audit-notification (the `GetAuditLogSettingForGlobal` operationId).
GetAuditLogSettingForGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyAuditLogSettingGlobalWithBody Modify global audit log notification
//
// Modify global audit log notification.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/audit-notification (the `ModifyAuditLogSettingGlobal` operationId).
ModifyAuditLogSettingGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyAuditLogSettingGlobal Modify global audit log notification
//
// Modify global audit log notification.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/audit-notification (the `ModifyAuditLogSettingGlobal` operationId).
ModifyAuditLogSettingGlobal(ctx context.Context, omadacId string, body ModifyAuditLogSettingGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRemoteLoggingTip Get customer remote logging tip
//
// Get customer remote logging tip.
//
// Corresponds with GET /openapi/v1/{omadacId}/global/controller/setting/syslog/tip (the `GetRemoteLoggingTip` operationId).
GetRemoteLoggingTip(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLogSettingForGlobal Get global log notification
//
// Get global log notification.This interface has been deprecated. Please use the following interface instead: Get global log notification v2
//
// Corresponds with GET /openapi/v1/{omadacId}/log-notification (the `GetLogSettingForGlobal` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetLogSettingForGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLogSettingGlobalWithBody Modify global log notification
//
// Modify global log notification.This interface has been deprecated. Please use the following interface instead: Modify global log notification v2
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/log-notification (the `ModifyLogSettingGlobal` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyLogSettingGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLogSettingGlobal Modify global log notification
//
// Modify global log notification.This interface has been deprecated. Please use the following interface instead: Modify global log notification v2
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/log-notification (the `ModifyLogSettingGlobal` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyLogSettingGlobal(ctx context.Context, omadacId string, body ModifyLogSettingGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAlertLogsForGlobal Get global alert log list
//
// Get logs in global alert log page.
//
// Corresponds with GET /openapi/v1/{omadacId}/logs/alerts (the `GetAlertLogsForGlobal` operationId).
GetAlertLogsForGlobal(ctx context.Context, omadacId string, params *GetAlertLogsForGlobalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAlertLogsForGlobalWithBody Delete global alert log
//
// Delete global alert log.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/logs/alerts/delete (the `DeleteAlertLogsForGlobal` operationId).
DeleteAlertLogsForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAlertLogsForGlobal Delete global alert log
//
// Delete global alert log.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/logs/alerts/delete (the `DeleteAlertLogsForGlobal` operationId).
DeleteAlertLogsForGlobal(ctx context.Context, omadacId string, body DeleteAlertLogsForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportAuditLogListForGlobalWithBody Export audit log list in global view
//
// Export audit log list in global view.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/audit/export (the `ExportAuditLogListForGlobal` operationId).
ExportAuditLogListForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportAuditLogListForGlobal Export audit log list in global view
//
// Export audit log list in global view.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/audit/export (the `ExportAuditLogListForGlobal` operationId).
ExportAuditLogListForGlobal(ctx context.Context, omadacId string, body ExportAuditLogListForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventLogsForGlobal Get global event log list
//
// Get logs in global event log page.
//
// Corresponds with GET /openapi/v1/{omadacId}/logs/events (the `GetEventLogsForGlobal` operationId).
GetEventLogsForGlobal(ctx context.Context, omadacId string, params *GetEventLogsForGlobalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEventLogsForGlobalWithBody Delete global event log
//
// Delete global event log.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/logs/events/delete (the `DeleteEventLogsForGlobal` operationId).
DeleteEventLogsForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEventLogsForGlobal Delete global event log
//
// Delete global event log.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/logs/events/delete (the `DeleteEventLogsForGlobal` operationId).
DeleteEventLogsForGlobal(ctx context.Context, omadacId string, body DeleteEventLogsForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportLogListForGlobalWithBody Export log list in global view
//
// Export log list in global view.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/export (the `ExportLogListForGlobal` operationId).
ExportLogListForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportLogListForGlobal Export log list in global view
//
// Export log list in global view.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/export (the `ExportLogListForGlobal` operationId).
ExportLogListForGlobal(ctx context.Context, omadacId string, body ExportLogListForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetLogSettingGlobal Reset global log notification
//
// Reset global log notification.
//
// Corresponds with POST /openapi/v1/{omadacId}/reset/log-notification (the `ResetLogSettingGlobal` operationId).
ResetLogSettingGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAuditLogsForSite Get site audit log list
//
// Get audit logs in site audit page.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/audit-logs (the `GetAuditLogsForSite` operationId).
GetAuditLogsForSite(ctx context.Context, omadacId string, siteId string, params *GetAuditLogsForSiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApSsidOverridesAuditLogs Get ap ssidoverride audit log list
//
// Get ap ssidoverride audit logs in site audit page.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/audit-logs/{apMac}/ssid-overrides (the `GetApSsidOverridesAuditLogs` operationId).
GetApSsidOverridesAuditLogs(ctx context.Context, omadacId string, siteId string, apMac string, params *GetApSsidOverridesAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCliConfig Get the CLI configuration content
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `GetCliConfig` operationId).
GetCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, configId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyCliConfigWithBody Modify the CLI configuration content
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfig` operationId).
ModifyCliConfigWithBody(ctx context.Context, omadacId string, siteId string, cliType string, configId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyCliConfig Modify the CLI configuration content
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfig` operationId).
ModifyCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, configId string, body ModifyCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCliConfigWithBody Create a new CLI configuration
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfig` operationId).
CreateCliConfigWithBody(ctx context.Context, omadacId string, siteId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCliConfig Create a new CLI configuration
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfig` operationId).
CreateCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, body CreateCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCliDevice Get device list when importing device configuration
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/devices (the `GetCliDevice` operationId).
GetCliDevice(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCliDeviceByType Get device list when creating CLI
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/devices/device-type/{deviceType} (the `GetCliDeviceByType` operationId).
GetCliDeviceByType(ctx context.Context, omadacId string, siteId string, deviceType string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCliConfigWithBody Delete the CLI configuration
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfig` operationId).
DeleteCliConfigWithBody(ctx context.Context, omadacId string, siteId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCliConfig Delete the CLI configuration
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfig` operationId).
DeleteCliConfig(ctx context.Context, omadacId string, siteId string, cliType string, body DeleteCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCliList Get the CLI configuration list
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType}/device-type/{deviceType} (the `GetCliList` operationId).
GetCliList(ctx context.Context, omadacId string, siteId string, cliType string, deviceType string, params *GetCliListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyCliConfig Apply the CLI configuration
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/config-id/{configId}/apply (the `ApplyCliConfig` operationId).
ApplyCliConfig(ctx context.Context, omadacId string, siteId string, configId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportCliVariableToFileWithBody Export CLI variable
//
// Export CLI variable,filename is a UTF-8 string encoded by URL Encoder
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/export/variable (the `ExportCliVariableToFile` operationId).
ExportCliVariableToFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportCliVariableToFile Export CLI variable
//
// Export CLI variable,filename is a UTF-8 string encoded by URL Encoder
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/export/variable (the `ExportCliVariableToFile` operationId).
ExportCliVariableToFile(ctx context.Context, omadacId string, siteId string, body ExportCliVariableToFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportCliVariableToFileWithBody Import CLI variable
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/import/variable (the `ImportCliVariableToFile` operationId).
ImportCliVariableToFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportCliVariableToFile Import CLI variable
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/import/variable (the `ImportCliVariableToFile` operationId).
ImportCliVariableToFile(ctx context.Context, omadacId string, siteId string, body ImportCliVariableToFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetModelAndVersionListByType Get model and version for model CLI.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/models/device-type/{deviceType} (the `GetModelAndVersionListByType` operationId).
GetModelAndVersionListByType(ctx context.Context, omadacId string, siteId string, deviceType string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAlertLogsForSite Get site alert log list
//
// Get logs in site alert log page.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts (the `GetAlertLogsForSite` operationId).
GetAlertLogsForSite(ctx context.Context, omadacId string, siteId string, params *GetAlertLogsForSiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAlertLogsForSiteWithBody Delete site alert log
//
// Delete site alert log.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/delete (the `DeleteAlertLogsForSite` operationId).
DeleteAlertLogsForSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAlertLogsForSite Delete site alert log
//
// Delete site alert log.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/delete (the `DeleteAlertLogsForSite` operationId).
DeleteAlertLogsForSite(ctx context.Context, omadacId string, siteId string, body DeleteAlertLogsForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveAlertForSiteWithBody Resolve site alert log
//
// Resolve site alert log.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/resolve (the `ResolveAlertForSite` operationId).
ResolveAlertForSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveAlertForSite Resolve site alert log
//
// Resolve site alert log.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/resolve (the `ResolveAlertForSite` operationId).
ResolveAlertForSite(ctx context.Context, omadacId string, siteId string, body ResolveAlertForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventLogsForSite Get site event log list
//
// Get logs in site event log page.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/logs/events (the `GetEventLogsForSite` operationId).
GetEventLogsForSite(ctx context.Context, omadacId string, siteId string, params *GetEventLogsForSiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEventLogsForSiteWithBody Delete site event log
//
// Delete site event log.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/events/delete (the `DeleteEventLogsForSite` operationId).
DeleteEventLogsForSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEventLogsForSite Delete site event log
//
// Delete site event log.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/events/delete (the `DeleteEventLogsForSite` operationId).
DeleteEventLogsForSite(ctx context.Context, omadacId string, siteId string, body DeleteEventLogsForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRemoteLoggingSettingTip Get site remote logging setting tip
//
// Get site remote logging setting tip.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remote-logging/tip (the `GetRemoteLoggingSettingTip` operationId).
GetRemoteLoggingSettingTip(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAuditLogSettingForMsp1 Get site audit log notification
//
// Get site audit log notification.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `GetAuditLogSettingForMsp1` operationId).
GetAuditLogSettingForMsp1(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyAuditLogSettingSite1WithBody Modify site audit log notification
//
// Modify site audit log notification.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `ModifyAuditLogSettingSite1` operationId).
ModifyAuditLogSettingSite1WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyAuditLogSettingSite1 Modify site audit log notification
//
// Modify site audit log notification.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `ModifyAuditLogSettingSite1` operationId).
ModifyAuditLogSettingSite1(ctx context.Context, omadacId string, siteId string, body ModifyAuditLogSettingSite1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLogSettingForSite Get site log notification
//
// Get site log notification.This interface has been deprecated. Please use the following interface instead: Get site log notification v2
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `GetLogSettingForSite` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetLogSettingForSite(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLogSettingSiteWithBody Modify site log notification
//
// Modify site log notification.This interface has been deprecated. Please use the following interface instead: Modify site log notification v2
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSite` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyLogSettingSiteWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLogSettingSite Modify site log notification
//
// Modify site log notification.This interface has been deprecated. Please use the following interface instead: Modify site log notification v2
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSite` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyLogSettingSite(ctx context.Context, omadacId string, siteId string, body ModifyLogSettingSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetLogSettingSite Reset site log notification
//
// Reset site log notification.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/site/reset/log-notification (the `ResetLogSettingSite` operationId).
ResetLogSettingSite(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCliConfigTemplate Get the CLI template configuration content
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `GetCliConfigTemplate` operationId).
GetCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyCliConfigTemplateWithBody Modify the CLI template configuration content
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfigTemplate` operationId).
ModifyCliConfigTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyCliConfigTemplate Modify the CLI template configuration content
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfigTemplate` operationId).
ModifyCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, body ModifyCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCliConfigTemplateWithBody Create a new CLI template configuration
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfigTemplate` operationId).
CreateCliConfigTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCliConfigTemplate Create a new CLI template configuration
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfigTemplate` operationId).
CreateCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, body CreateCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCliConfigTemplateWithBody Delete the CLI template configuration
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfigTemplate` operationId).
DeleteCliConfigTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCliConfigTemplate Delete the CLI template configuration
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfigTemplate` operationId).
DeleteCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, body DeleteCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridCliTemplate Get the CLI template configuration list
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType}/device-type/{deviceType} (the `GetGridCliTemplate` operationId).
GetGridCliTemplate(ctx context.Context, omadacId string, siteTemplateId string, cliType string, deviceType string, params *GetGridCliTemplateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyCliConfigTemplate Apply the CLI template configuration
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/config-id/{configId}/apply (the `ApplyCliConfigTemplate` operationId).
ApplyCliConfigTemplate(ctx context.Context, omadacId string, siteTemplateId string, configId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAuditLogSettingForMsp Get site template audit log notification
//
// Get site template audit log notification.
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `GetAuditLogSettingForMsp` operationId).
GetAuditLogSettingForMsp(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyAuditLogSettingSiteWithBody Modify site template audit log notification
//
// Modify site template audit log notification.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `ModifyAuditLogSettingSite` operationId).
ModifyAuditLogSettingSiteWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyAuditLogSettingSite Modify site template audit log notification
//
// Modify site template audit log notification.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `ModifyAuditLogSettingSite` operationId).
ModifyAuditLogSettingSite(ctx context.Context, omadacId string, siteTemplateId string, body ModifyAuditLogSettingSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLogSettingForSiteTemplate Get site template log notification
//
// Get site template log notification.
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `GetLogSettingForSiteTemplate` operationId).
GetLogSettingForSiteTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLogSettingSiteTemplateWithBody Modify site template log notification
//
// Modify site template log notification.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `ModifyLogSettingSiteTemplate` operationId).
ModifyLogSettingSiteTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLogSettingSiteTemplate Modify site template log notification
//
// Modify site template log notification.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `ModifyLogSettingSiteTemplate` operationId).
ModifyLogSettingSiteTemplate(ctx context.Context, omadacId string, siteTemplateId string, body ModifyLogSettingSiteTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetLogSettingSiteTemplate Reset site template log notification
//
// Reset site template log notification.
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/reset/log-notification (the `ResetLogSettingSiteTemplate` operationId).
ResetLogSettingSiteTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhookForGlobal Get global webhook setting list.
//
// Get all global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Corresponds with GET /openapi/v1/{omadacId}/webhook/settings (the `GetWebhookForGlobal` operationId).
GetWebhookForGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWebhookForGlobalWithBody Create global webhook setting
//
// Create global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/webhook/settings (the `CreateWebhookForGlobal` operationId).
CreateWebhookForGlobalWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWebhookForGlobal Create global webhook setting
//
// Create global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/webhook/settings (the `CreateWebhookForGlobal` operationId).
CreateWebhookForGlobal(ctx context.Context, omadacId string, body CreateWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhookLogsForGlobal Get global webhook dispatch log list
//
// Get global webhook dispatch log list.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Corresponds with GET /openapi/v1/{omadacId}/webhook/settings/dispatch-logs (the `GetWebhookLogsForGlobal` operationId).
GetWebhookLogsForGlobal(ctx context.Context, omadacId string, params *GetWebhookLogsForGlobalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWebhookForGlobal Delete global webhook setting
//
// Delete global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `DeleteWebhookForGlobal` operationId).
DeleteWebhookForGlobal(ctx context.Context, omadacId string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyWebhookForGlobalWithBody Modify global webhook setting
//
// Modify global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `ModifyWebhookForGlobal` operationId).
ModifyWebhookForGlobalWithBody(ctx context.Context, omadacId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyWebhookForGlobal Modify global webhook setting
//
// Modify global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `ModifyWebhookForGlobal` operationId).
ModifyWebhookForGlobal(ctx context.Context, omadacId string, webhookId string, body ModifyWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestWebhookForGlobalWithBody Test global webhook setting
//
// Test global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `TestWebhookForGlobal` operationId).
TestWebhookForGlobalWithBody(ctx context.Context, omadacId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestWebhookForGlobal Test global webhook setting
//
// Test global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `TestWebhookForGlobal` operationId).
TestWebhookForGlobal(ctx context.Context, omadacId string, webhookId string, body TestWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLogSettingForGlobalV2 Get global log notification v2
//
// Get global log notification.
//
// Corresponds with GET /openapi/v2/{omadacId}/log-notification (the `GetLogSettingForGlobalV2` operationId).
GetLogSettingForGlobalV2(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLogSettingGlobalV2WithBody Modify global log notification v2
//
// Modify global log notification.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/log-notification (the `ModifyLogSettingGlobalV2` operationId).
ModifyLogSettingGlobalV2WithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLogSettingGlobalV2 Modify global log notification v2
//
// Modify global log notification.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/log-notification (the `ModifyLogSettingGlobalV2` operationId).
ModifyLogSettingGlobalV2(ctx context.Context, omadacId string, body ModifyLogSettingGlobalV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLogSettingForSiteV2 Get site log notification v2
//
// Get site log notification.
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `GetLogSettingForSiteV2` operationId).
GetLogSettingForSiteV2(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLogSettingSiteV2WithBody Modify site log notification v2
//
// Modify site log notification.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSiteV2` operationId).
ModifyLogSettingSiteV2WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLogSettingSiteV2 Modify site log notification v2
//
// Modify site log notification.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSiteV2` operationId).
ModifyLogSettingSiteV2(ctx context.Context, omadacId string, siteId string, body ModifyLogSettingSiteV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ApplyCliConfigTemplateWithResponse ¶
func (c *ClientWithResponses) ApplyCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, configId string, reqEditors ...RequestEditorFn) (*ApplyCliConfigTemplateResponse, error)
ApplyCliConfigTemplateWithResponse Apply the CLI template configuration
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/config-id/{configId}/apply (the `ApplyCliConfigTemplate` operationId).
func (*ClientWithResponses) ApplyCliConfigWithResponse ¶
func (c *ClientWithResponses) ApplyCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, configId string, reqEditors ...RequestEditorFn) (*ApplyCliConfigResponse, error)
ApplyCliConfigWithResponse Apply the CLI configuration
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/config-id/{configId}/apply (the `ApplyCliConfig` operationId).
func (*ClientWithResponses) CreateCliConfigTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCliConfigTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCliConfigTemplateResponse, error)
CreateCliConfigTemplateWithBodyWithResponse Create a new CLI template configuration
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfigTemplate` operationId).
func (*ClientWithResponses) CreateCliConfigTemplateWithResponse ¶
func (c *ClientWithResponses) CreateCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, body CreateCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCliConfigTemplateResponse, error)
CreateCliConfigTemplateWithResponse Create a new CLI template configuration
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfigTemplate` operationId).
func (*ClientWithResponses) CreateCliConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCliConfigWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCliConfigResponse, error)
CreateCliConfigWithBodyWithResponse Create a new CLI configuration
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfig` operationId).
func (*ClientWithResponses) CreateCliConfigWithResponse ¶
func (c *ClientWithResponses) CreateCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, body CreateCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCliConfigResponse, error)
CreateCliConfigWithResponse Create a new CLI configuration
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfig` operationId).
func (*ClientWithResponses) CreateWebhookForGlobalWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWebhookForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookForGlobalResponse, error)
CreateWebhookForGlobalWithBodyWithResponse Create global webhook setting
Create global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/webhook/settings (the `CreateWebhookForGlobal` operationId).
func (*ClientWithResponses) CreateWebhookForGlobalWithResponse ¶
func (c *ClientWithResponses) CreateWebhookForGlobalWithResponse(ctx context.Context, omadacId string, body CreateWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookForGlobalResponse, error)
CreateWebhookForGlobalWithResponse Create global webhook setting
Create global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/webhook/settings (the `CreateWebhookForGlobal` operationId).
func (*ClientWithResponses) DeleteAlertLogsForGlobalWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteAlertLogsForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAlertLogsForGlobalResponse, error)
DeleteAlertLogsForGlobalWithBodyWithResponse Delete global alert log
Delete global alert log.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/logs/alerts/delete (the `DeleteAlertLogsForGlobal` operationId).
func (*ClientWithResponses) DeleteAlertLogsForGlobalWithResponse ¶
func (c *ClientWithResponses) DeleteAlertLogsForGlobalWithResponse(ctx context.Context, omadacId string, body DeleteAlertLogsForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAlertLogsForGlobalResponse, error)
DeleteAlertLogsForGlobalWithResponse Delete global alert log
Delete global alert log.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/logs/alerts/delete (the `DeleteAlertLogsForGlobal` operationId).
func (*ClientWithResponses) DeleteAlertLogsForSiteWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteAlertLogsForSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAlertLogsForSiteResponse, error)
DeleteAlertLogsForSiteWithBodyWithResponse Delete site alert log
Delete site alert log.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/delete (the `DeleteAlertLogsForSite` operationId).
func (*ClientWithResponses) DeleteAlertLogsForSiteWithResponse ¶
func (c *ClientWithResponses) DeleteAlertLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, body DeleteAlertLogsForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAlertLogsForSiteResponse, error)
DeleteAlertLogsForSiteWithResponse Delete site alert log
Delete site alert log.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/delete (the `DeleteAlertLogsForSite` operationId).
func (*ClientWithResponses) DeleteCliConfigTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteCliConfigTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteCliConfigTemplateResponse, error)
DeleteCliConfigTemplateWithBodyWithResponse Delete the CLI template configuration
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfigTemplate` operationId).
func (*ClientWithResponses) DeleteCliConfigTemplateWithResponse ¶
func (c *ClientWithResponses) DeleteCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, body DeleteCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteCliConfigTemplateResponse, error)
DeleteCliConfigTemplateWithResponse Delete the CLI template configuration
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfigTemplate` operationId).
func (*ClientWithResponses) DeleteCliConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteCliConfigWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteCliConfigResponse, error)
DeleteCliConfigWithBodyWithResponse Delete the CLI configuration
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfig` operationId).
func (*ClientWithResponses) DeleteCliConfigWithResponse ¶
func (c *ClientWithResponses) DeleteCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, body DeleteCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteCliConfigResponse, error)
DeleteCliConfigWithResponse Delete the CLI configuration
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfig` operationId).
func (*ClientWithResponses) DeleteEventLogsForGlobalWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteEventLogsForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteEventLogsForGlobalResponse, error)
DeleteEventLogsForGlobalWithBodyWithResponse Delete global event log
Delete global event log.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/logs/events/delete (the `DeleteEventLogsForGlobal` operationId).
func (*ClientWithResponses) DeleteEventLogsForGlobalWithResponse ¶
func (c *ClientWithResponses) DeleteEventLogsForGlobalWithResponse(ctx context.Context, omadacId string, body DeleteEventLogsForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteEventLogsForGlobalResponse, error)
DeleteEventLogsForGlobalWithResponse Delete global event log
Delete global event log.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/logs/events/delete (the `DeleteEventLogsForGlobal` operationId).
func (*ClientWithResponses) DeleteEventLogsForSiteWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteEventLogsForSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteEventLogsForSiteResponse, error)
DeleteEventLogsForSiteWithBodyWithResponse Delete site event log
Delete site event log.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/events/delete (the `DeleteEventLogsForSite` operationId).
func (*ClientWithResponses) DeleteEventLogsForSiteWithResponse ¶
func (c *ClientWithResponses) DeleteEventLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, body DeleteEventLogsForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteEventLogsForSiteResponse, error)
DeleteEventLogsForSiteWithResponse Delete site event log
Delete site event log.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/events/delete (the `DeleteEventLogsForSite` operationId).
func (*ClientWithResponses) DeleteWebhookForGlobalWithResponse ¶
func (c *ClientWithResponses) DeleteWebhookForGlobalWithResponse(ctx context.Context, omadacId string, webhookId string, reqEditors ...RequestEditorFn) (*DeleteWebhookForGlobalResponse, error)
DeleteWebhookForGlobalWithResponse Delete global webhook setting
Delete global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `DeleteWebhookForGlobal` operationId).
func (*ClientWithResponses) ExportAuditLogListForGlobalWithBodyWithResponse ¶
func (c *ClientWithResponses) ExportAuditLogListForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportAuditLogListForGlobalResponse, error)
ExportAuditLogListForGlobalWithBodyWithResponse Export audit log list in global view
Export audit log list in global view.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/logs/audit/export (the `ExportAuditLogListForGlobal` operationId).
func (*ClientWithResponses) ExportAuditLogListForGlobalWithResponse ¶
func (c *ClientWithResponses) ExportAuditLogListForGlobalWithResponse(ctx context.Context, omadacId string, body ExportAuditLogListForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportAuditLogListForGlobalResponse, error)
ExportAuditLogListForGlobalWithResponse Export audit log list in global view
Export audit log list in global view.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/logs/audit/export (the `ExportAuditLogListForGlobal` operationId).
func (*ClientWithResponses) ExportCliVariableToFileWithBodyWithResponse ¶
func (c *ClientWithResponses) ExportCliVariableToFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportCliVariableToFileResponse, error)
ExportCliVariableToFileWithBodyWithResponse Export CLI variable
Export CLI variable,filename is a UTF-8 string encoded by URL Encoder ¶
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/export/variable (the `ExportCliVariableToFile` operationId).
func (*ClientWithResponses) ExportCliVariableToFileWithResponse ¶
func (c *ClientWithResponses) ExportCliVariableToFileWithResponse(ctx context.Context, omadacId string, siteId string, body ExportCliVariableToFileJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportCliVariableToFileResponse, error)
ExportCliVariableToFileWithResponse Export CLI variable
Export CLI variable,filename is a UTF-8 string encoded by URL Encoder ¶
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/export/variable (the `ExportCliVariableToFile` operationId).
func (*ClientWithResponses) ExportLogListForGlobalWithBodyWithResponse ¶
func (c *ClientWithResponses) ExportLogListForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportLogListForGlobalResponse, error)
ExportLogListForGlobalWithBodyWithResponse Export log list in global view
Export log list in global view.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/logs/export (the `ExportLogListForGlobal` operationId).
func (*ClientWithResponses) ExportLogListForGlobalWithResponse ¶
func (c *ClientWithResponses) ExportLogListForGlobalWithResponse(ctx context.Context, omadacId string, body ExportLogListForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportLogListForGlobalResponse, error)
ExportLogListForGlobalWithResponse Export log list in global view
Export log list in global view.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/logs/export (the `ExportLogListForGlobal` operationId).
func (*ClientWithResponses) GetAlertLogsForGlobalWithResponse ¶
func (c *ClientWithResponses) GetAlertLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetAlertLogsForGlobalParams, reqEditors ...RequestEditorFn) (*GetAlertLogsForGlobalResponse, error)
GetAlertLogsForGlobalWithResponse Get global alert log list
Get logs in global alert log page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/logs/alerts (the `GetAlertLogsForGlobal` operationId).
func (*ClientWithResponses) GetAlertLogsForSiteWithResponse ¶
func (c *ClientWithResponses) GetAlertLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetAlertLogsForSiteParams, reqEditors ...RequestEditorFn) (*GetAlertLogsForSiteResponse, error)
GetAlertLogsForSiteWithResponse Get site alert log list
Get logs in site alert log page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts (the `GetAlertLogsForSite` operationId).
func (*ClientWithResponses) GetApSsidOverridesAuditLogsWithResponse ¶
func (c *ClientWithResponses) GetApSsidOverridesAuditLogsWithResponse(ctx context.Context, omadacId string, siteId string, apMac string, params *GetApSsidOverridesAuditLogsParams, reqEditors ...RequestEditorFn) (*GetApSsidOverridesAuditLogsResponse, error)
GetApSsidOverridesAuditLogsWithResponse Get ap ssidoverride audit log list
Get ap ssidoverride audit logs in site audit page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/audit-logs/{apMac}/ssid-overrides (the `GetApSsidOverridesAuditLogs` operationId).
func (*ClientWithResponses) GetAuditLogSettingForGlobalWithResponse ¶
func (c *ClientWithResponses) GetAuditLogSettingForGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetAuditLogSettingForGlobalResponse, error)
GetAuditLogSettingForGlobalWithResponse Get global audit log notification
Get global audit log notification.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/audit-notification (the `GetAuditLogSettingForGlobal` operationId).
func (*ClientWithResponses) GetAuditLogSettingForMsp1WithResponse ¶
func (c *ClientWithResponses) GetAuditLogSettingForMsp1WithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetAuditLogSettingForMsp1Response, error)
GetAuditLogSettingForMsp1WithResponse Get site audit log notification
Get site audit log notification.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `GetAuditLogSettingForMsp1` operationId).
func (*ClientWithResponses) GetAuditLogSettingForMspWithResponse ¶
func (c *ClientWithResponses) GetAuditLogSettingForMspWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetAuditLogSettingForMspResponse, error)
GetAuditLogSettingForMspWithResponse Get site template audit log notification
Get site template audit log notification.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `GetAuditLogSettingForMsp` operationId).
func (*ClientWithResponses) GetAuditLogsForGlobalWithResponse ¶
func (c *ClientWithResponses) GetAuditLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetAuditLogsForGlobalParams, reqEditors ...RequestEditorFn) (*GetAuditLogsForGlobalResponse, error)
GetAuditLogsForGlobalWithResponse Get global audit log list
Get audit logs in global audit page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/audit-logs (the `GetAuditLogsForGlobal` operationId).
func (*ClientWithResponses) GetAuditLogsForSiteWithResponse ¶
func (c *ClientWithResponses) GetAuditLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetAuditLogsForSiteParams, reqEditors ...RequestEditorFn) (*GetAuditLogsForSiteResponse, error)
GetAuditLogsForSiteWithResponse Get site audit log list
Get audit logs in site audit page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/audit-logs (the `GetAuditLogsForSite` operationId).
func (*ClientWithResponses) GetCliConfigTemplateWithResponse ¶
func (c *ClientWithResponses) GetCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, reqEditors ...RequestEditorFn) (*GetCliConfigTemplateResponse, error)
GetCliConfigTemplateWithResponse Get the CLI template configuration content
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `GetCliConfigTemplate` operationId).
func (*ClientWithResponses) GetCliConfigWithResponse ¶
func (c *ClientWithResponses) GetCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, configId string, reqEditors ...RequestEditorFn) (*GetCliConfigResponse, error)
GetCliConfigWithResponse Get the CLI configuration content
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `GetCliConfig` operationId).
func (*ClientWithResponses) GetCliDeviceByTypeWithResponse ¶
func (c *ClientWithResponses) GetCliDeviceByTypeWithResponse(ctx context.Context, omadacId string, siteId string, deviceType string, reqEditors ...RequestEditorFn) (*GetCliDeviceByTypeResponse, error)
GetCliDeviceByTypeWithResponse Get device list when creating CLI
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/devices/device-type/{deviceType} (the `GetCliDeviceByType` operationId).
func (*ClientWithResponses) GetCliDeviceWithResponse ¶
func (c *ClientWithResponses) GetCliDeviceWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetCliDeviceResponse, error)
GetCliDeviceWithResponse Get device list when importing device configuration
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/devices (the `GetCliDevice` operationId).
func (*ClientWithResponses) GetCliListWithResponse ¶
func (c *ClientWithResponses) GetCliListWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, deviceType string, params *GetCliListParams, reqEditors ...RequestEditorFn) (*GetCliListResponse, error)
GetCliListWithResponse Get the CLI configuration list
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType}/device-type/{deviceType} (the `GetCliList` operationId).
func (*ClientWithResponses) GetEventLogsForGlobalWithResponse ¶
func (c *ClientWithResponses) GetEventLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetEventLogsForGlobalParams, reqEditors ...RequestEditorFn) (*GetEventLogsForGlobalResponse, error)
GetEventLogsForGlobalWithResponse Get global event log list
Get logs in global event log page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/logs/events (the `GetEventLogsForGlobal` operationId).
func (*ClientWithResponses) GetEventLogsForSiteWithResponse ¶
func (c *ClientWithResponses) GetEventLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetEventLogsForSiteParams, reqEditors ...RequestEditorFn) (*GetEventLogsForSiteResponse, error)
GetEventLogsForSiteWithResponse Get site event log list
Get logs in site event log page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/logs/events (the `GetEventLogsForSite` operationId).
func (*ClientWithResponses) GetGridCliTemplateWithResponse ¶
func (c *ClientWithResponses) GetGridCliTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, deviceType string, params *GetGridCliTemplateParams, reqEditors ...RequestEditorFn) (*GetGridCliTemplateResponse, error)
GetGridCliTemplateWithResponse Get the CLI template configuration list
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType}/device-type/{deviceType} (the `GetGridCliTemplate` operationId).
func (*ClientWithResponses) GetLogSettingForGlobalV2WithResponse ¶
func (c *ClientWithResponses) GetLogSettingForGlobalV2WithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetLogSettingForGlobalV2Response, error)
GetLogSettingForGlobalV2WithResponse Get global log notification v2
Get global log notification.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v2/{omadacId}/log-notification (the `GetLogSettingForGlobalV2` operationId).
func (*ClientWithResponses) GetLogSettingForGlobalWithResponse
deprecated
func (c *ClientWithResponses) GetLogSettingForGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetLogSettingForGlobalResponse, error)
GetLogSettingForGlobalWithResponse Get global log notification
Get global log notification.This interface has been deprecated. Please use the following interface instead: Get global log notification v2
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/log-notification (the `GetLogSettingForGlobal` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetLogSettingForSiteTemplateWithResponse ¶
func (c *ClientWithResponses) GetLogSettingForSiteTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetLogSettingForSiteTemplateResponse, error)
GetLogSettingForSiteTemplateWithResponse Get site template log notification
Get site template log notification.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `GetLogSettingForSiteTemplate` operationId).
func (*ClientWithResponses) GetLogSettingForSiteV2WithResponse ¶
func (c *ClientWithResponses) GetLogSettingForSiteV2WithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetLogSettingForSiteV2Response, error)
GetLogSettingForSiteV2WithResponse Get site log notification v2
Get site log notification.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `GetLogSettingForSiteV2` operationId).
func (*ClientWithResponses) GetLogSettingForSiteWithResponse
deprecated
func (c *ClientWithResponses) GetLogSettingForSiteWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetLogSettingForSiteResponse, error)
GetLogSettingForSiteWithResponse Get site log notification
Get site log notification.This interface has been deprecated. Please use the following interface instead: Get site log notification v2
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `GetLogSettingForSite` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetModelAndVersionListByTypeWithResponse ¶
func (c *ClientWithResponses) GetModelAndVersionListByTypeWithResponse(ctx context.Context, omadacId string, siteId string, deviceType string, reqEditors ...RequestEditorFn) (*GetModelAndVersionListByTypeResponse, error)
GetModelAndVersionListByTypeWithResponse Get model and version for model CLI.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/models/device-type/{deviceType} (the `GetModelAndVersionListByType` operationId).
func (*ClientWithResponses) GetRemoteLoggingSettingTipWithResponse ¶
func (c *ClientWithResponses) GetRemoteLoggingSettingTipWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetRemoteLoggingSettingTipResponse, error)
GetRemoteLoggingSettingTipWithResponse Get site remote logging setting tip
Get site remote logging setting tip.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remote-logging/tip (the `GetRemoteLoggingSettingTip` operationId).
func (*ClientWithResponses) GetRemoteLoggingTipWithResponse ¶
func (c *ClientWithResponses) GetRemoteLoggingTipWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetRemoteLoggingTipResponse, error)
GetRemoteLoggingTipWithResponse Get customer remote logging tip
Get customer remote logging tip.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/global/controller/setting/syslog/tip (the `GetRemoteLoggingTip` operationId).
func (*ClientWithResponses) GetWebhookForGlobalWithResponse ¶
func (c *ClientWithResponses) GetWebhookForGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetWebhookForGlobalResponse, error)
GetWebhookForGlobalWithResponse Get global webhook setting list.
Get all global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/webhook/settings (the `GetWebhookForGlobal` operationId).
func (*ClientWithResponses) GetWebhookLogsForGlobalWithResponse ¶
func (c *ClientWithResponses) GetWebhookLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetWebhookLogsForGlobalParams, reqEditors ...RequestEditorFn) (*GetWebhookLogsForGlobalResponse, error)
GetWebhookLogsForGlobalWithResponse Get global webhook dispatch log list
Get global webhook dispatch log list.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/webhook/settings/dispatch-logs (the `GetWebhookLogsForGlobal` operationId).
func (*ClientWithResponses) ImportCliVariableToFileWithBodyWithResponse ¶
func (c *ClientWithResponses) ImportCliVariableToFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportCliVariableToFileResponse, error)
ImportCliVariableToFileWithBodyWithResponse Import CLI variable
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/import/variable (the `ImportCliVariableToFile` operationId).
func (*ClientWithResponses) ImportCliVariableToFileWithResponse ¶
func (c *ClientWithResponses) ImportCliVariableToFileWithResponse(ctx context.Context, omadacId string, siteId string, body ImportCliVariableToFileJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportCliVariableToFileResponse, error)
ImportCliVariableToFileWithResponse Import CLI variable
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/import/variable (the `ImportCliVariableToFile` operationId).
func (*ClientWithResponses) ModifyAuditLogSettingGlobalWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyAuditLogSettingGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingGlobalResponse, error)
ModifyAuditLogSettingGlobalWithBodyWithResponse Modify global audit log notification
Modify global audit log notification.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/audit-notification (the `ModifyAuditLogSettingGlobal` operationId).
func (*ClientWithResponses) ModifyAuditLogSettingGlobalWithResponse ¶
func (c *ClientWithResponses) ModifyAuditLogSettingGlobalWithResponse(ctx context.Context, omadacId string, body ModifyAuditLogSettingGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingGlobalResponse, error)
ModifyAuditLogSettingGlobalWithResponse Modify global audit log notification
Modify global audit log notification.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/audit-notification (the `ModifyAuditLogSettingGlobal` operationId).
func (*ClientWithResponses) ModifyAuditLogSettingSite1WithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyAuditLogSettingSite1WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingSite1Response, error)
ModifyAuditLogSettingSite1WithBodyWithResponse Modify site audit log notification
Modify site audit log notification.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `ModifyAuditLogSettingSite1` operationId).
func (*ClientWithResponses) ModifyAuditLogSettingSite1WithResponse ¶
func (c *ClientWithResponses) ModifyAuditLogSettingSite1WithResponse(ctx context.Context, omadacId string, siteId string, body ModifyAuditLogSettingSite1JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingSite1Response, error)
ModifyAuditLogSettingSite1WithResponse Modify site audit log notification
Modify site audit log notification.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `ModifyAuditLogSettingSite1` operationId).
func (*ClientWithResponses) ModifyAuditLogSettingSiteWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyAuditLogSettingSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingSiteResponse, error)
ModifyAuditLogSettingSiteWithBodyWithResponse Modify site template audit log notification
Modify site template audit log notification.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `ModifyAuditLogSettingSite` operationId).
func (*ClientWithResponses) ModifyAuditLogSettingSiteWithResponse ¶
func (c *ClientWithResponses) ModifyAuditLogSettingSiteWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body ModifyAuditLogSettingSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingSiteResponse, error)
ModifyAuditLogSettingSiteWithResponse Modify site template audit log notification
Modify site template audit log notification.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `ModifyAuditLogSettingSite` operationId).
func (*ClientWithResponses) ModifyCliConfigTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyCliConfigTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyCliConfigTemplateResponse, error)
ModifyCliConfigTemplateWithBodyWithResponse Modify the CLI template configuration content
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfigTemplate` operationId).
func (*ClientWithResponses) ModifyCliConfigTemplateWithResponse ¶
func (c *ClientWithResponses) ModifyCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, body ModifyCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyCliConfigTemplateResponse, error)
ModifyCliConfigTemplateWithResponse Modify the CLI template configuration content
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfigTemplate` operationId).
func (*ClientWithResponses) ModifyCliConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyCliConfigWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, configId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyCliConfigResponse, error)
ModifyCliConfigWithBodyWithResponse Modify the CLI configuration content
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfig` operationId).
func (*ClientWithResponses) ModifyCliConfigWithResponse ¶
func (c *ClientWithResponses) ModifyCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, configId string, body ModifyCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyCliConfigResponse, error)
ModifyCliConfigWithResponse Modify the CLI configuration content
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfig` operationId).
func (*ClientWithResponses) ModifyLogSettingGlobalV2WithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyLogSettingGlobalV2WithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLogSettingGlobalV2Response, error)
ModifyLogSettingGlobalV2WithBodyWithResponse Modify global log notification v2
Modify global log notification.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/log-notification (the `ModifyLogSettingGlobalV2` operationId).
func (*ClientWithResponses) ModifyLogSettingGlobalV2WithResponse ¶
func (c *ClientWithResponses) ModifyLogSettingGlobalV2WithResponse(ctx context.Context, omadacId string, body ModifyLogSettingGlobalV2JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLogSettingGlobalV2Response, error)
ModifyLogSettingGlobalV2WithResponse Modify global log notification v2
Modify global log notification.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/log-notification (the `ModifyLogSettingGlobalV2` operationId).
func (*ClientWithResponses) ModifyLogSettingGlobalWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifyLogSettingGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLogSettingGlobalResponse, error)
ModifyLogSettingGlobalWithBodyWithResponse Modify global log notification
Modify global log notification.This interface has been deprecated. Please use the following interface instead: Modify global log notification v2
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/log-notification (the `ModifyLogSettingGlobal` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyLogSettingGlobalWithResponse ¶
func (c *ClientWithResponses) ModifyLogSettingGlobalWithResponse(ctx context.Context, omadacId string, body ModifyLogSettingGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLogSettingGlobalResponse, error)
ModifyLogSettingGlobalWithResponse Modify global log notification
Modify global log notification.This interface has been deprecated. Please use the following interface instead: Modify global log notification v2
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/log-notification (the `ModifyLogSettingGlobal` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyLogSettingSiteTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyLogSettingSiteTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteTemplateResponse, error)
ModifyLogSettingSiteTemplateWithBodyWithResponse Modify site template log notification
Modify site template log notification.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `ModifyLogSettingSiteTemplate` operationId).
func (*ClientWithResponses) ModifyLogSettingSiteTemplateWithResponse ¶
func (c *ClientWithResponses) ModifyLogSettingSiteTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body ModifyLogSettingSiteTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteTemplateResponse, error)
ModifyLogSettingSiteTemplateWithResponse Modify site template log notification
Modify site template log notification.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `ModifyLogSettingSiteTemplate` operationId).
func (*ClientWithResponses) ModifyLogSettingSiteV2WithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyLogSettingSiteV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteV2Response, error)
ModifyLogSettingSiteV2WithBodyWithResponse Modify site log notification v2
Modify site log notification.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSiteV2` operationId).
func (*ClientWithResponses) ModifyLogSettingSiteV2WithResponse ¶
func (c *ClientWithResponses) ModifyLogSettingSiteV2WithResponse(ctx context.Context, omadacId string, siteId string, body ModifyLogSettingSiteV2JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteV2Response, error)
ModifyLogSettingSiteV2WithResponse Modify site log notification v2
Modify site log notification.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSiteV2` operationId).
func (*ClientWithResponses) ModifyLogSettingSiteWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifyLogSettingSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteResponse, error)
ModifyLogSettingSiteWithBodyWithResponse Modify site log notification
Modify site log notification.This interface has been deprecated. Please use the following interface instead: Modify site log notification v2
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSite` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyLogSettingSiteWithResponse ¶
func (c *ClientWithResponses) ModifyLogSettingSiteWithResponse(ctx context.Context, omadacId string, siteId string, body ModifyLogSettingSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteResponse, error)
ModifyLogSettingSiteWithResponse Modify site log notification
Modify site log notification.This interface has been deprecated. Please use the following interface instead: Modify site log notification v2
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSite` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyWebhookForGlobalWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyWebhookForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyWebhookForGlobalResponse, error)
ModifyWebhookForGlobalWithBodyWithResponse Modify global webhook setting
Modify global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `ModifyWebhookForGlobal` operationId).
func (*ClientWithResponses) ModifyWebhookForGlobalWithResponse ¶
func (c *ClientWithResponses) ModifyWebhookForGlobalWithResponse(ctx context.Context, omadacId string, webhookId string, body ModifyWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyWebhookForGlobalResponse, error)
ModifyWebhookForGlobalWithResponse Modify global webhook setting
Modify global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `ModifyWebhookForGlobal` operationId).
func (*ClientWithResponses) ResetLogSettingGlobalWithResponse ¶
func (c *ClientWithResponses) ResetLogSettingGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*ResetLogSettingGlobalResponse, error)
ResetLogSettingGlobalWithResponse Reset global log notification
Reset global log notification.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/reset/log-notification (the `ResetLogSettingGlobal` operationId).
func (*ClientWithResponses) ResetLogSettingSiteTemplateWithResponse ¶
func (c *ClientWithResponses) ResetLogSettingSiteTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*ResetLogSettingSiteTemplateResponse, error)
ResetLogSettingSiteTemplateWithResponse Reset site template log notification
Reset site template log notification.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/reset/log-notification (the `ResetLogSettingSiteTemplate` operationId).
func (*ClientWithResponses) ResetLogSettingSiteWithResponse ¶
func (c *ClientWithResponses) ResetLogSettingSiteWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*ResetLogSettingSiteResponse, error)
ResetLogSettingSiteWithResponse Reset site log notification
Reset site log notification.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/site/reset/log-notification (the `ResetLogSettingSite` operationId).
func (*ClientWithResponses) ResolveAlertForSiteWithBodyWithResponse ¶
func (c *ClientWithResponses) ResolveAlertForSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveAlertForSiteResponse, error)
ResolveAlertForSiteWithBodyWithResponse Resolve site alert log
Resolve site alert log.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/resolve (the `ResolveAlertForSite` operationId).
func (*ClientWithResponses) ResolveAlertForSiteWithResponse ¶
func (c *ClientWithResponses) ResolveAlertForSiteWithResponse(ctx context.Context, omadacId string, siteId string, body ResolveAlertForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveAlertForSiteResponse, error)
ResolveAlertForSiteWithResponse Resolve site alert log
Resolve site alert log.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/resolve (the `ResolveAlertForSite` operationId).
func (*ClientWithResponses) TestWebhookForGlobalWithBodyWithResponse ¶
func (c *ClientWithResponses) TestWebhookForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestWebhookForGlobalResponse, error)
TestWebhookForGlobalWithBodyWithResponse Test global webhook setting
Test global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `TestWebhookForGlobal` operationId).
func (*ClientWithResponses) TestWebhookForGlobalWithResponse ¶
func (c *ClientWithResponses) TestWebhookForGlobalWithResponse(ctx context.Context, omadacId string, webhookId string, body TestWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*TestWebhookForGlobalResponse, error)
TestWebhookForGlobalWithResponse Test global webhook setting
Test global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `TestWebhookForGlobal` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAuditLogsForGlobalWithResponse Get global audit log list
//
// Get audit logs in global audit page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/audit-logs (the `GetAuditLogsForGlobal` operationId).
GetAuditLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetAuditLogsForGlobalParams, reqEditors ...RequestEditorFn) (*GetAuditLogsForGlobalResponse, error)
// GetAuditLogSettingForGlobalWithResponse Get global audit log notification
//
// Get global audit log notification.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/audit-notification (the `GetAuditLogSettingForGlobal` operationId).
GetAuditLogSettingForGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetAuditLogSettingForGlobalResponse, error)
// ModifyAuditLogSettingGlobalWithBodyWithResponse Modify global audit log notification
//
// Modify global audit log notification.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/audit-notification (the `ModifyAuditLogSettingGlobal` operationId).
ModifyAuditLogSettingGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingGlobalResponse, error)
// ModifyAuditLogSettingGlobalWithResponse Modify global audit log notification
//
// Modify global audit log notification.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/audit-notification (the `ModifyAuditLogSettingGlobal` operationId).
ModifyAuditLogSettingGlobalWithResponse(ctx context.Context, omadacId string, body ModifyAuditLogSettingGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingGlobalResponse, error)
// GetRemoteLoggingTipWithResponse Get customer remote logging tip
//
// Get customer remote logging tip.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/global/controller/setting/syslog/tip (the `GetRemoteLoggingTip` operationId).
GetRemoteLoggingTipWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetRemoteLoggingTipResponse, error)
// GetLogSettingForGlobalWithResponse Get global log notification
//
// Get global log notification.This interface has been deprecated. Please use the following interface instead: Get global log notification v2
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/log-notification (the `GetLogSettingForGlobal` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetLogSettingForGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetLogSettingForGlobalResponse, error)
// ModifyLogSettingGlobalWithBodyWithResponse Modify global log notification
//
// Modify global log notification.This interface has been deprecated. Please use the following interface instead: Modify global log notification v2
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/log-notification (the `ModifyLogSettingGlobal` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyLogSettingGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLogSettingGlobalResponse, error)
// ModifyLogSettingGlobalWithResponse Modify global log notification
//
// Modify global log notification.This interface has been deprecated. Please use the following interface instead: Modify global log notification v2
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/log-notification (the `ModifyLogSettingGlobal` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyLogSettingGlobalWithResponse(ctx context.Context, omadacId string, body ModifyLogSettingGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLogSettingGlobalResponse, error)
// GetAlertLogsForGlobalWithResponse Get global alert log list
//
// Get logs in global alert log page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/logs/alerts (the `GetAlertLogsForGlobal` operationId).
GetAlertLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetAlertLogsForGlobalParams, reqEditors ...RequestEditorFn) (*GetAlertLogsForGlobalResponse, error)
// DeleteAlertLogsForGlobalWithBodyWithResponse Delete global alert log
//
// Delete global alert log.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/logs/alerts/delete (the `DeleteAlertLogsForGlobal` operationId).
DeleteAlertLogsForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAlertLogsForGlobalResponse, error)
// DeleteAlertLogsForGlobalWithResponse Delete global alert log
//
// Delete global alert log.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/logs/alerts/delete (the `DeleteAlertLogsForGlobal` operationId).
DeleteAlertLogsForGlobalWithResponse(ctx context.Context, omadacId string, body DeleteAlertLogsForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAlertLogsForGlobalResponse, error)
// ExportAuditLogListForGlobalWithBodyWithResponse Export audit log list in global view
//
// Export audit log list in global view.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/audit/export (the `ExportAuditLogListForGlobal` operationId).
ExportAuditLogListForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportAuditLogListForGlobalResponse, error)
// ExportAuditLogListForGlobalWithResponse Export audit log list in global view
//
// Export audit log list in global view.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/audit/export (the `ExportAuditLogListForGlobal` operationId).
ExportAuditLogListForGlobalWithResponse(ctx context.Context, omadacId string, body ExportAuditLogListForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportAuditLogListForGlobalResponse, error)
// GetEventLogsForGlobalWithResponse Get global event log list
//
// Get logs in global event log page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/logs/events (the `GetEventLogsForGlobal` operationId).
GetEventLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetEventLogsForGlobalParams, reqEditors ...RequestEditorFn) (*GetEventLogsForGlobalResponse, error)
// DeleteEventLogsForGlobalWithBodyWithResponse Delete global event log
//
// Delete global event log.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/logs/events/delete (the `DeleteEventLogsForGlobal` operationId).
DeleteEventLogsForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteEventLogsForGlobalResponse, error)
// DeleteEventLogsForGlobalWithResponse Delete global event log
//
// Delete global event log.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/logs/events/delete (the `DeleteEventLogsForGlobal` operationId).
DeleteEventLogsForGlobalWithResponse(ctx context.Context, omadacId string, body DeleteEventLogsForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteEventLogsForGlobalResponse, error)
// ExportLogListForGlobalWithBodyWithResponse Export log list in global view
//
// Export log list in global view.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/export (the `ExportLogListForGlobal` operationId).
ExportLogListForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportLogListForGlobalResponse, error)
// ExportLogListForGlobalWithResponse Export log list in global view
//
// Export log list in global view.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/export (the `ExportLogListForGlobal` operationId).
ExportLogListForGlobalWithResponse(ctx context.Context, omadacId string, body ExportLogListForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportLogListForGlobalResponse, error)
// ResetLogSettingGlobalWithResponse Reset global log notification
//
// Reset global log notification.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/reset/log-notification (the `ResetLogSettingGlobal` operationId).
ResetLogSettingGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*ResetLogSettingGlobalResponse, error)
// GetAuditLogsForSiteWithResponse Get site audit log list
//
// Get audit logs in site audit page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/audit-logs (the `GetAuditLogsForSite` operationId).
GetAuditLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetAuditLogsForSiteParams, reqEditors ...RequestEditorFn) (*GetAuditLogsForSiteResponse, error)
// GetApSsidOverridesAuditLogsWithResponse Get ap ssidoverride audit log list
//
// Get ap ssidoverride audit logs in site audit page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/audit-logs/{apMac}/ssid-overrides (the `GetApSsidOverridesAuditLogs` operationId).
GetApSsidOverridesAuditLogsWithResponse(ctx context.Context, omadacId string, siteId string, apMac string, params *GetApSsidOverridesAuditLogsParams, reqEditors ...RequestEditorFn) (*GetApSsidOverridesAuditLogsResponse, error)
// GetCliConfigWithResponse Get the CLI configuration content
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `GetCliConfig` operationId).
GetCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, configId string, reqEditors ...RequestEditorFn) (*GetCliConfigResponse, error)
// ModifyCliConfigWithBodyWithResponse Modify the CLI configuration content
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfig` operationId).
ModifyCliConfigWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, configId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyCliConfigResponse, error)
// ModifyCliConfigWithResponse Modify the CLI configuration content
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfig` operationId).
ModifyCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, configId string, body ModifyCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyCliConfigResponse, error)
// CreateCliConfigWithBodyWithResponse Create a new CLI configuration
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfig` operationId).
CreateCliConfigWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCliConfigResponse, error)
// CreateCliConfigWithResponse Create a new CLI configuration
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfig` operationId).
CreateCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, body CreateCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCliConfigResponse, error)
// GetCliDeviceWithResponse Get device list when importing device configuration
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/devices (the `GetCliDevice` operationId).
GetCliDeviceWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetCliDeviceResponse, error)
// GetCliDeviceByTypeWithResponse Get device list when creating CLI
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/config/devices/device-type/{deviceType} (the `GetCliDeviceByType` operationId).
GetCliDeviceByTypeWithResponse(ctx context.Context, omadacId string, siteId string, deviceType string, reqEditors ...RequestEditorFn) (*GetCliDeviceByTypeResponse, error)
// DeleteCliConfigWithBodyWithResponse Delete the CLI configuration
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfig` operationId).
DeleteCliConfigWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteCliConfigResponse, error)
// DeleteCliConfigWithResponse Delete the CLI configuration
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfig` operationId).
DeleteCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, body DeleteCliConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteCliConfigResponse, error)
// GetCliListWithResponse Get the CLI configuration list
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/cli-type/{cliType}/device-type/{deviceType} (the `GetCliList` operationId).
GetCliListWithResponse(ctx context.Context, omadacId string, siteId string, cliType string, deviceType string, params *GetCliListParams, reqEditors ...RequestEditorFn) (*GetCliListResponse, error)
// ApplyCliConfigWithResponse Apply the CLI configuration
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/configs/config-id/{configId}/apply (the `ApplyCliConfig` operationId).
ApplyCliConfigWithResponse(ctx context.Context, omadacId string, siteId string, configId string, reqEditors ...RequestEditorFn) (*ApplyCliConfigResponse, error)
// ExportCliVariableToFileWithBodyWithResponse Export CLI variable
//
// Export CLI variable,filename is a UTF-8 string encoded by URL Encoder
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/export/variable (the `ExportCliVariableToFile` operationId).
ExportCliVariableToFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportCliVariableToFileResponse, error)
// ExportCliVariableToFileWithResponse Export CLI variable
//
// Export CLI variable,filename is a UTF-8 string encoded by URL Encoder
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/export/variable (the `ExportCliVariableToFile` operationId).
ExportCliVariableToFileWithResponse(ctx context.Context, omadacId string, siteId string, body ExportCliVariableToFileJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportCliVariableToFileResponse, error)
// ImportCliVariableToFileWithBodyWithResponse Import CLI variable
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/import/variable (the `ImportCliVariableToFile` operationId).
ImportCliVariableToFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportCliVariableToFileResponse, error)
// ImportCliVariableToFileWithResponse Import CLI variable
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cli/import/variable (the `ImportCliVariableToFile` operationId).
ImportCliVariableToFileWithResponse(ctx context.Context, omadacId string, siteId string, body ImportCliVariableToFileJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportCliVariableToFileResponse, error)
// GetModelAndVersionListByTypeWithResponse Get model and version for model CLI.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cli/models/device-type/{deviceType} (the `GetModelAndVersionListByType` operationId).
GetModelAndVersionListByTypeWithResponse(ctx context.Context, omadacId string, siteId string, deviceType string, reqEditors ...RequestEditorFn) (*GetModelAndVersionListByTypeResponse, error)
// GetAlertLogsForSiteWithResponse Get site alert log list
//
// Get logs in site alert log page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts (the `GetAlertLogsForSite` operationId).
GetAlertLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetAlertLogsForSiteParams, reqEditors ...RequestEditorFn) (*GetAlertLogsForSiteResponse, error)
// DeleteAlertLogsForSiteWithBodyWithResponse Delete site alert log
//
// Delete site alert log.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/delete (the `DeleteAlertLogsForSite` operationId).
DeleteAlertLogsForSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAlertLogsForSiteResponse, error)
// DeleteAlertLogsForSiteWithResponse Delete site alert log
//
// Delete site alert log.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/delete (the `DeleteAlertLogsForSite` operationId).
DeleteAlertLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, body DeleteAlertLogsForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAlertLogsForSiteResponse, error)
// ResolveAlertForSiteWithBodyWithResponse Resolve site alert log
//
// Resolve site alert log.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/resolve (the `ResolveAlertForSite` operationId).
ResolveAlertForSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveAlertForSiteResponse, error)
// ResolveAlertForSiteWithResponse Resolve site alert log
//
// Resolve site alert log.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/logs/alerts/resolve (the `ResolveAlertForSite` operationId).
ResolveAlertForSiteWithResponse(ctx context.Context, omadacId string, siteId string, body ResolveAlertForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveAlertForSiteResponse, error)
// GetEventLogsForSiteWithResponse Get site event log list
//
// Get logs in site event log page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/logs/events (the `GetEventLogsForSite` operationId).
GetEventLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetEventLogsForSiteParams, reqEditors ...RequestEditorFn) (*GetEventLogsForSiteResponse, error)
// DeleteEventLogsForSiteWithBodyWithResponse Delete site event log
//
// Delete site event log.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/events/delete (the `DeleteEventLogsForSite` operationId).
DeleteEventLogsForSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteEventLogsForSiteResponse, error)
// DeleteEventLogsForSiteWithResponse Delete site event log
//
// Delete site event log.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/logs/events/delete (the `DeleteEventLogsForSite` operationId).
DeleteEventLogsForSiteWithResponse(ctx context.Context, omadacId string, siteId string, body DeleteEventLogsForSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteEventLogsForSiteResponse, error)
// GetRemoteLoggingSettingTipWithResponse Get site remote logging setting tip
//
// Get site remote logging setting tip.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remote-logging/tip (the `GetRemoteLoggingSettingTip` operationId).
GetRemoteLoggingSettingTipWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetRemoteLoggingSettingTipResponse, error)
// GetAuditLogSettingForMsp1WithResponse Get site audit log notification
//
// Get site audit log notification.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `GetAuditLogSettingForMsp1` operationId).
GetAuditLogSettingForMsp1WithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetAuditLogSettingForMsp1Response, error)
// ModifyAuditLogSettingSite1WithBodyWithResponse Modify site audit log notification
//
// Modify site audit log notification.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `ModifyAuditLogSettingSite1` operationId).
ModifyAuditLogSettingSite1WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingSite1Response, error)
// ModifyAuditLogSettingSite1WithResponse Modify site audit log notification
//
// Modify site audit log notification.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification (the `ModifyAuditLogSettingSite1` operationId).
ModifyAuditLogSettingSite1WithResponse(ctx context.Context, omadacId string, siteId string, body ModifyAuditLogSettingSite1JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingSite1Response, error)
// GetLogSettingForSiteWithResponse Get site log notification
//
// Get site log notification.This interface has been deprecated. Please use the following interface instead: Get site log notification v2
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `GetLogSettingForSite` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetLogSettingForSiteWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetLogSettingForSiteResponse, error)
// ModifyLogSettingSiteWithBodyWithResponse Modify site log notification
//
// Modify site log notification.This interface has been deprecated. Please use the following interface instead: Modify site log notification v2
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSite` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyLogSettingSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteResponse, error)
// ModifyLogSettingSiteWithResponse Modify site log notification
//
// Modify site log notification.This interface has been deprecated. Please use the following interface instead: Modify site log notification v2
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSite` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyLogSettingSiteWithResponse(ctx context.Context, omadacId string, siteId string, body ModifyLogSettingSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteResponse, error)
// ResetLogSettingSiteWithResponse Reset site log notification
//
// Reset site log notification.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/site/reset/log-notification (the `ResetLogSettingSite` operationId).
ResetLogSettingSiteWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*ResetLogSettingSiteResponse, error)
// GetCliConfigTemplateWithResponse Get the CLI template configuration content
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `GetCliConfigTemplate` operationId).
GetCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, reqEditors ...RequestEditorFn) (*GetCliConfigTemplateResponse, error)
// ModifyCliConfigTemplateWithBodyWithResponse Modify the CLI template configuration content
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfigTemplate` operationId).
ModifyCliConfigTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyCliConfigTemplateResponse, error)
// ModifyCliConfigTemplateWithResponse Modify the CLI template configuration content
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/config-id/{configId} (the `ModifyCliConfigTemplate` operationId).
ModifyCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, configId string, body ModifyCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyCliConfigTemplateResponse, error)
// CreateCliConfigTemplateWithBodyWithResponse Create a new CLI template configuration
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfigTemplate` operationId).
CreateCliConfigTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCliConfigTemplateResponse, error)
// CreateCliConfigTemplateWithResponse Create a new CLI template configuration
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/config/cli-type/{cliType}/save (the `CreateCliConfigTemplate` operationId).
CreateCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, body CreateCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCliConfigTemplateResponse, error)
// DeleteCliConfigTemplateWithBodyWithResponse Delete the CLI template configuration
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfigTemplate` operationId).
DeleteCliConfigTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteCliConfigTemplateResponse, error)
// DeleteCliConfigTemplateWithResponse Delete the CLI template configuration
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType} (the `DeleteCliConfigTemplate` operationId).
DeleteCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, body DeleteCliConfigTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteCliConfigTemplateResponse, error)
// GetGridCliTemplateWithResponse Get the CLI template configuration list
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/cli-type/{cliType}/device-type/{deviceType} (the `GetGridCliTemplate` operationId).
GetGridCliTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, cliType string, deviceType string, params *GetGridCliTemplateParams, reqEditors ...RequestEditorFn) (*GetGridCliTemplateResponse, error)
// ApplyCliConfigTemplateWithResponse Apply the CLI template configuration
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/cli/configs/config-id/{configId}/apply (the `ApplyCliConfigTemplate` operationId).
ApplyCliConfigTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, configId string, reqEditors ...RequestEditorFn) (*ApplyCliConfigTemplateResponse, error)
// GetAuditLogSettingForMspWithResponse Get site template audit log notification
//
// Get site template audit log notification.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `GetAuditLogSettingForMsp` operationId).
GetAuditLogSettingForMspWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetAuditLogSettingForMspResponse, error)
// ModifyAuditLogSettingSiteWithBodyWithResponse Modify site template audit log notification
//
// Modify site template audit log notification.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `ModifyAuditLogSettingSite` operationId).
ModifyAuditLogSettingSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingSiteResponse, error)
// ModifyAuditLogSettingSiteWithResponse Modify site template audit log notification
//
// Modify site template audit log notification.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/audit-notification (the `ModifyAuditLogSettingSite` operationId).
ModifyAuditLogSettingSiteWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body ModifyAuditLogSettingSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyAuditLogSettingSiteResponse, error)
// GetLogSettingForSiteTemplateWithResponse Get site template log notification
//
// Get site template log notification.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `GetLogSettingForSiteTemplate` operationId).
GetLogSettingForSiteTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetLogSettingForSiteTemplateResponse, error)
// ModifyLogSettingSiteTemplateWithBodyWithResponse Modify site template log notification
//
// Modify site template log notification.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `ModifyLogSettingSiteTemplate` operationId).
ModifyLogSettingSiteTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteTemplateResponse, error)
// ModifyLogSettingSiteTemplateWithResponse Modify site template log notification
//
// Modify site template log notification.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification (the `ModifyLogSettingSiteTemplate` operationId).
ModifyLogSettingSiteTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body ModifyLogSettingSiteTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteTemplateResponse, error)
// ResetLogSettingSiteTemplateWithResponse Reset site template log notification
//
// Reset site template log notification.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/reset/log-notification (the `ResetLogSettingSiteTemplate` operationId).
ResetLogSettingSiteTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*ResetLogSettingSiteTemplateResponse, error)
// GetWebhookForGlobalWithResponse Get global webhook setting list.
//
// Get all global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/webhook/settings (the `GetWebhookForGlobal` operationId).
GetWebhookForGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetWebhookForGlobalResponse, error)
// CreateWebhookForGlobalWithBodyWithResponse Create global webhook setting
//
// Create global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/webhook/settings (the `CreateWebhookForGlobal` operationId).
CreateWebhookForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookForGlobalResponse, error)
// CreateWebhookForGlobalWithResponse Create global webhook setting
//
// Create global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/webhook/settings (the `CreateWebhookForGlobal` operationId).
CreateWebhookForGlobalWithResponse(ctx context.Context, omadacId string, body CreateWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookForGlobalResponse, error)
// GetWebhookLogsForGlobalWithResponse Get global webhook dispatch log list
//
// Get global webhook dispatch log list.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/webhook/settings/dispatch-logs (the `GetWebhookLogsForGlobal` operationId).
GetWebhookLogsForGlobalWithResponse(ctx context.Context, omadacId string, params *GetWebhookLogsForGlobalParams, reqEditors ...RequestEditorFn) (*GetWebhookLogsForGlobalResponse, error)
// DeleteWebhookForGlobalWithResponse Delete global webhook setting
//
// Delete global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `DeleteWebhookForGlobal` operationId).
DeleteWebhookForGlobalWithResponse(ctx context.Context, omadacId string, webhookId string, reqEditors ...RequestEditorFn) (*DeleteWebhookForGlobalResponse, error)
// ModifyWebhookForGlobalWithBodyWithResponse Modify global webhook setting
//
// Modify global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `ModifyWebhookForGlobal` operationId).
ModifyWebhookForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyWebhookForGlobalResponse, error)
// ModifyWebhookForGlobalWithResponse Modify global webhook setting
//
// Modify global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `ModifyWebhookForGlobal` operationId).
ModifyWebhookForGlobalWithResponse(ctx context.Context, omadacId string, webhookId string, body ModifyWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyWebhookForGlobalResponse, error)
// TestWebhookForGlobalWithBodyWithResponse Test global webhook setting
//
// Test global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `TestWebhookForGlobal` operationId).
TestWebhookForGlobalWithBodyWithResponse(ctx context.Context, omadacId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestWebhookForGlobalResponse, error)
// TestWebhookForGlobalWithResponse Test global webhook setting
//
// Test global webhook setting.The template of webhook message is display at Open API Access Guide#5.3.1 Webhook Message Template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/webhook/settings/{webhookId} (the `TestWebhookForGlobal` operationId).
TestWebhookForGlobalWithResponse(ctx context.Context, omadacId string, webhookId string, body TestWebhookForGlobalJSONRequestBody, reqEditors ...RequestEditorFn) (*TestWebhookForGlobalResponse, error)
// GetLogSettingForGlobalV2WithResponse Get global log notification v2
//
// Get global log notification.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v2/{omadacId}/log-notification (the `GetLogSettingForGlobalV2` operationId).
GetLogSettingForGlobalV2WithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetLogSettingForGlobalV2Response, error)
// ModifyLogSettingGlobalV2WithBodyWithResponse Modify global log notification v2
//
// Modify global log notification.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/log-notification (the `ModifyLogSettingGlobalV2` operationId).
ModifyLogSettingGlobalV2WithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLogSettingGlobalV2Response, error)
// ModifyLogSettingGlobalV2WithResponse Modify global log notification v2
//
// Modify global log notification.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/log-notification (the `ModifyLogSettingGlobalV2` operationId).
ModifyLogSettingGlobalV2WithResponse(ctx context.Context, omadacId string, body ModifyLogSettingGlobalV2JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLogSettingGlobalV2Response, error)
// GetLogSettingForSiteV2WithResponse Get site log notification v2
//
// Get site log notification.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `GetLogSettingForSiteV2` operationId).
GetLogSettingForSiteV2WithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetLogSettingForSiteV2Response, error)
// ModifyLogSettingSiteV2WithBodyWithResponse Modify site log notification v2
//
// Modify site log notification.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSiteV2` operationId).
ModifyLogSettingSiteV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteV2Response, error)
// ModifyLogSettingSiteV2WithResponse Modify site log notification v2
//
// Modify site log notification.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification (the `ModifyLogSettingSiteV2` operationId).
ModifyLogSettingSiteV2WithResponse(ctx context.Context, omadacId string, siteId string, body ModifyLogSettingSiteV2JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLogSettingSiteV2Response, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ClientsQueryMacAndFilterType ¶
type ClientsQueryMacAndFilterType struct {
// FilterType Filter type
FilterType *string `json:"filterType,omitempty"`
// Mac Device mac
Mac *string `json:"mac,omitempty"`
}
ClientsQueryMacAndFilterType Topology clients query mac and filter type.
type CreateCliConfigJSONRequestBody ¶
type CreateCliConfigJSONRequestBody = ModifyCliOpenApiVO
CreateCliConfigJSONRequestBody defines body for CreateCliConfig for application/json ContentType.
type CreateCliConfigResponse ¶
func ParseCreateCliConfigResponse ¶
func ParseCreateCliConfigResponse(rsp *http.Response) (*CreateCliConfigResponse, error)
ParseCreateCliConfigResponse parses an HTTP response from a CreateCliConfigWithResponse call
func (CreateCliConfigResponse) ContentType ¶
func (r CreateCliConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCliConfigResponse) GetBody ¶
func (r CreateCliConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateCliConfigResponse) Status ¶
func (r CreateCliConfigResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCliConfigResponse) StatusCode ¶
func (r CreateCliConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCliConfigTemplateJSONRequestBody ¶
type CreateCliConfigTemplateJSONRequestBody = ModifyCliTemplateOpenApiVO
CreateCliConfigTemplateJSONRequestBody defines body for CreateCliConfigTemplate for application/json ContentType.
type CreateCliConfigTemplateResponse ¶
func ParseCreateCliConfigTemplateResponse ¶
func ParseCreateCliConfigTemplateResponse(rsp *http.Response) (*CreateCliConfigTemplateResponse, error)
ParseCreateCliConfigTemplateResponse parses an HTTP response from a CreateCliConfigTemplateWithResponse call
func (CreateCliConfigTemplateResponse) ContentType ¶
func (r CreateCliConfigTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCliConfigTemplateResponse) GetBody ¶
func (r CreateCliConfigTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateCliConfigTemplateResponse) Status ¶
func (r CreateCliConfigTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCliConfigTemplateResponse) StatusCode ¶
func (r CreateCliConfigTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWebhookForGlobalJSONRequestBody ¶
type CreateWebhookForGlobalJSONRequestBody = OpenApiWebhookSettingAddVO
CreateWebhookForGlobalJSONRequestBody defines body for CreateWebhookForGlobal for application/json ContentType.
type CreateWebhookForGlobalResponse ¶
func ParseCreateWebhookForGlobalResponse ¶
func ParseCreateWebhookForGlobalResponse(rsp *http.Response) (*CreateWebhookForGlobalResponse, error)
ParseCreateWebhookForGlobalResponse parses an HTTP response from a CreateWebhookForGlobalWithResponse call
func (CreateWebhookForGlobalResponse) ContentType ¶
func (r CreateWebhookForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateWebhookForGlobalResponse) GetBody ¶
func (r CreateWebhookForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateWebhookForGlobalResponse) Status ¶
func (r CreateWebhookForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWebhookForGlobalResponse) StatusCode ¶
func (r CreateWebhookForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomerRemoteLogTipOpenApiVO ¶
type CustomerRemoteLogTipOpenApiVO struct {
// Enable Whether to enable the feature
Enable bool `json:"enable"`
// Host The IP address of the remote log server
Host *string `json:"host,omitempty"`
// Port Port of the remote log server, port should be within the range of 1-65535
Port *int32 `json:"port,omitempty"`
}
CustomerRemoteLogTipOpenApiVO defines model for CustomerRemoteLogTipOpenApiVO.
type DeleteAlertLogsForGlobalJSONRequestBody ¶
type DeleteAlertLogsForGlobalJSONRequestBody = DeleteGlobalAlertLogListOpenApiVO
DeleteAlertLogsForGlobalJSONRequestBody defines body for DeleteAlertLogsForGlobal for application/json ContentType.
type DeleteAlertLogsForGlobalResponse ¶
func ParseDeleteAlertLogsForGlobalResponse ¶
func ParseDeleteAlertLogsForGlobalResponse(rsp *http.Response) (*DeleteAlertLogsForGlobalResponse, error)
ParseDeleteAlertLogsForGlobalResponse parses an HTTP response from a DeleteAlertLogsForGlobalWithResponse call
func (DeleteAlertLogsForGlobalResponse) ContentType ¶
func (r DeleteAlertLogsForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAlertLogsForGlobalResponse) GetBody ¶
func (r DeleteAlertLogsForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAlertLogsForGlobalResponse) Status ¶
func (r DeleteAlertLogsForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAlertLogsForGlobalResponse) StatusCode ¶
func (r DeleteAlertLogsForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAlertLogsForSiteJSONRequestBody ¶
type DeleteAlertLogsForSiteJSONRequestBody = DeleteSiteAlertLogListOpenApiVO
DeleteAlertLogsForSiteJSONRequestBody defines body for DeleteAlertLogsForSite for application/json ContentType.
type DeleteAlertLogsForSiteResponse ¶
func ParseDeleteAlertLogsForSiteResponse ¶
func ParseDeleteAlertLogsForSiteResponse(rsp *http.Response) (*DeleteAlertLogsForSiteResponse, error)
ParseDeleteAlertLogsForSiteResponse parses an HTTP response from a DeleteAlertLogsForSiteWithResponse call
func (DeleteAlertLogsForSiteResponse) ContentType ¶
func (r DeleteAlertLogsForSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAlertLogsForSiteResponse) GetBody ¶
func (r DeleteAlertLogsForSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAlertLogsForSiteResponse) Status ¶
func (r DeleteAlertLogsForSiteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAlertLogsForSiteResponse) StatusCode ¶
func (r DeleteAlertLogsForSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCliConfigJSONRequestBody ¶
type DeleteCliConfigJSONRequestBody = DeleteCliOpenApiVO
DeleteCliConfigJSONRequestBody defines body for DeleteCliConfig for application/json ContentType.
type DeleteCliConfigResponse ¶
func ParseDeleteCliConfigResponse ¶
func ParseDeleteCliConfigResponse(rsp *http.Response) (*DeleteCliConfigResponse, error)
ParseDeleteCliConfigResponse parses an HTTP response from a DeleteCliConfigWithResponse call
func (DeleteCliConfigResponse) ContentType ¶
func (r DeleteCliConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCliConfigResponse) GetBody ¶
func (r DeleteCliConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteCliConfigResponse) Status ¶
func (r DeleteCliConfigResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCliConfigResponse) StatusCode ¶
func (r DeleteCliConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCliConfigTemplateJSONRequestBody ¶
type DeleteCliConfigTemplateJSONRequestBody = DeleteCliTemplateOpenApiVO
DeleteCliConfigTemplateJSONRequestBody defines body for DeleteCliConfigTemplate for application/json ContentType.
type DeleteCliConfigTemplateResponse ¶
func ParseDeleteCliConfigTemplateResponse ¶
func ParseDeleteCliConfigTemplateResponse(rsp *http.Response) (*DeleteCliConfigTemplateResponse, error)
ParseDeleteCliConfigTemplateResponse parses an HTTP response from a DeleteCliConfigTemplateWithResponse call
func (DeleteCliConfigTemplateResponse) ContentType ¶
func (r DeleteCliConfigTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCliConfigTemplateResponse) GetBody ¶
func (r DeleteCliConfigTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteCliConfigTemplateResponse) Status ¶
func (r DeleteCliConfigTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCliConfigTemplateResponse) StatusCode ¶
func (r DeleteCliConfigTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCliOpenApiVO ¶
type DeleteCliOpenApiVO struct {
// ConfigIds List of IDs to be deleted.
ConfigIds *[]string `json:"configIds,omitempty"`
}
DeleteCliOpenApiVO Delete the CLI configuration entry
type DeleteCliTemplateOpenApiVO ¶
type DeleteCliTemplateOpenApiVO struct {
// ConfigId CLI ID to be deleted.
ConfigId *string `json:"configId,omitempty"`
}
DeleteCliTemplateOpenApiVO Delete the CLI template configuration entry
type DeleteEventLogsForGlobalJSONRequestBody ¶
type DeleteEventLogsForGlobalJSONRequestBody = DeleteGlobalEventLogListOpenApiVO
DeleteEventLogsForGlobalJSONRequestBody defines body for DeleteEventLogsForGlobal for application/json ContentType.
type DeleteEventLogsForGlobalResponse ¶
func ParseDeleteEventLogsForGlobalResponse ¶
func ParseDeleteEventLogsForGlobalResponse(rsp *http.Response) (*DeleteEventLogsForGlobalResponse, error)
ParseDeleteEventLogsForGlobalResponse parses an HTTP response from a DeleteEventLogsForGlobalWithResponse call
func (DeleteEventLogsForGlobalResponse) ContentType ¶
func (r DeleteEventLogsForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEventLogsForGlobalResponse) GetBody ¶
func (r DeleteEventLogsForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteEventLogsForGlobalResponse) Status ¶
func (r DeleteEventLogsForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEventLogsForGlobalResponse) StatusCode ¶
func (r DeleteEventLogsForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEventLogsForSiteJSONRequestBody ¶
type DeleteEventLogsForSiteJSONRequestBody = DeleteSiteEventLogListOpenApiVO
DeleteEventLogsForSiteJSONRequestBody defines body for DeleteEventLogsForSite for application/json ContentType.
type DeleteEventLogsForSiteResponse ¶
func ParseDeleteEventLogsForSiteResponse ¶
func ParseDeleteEventLogsForSiteResponse(rsp *http.Response) (*DeleteEventLogsForSiteResponse, error)
ParseDeleteEventLogsForSiteResponse parses an HTTP response from a DeleteEventLogsForSiteWithResponse call
func (DeleteEventLogsForSiteResponse) ContentType ¶
func (r DeleteEventLogsForSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEventLogsForSiteResponse) GetBody ¶
func (r DeleteEventLogsForSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteEventLogsForSiteResponse) Status ¶
func (r DeleteEventLogsForSiteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEventLogsForSiteResponse) StatusCode ¶
func (r DeleteEventLogsForSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteGlobalAlertLogListOpenApiVO ¶
type DeleteGlobalAlertLogListOpenApiVO struct {
// EndTime The end timeStamp of the delete global alert log, unit: MS.
EndTime int64 `json:"endTime"`
// FilterModule The module of the delete global log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.
FilterModule *string `json:"filterModule,omitempty"`
// Logs Select the logs to delete; Log ID list can be obtained from 'Get global alert log list' interface.
Logs *[]string `json:"logs,omitempty"`
// SelectType Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').
SelectType string `json:"selectType"`
// StartTime The start timeStamp of the delete global alert log, unit: MS.
StartTime int64 `json:"startTime"`
}
DeleteGlobalAlertLogListOpenApiVO defines model for DeleteGlobalAlertLogListOpenApiVO.
type DeleteGlobalEventLogListOpenApiVO ¶
type DeleteGlobalEventLogListOpenApiVO struct {
// EndTime The end timeStamp of the delete global event log, unit: MS.
EndTime int64 `json:"endTime"`
// FilterModule The module of the delete global log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.
FilterModule *string `json:"filterModule,omitempty"`
// Logs Select the logs to delete; Log ID list can be obtained from 'Get global event log list' interface.
Logs *[]string `json:"logs,omitempty"`
// SelectType Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').
SelectType string `json:"selectType"`
// StartTime The start timeStamp of the delete global event log, unit: MS.
StartTime int64 `json:"startTime"`
}
DeleteGlobalEventLogListOpenApiVO defines model for DeleteGlobalEventLogListOpenApiVO.
type DeleteSiteAlertLogListOpenApiVO ¶
type DeleteSiteAlertLogListOpenApiVO struct {
// EndTime The end timeStamp of the delete site alert log, unit: MS.
EndTime int64 `json:"endTime"`
// FilterModule The module of the delete site alert log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.
FilterModule *string `json:"filterModule,omitempty"`
// Logs Select the logs to delete; Log ID list can be obtained from 'Get site alert log list' interface.
Logs *[]string `json:"logs,omitempty"`
// SelectType Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').
SelectType string `json:"selectType"`
// StartTime The start timeStamp of the delete site alert log, unit: MS.
StartTime int64 `json:"startTime"`
}
DeleteSiteAlertLogListOpenApiVO defines model for DeleteSiteAlertLogListOpenApiVO.
type DeleteSiteEventLogListOpenApiVO ¶
type DeleteSiteEventLogListOpenApiVO struct {
// EndTime The end timeStamp of the delete site event log, unit: MS.
EndTime int64 `json:"endTime"`
// FilterModule The module of the delete site event log; It is required when [selectType] is 'all', filterModule should be a value as follows: ['System', 'Device', 'Client'].
FilterModule *string `json:"filterModule,omitempty"`
// Logs Select the logs to delete; Log ID list can be obtained from 'Get site event log list' interface.
Logs *[]string `json:"logs,omitempty"`
// SelectType Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').
SelectType string `json:"selectType"`
// StartTime The start timeStamp of the delete site event log, unit: MS.
StartTime int64 `json:"startTime"`
}
DeleteSiteEventLogListOpenApiVO defines model for DeleteSiteEventLogListOpenApiVO.
type DeleteWebhookForGlobalResponse ¶
func ParseDeleteWebhookForGlobalResponse ¶
func ParseDeleteWebhookForGlobalResponse(rsp *http.Response) (*DeleteWebhookForGlobalResponse, error)
ParseDeleteWebhookForGlobalResponse parses an HTTP response from a DeleteWebhookForGlobalWithResponse call
func (DeleteWebhookForGlobalResponse) ContentType ¶
func (r DeleteWebhookForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteWebhookForGlobalResponse) GetBody ¶
func (r DeleteWebhookForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteWebhookForGlobalResponse) Status ¶
func (r DeleteWebhookForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWebhookForGlobalResponse) StatusCode ¶
func (r DeleteWebhookForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeviceCliVO ¶
type DeviceCliVO struct {
// DeviceMac Device mac
DeviceMac *string `json:"deviceMac,omitempty"`
// DeviceModel Model of device
DeviceModel *string `json:"deviceModel,omitempty"`
// DeviceName Device name
DeviceName *string `json:"deviceName,omitempty"`
// ModelVersion Model version of device
ModelVersion *string `json:"modelVersion,omitempty"`
// VariableMap The values of different user-defined variables.
VariableMap *map[string]string `json:"variableMap,omitempty"`
}
DeviceCliVO List of devices bound to the CLI configuration.
type DeviceExportCliVO ¶
type DeviceExportCliVO struct {
// DeviceMac Device mac
DeviceMac string `json:"deviceMac"`
// VariableMap The values of different user-defined variables.
VariableMap *map[string]string `json:"variableMap,omitempty"`
}
DeviceExportCliVO Devices
type EventLogGridVOEventLogOpenApiVO ¶
type EventLogGridVOEventLogOpenApiVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]EventLogOpenApiVO `json:"data,omitempty"`
// EventLogStat Event log statistic.
EventLogStat *EventLogStatOpenApiVO `json:"eventLogStat,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
EventLogGridVOEventLogOpenApiVO defines model for EventLogGridVOEventLogOpenApiVO.
type EventLogOpenApiVO ¶
type EventLogOpenApiVO struct {
// Content Log content.
Content *string `json:"content,omitempty"`
// Id Log ID.
Id *string `json:"id,omitempty"`
// Key Log key.
Key *string `json:"key,omitempty"`
// Module Log module.
Module *string `json:"module,omitempty"`
// Time Log time.
Time *int64 `json:"time,omitempty"`
}
EventLogOpenApiVO defines model for EventLogOpenApiVO.
type EventLogStatOpenApiVO ¶
type EventLogStatOpenApiVO struct {
// ClientLogNum Client event log number.
ClientLogNum *int64 `json:"clientLogNum,omitempty"`
// DeviceLogNum Device event log number.
DeviceLogNum *int64 `json:"deviceLogNum,omitempty"`
// SystemLogNum System event log number.
SystemLogNum *int64 `json:"systemLogNum,omitempty"`
// TotalLogNum Total log number.
TotalLogNum *int64 `json:"totalLogNum,omitempty"`
}
EventLogStatOpenApiVO Event log statistic.
type ExportAuditLogListForGlobalJSONRequestBody ¶
type ExportAuditLogListForGlobalJSONRequestBody = ExportLogOpenApiVO
ExportAuditLogListForGlobalJSONRequestBody defines body for ExportAuditLogListForGlobal for application/json ContentType.
type ExportAuditLogListForGlobalResponse ¶
func ParseExportAuditLogListForGlobalResponse ¶
func ParseExportAuditLogListForGlobalResponse(rsp *http.Response) (*ExportAuditLogListForGlobalResponse, error)
ParseExportAuditLogListForGlobalResponse parses an HTTP response from a ExportAuditLogListForGlobalWithResponse call
func (ExportAuditLogListForGlobalResponse) ContentType ¶
func (r ExportAuditLogListForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportAuditLogListForGlobalResponse) GetBody ¶
func (r ExportAuditLogListForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportAuditLogListForGlobalResponse) Status ¶
func (r ExportAuditLogListForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (ExportAuditLogListForGlobalResponse) StatusCode ¶
func (r ExportAuditLogListForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportCliVarOpenApiVO ¶
type ExportCliVarOpenApiVO struct {
// Devices Devices
Devices []DeviceExportCliVO `json:"devices"`
// Type Export type should be a value as follows: 0:CSV; 1:JSON
Type int32 `json:"type"`
}
ExportCliVarOpenApiVO defines model for ExportCliVarOpenApiVO.
type ExportCliVariableToFileJSONRequestBody ¶
type ExportCliVariableToFileJSONRequestBody = ExportCliVarOpenApiVO
ExportCliVariableToFileJSONRequestBody defines body for ExportCliVariableToFile for application/json ContentType.
type ExportCliVariableToFileResponse ¶
func ParseExportCliVariableToFileResponse ¶
func ParseExportCliVariableToFileResponse(rsp *http.Response) (*ExportCliVariableToFileResponse, error)
ParseExportCliVariableToFileResponse parses an HTTP response from a ExportCliVariableToFileWithResponse call
func (ExportCliVariableToFileResponse) ContentType ¶
func (r ExportCliVariableToFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportCliVariableToFileResponse) GetBody ¶
func (r ExportCliVariableToFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportCliVariableToFileResponse) Status ¶
func (r ExportCliVariableToFileResponse) Status() string
Status returns HTTPResponse.Status
func (ExportCliVariableToFileResponse) StatusCode ¶
func (r ExportCliVariableToFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportLogListForGlobalJSONRequestBody ¶
type ExportLogListForGlobalJSONRequestBody = ExportLogOpenApiVO
ExportLogListForGlobalJSONRequestBody defines body for ExportLogListForGlobal for application/json ContentType.
type ExportLogListForGlobalResponse ¶
func ParseExportLogListForGlobalResponse ¶
func ParseExportLogListForGlobalResponse(rsp *http.Response) (*ExportLogListForGlobalResponse, error)
ParseExportLogListForGlobalResponse parses an HTTP response from a ExportLogListForGlobalWithResponse call
func (ExportLogListForGlobalResponse) ContentType ¶
func (r ExportLogListForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportLogListForGlobalResponse) GetBody ¶
func (r ExportLogListForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportLogListForGlobalResponse) Status ¶
func (r ExportLogListForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (ExportLogListForGlobalResponse) StatusCode ¶
func (r ExportLogListForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportLogOpenApiVO ¶
type ExportLogOpenApiVO struct {
// Format Parameter [format] indicates the type of the exported file. 0: CSV, 1: xlsx.
Format int32 `json:"format"`
// SiteIds Parameter [siteIds] indicates site IDs that need to export log results.
SiteIds []string `json:"siteIds"`
}
ExportLogOpenApiVO defines model for ExportLogOpenApiVO.
type GetAlertLogsForGlobalParams ¶
type GetAlertLogsForGlobalParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)
PageSize int32 `form:"pageSize" json:"pageSize"`
// FiltersTimeStart Filter query parameters, support field 1679297710438
FiltersTimeStart int64 `form:"filters.timeStart" json:"filters.timeStart"`
// FiltersTimeEnd Filter query parameters, support field 1681889710438
FiltersTimeEnd int64 `form:"filters.timeEnd" json:"filters.timeEnd"`
// FiltersModule Filter query parameters, support field module, it should be a value as follows: System, Device
FiltersModule *string `form:"filters.module,omitempty" json:"filters.module,omitempty"`
// FiltersResolved Filter query parameters, support field resolved, it should be a value as follows: true, false
FiltersResolved *bool `form:"filters.resolved,omitempty" json:"filters.resolved,omitempty"`
}
GetAlertLogsForGlobalParams defines parameters for GetAlertLogsForGlobal.
type GetAlertLogsForGlobalResponse ¶
func ParseGetAlertLogsForGlobalResponse ¶
func ParseGetAlertLogsForGlobalResponse(rsp *http.Response) (*GetAlertLogsForGlobalResponse, error)
ParseGetAlertLogsForGlobalResponse parses an HTTP response from a GetAlertLogsForGlobalWithResponse call
func (GetAlertLogsForGlobalResponse) ContentType ¶
func (r GetAlertLogsForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAlertLogsForGlobalResponse) GetBody ¶
func (r GetAlertLogsForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAlertLogsForGlobalResponse) Status ¶
func (r GetAlertLogsForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (GetAlertLogsForGlobalResponse) StatusCode ¶
func (r GetAlertLogsForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAlertLogsForSiteParams ¶
type GetAlertLogsForSiteParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)
PageSize int32 `form:"pageSize" json:"pageSize"`
// FiltersTimeStart Filter query parameters, support field 1679297710438
FiltersTimeStart int64 `form:"filters.timeStart" json:"filters.timeStart"`
// FiltersTimeEnd Filter query parameters, support field 1681889710438
FiltersTimeEnd int64 `form:"filters.timeEnd" json:"filters.timeEnd"`
// FiltersModule Filter query parameters, support field module, it should be a value as follows: System, Device, Client
FiltersModule *string `form:"filters.module,omitempty" json:"filters.module,omitempty"`
// FiltersResolved Filter query parameters, support field resolved, it should be a value as follows: true, false
FiltersResolved *bool `form:"filters.resolved,omitempty" json:"filters.resolved,omitempty"`
}
GetAlertLogsForSiteParams defines parameters for GetAlertLogsForSite.
type GetAlertLogsForSiteResponse ¶
func ParseGetAlertLogsForSiteResponse ¶
func ParseGetAlertLogsForSiteResponse(rsp *http.Response) (*GetAlertLogsForSiteResponse, error)
ParseGetAlertLogsForSiteResponse parses an HTTP response from a GetAlertLogsForSiteWithResponse call
func (GetAlertLogsForSiteResponse) ContentType ¶
func (r GetAlertLogsForSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAlertLogsForSiteResponse) GetBody ¶
func (r GetAlertLogsForSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAlertLogsForSiteResponse) Status ¶
func (r GetAlertLogsForSiteResponse) Status() string
Status returns HTTPResponse.Status
func (GetAlertLogsForSiteResponse) StatusCode ¶
func (r GetAlertLogsForSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApSsidOverridesAuditLogsParams ¶
type GetApSsidOverridesAuditLogsParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)
PageSize int32 `form:"pageSize" json:"pageSize"`
// SortsTime Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsTime *string `form:"sorts.time,omitempty" json:"sorts.time,omitempty"`
// FiltersTimes Filter query parameters, support field times, example:[{"timeStart":1678060800000,"timeEnd":1678665599999}](UrlEncode:%5B%7B%22timeStart%22%3A1678060800000%2C%22timeEnd%22%3A1678665599999%7D%5D).If this parameter is not specified (not included or empty array), the interface will query data within the default time period: [{"timeStart": Current timestamp minus milliseconds of 7 days,"timeEnd": Current timestamp}].
FiltersTimes *string `form:"filters.times,omitempty" json:"filters.times,omitempty"`
}
GetApSsidOverridesAuditLogsParams defines parameters for GetApSsidOverridesAuditLogs.
type GetApSsidOverridesAuditLogsResponse ¶
func ParseGetApSsidOverridesAuditLogsResponse ¶
func ParseGetApSsidOverridesAuditLogsResponse(rsp *http.Response) (*GetApSsidOverridesAuditLogsResponse, error)
ParseGetApSsidOverridesAuditLogsResponse parses an HTTP response from a GetApSsidOverridesAuditLogsWithResponse call
func (GetApSsidOverridesAuditLogsResponse) ContentType ¶
func (r GetApSsidOverridesAuditLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApSsidOverridesAuditLogsResponse) GetBody ¶
func (r GetApSsidOverridesAuditLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApSsidOverridesAuditLogsResponse) Status ¶
func (r GetApSsidOverridesAuditLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApSsidOverridesAuditLogsResponse) StatusCode ¶
func (r GetApSsidOverridesAuditLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuditLogSettingForGlobalResponse ¶
func ParseGetAuditLogSettingForGlobalResponse ¶
func ParseGetAuditLogSettingForGlobalResponse(rsp *http.Response) (*GetAuditLogSettingForGlobalResponse, error)
ParseGetAuditLogSettingForGlobalResponse parses an HTTP response from a GetAuditLogSettingForGlobalWithResponse call
func (GetAuditLogSettingForGlobalResponse) ContentType ¶
func (r GetAuditLogSettingForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAuditLogSettingForGlobalResponse) GetBody ¶
func (r GetAuditLogSettingForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAuditLogSettingForGlobalResponse) Status ¶
func (r GetAuditLogSettingForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuditLogSettingForGlobalResponse) StatusCode ¶
func (r GetAuditLogSettingForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuditLogSettingForMsp1Response ¶
func ParseGetAuditLogSettingForMsp1Response ¶
func ParseGetAuditLogSettingForMsp1Response(rsp *http.Response) (*GetAuditLogSettingForMsp1Response, error)
ParseGetAuditLogSettingForMsp1Response parses an HTTP response from a GetAuditLogSettingForMsp1WithResponse call
func (GetAuditLogSettingForMsp1Response) ContentType ¶
func (r GetAuditLogSettingForMsp1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAuditLogSettingForMsp1Response) GetBody ¶
func (r GetAuditLogSettingForMsp1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAuditLogSettingForMsp1Response) Status ¶
func (r GetAuditLogSettingForMsp1Response) Status() string
Status returns HTTPResponse.Status
func (GetAuditLogSettingForMsp1Response) StatusCode ¶
func (r GetAuditLogSettingForMsp1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuditLogSettingForMspResponse ¶
func ParseGetAuditLogSettingForMspResponse ¶
func ParseGetAuditLogSettingForMspResponse(rsp *http.Response) (*GetAuditLogSettingForMspResponse, error)
ParseGetAuditLogSettingForMspResponse parses an HTTP response from a GetAuditLogSettingForMspWithResponse call
func (GetAuditLogSettingForMspResponse) ContentType ¶
func (r GetAuditLogSettingForMspResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAuditLogSettingForMspResponse) GetBody ¶
func (r GetAuditLogSettingForMspResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAuditLogSettingForMspResponse) Status ¶
func (r GetAuditLogSettingForMspResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuditLogSettingForMspResponse) StatusCode ¶
func (r GetAuditLogSettingForMspResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuditLogsForGlobalParams ¶
type GetAuditLogsForGlobalParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)
PageSize int32 `form:"pageSize" json:"pageSize"`
// SortsTime Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsTime *string `form:"sorts.time,omitempty" json:"sorts.time,omitempty"`
// FiltersResult Filter query parameters, support field result,it should be a value as follows: 0: successful; 1: failed,example:0
FiltersResult *int32 `form:"filters.result,omitempty" json:"filters.result,omitempty"`
// FiltersLevel Filter query parameters, support field level,it should be a value as follows: Error; Warning; Information, example:Error
FiltersLevel *string `form:"filters.level,omitempty" json:"filters.level,omitempty"`
// FiltersAuditTypes Filter query parameters, support field auditTypes, for the values of auditLog type, refer to section 5.2.2 of the Open API Access Guide, example:Log,Cloud Access,User Interface.
FiltersAuditTypes *string `form:"filters.auditTypes,omitempty" json:"filters.auditTypes,omitempty"`
// FiltersTimes Filter query parameters, support field times, example:[{"timeStart":1678060800000,"timeEnd":1678665599999}](UrlEncode:%5B%7B%22timeStart%22%3A1678060800000%2C%22timeEnd%22%3A1678665599999%7D%5D).If this parameter is not specified (not included or empty array), the interface will query data within the default time period: [{"timeStart": Current timestamp minus milliseconds of 7 days,"timeEnd": Current timestamp}].
FiltersTimes *string `form:"filters.times,omitempty" json:"filters.times,omitempty"`
// SearchKey Fuzzy query parameters, support field content
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
GetAuditLogsForGlobalParams defines parameters for GetAuditLogsForGlobal.
type GetAuditLogsForGlobalResponse ¶
func ParseGetAuditLogsForGlobalResponse ¶
func ParseGetAuditLogsForGlobalResponse(rsp *http.Response) (*GetAuditLogsForGlobalResponse, error)
ParseGetAuditLogsForGlobalResponse parses an HTTP response from a GetAuditLogsForGlobalWithResponse call
func (GetAuditLogsForGlobalResponse) ContentType ¶
func (r GetAuditLogsForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAuditLogsForGlobalResponse) GetBody ¶
func (r GetAuditLogsForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAuditLogsForGlobalResponse) Status ¶
func (r GetAuditLogsForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuditLogsForGlobalResponse) StatusCode ¶
func (r GetAuditLogsForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuditLogsForSiteParams ¶
type GetAuditLogsForSiteParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)
PageSize int32 `form:"pageSize" json:"pageSize"`
// SortsTime Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsTime *string `form:"sorts.time,omitempty" json:"sorts.time,omitempty"`
// FiltersResult Filter query parameters, support field result,it should be a value as follows: 0: successful; 1: failed,example:0
FiltersResult *int32 `form:"filters.result,omitempty" json:"filters.result,omitempty"`
// FiltersLevel Filter query parameters, support field level,it should be a value as follows: Error; Warning; Information, example:Error
FiltersLevel *string `form:"filters.level,omitempty" json:"filters.level,omitempty"`
// FiltersAuditTypes Filter query parameters, support field auditTypes, for the values of auditLog type, refer to section 5.2.2 of the Open API Access Guide, example:Log,Cloud Access,User Interface.
FiltersAuditTypes *string `form:"filters.auditTypes,omitempty" json:"filters.auditTypes,omitempty"`
// FiltersTimes Filter query parameters, support field times, example:[{"timeStart":1678060800000,"timeEnd":1678665599999}](UrlEncode:%5B%7B%22timeStart%22%3A1678060800000%2C%22timeEnd%22%3A1678665599999%7D%5D).If this parameter is not specified (not included or empty array), the interface will query data within the default time period: [{"timeStart": Current timestamp minus milliseconds of 7 days,"timeEnd": Current timestamp}].
FiltersTimes *string `form:"filters.times,omitempty" json:"filters.times,omitempty"`
// SearchKey Fuzzy query parameters, support field content
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
GetAuditLogsForSiteParams defines parameters for GetAuditLogsForSite.
type GetAuditLogsForSiteResponse ¶
func ParseGetAuditLogsForSiteResponse ¶
func ParseGetAuditLogsForSiteResponse(rsp *http.Response) (*GetAuditLogsForSiteResponse, error)
ParseGetAuditLogsForSiteResponse parses an HTTP response from a GetAuditLogsForSiteWithResponse call
func (GetAuditLogsForSiteResponse) ContentType ¶
func (r GetAuditLogsForSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAuditLogsForSiteResponse) GetBody ¶
func (r GetAuditLogsForSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAuditLogsForSiteResponse) Status ¶
func (r GetAuditLogsForSiteResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuditLogsForSiteResponse) StatusCode ¶
func (r GetAuditLogsForSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCliConfigResponse ¶
func ParseGetCliConfigResponse ¶
func ParseGetCliConfigResponse(rsp *http.Response) (*GetCliConfigResponse, error)
ParseGetCliConfigResponse parses an HTTP response from a GetCliConfigWithResponse call
func (GetCliConfigResponse) ContentType ¶
func (r GetCliConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCliConfigResponse) GetBody ¶
func (r GetCliConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCliConfigResponse) Status ¶
func (r GetCliConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetCliConfigResponse) StatusCode ¶
func (r GetCliConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCliConfigTemplateResponse ¶
func ParseGetCliConfigTemplateResponse ¶
func ParseGetCliConfigTemplateResponse(rsp *http.Response) (*GetCliConfigTemplateResponse, error)
ParseGetCliConfigTemplateResponse parses an HTTP response from a GetCliConfigTemplateWithResponse call
func (GetCliConfigTemplateResponse) ContentType ¶
func (r GetCliConfigTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCliConfigTemplateResponse) GetBody ¶
func (r GetCliConfigTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCliConfigTemplateResponse) Status ¶
func (r GetCliConfigTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetCliConfigTemplateResponse) StatusCode ¶
func (r GetCliConfigTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCliDeviceByTypeResponse ¶
func ParseGetCliDeviceByTypeResponse ¶
func ParseGetCliDeviceByTypeResponse(rsp *http.Response) (*GetCliDeviceByTypeResponse, error)
ParseGetCliDeviceByTypeResponse parses an HTTP response from a GetCliDeviceByTypeWithResponse call
func (GetCliDeviceByTypeResponse) ContentType ¶
func (r GetCliDeviceByTypeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCliDeviceByTypeResponse) GetBody ¶
func (r GetCliDeviceByTypeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCliDeviceByTypeResponse) Status ¶
func (r GetCliDeviceByTypeResponse) Status() string
Status returns HTTPResponse.Status
func (GetCliDeviceByTypeResponse) StatusCode ¶
func (r GetCliDeviceByTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCliDeviceResponse ¶
func ParseGetCliDeviceResponse ¶
func ParseGetCliDeviceResponse(rsp *http.Response) (*GetCliDeviceResponse, error)
ParseGetCliDeviceResponse parses an HTTP response from a GetCliDeviceWithResponse call
func (GetCliDeviceResponse) ContentType ¶
func (r GetCliDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCliDeviceResponse) GetBody ¶
func (r GetCliDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCliDeviceResponse) Status ¶
func (r GetCliDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (GetCliDeviceResponse) StatusCode ¶
func (r GetCliDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCliListParams ¶
type GetCliListParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetCliListParams defines parameters for GetCliList.
type GetCliListResponse ¶
func ParseGetCliListResponse ¶
func ParseGetCliListResponse(rsp *http.Response) (*GetCliListResponse, error)
ParseGetCliListResponse parses an HTTP response from a GetCliListWithResponse call
func (GetCliListResponse) ContentType ¶
func (r GetCliListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCliListResponse) GetBody ¶
func (r GetCliListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCliListResponse) Status ¶
func (r GetCliListResponse) Status() string
Status returns HTTPResponse.Status
func (GetCliListResponse) StatusCode ¶
func (r GetCliListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventLogsForGlobalParams ¶
type GetEventLogsForGlobalParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)
PageSize int32 `form:"pageSize" json:"pageSize"`
// FiltersTimeStart Filter query parameters, support field 1679297710438
FiltersTimeStart int64 `form:"filters.timeStart" json:"filters.timeStart"`
// FiltersTimeEnd Filter query parameters, support field 1681889710438
FiltersTimeEnd int64 `form:"filters.timeEnd" json:"filters.timeEnd"`
// FiltersModule Filter query parameters, support field module, it should be a value as follows: System, Device
FiltersModule *string `form:"filters.module,omitempty" json:"filters.module,omitempty"`
}
GetEventLogsForGlobalParams defines parameters for GetEventLogsForGlobal.
type GetEventLogsForGlobalResponse ¶
func ParseGetEventLogsForGlobalResponse ¶
func ParseGetEventLogsForGlobalResponse(rsp *http.Response) (*GetEventLogsForGlobalResponse, error)
ParseGetEventLogsForGlobalResponse parses an HTTP response from a GetEventLogsForGlobalWithResponse call
func (GetEventLogsForGlobalResponse) ContentType ¶
func (r GetEventLogsForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventLogsForGlobalResponse) GetBody ¶
func (r GetEventLogsForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventLogsForGlobalResponse) Status ¶
func (r GetEventLogsForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventLogsForGlobalResponse) StatusCode ¶
func (r GetEventLogsForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventLogsForSiteParams ¶
type GetEventLogsForSiteParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)
PageSize int32 `form:"pageSize" json:"pageSize"`
// FiltersTimeStart Filter query parameters, support field 1679297710438
FiltersTimeStart int64 `form:"filters.timeStart" json:"filters.timeStart"`
// FiltersTimeEnd Filter query parameters, support field 1681889710438
FiltersTimeEnd int64 `form:"filters.timeEnd" json:"filters.timeEnd"`
// FiltersModule Filter query parameters, support field module, it should be a value as follows: System, Device, Client
FiltersModule *string `form:"filters.module,omitempty" json:"filters.module,omitempty"`
}
GetEventLogsForSiteParams defines parameters for GetEventLogsForSite.
type GetEventLogsForSiteResponse ¶
func ParseGetEventLogsForSiteResponse ¶
func ParseGetEventLogsForSiteResponse(rsp *http.Response) (*GetEventLogsForSiteResponse, error)
ParseGetEventLogsForSiteResponse parses an HTTP response from a GetEventLogsForSiteWithResponse call
func (GetEventLogsForSiteResponse) ContentType ¶
func (r GetEventLogsForSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventLogsForSiteResponse) GetBody ¶
func (r GetEventLogsForSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventLogsForSiteResponse) Status ¶
func (r GetEventLogsForSiteResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventLogsForSiteResponse) StatusCode ¶
func (r GetEventLogsForSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridCliTemplateParams ¶
type GetGridCliTemplateParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetGridCliTemplateParams defines parameters for GetGridCliTemplate.
type GetGridCliTemplateResponse ¶
func ParseGetGridCliTemplateResponse ¶
func ParseGetGridCliTemplateResponse(rsp *http.Response) (*GetGridCliTemplateResponse, error)
ParseGetGridCliTemplateResponse parses an HTTP response from a GetGridCliTemplateWithResponse call
func (GetGridCliTemplateResponse) ContentType ¶
func (r GetGridCliTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridCliTemplateResponse) GetBody ¶
func (r GetGridCliTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridCliTemplateResponse) Status ¶
func (r GetGridCliTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridCliTemplateResponse) StatusCode ¶
func (r GetGridCliTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLogSettingForGlobalResponse ¶
func ParseGetLogSettingForGlobalResponse ¶
func ParseGetLogSettingForGlobalResponse(rsp *http.Response) (*GetLogSettingForGlobalResponse, error)
ParseGetLogSettingForGlobalResponse parses an HTTP response from a GetLogSettingForGlobalWithResponse call
func (GetLogSettingForGlobalResponse) ContentType ¶
func (r GetLogSettingForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLogSettingForGlobalResponse) GetBody ¶
func (r GetLogSettingForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLogSettingForGlobalResponse) Status ¶
func (r GetLogSettingForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (GetLogSettingForGlobalResponse) StatusCode ¶
func (r GetLogSettingForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLogSettingForGlobalV2Response ¶
func ParseGetLogSettingForGlobalV2Response ¶
func ParseGetLogSettingForGlobalV2Response(rsp *http.Response) (*GetLogSettingForGlobalV2Response, error)
ParseGetLogSettingForGlobalV2Response parses an HTTP response from a GetLogSettingForGlobalV2WithResponse call
func (GetLogSettingForGlobalV2Response) ContentType ¶
func (r GetLogSettingForGlobalV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLogSettingForGlobalV2Response) GetBody ¶
func (r GetLogSettingForGlobalV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLogSettingForGlobalV2Response) Status ¶
func (r GetLogSettingForGlobalV2Response) Status() string
Status returns HTTPResponse.Status
func (GetLogSettingForGlobalV2Response) StatusCode ¶
func (r GetLogSettingForGlobalV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLogSettingForSiteResponse ¶
func ParseGetLogSettingForSiteResponse ¶
func ParseGetLogSettingForSiteResponse(rsp *http.Response) (*GetLogSettingForSiteResponse, error)
ParseGetLogSettingForSiteResponse parses an HTTP response from a GetLogSettingForSiteWithResponse call
func (GetLogSettingForSiteResponse) ContentType ¶
func (r GetLogSettingForSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLogSettingForSiteResponse) GetBody ¶
func (r GetLogSettingForSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLogSettingForSiteResponse) Status ¶
func (r GetLogSettingForSiteResponse) Status() string
Status returns HTTPResponse.Status
func (GetLogSettingForSiteResponse) StatusCode ¶
func (r GetLogSettingForSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLogSettingForSiteTemplateResponse ¶
func ParseGetLogSettingForSiteTemplateResponse ¶
func ParseGetLogSettingForSiteTemplateResponse(rsp *http.Response) (*GetLogSettingForSiteTemplateResponse, error)
ParseGetLogSettingForSiteTemplateResponse parses an HTTP response from a GetLogSettingForSiteTemplateWithResponse call
func (GetLogSettingForSiteTemplateResponse) ContentType ¶
func (r GetLogSettingForSiteTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLogSettingForSiteTemplateResponse) GetBody ¶
func (r GetLogSettingForSiteTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLogSettingForSiteTemplateResponse) Status ¶
func (r GetLogSettingForSiteTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetLogSettingForSiteTemplateResponse) StatusCode ¶
func (r GetLogSettingForSiteTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLogSettingForSiteV2Response ¶
func ParseGetLogSettingForSiteV2Response ¶
func ParseGetLogSettingForSiteV2Response(rsp *http.Response) (*GetLogSettingForSiteV2Response, error)
ParseGetLogSettingForSiteV2Response parses an HTTP response from a GetLogSettingForSiteV2WithResponse call
func (GetLogSettingForSiteV2Response) ContentType ¶
func (r GetLogSettingForSiteV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLogSettingForSiteV2Response) GetBody ¶
func (r GetLogSettingForSiteV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLogSettingForSiteV2Response) Status ¶
func (r GetLogSettingForSiteV2Response) Status() string
Status returns HTTPResponse.Status
func (GetLogSettingForSiteV2Response) StatusCode ¶
func (r GetLogSettingForSiteV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetModelAndVersionListByTypeResponse ¶
func ParseGetModelAndVersionListByTypeResponse ¶
func ParseGetModelAndVersionListByTypeResponse(rsp *http.Response) (*GetModelAndVersionListByTypeResponse, error)
ParseGetModelAndVersionListByTypeResponse parses an HTTP response from a GetModelAndVersionListByTypeWithResponse call
func (GetModelAndVersionListByTypeResponse) ContentType ¶
func (r GetModelAndVersionListByTypeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetModelAndVersionListByTypeResponse) GetBody ¶
func (r GetModelAndVersionListByTypeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetModelAndVersionListByTypeResponse) Status ¶
func (r GetModelAndVersionListByTypeResponse) Status() string
Status returns HTTPResponse.Status
func (GetModelAndVersionListByTypeResponse) StatusCode ¶
func (r GetModelAndVersionListByTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRemoteLoggingSettingTipResponse ¶
func ParseGetRemoteLoggingSettingTipResponse ¶
func ParseGetRemoteLoggingSettingTipResponse(rsp *http.Response) (*GetRemoteLoggingSettingTipResponse, error)
ParseGetRemoteLoggingSettingTipResponse parses an HTTP response from a GetRemoteLoggingSettingTipWithResponse call
func (GetRemoteLoggingSettingTipResponse) ContentType ¶
func (r GetRemoteLoggingSettingTipResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRemoteLoggingSettingTipResponse) GetBody ¶
func (r GetRemoteLoggingSettingTipResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRemoteLoggingSettingTipResponse) Status ¶
func (r GetRemoteLoggingSettingTipResponse) Status() string
Status returns HTTPResponse.Status
func (GetRemoteLoggingSettingTipResponse) StatusCode ¶
func (r GetRemoteLoggingSettingTipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRemoteLoggingTipResponse ¶
func ParseGetRemoteLoggingTipResponse ¶
func ParseGetRemoteLoggingTipResponse(rsp *http.Response) (*GetRemoteLoggingTipResponse, error)
ParseGetRemoteLoggingTipResponse parses an HTTP response from a GetRemoteLoggingTipWithResponse call
func (GetRemoteLoggingTipResponse) ContentType ¶
func (r GetRemoteLoggingTipResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRemoteLoggingTipResponse) GetBody ¶
func (r GetRemoteLoggingTipResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRemoteLoggingTipResponse) Status ¶
func (r GetRemoteLoggingTipResponse) Status() string
Status returns HTTPResponse.Status
func (GetRemoteLoggingTipResponse) StatusCode ¶
func (r GetRemoteLoggingTipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhookForGlobalResponse ¶
func ParseGetWebhookForGlobalResponse ¶
func ParseGetWebhookForGlobalResponse(rsp *http.Response) (*GetWebhookForGlobalResponse, error)
ParseGetWebhookForGlobalResponse parses an HTTP response from a GetWebhookForGlobalWithResponse call
func (GetWebhookForGlobalResponse) ContentType ¶
func (r GetWebhookForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWebhookForGlobalResponse) GetBody ¶
func (r GetWebhookForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWebhookForGlobalResponse) Status ¶
func (r GetWebhookForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhookForGlobalResponse) StatusCode ¶
func (r GetWebhookForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhookLogsForGlobalParams ¶
type GetWebhookLogsForGlobalParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
// FiltersWebhookId Filter query parameters, support field d66aed17ea7238154ba610710d9a2890
FiltersWebhookId string `form:"filters.webhookId" json:"filters.webhookId"`
// FiltersTimeStart Filter query parameters, support field 1679297710438
FiltersTimeStart int64 `form:"filters.timeStart" json:"filters.timeStart"`
// FiltersTimeEnd Filter query parameters, support field 1681889710438
FiltersTimeEnd int64 `form:"filters.timeEnd" json:"filters.timeEnd"`
}
GetWebhookLogsForGlobalParams defines parameters for GetWebhookLogsForGlobal.
type GetWebhookLogsForGlobalResponse ¶
func ParseGetWebhookLogsForGlobalResponse ¶
func ParseGetWebhookLogsForGlobalResponse(rsp *http.Response) (*GetWebhookLogsForGlobalResponse, error)
ParseGetWebhookLogsForGlobalResponse parses an HTTP response from a GetWebhookLogsForGlobalWithResponse call
func (GetWebhookLogsForGlobalResponse) ContentType ¶
func (r GetWebhookLogsForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWebhookLogsForGlobalResponse) GetBody ¶
func (r GetWebhookLogsForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWebhookLogsForGlobalResponse) Status ¶
func (r GetWebhookLogsForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhookLogsForGlobalResponse) StatusCode ¶
func (r GetWebhookLogsForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GridVOApOverrideAuditLogVO ¶
type GridVOApOverrideAuditLogVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]ApOverrideAuditLogVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOApOverrideAuditLogVO defines model for GridVOApOverrideAuditLogVO.
type GridVOAuditLogOpenApiVO ¶
type GridVOAuditLogOpenApiVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]AuditLogOpenApiVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOAuditLogOpenApiVO defines model for GridVOAuditLogOpenApiVO.
type GridVOCliTemplateOpenApiVO ¶
type GridVOCliTemplateOpenApiVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]CliTemplateOpenApiVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOCliTemplateOpenApiVO defines model for GridVOCliTemplateOpenApiVO.
type GridVOCliVO ¶
type GridVOCliVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]CliVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOCliVO defines model for GridVOCliVO.
type GridVOOpenApiWebhookDispatchLogVO ¶
type GridVOOpenApiWebhookDispatchLogVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]OpenApiWebhookDispatchLogVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOOpenApiWebhookDispatchLogVO defines model for GridVOOpenApiWebhookDispatchLogVO.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImportCliVarOpenApiVO ¶
type ImportCliVarOpenApiVO struct {
// Devices Devices
Devices *[]DeviceExportCliVO `json:"devices,omitempty"`
}
ImportCliVarOpenApiVO defines model for ImportCliVarOpenApiVO.
type ImportCliVariableToFileJSONBody ¶
type ImportCliVariableToFileJSONBody struct {
// File File must be a file in .csv or .json form
File openapi_types.File `json:"file"`
}
ImportCliVariableToFileJSONBody defines parameters for ImportCliVariableToFile.
type ImportCliVariableToFileJSONRequestBody ¶
type ImportCliVariableToFileJSONRequestBody ImportCliVariableToFileJSONBody
ImportCliVariableToFileJSONRequestBody defines body for ImportCliVariableToFile for application/json ContentType.
type ImportCliVariableToFileResponse ¶
func ParseImportCliVariableToFileResponse ¶
func ParseImportCliVariableToFileResponse(rsp *http.Response) (*ImportCliVariableToFileResponse, error)
ParseImportCliVariableToFileResponse parses an HTTP response from a ImportCliVariableToFileWithResponse call
func (ImportCliVariableToFileResponse) ContentType ¶
func (r ImportCliVariableToFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ImportCliVariableToFileResponse) GetBody ¶
func (r ImportCliVariableToFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ImportCliVariableToFileResponse) Status ¶
func (r ImportCliVariableToFileResponse) Status() string
Status returns HTTPResponse.Status
func (ImportCliVariableToFileResponse) StatusCode ¶
func (r ImportCliVariableToFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstancesVO ¶
type InstancesVO struct {
// Cost cost
Cost *int32 `json:"cost,omitempty"`
// CostMode costMode, 0: auto / 1: custom
CostMode *int32 `json:"costMode,omitempty"`
// Id mstp instanceId
Id *int32 `json:"id,omitempty"`
// Priority priority
Priority *int32 `json:"priority,omitempty"`
// Stp stp, 0: MSTP / 1: RPVST
Stp *int32 `json:"stp,omitempty"`
// Vlan rpvst vlanId
Vlan *string `json:"vlan,omitempty"`
}
InstancesVO Instances
type LagCapVO ¶
type LagCapVO struct {
// LacpModSupport Lacp Mod Support
LacpModSupport *bool `json:"lacpModSupport,omitempty"`
// LagHashAlgSupport Lag Hash Algorithm Support
LagHashAlgSupport *bool `json:"lagHashAlgSupport,omitempty"`
// LagHashAlgs Support Lag Hash Algorithms, 0: SRC_MAC; 1: DST_MAC; 2: SRC_MAC_DST_MAC; 3: SRC_IP; 4: DST_IP; 5: SRC_IP_DST_IP
LagHashAlgs *[]int32 `json:"lagHashAlgs,omitempty"`
}
LagCapVO Capability of lag
type LanPort ¶
type LanPort struct {
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// InternetState Port Internet State
InternetState *int32 `json:"internetState,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Name Port Name
Name *string `json:"name,omitempty"`
// OnlineDetection Port Online Detection
OnlineDetection *int32 `json:"onlineDetection,omitempty"`
// Port Port Id
Port *string `json:"port,omitempty"`
// Status Port Status
Status *int32 `json:"status,omitempty"`
}
LanPort Lan Port List
type LogAlertEmailOpenApiVO ¶
type LogAlertEmailOpenApiVO struct {
// AlertEmailEnable Log Enable or Disable email
//
// Example: false
AlertEmailEnable *bool `json:"alertEmailEnable,omitempty"`
// Delay Time of Log delay email (unit:s). The value should be within the range of 0–99999.
//
// Example: 30
Delay *int32 `json:"delay,omitempty"`
// DelayEnable Log Enable or Disable delay email
//
// Example: false
DelayEnable *bool `json:"delayEnable,omitempty"`
}
LogAlertEmailOpenApiVO Log Event Email (This config applies to the log site view)
type LogNotificationEditOpenApiV2VO ¶
type LogNotificationEditOpenApiV2VO struct {
// Email Log Notification Enable or Disable Email
//
// Example: true
Email bool `json:"email"`
// Enable Log Notification Enable or Disable
//
// Example: true
Enable bool `json:"enable"`
// Key For the values of Log Notification Key, refer to section 5.6.1 of the Open API Access
//
// Example: LOGIN_OK
Key string `json:"key"`
// Webhook Log Notification Category Enable or Disable Webhook (This config applies to the Omada Pro Controller only and should not bu null)
//
// Example: false
Webhook *bool `json:"webhook,omitempty"`
}
LogNotificationEditOpenApiV2VO Event Notification List
type LogNotificationEditOpenApiVO ¶
type LogNotificationEditOpenApiVO struct {
// Alert Log Notification Enable or Disable Alert
//
// Example: false
Alert bool `json:"alert"`
// Email Log Notification Enable or Disable Email
//
// Example: true
Email bool `json:"email"`
// Event Log Notification Enable or Disable Event
//
// Example: true
Event bool `json:"event"`
// Key For the values of Log Notification Key, refer to section 5.6.1 of the Open API Access
//
// Example: LOGIN_OK
Key string `json:"key"`
// Webhook Log Notification Category Enable or Disable Webhook (This config applies to the Omada Pro Controller only and should not bu null)
//
// Example: false
Webhook *bool `json:"webhook,omitempty"`
}
LogNotificationEditOpenApiVO Log Notification List
type LogNotificationOpenApiVO ¶
type LogNotificationOpenApiVO struct {
// Alert Log Notification Enable or Disable Alert
//
// Example: false
Alert *bool `json:"alert,omitempty"`
// Email Log Notification Enable or Disable Email
//
// Example: true
Email *bool `json:"email,omitempty"`
// Event Log Notification Enable or Disable Event
//
// Example: true
Event *bool `json:"event,omitempty"`
// Key Log Notification Key
//
// Example: LOGIN_OK
Key *string `json:"key,omitempty"`
// ShortMsg Log Notification Short Message
//
// Example: User Logged In
ShortMsg *string `json:"shortMsg,omitempty"`
// Webhook Log Notification Enable or Disable Webhook (This config applies to the Omada Pro Controller only)
//
// Example: false
Webhook *bool `json:"webhook,omitempty"`
}
LogNotificationOpenApiVO Log Notification List
type LogNotificationSettingEditOpenApiV2VO ¶
type LogNotificationSettingEditOpenApiV2VO struct {
// AlertEmailSetting Log Event Email (This config applies to the log site view)
AlertEmailSetting *LogAlertEmailOpenApiVO `json:"alertEmailSetting,omitempty"`
// AlertNotifications Alert Notification List
AlertNotifications *[]LogNotificationEditOpenApiV2VO `json:"alertNotifications,omitempty"`
// EventEmailSetting Log Event Email (This config applies to the log site view)
EventEmailSetting *LogAlertEmailOpenApiVO `json:"eventEmailSetting,omitempty"`
// EventNotifications Event Notification List
EventNotifications *[]LogNotificationEditOpenApiV2VO `json:"eventNotifications,omitempty"`
// WebhookConfig Log Notification Webhook Config (This config applies to the Omada Pro Controller only)
WebhookConfig *WebhookConfigEditOpenApiVO `json:"webhookConfig,omitempty"`
}
LogNotificationSettingEditOpenApiV2VO defines model for LogNotificationSettingEditOpenApiV2VO.
type LogNotificationSettingEditOpenApiVO ¶
type LogNotificationSettingEditOpenApiVO struct {
// AlertEmailSetting Log Event Email (This config applies to the log site view)
AlertEmailSetting *LogAlertEmailOpenApiVO `json:"alertEmailSetting,omitempty"`
// LogNotifications Log Notification List
LogNotifications []LogNotificationEditOpenApiVO `json:"logNotifications"`
// WebhookConfig Log Notification Webhook Config (This config applies to the Omada Pro Controller only)
WebhookConfig *WebhookConfigEditOpenApiVO `json:"webhookConfig,omitempty"`
}
LogNotificationSettingEditOpenApiVO defines model for LogNotificationSettingEditOpenApiVO.
type LogNotificationSettingOpenApiVO ¶
type LogNotificationSettingOpenApiVO struct {
// AlertEmailSetting Log Event Email (This config applies to the log site view)
AlertEmailSetting *LogAlertEmailOpenApiVO `json:"alertEmailSetting,omitempty"`
// LogNotifications Log Notification List
LogNotifications *[]LogNotificationOpenApiVO `json:"logNotifications,omitempty"`
// WebhookConfig Log Notification Webhook Config (This config applies to the Omada Pro Controller only)
WebhookConfig *WebhookConfigOpenApiVO `json:"webhookConfig,omitempty"`
}
LogNotificationSettingOpenApiVO defines model for LogNotificationSettingOpenApiVO.
type MirroredLag ¶
type MirroredLag struct {
// LagId Lag ID
LagId *int32 `json:"lagId,omitempty"`
// LagName Lag Name
LagName *string `json:"lagName,omitempty"`
}
MirroredLag Monitored LAG
type MirroredPort ¶
type MirroredPort struct {
// Port Port
Port *int32 `json:"port,omitempty"`
// PortName Port Name
PortName *string `json:"portName,omitempty"`
// StandardPort Standard Port
StandardPort *string `json:"standardPort,omitempty"`
}
MirroredPort Monitored Port
type ModelAndModelVersionVO ¶
type ModelAndModelVersionVO struct {
// Model Model of device
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device
ModelVersion *string `json:"modelVersion,omitempty"`
}
ModelAndModelVersionVO defines model for ModelAndModelVersionVO.
type ModifyAuditLogSettingGlobalJSONRequestBody ¶
type ModifyAuditLogSettingGlobalJSONRequestBody = AuditLogNotificationSettingEditOpenApiVO
ModifyAuditLogSettingGlobalJSONRequestBody defines body for ModifyAuditLogSettingGlobal for application/json ContentType.
type ModifyAuditLogSettingGlobalResponse ¶
func ParseModifyAuditLogSettingGlobalResponse ¶
func ParseModifyAuditLogSettingGlobalResponse(rsp *http.Response) (*ModifyAuditLogSettingGlobalResponse, error)
ParseModifyAuditLogSettingGlobalResponse parses an HTTP response from a ModifyAuditLogSettingGlobalWithResponse call
func (ModifyAuditLogSettingGlobalResponse) ContentType ¶
func (r ModifyAuditLogSettingGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyAuditLogSettingGlobalResponse) GetBody ¶
func (r ModifyAuditLogSettingGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyAuditLogSettingGlobalResponse) Status ¶
func (r ModifyAuditLogSettingGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyAuditLogSettingGlobalResponse) StatusCode ¶
func (r ModifyAuditLogSettingGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyAuditLogSettingSite1JSONRequestBody ¶
type ModifyAuditLogSettingSite1JSONRequestBody = AuditLogNotificationSettingEditOpenApiVO
ModifyAuditLogSettingSite1JSONRequestBody defines body for ModifyAuditLogSettingSite1 for application/json ContentType.
type ModifyAuditLogSettingSite1Response ¶
func ParseModifyAuditLogSettingSite1Response ¶
func ParseModifyAuditLogSettingSite1Response(rsp *http.Response) (*ModifyAuditLogSettingSite1Response, error)
ParseModifyAuditLogSettingSite1Response parses an HTTP response from a ModifyAuditLogSettingSite1WithResponse call
func (ModifyAuditLogSettingSite1Response) ContentType ¶
func (r ModifyAuditLogSettingSite1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyAuditLogSettingSite1Response) GetBody ¶
func (r ModifyAuditLogSettingSite1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyAuditLogSettingSite1Response) Status ¶
func (r ModifyAuditLogSettingSite1Response) Status() string
Status returns HTTPResponse.Status
func (ModifyAuditLogSettingSite1Response) StatusCode ¶
func (r ModifyAuditLogSettingSite1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyAuditLogSettingSiteJSONRequestBody ¶
type ModifyAuditLogSettingSiteJSONRequestBody = AuditLogNotificationSettingEditOpenApiVO
ModifyAuditLogSettingSiteJSONRequestBody defines body for ModifyAuditLogSettingSite for application/json ContentType.
type ModifyAuditLogSettingSiteResponse ¶
func ParseModifyAuditLogSettingSiteResponse ¶
func ParseModifyAuditLogSettingSiteResponse(rsp *http.Response) (*ModifyAuditLogSettingSiteResponse, error)
ParseModifyAuditLogSettingSiteResponse parses an HTTP response from a ModifyAuditLogSettingSiteWithResponse call
func (ModifyAuditLogSettingSiteResponse) ContentType ¶
func (r ModifyAuditLogSettingSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyAuditLogSettingSiteResponse) GetBody ¶
func (r ModifyAuditLogSettingSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyAuditLogSettingSiteResponse) Status ¶
func (r ModifyAuditLogSettingSiteResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyAuditLogSettingSiteResponse) StatusCode ¶
func (r ModifyAuditLogSettingSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyCliConfigJSONRequestBody ¶
type ModifyCliConfigJSONRequestBody = ModifyCliOpenApiVO
ModifyCliConfigJSONRequestBody defines body for ModifyCliConfig for application/json ContentType.
type ModifyCliConfigResponse ¶
func ParseModifyCliConfigResponse ¶
func ParseModifyCliConfigResponse(rsp *http.Response) (*ModifyCliConfigResponse, error)
ParseModifyCliConfigResponse parses an HTTP response from a ModifyCliConfigWithResponse call
func (ModifyCliConfigResponse) ContentType ¶
func (r ModifyCliConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyCliConfigResponse) GetBody ¶
func (r ModifyCliConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyCliConfigResponse) Status ¶
func (r ModifyCliConfigResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyCliConfigResponse) StatusCode ¶
func (r ModifyCliConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyCliConfigTemplateJSONRequestBody ¶
type ModifyCliConfigTemplateJSONRequestBody = ModifyCliTemplateOpenApiVO
ModifyCliConfigTemplateJSONRequestBody defines body for ModifyCliConfigTemplate for application/json ContentType.
type ModifyCliConfigTemplateResponse ¶
func ParseModifyCliConfigTemplateResponse ¶
func ParseModifyCliConfigTemplateResponse(rsp *http.Response) (*ModifyCliConfigTemplateResponse, error)
ParseModifyCliConfigTemplateResponse parses an HTTP response from a ModifyCliConfigTemplateWithResponse call
func (ModifyCliConfigTemplateResponse) ContentType ¶
func (r ModifyCliConfigTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyCliConfigTemplateResponse) GetBody ¶
func (r ModifyCliConfigTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyCliConfigTemplateResponse) Status ¶
func (r ModifyCliConfigTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyCliConfigTemplateResponse) StatusCode ¶
func (r ModifyCliConfigTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyCliOpenApiVO ¶
type ModifyCliOpenApiVO struct {
// CliConfig CLI configuration content
CliConfig string `json:"cliConfig"`
// Description CLI configuration description, it should be within the range of 0 - 256 characters.
Description *string `json:"description,omitempty"`
// DeviceType Device type for CLI configuration application, it should be a value as follows: switch.
DeviceType string `json:"deviceType"`
// Devices List of devices bound to the CLI configuration.
Devices *[]DeviceCliVO `json:"devices,omitempty"`
// Model Device model of model cli
Model *string `json:"model,omitempty"`
// ModelVersion Device model version of model cli
ModelVersion *string `json:"modelVersion,omitempty"`
// Name CLI configuration name, it should be within the range of 1 - 64 characters
Name string `json:"name"`
// Stacks List of stacks bound to the CLI configuration, only device CLI has this field.
Stacks *[]StackCliVO `json:"stacks,omitempty"`
}
ModifyCliOpenApiVO Modify the CLI configuration entry
type ModifyCliTemplateOpenApiVO ¶
type ModifyCliTemplateOpenApiVO struct {
// CliConfig CLI configuration content
CliConfig string `json:"cliConfig"`
// Description CLI configuration description, it should be within the range of 0 - 256 characters.
Description *string `json:"description,omitempty"`
// DeviceType Device type for CLI configuration application, it should be a value as follows: switch.
DeviceType string `json:"deviceType"`
// Name CLI configuration name, it should be within the range of 1 - 64 characters
Name string `json:"name"`
}
ModifyCliTemplateOpenApiVO Modify the CLI template configuration entry
type ModifyLogSettingGlobalJSONRequestBody
deprecated
type ModifyLogSettingGlobalJSONRequestBody = LogNotificationSettingEditOpenApiVO
ModifyLogSettingGlobalJSONRequestBody defines body for ModifyLogSettingGlobal for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifyLogSettingGlobalResponse ¶
func ParseModifyLogSettingGlobalResponse ¶
func ParseModifyLogSettingGlobalResponse(rsp *http.Response) (*ModifyLogSettingGlobalResponse, error)
ParseModifyLogSettingGlobalResponse parses an HTTP response from a ModifyLogSettingGlobalWithResponse call
func (ModifyLogSettingGlobalResponse) ContentType ¶
func (r ModifyLogSettingGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyLogSettingGlobalResponse) GetBody ¶
func (r ModifyLogSettingGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyLogSettingGlobalResponse) Status ¶
func (r ModifyLogSettingGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyLogSettingGlobalResponse) StatusCode ¶
func (r ModifyLogSettingGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyLogSettingGlobalV2JSONRequestBody ¶
type ModifyLogSettingGlobalV2JSONRequestBody = LogNotificationSettingEditOpenApiV2VO
ModifyLogSettingGlobalV2JSONRequestBody defines body for ModifyLogSettingGlobalV2 for application/json ContentType.
type ModifyLogSettingGlobalV2Response ¶
func ParseModifyLogSettingGlobalV2Response ¶
func ParseModifyLogSettingGlobalV2Response(rsp *http.Response) (*ModifyLogSettingGlobalV2Response, error)
ParseModifyLogSettingGlobalV2Response parses an HTTP response from a ModifyLogSettingGlobalV2WithResponse call
func (ModifyLogSettingGlobalV2Response) ContentType ¶
func (r ModifyLogSettingGlobalV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyLogSettingGlobalV2Response) GetBody ¶
func (r ModifyLogSettingGlobalV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyLogSettingGlobalV2Response) Status ¶
func (r ModifyLogSettingGlobalV2Response) Status() string
Status returns HTTPResponse.Status
func (ModifyLogSettingGlobalV2Response) StatusCode ¶
func (r ModifyLogSettingGlobalV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyLogSettingSiteJSONRequestBody
deprecated
type ModifyLogSettingSiteJSONRequestBody = LogNotificationSettingEditOpenApiVO
ModifyLogSettingSiteJSONRequestBody defines body for ModifyLogSettingSite for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifyLogSettingSiteResponse ¶
func ParseModifyLogSettingSiteResponse ¶
func ParseModifyLogSettingSiteResponse(rsp *http.Response) (*ModifyLogSettingSiteResponse, error)
ParseModifyLogSettingSiteResponse parses an HTTP response from a ModifyLogSettingSiteWithResponse call
func (ModifyLogSettingSiteResponse) ContentType ¶
func (r ModifyLogSettingSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyLogSettingSiteResponse) GetBody ¶
func (r ModifyLogSettingSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyLogSettingSiteResponse) Status ¶
func (r ModifyLogSettingSiteResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyLogSettingSiteResponse) StatusCode ¶
func (r ModifyLogSettingSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyLogSettingSiteTemplateJSONRequestBody ¶
type ModifyLogSettingSiteTemplateJSONRequestBody = LogNotificationSettingEditOpenApiVO
ModifyLogSettingSiteTemplateJSONRequestBody defines body for ModifyLogSettingSiteTemplate for application/json ContentType.
type ModifyLogSettingSiteTemplateResponse ¶
func ParseModifyLogSettingSiteTemplateResponse ¶
func ParseModifyLogSettingSiteTemplateResponse(rsp *http.Response) (*ModifyLogSettingSiteTemplateResponse, error)
ParseModifyLogSettingSiteTemplateResponse parses an HTTP response from a ModifyLogSettingSiteTemplateWithResponse call
func (ModifyLogSettingSiteTemplateResponse) ContentType ¶
func (r ModifyLogSettingSiteTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyLogSettingSiteTemplateResponse) GetBody ¶
func (r ModifyLogSettingSiteTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyLogSettingSiteTemplateResponse) Status ¶
func (r ModifyLogSettingSiteTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyLogSettingSiteTemplateResponse) StatusCode ¶
func (r ModifyLogSettingSiteTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyLogSettingSiteV2JSONRequestBody ¶
type ModifyLogSettingSiteV2JSONRequestBody = LogNotificationSettingEditOpenApiV2VO
ModifyLogSettingSiteV2JSONRequestBody defines body for ModifyLogSettingSiteV2 for application/json ContentType.
type ModifyLogSettingSiteV2Response ¶
func ParseModifyLogSettingSiteV2Response ¶
func ParseModifyLogSettingSiteV2Response(rsp *http.Response) (*ModifyLogSettingSiteV2Response, error)
ParseModifyLogSettingSiteV2Response parses an HTTP response from a ModifyLogSettingSiteV2WithResponse call
func (ModifyLogSettingSiteV2Response) ContentType ¶
func (r ModifyLogSettingSiteV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyLogSettingSiteV2Response) GetBody ¶
func (r ModifyLogSettingSiteV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyLogSettingSiteV2Response) Status ¶
func (r ModifyLogSettingSiteV2Response) Status() string
Status returns HTTPResponse.Status
func (ModifyLogSettingSiteV2Response) StatusCode ¶
func (r ModifyLogSettingSiteV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyWebhookForGlobalJSONRequestBody ¶
type ModifyWebhookForGlobalJSONRequestBody = OpenApiWebhookSettingEditVO
ModifyWebhookForGlobalJSONRequestBody defines body for ModifyWebhookForGlobal for application/json ContentType.
type ModifyWebhookForGlobalResponse ¶
func ParseModifyWebhookForGlobalResponse ¶
func ParseModifyWebhookForGlobalResponse(rsp *http.Response) (*ModifyWebhookForGlobalResponse, error)
ParseModifyWebhookForGlobalResponse parses an HTTP response from a ModifyWebhookForGlobalWithResponse call
func (ModifyWebhookForGlobalResponse) ContentType ¶
func (r ModifyWebhookForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyWebhookForGlobalResponse) GetBody ¶
func (r ModifyWebhookForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyWebhookForGlobalResponse) Status ¶
func (r ModifyWebhookForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyWebhookForGlobalResponse) StatusCode ¶
func (r ModifyWebhookForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MultiLinkEntryDTO ¶
type MultiLinkEntryDTO struct {
// Channel MLO Channel
Channel *int32 `json:"channel,omitempty"`
// Radio MLO Radio
Radio *int32 `json:"radio,omitempty"`
}
MultiLinkEntryDTO Vigi MultiLink In MLO Mode
type OnuInformationConfigDTO ¶
type OnuInformationConfigDTO struct {
// ActiveStatus Active status should be a value as follows:ACTIVE: ONU is in an active state, capable of data communication and carrying services.
// INACTIVE: ONU is in an inactive state, possibly due to unactivated configuration, being offline, configuration failure, or mismatched configuration.
ActiveStatus *OnuInformationConfigDTOActiveStatus `json:"activeStatus,omitempty"`
// AdminStatus Admin status should be a value as follows:ACTIVATE,DEACTIVATE
AdminStatus *OnuInformationConfigDTOAdminStatus `json:"adminStatus,omitempty"`
// ConfigStatus Config status should be a value as follows:SUCCESS: Configuration successfully delivered and recognized by the ONU.FAILED: Configuration not successfully delivered or not recognized by the ONU.
ConfigStatus *OnuInformationConfigDTOConfigStatus `json:"configStatus,omitempty"`
// EquipmentId Matched ONU device ID, equipmentId should contain 1 to 20 characters in ASCII code from \x21 to \x7e.
EquipmentId *string `json:"equipmentId,omitempty"`
// HardwareVersion Hardware version of the ONU, hardwareVersion should contain 1 to 20 characters, including uppercase and lowercase letters, numbers, and the symbols -@_:/.
HardwareVersion *string `json:"hardwareVersion,omitempty"`
// Key Identifier of ONU
Key *string `json:"key,omitempty"`
// LineProfile Line profile.Display in the format: Line_Profile_Name + Line_Profile_ID.
LineProfile *string `json:"lineProfile,omitempty"`
// MacAddress Mac address of ONU
MacAddress *string `json:"macAddress,omitempty"`
// MatchStatus Match status should be a value as follows:MATCH: ONU hardware capabilities are consistent with the bound service template.MISMATCH: ONU hardware capabilities are inconsistent with the bound service template.
MatchStatus *OnuInformationConfigDTOMatchStatus `json:"matchStatus,omitempty"`
// OnlineStatus Online status should be a value as follows:ONLINE,OFFLINE
OnlineStatus *OnuInformationConfigDTOOnlineStatus `json:"onlineStatus,omitempty"`
// OnuDescription Description of ONU.OnuDescription should be 1-32 characters, including letters, numbers, and symbols (-@_:/.).
OnuDescription *string `json:"onuDescription,omitempty"`
// OnuId Onu Id should be within the range of 0 to 127
OnuId *int32 `json:"onuId,omitempty"`
// PonPortId PON port ID of the registered and online ONT
PonPortId *int32 `json:"ponPortId,omitempty"`
// PonPortStr String form of pon port.e.g.,PON 1/2/1
PonPortStr *string `json:"ponPortStr,omitempty"`
// ReceivedOpticalPower ONU's received power, in dBm.
ReceivedOpticalPower *string `json:"receivedOpticalPower,omitempty"`
// SerialNumber SerialNumber should contain 12, 13, or 16 characters, formatted as `XXXXXXXXXXXX`,'XXXX-XXXXXXXX','XXXXXXXXXXXXXXXX'.
SerialNumber *string `json:"serialNumber,omitempty"`
// ServicePortProfile Service port profile.Display in the format: Service_Port_Profile_Name + Service_Port_Profile_ID.
ServicePortProfile *string `json:"servicePortProfile,omitempty"`
// ServiceProfile Service profile.Display in the format: Service_Profile_Name + Service_Profile_ID.
ServiceProfile *string `json:"serviceProfile,omitempty"`
SoftWareVersion *string `json:"softWareVersion,omitempty"`
// SoftwareVersion Content
SoftwareVersion *OnuInformationConfigDTO `json:"softwareVersion,omitempty"`
// TransmittedOpticalPower ONU's transmission power, in dBm.
TransmittedOpticalPower *string `json:"transmittedOpticalPower,omitempty"`
}
OnuInformationConfigDTO Content
type OnuInformationConfigDTOActiveStatus ¶
type OnuInformationConfigDTOActiveStatus string
OnuInformationConfigDTOActiveStatus Active status should be a value as follows:ACTIVE: ONU is in an active state, capable of data communication and carrying services. INACTIVE: ONU is in an inactive state, possibly due to unactivated configuration, being offline, configuration failure, or mismatched configuration.
const ( ACTIVE OnuInformationConfigDTOActiveStatus = "ACTIVE" INACTIVE OnuInformationConfigDTOActiveStatus = "INACTIVE" )
Defines values for OnuInformationConfigDTOActiveStatus.
func (OnuInformationConfigDTOActiveStatus) Valid ¶
func (e OnuInformationConfigDTOActiveStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOActiveStatus enum.
type OnuInformationConfigDTOAdminStatus ¶
type OnuInformationConfigDTOAdminStatus string
OnuInformationConfigDTOAdminStatus Admin status should be a value as follows:ACTIVATE,DEACTIVATE
const ( ACTIVATE OnuInformationConfigDTOAdminStatus = "ACTIVATE" ACTIVATED OnuInformationConfigDTOAdminStatus = "ACTIVATED" DEACTIVATE OnuInformationConfigDTOAdminStatus = "DEACTIVATE" DEACTIVATED OnuInformationConfigDTOAdminStatus = "DEACTIVATED" )
Defines values for OnuInformationConfigDTOAdminStatus.
func (OnuInformationConfigDTOAdminStatus) Valid ¶
func (e OnuInformationConfigDTOAdminStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOAdminStatus enum.
type OnuInformationConfigDTOConfigStatus ¶
type OnuInformationConfigDTOConfigStatus string
OnuInformationConfigDTOConfigStatus Config status should be a value as follows:SUCCESS: Configuration successfully delivered and recognized by the ONU.FAILED: Configuration not successfully delivered or not recognized by the ONU.
const ( OnuInformationConfigDTOConfigStatusFAILED OnuInformationConfigDTOConfigStatus = "FAILED" OnuInformationConfigDTOConfigStatusSUCCESS OnuInformationConfigDTOConfigStatus = "SUCCESS" )
Defines values for OnuInformationConfigDTOConfigStatus.
func (OnuInformationConfigDTOConfigStatus) Valid ¶
func (e OnuInformationConfigDTOConfigStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOConfigStatus enum.
type OnuInformationConfigDTOMatchStatus ¶
type OnuInformationConfigDTOMatchStatus string
OnuInformationConfigDTOMatchStatus Match status should be a value as follows:MATCH: ONU hardware capabilities are consistent with the bound service template.MISMATCH: ONU hardware capabilities are inconsistent with the bound service template.
const ( MATCH OnuInformationConfigDTOMatchStatus = "MATCH" MISMATCH OnuInformationConfigDTOMatchStatus = "MISMATCH" )
Defines values for OnuInformationConfigDTOMatchStatus.
func (OnuInformationConfigDTOMatchStatus) Valid ¶
func (e OnuInformationConfigDTOMatchStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOMatchStatus enum.
type OnuInformationConfigDTOOnlineStatus ¶
type OnuInformationConfigDTOOnlineStatus string
OnuInformationConfigDTOOnlineStatus Online status should be a value as follows:ONLINE,OFFLINE
const ( OnuInformationConfigDTOOnlineStatusFAILED OnuInformationConfigDTOOnlineStatus = "FAILED" OnuInformationConfigDTOOnlineStatusOFFLINE OnuInformationConfigDTOOnlineStatus = "OFFLINE" OnuInformationConfigDTOOnlineStatusONLINE OnuInformationConfigDTOOnlineStatus = "ONLINE" OnuInformationConfigDTOOnlineStatusSUCCESSFUL OnuInformationConfigDTOOnlineStatus = "SUCCESSFUL" OnuInformationConfigDTOOnlineStatusUPGRADING OnuInformationConfigDTOOnlineStatus = "UPGRADING" OnuInformationConfigDTOOnlineStatusWAITINGUPGRADE OnuInformationConfigDTOOnlineStatus = "WAITING_UPGRADE" )
Defines values for OnuInformationConfigDTOOnlineStatus.
func (OnuInformationConfigDTOOnlineStatus) Valid ¶
func (e OnuInformationConfigDTOOnlineStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOOnlineStatus enum.
type OpenApiDispatchLogDetailVO ¶
type OpenApiDispatchLogDetailVO struct {
// AttemptNumber Webhook Attempt Number
AttemptNumber *int32 `json:"attemptNumber,omitempty"`
// Content Webhook Push Content
Content *string `json:"content,omitempty"`
// Headers Http Headers of Webhook Push
Headers *string `json:"headers,omitempty"`
}
OpenApiDispatchLogDetailVO Dispatch Log Detail
type OpenApiWebhookAttemptMessageVO ¶
type OpenApiWebhookAttemptMessageVO struct {
// AttemptTime Webhook Attempt Push Time, Unit (ms)
AttemptTime *int64 `json:"attemptTime,omitempty"`
// MessageCode Http Message Code of Webhook Attempt Push
MessageCode *int32 `json:"messageCode,omitempty"`
// Status Webhook Attempt Push Status: 0/1 (Success/Failed)
Status *int32 `json:"status,omitempty"`
}
OpenApiWebhookAttemptMessageVO Attempt Message of Dispatch Log Detail
type OpenApiWebhookDispatchLogVO ¶
type OpenApiWebhookDispatchLogVO struct {
// AttemptMessages Attempt Message of Dispatch Log Detail
AttemptMessages *[]OpenApiWebhookAttemptMessageVO `json:"attemptMessages,omitempty"`
// DispatchDetail Dispatch Log Detail
DispatchDetail *OpenApiDispatchLogDetailVO `json:"dispatchDetail,omitempty"`
// DispatchMessage Dispatch Log Message
DispatchMessage *OpenApiWebhookLogMessageVO `json:"dispatchMessage,omitempty"`
}
OpenApiWebhookDispatchLogVO defines model for OpenApiWebhookDispatchLogVO.
type OpenApiWebhookLogMessageVO ¶
type OpenApiWebhookLogMessageVO struct {
// DispatchTime Webhook Dispatch Log Time, Unit (ms)
DispatchTime *int64 `json:"dispatchTime,omitempty"`
// Url Webhook URL
Url *string `json:"url,omitempty"`
// WebhookMessage Webhook Message
WebhookMessage *OpenApiWebhookMessageVO `json:"webhookMessage,omitempty"`
}
OpenApiWebhookLogMessageVO Dispatch Log Message
type OpenApiWebhookMessageVO ¶
type OpenApiWebhookMessageVO struct {
// MessageCode Http Message Code of Webhook Push
MessageCode *int32 `json:"messageCode,omitempty"`
// Status Webhook Push Status. It should be a value as follows: 0: Success; 1: Failed
Status *int32 `json:"status,omitempty"`
}
OpenApiWebhookMessageVO Webhook Message
type OpenApiWebhookSettingAddVO ¶
type OpenApiWebhookSettingAddVO struct {
// Name Webhook name. It should contain 1 to 128 characters.
Name string `json:"name"`
// RetryPolicy Webhook retry policy. It should be a value as follows: 0:None, 1:Important (Up to 5 retries over 60 minutes), 2:Critical (Up to 5 retries over 24 hours)
RetryPolicy int32 `json:"retryPolicy"`
// ShardedSecret Webhook Sharded Secret. It should contain 0 to 128 characters.
ShardedSecret *string `json:"shardedSecret,omitempty"`
// Template Webhook template, it should be a value as follow: 0:Omada template, 1:Google chat template. Example: 0.
Template int32 `json:"template"`
// UrlList Webhook URL List. Up to 3 entries are allowed for the URL list
//
// Example: [http(s)://webhook.site/4a566f9e-0b77-42e2-9a34-a78]
UrlList []string `json:"urlList"`
}
OpenApiWebhookSettingAddVO defines model for OpenApiWebhookSettingAddVO.
type OpenApiWebhookSettingEditVO ¶
type OpenApiWebhookSettingEditVO struct {
// RetryPolicy Webhook retry policy. It should be a value as follows: 0:None, 1:Important (Up to 5 retries over 60 minutes), 2:Critical (Up to 5 retries over 24 hours)
RetryPolicy int32 `json:"retryPolicy"`
// ShardedSecret Webhook Sharded Secret. It should contain 0 to 128 characters.
ShardedSecret *string `json:"shardedSecret,omitempty"`
// Template Webhook template, it should be a value as follow: 0:Omada template, 1:Google chat template. Example: 0.
Template int32 `json:"template"`
// UrlList Webhook URL List. Up to 3 entries are allowed for the URL list
//
// Example: [http(s)://webhook.site/4a566f9e-0b77-42e2-9a34-a78]
UrlList []string `json:"urlList"`
}
OpenApiWebhookSettingEditVO defines model for OpenApiWebhookSettingEditVO.
type OpenApiWebhookSettingTestVO ¶
type OpenApiWebhookSettingTestVO struct {
// Name Webhook name. It should contain 1 to 128 characters.
Name string `json:"name"`
// ShardedSecret Webhook Sharded Secret. It should contain 0 to 128 characters.
ShardedSecret *string `json:"shardedSecret,omitempty"`
// Template Webhook template, it should be a value as follow: 0:Omada template, 1:Google chat template. Example: 0.
Template int32 `json:"template"`
// UrlList Webhook URL List. Up to 3 entries are allowed for the URL list
//
// Example: [http(s)://webhook.site/4a566f9e-0b77-42e2-9a34-a78]
UrlList []string `json:"urlList"`
}
OpenApiWebhookSettingTestVO defines model for OpenApiWebhookSettingTestVO.
type OperationResponse ¶
type OperationResponse struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *map[string]interface{} `json:"result,omitempty"`
}
OperationResponse defines model for OperationResponse.
type OperationResponseAlertLogGridVOAlertLogOpenApiVO ¶
type OperationResponseAlertLogGridVOAlertLogOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *AlertLogGridVOAlertLogOpenApiVO `json:"result,omitempty"`
}
OperationResponseAlertLogGridVOAlertLogOpenApiVO defines model for OperationResponseAlertLogGridVOAlertLogOpenApiVO.
type OperationResponseAuditLogNotificationSettingOpenApiVO ¶
type OperationResponseAuditLogNotificationSettingOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *AuditLogNotificationSettingOpenApiVO `json:"result,omitempty"`
}
OperationResponseAuditLogNotificationSettingOpenApiVO defines model for OperationResponseAuditLogNotificationSettingOpenApiVO.
type OperationResponseCliConfigOpenApiVO ¶
type OperationResponseCliConfigOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
// Result Get the CLI configuration entry
Result *CliConfigOpenApiVO `json:"result,omitempty"`
}
OperationResponseCliConfigOpenApiVO defines model for OperationResponseCliConfigOpenApiVO.
type OperationResponseCliConfigTemplateOpenApiVO ¶
type OperationResponseCliConfigTemplateOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
// Result Get the CLI template configuration entry
Result *CliConfigTemplateOpenApiVO `json:"result,omitempty"`
}
OperationResponseCliConfigTemplateOpenApiVO defines model for OperationResponseCliConfigTemplateOpenApiVO.
type OperationResponseCustomerRemoteLogTipOpenApiVO ¶
type OperationResponseCustomerRemoteLogTipOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *CustomerRemoteLogTipOpenApiVO `json:"result,omitempty"`
}
OperationResponseCustomerRemoteLogTipOpenApiVO defines model for OperationResponseCustomerRemoteLogTipOpenApiVO.
type OperationResponseEventLogGridVOEventLogOpenApiVO ¶
type OperationResponseEventLogGridVOEventLogOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *EventLogGridVOEventLogOpenApiVO `json:"result,omitempty"`
}
OperationResponseEventLogGridVOEventLogOpenApiVO defines model for OperationResponseEventLogGridVOEventLogOpenApiVO.
type OperationResponseGridVOApOverrideAuditLogVO ¶
type OperationResponseGridVOApOverrideAuditLogVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOApOverrideAuditLogVO `json:"result,omitempty"`
}
OperationResponseGridVOApOverrideAuditLogVO defines model for OperationResponseGridVOApOverrideAuditLogVO.
type OperationResponseGridVOAuditLogOpenApiVO ¶
type OperationResponseGridVOAuditLogOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOAuditLogOpenApiVO `json:"result,omitempty"`
}
OperationResponseGridVOAuditLogOpenApiVO defines model for OperationResponseGridVOAuditLogOpenApiVO.
type OperationResponseGridVOCliTemplateOpenApiVO ¶
type OperationResponseGridVOCliTemplateOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOCliTemplateOpenApiVO `json:"result,omitempty"`
}
OperationResponseGridVOCliTemplateOpenApiVO defines model for OperationResponseGridVOCliTemplateOpenApiVO.
type OperationResponseGridVOCliVO ¶
type OperationResponseGridVOCliVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOCliVO `json:"result,omitempty"`
}
OperationResponseGridVOCliVO defines model for OperationResponseGridVOCliVO.
type OperationResponseGridVOOpenApiWebhookDispatchLogVO ¶
type OperationResponseGridVOOpenApiWebhookDispatchLogVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOOpenApiWebhookDispatchLogVO `json:"result,omitempty"`
}
OperationResponseGridVOOpenApiWebhookDispatchLogVO defines model for OperationResponseGridVOOpenApiWebhookDispatchLogVO.
type OperationResponseImportCliVarOpenApiVO ¶
type OperationResponseImportCliVarOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *ImportCliVarOpenApiVO `json:"result,omitempty"`
}
OperationResponseImportCliVarOpenApiVO defines model for OperationResponseImportCliVarOpenApiVO.
type OperationResponseListCliDeviceListVO ¶
type OperationResponseListCliDeviceListVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]CliDeviceListVO `json:"result,omitempty"`
}
OperationResponseListCliDeviceListVO defines model for OperationResponseListCliDeviceListVO.
type OperationResponseListModelAndModelVersionVO ¶
type OperationResponseListModelAndModelVersionVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]ModelAndModelVersionVO `json:"result,omitempty"`
}
OperationResponseListModelAndModelVersionVO defines model for OperationResponseListModelAndModelVersionVO.
type OperationResponseListSupportCliDeviceVO ¶
type OperationResponseListSupportCliDeviceVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]SupportCliDeviceVO `json:"result,omitempty"`
}
OperationResponseListSupportCliDeviceVO defines model for OperationResponseListSupportCliDeviceVO.
type OperationResponseListWebhookSetting ¶
type OperationResponseListWebhookSetting struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]WebhookSetting `json:"result,omitempty"`
}
OperationResponseListWebhookSetting defines model for OperationResponseListWebhookSetting.
type OperationResponseLogNotificationSettingOpenApiVO ¶
type OperationResponseLogNotificationSettingOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *LogNotificationSettingOpenApiVO `json:"result,omitempty"`
}
OperationResponseLogNotificationSettingOpenApiVO defines model for OperationResponseLogNotificationSettingOpenApiVO.
type OperationResponseSiteRemoteLoggingSetting ¶
type OperationResponseSiteRemoteLoggingSetting struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
// Result Site remote logging setting.
Result *SiteRemoteLoggingSetting `json:"result,omitempty"`
}
OperationResponseSiteRemoteLoggingSetting defines model for OperationResponseSiteRemoteLoggingSetting.
type OperationResponseWithoutResult ¶
type OperationResponseWithoutResult struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
}
OperationResponseWithoutResult defines model for OperationResponseWithoutResult.
type OswBandCtrlLimitRangeVO ¶
type OswBandCtrlLimitRangeVO struct {
// MaxEgressRate max egress rate
MaxEgressRate *int32 `json:"maxEgressRate,omitempty"`
// MaxIngressRate max ingress rate
MaxIngressRate *int32 `json:"maxIngressRate,omitempty"`
// MinEgressRate min egress rate
MinEgressRate *int32 `json:"minEgressRate,omitempty"`
// MinIngressRate min ingress rate
MinIngressRate *int32 `json:"minIngressRate,omitempty"`
// Unit unit: 1: kbps, 2: mbps
Unit *int32 `json:"unit,omitempty"`
}
OswBandCtrlLimitRangeVO The limit range of the bandwidth control
type OswBandCtrlVO ¶
type OswBandCtrlVO struct {
// EgressEnable Indicates whether egress is enabled
EgressEnable bool `json:"egressEnable"`
// EgressLimit Egress Limit, when the user-configured value is much larger than the actual maximum value, the device will process it at the maximum value
EgressLimit *int32 `json:"egressLimit,omitempty"`
// EgressUnit Egress Unit should be a value as follows: 1: Kbps; 2: Mbps
EgressUnit *int32 `json:"egressUnit,omitempty"`
// IngressEnable Indicates whether egress is enabled
IngressEnable bool `json:"ingressEnable"`
// IngressLimit Ingress Limit, when the user-configured value is much larger than the actual maximum value, the device will process it at the maximum value
IngressLimit *int32 `json:"ingressLimit,omitempty"`
// IngressUnit Ingress Unit should be a value as follows: 1: Kbps; 2: Mbps
IngressUnit *int32 `json:"ingressUnit,omitempty"`
// LimitRange The limit range of the bandwidth control
LimitRange *[]OswBandCtrlLimitRangeVO `json:"limitRange,omitempty"`
// UnitSupport The supported units of the bandwidth control, 1: Kbps; 2: Mbps
UnitSupport *[]int32 `json:"unitSupport,omitempty"`
}
OswBandCtrlVO Speed Limit
type OswDataVO ¶
type OswDataVO struct {
// DhcpSnoopPorts The ports dhcp snooping selected.
DhcpSnoopPorts *[]PortVO `json:"dhcpSnoopPorts,omitempty"`
// Lags Lag List
Lags *[]OswLagVO `json:"lags,omitempty"`
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// Name Device name,default value is the mac address of device
Name *string `json:"name,omitempty"`
// NetworkNotAssociatedLags The lags not associated with network.
NetworkNotAssociatedLags *[]int32 `json:"networkNotAssociatedLags,omitempty"`
// NetworkNotAssociatedStandardPorts The ports not associated with network.
NetworkNotAssociatedStandardPorts *[]OswStandPortVO `json:"networkNotAssociatedStandardPorts,omitempty"`
// PortNum The number of ports of one device.
PortNum *int32 `json:"portNum,omitempty"`
// Ports Port List
Ports *[]OswPortVO `json:"ports,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
// StackId Stack Id
StackId *string `json:"stackId,omitempty"`
// StackName Stack name
StackName *string `json:"stackName,omitempty"`
// StackOswData stackOswData
StackOswData *OswStackDataVOOswDataVO `json:"stackOswData,omitempty"`
// Status Status of device,status should be a value as follows: 0:Disconnected;1:Disconnected(Migrating);10:Provisioning;11:Configuring;12:Upgrading;13:Rebooting;14:Connected;15:Connected(Wireless);16:Connected(Migrating);17:Connected(Wireless,Migrating);20:Pending;21:Pending(Wireless);22:Adopting;23:Adopting(Wireless);24:Adopt Failed;25:Adopt Failed(Wireless);26:Managed By Others;27:Managed By Others(Wireless);30:Heartbeat Missed;31:Heartbeat Missed(Wireless);32:Heartbeat Missed(Migrating);33:Heartbeat Missed(Wireless,Migrating);40:Isolated;41:Isolated(Migrating);50:Slice Configuring
Status *int32 `json:"status,omitempty"`
// Type Device type:ap、gateway、switch、olt
Type *string `json:"type,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
// Unit Unit
Unit *int32 `json:"unit,omitempty"`
// Uplink Uplink Omada device
Uplink *OswUplinkVO `json:"uplink,omitempty"`
}
OswDataVO defines model for OswDataVO.
type OswDevCapVO ¶
type OswDevCapVO struct {
// ArpTableSupport Arp Table Support
ArpTableSupport *bool `json:"arpTableSupport,omitempty"`
// CableTestSupport Cable Test Support
CableTestSupport *bool `json:"cableTestSupport,omitempty"`
// CliSupport CLI Support
CliSupport *bool `json:"cliSupport,omitempty"`
// CustomDhcpOptionSupport Custom DHCP Option Support
CustomDhcpOptionSupport *bool `json:"customDhcpOptionSupport,omitempty"`
// DdmSupport DDM Support
DdmSupport *bool `json:"ddmSupport,omitempty"`
// DhcpL2RelaySupport Dhcp L2 Relay Support
DhcpL2RelaySupport *bool `json:"dhcpL2RelaySupport,omitempty"`
// DhcpManualBindNum DHCP Manual Bind Num
DhcpManualBindNum *int32 `json:"dhcpManualBindNum,omitempty"`
// DhcpRangeSupport Whether the device supports DHCP server address pool
DhcpRangeSupport *bool `json:"dhcpRangeSupport,omitempty"`
// DhcpRelayIfNum DHCP Relay Interface Num
DhcpRelayIfNum *int32 `json:"dhcpRelayIfNum,omitempty"`
// DhcpReservationSupport Whether the device supports DHCP reservation
DhcpReservationSupport *bool `json:"dhcpReservationSupport,omitempty"`
// DhcpServerPoolNum DHCP Server Pool Num
DhcpServerPoolNum *int32 `json:"dhcpServerPoolNum,omitempty"`
// DnsLoopUpSupport DNS Loop Up Support
DnsLoopUpSupport *bool `json:"dnsLoopUpSupport,omitempty"`
// DomainPingSupport Domain Ping Support
DomainPingSupport *bool `json:"domainPingSupport,omitempty"`
// DomainTraceRouteSupport Domain Trace Route Support
DomainTraceRouteSupport *bool `json:"domainTraceRouteSupport,omitempty"`
// EeeSupport eee Support
EeeSupport *bool `json:"eeeSupport,omitempty"`
// EsQosSupport Agile Series Switch QoS Support
EsQosSupport *bool `json:"esQosSupport,omitempty"`
// EsStpExtendSupport ES STP Extend Support
EsStpExtendSupport *bool `json:"esStpExtendSupport,omitempty"`
// FecSupport FEC Support
FecSupport *bool `json:"fecSupport,omitempty"`
// FlowControlSupport FlowControl Support
FlowControlSupport *bool `json:"flowControlSupport,omitempty"`
// GponSupport Gpon Support
GponSupport *bool `json:"gponSupport,omitempty"`
// IgmpFastLeaveSupport Igmp FastLeve Support
IgmpFastLeaveSupport *bool `json:"igmpFastLeaveSupport,omitempty"`
// IpcDetectSupport IPC Detect Support
IpcDetectSupport *bool `json:"ipcDetectSupport,omitempty"`
// Ipv4StaticRouteNum IPv4 Static Route Num
Ipv4StaticRouteNum *int32 `json:"ipv4StaticRouteNum,omitempty"`
// Ipv6StaticRouteNum IPv6 Static Route Num
Ipv6StaticRouteNum *int32 `json:"ipv6StaticRouteNum,omitempty"`
// JumboOddSupport Jumbo Odd Support
JumboOddSupport *bool `json:"jumboOddSupport,omitempty"`
// JumboSupport Jumbo Support
JumboSupport *bool `json:"jumboSupport,omitempty"`
// LagCap Capability of lag
LagCap *LagCapVO `json:"lagCap,omitempty"`
// LocatePortSupport Locate port Support
LocatePortSupport *bool `json:"locatePortSupport,omitempty"`
// LoopbackInterfaceCreateSupport Loopback Interface Create Support
LoopbackInterfaceCreateSupport *bool `json:"loopbackInterfaceCreateSupport,omitempty"`
// LoopbackInterfaceSupport Loopback Interface Support
LoopbackInterfaceSupport *bool `json:"loopbackInterfaceSupport,omitempty"`
// LoopbackVlanBasedSupport Loopback Detect Vlan Based Support
LoopbackVlanBasedSupport *bool `json:"loopbackVlanBasedSupport,omitempty"`
// MaxLagMember Max Lacp Member
MaxLagMember *int32 `json:"maxLagMember,omitempty"`
// MaxLagNum Max Lag Num
MaxLagNum *int32 `json:"maxLagNum,omitempty"`
// MaxMirrorGroup Max Mirror Group
MaxMirrorGroup *int32 `json:"maxMirrorGroup,omitempty"`
// MaxMirroredPort Max Mirrored Port
MaxMirroredPort *int32 `json:"maxMirroredPort,omitempty"`
// MaxRelayServerNum Max DHCP relay server num
MaxRelayServerNum *int32 `json:"maxRelayServerNum,omitempty"`
// MaxStackGroupNumber Max Stack Group Number
MaxStackGroupNumber *int32 `json:"maxStackGroupNumber,omitempty"`
// MaxStackUnitNumber Max Stack Unit Number
MaxStackUnitNumber *int32 `json:"maxStackUnitNumber,omitempty"`
// MirrorSupport Mirror Support
MirrorSupport *bool `json:"mirrorSupport,omitempty"`
// MlagGroupId MLAG Group ID
MlagGroupId *int32 `json:"mlagGroupId,omitempty"`
// MlagVersion MLAG Version
MlagVersion *string `json:"mlagVersion,omitempty"`
// MstpGetActiveSupport MSTP Get Active Support
MstpGetActiveSupport *bool `json:"mstpGetActiveSupport,omitempty"`
// MstpInsNo Mstp Max InstanceId
MstpInsNo *int32 `json:"mstpInsNo,omitempty"`
// MstpInsNum Mstp Instance Num
MstpInsNum *int32 `json:"mstpInsNum,omitempty"`
// MstpPortSupport MSTP Port Support
MstpPortSupport *bool `json:"mstpPortSupport,omitempty"`
// MtuInVlanSupport MTU In VLAN Support
MtuInVlanSupport *bool `json:"mtuInVlanSupport,omitempty"`
// NeedFullSync Need full sync
NeedFullSync *bool `json:"needFullSync,omitempty"`
// NetworkCheckSupport Network Check Support
NetworkCheckSupport *bool `json:"networkCheckSupport,omitempty"`
// OspfAutoCostRefSupport OSPF Process Auto-Cost Reference Bandwidth Support
OspfAutoCostRefSupport *bool `json:"ospfAutoCostRefSupport,omitempty"`
// OspfDeadIntervalSupport OSPF Dead Interval Support
OspfDeadIntervalSupport *bool `json:"ospfDeadIntervalSupport,omitempty"`
// OspfPassiveSupport OSPF Interface Passive Support
OspfPassiveSupport *bool `json:"ospfPassiveSupport,omitempty"`
// OspfSupport OSPF Support
OspfSupport *bool `json:"ospfSupport,omitempty"`
// OuiBasedVlanESSupport Oui Based Vlan Support
OuiBasedVlanESSupport *bool `json:"ouiBasedVlanESSupport,omitempty"`
// OuiBasedVlanSupport Oui Based Vlan Support
OuiBasedVlanSupport *bool `json:"ouiBasedVlanSupport,omitempty"`
// PacketCaptureSupport Packet Capture Support
PacketCaptureSupport *bool `json:"packetCaptureSupport,omitempty"`
// PingSupport Ping Support
PingSupport *bool `json:"pingSupport,omitempty"`
// PmtudSupport Path MTU Discovery Support
PmtudSupport *bool `json:"pmtudSupport,omitempty"`
// PoePortNum Poe Port Num
PoePortNum *int32 `json:"poePortNum,omitempty"`
// PoeSupport Poe Support
PoeSupport *bool `json:"poeSupport,omitempty"`
// QosForVlanSupport Qos for Vlan Support
QosForVlanSupport *bool `json:"qosForVlanSupport,omitempty"`
// QosSupport QoS Support
QosSupport *bool `json:"qosSupport,omitempty"`
// RpvstExtendSupport RPVST Extend Support
RpvstExtendSupport *bool `json:"rpvstExtendSupport,omitempty"`
// RpvstInsNum Max Rpvst Instance Num
RpvstInsNum *int32 `json:"rpvstInsNum,omitempty"`
// SfpBeginNum SFP Begin Num
SfpBeginNum *int32 `json:"sfpBeginNum,omitempty"`
// SfpNum SFP Num
SfpNum *int32 `json:"sfpNum,omitempty"`
// SnmpSupport SNMP Support
SnmpSupport *bool `json:"snmpSupport,omitempty"`
// StackPortCap Stack Port Capability
StackPortCap *map[string][]string `json:"stackPortCap,omitempty"`
// StaticRouteNum Static Route Num
StaticRouteNum *int32 `json:"staticRouteNum,omitempty"`
// StkVer Stack Version
StkVer *string `json:"stkVer,omitempty"`
// StkableGroupId Stackable Group ID
StkableGroupId *int32 `json:"stkableGroupId,omitempty"`
// StormRateModeSupport StormControl RateMode Support
StormRateModeSupport *bool `json:"stormRateModeSupport,omitempty"`
// StpExtendSupport STP Extend Support
StpExtendSupport *bool `json:"stpExtendSupport,omitempty"`
// StpSupport STP Support
StpSupport *bool `json:"stpSupport,omitempty"`
// SupportArpDetect Whether support arp detect
SupportArpDetect *bool `json:"supportArpDetect,omitempty"`
// SupportBt Support Poe Bt
SupportBt *bool `json:"supportBt,omitempty"`
// SupportClearCounters Whether the device supports clear counters
SupportClearCounters *bool `json:"supportClearCounters,omitempty"`
// SupportConfigSync Whether the device supports config sync
SupportConfigSync *bool `json:"supportConfigSync,omitempty"`
// SupportDhcpSnoop Whether support dhcp snoop
SupportDhcpSnoop *bool `json:"supportDhcpSnoop,omitempty"`
// SupportEsHealth Whether the device supports ES health check
SupportEsHealth *bool `json:"supportEsHealth,omitempty"`
// SupportEsMulticast Whether Agile Series Switch support multicast
SupportEsMulticast *bool `json:"supportEsMulticast,omitempty"`
// SupportFan Support Fan
SupportFan *bool `json:"supportFan,omitempty"`
// SupportGetDhcpClientTable Whether the device supports getting DHCP client table via get message
SupportGetDhcpClientTable *bool `json:"supportGetDhcpClientTable,omitempty"`
// SupportGetDhcpServerInfo Whether the device supports getting DHCP server info via get message
SupportGetDhcpServerInfo *bool `json:"supportGetDhcpServerInfo,omitempty"`
// SupportGetOspfNeighborTable Whether the device supports getting OSPF neighbor table via get message
SupportGetOspfNeighborTable *bool `json:"supportGetOspfNeighborTable,omitempty"`
// SupportGetVlanIfInfo Whether the device supports getting VLAN interface info via get message
SupportGetVlanIfInfo *bool `json:"supportGetVlanIfInfo,omitempty"`
// SupportImpb Whether support impb
SupportImpb *bool `json:"supportImpb,omitempty"`
// SupportLayout Whether the device supports reporting port layout information.
SupportLayout *bool `json:"supportLayout,omitempty"`
// SupportMad Whether the device supports MAD
SupportMad *bool `json:"supportMad,omitempty"`
// SupportMlag Whether the device supports MLAG
SupportMlag *bool `json:"supportMlag,omitempty"`
// SupportMulticast Whether support multicast
SupportMulticast *bool `json:"supportMulticast,omitempty"`
// SupportRelayMultiServer Whether the device supports DHCP relay multi Server
SupportRelayMultiServer *bool `json:"supportRelayMultiServer,omitempty"`
// SupportRunningConfig Whether the device supports showing running config
SupportRunningConfig *bool `json:"supportRunningConfig,omitempty"`
// SupportSdm Whether the device supports SDM
SupportSdm *bool `json:"supportSdm,omitempty"`
// SupportTpclResInfo Whether the device supports returning TPCL resource information
SupportTpclResInfo *bool `json:"supportTpclResInfo,omitempty"`
// SupportVrf Whether the device supports VRF
SupportVrf *bool `json:"supportVrf,omitempty"`
// TerminalSupport Terminal Support
TerminalSupport *bool `json:"terminalSupport,omitempty"`
// TracerouteSupport Traceroute Support
TracerouteSupport *bool `json:"tracerouteSupport,omitempty"`
// UplinkSupport Uplink Support
UplinkSupport *bool `json:"uplinkSupport,omitempty"`
// VlanIfNum Vlan Interface Num
VlanIfNum *int32 `json:"vlanIfNum,omitempty"`
// VoiceDscpSupport Voice DSCP Support
VoiceDscpSupport *bool `json:"voiceDscpSupport,omitempty"`
// VoiceNetworkSupport Voice Network Support
VoiceNetworkSupport *bool `json:"voiceNetworkSupport,omitempty"`
// VrfNum VRF Num
VrfNum *int32 `json:"vrfNum,omitempty"`
// VrrpSupport Vrrp Support
VrrpSupport *bool `json:"vrrpSupport,omitempty"`
}
OswDevCapVO Capability of device
type OswFecCapVO ¶
type OswFecCapVO struct {
// FecMode FEC mode, 0 - reserved, 1 - FEC-OFF, 2 - FEC-RS528, 3 - FEC-RS544, 4 - FEC-AUTO, 5 - FEC-BASER
FecMode *int32 `json:"fecMode,omitempty"`
// LinkSpeed speed of the link
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
}
OswFecCapVO All LinkSpeed&FECMode combinations supported by the port
type OswLagStatusVO ¶
type OswLagStatusVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// LagId Lag ID
LagId *int32 `json:"lagId,omitempty"`
// LagType LagType should be a value as follows: 1: static; 2: LACP
LagType *int32 `json:"lagType,omitempty"`
// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2.5G; 5: 10G
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LinkStatus Link Status should be a value as follows: 1: link up; 0: link down
LinkStatus *int32 `json:"linkStatus,omitempty"`
// Name Lag name
Name *string `json:"name,omitempty"`
// Ports Ports member
Ports *[]int32 `json:"ports,omitempty"`
// Rx Rx
Rx *int64 `json:"rx,omitempty"`
// RxRate Rx Rate
RxRate *int64 `json:"rxRate,omitempty"`
// StandardPorts Standard Ports
StandardPorts *[]OswStandPortVO `json:"standardPorts,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// TrunkState LACP state
TrunkState *int32 `json:"trunkState,omitempty"`
// Tx Tx
Tx *int64 `json:"tx,omitempty"`
// TxRate Tx Rate
TxRate *int64 `json:"txRate,omitempty"`
}
OswLagStatusVO Lag Status
type OswLagVO ¶
type OswLagVO struct {
// AllAggregatingPorts All aggregating ports of the current Switch
AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`
// AllMirroredPorts All mirrored ports on the Switch
AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`
// AllMirroringPorts All mirroring ports of the current Switch
AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`
// AllMlagDadPorts All ports configured with M-LAG DAD on the current Switch
AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`
// AllMlagPeerLinkPorts All ports configured with M-LAG PeerLink on the current Switch
AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`
// BandCtrl Speed Limit
BandCtrl *OswBandCtrlVO `json:"bandCtrl,omitempty"`
// BandWidthCtrlType BandWidthCtrlType should be a value as follows: 0: Off; 1: Rate Limit; 2: Storming Control
BandWidthCtrlType *int32 `json:"bandWidthCtrlType,omitempty"`
// DhcpL2RelaySettings Dhcp L2 Relay Setting
DhcpL2RelaySettings *OswPortDhcpL2RelayVO `json:"dhcpL2RelaySettings,omitempty"`
// Disable Indicates whether to disable
Disable *bool `json:"disable,omitempty"`
// Dot1pPriority Dot1p Priority
Dot1pPriority *int32 `json:"dot1pPriority,omitempty"`
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// EeeEnable Indicates whether EEE is enabled
EeeEnable *bool `json:"eeeEnable,omitempty"`
// EsEnableAllProfileCanAdd Indicates whether es enable of all profile can continue to add VLANs
EsEnableAllProfileCanAdd *bool `json:"esEnableAllProfileCanAdd,omitempty"`
// EsQosSupport Indicates whether the ES device port supports modification of QoS configuration
EsQosSupport *bool `json:"esQosSupport,omitempty"`
// FastLeaveEnable Indicates whether igmpSnooping fastLeave is enabled
FastLeaveEnable *bool `json:"fastLeaveEnable,omitempty"`
// FlowControlEnable Indicates whether flow control is enabled
FlowControlEnable *bool `json:"flowControlEnable,omitempty"`
// Id ID
Id *string `json:"id,omitempty"`
// IgmpFastLeaveEnable Indicates whether igmp fast leave is enabled
IgmpFastLeaveEnable *bool `json:"igmpFastLeaveEnable,omitempty"`
// IgmpSnoopingEnable Indicates whether IGMP Snooping is enabled
IgmpSnoopingEnable *bool `json:"igmpSnoopingEnable,omitempty"`
// LagId Lag ID
LagId *int32 `json:"lagId,omitempty"`
// LagStatus Lag Status
LagStatus *OswLagStatusVO `json:"lagStatus,omitempty"`
// LagType Lag Type should be a value as follows: 1: STATIC; 2: LACP; 3: LACP ACTIVE; 4: LACP PASSIVE
LagType *int32 `json:"lagType,omitempty"`
// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2.5G; 5: 10G
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LocateEnable Whether locate function is enabled
LocateEnable *bool `json:"locateEnable,omitempty"`
// LoopbackDetectEnable Indicates whether loopbackDetect port based is enabled
LoopbackDetectEnable *bool `json:"loopbackDetectEnable,omitempty"`
// LoopbackDetectVlanBasedEnable Indicates whether loopbackDetect vlan based is enabled
LoopbackDetectVlanBasedEnable *bool `json:"loopbackDetectVlanBasedEnable,omitempty"`
// MlagEnable Indicates whether M-LAG is enabled
MlagEnable *bool `json:"mlagEnable,omitempty"`
// MlagName M-LAG Name
MlagName *string `json:"mlagName,omitempty"`
// MlagPeerAllPortsConfigInfo Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
MlagPeerAllPortsConfigInfo *OswMlagPeerAllPortsConfigInfoVO `json:"mlagPeerAllPortsConfigInfo,omitempty"`
// MlagPeerSetting M-LAG group peer device setting
MlagPeerSetting *OswMlagPeerSettingVO `json:"mlagPeerSetting,omitempty"`
// MldFastLeaveEnable Indicates whether mld fast leave is enabled
MldFastLeaveEnable *bool `json:"mldFastLeaveEnable,omitempty"`
// Name Lag Name
Name *string `json:"name,omitempty"`
// NativeBridgeVlan Native Network Bridge Vlan.
NativeBridgeVlan *int32 `json:"nativeBridgeVlan,omitempty"`
// NativeNetworkId Native Network ID, Native Network cannot be selected from Tagged Networks or Untagged Networks.
NativeNetworkId *string `json:"nativeNetworkId,omitempty"`
// NetworkConflict Indicates whether the VLAN configuration activated on the port is inconsistent with the VLAN configuration in the Profile.
NetworkConflict *bool `json:"networkConflict,omitempty"`
// NetworkMode Network Mode should be a value as follows: 0: Trunk, 1: Access
NetworkMode *int32 `json:"networkMode,omitempty"`
// NetworkTagsSetting Network Tags Setting should be a value as follows: 0: Allow All; 1: Block All; 2: Custom
NetworkTagsSetting *int32 `json:"networkTagsSetting,omitempty"`
// OuiBasedVlanNetworks Vlans configured in oui based rules.
OuiBasedVlanNetworks *OswPortOuiBasedVlanVO `json:"ouiBasedVlanNetworks,omitempty"`
// PortAlertEnable Indicates whether port alert is enabled
PortAlertEnable *bool `json:"portAlertEnable,omitempty"`
// PortIsolationEnable Indicates whether port isolation is enabled
PortIsolationEnable *bool `json:"portIsolationEnable,omitempty"`
// Ports Lag Ports
Ports *[]int32 `json:"ports,omitempty"`
// ProfileId Profile ID
ProfileId *string `json:"profileId,omitempty"`
// ProfileName Lan Profile Name
ProfileName *string `json:"profileName,omitempty"`
// ProfileOverrideEnable Indicates whether to enable Profile Override before v6.2.10; Indicates the fill mode of port configuration after v6.2.10: true: custom; false: follow profile
ProfileOverrideEnable *bool `json:"profileOverrideEnable,omitempty"`
// ProfileVlanOverrideEnable Indicates the fill mode of vlan configuration: true: custom; false: follow profile
ProfileVlanOverrideEnable *bool `json:"profileVlanOverrideEnable,omitempty"`
// QosQueueEnable Indicates whether the ES device port has enabled the Qos scheduling queue configuration
QosQueueEnable *bool `json:"qosQueueEnable,omitempty"`
// QosSupport Indicates whether qos support is enabled
QosSupport *bool `json:"qosSupport,omitempty"`
// QueueId ES Qos scheduling queue ID
QueueId *int32 `json:"queueId,omitempty"`
// Resource Data Source. Resource should be a value as follows: 0: new created; 1: from template; 2: override
Resource *int32 `json:"resource,omitempty"`
// Site Site
Site *string `json:"site,omitempty"`
// SpanningTreeEnable Indicates whether SpanningTree is enabled
SpanningTreeEnable *bool `json:"spanningTreeEnable,omitempty"`
// SpanningTreeSetting SpanningTree Setting
SpanningTreeSetting *SpanningTreeSettingVO `json:"spanningTreeSetting,omitempty"`
// StPorts Lag StPorts
StPorts *[]string `json:"stPorts,omitempty"`
// StormCtrl Storm Control
StormCtrl *OswStormCtrlVO `json:"stormCtrl,omitempty"`
// SwitchId Switch ID
SwitchId *string `json:"switchId,omitempty"`
// SwitchMac Switch MAC Address
SwitchMac *string `json:"switchMac,omitempty"`
// TagBridgeVlanMap Tag Network Bridge Vlan Map
TagBridgeVlanMap *map[string][]int32 `json:"tagBridgeVlanMap,omitempty"`
// TagIds Lag label ID List
TagIds *[]string `json:"tagIds,omitempty"`
// TagName Lag label Name
TagName *string `json:"tagName,omitempty"`
// TagNetworkIds Tag Network IDs
TagNetworkIds *[]string `json:"tagNetworkIds,omitempty"`
// TrustMode TrustMode should be a value as follows: 0: Untrusted; 1: Trust 802.1p; 2: Trust DSCP
TrustMode *int32 `json:"trustMode,omitempty"`
// UntagBridgeVlanMap Untag Network Bridge Vlan Map
UntagBridgeVlanMap *map[string][]int32 `json:"untagBridgeVlanMap,omitempty"`
// UntagNetworkIds Untag Network IDs
UntagNetworkIds *[]string `json:"untagNetworkIds,omitempty"`
// VoiceBridgeVlan Voice Network Bridge Vlan
VoiceBridgeVlan *int32 `json:"voiceBridgeVlan,omitempty"`
// VoiceDscp Voice DSCP
VoiceDscp *int32 `json:"voiceDscp,omitempty"`
// VoiceDscpEnable Voice DSCP enable status
VoiceDscpEnable *bool `json:"voiceDscpEnable,omitempty"`
// VoiceNetworkEnable Voice network enable status
VoiceNetworkEnable *bool `json:"voiceNetworkEnable,omitempty"`
// VoiceNetworkId Voice Network ID
VoiceNetworkId *string `json:"voiceNetworkId,omitempty"`
}
OswLagVO Including some port configuration information and port real-time status
type OswLinkCapVO ¶
type OswLinkCapVO struct {
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
}
OswLinkCapVO Port Capability
type OswMlagPeerAllPortsConfigInfoVO ¶
type OswMlagPeerAllPortsConfigInfoVO struct {
// AllAggregatingPorts all aggregating ports of M-LAG Peer Switch
AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`
// AllMirroredPorts all mirrored ports of M-LAG Peer Switch
AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`
// AllMirroringPorts all mirroring ports of M-LAG Peer Switch
AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`
// AllMlagDadPorts all M-LAG DAD ports of M-LAG Peer Switch
AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`
// AllMlagPeerLinkPorts all M-LAG PeerLink ports of M-LAG Peer Switch
AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`
}
OswMlagPeerAllPortsConfigInfoVO Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
type OswMlagPeerSettingVO ¶
type OswMlagPeerSettingVO struct {
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// MlagPeerPorts M-LAG group peer device LAG ports
MlagPeerPorts *[]int32 `json:"mlagPeerPorts,omitempty"`
// MlagPeerStandardPorts M-LAG group peer device LAG standard ports
MlagPeerStandardPorts *[]OswStandPortVO `json:"mlagPeerStandardPorts,omitempty"`
}
OswMlagPeerSettingVO M-LAG group peer device setting
type OswPeerPortVO ¶
type OswPeerPortVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// LagId LagId. If it is not null, it indicates that the port is a LAG port
LagId *int32 `json:"lagId,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Port Port
Port *int32 `json:"port,omitempty"`
// Rx Port total rx bytes
Rx *int64 `json:"rx,omitempty"`
// RxRate Port rx Rate
RxRate *int64 `json:"rx Rate,omitempty"`
// StPort Standard Port, unit/slot/port
StPort *string `json:"stPort,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// Tx Port total tx bytes
Tx *int64 `json:"tx,omitempty"`
// TxRate Port tx Rate
TxRate *int64 `json:"tx Rate,omitempty"`
}
OswPeerPortVO Downlink Port Info
type OswPortDhcpL2RelayVO ¶
type OswPortDhcpL2RelayVO struct {
// CircuitId Circuit ID
CircuitId *string `json:"circuitId,omitempty"`
// Enable Enable
Enable *bool `json:"enable,omitempty"`
// Format Format should be a value as follows: 0: Normal; 1: Private
Format *int32 `json:"format,omitempty"`
// RemoteId Remote ID
RemoteId *string `json:"remoteId,omitempty"`
}
OswPortDhcpL2RelayVO Dhcp L2 Relay Setting
type OswPortOuiBasedVlanVO ¶
type OswPortOuiBasedVlanVO struct {
// Networks The network configured in the osw port.
Networks *[]OuiBasedVlanNetworkVO `json:"networks,omitempty"`
}
OswPortOuiBasedVlanVO Vlans configured in oui based rules.
type OswPortSpeedCapVO ¶
type OswPortSpeedCapVO struct {
// LinkSpeed Duplex
LinkSpeed *PortSpeedCapVO `json:"Link Speed,omitempty"`
// Duplex Duplex
Duplex *PortSpeedCapVO `json:"duplex,omitempty"`
}
OswPortSpeedCapVO Port Speed Capability
type OswPortStatusVO ¶
type OswPortStatusVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// ChassisId Chassis ID
ChassisId *string `json:"chassisId,omitempty"`
// ChassisIdSubtype Chassis ID Subtype
ChassisIdSubtype *string `json:"chassisIdSubtype,omitempty"`
// Duplex Duplex should be a value as follows: 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// FecMode The configured FEC Mode
FecMode *int32 `json:"fecMode,omitempty"`
// FecRealMode The actual effective FEC Mode
FecRealMode *int32 `json:"fecRealMode,omitempty"`
// LinkSpeed LinkSpeed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 10Gbps
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LinkStatus LinkStatus should be a value as follows: 0: link down; 1: link up
LinkStatus *int32 `json:"linkStatus,omitempty"`
// Poe Indicates whether PoE power supply is in use
Poe *bool `json:"poe,omitempty"`
// PoePower PoE Power
PoePower *float64 `json:"poePower,omitempty"`
// Port Port Number
Port *int32 `json:"port,omitempty"`
// PortId Port ID
PortId *string `json:"portId,omitempty"`
// PortIdSubtype Port ID Subtype
PortIdSubtype *string `json:"portIdSubtype,omitempty"`
// Rx Rx, in bytes
Rx *int64 `json:"rx,omitempty"`
// RxRate Rx rate, in bit/s
RxRate *int64 `json:"rxRate,omitempty"`
// StkStatus Stk Status
StkStatus *int32 `json:"stkStatus,omitempty"`
// Stp STP Status
Stp *string `json:"stp,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// TrunkState LACP port state
TrunkState *int32 `json:"trunkState,omitempty"`
// Tx Tx, in bytes
Tx *int64 `json:"tx,omitempty"`
// TxRate Tx rate, in bit/s
TxRate *int64 `json:"txRate,omitempty"`
}
OswPortStatusVO Port Status
type OswPortVO ¶
type OswPortVO struct {
// AggregatingPorts Aggregated ports (including this port), non-null only in aggregating mode
AggregatingPorts *[]int32 `json:"aggregatingPorts,omitempty"`
// AllAggregatingPorts All ports in the aggregating state on the Switch
AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`
// AllAggregatingStPorts All aggregating ports of the current Stack
AllAggregatingStPorts *[]OswStandPortVO `json:"allAggregatingStPorts,omitempty"`
// AllMirroredPorts All mirrored ports on the Switch
AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`
// AllMirroredStPorts All mirrored ports of the current Stack
AllMirroredStPorts *[]OswStandPortVO `json:"allMirroredStPorts,omitempty"`
// AllMirroringPorts All ports in the mirroring state on the Switch
AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`
// AllMirroringStPorts All mirroring ports of the current Stack
AllMirroringStPorts *[]OswStandPortVO `json:"allMirroringStPorts,omitempty"`
// AllMlagDadPorts All ports configured with M-LAG DAD on the Switch
AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`
// AllMlagPeerLinkPorts All ports configured with M-LAG PeerLink on the Switch
AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`
// BandCtrl Speed Limit
BandCtrl *OswBandCtrlVO `json:"bandCtrl,omitempty"`
// BandWidthCtrlType BandWidth Control should be a value as follows: 0: Off; 1: Rate Limit; 2: Storming Control
BandWidthCtrlType *int32 `json:"bandWidthCtrlType,omitempty"`
// ConfigMlagDad Indicates whether the port is configured with M-LAG DAD Link
ConfigMlagDad *bool `json:"configMlagDad,omitempty"`
// ConfigMlagPeerLink Indicates whether the port is configured with M-LAG Peer Link
ConfigMlagPeerLink *bool `json:"configMlagPeerLink,omitempty"`
// ConfigStack Indicates whether the current port is configured as a stack port (joined a stack aggregation group)
ConfigStack *bool `json:"configStack,omitempty"`
// DhcpL2RelaySettings Dhcp L2 Relay Setting
DhcpL2RelaySettings *OswPortDhcpL2RelayVO `json:"dhcpL2RelaySettings,omitempty"`
// Disable Indicates whether to disable the port
Disable *bool `json:"disable,omitempty"`
// Dot1pPriority Dot1p Priority
Dot1pPriority *int32 `json:"dot1pPriority,omitempty"`
// Dot1x Dot1x should be a value as follows: 0: Force unauthorized; 1: Force authorized; 2: Auto
Dot1x *int32 `json:"dot1x,omitempty"`
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// EeeEnable Indicates whether EEE is enabled
EeeEnable *bool `json:"eeeEnable,omitempty"`
// EsEnableAllProfileCanAdd Indicates whether es enable of all profile can continue to add VLANs
EsEnableAllProfileCanAdd *bool `json:"esEnableAllProfileCanAdd,omitempty"`
// EsQosSupport Indicates whether the ES device port supports modification of QoS configuration
EsQosSupport *bool `json:"esQosSupport,omitempty"`
// ExtendModeEnable Indicates whether extendMode is enabled
ExtendModeEnable *bool `json:"extendModeEnable,omitempty"`
// ExtendModeSupport Indicates whether extend mode is supported
ExtendModeSupport *bool `json:"extendModeSupport,omitempty"`
// FastLeaveEnable Indicates whether igmpSnooping fastLeave is enabled
FastLeaveEnable *bool `json:"fastLeaveEnable,omitempty"`
// FecCap All LinkSpeed&FECMode combinations supported by the port
FecCap *[]OswFecCapVO `json:"fecCap,omitempty"`
// FecLinkPeerApplyEnable Indicates whether the same FEC mode is applied to the link peer
FecLinkPeerApplyEnable *bool `json:"fecLinkPeerApplyEnable,omitempty"`
// FecMode FEC Mode, sourced from FecModeEnum. 0 - Reserved; 1 - FEC-OFF (Off); 2 - FEC-RS528; 3 - FEC-RS544; 4 - FEC-AUTO; 5 - FEC-BASER
FecMode *int32 `json:"fecMode,omitempty"`
// FecSupport Indicates whether the port supports FEC configuration
FecSupport *bool `json:"fecSupport,omitempty"`
// FlowControlEnable Indicates whether flow control is enabled
FlowControlEnable *bool `json:"flowControlEnable,omitempty"`
// Id ID
Id *string `json:"id,omitempty"`
// IgmpFastLeaveEnable Indicates whether IGMP fast leave is enabled
IgmpFastLeaveEnable *bool `json:"igmpFastLeaveEnable,omitempty"`
// IgmpSnoopingEnable Indicates whether IGMP Snooping is enabled
IgmpSnoopingEnable *bool `json:"igmpSnoopingEnable,omitempty"`
// IsCopper Whether the port is copper when the port is combo.
IsCopper *bool `json:"isCopper,omitempty"`
// LagSetting Including some port configuration information and port real-time status
LagSetting *OswLagVO `json:"lagSetting,omitempty"`
// LagStatus Lag Status
LagStatus *OswLagStatusVO `json:"lagStatus,omitempty"`
// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 10G
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LldpMedEnable Indicates whether LLDP MED is enabled
LldpMedEnable *bool `json:"lldpMedEnable,omitempty"`
// LocateEnable Whether locate function is enabled
LocateEnable *bool `json:"locateEnable,omitempty"`
// LoopbackDetectEnable Indicates whether loopbackDetect port based is enabled
LoopbackDetectEnable *bool `json:"loopbackDetectEnable,omitempty"`
// LoopbackDetectVlanBasedEnable Indicates whether loopbackDetect vlan based is enabled
LoopbackDetectVlanBasedEnable *bool `json:"loopbackDetectVlanBasedEnable,omitempty"`
// MadUsed Mad Used
MadUsed *bool `json:"madUsed,omitempty"`
// MaxSpeed MaxSpeed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 2.5Gbps; 5: 10Gbps
MaxSpeed *int32 `json:"maxSpeed,omitempty"`
// MirroredLags Monitored LAG
MirroredLags *[]MirroredLag `json:"mirroredLags,omitempty"`
// MirroredPorts Monitored Port
MirroredPorts *[]MirroredPort `json:"mirroredPorts,omitempty"`
// MlagPeerAllPortsConfigInfo Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
MlagPeerAllPortsConfigInfo *OswMlagPeerAllPortsConfigInfoVO `json:"mlagPeerAllPortsConfigInfo,omitempty"`
// MldFastLeaveEnable Indicates whether MLD fast leave is enabled
MldFastLeaveEnable *bool `json:"mldFastLeaveEnable,omitempty"`
// Name Port Name
Name *string `json:"name,omitempty"`
// NativeBridgeVlan Native Network Bridge Vlan.
NativeBridgeVlan *int32 `json:"nativeBridgeVlan,omitempty"`
// NativeNetworkId Native Network ID, Native Network cannot be selected from Tagged Networks or Untagged Networks.
NativeNetworkId *string `json:"nativeNetworkId,omitempty"`
// NetworkConflict Indicates whether the VLAN configuration activated on the port is inconsistent with the VLAN configuration in the Profile.
NetworkConflict *bool `json:"networkConflict,omitempty"`
// NetworkMode Network Mode should be a value as follows: 0: Trunk, 1: Access
NetworkMode *int32 `json:"networkMode,omitempty"`
// NetworkTagsSetting Network Tags Setting should be a value as follows: 0: Allow All; 1: Block All; 2: Custom
NetworkTagsSetting *int32 `json:"networkTagsSetting,omitempty"`
// Operation Operation should be a value as follows: SWITCHING; MIRRORING; AGGREGATING
Operation *string `json:"operation,omitempty"`
// OuiBasedVlanNetworks Vlans configured in oui based rules.
OuiBasedVlanNetworks *OswPortOuiBasedVlanVO `json:"ouiBasedVlanNetworks,omitempty"`
// Poe PoE switch should be a value as follows: 0: Off; 1: 802.3at/af
Poe *int32 `json:"poe,omitempty"`
// PoeDisplayType PoeDisplayType should be a value as follows: -1: Not Support POE; 0: Support POE; 1: POE(4W); 2: POE(7W); 3: POE(15.4W); 4: POE+(30W); 5: POE++(45W); 6: POE++(60W); 7: POE++(75W); 8: POE++(90W); 9: POE++(100W).
PoeDisplayType *int32 `json:"poeDisplayType,omitempty"`
// Port Port
Port *int32 `json:"port,omitempty"`
// PortAlertEnable Indicates whether Port Alert is enabled
PortAlertEnable *bool `json:"portAlertEnable,omitempty"`
// PortCap Port Capability
PortCap *[]OswLinkCapVO `json:"portCap,omitempty"`
// PortIsolationEnable Indicates whether port isolation is enabled
PortIsolationEnable *bool `json:"portIsolationEnable,omitempty"`
// PortSpeedCap Port Speed Capability
PortSpeedCap *[]OswPortSpeedCapVO `json:"portSpeedCap,omitempty"`
// PortStatus Port Status
PortStatus *OswPortStatusVO `json:"portStatus,omitempty"`
// ProfileId Lan Profile ID
ProfileId *string `json:"profileId,omitempty"`
// ProfileName Lan Profile Name
ProfileName *string `json:"profileName,omitempty"`
// ProfileOverrideEnable Indicates whether to enable Profile Override before v6.2.10; Indicates the fill mode of port configuration after v6.2.10: true: custom; false: follow profile
ProfileOverrideEnable *bool `json:"profileOverrideEnable,omitempty"`
// ProfileVlanOverrideEnable Indicates the fill mode of vlan configuration: true: custom; false: follow profile
ProfileVlanOverrideEnable *bool `json:"profileVlanOverrideEnable,omitempty"`
// QosQueueEnable Indicates whether the ES device port has enabled the Qos scheduling queue configuration
QosQueueEnable *bool `json:"qosQueueEnable,omitempty"`
// QosSupport Indicates whether the device port supports modifying qos configuration
QosSupport *bool `json:"qosSupport,omitempty"`
// QueueId ES Qos scheduling queue ID
QueueId *int32 `json:"queueId,omitempty"`
// Resource Data Source. Resource should be a value as follows: 0: new created; 1: from template; 2: override
Resource *int32 `json:"resource,omitempty"`
// Site Site to which the port belongs
Site *string `json:"site,omitempty"`
// SpanningTreeEnable Indicates whether SpanningTree is enabled
SpanningTreeEnable *bool `json:"spanningTreeEnable,omitempty"`
// SpanningTreeSetting SpanningTree Setting
SpanningTreeSetting *SpanningTreeSettingVO `json:"spanningTreeSetting,omitempty"`
// Speed Port Speed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 10Gbps
Speed *int32 `json:"speed,omitempty"`
// StackPortsGroupIndex Number of the stacking port aggregation group to join
StackPortsGroupIndex *int32 `json:"stackPortsGroupIndex,omitempty"`
// StandardPort Stack port aggregation group member port
StandardPort *OswStandPortVO `json:"standardPort,omitempty"`
// StormCtrl Storm Control
StormCtrl *OswStormCtrlVO `json:"stormCtrl,omitempty"`
// SupportLocate Whether the port support locate.
SupportLocate *bool `json:"supportLocate,omitempty"`
// SupportPoe Indicates whether PoE is supported
SupportPoe *bool `json:"supportPoe,omitempty"`
// SwitchId Switch ID to which the port belongs
SwitchId *string `json:"switchId,omitempty"`
// SwitchMac Switch Mac to which the port belongs
SwitchMac *string `json:"switchMac,omitempty"`
// TagBridgeVlanMap Tag Network Bridge Vlan Map
TagBridgeVlanMap *map[string][]int32 `json:"tagBridgeVlanMap,omitempty"`
// TagIds Port label ID List
TagIds *[]string `json:"tagIds,omitempty"`
// TagName Port label Name
TagName *string `json:"tagName,omitempty"`
// TagNetworkIds Tag Network IDs
TagNetworkIds *[]string `json:"tagNetworkIds,omitempty"`
// TopoNotifyEnable Indicates whether to enable topology change notification
TopoNotifyEnable *bool `json:"topoNotifyEnable,omitempty"`
// TrustMode TrustMode should be a value as follows: 0: Untrusted; 1: Trust 802.1p; 2: Trust DSCP
TrustMode *int32 `json:"trustMode,omitempty"`
// Type Type should be a value as follows: 1: Copper; 2: Combo; 3: SFP
Type *int32 `json:"type,omitempty"`
// UntagBridgeVlanMap Untag Network Bridge Vlan Map
UntagBridgeVlanMap *map[string][]int32 `json:"untagBridgeVlanMap,omitempty"`
// UntagNetworkIds Untag Network IDs
UntagNetworkIds *[]string `json:"untagNetworkIds,omitempty"`
// UsedFunctions List of functions that use this port
UsedFunctions *[]string `json:"usedFunctions,omitempty"`
// VoiceBridgeVlan Voice Network Bridge Vlan
VoiceBridgeVlan *int32 `json:"voiceBridgeVlan,omitempty"`
// VoiceDscp Voice DSCP
VoiceDscp *int32 `json:"voiceDscp,omitempty"`
// VoiceDscpEnable Voice DSCP enable status
VoiceDscpEnable *bool `json:"voiceDscpEnable,omitempty"`
// VoiceNetworkEnable Voice network enable status
VoiceNetworkEnable *bool `json:"voiceNetworkEnable,omitempty"`
// VoiceNetworkId Voice Network ID
VoiceNetworkId *string `json:"voiceNetworkId,omitempty"`
}
OswPortVO The infos of ports.
type OswStackDataVOOswDataVO ¶
type OswStackDataVOOswDataVO struct {
AbnormalReason *int32 `json:"abnormalReason,omitempty"`
// CustomLagIds The lag ids that has some vlan not included in port vlan.
CustomLagIds *[]int32 `json:"customLagIds,omitempty"`
// CustomStandardPorts The standard ports that has some vlan not included in port vlan.
CustomStandardPorts *[]string `json:"customStandardPorts,omitempty"`
// DevCap Capability of device
DevCap *OswDevCapVO `json:"devCap,omitempty"`
Lags *[]OswLagStatusVO `json:"lags,omitempty"`
MasterMac *string `json:"masterMac,omitempty"`
Member *[]OswDataVO `json:"member,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
StackId *string `json:"stackId,omitempty"`
StackName *string `json:"stackName,omitempty"`
StackStatus *int32 `json:"stackStatus,omitempty"`
SupportAutoAddVlan *bool `json:"supportAutoAddVlan,omitempty"`
SupportCustomDhcpOption *bool `json:"supportCustomDhcpOption,omitempty"`
SupportDhcpRange *bool `json:"supportDhcpRange,omitempty"`
// SupportLayout Whether the device supports reporting port layout information.
SupportLayout *bool `json:"supportLayout,omitempty"`
SupportVrf *bool `json:"supportVrf,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
}
OswStackDataVOOswDataVO stackOswData
type OswStackDataVOSwitchDataVO ¶
type OswStackDataVOSwitchDataVO struct {
AbnormalReason *int32 `json:"abnormalReason,omitempty"`
// CustomLagIds The lag ids that has some vlan not included in port vlan.
CustomLagIds *[]int32 `json:"customLagIds,omitempty"`
// CustomStandardPorts The standard ports that has some vlan not included in port vlan.
CustomStandardPorts *[]string `json:"customStandardPorts,omitempty"`
// DevCap Capability of device
DevCap *OswDevCapVO `json:"devCap,omitempty"`
Lags *[]OswLagStatusVO `json:"lags,omitempty"`
MasterMac *string `json:"masterMac,omitempty"`
Member *[]SwitchDataVO `json:"member,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
StackId *string `json:"stackId,omitempty"`
StackName *string `json:"stackName,omitempty"`
StackStatus *int32 `json:"stackStatus,omitempty"`
SupportAutoAddVlan *bool `json:"supportAutoAddVlan,omitempty"`
SupportCustomDhcpOption *bool `json:"supportCustomDhcpOption,omitempty"`
SupportDhcpRange *bool `json:"supportDhcpRange,omitempty"`
// SupportLayout Whether the device supports reporting port layout information.
SupportLayout *bool `json:"supportLayout,omitempty"`
SupportVrf *bool `json:"supportVrf,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
}
OswStackDataVOSwitchDataVO stackOswData
type OswStandPortVO ¶
type OswStandPortVO struct {
// Port Port
Port int32 `json:"port"`
// Slot Slot
Slot int32 `json:"slot"`
// Unit Unit
Unit int32 `json:"unit"`
}
OswStandPortVO Stack port aggregation group member port
type OswStormCtrlLimitRangeVO ¶
type OswStormCtrlLimitRangeVO struct {
// BroadcastLimitKbps The maximum rate limits for Broadcast(kbps).
BroadcastLimitKbps *int32 `json:"broadcastLimitKbps,omitempty"`
// MulticastLimitKbps The maximum rate limits for Multicast(kbps).
MulticastLimitKbps *int32 `json:"multicastLimitKbps,omitempty"`
// UnknownUnicastLimitKbps The maximum rate limits for Unknown Unicast(kbps).
UnknownUnicastLimitKbps *int32 `json:"unknownUnicastLimitKbps,omitempty"`
}
OswStormCtrlLimitRangeVO The maximum rate limits for Broadcast/Multicast/Unknown Unicast.
type OswStormCtrlVO ¶
type OswStormCtrlVO struct {
// Action Action should be a value as follows: 0: drop; 1: shutdown
Action int32 `json:"action"`
// Broadcast Broadcast
Broadcast *int32 `json:"broadcast,omitempty"`
// BroadcastEnable Indicates whether broadcast is enabled
BroadcastEnable bool `json:"broadcastEnable"`
// LimitRange The maximum rate limits for Broadcast/Multicast/Unknown Unicast.
LimitRange *OswStormCtrlLimitRangeVO `json:"limitRange,omitempty"`
// Multicast Multicast
Multicast *int32 `json:"multicast,omitempty"`
// MulticastEnable Indicates whether multicast is enabled
MulticastEnable bool `json:"multicastEnable"`
// RateMode RateMode should be a value as follows: 0: ratio; 1: kbps
RateMode *int32 `json:"rateMode,omitempty"`
// RecoverTime Recover Time
RecoverTime *int32 `json:"recoverTime,omitempty"`
// UnknownUnicast Unknown Unicast
UnknownUnicast *int32 `json:"unknownUnicast,omitempty"`
// UnknownUnicastEnable Indicates whether unknown unicast is enabled
UnknownUnicastEnable bool `json:"unknownUnicastEnable"`
}
OswStormCtrlVO Storm Control
type OswUplinkVO ¶
type OswUplinkVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// HwVersion HwVersion
HwVersion *string `json:"hwVersion,omitempty"`
Ip *string `json:"ip,omitempty"`
// LagId LagId. If it is not null, it indicates that the port is a LAG port
LagId *int32 `json:"lagId,omitempty"`
// LinkPeerPortInfo Downlink Port Info
LinkPeerPortInfo *OswPeerPortVO `json:"linkPeerPortInfo,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Mac The mac of uplink device
Mac *string `json:"mac,omitempty"`
// Model The model of uplink device
Model *string `json:"model,omitempty"`
// ModelVersion Model Version
ModelVersion *string `json:"modelVersion,omitempty"`
// Name The name of uplink device
Name *string `json:"name,omitempty"`
// Port Port
Port *int32 `json:"port,omitempty"`
// Rx Port total rx bytes
Rx *int64 `json:"rx,omitempty"`
// RxRate Rx Rate
RxRate *int64 `json:"rxRate,omitempty"`
// StPort Standard Port, unit/slot/port
StPort *string `json:"stPort,omitempty"`
// StackId The ID of uplink stack device
StackId *string `json:"stackId,omitempty"`
// StackName The name of uplink stack device
StackName *string `json:"stackName,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// Tx Port total tx bytes
Tx *int64 `json:"tx,omitempty"`
// TxRate Tx Rate
TxRate *int64 `json:"txRate,omitempty"`
// Type The type of uplink device, it should be a value as follows: ap, gateway, switch(stack)
Type *string `json:"type,omitempty"`
}
OswUplinkVO Uplink Omada device
type OuiBasedVlanNetworkVO ¶
type OuiBasedVlanNetworkVO struct {
// NetworkId The id for the network.
NetworkId *string `json:"networkId,omitempty"`
// NetworkName The name of the network.
NetworkName *string `json:"networkName,omitempty"`
// OuiBasedVlanId The id of the oui based vlan rule.
OuiBasedVlanId *string `json:"ouiBasedVlanId,omitempty"`
// OuiBasedVlanName The name of the oui based vlan rule.
OuiBasedVlanName *string `json:"ouiBasedVlanName,omitempty"`
// RuleMode The mode of the oui based vlan rule. 0 represents all device ports ,1 represents custom.
RuleMode *int32 `json:"ruleMode,omitempty"`
// Vlan The vlan of one network that multicast config used.
Vlan *int32 `json:"vlan,omitempty"`
// VlanType 0:Single, 1:Multiple(Bridge Vlan)
VlanType *int32 `json:"vlanType,omitempty"`
}
OuiBasedVlanNetworkVO The network configured in the osw port.
type PartnerLinkDTO ¶
type PartnerLinkDTO struct {
Channel *int32 `json:"channel,omitempty"`
DownRate *int64 `json:"downRate,omitempty"`
RadioId *int32 `json:"radioId,omitempty"`
Rssi *int32 `json:"rssi,omitempty"`
RssiPercent *float32 `json:"rssiPercent,omitempty"`
Rx *int32 `json:"rx,omitempty"`
RxDropPkts *int64 `json:"rxDropPkts,omitempty"`
RxErrPkts *int64 `json:"rxErrPkts,omitempty"`
RxRate *string `json:"rxRate,omitempty"`
Snr *int32 `json:"snr,omitempty"`
Tx *int32 `json:"tx,omitempty"`
TxDropPkts *int64 `json:"txDropPkts,omitempty"`
TxErrPkts *int64 `json:"txErrPkts,omitempty"`
TxRate *string `json:"txRate,omitempty"`
UpRate *int64 `json:"upRate,omitempty"`
}
PartnerLinkDTO partner link info in mlo mesh link
type PortLabelDTO ¶
type PortLabelDTO struct {
Label *string `json:"label,omitempty"`
Value *string `json:"value,omitempty"`
}
PortLabelDTO Other Device Port Labels
type PortSpeedCapVO ¶
type PortSpeedCapVO struct {
// Name Name
Name *string `json:"name,omitempty"`
// Value Value
Value *int32 `json:"value,omitempty"`
}
PortSpeedCapVO Duplex
type PortVO ¶
type PortVO struct {
// LagId (Wired) LAG ID. Exists only when the client is connected to the LAG
LagId *int32 `json:"lagId,omitempty"`
// Port The port id of the device port.
Port *int32 `json:"port,omitempty"`
// StandardPort The stand port id of the device port.
StandardPort *string `json:"standardPort,omitempty"`
}
PortVO The collection of forbidden router ports related to one device.
type RemoteLogSettingVO ¶
type RemoteLogSettingVO struct {
// Enable Whether to enable the feature
Enable bool `json:"enable"`
// Host The IP address of the remote log server
Host *string `json:"host,omitempty"`
// MoreClientLog Whether it contains client log
MoreClientLog *bool `json:"moreClientLog,omitempty"`
// Port Port of the remote log server, port should be within the range of 1-65535
Port *int32 `json:"port,omitempty"`
// Resource Data Source. Resource should be a value as follows: 0: new created; 1: from template; 2: override
Resource *int32 `json:"resource,omitempty"`
}
RemoteLogSettingVO Site remote logging.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResetLogSettingGlobalResponse ¶
func ParseResetLogSettingGlobalResponse ¶
func ParseResetLogSettingGlobalResponse(rsp *http.Response) (*ResetLogSettingGlobalResponse, error)
ParseResetLogSettingGlobalResponse parses an HTTP response from a ResetLogSettingGlobalWithResponse call
func (ResetLogSettingGlobalResponse) ContentType ¶
func (r ResetLogSettingGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResetLogSettingGlobalResponse) GetBody ¶
func (r ResetLogSettingGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResetLogSettingGlobalResponse) Status ¶
func (r ResetLogSettingGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (ResetLogSettingGlobalResponse) StatusCode ¶
func (r ResetLogSettingGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetLogSettingSiteResponse ¶
func ParseResetLogSettingSiteResponse ¶
func ParseResetLogSettingSiteResponse(rsp *http.Response) (*ResetLogSettingSiteResponse, error)
ParseResetLogSettingSiteResponse parses an HTTP response from a ResetLogSettingSiteWithResponse call
func (ResetLogSettingSiteResponse) ContentType ¶
func (r ResetLogSettingSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResetLogSettingSiteResponse) GetBody ¶
func (r ResetLogSettingSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResetLogSettingSiteResponse) Status ¶
func (r ResetLogSettingSiteResponse) Status() string
Status returns HTTPResponse.Status
func (ResetLogSettingSiteResponse) StatusCode ¶
func (r ResetLogSettingSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetLogSettingSiteTemplateResponse ¶
func ParseResetLogSettingSiteTemplateResponse ¶
func ParseResetLogSettingSiteTemplateResponse(rsp *http.Response) (*ResetLogSettingSiteTemplateResponse, error)
ParseResetLogSettingSiteTemplateResponse parses an HTTP response from a ResetLogSettingSiteTemplateWithResponse call
func (ResetLogSettingSiteTemplateResponse) ContentType ¶
func (r ResetLogSettingSiteTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResetLogSettingSiteTemplateResponse) GetBody ¶
func (r ResetLogSettingSiteTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResetLogSettingSiteTemplateResponse) Status ¶
func (r ResetLogSettingSiteTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (ResetLogSettingSiteTemplateResponse) StatusCode ¶
func (r ResetLogSettingSiteTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResolveAlertForSiteJSONRequestBody ¶
type ResolveAlertForSiteJSONRequestBody = ResolveSiteLogListOpenApiVO
ResolveAlertForSiteJSONRequestBody defines body for ResolveAlertForSite for application/json ContentType.
type ResolveAlertForSiteResponse ¶
func ParseResolveAlertForSiteResponse ¶
func ParseResolveAlertForSiteResponse(rsp *http.Response) (*ResolveAlertForSiteResponse, error)
ParseResolveAlertForSiteResponse parses an HTTP response from a ResolveAlertForSiteWithResponse call
func (ResolveAlertForSiteResponse) ContentType ¶
func (r ResolveAlertForSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResolveAlertForSiteResponse) GetBody ¶
func (r ResolveAlertForSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResolveAlertForSiteResponse) Status ¶
func (r ResolveAlertForSiteResponse) Status() string
Status returns HTTPResponse.Status
func (ResolveAlertForSiteResponse) StatusCode ¶
func (r ResolveAlertForSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResolveSiteLogListOpenApiVO ¶
type ResolveSiteLogListOpenApiVO struct {
// EndTime The end timeStamp of the resolve site alert log, unit: MS.
EndTime int64 `json:"endTime"`
// FilterModule The module of the resolve site alert log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.
FilterModule *string `json:"filterModule,omitempty"`
// Logs Select the logs to resolve; Log ID list can be obtained from 'Get site alert log list' interface.
Logs *[]string `json:"logs,omitempty"`
// SelectType Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').
SelectType string `json:"selectType"`
// StartTime The start timeStamp of the resolve site alert log, unit: MS.
StartTime int64 `json:"startTime"`
}
ResolveSiteLogListOpenApiVO defines model for ResolveSiteLogListOpenApiVO.
type SiteRemoteLoggingSetting ¶
type SiteRemoteLoggingSetting struct {
// RemoteLog Site remote logging.
RemoteLog *RemoteLogSettingVO `json:"remoteLog,omitempty"`
}
SiteRemoteLoggingSetting Site remote logging setting.
type SpanningTreeSettingVO ¶
type SpanningTreeSettingVO struct {
// BpduFilter Indicates whether bpdu filter is enabled
BpduFilter *bool `json:"bpduFilter,omitempty"`
// BpduForward Indicates whether bpdu forward is enabled
BpduForward *bool `json:"bpduForward,omitempty"`
// BpduProtect Indicates whether bpdu protect is enabled
BpduProtect *bool `json:"bpduProtect,omitempty"`
// EdgePort Indicates whether edge port is enabled
EdgePort bool `json:"edgePort"`
// ExtPathCost ExtPathCost should be within the range of 0–2000000
ExtPathCost int32 `json:"extPathCost"`
// InstanceEnable Indicates whether instance is enabled
InstanceEnable *bool `json:"instanceEnable,omitempty"`
// Instances Instances
Instances *[]InstancesVO `json:"instances,omitempty"`
// IntPathCost IntPathCost should be within the range of 0–2000000
IntPathCost int32 `json:"intPathCost"`
// LoopProtect Indicates whether loop protect is enabled
LoopProtect *bool `json:"loopProtect,omitempty"`
// Mcheck Indicates whether mcheck is enabled
Mcheck *bool `json:"mcheck,omitempty"`
// P2pLink P2pLink should be within the range of 0-2
P2pLink int32 `json:"p2pLink"`
// Priority Priority should be within the range of 0–240
Priority int32 `json:"priority"`
// RootProtect Indicates whether root protect is enabled
RootProtect *bool `json:"rootProtect,omitempty"`
// TcGuard Indicates whether tcGuard is enabled
TcGuard *bool `json:"tcGuard,omitempty"`
}
SpanningTreeSettingVO SpanningTree Setting
type StackCliVO ¶
type StackCliVO struct {
// MasterMac Master mac
MasterMac *string `json:"masterMac,omitempty"`
// StackId Stack ID
StackId *string `json:"stackId,omitempty"`
// StackName Stack name
StackName *string `json:"stackName,omitempty"`
// VariableMap The values of different user-defined variables.
VariableMap *map[string]string `json:"variableMap,omitempty"`
}
StackCliVO List of stacks bound to the CLI configuration, only device CLI has this field.
type SupportCliDeviceVO ¶
type SupportCliDeviceVO struct {
// AddedInAdvanced Whether the device is added offline in advance.
AddedInAdvanced *bool `json:"addedInAdvanced,omitempty"`
// DeviceSeriesType DeviceSeriesType should be a value as follows: 0:advanced; 1:pro
DeviceSeriesType *int32 `json:"deviceSeriesType,omitempty"`
// Ip Ip address
Ip *string `json:"ip,omitempty"`
IpLong *int64 `json:"ipLong,omitempty"`
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// MasterMac Master mac. If the device is not a member of stack, masterMac should be null
MasterMac *string `json:"masterMac,omitempty"`
// Model Model of device
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device
ModelVersion *string `json:"modelVersion,omitempty"`
// Name Device name
Name *string `json:"name,omitempty"`
// StackId The ID of the associated stack. If the device is not a member of stack, stackId should be null
StackId *string `json:"stackId,omitempty"`
// StackName The name of the associated stack. If the device is not a member of stack, stackName should be null
StackName *string `json:"stackName,omitempty"`
// Status Status of device,status should be a value as follows: 0:Disconnected; 1:Disconnected(Migrating); 10:Provisioning; 11:Configuring; 12:Upgrading; 13:Rebooting; 14:Connected; 15:Connected(Wireless); 16:Connected(Migrating); 17:Connected(Wireless,Migrating); 20:Pending; 21:Pending(Wireless); 22:Adopting; 23:Adopting(Wireless); 24:Adopt Failed; 25:Adopt Failed(Wireless); 26:Managed By Others; 27:Managed By Others(Wireless); 30:Heartbeat Missed; 31:Heartbeat Missed(Wireless); 32:Heartbeat Missed(Migrating); 33:Heartbeat Missed(Wireless,Migrating); 40:Isolated; 41:Isolated(Migrating); 50:Slice Configuring
Status *int32 `json:"status,omitempty"`
// SupportCli Whether the device supports Cli
SupportCli *bool `json:"supportCli,omitempty"`
// Type Type of device should be a value as follows: switch
Type *string `json:"type,omitempty"`
}
SupportCliDeviceVO defines model for SupportCliDeviceVO.
type SwitchDataVO ¶
type SwitchDataVO struct {
// FirmwareVersion The firmware version of the device.
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
// Lags Lag List
Lags *[]OswLagVO `json:"lags,omitempty"`
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// Name Device name,default value is the mac address of device
Name *string `json:"name,omitempty"`
// NetworkNotAssociatedLags The lags not associated with network.
NetworkNotAssociatedLags *[]int32 `json:"networkNotAssociatedLags,omitempty"`
// NetworkNotAssociatedStandardPorts The ports not associated with network.
NetworkNotAssociatedStandardPorts *[]OswStandPortVO `json:"networkNotAssociatedStandardPorts,omitempty"`
// PortNum The number of ports of one device.
PortNum *int32 `json:"portNum,omitempty"`
// Ports Port List
Ports *[]OswPortVO `json:"ports,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
// StackId Stack Id
StackId *string `json:"stackId,omitempty"`
// StackName Stack name
StackName *string `json:"stackName,omitempty"`
// StackOswData stackOswData
StackOswData *OswStackDataVOSwitchDataVO `json:"stackOswData,omitempty"`
// Status Status of device,status should be a value as follows: 0:Disconnected;1:Disconnected(Migrating);10:Provisioning;11:Configuring;12:Upgrading;13:Rebooting;14:Connected;15:Connected(Wireless);16:Connected(Migrating);17:Connected(Wireless,Migrating);20:Pending;21:Pending(Wireless);22:Adopting;23:Adopting(Wireless);24:Adopt Failed;25:Adopt Failed(Wireless);26:Managed By Others;27:Managed By Others(Wireless);30:Heartbeat Missed;31:Heartbeat Missed(Wireless);32:Heartbeat Missed(Migrating);33:Heartbeat Missed(Wireless,Migrating);40:Isolated;41:Isolated(Migrating);50:Slice Configuring
Status *int32 `json:"status,omitempty"`
// SupportAutoAddVlan Whether the switch support auto add vlan.
SupportAutoAddVlan *bool `json:"supportAutoAddVlan,omitempty"`
// Type Device type:ap、gateway、switch、olt
Type *string `json:"type,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
// Unit Unit
Unit *int32 `json:"unit,omitempty"`
// Uplink Uplink Omada device
Uplink *OswUplinkVO `json:"uplink,omitempty"`
}
SwitchDataVO defines model for SwitchDataVO.
type TestWebhookForGlobalJSONRequestBody ¶
type TestWebhookForGlobalJSONRequestBody = OpenApiWebhookSettingTestVO
TestWebhookForGlobalJSONRequestBody defines body for TestWebhookForGlobal for application/json ContentType.
type TestWebhookForGlobalResponse ¶
func ParseTestWebhookForGlobalResponse ¶
func ParseTestWebhookForGlobalResponse(rsp *http.Response) (*TestWebhookForGlobalResponse, error)
ParseTestWebhookForGlobalResponse parses an HTTP response from a TestWebhookForGlobalWithResponse call
func (TestWebhookForGlobalResponse) ContentType ¶
func (r TestWebhookForGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestWebhookForGlobalResponse) GetBody ¶
func (r TestWebhookForGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TestWebhookForGlobalResponse) Status ¶
func (r TestWebhookForGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (TestWebhookForGlobalResponse) StatusCode ¶
func (r TestWebhookForGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TopologyFilterClientCountDTO ¶
type TopologyFilterClientCountDTO struct {
// Client2g 2g Client Count
Client2g *int32 `json:"client2g,omitempty"`
// Client2g5g 2g And 5g Client Count
Client2g5g *int32 `json:"client2g5g,omitempty"`
// Client2g5g6g 2g, 5g And 6g Client Count
Client2g5g6g *int32 `json:"client2g5g6g,omitempty"`
// Client2g6g 2g And 6g Client Count
Client2g6g *int32 `json:"client2g6g,omitempty"`
// Client5g 5g Client Count
Client5g *int32 `json:"client5g,omitempty"`
// Client5g6g 5g And 6g Client Count
Client5g6g *int32 `json:"client5g6g,omitempty"`
// Client6g 6g Client Count
Client6g *int32 `json:"client6g,omitempty"`
// WiredClient Wired Client Count
WiredClient *int32 `json:"wiredClient,omitempty"`
}
TopologyFilterClientCountDTO Each Connection Type Client Count
type TopologyOpenApiEdgeVO ¶
type TopologyOpenApiEdgeVO struct {
// Blocked Blocked Or Not
Blocked *bool `json:"blocked,omitempty"`
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// DownLinkMac DownLink Mac
DownLinkMac *string `json:"downLinkMac,omitempty"`
// Port Downlink Port
Port *WiredPortV3DTO `json:"port,omitempty"`
// RemainBlockNum Remain Block Num
RemainBlockNum *int32 `json:"remainBlockNum,omitempty"`
// RemainBlockedPortList Remain Blocked PortList
RemainBlockedPortList *[]TopologyOpenApiEdgeVO `json:"remainBlockedPortList,omitempty"`
// UpLinkMac UpLink Mac
UpLinkMac *string `json:"upLinkMac,omitempty"`
// UpLinkPort Downlink Port
UpLinkPort *WiredPortV3DTO `json:"upLinkPort,omitempty"`
}
TopologyOpenApiEdgeVO Topology Edges
type TopologyV3OpenApiNodeVO ¶
type TopologyV3OpenApiNodeVO struct {
// AbnormalReason Stack Abnormal Reason. 0: Not All Connected. 2: Not All Activated.
AbnormalReason *int32 `json:"abnormalReason,omitempty"`
// Active Whether The Device Is License Active Or Not
Active *bool `json:"active,omitempty"`
// Capability Other Device Capability
Capability *string `json:"capability,omitempty"`
// Channel2g channel2g
Channel2g *int32 `json:"channel2g,omitempty"`
// Channel5g channel5g
Channel5g *int32 `json:"channel5g,omitempty"`
// Channel5g2 channel5g2
Channel5g2 *int32 `json:"channel5g2,omitempty"`
// Channel6g channel6g
Channel6g *int32 `json:"channel6g,omitempty"`
// ChannelNum ChannelNum Of IPC/NVR
ChannelNum *int32 `json:"channelNum,omitempty"`
// ClientCount Directly Connected Client Count
ClientCount *int32 `json:"clientCount,omitempty"`
// ClientHealth Client Health
ClientHealth *ClientAggHealthDTO `json:"clientHealth,omitempty"`
// ClientType Type of Third Party Device, if type is other
ClientType *string `json:"clientType,omitempty"`
// ClientVlanId Vlan Id Of Client That Exists In Topology As Other Device
ClientVlanId *int32 `json:"clientVlanId,omitempty"`
// Compatible The Compatibility Type Of Device Firmware And Controller
Compatible *int32 `json:"compatible,omitempty"`
// ConnectedChannel Connected Channel Of IPC/NVR
ConnectedChannel *int32 `json:"connectedChannel,omitempty"`
// DadLink DadLink for mlag node
DadLink *[]WiredPortV3DTO `json:"dadLink,omitempty"`
// Description Other Device Description
Description *string `json:"description,omitempty"`
// DevRxRate Device RxRate
DevRxRate *int64 `json:"devRxRate,omitempty"`
// DevTxRate Device TxRate
DevTxRate *int64 `json:"devTxRate,omitempty"`
// DeviceSeriesType Device Series Type
DeviceSeriesType *int32 `json:"deviceSeriesType,omitempty"`
// Disconnected Whether The Device Is Disconnected Or Not
Disconnected *bool `json:"disconnected,omitempty"`
// EcspFirstVersion Device Protocol First Version
EcspFirstVersion *int32 `json:"ecspFirstVersion,omitempty"`
// ExistStpLoop Exist Stp Loop Or Not
ExistStpLoop *bool `json:"existStpLoop,omitempty"`
// FilterClientCount Each Connection Type Client Count
FilterClientCount *TopologyFilterClientCountDTO `json:"filterClientCount,omitempty"`
// FirmwareVersion FirmwareVersion Of IPC/NVR
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
// HealthScore Health Score
HealthScore *int32 `json:"healthScore,omitempty"`
// Ip Device Ip
Ip *string `json:"ip,omitempty"`
// IpcCount Directly Connected IPC Client Count
IpcCount *int32 `json:"ipcCount,omitempty"`
// Ippt If Gateway Is Ippt Mode
Ippt *bool `json:"ippt,omitempty"`
// IsAllClients Whether The Client Group Is All Clients Or Just Other Clients
IsAllClients *bool `json:"isAllClients,omitempty"`
// LanPorts Gateway Lan Port List
LanPorts *[]LanPort `json:"lanPorts,omitempty"`
// Mac Device Mac
Mac *string `json:"mac,omitempty"`
// MacList Device Macs
MacList *[]string `json:"macList,omitempty"`
// MlagId Mlag group id
MlagId *string `json:"mlagId,omitempty"`
// Model Device Model
Model *string `json:"model,omitempty"`
// ModelVersion Device ModelVersion
ModelVersion *string `json:"modelVersion,omitempty"`
// MultiSwitchDownlinkClient Mlag Or Vrrp Group All Members Client Query Parameter
MultiSwitchDownlinkClient *[]ClientsQueryMacAndFilterType `json:"multiSwitchDownlinkClient,omitempty"`
// MultiSwitchList All members for multiSwitchNode including mlag and vrrp node
MultiSwitchList *[]TopologyV3OpenApiNodeVO `json:"multiSwitchList,omitempty"`
// MultiSwitchNum Serial number for mlag and vrrp node members, which is unique
MultiSwitchNum *int32 `json:"multiSwitchNum,omitempty"`
// MultiSwitchRole Role for mlag and vrrp node members
MultiSwitchRole *int32 `json:"multiSwitchRole,omitempty"`
// Name Device Name
Name *string `json:"name,omitempty"`
// OmadaDeviceType Type of Omada Device, if type is other
OmadaDeviceType *string `json:"omadaDeviceType,omitempty"`
// PeerLink PeerLink for mlag node
PeerLink *[]WiredPortV3DTO `json:"peerLink,omitempty"`
// PortLabels Other Device Port Labels
PortLabels *PortLabelDTO `json:"portLabels,omitempty"`
// RdMode2g rdMode2g
RdMode2g *string `json:"rdMode2g,omitempty"`
// RdMode5g rdMode5g
RdMode5g *string `json:"rdMode5g,omitempty"`
// RdMode5g2 rdMode5g2
RdMode5g2 *string `json:"rdMode5g2,omitempty"`
// RdMode6g rdMode6g
RdMode6g *string `json:"rdMode6g,omitempty"`
// Role Identify Device Role In P2P Scenarios
Role *int32 `json:"role,omitempty"`
// ShowModel Device Show Model
ShowModel *string `json:"showModel,omitempty"`
// SpecialModel Special device model,for example:EAP225-Outdoor-1a20a950b8d950e8
SpecialModel *string `json:"specialModel,omitempty"`
// SpecificOtherType SpecificOtherType for other device
SpecificOtherType *string `json:"specificOtherType,omitempty"`
// SpecificType SpecificType for multiSwitchNode, 0 means mlag node and 1 means vrrp node
SpecificType *int32 `json:"specificType,omitempty"`
// StackGroup Whether The Switch Device Is Stack Group Or Not
StackGroup *bool `json:"stackGroup,omitempty"`
// StackId StackGroup Switch Device Id
StackId *string `json:"stackId,omitempty"`
// StackStatus Status of the Stack Group. 0: normal; 1: abnormal; 2: stack not ready.
StackStatus *int32 `json:"stackStatus,omitempty"`
// Status Device Status
Status *int32 `json:"status,omitempty"`
// StatusCategory Device Status Category
StatusCategory *int32 `json:"statusCategory,omitempty"`
// Successors Device Successors
Successors *[]TopologyV3OpenApiNodeVO `json:"successors,omitempty"`
// Support5g2 Whether The Device Supports 5g2 Or Not
Support5g2 *bool `json:"support5g2,omitempty"`
// Type Device Type
Type *string `json:"type,omitempty"`
// UplinkMacList Mlag Or Vrrp Group All Members Mac List
UplinkMacList *[]string `json:"uplinkMacList,omitempty"`
// VigiManaged If Vigi Is Managed By Vms
VigiManaged *bool `json:"vigiManaged,omitempty"`
// VigiWirelessUpInfo Wireless Vigi UpLink Info
VigiWirelessUpInfo *VigiWirelessUpInfoDTO `json:"vigiWirelessUpInfo,omitempty"`
// VlansAsMaster All vlans that vrrp member act as master
VlansAsMaster *string `json:"vlansAsMaster,omitempty"`
// VrrpGroupList Vrrp node member's vrrp group information
VrrpGroupList *[]VrrpGroupDTO `json:"vrrpGroupList,omitempty"`
// VrrpLink Vrrp members internal link
VrrpLink *[]VrrpLinkDTO `json:"vrrpLink,omitempty"`
// WanPorts Gateway Wan Port List
WanPorts *[]WanPort `json:"wanPorts,omitempty"`
// WarnNvrFirmware Whether IPC/NVR Needs To Upgrade Firmware To Support Lldp Feature
WarnNvrFirmware *bool `json:"warnNvrFirmware,omitempty"`
// WiredUpInfo Multi wiredUpInfo for mlag and vrrp member or downlink device
WiredUpInfo *WiredUpInfoDTO `json:"wiredUpInfo,omitempty"`
// WiredUpInfos Multi wiredUpInfo for mlag and vrrp member or downlink device
WiredUpInfos *[]WiredUpInfoDTO `json:"wiredUpInfos,omitempty"`
// WirelessUpInfo Wireless UpLink Info
WirelessUpInfo *WirelessUpInfoDTO `json:"wirelessUpInfo,omitempty"`
// WirelessUplink Whether The IPC/NVR Is Wireless Connected Or Not
WirelessUplink *bool `json:"wirelessUplink,omitempty"`
}
TopologyV3OpenApiNodeVO Topology Nodes
type VigiWirelessUpInfoDTO ¶
type VigiWirelessUpInfoDTO struct {
// Channel Wireless Vigi Channel
Channel *int32 `json:"channel,omitempty"`
// MultiLink Vigi MultiLink In MLO Mode
MultiLink *[]MultiLinkEntryDTO `json:"multiLink,omitempty"`
// Radio Wireless Vigi Radio
Radio *int32 `json:"radio,omitempty"`
// Ssid Wireless Vigi Ssid
Ssid *string `json:"ssid,omitempty"`
// Support5g2 Whether The Vigi Supports 5g2 Or Not
Support5g2 *bool `json:"support5g2,omitempty"`
}
VigiWirelessUpInfoDTO Wireless Vigi UpLink Info
type VrrpGroupDTO ¶
type VrrpGroupDTO struct {
IsMaster *bool `json:"isMaster,omitempty"`
VrrpId *int32 `json:"vrrpId,omitempty"`
VrrpName *string `json:"vrrpName,omitempty"`
}
VrrpGroupDTO Vrrp node member's vrrp group information
type VrrpLinkDTO ¶
type VrrpLinkDTO struct {
// Blocked Whether The Link Is Blocked By STP Or Not
Blocked *bool `json:"blocked,omitempty"`
// DownLink Downlink Port
DownLink *WiredPortV3DTO `json:"downLink,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// LinkSpeed LinkSpeed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// UpLink Downlink Port
UpLink *WiredPortV3DTO `json:"upLink,omitempty"`
}
VrrpLinkDTO Vrrp members internal link
type WanPort ¶
type WanPort struct {
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// HealthLevel Health Level
HealthLevel *int32 `json:"healthLevel,omitempty"`
// InternetState Port Internet State
InternetState *int32 `json:"internetState,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Name Port Name
Name *string `json:"name,omitempty"`
// OnlineDetection Port Online Detection
OnlineDetection *int32 `json:"onlineDetection,omitempty"`
// Port Port Id
Port *string `json:"port,omitempty"`
// Status Port Status
Status *int32 `json:"status,omitempty"`
// TxRate Rx Rate
TxRate *int64 `json:"txRate,omitempty"`
// Wireless Whether the port is wireless.
Wireless *bool `json:"wireless,omitempty"`
}
WanPort Wan Port List
type WebhookConfigEditOpenApiVO ¶
type WebhookConfigEditOpenApiVO struct {
// WebhookEnable Audit or Omada Log Notification Enable for Disable Webhook
//
// Example: false
WebhookEnable bool `json:"webhookEnable"`
// WebhookId Webhook ID (Webhook ID should be configured in webhook setting, when Webhook Enable is true)
WebhookId *string `json:"webhookId,omitempty"`
}
WebhookConfigEditOpenApiVO Log Notification Webhook Config (This config applies to the Omada Pro Controller only)
type WebhookConfigOpenApiVO ¶
type WebhookConfigOpenApiVO struct {
// WebhookEnable Audit or Omada Log Notification Enable for Disable Webhook
//
// Example: false
WebhookEnable *bool `json:"webhookEnable,omitempty"`
// WebhookId Webhook ID
WebhookId *string `json:"webhookId,omitempty"`
}
WebhookConfigOpenApiVO Log Notification Webhook Config (This config applies to the Omada Pro Controller only)
type WebhookSetting ¶
type WebhookSetting struct {
// LastTime Webhook setting last update time (ms)
LastTime *int64 `json:"lastTime,omitempty"`
// Name Webhook Name
Name *string `json:"name,omitempty"`
// RetryPolicy Webhook retry policy. It should be a value as follows: 0:None, 1:Important (Up to 5 retries over 60 minutes), 2:Critical (Up to 5 retries over 24 hours)
RetryPolicy *int32 `json:"retryPolicy,omitempty"`
// ShardedSecret Webhook Sharded Secret (old token)
ShardedSecret *string `json:"shardedSecret,omitempty"`
// Template Webhook template, it should be a value as follow: 0:Omada template, 1:Google chat template. Example: 0.
Template *int32 `json:"template,omitempty"`
// UrlList Webhook URL List
UrlList *[]string `json:"urlList,omitempty"`
// UrlNum Webhook URL Number
UrlNum *int32 `json:"urlNum,omitempty"`
// WebhookId Webhook ID
WebhookId *string `json:"webhookId,omitempty"`
}
WebhookSetting defines model for WebhookSetting.
type WiredPortV3DTO ¶
type WiredPortV3DTO struct {
// LagId Lag Id
LagId *string `json:"lagId,omitempty"`
// LagPorts Lag Ports
LagPorts *[]int32 `json:"lagPorts,omitempty"`
// MlagId Mlag Id
MlagId *string `json:"mlagId,omitempty"`
// MlagPorts Mlag Ports
MlagPorts *[]int32 `json:"mlagPorts,omitempty"`
// MultiSwitchNum Multi Switch Num
MultiSwitchNum *int32 `json:"multiSwitchNum,omitempty"`
// MultiSwitchRole Multi Switch Role
MultiSwitchRole *int32 `json:"multiSwitchRole,omitempty"`
// Name Name of the port
Name *string `json:"name,omitempty"`
// PoePower Poe Power
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PoePower *int64 `json:"poePower,omitempty"`
// PoePowerDecimal Poe Power In Decimal
PoePowerDecimal *float64 `json:"poePowerDecimal,omitempty"`
// Port Port Id
Port *string `json:"port,omitempty"`
// StandardLagPorts Standard Lag Ports of Stack
StandardLagPorts *[]string `json:"standardLagPorts,omitempty"`
// StandardMlagPorts Standard Mlag Ports of Stack
StandardMlagPorts *[]string `json:"standardMlagPorts,omitempty"`
// StandardPort Standard Port of Stack
StandardPort *string `json:"standardPort,omitempty"`
// UplinkName Uplink Name
UplinkName *string `json:"uplinkName,omitempty"`
}
WiredPortV3DTO Downlink Port
type WiredUpInfoDTO ¶
type WiredUpInfoDTO struct {
// Blocked Blocked Connection Or Not
Blocked *bool `json:"blocked,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blocked_vlans,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// FiberOptic Whether The Device Is FiberOptic Or Not
FiberOptic *bool `json:"fiberOptic,omitempty"`
// LinkSpeed LinkSpeed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Port Downlink Port
Port *WiredPortV3DTO `json:"port,omitempty"`
// RxDropPkts Rx Dropped Packets
RxDropPkts *int64 `json:"rxDropPkts,omitempty"`
// RxErrPkts Rx Error Packets
RxErrPkts *int64 `json:"rxErrPkts,omitempty"`
// TxDropPkts Tx Dropped Packets
TxDropPkts *int64 `json:"txDropPkts,omitempty"`
// TxErrPkts Tx Error Packets
TxErrPkts *int64 `json:"txErrPkts,omitempty"`
// UpLinkPort Downlink Port
UpLinkPort *WiredPortV3DTO `json:"upLinkPort,omitempty"`
}
WiredUpInfoDTO Multi wiredUpInfo for mlag and vrrp member or downlink device
type WirelessUpInfoDTO ¶
type WirelessUpInfoDTO struct {
// Channel channel in link
Channel *int32 `json:"channel,omitempty"`
// DownRate downRate of this radio Id
DownRate *int64 `json:"downRate,omitempty"`
// MeshRadioId radio Id used in mesh link
MeshRadioId *int32 `json:"meshRadioId,omitempty"`
// PartnerLinks partner link info in mlo mesh link
PartnerLinks *[]PartnerLinkDTO `json:"partnerLinks,omitempty"`
// Rssi Rssi
Rssi *int32 `json:"rssi,omitempty"`
// RssiPercent Rssi Percent
RssiPercent *float32 `json:"rssiPercent,omitempty"`
// Rx Rx
Rx *int32 `json:"rx,omitempty"`
// RxDropPkts Rx Dropped Packets
RxDropPkts *int64 `json:"rxDropPkts,omitempty"`
// RxErrPkts Rx Error Packets
RxErrPkts *int64 `json:"rxErrPkts,omitempty"`
// RxRate Rx Rate
RxRate *string `json:"rxRate,omitempty"`
// Snr Wireless P2P Ap Snr
Snr *int32 `json:"snr,omitempty"`
// Tx Tx
Tx *int32 `json:"tx,omitempty"`
// TxDropPkts Tx Dropped Packets
TxDropPkts *int64 `json:"txDropPkts,omitempty"`
// TxErrPkts Tx Error Packets
TxErrPkts *int64 `json:"txErrPkts,omitempty"`
// TxRate Tx Rate
TxRate *string `json:"txRate,omitempty"`
// UpRate upRate of this radio Id
UpRate *int64 `json:"upRate,omitempty"`
}
WirelessUpInfoDTO Wireless UpLink Info