Documentation
¶
Overview ¶
Package device 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 NewActiveDeviceBySnRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewActiveDeviceBySnRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewActiveDeviceRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewActiveDeviceRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewActiveDeviceWithMultiSiteRequest(server string, omadacId string, body ActiveDeviceWithMultiSiteJSONRequestBody) (*http.Request, error)
- func NewActiveDeviceWithMultiSiteRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddDevicesByDeviceKeyRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewAddDevicesByDeviceKeyRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewAddDevicesBySnRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewAddDevicesBySnRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewAddDevicesBySnWithMultiSiteRequest(server string, omadacId string, ...) (*http.Request, error)
- func NewAddDevicesBySnWithMultiSiteRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddDevicesForMspRequest(server string, mspId string, customerId string, siteId string, ...) (*http.Request, error)
- func NewAddDevicesForMspRequestWithBody(server string, mspId string, customerId string, siteId string, ...) (*http.Request, error)
- func NewAddDevicesRequest(server string, omadacId string, siteId string, body AddDevicesJSONRequestBody) (*http.Request, error)
- func NewAddDevicesRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewAddMonitorDevicesRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewAddMonitorDevicesRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewAddPortScheduleTemplateRequest(server string, omadacId string, siteTemplateId string, ...) (*http.Request, error)
- func NewAddPortScheduleTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, ...) (*http.Request, error)
- func NewAddTagRequest(server string, omadacId string, siteId string, body AddTagJSONRequestBody) (*http.Request, error)
- func NewAddTagRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewAdoptDeviceRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewAdoptDeviceRequestWithBody(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewBackupFileServerRequest(server string, omadacId string, body BackupFileServerJSONRequestBody) (*http.Request, error)
- func NewBackupFileServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewBackupSelfServerRequest(server string, omadacId string, body BackupSelfServerJSONRequestBody) (*http.Request, error)
- func NewBackupSelfServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewBackupSitesFileServerRequest(server string, omadacId string, body BackupSitesFileServerJSONRequestBody) (*http.Request, error)
- func NewBackupSitesFileServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewBackupSitesSelfServerRequest(server string, omadacId string, body BackupSitesSelfServerJSONRequestBody) (*http.Request, error)
- func NewBackupSitesSelfServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewBatchAdoptRequest(server string, omadacId string, siteId string, body BatchAdoptJSONRequestBody) (*http.Request, error)
- func NewBatchAdoptRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCancelRollingUpgradeRequest(server string, omadacId string, siteId string, taskId string) (*http.Request, error)
- func NewCheckMacTypeRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
- func NewCheckReplaceRecordRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewCheckReplaceRecordRequestWithBody(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewCheckUploadUpgradeFirmwareLimitRequest(server string, omadacId string, firmwareSize string) (*http.Request, error)
- func NewCopyDeviceConfigurationRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCopyDeviceConfigurationRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateAutoCheckUpgradeRequest(server string, omadacId string, body CreateAutoCheckUpgradeJSONRequestBody) (*http.Request, error)
- func NewCreateAutoCheckUpgradeRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFailedDeviceModelPlanRequest(server string, omadacId string, upgradeLogId string, ...) (*http.Request, error)
- func NewCreateFailedDeviceModelPlanRequestWithBody(server string, omadacId string, upgradeLogId string, contentType string, ...) (*http.Request, error)
- func NewCreateFirmwareUpgradePlanRequest(server string, omadacId string, firmwareId string, ...) (*http.Request, error)
- func NewCreateFirmwareUpgradePlanRequestWithBody(server string, omadacId string, firmwareId string, contentType string, ...) (*http.Request, error)
- func NewCreatePoeScheduleRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreatePoeScheduleRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreatePortScheduleRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreatePortScheduleRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateRebootSchedule1Request(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateRebootSchedule1RequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateRebootScheduleRequest(server string, omadacId string, siteTemplateId string, ...) (*http.Request, error)
- func NewCreateRebootScheduleRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, ...) (*http.Request, error)
- func NewCreateReplaceRecordRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewCreateReplaceRecordRequestWithBody(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewCreateRollbackRequest(server string, omadacId string, upgradeLogId string, ...) (*http.Request, error)
- func NewCreateRollbackRequestWithBody(server string, omadacId string, upgradeLogId string, contentType string, ...) (*http.Request, error)
- func NewCreateUpgradePlanRequest(server string, omadacId string, body CreateUpgradePlanJSONRequestBody) (*http.Request, error)
- func NewCreateUpgradePlanRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateUpgradeScheduleRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateUpgradeScheduleRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewDeleteAutoCheckUpgradeRequest(server string, omadacId string, autoCheckId string) (*http.Request, error)
- func NewDeleteMonitorDevicesRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewDeleteMonitorDevicesRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewDeletePoeScheduleRequest(server string, omadacId string, siteId string, poeScheduleId string) (*http.Request, error)
- func NewDeletePortScheduleRequest(server string, omadacId string, siteId string, portScheduleId string) (*http.Request, error)
- func NewDeleteRebootSchedule1Request(server string, omadacId string, siteId string, id string) (*http.Request, error)
- func NewDeleteRebootScheduleRequest(server string, omadacId string, siteTemplateId string, id string) (*http.Request, error)
- func NewDeleteReplaceRecordRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
- func NewDeleteTagRequest(server string, omadacId string, siteId string, body DeleteTagJSONRequestBody) (*http.Request, error)
- func NewDeleteTagRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewDeleteUpgradeFirmwareRequest(server string, omadacId string, firmwareId string) (*http.Request, error)
- func NewDeleteUpgradePlanRequest(server string, omadacId string, planId string) (*http.Request, error)
- func NewDeleteUpgradeScheduleRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
- func NewDownloadDeviceInfoRequest(server string, omadacId string, siteId string, deviceMac string, pType string) (*http.Request, error)
- func NewEditAutoCheckUpgradeRequest(server string, omadacId string, autoCheckId string, ...) (*http.Request, error)
- func NewEditAutoCheckUpgradeRequestWithBody(server string, omadacId string, autoCheckId string, contentType string, ...) (*http.Request, error)
- func NewEditFirmwareUpgradeRequest(server string, omadacId string, firmwareId string, ...) (*http.Request, error)
- func NewEditFirmwareUpgradeRequestWithBody(server string, omadacId string, firmwareId string, contentType string, ...) (*http.Request, error)
- func NewEditUpgradePlanRequest(server string, omadacId string, planId string, ...) (*http.Request, error)
- func NewEditUpgradePlanRequestWithBody(server string, omadacId string, planId string, contentType string, ...) (*http.Request, error)
- func NewExistUnSupportRadSecDeviceRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewExportAddFailDevicesRequest(server string, omadacId string, operateId string, ...) (*http.Request, error)
- func NewExportGlobalDeviceListRequest(server string, omadacId string, body ExportGlobalDeviceListJSONRequestBody) (*http.Request, error)
- func NewExportGlobalDeviceListRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewExportMspAddFailDevicesRequest(server string, mspId string, customerId string, operateId string, ...) (*http.Request, error)
- func NewExportPreConfigDevicesGlobalRequest(server string, omadacId string) (*http.Request, error)
- func NewExportPreConfigDevicesRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewExportSiteDeviceListRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewExportSiteDeviceListRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewForceProvisionDeviceRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
- func NewForgetDeviceForMspRequest(server string, mspId string, customerId string, siteId string, ...) (*http.Request, error)
- func NewForgetDeviceRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
- func NewGetAddDevicesStatusMultiSiteRequest(server string, omadacId string, operateId string) (*http.Request, error)
- func NewGetAddDevicesStatusRequest(server string, omadacId string, siteId string, operateId string) (*http.Request, error)
- func NewGetAdoptAbleDevicesForGlobalBatchAdoptRequest(server string, omadacId string, ...) (*http.Request, error)
- func NewGetAdoptAbleDevicesForMspBatchAdoptRequest(server string, mspId string, params *GetAdoptAbleDevicesForMspBatchAdoptParams) (*http.Request, error)
- func NewGetAdoptTipRequest(server string, omadacId string) (*http.Request, error)
- func NewGetAllDeviceBySiteRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetAutoSelectDevicesRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetAutoSelectDevicesRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewGetBackupResultRequest(server string, omadacId string) (*http.Request, error)
- func NewGetBackupScheduleTaskRequest(server string, omadacId string) (*http.Request, error)
- func NewGetCheckFirmwareTaskResultRequest(server string, omadacId string, siteId string, taskId string) (*http.Request, error)
- func NewGetDeviceAccessMgmtSettingRequest(server string, omadacId string) (*http.Request, error)
- func NewGetDeviceAdoptResultRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
- func NewGetDeviceIncidentCountsRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetDeviceIncidentCountsRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewGetDeviceListRequest(server string, omadacId string, siteId string, params *GetDeviceListParams) (*http.Request, error)
- func NewGetDeviceRememberMeRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
- func NewGetDeviceWhiteListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetEligibleDeviceListRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetEmailReminderSwitchStatusRequest(server string, omadacId string) (*http.Request, error)
- func NewGetFirmwareInfoRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
- func NewGetForgetProcessRequest(server string, omadacId string, siteId string, forgetId string) (*http.Request, error)
- func NewGetGlobalDeviceIncidentCountsRequest(server string, omadacId string, ...) (*http.Request, error)
- func NewGetGlobalDeviceIncidentCountsRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetGlobalKnownDeviceListRequest(server string, omadacId string, params *GetGlobalKnownDeviceListParams) (*http.Request, error)
- func NewGetGlobalUnknownDeviceListRequest(server string, omadacId string, params *GetGlobalUnknownDeviceListParams) (*http.Request, error)
- func NewGetGridAdoptedBridgeDevicesBySiteRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridAdoptedDevicesStatByGlobalRequest(server string, omadacId string, ...) (*http.Request, error)
- func NewGetGridAutoCheckUpgradeRequest(server string, omadacId string, params *GetGridAutoCheckUpgradeParams) (*http.Request, error)
- func NewGetGridFirmwareListRequest(server string, omadacId string, params *GetGridFirmwareListParams) (*http.Request, error)
- func NewGetGridFirmwarePoolListRequest(server string, omadacId string, params *GetGridFirmwarePoolListParams) (*http.Request, error)
- func NewGetGridMonitorDeviceRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridPendingBridgeDevicesBySiteRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridPendingDevicesBySiteRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridPlanUpgradeModelListRequest(server string, omadacId string, params *GetGridPlanUpgradeModelListParams) (*http.Request, error)
- func NewGetGridPlanUpgradeSiteListRequest(server string, omadacId string, body GetGridPlanUpgradeSiteListJSONRequestBody) (*http.Request, error)
- func NewGetGridPlanUpgradeSiteListRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetGridUpgradeLogsRequest(server string, omadacId string, params *GetGridUpgradeLogsParams) (*http.Request, error)
- func NewGetGridUpgradePlansRequest(server string, omadacId string, params *GetGridUpgradePlansParams) (*http.Request, error)
- func NewGetIntelliRecoverSettingRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetManuallyUpgradeResRequest(server string, omadacId string, siteId string, taskId string) (*http.Request, error)
- func NewGetModelBySitesRequest(server string, omadacId string, body GetModelBySitesJSONRequestBody) (*http.Request, error)
- func NewGetModelBySitesRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetModelFirmwareReleaseNotesRequest(server string, omadacId string, ...) (*http.Request, error)
- func NewGetModelFirmwareReleaseNotesRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetMoveSiteProcessRequest(server string, omadacId string, siteId string, moveSiteId string) (*http.Request, error)
- func NewGetMspAdoptTipRequest(server string, mspId string) (*http.Request, error)
- func NewGetOnlineTimelineRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewGetOnlineUpgradeResRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
- func NewGetPlanUpgradeModelInfoRequest(server string, omadacId string, body GetPlanUpgradeModelInfoJSONRequestBody) (*http.Request, error)
- func NewGetPlanUpgradeModelInfoRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetPoePortsListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetPoeScheduleListRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetPortScheduleListRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetPortScheduleListTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
- func NewGetPortSchedulePortsRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetRebootScheduleList1Request(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetRebootScheduleListRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
- func NewGetRestoreResultRequest(server string, omadacId string) (*http.Request, error)
- func NewGetRollingUpgradeResRequest(server string, omadacId string, siteId string, taskId string) (*http.Request, error)
- func NewGetSelfServerFileListRequest(server string, omadacId string) (*http.Request, error)
- func NewGetSelfServerSiteFileListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetSingleForgetProcessRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewGetSingleMoveSiteProcessRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewGetSiteBackupResultRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetTagsRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetTargetFirmwareAllSitesRequest(server string, omadacId string, firmwareId string) (*http.Request, error)
- func NewGetTryBetaChannelRequest(server string, omadacId string) (*http.Request, error)
- func NewGetTryBetaStatusRequest(server string, omadacId string) (*http.Request, error)
- func NewGetUpgradeFailedDeviceFirmwareInfoRequest(server string, omadacId string, upgradeLogId string) (*http.Request, error)
- func NewGetUpgradeFailedDeviceInfosRequest(server string, omadacId string, upgradeLogId string, ...) (*http.Request, error)
- func NewGetUpgradeScheduleListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetUplinkDeviceInfoRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetUplinkDeviceInfoRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewGetcriticalModelNumRequest(server string, omadacId string) (*http.Request, error)
- func NewLocateDeviceRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewLocateDeviceRequestWithBody(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewLocatePortsRequest(server string, omadacId string, siteId string, body LocatePortsJSONRequestBody) (*http.Request, error)
- func NewLocatePortsRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewManuallyUpgradeRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewManuallyUpgradeRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifyBackupScheduleTaskRequest(server string, omadacId string, body ModifyBackupScheduleTaskJSONRequestBody) (*http.Request, error)
- func NewModifyBackupScheduleTaskRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewModifyDeviceAccessMgmtSettingRequest(server string, omadacId string, ...) (*http.Request, error)
- func NewModifyDeviceAccessMgmtSettingRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewModifyDeviceRememberMeRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewModifyDeviceRememberMeRequestWithBody(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewModifyEmailReminderSwitchStatusRequest(server string, omadacId string, ...) (*http.Request, error)
- func NewModifyEmailReminderSwitchStatusRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewModifyIntelliRecoverSettingRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewModifyIntelliRecoverSettingRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifyPoeScheduleRequest(server string, omadacId string, siteId string, poeScheduleId string, ...) (*http.Request, error)
- func NewModifyPoeScheduleRequestWithBody(server string, omadacId string, siteId string, poeScheduleId string, ...) (*http.Request, error)
- func NewModifyPortScheduleRequest(server string, omadacId string, siteId string, portScheduleId string, ...) (*http.Request, error)
- func NewModifyPortScheduleRequestWithBody(server string, omadacId string, siteId string, portScheduleId string, ...) (*http.Request, error)
- func NewModifyPortScheduleTemplateRequest(server string, omadacId string, siteTemplateId string, pType string, ...) (*http.Request, error)
- func NewModifyPortScheduleTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, pType string, ...) (*http.Request, error)
- func NewModifyRebootSchedule1Request(server string, omadacId string, siteId string, id string, ...) (*http.Request, error)
- func NewModifyRebootSchedule1RequestWithBody(server string, omadacId string, siteId string, id string, contentType string, ...) (*http.Request, error)
- func NewModifyRebootScheduleRequest(server string, omadacId string, siteTemplateId string, id string, ...) (*http.Request, error)
- func NewModifyRebootScheduleRequestWithBody(server string, omadacId string, siteTemplateId string, id string, ...) (*http.Request, error)
- func NewModifyReplaceRecordRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewModifyReplaceRecordRequestWithBody(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewModifyTagRequest(server string, omadacId string, siteId string, body ModifyTagJSONRequestBody) (*http.Request, error)
- func NewModifyTagRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifyTryBetaChannelRequest(server string, omadacId string, body ModifyTryBetaChannelJSONRequestBody) (*http.Request, error)
- func NewModifyTryBetaChannelRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewModifyTryBetaStatusRequest(server string, omadacId string, body ModifyTryBetaStatusJSONRequestBody) (*http.Request, error)
- func NewModifyTryBetaStatusRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewModifyUpgradeScheduleRequest(server string, omadacId string, siteId string, id string, ...) (*http.Request, error)
- func NewModifyUpgradeScheduleRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, ...) (*http.Request, error)
- func NewMoveSiteForApsRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewMoveSiteForApsRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewMoveSiteRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewMoveSiteRequestWithBody(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewOnlineCheckUpgradeRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewOnlineRollingUpgradeByQueryRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewOnlineRollingUpgradeByQueryRequestWithBody(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewOnlineRollingUpgradeRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewOnlineRollingUpgradeRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewOnlineUpgradeRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
- func NewRebootDeviceRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
- func NewRebootDeviceUplinkPoeRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewRebootDeviceUplinkPoeRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewRemovePortScheduleTemplateRequest(server string, omadacId string, siteTemplateId string, pType string, ...) (*http.Request, error)
- func NewRestoreFileServerRequest(server string, omadacId string, body RestoreFileServerJSONRequestBody) (*http.Request, error)
- func NewRestoreFileServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRestoreSelfServerRequest(server string, omadacId string, body RestoreSelfServerJSONRequestBody) (*http.Request, error)
- func NewRestoreSelfServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRestoreSitesFileServerRequest(server string, omadacId string, body RestoreSitesFileServerJSONRequestBody) (*http.Request, error)
- func NewRestoreSitesFileServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRestoreSitesSelfServerRequest(server string, omadacId string, body RestoreSitesSelfServerJSONRequestBody) (*http.Request, error)
- func NewRestoreSitesSelfServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRetryAddDeviceByMspRequest(server string, mspId string, customerId string, siteId string, ...) (*http.Request, error)
- func NewRetryAddDeviceByMspRequestWithBody(server string, mspId string, customerId string, siteId string, ...) (*http.Request, error)
- func NewRetryAddDeviceRequest(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewRetryAddDeviceRequestWithBody(server string, omadacId string, siteId string, deviceMac string, ...) (*http.Request, error)
- func NewSearchGlobalDeviceRequest(server string, omadacId string, params *SearchGlobalDeviceParams) (*http.Request, error)
- func NewUnbindActiveDeviceBySnRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewUnbindActiveDeviceBySnRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewUnbindDeviceBySnRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewUnbindDeviceBySnRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewUnbindDeviceRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewUnbindDeviceRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewUpdateDeviceTagRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewUpdateDeviceTagRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewUploadUpgradeFileRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewUploadUpgradeFirmwareRequest(server string, omadacId string, params *UploadUpgradeFirmwareParams, ...) (*http.Request, error)
- func NewUploadUpgradeFirmwareRequestWithBody(server string, omadacId string, params *UploadUpgradeFirmwareParams, ...) (*http.Request, error)
- func NewVerifyMonitorDeviceRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewVerifyMonitorDeviceRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- type ActiveDeviceBySnJSONRequestBody
- type ActiveDeviceBySnResponse
- type ActiveDeviceJSONRequestBody
- type ActiveDeviceMultiSiteOpenApiVO
- type ActiveDeviceOpenApiVO
- type ActiveDeviceRespVO
- type ActiveDeviceResponse
- type ActiveDeviceSnOpenApiVO
- type ActiveDeviceSnRespVO
- type ActiveDeviceWithMultiSiteJSONRequestBody
- type ActiveDeviceWithMultiSiteResponse
- type ActivePairMultiSiteOpenApiDTO
- type ActivePairOpenApiDTO
- type ActivePairSnOpenApiDTO
- type AddDeviceByDevicekeyOpenApiVO
- type AddDeviceBySnOpenApiVO
- type AddDeviceVO
- type AddDeviceWithSiteBySnOpenApiVO
- type AddDevicesByDeviceKeyJSONRequestBody
- type AddDevicesByDeviceKeyResponse
- type AddDevicesBySnJSONRequestBody
- type AddDevicesBySnResponse
- type AddDevicesBySnWithMultiSiteJSONRequestBody
- type AddDevicesBySnWithMultiSiteResponse
- type AddDevicesForMspJSONRequestBody
- type AddDevicesForMspResponse
- type AddDevicesJSONRequestBodydeprecated
- type AddDevicesResponse
- type AddMonitorDeviceList
- type AddMonitorDevicesJSONRequestBody
- type AddMonitorDevicesResponse
- type AddPortScheduleTemplateJSONRequestBody
- type AddPortScheduleTemplateResponse
- type AddTagJSONRequestBody
- type AddTagResponse
- type AdoptDeviceJSONRequestBody
- type AdoptDeviceRequest
- type AdoptDeviceResponse
- type AdoptResult
- type AdoptTipOpenApiVO
- type AdoptedDeviceGridVODeviceInfo
- type AllTargetSites
- type ApInterference
- type ApMoveSiteOpenApiVO
- type AutoBackupOpenApiVO
- type AutoCheckUpgradeCreateInfo
- type AutoCheckUpgradeInfo
- type BackupFileListVO
- type BackupFileResultVO
- type BackupFileServerJSONRequestBody
- type BackupFileServerResponse
- type BackupResultOpenApiVO
- type BackupSelfServerJSONRequestBody
- type BackupSelfServerResponse
- type BackupSitesFileServerJSONRequestBody
- type BackupSitesFileServerResponse
- type BackupSitesSelfServerJSONRequestBody
- type BackupSitesSelfServerResponse
- type BaseScheduleTimeOpenApiVO
- type BaseScheduleTimeVO
- type BatchAdoptDeviceRequest
- type BatchAdoptJSONRequestBody
- type BatchAdoptResponse
- type BatchSiteBackupVO
- type BatchSiteFileServerRestoreVO
- type BatchSiteSelfRestoreVO
- type BatchTagRespOpenApiVO
- type BriefDeviceInfoDetailForBatchAdoptOpenApiVO
- type CancelRollingUpgradeResponse
- type CheckFirmwareRes
- type CheckMacTypeOpenApiVO
- type CheckMacTypeResponse
- type CheckReplaceRecordJSONRequestBody
- type CheckReplaceRecordResponse
- type CheckReplaceVO
- type CheckUploadUpgradeFirmwareLimitResponse
- type Client
- func (c *Client) ActiveDevice(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ActiveDeviceBySn(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ActiveDeviceBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ActiveDeviceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ActiveDeviceWithMultiSite(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) ActiveDeviceWithMultiSiteWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddDevices(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) AddDevicesByDeviceKey(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) AddDevicesByDeviceKeyWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) AddDevicesBySn(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) AddDevicesBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) AddDevicesBySnWithMultiSite(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) AddDevicesBySnWithMultiSiteWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddDevicesForMsp(ctx context.Context, mspId string, customerId string, siteId string, ...) (*http.Response, error)
- func (c *Client) AddDevicesForMspWithBody(ctx context.Context, mspId string, customerId string, siteId string, ...) (*http.Response, error)
- func (c *Client) AddDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) AddMonitorDevices(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) AddMonitorDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) AddPortScheduleTemplate(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) AddPortScheduleTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) AddTag(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) AddTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) AdoptDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) AdoptDeviceWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) BackupFileServer(ctx context.Context, omadacId string, body BackupFileServerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BackupFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BackupSelfServer(ctx context.Context, omadacId string, body BackupSelfServerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BackupSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BackupSitesFileServer(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) BackupSitesFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BackupSitesSelfServer(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) BackupSitesSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BatchAdopt(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) BatchAdoptWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CancelRollingUpgrade(ctx context.Context, omadacId string, siteId string, taskId string, ...) (*http.Response, error)
- func (c *Client) CheckMacType(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) CheckReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) CheckReplaceRecordWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) CheckUploadUpgradeFirmwareLimit(ctx context.Context, omadacId string, firmwareSize string, ...) (*http.Response, error)
- func (c *Client) CopyDeviceConfiguration(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CopyDeviceConfigurationWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateAutoCheckUpgrade(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) CreateAutoCheckUpgradeWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFailedDeviceModelPlan(ctx context.Context, omadacId string, upgradeLogId string, ...) (*http.Response, error)
- func (c *Client) CreateFailedDeviceModelPlanWithBody(ctx context.Context, omadacId string, upgradeLogId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateFirmwareUpgradePlan(ctx context.Context, omadacId string, firmwareId string, ...) (*http.Response, error)
- func (c *Client) CreateFirmwareUpgradePlanWithBody(ctx context.Context, omadacId string, firmwareId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreatePoeSchedule(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreatePoeScheduleWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreatePortSchedule(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreatePortScheduleWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateRebootSchedule(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) CreateRebootSchedule1(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateRebootSchedule1WithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateRebootScheduleWithBody(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) CreateReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) CreateReplaceRecordWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) CreateRollback(ctx context.Context, omadacId string, upgradeLogId string, ...) (*http.Response, error)
- func (c *Client) CreateRollbackWithBody(ctx context.Context, omadacId string, upgradeLogId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateUpgradePlan(ctx context.Context, omadacId string, body CreateUpgradePlanJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateUpgradePlanWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateUpgradeSchedule(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateUpgradeScheduleWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteAutoCheckUpgrade(ctx context.Context, omadacId string, autoCheckId string, ...) (*http.Response, error)
- func (c *Client) DeleteMonitorDevices(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) DeleteMonitorDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) DeletePoeSchedule(ctx context.Context, omadacId string, siteId string, poeScheduleId string, ...) (*http.Response, error)
- func (c *Client) DeletePortSchedule(ctx context.Context, omadacId string, siteId string, portScheduleId string, ...) (*http.Response, error)
- func (c *Client) DeleteRebootSchedule(ctx context.Context, omadacId string, siteTemplateId string, id string, ...) (*http.Response, error)
- func (c *Client) DeleteRebootSchedule1(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) DeleteReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) DeleteTag(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) DeleteTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteUpgradeFirmware(ctx context.Context, omadacId string, firmwareId string, ...) (*http.Response, error)
- func (c *Client) DeleteUpgradePlan(ctx context.Context, omadacId string, planId string, ...) (*http.Response, error)
- func (c *Client) DeleteUpgradeSchedule(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) DownloadDeviceInfo(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) EditAutoCheckUpgrade(ctx context.Context, omadacId string, autoCheckId string, ...) (*http.Response, error)
- func (c *Client) EditAutoCheckUpgradeWithBody(ctx context.Context, omadacId string, autoCheckId string, contentType string, ...) (*http.Response, error)
- func (c *Client) EditFirmwareUpgrade(ctx context.Context, omadacId string, firmwareId string, ...) (*http.Response, error)
- func (c *Client) EditFirmwareUpgradeWithBody(ctx context.Context, omadacId string, firmwareId string, contentType string, ...) (*http.Response, error)
- func (c *Client) EditUpgradePlan(ctx context.Context, omadacId string, planId string, ...) (*http.Response, error)
- func (c *Client) EditUpgradePlanWithBody(ctx context.Context, omadacId string, planId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ExistUnSupportRadSecDevice(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ExportAddFailDevices(ctx context.Context, omadacId string, operateId string, ...) (*http.Response, error)
- func (c *Client) ExportGlobalDeviceList(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) ExportGlobalDeviceListWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ExportMspAddFailDevices(ctx context.Context, mspId string, customerId string, operateId string, ...) (*http.Response, error)
- func (c *Client) ExportPreConfigDevices(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ExportPreConfigDevicesGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ExportSiteDeviceList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ExportSiteDeviceListWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ForceProvisionDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) ForgetDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) ForgetDeviceForMsp(ctx context.Context, mspId string, customerId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetAddDevicesStatus(ctx context.Context, omadacId string, siteId string, operateId string, ...) (*http.Response, error)
- func (c *Client) GetAddDevicesStatusMultiSite(ctx context.Context, omadacId string, operateId string, ...) (*http.Response, error)
- func (c *Client) GetAdoptAbleDevicesForGlobalBatchAdopt(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) GetAdoptAbleDevicesForMspBatchAdopt(ctx context.Context, mspId string, ...) (*http.Response, error)
- func (c *Client) GetAdoptTip(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllDeviceBySite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetAutoSelectDevices(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetAutoSelectDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) GetBackupResult(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBackupScheduleTask(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCheckFirmwareTaskResult(ctx context.Context, omadacId string, siteId string, taskId string, ...) (*http.Response, error)
- func (c *Client) GetDeviceAccessMgmtSetting(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDeviceAdoptResult(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) GetDeviceIncidentCounts(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetDeviceIncidentCountsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) GetDeviceList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetDeviceRememberMe(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) GetDeviceWhiteList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetEligibleDeviceList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetEmailReminderSwitchStatus(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFirmwareInfo(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) GetForgetProcess(ctx context.Context, omadacId string, siteId string, forgetId string, ...) (*http.Response, error)
- func (c *Client) GetGlobalDeviceIncidentCounts(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) GetGlobalDeviceIncidentCountsWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetGlobalKnownDeviceList(ctx context.Context, omadacId string, params *GetGlobalKnownDeviceListParams, ...) (*http.Response, error)
- func (c *Client) GetGlobalUnknownDeviceList(ctx context.Context, omadacId string, params *GetGlobalUnknownDeviceListParams, ...) (*http.Response, error)
- func (c *Client) GetGridAdoptedBridgeDevicesBySite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridAdoptedDevicesStatByGlobal(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) GetGridAutoCheckUpgrade(ctx context.Context, omadacId string, params *GetGridAutoCheckUpgradeParams, ...) (*http.Response, error)
- func (c *Client) GetGridFirmwareList(ctx context.Context, omadacId string, params *GetGridFirmwareListParams, ...) (*http.Response, error)
- func (c *Client) GetGridFirmwarePoolList(ctx context.Context, omadacId string, params *GetGridFirmwarePoolListParams, ...) (*http.Response, error)
- func (c *Client) GetGridMonitorDevice(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridPendingBridgeDevicesBySite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridPendingDevicesBySite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridPlanUpgradeModelList(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) GetGridPlanUpgradeSiteList(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) GetGridPlanUpgradeSiteListWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetGridUpgradeLogs(ctx context.Context, omadacId string, params *GetGridUpgradeLogsParams, ...) (*http.Response, error)
- func (c *Client) GetGridUpgradePlans(ctx context.Context, omadacId string, params *GetGridUpgradePlansParams, ...) (*http.Response, error)
- func (c *Client) GetIntelliRecoverSetting(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetManuallyUpgradeRes(ctx context.Context, omadacId string, siteId string, taskId string, ...) (*http.Response, error)
- func (c *Client) GetModelBySites(ctx context.Context, omadacId string, body GetModelBySitesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetModelBySitesWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetModelFirmwareReleaseNotes(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) GetModelFirmwareReleaseNotesWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetMoveSiteProcess(ctx context.Context, omadacId string, siteId string, moveSiteId string, ...) (*http.Response, error)
- func (c *Client) GetMspAdoptTip(ctx context.Context, mspId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOnlineTimeline(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) GetOnlineUpgradeRes(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) GetPlanUpgradeModelInfo(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) GetPlanUpgradeModelInfoWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetPoePortsList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetPoeScheduleList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetPortScheduleList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetPortScheduleListTemplate(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) GetPortSchedulePorts(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetRebootScheduleList(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) GetRebootScheduleList1(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetRestoreResult(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRollingUpgradeRes(ctx context.Context, omadacId string, siteId string, taskId string, ...) (*http.Response, error)
- func (c *Client) GetSelfServerFileList(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSelfServerSiteFileList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetSingleForgetProcess(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) GetSingleMoveSiteProcess(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) GetSiteBackupResult(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetTags(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetTargetFirmwareAllSites(ctx context.Context, omadacId string, firmwareId string, ...) (*http.Response, error)
- func (c *Client) GetTryBetaChannel(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTryBetaStatus(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUpgradeFailedDeviceFirmwareInfo(ctx context.Context, omadacId string, upgradeLogId string, ...) (*http.Response, error)
- func (c *Client) GetUpgradeFailedDeviceInfos(ctx context.Context, omadacId string, upgradeLogId string, ...) (*http.Response, error)
- func (c *Client) GetUpgradeScheduleList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetUplinkDeviceInfo(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetUplinkDeviceInfoWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) GetcriticalModelNum(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LocateDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) LocateDeviceWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) LocatePorts(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) LocatePortsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ManuallyUpgrade(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ManuallyUpgradeWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifyBackupScheduleTask(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) ModifyBackupScheduleTaskWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModifyDeviceAccessMgmtSetting(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) ModifyDeviceAccessMgmtSettingWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModifyDeviceRememberMe(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) ModifyDeviceRememberMeWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) ModifyEmailReminderSwitchStatus(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) ModifyEmailReminderSwitchStatusWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModifyIntelliRecoverSetting(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ModifyIntelliRecoverSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifyPoeSchedule(ctx context.Context, omadacId string, siteId string, poeScheduleId string, ...) (*http.Response, error)
- func (c *Client) ModifyPoeScheduleWithBody(ctx context.Context, omadacId string, siteId string, poeScheduleId string, ...) (*http.Response, error)
- func (c *Client) ModifyPortSchedule(ctx context.Context, omadacId string, siteId string, portScheduleId string, ...) (*http.Response, error)
- func (c *Client) ModifyPortScheduleTemplate(ctx context.Context, omadacId string, siteTemplateId string, pType string, ...) (*http.Response, error)
- func (c *Client) ModifyPortScheduleTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, pType string, ...) (*http.Response, error)
- func (c *Client) ModifyPortScheduleWithBody(ctx context.Context, omadacId string, siteId string, portScheduleId string, ...) (*http.Response, error)
- func (c *Client) ModifyRebootSchedule(ctx context.Context, omadacId string, siteTemplateId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyRebootSchedule1(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyRebootSchedule1WithBody(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyRebootScheduleWithBody(ctx context.Context, omadacId string, siteTemplateId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) ModifyReplaceRecordWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) ModifyTag(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ModifyTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifyTryBetaChannel(ctx context.Context, omadacId string, body ModifyTryBetaChannelJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ModifyTryBetaChannelWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModifyTryBetaStatus(ctx context.Context, omadacId string, body ModifyTryBetaStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ModifyTryBetaStatusWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModifyUpgradeSchedule(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyUpgradeScheduleWithBody(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) MoveSite(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) MoveSiteForAps(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) MoveSiteForApsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) MoveSiteWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) OnlineCheckUpgrade(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) OnlineRollingUpgrade(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) OnlineRollingUpgradeByQuery(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) OnlineRollingUpgradeByQueryWithBody(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) OnlineRollingUpgradeWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) OnlineUpgrade(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) RebootDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) RebootDeviceUplinkPoe(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) RebootDeviceUplinkPoeWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RemovePortScheduleTemplate(ctx context.Context, omadacId string, siteTemplateId string, pType string, ...) (*http.Response, error)
- func (c *Client) RestoreFileServer(ctx context.Context, omadacId string, body RestoreFileServerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RestoreFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RestoreSelfServer(ctx context.Context, omadacId string, body RestoreSelfServerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RestoreSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RestoreSitesFileServer(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) RestoreSitesFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RestoreSitesSelfServer(ctx context.Context, omadacId string, ...) (*http.Response, error)
- func (c *Client) RestoreSitesSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RetryAddDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) RetryAddDeviceByMsp(ctx context.Context, mspId string, customerId string, siteId string, ...) (*http.Response, error)
- func (c *Client) RetryAddDeviceByMspWithBody(ctx context.Context, mspId string, customerId string, siteId string, ...) (*http.Response, error)
- func (c *Client) RetryAddDeviceWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*http.Response, error)
- func (c *Client) SearchGlobalDevice(ctx context.Context, omadacId string, params *SearchGlobalDeviceParams, ...) (*http.Response, error)
- func (c *Client) UnbindActiveDeviceBySn(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) UnbindActiveDeviceBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UnbindDevice(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) UnbindDeviceBySn(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) UnbindDeviceBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UnbindDeviceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateDeviceTag(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) UpdateDeviceTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadUpgradeFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadUpgradeFirmware(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, ...) (*http.Response, error)
- func (c *Client) UploadUpgradeFirmwareWithBody(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, ...) (*http.Response, error)
- func (c *Client) VerifyMonitorDevice(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) VerifyMonitorDeviceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- type ClientAggHealthDTO
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ActiveDeviceBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ActiveDeviceBySnResponse, error)
- func (c *ClientWithResponses) ActiveDeviceBySnWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ActiveDeviceBySnResponse, error)
- func (c *ClientWithResponses) ActiveDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ActiveDeviceResponse, error)
- func (c *ClientWithResponses) ActiveDeviceWithMultiSiteWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ActiveDeviceWithMultiSiteResponse, error)
- func (c *ClientWithResponses) ActiveDeviceWithMultiSiteWithResponse(ctx context.Context, omadacId string, ...) (*ActiveDeviceWithMultiSiteResponse, error)
- func (c *ClientWithResponses) ActiveDeviceWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ActiveDeviceResponse, error)
- func (c *ClientWithResponses) AddDevicesByDeviceKeyWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*AddDevicesByDeviceKeyResponse, error)
- func (c *ClientWithResponses) AddDevicesByDeviceKeyWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*AddDevicesByDeviceKeyResponse, error)
- func (c *ClientWithResponses) AddDevicesBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*AddDevicesBySnResponse, error)
- func (c *ClientWithResponses) AddDevicesBySnWithMultiSiteWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*AddDevicesBySnWithMultiSiteResponse, error)
- func (c *ClientWithResponses) AddDevicesBySnWithMultiSiteWithResponse(ctx context.Context, omadacId string, ...) (*AddDevicesBySnWithMultiSiteResponse, error)
- func (c *ClientWithResponses) AddDevicesBySnWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*AddDevicesBySnResponse, error)
- func (c *ClientWithResponses) AddDevicesForMspWithBodyWithResponse(ctx context.Context, mspId string, customerId string, siteId string, ...) (*AddDevicesForMspResponse, error)
- func (c *ClientWithResponses) AddDevicesForMspWithResponse(ctx context.Context, mspId string, customerId string, siteId string, ...) (*AddDevicesForMspResponse, error)
- func (c *ClientWithResponses) AddDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*AddDevicesResponse, error)deprecated
- func (c *ClientWithResponses) AddDevicesWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*AddDevicesResponse, error)
- func (c *ClientWithResponses) AddMonitorDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*AddMonitorDevicesResponse, error)
- func (c *ClientWithResponses) AddMonitorDevicesWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*AddMonitorDevicesResponse, error)
- func (c *ClientWithResponses) AddPortScheduleTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*AddPortScheduleTemplateResponse, error)
- func (c *ClientWithResponses) AddPortScheduleTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*AddPortScheduleTemplateResponse, error)
- func (c *ClientWithResponses) AddTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*AddTagResponse, error)
- func (c *ClientWithResponses) AddTagWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*AddTagResponse, error)
- func (c *ClientWithResponses) AdoptDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*AdoptDeviceResponse, error)
- func (c *ClientWithResponses) AdoptDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*AdoptDeviceResponse, error)
- func (c *ClientWithResponses) BackupFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*BackupFileServerResponse, error)
- func (c *ClientWithResponses) BackupFileServerWithResponse(ctx context.Context, omadacId string, body BackupFileServerJSONRequestBody, ...) (*BackupFileServerResponse, error)
- func (c *ClientWithResponses) BackupSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*BackupSelfServerResponse, error)
- func (c *ClientWithResponses) BackupSelfServerWithResponse(ctx context.Context, omadacId string, body BackupSelfServerJSONRequestBody, ...) (*BackupSelfServerResponse, error)
- func (c *ClientWithResponses) BackupSitesFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*BackupSitesFileServerResponse, error)
- func (c *ClientWithResponses) BackupSitesFileServerWithResponse(ctx context.Context, omadacId string, ...) (*BackupSitesFileServerResponse, error)
- func (c *ClientWithResponses) BackupSitesSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*BackupSitesSelfServerResponse, error)
- func (c *ClientWithResponses) BackupSitesSelfServerWithResponse(ctx context.Context, omadacId string, ...) (*BackupSitesSelfServerResponse, error)
- func (c *ClientWithResponses) BatchAdoptWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*BatchAdoptResponse, error)
- func (c *ClientWithResponses) BatchAdoptWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*BatchAdoptResponse, error)
- func (c *ClientWithResponses) CancelRollingUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, ...) (*CancelRollingUpgradeResponse, error)
- func (c *ClientWithResponses) CheckMacTypeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*CheckMacTypeResponse, error)
- func (c *ClientWithResponses) CheckReplaceRecordWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*CheckReplaceRecordResponse, error)
- func (c *ClientWithResponses) CheckReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*CheckReplaceRecordResponse, error)
- func (c *ClientWithResponses) CheckUploadUpgradeFirmwareLimitWithResponse(ctx context.Context, omadacId string, firmwareSize string, ...) (*CheckUploadUpgradeFirmwareLimitResponse, error)
- func (c *ClientWithResponses) CopyDeviceConfigurationWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CopyDeviceConfigurationResponse, error)
- func (c *ClientWithResponses) CopyDeviceConfigurationWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CopyDeviceConfigurationResponse, error)
- func (c *ClientWithResponses) CreateAutoCheckUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*CreateAutoCheckUpgradeResponse, error)
- func (c *ClientWithResponses) CreateAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, ...) (*CreateAutoCheckUpgradeResponse, error)
- func (c *ClientWithResponses) CreateFailedDeviceModelPlanWithBodyWithResponse(ctx context.Context, omadacId string, upgradeLogId string, contentType string, ...) (*CreateFailedDeviceModelPlanResponse, error)
- func (c *ClientWithResponses) CreateFailedDeviceModelPlanWithResponse(ctx context.Context, omadacId string, upgradeLogId string, ...) (*CreateFailedDeviceModelPlanResponse, error)
- func (c *ClientWithResponses) CreateFirmwareUpgradePlanWithBodyWithResponse(ctx context.Context, omadacId string, firmwareId string, contentType string, ...) (*CreateFirmwareUpgradePlanResponse, error)
- func (c *ClientWithResponses) CreateFirmwareUpgradePlanWithResponse(ctx context.Context, omadacId string, firmwareId string, ...) (*CreateFirmwareUpgradePlanResponse, error)
- func (c *ClientWithResponses) CreatePoeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreatePoeScheduleResponse, error)
- func (c *ClientWithResponses) CreatePoeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreatePoeScheduleResponse, error)
- func (c *ClientWithResponses) CreatePortScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreatePortScheduleResponse, error)
- func (c *ClientWithResponses) CreatePortScheduleWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreatePortScheduleResponse, error)
- func (c *ClientWithResponses) CreateRebootSchedule1WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateRebootSchedule1Response, error)
- func (c *ClientWithResponses) CreateRebootSchedule1WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateRebootSchedule1Response, error)
- func (c *ClientWithResponses) CreateRebootScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*CreateRebootScheduleResponse, error)
- func (c *ClientWithResponses) CreateRebootScheduleWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*CreateRebootScheduleResponse, error)
- func (c *ClientWithResponses) CreateReplaceRecordWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*CreateReplaceRecordResponse, error)
- func (c *ClientWithResponses) CreateReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*CreateReplaceRecordResponse, error)
- func (c *ClientWithResponses) CreateRollbackWithBodyWithResponse(ctx context.Context, omadacId string, upgradeLogId string, contentType string, ...) (*CreateRollbackResponse, error)
- func (c *ClientWithResponses) CreateRollbackWithResponse(ctx context.Context, omadacId string, upgradeLogId string, ...) (*CreateRollbackResponse, error)
- func (c *ClientWithResponses) CreateUpgradePlanWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*CreateUpgradePlanResponse, error)
- func (c *ClientWithResponses) CreateUpgradePlanWithResponse(ctx context.Context, omadacId string, body CreateUpgradePlanJSONRequestBody, ...) (*CreateUpgradePlanResponse, error)
- func (c *ClientWithResponses) CreateUpgradeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateUpgradeScheduleResponse, error)
- func (c *ClientWithResponses) CreateUpgradeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateUpgradeScheduleResponse, error)
- func (c *ClientWithResponses) DeleteAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, autoCheckId string, ...) (*DeleteAutoCheckUpgradeResponse, error)
- func (c *ClientWithResponses) DeleteMonitorDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*DeleteMonitorDevicesResponse, error)
- func (c *ClientWithResponses) DeleteMonitorDevicesWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*DeleteMonitorDevicesResponse, error)
- func (c *ClientWithResponses) DeletePoeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, poeScheduleId string, ...) (*DeletePoeScheduleResponse, error)
- func (c *ClientWithResponses) DeletePortScheduleWithResponse(ctx context.Context, omadacId string, siteId string, portScheduleId string, ...) (*DeletePortScheduleResponse, error)
- func (c *ClientWithResponses) DeleteRebootSchedule1WithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*DeleteRebootSchedule1Response, error)
- func (c *ClientWithResponses) DeleteRebootScheduleWithResponse(ctx context.Context, omadacId string, siteTemplateId string, id string, ...) (*DeleteRebootScheduleResponse, error)
- func (c *ClientWithResponses) DeleteReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*DeleteReplaceRecordResponse, error)
- func (c *ClientWithResponses) DeleteTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*DeleteTagResponse, error)
- func (c *ClientWithResponses) DeleteTagWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*DeleteTagResponse, error)
- func (c *ClientWithResponses) DeleteUpgradeFirmwareWithResponse(ctx context.Context, omadacId string, firmwareId string, ...) (*DeleteUpgradeFirmwareResponse, error)
- func (c *ClientWithResponses) DeleteUpgradePlanWithResponse(ctx context.Context, omadacId string, planId string, ...) (*DeleteUpgradePlanResponse, error)
- func (c *ClientWithResponses) DeleteUpgradeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*DeleteUpgradeScheduleResponse, error)
- func (c *ClientWithResponses) DownloadDeviceInfoWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*DownloadDeviceInfoResponse, error)
- func (c *ClientWithResponses) EditAutoCheckUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, autoCheckId string, contentType string, ...) (*EditAutoCheckUpgradeResponse, error)
- func (c *ClientWithResponses) EditAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, autoCheckId string, ...) (*EditAutoCheckUpgradeResponse, error)
- func (c *ClientWithResponses) EditFirmwareUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, firmwareId string, contentType string, ...) (*EditFirmwareUpgradeResponse, error)
- func (c *ClientWithResponses) EditFirmwareUpgradeWithResponse(ctx context.Context, omadacId string, firmwareId string, ...) (*EditFirmwareUpgradeResponse, error)
- func (c *ClientWithResponses) EditUpgradePlanWithBodyWithResponse(ctx context.Context, omadacId string, planId string, contentType string, ...) (*EditUpgradePlanResponse, error)
- func (c *ClientWithResponses) EditUpgradePlanWithResponse(ctx context.Context, omadacId string, planId string, ...) (*EditUpgradePlanResponse, error)
- func (c *ClientWithResponses) ExistUnSupportRadSecDeviceWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ExistUnSupportRadSecDeviceResponse, error)
- func (c *ClientWithResponses) ExportAddFailDevicesWithResponse(ctx context.Context, omadacId string, operateId string, ...) (*ExportAddFailDevicesResponse, error)
- func (c *ClientWithResponses) ExportGlobalDeviceListWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ExportGlobalDeviceListResponse, error)
- func (c *ClientWithResponses) ExportGlobalDeviceListWithResponse(ctx context.Context, omadacId string, ...) (*ExportGlobalDeviceListResponse, error)
- func (c *ClientWithResponses) ExportMspAddFailDevicesWithResponse(ctx context.Context, mspId string, customerId string, operateId string, ...) (*ExportMspAddFailDevicesResponse, error)
- func (c *ClientWithResponses) ExportPreConfigDevicesGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*ExportPreConfigDevicesGlobalResponse, error)
- func (c *ClientWithResponses) ExportPreConfigDevicesWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ExportPreConfigDevicesResponse, error)
- func (c *ClientWithResponses) ExportSiteDeviceListWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ExportSiteDeviceListResponse, error)
- func (c *ClientWithResponses) ExportSiteDeviceListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ExportSiteDeviceListResponse, error)
- func (c *ClientWithResponses) ForceProvisionDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*ForceProvisionDeviceResponse, error)
- func (c *ClientWithResponses) ForgetDeviceForMspWithResponse(ctx context.Context, mspId string, customerId string, siteId string, ...) (*ForgetDeviceForMspResponse, error)
- func (c *ClientWithResponses) ForgetDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*ForgetDeviceResponse, error)
- func (c *ClientWithResponses) GetAddDevicesStatusMultiSiteWithResponse(ctx context.Context, omadacId string, operateId string, ...) (*GetAddDevicesStatusMultiSiteResponse, error)
- func (c *ClientWithResponses) GetAddDevicesStatusWithResponse(ctx context.Context, omadacId string, siteId string, operateId string, ...) (*GetAddDevicesStatusResponse, error)
- func (c *ClientWithResponses) GetAdoptAbleDevicesForGlobalBatchAdoptWithResponse(ctx context.Context, omadacId string, ...) (*GetAdoptAbleDevicesForGlobalBatchAdoptResponse, error)
- func (c *ClientWithResponses) GetAdoptAbleDevicesForMspBatchAdoptWithResponse(ctx context.Context, mspId string, ...) (*GetAdoptAbleDevicesForMspBatchAdoptResponse, error)
- func (c *ClientWithResponses) GetAdoptTipWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetAdoptTipResponse, error)
- func (c *ClientWithResponses) GetAllDeviceBySiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetAllDeviceBySiteResponse, error)
- func (c *ClientWithResponses) GetAutoSelectDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*GetAutoSelectDevicesResponse, error)
- func (c *ClientWithResponses) GetAutoSelectDevicesWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetAutoSelectDevicesResponse, error)
- func (c *ClientWithResponses) GetBackupResultWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetBackupResultResponse, error)
- func (c *ClientWithResponses) GetBackupScheduleTaskWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetBackupScheduleTaskResponse, error)
- func (c *ClientWithResponses) GetCheckFirmwareTaskResultWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, ...) (*GetCheckFirmwareTaskResultResponse, error)
- func (c *ClientWithResponses) GetDeviceAccessMgmtSettingWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetDeviceAccessMgmtSettingResponse, error)
- func (c *ClientWithResponses) GetDeviceAdoptResultWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*GetDeviceAdoptResultResponse, error)
- func (c *ClientWithResponses) GetDeviceIncidentCountsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*GetDeviceIncidentCountsResponse, error)
- func (c *ClientWithResponses) GetDeviceIncidentCountsWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetDeviceIncidentCountsResponse, error)
- func (c *ClientWithResponses) GetDeviceListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetDeviceListResponse, error)
- func (c *ClientWithResponses) GetDeviceRememberMeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*GetDeviceRememberMeResponse, error)
- func (c *ClientWithResponses) GetDeviceWhiteListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetDeviceWhiteListResponse, error)
- func (c *ClientWithResponses) GetEligibleDeviceListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetEligibleDeviceListResponse, error)
- func (c *ClientWithResponses) GetEmailReminderSwitchStatusWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetEmailReminderSwitchStatusResponse, error)
- func (c *ClientWithResponses) GetFirmwareInfoWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*GetFirmwareInfoResponse, error)
- func (c *ClientWithResponses) GetForgetProcessWithResponse(ctx context.Context, omadacId string, siteId string, forgetId string, ...) (*GetForgetProcessResponse, error)
- func (c *ClientWithResponses) GetGlobalDeviceIncidentCountsWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*GetGlobalDeviceIncidentCountsResponse, error)
- func (c *ClientWithResponses) GetGlobalDeviceIncidentCountsWithResponse(ctx context.Context, omadacId string, ...) (*GetGlobalDeviceIncidentCountsResponse, error)
- func (c *ClientWithResponses) GetGlobalKnownDeviceListWithResponse(ctx context.Context, omadacId string, params *GetGlobalKnownDeviceListParams, ...) (*GetGlobalKnownDeviceListResponse, error)
- func (c *ClientWithResponses) GetGlobalUnknownDeviceListWithResponse(ctx context.Context, omadacId string, params *GetGlobalUnknownDeviceListParams, ...) (*GetGlobalUnknownDeviceListResponse, error)
- func (c *ClientWithResponses) GetGridAdoptedBridgeDevicesBySiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridAdoptedBridgeDevicesBySiteResponse, error)
- func (c *ClientWithResponses) GetGridAdoptedDevicesStatByGlobalWithResponse(ctx context.Context, omadacId string, ...) (*GetGridAdoptedDevicesStatByGlobalResponse, error)
- func (c *ClientWithResponses) GetGridAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, params *GetGridAutoCheckUpgradeParams, ...) (*GetGridAutoCheckUpgradeResponse, error)
- func (c *ClientWithResponses) GetGridFirmwareListWithResponse(ctx context.Context, omadacId string, params *GetGridFirmwareListParams, ...) (*GetGridFirmwareListResponse, error)
- func (c *ClientWithResponses) GetGridFirmwarePoolListWithResponse(ctx context.Context, omadacId string, params *GetGridFirmwarePoolListParams, ...) (*GetGridFirmwarePoolListResponse, error)
- func (c *ClientWithResponses) GetGridMonitorDeviceWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridMonitorDeviceResponse, error)
- func (c *ClientWithResponses) GetGridPendingBridgeDevicesBySiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridPendingBridgeDevicesBySiteResponse, error)
- func (c *ClientWithResponses) GetGridPendingDevicesBySiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridPendingDevicesBySiteResponse, error)
- func (c *ClientWithResponses) GetGridPlanUpgradeModelListWithResponse(ctx context.Context, omadacId string, ...) (*GetGridPlanUpgradeModelListResponse, error)
- func (c *ClientWithResponses) GetGridPlanUpgradeSiteListWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*GetGridPlanUpgradeSiteListResponse, error)
- func (c *ClientWithResponses) GetGridPlanUpgradeSiteListWithResponse(ctx context.Context, omadacId string, ...) (*GetGridPlanUpgradeSiteListResponse, error)
- func (c *ClientWithResponses) GetGridUpgradeLogsWithResponse(ctx context.Context, omadacId string, params *GetGridUpgradeLogsParams, ...) (*GetGridUpgradeLogsResponse, error)
- func (c *ClientWithResponses) GetGridUpgradePlansWithResponse(ctx context.Context, omadacId string, params *GetGridUpgradePlansParams, ...) (*GetGridUpgradePlansResponse, error)
- func (c *ClientWithResponses) GetIntelliRecoverSettingWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetIntelliRecoverSettingResponse, error)
- func (c *ClientWithResponses) GetManuallyUpgradeResWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, ...) (*GetManuallyUpgradeResResponse, error)
- func (c *ClientWithResponses) GetModelBySitesWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*GetModelBySitesResponse, error)
- func (c *ClientWithResponses) GetModelBySitesWithResponse(ctx context.Context, omadacId string, body GetModelBySitesJSONRequestBody, ...) (*GetModelBySitesResponse, error)
- func (c *ClientWithResponses) GetModelFirmwareReleaseNotesWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*GetModelFirmwareReleaseNotesResponse, error)
- func (c *ClientWithResponses) GetModelFirmwareReleaseNotesWithResponse(ctx context.Context, omadacId string, ...) (*GetModelFirmwareReleaseNotesResponse, error)
- func (c *ClientWithResponses) GetMoveSiteProcessWithResponse(ctx context.Context, omadacId string, siteId string, moveSiteId string, ...) (*GetMoveSiteProcessResponse, error)
- func (c *ClientWithResponses) GetMspAdoptTipWithResponse(ctx context.Context, mspId string, reqEditors ...RequestEditorFn) (*GetMspAdoptTipResponse, error)
- func (c *ClientWithResponses) GetOnlineTimelineWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*GetOnlineTimelineResponse, error)
- func (c *ClientWithResponses) GetOnlineUpgradeResWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*GetOnlineUpgradeResResponse, error)
- func (c *ClientWithResponses) GetPlanUpgradeModelInfoWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*GetPlanUpgradeModelInfoResponse, error)
- func (c *ClientWithResponses) GetPlanUpgradeModelInfoWithResponse(ctx context.Context, omadacId string, ...) (*GetPlanUpgradeModelInfoResponse, error)
- func (c *ClientWithResponses) GetPoePortsListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetPoePortsListResponse, error)
- func (c *ClientWithResponses) GetPoeScheduleListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetPoeScheduleListResponse, error)
- func (c *ClientWithResponses) GetPortScheduleListTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*GetPortScheduleListTemplateResponse, error)
- func (c *ClientWithResponses) GetPortScheduleListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetPortScheduleListResponse, error)
- func (c *ClientWithResponses) GetPortSchedulePortsWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetPortSchedulePortsResponse, error)
- func (c *ClientWithResponses) GetRebootScheduleList1WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetRebootScheduleList1Response, error)
- func (c *ClientWithResponses) GetRebootScheduleListWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*GetRebootScheduleListResponse, error)
- func (c *ClientWithResponses) GetRestoreResultWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetRestoreResultResponse, error)
- func (c *ClientWithResponses) GetRollingUpgradeResWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, ...) (*GetRollingUpgradeResResponse, error)
- func (c *ClientWithResponses) GetSelfServerFileListWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetSelfServerFileListResponse, error)
- func (c *ClientWithResponses) GetSelfServerSiteFileListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetSelfServerSiteFileListResponse, error)
- func (c *ClientWithResponses) GetSingleForgetProcessWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*GetSingleForgetProcessResponse, error)
- func (c *ClientWithResponses) GetSingleMoveSiteProcessWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*GetSingleMoveSiteProcessResponse, error)
- func (c *ClientWithResponses) GetSiteBackupResultWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetSiteBackupResultResponse, error)
- func (c *ClientWithResponses) GetTagsWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetTagsResponse, error)
- func (c *ClientWithResponses) GetTargetFirmwareAllSitesWithResponse(ctx context.Context, omadacId string, firmwareId string, ...) (*GetTargetFirmwareAllSitesResponse, error)
- func (c *ClientWithResponses) GetTryBetaChannelWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetTryBetaChannelResponse, error)
- func (c *ClientWithResponses) GetTryBetaStatusWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetTryBetaStatusResponse, error)
- func (c *ClientWithResponses) GetUpgradeFailedDeviceFirmwareInfoWithResponse(ctx context.Context, omadacId string, upgradeLogId string, ...) (*GetUpgradeFailedDeviceFirmwareInfoResponse, error)
- func (c *ClientWithResponses) GetUpgradeFailedDeviceInfosWithResponse(ctx context.Context, omadacId string, upgradeLogId string, ...) (*GetUpgradeFailedDeviceInfosResponse, error)
- func (c *ClientWithResponses) GetUpgradeScheduleListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetUpgradeScheduleListResponse, error)
- func (c *ClientWithResponses) GetUplinkDeviceInfoWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*GetUplinkDeviceInfoResponse, error)
- func (c *ClientWithResponses) GetUplinkDeviceInfoWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetUplinkDeviceInfoResponse, error)
- func (c *ClientWithResponses) GetcriticalModelNumWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetcriticalModelNumResponse, error)
- func (c *ClientWithResponses) LocateDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*LocateDeviceResponse, error)
- func (c *ClientWithResponses) LocateDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*LocateDeviceResponse, error)
- func (c *ClientWithResponses) LocatePortsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*LocatePortsResponse, error)
- func (c *ClientWithResponses) LocatePortsWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*LocatePortsResponse, error)
- func (c *ClientWithResponses) ManuallyUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ManuallyUpgradeResponse, error)
- func (c *ClientWithResponses) ManuallyUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ManuallyUpgradeResponse, error)
- func (c *ClientWithResponses) ModifyBackupScheduleTaskWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ModifyBackupScheduleTaskResponse, error)
- func (c *ClientWithResponses) ModifyBackupScheduleTaskWithResponse(ctx context.Context, omadacId string, ...) (*ModifyBackupScheduleTaskResponse, error)
- func (c *ClientWithResponses) ModifyDeviceAccessMgmtSettingWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ModifyDeviceAccessMgmtSettingResponse, error)
- func (c *ClientWithResponses) ModifyDeviceAccessMgmtSettingWithResponse(ctx context.Context, omadacId string, ...) (*ModifyDeviceAccessMgmtSettingResponse, error)
- func (c *ClientWithResponses) ModifyDeviceRememberMeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*ModifyDeviceRememberMeResponse, error)
- func (c *ClientWithResponses) ModifyDeviceRememberMeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*ModifyDeviceRememberMeResponse, error)
- func (c *ClientWithResponses) ModifyEmailReminderSwitchStatusWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ModifyEmailReminderSwitchStatusResponse, error)
- func (c *ClientWithResponses) ModifyEmailReminderSwitchStatusWithResponse(ctx context.Context, omadacId string, ...) (*ModifyEmailReminderSwitchStatusResponse, error)
- func (c *ClientWithResponses) ModifyIntelliRecoverSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ModifyIntelliRecoverSettingResponse, error)
- func (c *ClientWithResponses) ModifyIntelliRecoverSettingWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ModifyIntelliRecoverSettingResponse, error)
- func (c *ClientWithResponses) ModifyPoeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, poeScheduleId string, ...) (*ModifyPoeScheduleResponse, error)
- func (c *ClientWithResponses) ModifyPoeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, poeScheduleId string, ...) (*ModifyPoeScheduleResponse, error)
- func (c *ClientWithResponses) ModifyPortScheduleTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, pType string, ...) (*ModifyPortScheduleTemplateResponse, error)
- func (c *ClientWithResponses) ModifyPortScheduleTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, pType string, ...) (*ModifyPortScheduleTemplateResponse, error)
- func (c *ClientWithResponses) ModifyPortScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, portScheduleId string, ...) (*ModifyPortScheduleResponse, error)
- func (c *ClientWithResponses) ModifyPortScheduleWithResponse(ctx context.Context, omadacId string, siteId string, portScheduleId string, ...) (*ModifyPortScheduleResponse, error)
- func (c *ClientWithResponses) ModifyRebootSchedule1WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifyRebootSchedule1Response, error)
- func (c *ClientWithResponses) ModifyRebootSchedule1WithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifyRebootSchedule1Response, error)
- func (c *ClientWithResponses) ModifyRebootScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, id string, ...) (*ModifyRebootScheduleResponse, error)
- func (c *ClientWithResponses) ModifyRebootScheduleWithResponse(ctx context.Context, omadacId string, siteTemplateId string, id string, ...) (*ModifyRebootScheduleResponse, error)
- func (c *ClientWithResponses) ModifyReplaceRecordWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*ModifyReplaceRecordResponse, error)
- func (c *ClientWithResponses) ModifyReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*ModifyReplaceRecordResponse, error)
- func (c *ClientWithResponses) ModifyTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ModifyTagResponse, error)
- func (c *ClientWithResponses) ModifyTagWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ModifyTagResponse, error)
- func (c *ClientWithResponses) ModifyTryBetaChannelWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ModifyTryBetaChannelResponse, error)
- func (c *ClientWithResponses) ModifyTryBetaChannelWithResponse(ctx context.Context, omadacId string, body ModifyTryBetaChannelJSONRequestBody, ...) (*ModifyTryBetaChannelResponse, error)
- func (c *ClientWithResponses) ModifyTryBetaStatusWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*ModifyTryBetaStatusResponse, error)
- func (c *ClientWithResponses) ModifyTryBetaStatusWithResponse(ctx context.Context, omadacId string, body ModifyTryBetaStatusJSONRequestBody, ...) (*ModifyTryBetaStatusResponse, error)
- func (c *ClientWithResponses) ModifyUpgradeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifyUpgradeScheduleResponse, error)
- func (c *ClientWithResponses) ModifyUpgradeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifyUpgradeScheduleResponse, error)
- func (c *ClientWithResponses) MoveSiteForApsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*MoveSiteForApsResponse, error)
- func (c *ClientWithResponses) MoveSiteForApsWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*MoveSiteForApsResponse, error)
- func (c *ClientWithResponses) MoveSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*MoveSiteResponse, error)
- func (c *ClientWithResponses) MoveSiteWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*MoveSiteResponse, error)
- func (c *ClientWithResponses) OnlineCheckUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*OnlineCheckUpgradeResponse, error)
- func (c *ClientWithResponses) OnlineRollingUpgradeByQueryWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*OnlineRollingUpgradeByQueryResponse, error)
- func (c *ClientWithResponses) OnlineRollingUpgradeByQueryWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*OnlineRollingUpgradeByQueryResponse, error)
- func (c *ClientWithResponses) OnlineRollingUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*OnlineRollingUpgradeResponse, error)
- func (c *ClientWithResponses) OnlineRollingUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*OnlineRollingUpgradeResponse, error)
- func (c *ClientWithResponses) OnlineUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*OnlineUpgradeResponse, error)
- func (c *ClientWithResponses) RebootDeviceUplinkPoeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*RebootDeviceUplinkPoeResponse, error)
- func (c *ClientWithResponses) RebootDeviceUplinkPoeWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*RebootDeviceUplinkPoeResponse, error)
- func (c *ClientWithResponses) RebootDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*RebootDeviceResponse, error)
- func (c *ClientWithResponses) RemovePortScheduleTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, pType string, ...) (*RemovePortScheduleTemplateResponse, error)
- func (c *ClientWithResponses) RestoreFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*RestoreFileServerResponse, error)
- func (c *ClientWithResponses) RestoreFileServerWithResponse(ctx context.Context, omadacId string, body RestoreFileServerJSONRequestBody, ...) (*RestoreFileServerResponse, error)
- func (c *ClientWithResponses) RestoreSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*RestoreSelfServerResponse, error)
- func (c *ClientWithResponses) RestoreSelfServerWithResponse(ctx context.Context, omadacId string, body RestoreSelfServerJSONRequestBody, ...) (*RestoreSelfServerResponse, error)
- func (c *ClientWithResponses) RestoreSitesFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*RestoreSitesFileServerResponse, error)
- func (c *ClientWithResponses) RestoreSitesFileServerWithResponse(ctx context.Context, omadacId string, ...) (*RestoreSitesFileServerResponse, error)
- func (c *ClientWithResponses) RestoreSitesSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, ...) (*RestoreSitesSelfServerResponse, error)
- func (c *ClientWithResponses) RestoreSitesSelfServerWithResponse(ctx context.Context, omadacId string, ...) (*RestoreSitesSelfServerResponse, error)
- func (c *ClientWithResponses) RetryAddDeviceByMspWithBodyWithResponse(ctx context.Context, mspId string, customerId string, siteId string, ...) (*RetryAddDeviceByMspResponse, error)
- func (c *ClientWithResponses) RetryAddDeviceByMspWithResponse(ctx context.Context, mspId string, customerId string, siteId string, ...) (*RetryAddDeviceByMspResponse, error)
- func (c *ClientWithResponses) RetryAddDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*RetryAddDeviceResponse, error)
- func (c *ClientWithResponses) RetryAddDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, ...) (*RetryAddDeviceResponse, error)
- func (c *ClientWithResponses) SearchGlobalDeviceWithResponse(ctx context.Context, omadacId string, params *SearchGlobalDeviceParams, ...) (*SearchGlobalDeviceResponse, error)
- func (c *ClientWithResponses) UnbindActiveDeviceBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*UnbindActiveDeviceBySnResponse, error)
- func (c *ClientWithResponses) UnbindActiveDeviceBySnWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*UnbindActiveDeviceBySnResponse, error)
- func (c *ClientWithResponses) UnbindDeviceBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*UnbindDeviceBySnResponse, error)
- func (c *ClientWithResponses) UnbindDeviceBySnWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*UnbindDeviceBySnResponse, error)
- func (c *ClientWithResponses) UnbindDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*UnbindDeviceResponse, error)
- func (c *ClientWithResponses) UnbindDeviceWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*UnbindDeviceResponse, error)
- func (c *ClientWithResponses) UpdateDeviceTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*UpdateDeviceTagResponse, error)
- func (c *ClientWithResponses) UpdateDeviceTagWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*UpdateDeviceTagResponse, error)
- func (c *ClientWithResponses) UploadUpgradeFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*UploadUpgradeFileResponse, error)
- func (c *ClientWithResponses) UploadUpgradeFirmwareWithBodyWithResponse(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, ...) (*UploadUpgradeFirmwareResponse, error)
- func (c *ClientWithResponses) UploadUpgradeFirmwareWithResponse(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, ...) (*UploadUpgradeFirmwareResponse, error)
- func (c *ClientWithResponses) VerifyMonitorDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*VerifyMonitorDeviceResponse, error)
- func (c *ClientWithResponses) VerifyMonitorDeviceWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*VerifyMonitorDeviceResponse, error)
- type ClientWithResponsesInterface
- type ClientsQueryMacAndFilterType
- type ConnectPeriodVO
- type CopyDeviceConfigurationJSONRequestBody
- type CopyDeviceConfigurationResponse
- type CreateAutoCheckResInfo
- type CreateAutoCheckUpgradeJSONRequestBody
- type CreateAutoCheckUpgradeResponse
- type CreateFailedDeviceModelPlanJSONRequestBody
- type CreateFailedDeviceModelPlanResponse
- type CreateFailedDeviceUpgradePlan
- type CreateFirmwareUpgradePlanJSONRequestBody
- type CreateFirmwareUpgradePlanResponse
- type CreatePoeScheduleJSONRequestBody
- type CreatePoeScheduleResponse
- type CreatePortScheduleJSONRequestBody
- type CreatePortScheduleResponse
- type CreateRebootSchedule1JSONRequestBody
- type CreateRebootSchedule1Response
- type CreateRebootScheduleJSONRequestBody
- type CreateRebootScheduleResponse
- type CreateReplaceRecordJSONRequestBody
- type CreateReplaceRecordResponse
- type CreateRollbackJSONRequestBody
- type CreateRollbackResponse
- type CreateUpgradePlanJSONRequestBody
- type CreateUpgradePlanResinfo
- type CreateUpgradePlanResponse
- type CreateUpgradeScheduleJSONRequestBody
- type CreateUpgradeScheduleResponse
- type CriticalModelNum
- type DeleteAutoCheckUpgradeResponse
- type DeleteIntelliRecoverDevice
- type DeleteMonitorDevicesJSONRequestBody
- type DeleteMonitorDevicesResponse
- type DeletePoeScheduleResponse
- type DeletePortScheduleResponse
- type DeleteRebootSchedule1Response
- type DeleteRebootScheduleResponse
- type DeleteReplaceRecordResponse
- type DeleteTagJSONRequestBody
- type DeleteTagOpenApiVO
- type DeleteTagResponse
- type DeleteUpgradeFirmwareResponse
- type DeleteUpgradePlanResponse
- type DeleteUpgradeScheduleResponse
- type DeviceAccessManagementSetting
- type DeviceAddProcessRespVO
- type DeviceAddRespOpenApiVO
- type DeviceCopyConfigurationOpenApiVO
- type DeviceFirmwareInfo
- type DeviceGlobalSearchSummary
- type DeviceIncidentCountRequestOpenApiVO
- type DeviceIncidentCountResultOpenApiVO
- type DeviceInfo
- type DeviceListAddByDevicekeyOpenApiVO
- type DeviceListAddBySnOpenApiVO
- type DeviceListAddMultiSiteBySnOpenApiVO
- type DeviceListAddOpenApiVO
- type DeviceMoveSiteOpenApiVO
- type DevicePoePorts
- type DevicePorts
- type DeviceRememberConfig
- type DeviceReplaceSettingVO
- type DeviceUplinkOpenApiVO
- type DownloadDeviceInfoResponse
- type EditAutoCheckUpgradeJSONRequestBody
- type EditAutoCheckUpgradeResponse
- type EditFirmwareUpgradeJSONRequestBody
- type EditFirmwareUpgradeResponse
- type EditUpgradePlanJSONRequestBody
- type EditUpgradePlanResponse
- type EditUploadFirmwareInfo
- type ExistUnSupportRadSecDeviceResponse
- type ExportAddFailDevicesParams
- type ExportAddFailDevicesResponse
- type ExportGlobalDeviceListJSONRequestBody
- type ExportGlobalDeviceListOpenApiVO
- type ExportGlobalDeviceListResponse
- type ExportMspAddFailDevicesParams
- type ExportMspAddFailDevicesResponse
- type ExportPreConfigDevicesGlobalResponse
- type ExportPreConfigDevicesResponse
- type ExportSiteDeviceListJSONRequestBody
- type ExportSiteDeviceListResponse
- type FailedCreateModelPlanUpgradeInfo
- type FailedDeviceUpgradeFirmwareInfo
- type File
- type FileServerGlobalBackupVO
- type FileServerGlobalRestoreVO
- type FileServerOpenApiVO
- type FileServerSiteBackupVO
- type FileServerSiteRestoreVO
- type FirmwareInfo
- type ForceProvisionDeviceResponse
- type ForgetDeviceForMspResponse
- type ForgetDeviceResponse
- type GetAddDevicesStatusMultiSiteResponse
- type GetAddDevicesStatusResponse
- type GetAdoptAbleDevicesForGlobalBatchAdoptParams
- type GetAdoptAbleDevicesForGlobalBatchAdoptResponse
- type GetAdoptAbleDevicesForMspBatchAdoptParams
- type GetAdoptAbleDevicesForMspBatchAdoptResponse
- type GetAdoptTipResponse
- type GetAllDeviceBySiteResponse
- type GetAutoSelectDevicesJSONRequestBody
- type GetAutoSelectDevicesResponse
- type GetBackupResultResponse
- type GetBackupScheduleTaskResponse
- type GetCheckFirmwareTaskResultResponse
- type GetDeviceAccessMgmtSettingResponse
- type GetDeviceAdoptResultResponse
- type GetDeviceIncidentCountsJSONRequestBody
- type GetDeviceIncidentCountsResponse
- type GetDeviceListParams
- type GetDeviceListResponse
- type GetDeviceRememberMeResponse
- type GetDeviceWhiteListResponse
- type GetEligibleDeviceListParams
- type GetEligibleDeviceListResponse
- type GetEmailReminderSwitchStatusResponse
- type GetFirmwareInfoResponse
- type GetForgetProcessResponse
- type GetGlobalDeviceIncidentCountsJSONRequestBody
- type GetGlobalDeviceIncidentCountsResponse
- type GetGlobalKnownDeviceListParams
- type GetGlobalKnownDeviceListResponse
- type GetGlobalUnknownDeviceListParams
- type GetGlobalUnknownDeviceListResponse
- type GetGridAdoptedBridgeDevicesBySiteParams
- type GetGridAdoptedBridgeDevicesBySiteResponse
- type GetGridAdoptedDevicesStatByGlobalParams
- type GetGridAdoptedDevicesStatByGlobalResponse
- type GetGridAutoCheckUpgradeParams
- type GetGridAutoCheckUpgradeResponse
- type GetGridFirmwareListParams
- type GetGridFirmwareListResponse
- type GetGridFirmwarePoolListParams
- type GetGridFirmwarePoolListResponse
- type GetGridMonitorDeviceParams
- type GetGridMonitorDeviceResponse
- type GetGridPendingBridgeDevicesBySiteParams
- type GetGridPendingBridgeDevicesBySiteResponse
- type GetGridPendingDevicesBySiteParams
- type GetGridPendingDevicesBySiteResponse
- type GetGridPlanUpgradeModelListParams
- type GetGridPlanUpgradeModelListResponse
- type GetGridPlanUpgradeSiteListJSONRequestBody
- type GetGridPlanUpgradeSiteListResponse
- type GetGridUpgradeLogsParams
- type GetGridUpgradeLogsResponse
- type GetGridUpgradePlansParams
- type GetGridUpgradePlansResponse
- type GetIntelliRecoverSettingResponse
- type GetManuallyUpgradeResResponse
- type GetModelBySitesJSONRequestBody
- type GetModelBySitesResponse
- type GetModelFirmwareReleaseNotesJSONRequestBody
- type GetModelFirmwareReleaseNotesResponse
- type GetMoveSiteProcessResponse
- type GetMspAdoptTipResponse
- type GetOnlineTimelineParams
- type GetOnlineTimelineResponse
- type GetOnlineUpgradeResResponse
- type GetPlanUpgradeModelInfoJSONRequestBody
- type GetPlanUpgradeModelInfoResponse
- type GetPoePortsListResponse
- type GetPoeScheduleListParams
- type GetPoeScheduleListResponse
- type GetPortScheduleListParams
- type GetPortScheduleListResponse
- type GetPortScheduleListTemplateResponse
- type GetPortSchedulePortsResponse
- type GetRebootScheduleList1Response
- type GetRebootScheduleListResponse
- type GetRestoreResultResponse
- type GetRollingUpgradeResResponse
- type GetSelfServerFileListResponse
- type GetSelfServerSiteFileListResponse
- type GetSingleForgetProcessResponse
- type GetSingleMoveSiteProcessResponse
- type GetSiteBackupResultResponse
- type GetTagsResponse
- type GetTargetFirmwareAllSitesResponse
- type GetTryBetaChannelResponse
- type GetTryBetaStatusResponse
- type GetUpgradeFailedDeviceFirmwareInfoResponse
- type GetUpgradeFailedDeviceInfosParams
- type GetUpgradeFailedDeviceInfosResponse
- type GetUpgradeScheduleListResponse
- type GetUplinkDeviceInfoJSONRequestBody
- type GetUplinkDeviceInfoResponse
- type GetcriticalModelNumResponse
- type GlobalDeviceStatOpenApiVO
- type GlobalKnownDeviceOpenApiVO
- type GlobalSearchResultOpenApiVO
- type GlobalUnknownDeviceOpenApiVO
- type GridVOAutoCheckUpgradeInfo
- type GridVODeviceInfo
- type GridVOFirmwareInfo
- type GridVOGlobalKnownDeviceOpenApiVO
- type GridVOGlobalUnknownDeviceOpenApiVO
- type GridVOMonitorDevice
- type GridVOPlanUpgradeInfo
- type GridVOPlanUpgradeModelList
- type GridVOPoeScheduleQueryOpenApiVO
- type GridVOPortScheduleQueryOpenApiVO
- type GridVOUpgradeFailedDeviceInfo
- type GridVOUpgradeLogOpenApiInfo
- type HealthStatOpenApiVO
- type HttpRequestDoer
- type Incident
- type InstancesVO
- type IntelliRecoverSetting
- type LagCapVO
- type LanPort
- type LocateDeviceJSONRequestBody
- type LocateDeviceRequest
- type LocateDeviceResponse
- type LocateOswPortsOpenApiVO
- type LocateOswPortsResultOpenApiVO
- type LocateOswResultOpenApiVO
- type LocatePortsJSONRequestBody
- type LocatePortsResponse
- type LocateStackResultOpenApiVO
- type ManuallyUpgradeJSONRequestBody
- type ManuallyUpgradeResponse
- type MirroredLag
- type MirroredPort
- type ModelBaseInfo
- type ModelFirmwarePoolGridInfoModelLatestFwInfo
- type ModelFwOemReleaseNoteInfo
- type ModelFwReleaseNoteReqInfo
- type ModelFwVersionReleaseNoteInfo
- type ModelLatestFwInfo
- type ModelTypeInfoOpenApiVO
- type ModelUpgradeInfo
- type ModelUpgradeSiteInfo
- type ModelUpgradeSiteReqInfo
- type ModifyBackupScheduleTaskJSONRequestBody
- type ModifyBackupScheduleTaskResponse
- type ModifyDeviceAccessMgmtSettingJSONRequestBody
- type ModifyDeviceAccessMgmtSettingResponse
- type ModifyDeviceRememberMeJSONRequestBody
- type ModifyDeviceRememberMeResponse
- type ModifyEmailReminderSwitchStatusJSONRequestBody
- type ModifyEmailReminderSwitchStatusResponse
- type ModifyIntelliRecoverSettingJSONRequestBody
- type ModifyIntelliRecoverSettingResponse
- type ModifyPoeScheduleJSONRequestBody
- type ModifyPoeScheduleResponse
- type ModifyPortScheduleJSONRequestBody
- type ModifyPortScheduleResponse
- type ModifyPortScheduleTemplateJSONRequestBody
- type ModifyPortScheduleTemplateResponse
- type ModifyRebootSchedule1JSONRequestBody
- type ModifyRebootSchedule1Response
- type ModifyRebootScheduleJSONRequestBody
- type ModifyRebootScheduleResponse
- type ModifyReplaceRecordJSONRequestBody
- type ModifyReplaceRecordResponse
- type ModifyTagJSONRequestBody
- type ModifyTagOpenApiVO
- type ModifyTagResponse
- type ModifyTryBetaChannelJSONRequestBody
- type ModifyTryBetaChannelResponse
- type ModifyTryBetaStatusJSONRequestBody
- type ModifyTryBetaStatusResponse
- type ModifyUpgradeScheduleJSONRequestBody
- type ModifyUpgradeScheduleResponse
- type MonitorDevice
- type MoveSiteForApsJSONRequestBody
- type MoveSiteForApsResponse
- type MoveSiteIdOpenApiVO
- type MoveSiteJSONRequestBody
- type MoveSiteResponse
- type MspAddDeviceListOpenApiVO
- type MultiLinkEntryDTO
- type OnlineCheckUpgradeResponse
- type OnlineRollingUpgradeByQueryJSONRequestBody
- type OnlineRollingUpgradeByQueryParams
- type OnlineRollingUpgradeByQueryResponse
- type OnlineRollingUpgradeJSONRequestBody
- type OnlineRollingUpgradeResponse
- type OnlineUpgradeRes
- type OnlineUpgradeResponse
- type OnuInformationConfigDTO
- type OnuInformationConfigDTOActiveStatus
- type OnuInformationConfigDTOAdminStatus
- type OnuInformationConfigDTOConfigStatus
- type OnuInformationConfigDTOMatchStatus
- type OnuInformationConfigDTOOnlineStatus
- type OpenApiQueryDataVO
- type OperationResponse
- type OperationResponseAdoptResult
- type OperationResponseAdoptTipOpenApiVO
- type OperationResponseAdoptedDeviceGridVODeviceInfo
- type OperationResponseAllTargetSites
- type OperationResponseAutoBackupOpenApiVO
- type OperationResponseCheckFirmwareRes
- type OperationResponseCheckMacTypeOpenApiVO
- type OperationResponseCreateAutoCheckResInfo
- type OperationResponseCreateFailedDeviceUpgradePlan
- type OperationResponseCreateUpgradePlanResinfo
- type OperationResponseCriticalModelNum
- type OperationResponseDeviceAccessManagementSetting
- type OperationResponseDeviceAddProcessRespVO
- type OperationResponseDeviceAddRespOpenApiVO
- type OperationResponseDeviceFirmwareInfo
- type OperationResponseDeviceIncidentCountResultOpenApiVO
- type OperationResponseDeviceRememberConfig
- type OperationResponseFailedDeviceUpgradeFirmwareInfo
- type OperationResponseFile
- type OperationResponseGlobalDeviceStatOpenApiVO
- type OperationResponseGlobalSearchResultOpenApiVO
- type OperationResponseGridVOAutoCheckUpgradeInfo
- type OperationResponseGridVODeviceInfo
- type OperationResponseGridVOFirmwareInfo
- type OperationResponseGridVOGlobalKnownDeviceOpenApiVO
- type OperationResponseGridVOGlobalUnknownDeviceOpenApiVO
- type OperationResponseGridVOMonitorDevice
- type OperationResponseGridVOPlanUpgradeInfo
- type OperationResponseGridVOPlanUpgradeModelList
- type OperationResponseGridVOPoeScheduleQueryOpenApiVO
- type OperationResponseGridVOPortScheduleQueryOpenApiVO
- type OperationResponseGridVOUpgradeFailedDeviceInfo
- type OperationResponseGridVOUpgradeLogOpenApiInfo
- type OperationResponseIntelliRecoverSetting
- type OperationResponseListBriefDeviceInfoDetailForBatchAdoptOpenApiVO
- type OperationResponseListDeviceInfo
- type OperationResponseListDeviceUplinkOpenApiVO
- type OperationResponseListPoeDeviceDetail
- type OperationResponseListPortDeviceDetail
- type OperationResponseListPortOrPoeScheduleOpenApiVO
- type OperationResponseListRebootScheduleQueryOpenApiVO
- type OperationResponseListRebootScheduleTemplateQueryOpenApiVO
- type OperationResponseListUpgradeScheduleQueryOpenApiVO
- type OperationResponseListWhiteDeviceInfoOpenApiVO
- type OperationResponseLocateOswPortsResultOpenApiVO
- type OperationResponseModelFirmwarePoolGridInfoModelLatestFwInfo
- type OperationResponseModelFwOemReleaseNoteInfo
- type OperationResponseModelUpgradeSiteInfo
- type OperationResponseMoveSiteIdOpenApiVO
- type OperationResponseOnlineUpgradeRes
- type OperationResponsePlanUpgradeModelInfo
- type OperationResponseQueryDeviceListOpenApiVO
- type OperationResponseReplaceConfigRespVO
- type OperationResponseRetryAddDeviceRespOpenApiVO
- type OperationResponseRollingUpgradeRes
- type OperationResponseTimelineOpenApiVO
- type OperationResponseUnSupportRadSecOpenApiVO
- type OperationResponseUpgradeRes
- type OperationResponseUpgradeSettingEmailReminder
- type OperationResponseUpgradeSettingTryBeta
- type OperationResponseUpgradeSettingTryBetaChannel
- type OperationResponseUpgradeSiteModelInfo
- type OperationResponseUpgradeTask
- type OperationResponseUploadFirmwareResInfo
- type OperationResponseWithoutResult
- type OswBandCtrlLimitRangeVO
- type OswBandCtrlVO
- type OswDataVO
- type OswDevCapVO
- type OswFecCapVO
- type OswLagStatusVO
- type OswLagVO
- type OswLinkCapVO
- type OswMlagDataVODeviceInfo
- type OswMlagMemberPortVO
- type OswMlagPeerAllPortsConfigInfoVO
- type OswMlagPeerSettingVO
- type OswNormalPortListVO
- type OswPeerPortVO
- type OswPortDhcpL2RelayVO
- type OswPortOuiBasedVlanVO
- type OswPortSpeedCapVO
- type OswPortStatusVO
- type OswPortVO
- type OswStackDataVODeviceInfo
- type OswStackDataVOOswDataVO
- type OswStackDataVOSwitchDataVO
- type OswStackPortListVO
- type OswStandPortVO
- type OswStormCtrlLimitRangeVO
- type OswStormCtrlVO
- type OswUplinkVO
- type OuiBasedVlanNetworkVO
- type PartnerLinkDTO
- type PlanFirmwareUpgradeCreateInfo
- type PlanUpgradeCreateInfo
- type PlanUpgradeEditInfo
- type PlanUpgradeInfo
- type PlanUpgradeModelInfo
- type PlanUpgradeModelList
- type PlanUpgradeSelectedModel
- type PoeDeviceDetail
- type PoeScheduleOpenApiVO
- type PoeScheduleQueryOpenApiVO
- type PortDeviceDetail
- type PortLabelDTO
- type PortOrPoeScheduleOpenApiVO
- type PortScheduleOpenApiVO
- type PortScheduleQueryOpenApiVO
- type PortSpeedCapVO
- type PortVO
- type QueryDeviceListOpenApiVO
- type QueryDeviceUplinkOpenApiVO
- type RebootDeviceResponse
- type RebootDeviceUplinkPoeJSONRequestBody
- type RebootDeviceUplinkPoeResponse
- type RebootScheduleOpenApiVO
- type RebootScheduleQueryOpenApiVO
- type RebootScheduleTemplateOpenApiVO
- type RebootScheduleTemplateQueryOpenApiVO
- type RebootScheduleTimeOpenApiVO
- type RemovePortScheduleTemplateResponse
- type ReplaceConfigRespVO
- type RequestEditorFn
- type RestoreFileServerJSONRequestBody
- type RestoreFileServerResponse
- type RestoreResultVO
- type RestoreSelfServerJSONRequestBody
- type RestoreSelfServerResponse
- type RestoreSitesFileServerJSONRequestBody
- type RestoreSitesFileServerResponse
- type RestoreSitesSelfServerJSONRequestBody
- type RestoreSitesSelfServerResponse
- type RetryAddDeviceByMspJSONRequestBody
- type RetryAddDeviceByMspResponse
- type RetryAddDeviceJSONRequestBody
- type RetryAddDeviceOpenApiVO
- type RetryAddDeviceRespOpenApiVO
- type RetryAddDeviceResponse
- type RollbackCreateInfo
- type RollingUpgradeRequest
- type RollingUpgradeRes
- type SearchGlobalDeviceParams
- type SearchGlobalDeviceResponse
- type SelfGlobalBackupVO
- type SelfGlobalRestoreVO
- type SelfSiteRestoreVO
- type SetTagOpenApiVO
- type SetTagResultOpenApiVO
- type SiteBasicInfo
- type SnAddResultVO
- type SpanningTreeSettingVO
- type SwitchDataVO
- type TagOpenApiVO
- type TagRespOpenApiVO
- type TimeIntervalQueryOpenApiVO
- type TimelineOpenApiVO
- type TopologyFilterClientCountDTO
- type TopologyOpenApiEdgeVO
- type TopologyV3OpenApiNodeVO
- type UnSupportRadSecOpenApiVO
- type UnbindActiveDeviceBySnJSONRequestBody
- type UnbindActiveDeviceBySnResponse
- type UnbindActiveDeviceSnOpenApiVO
- type UnbindDeviceBySnJSONRequestBody
- type UnbindDeviceBySnResponse
- type UnbindDeviceJSONRequestBody
- type UnbindDeviceOpenApiVO
- type UnbindDeviceRespVO
- type UnbindDeviceResponse
- type UnbindDeviceSnOpenApiVO
- type UnbindDeviceSnRespVO
- type UpdateDeviceTagJSONRequestBody
- type UpdateDeviceTagResponse
- type UpgradeBaseScheduleTimeOpenApiVO
- type UpgradeFailedDeviceInfo
- type UpgradeLogOpenApiInfo
- type UpgradeRequest
- type UpgradeRes
- type UpgradeScheduleOpenApiVO
- type UpgradeScheduleQueryOpenApiVO
- type UpgradeSettingEmailReminder
- type UpgradeSettingTryBeta
- type UpgradeSettingTryBetaChannel
- type UpgradeSiteModelInfo
- type UpgradeSiteModelReqInfo
- type UpgradeTask
- type UplinkDevice
- type UploadFirmwareResInfo
- type UploadUpgradeFileMultipartBody
- type UploadUpgradeFileMultipartRequestBody
- type UploadUpgradeFileResponse
- type UploadUpgradeFirmwareJSONBody
- type UploadUpgradeFirmwareJSONRequestBody
- type UploadUpgradeFirmwareParams
- type UploadUpgradeFirmwareResponse
- type VerifyDevice
- type VerifyMonitorDeviceJSONRequestBody
- type VerifyMonitorDeviceResponse
- type VigiWirelessUpInfoDTO
- type VrrpGroupDTO
- type VrrpLinkDTO
- type WanPort
- type WhiteDeviceInfoOpenApiVO
- type WiredPortV3DTO
- type WiredUpInfoDTO
- type WirelessUpInfoDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActiveDeviceBySnRequest ¶
func NewActiveDeviceBySnRequest(server string, omadacId string, siteId string, body ActiveDeviceBySnJSONRequestBody) (*http.Request, error)
NewActiveDeviceBySnRequest calls the generic ActiveDeviceBySn builder with application/json body
func NewActiveDeviceBySnRequestWithBody ¶
func NewActiveDeviceBySnRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewActiveDeviceBySnRequestWithBody constructs an http.Request for the ActiveDeviceBySn method, with any body, and a specified content type
func NewActiveDeviceRequest ¶
func NewActiveDeviceRequest(server string, omadacId string, siteId string, body ActiveDeviceJSONRequestBody) (*http.Request, error)
NewActiveDeviceRequest calls the generic ActiveDevice builder with application/json body
func NewActiveDeviceRequestWithBody ¶
func NewActiveDeviceRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewActiveDeviceRequestWithBody constructs an http.Request for the ActiveDevice method, with any body, and a specified content type
func NewActiveDeviceWithMultiSiteRequest ¶
func NewActiveDeviceWithMultiSiteRequest(server string, omadacId string, body ActiveDeviceWithMultiSiteJSONRequestBody) (*http.Request, error)
NewActiveDeviceWithMultiSiteRequest calls the generic ActiveDeviceWithMultiSite builder with application/json body
func NewActiveDeviceWithMultiSiteRequestWithBody ¶
func NewActiveDeviceWithMultiSiteRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewActiveDeviceWithMultiSiteRequestWithBody constructs an http.Request for the ActiveDeviceWithMultiSite method, with any body, and a specified content type
func NewAddDevicesByDeviceKeyRequest ¶
func NewAddDevicesByDeviceKeyRequest(server string, omadacId string, siteId string, body AddDevicesByDeviceKeyJSONRequestBody) (*http.Request, error)
NewAddDevicesByDeviceKeyRequest calls the generic AddDevicesByDeviceKey builder with application/json body
func NewAddDevicesByDeviceKeyRequestWithBody ¶
func NewAddDevicesByDeviceKeyRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewAddDevicesByDeviceKeyRequestWithBody constructs an http.Request for the AddDevicesByDeviceKey method, with any body, and a specified content type
func NewAddDevicesBySnRequest ¶
func NewAddDevicesBySnRequest(server string, omadacId string, siteId string, body AddDevicesBySnJSONRequestBody) (*http.Request, error)
NewAddDevicesBySnRequest calls the generic AddDevicesBySn builder with application/json body
func NewAddDevicesBySnRequestWithBody ¶
func NewAddDevicesBySnRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewAddDevicesBySnRequestWithBody constructs an http.Request for the AddDevicesBySn method, with any body, and a specified content type
func NewAddDevicesBySnWithMultiSiteRequest ¶
func NewAddDevicesBySnWithMultiSiteRequest(server string, omadacId string, body AddDevicesBySnWithMultiSiteJSONRequestBody) (*http.Request, error)
NewAddDevicesBySnWithMultiSiteRequest calls the generic AddDevicesBySnWithMultiSite builder with application/json body
func NewAddDevicesBySnWithMultiSiteRequestWithBody ¶
func NewAddDevicesBySnWithMultiSiteRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewAddDevicesBySnWithMultiSiteRequestWithBody constructs an http.Request for the AddDevicesBySnWithMultiSite method, with any body, and a specified content type
func NewAddDevicesForMspRequest ¶
func NewAddDevicesForMspRequest(server string, mspId string, customerId string, siteId string, body AddDevicesForMspJSONRequestBody) (*http.Request, error)
NewAddDevicesForMspRequest calls the generic AddDevicesForMsp builder with application/json body
func NewAddDevicesForMspRequestWithBody ¶
func NewAddDevicesForMspRequestWithBody(server string, mspId string, customerId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewAddDevicesForMspRequestWithBody constructs an http.Request for the AddDevicesForMsp method, with any body, and a specified content type
func NewAddDevicesRequest ¶
func NewAddDevicesRequest(server string, omadacId string, siteId string, body AddDevicesJSONRequestBody) (*http.Request, error)
NewAddDevicesRequest calls the generic AddDevices builder with application/json body
func NewAddDevicesRequestWithBody ¶
func NewAddDevicesRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewAddDevicesRequestWithBody constructs an http.Request for the AddDevices method, with any body, and a specified content type
func NewAddMonitorDevicesRequest ¶
func NewAddMonitorDevicesRequest(server string, omadacId string, siteId string, body AddMonitorDevicesJSONRequestBody) (*http.Request, error)
NewAddMonitorDevicesRequest calls the generic AddMonitorDevices builder with application/json body
func NewAddMonitorDevicesRequestWithBody ¶
func NewAddMonitorDevicesRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewAddMonitorDevicesRequestWithBody constructs an http.Request for the AddMonitorDevices method, with any body, and a specified content type
func NewAddPortScheduleTemplateRequest ¶
func NewAddPortScheduleTemplateRequest(server string, omadacId string, siteTemplateId string, body AddPortScheduleTemplateJSONRequestBody) (*http.Request, error)
NewAddPortScheduleTemplateRequest calls the generic AddPortScheduleTemplate builder with application/json body
func NewAddPortScheduleTemplateRequestWithBody ¶
func NewAddPortScheduleTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, body io.Reader) (*http.Request, error)
NewAddPortScheduleTemplateRequestWithBody constructs an http.Request for the AddPortScheduleTemplate method, with any body, and a specified content type
func NewAddTagRequest ¶
func NewAddTagRequest(server string, omadacId string, siteId string, body AddTagJSONRequestBody) (*http.Request, error)
NewAddTagRequest calls the generic AddTag builder with application/json body
func NewAddTagRequestWithBody ¶
func NewAddTagRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewAddTagRequestWithBody constructs an http.Request for the AddTag method, with any body, and a specified content type
func NewAdoptDeviceRequest ¶
func NewAdoptDeviceRequest(server string, omadacId string, siteId string, deviceMac string, body AdoptDeviceJSONRequestBody) (*http.Request, error)
NewAdoptDeviceRequest calls the generic AdoptDevice builder with application/json body
func NewAdoptDeviceRequestWithBody ¶
func NewAdoptDeviceRequestWithBody(server string, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader) (*http.Request, error)
NewAdoptDeviceRequestWithBody constructs an http.Request for the AdoptDevice method, with any body, and a specified content type
func NewBackupFileServerRequest ¶
func NewBackupFileServerRequest(server string, omadacId string, body BackupFileServerJSONRequestBody) (*http.Request, error)
NewBackupFileServerRequest calls the generic BackupFileServer builder with application/json body
func NewBackupFileServerRequestWithBody ¶
func NewBackupFileServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewBackupFileServerRequestWithBody constructs an http.Request for the BackupFileServer method, with any body, and a specified content type
func NewBackupSelfServerRequest ¶
func NewBackupSelfServerRequest(server string, omadacId string, body BackupSelfServerJSONRequestBody) (*http.Request, error)
NewBackupSelfServerRequest calls the generic BackupSelfServer builder with application/json body
func NewBackupSelfServerRequestWithBody ¶
func NewBackupSelfServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewBackupSelfServerRequestWithBody constructs an http.Request for the BackupSelfServer method, with any body, and a specified content type
func NewBackupSitesFileServerRequest ¶
func NewBackupSitesFileServerRequest(server string, omadacId string, body BackupSitesFileServerJSONRequestBody) (*http.Request, error)
NewBackupSitesFileServerRequest calls the generic BackupSitesFileServer builder with application/json body
func NewBackupSitesFileServerRequestWithBody ¶
func NewBackupSitesFileServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewBackupSitesFileServerRequestWithBody constructs an http.Request for the BackupSitesFileServer method, with any body, and a specified content type
func NewBackupSitesSelfServerRequest ¶
func NewBackupSitesSelfServerRequest(server string, omadacId string, body BackupSitesSelfServerJSONRequestBody) (*http.Request, error)
NewBackupSitesSelfServerRequest calls the generic BackupSitesSelfServer builder with application/json body
func NewBackupSitesSelfServerRequestWithBody ¶
func NewBackupSitesSelfServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewBackupSitesSelfServerRequestWithBody constructs an http.Request for the BackupSitesSelfServer method, with any body, and a specified content type
func NewBatchAdoptRequest ¶
func NewBatchAdoptRequest(server string, omadacId string, siteId string, body BatchAdoptJSONRequestBody) (*http.Request, error)
NewBatchAdoptRequest calls the generic BatchAdopt builder with application/json body
func NewBatchAdoptRequestWithBody ¶
func NewBatchAdoptRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewBatchAdoptRequestWithBody constructs an http.Request for the BatchAdopt method, with any body, and a specified content type
func NewCancelRollingUpgradeRequest ¶
func NewCancelRollingUpgradeRequest(server string, omadacId string, siteId string, taskId string) (*http.Request, error)
NewCancelRollingUpgradeRequest constructs an http.Request for the CancelRollingUpgrade method
func NewCheckMacTypeRequest ¶
func NewCheckMacTypeRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
NewCheckMacTypeRequest constructs an http.Request for the CheckMacType method
func NewCheckReplaceRecordRequest ¶
func NewCheckReplaceRecordRequest(server string, omadacId string, siteId string, deviceMac string, body CheckReplaceRecordJSONRequestBody) (*http.Request, error)
NewCheckReplaceRecordRequest calls the generic CheckReplaceRecord builder with application/json body
func NewCheckReplaceRecordRequestWithBody ¶
func NewCheckReplaceRecordRequestWithBody(server string, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader) (*http.Request, error)
NewCheckReplaceRecordRequestWithBody constructs an http.Request for the CheckReplaceRecord method, with any body, and a specified content type
func NewCheckUploadUpgradeFirmwareLimitRequest ¶
func NewCheckUploadUpgradeFirmwareLimitRequest(server string, omadacId string, firmwareSize string) (*http.Request, error)
NewCheckUploadUpgradeFirmwareLimitRequest constructs an http.Request for the CheckUploadUpgradeFirmwareLimit method
func NewCopyDeviceConfigurationRequest ¶
func NewCopyDeviceConfigurationRequest(server string, omadacId string, siteId string, body CopyDeviceConfigurationJSONRequestBody) (*http.Request, error)
NewCopyDeviceConfigurationRequest calls the generic CopyDeviceConfiguration builder with application/json body
func NewCopyDeviceConfigurationRequestWithBody ¶
func NewCopyDeviceConfigurationRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCopyDeviceConfigurationRequestWithBody constructs an http.Request for the CopyDeviceConfiguration method, with any body, and a specified content type
func NewCreateAutoCheckUpgradeRequest ¶
func NewCreateAutoCheckUpgradeRequest(server string, omadacId string, body CreateAutoCheckUpgradeJSONRequestBody) (*http.Request, error)
NewCreateAutoCheckUpgradeRequest calls the generic CreateAutoCheckUpgrade builder with application/json body
func NewCreateAutoCheckUpgradeRequestWithBody ¶
func NewCreateAutoCheckUpgradeRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAutoCheckUpgradeRequestWithBody constructs an http.Request for the CreateAutoCheckUpgrade method, with any body, and a specified content type
func NewCreateFailedDeviceModelPlanRequest ¶
func NewCreateFailedDeviceModelPlanRequest(server string, omadacId string, upgradeLogId string, body CreateFailedDeviceModelPlanJSONRequestBody) (*http.Request, error)
NewCreateFailedDeviceModelPlanRequest calls the generic CreateFailedDeviceModelPlan builder with application/json body
func NewCreateFailedDeviceModelPlanRequestWithBody ¶
func NewCreateFailedDeviceModelPlanRequestWithBody(server string, omadacId string, upgradeLogId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateFailedDeviceModelPlanRequestWithBody constructs an http.Request for the CreateFailedDeviceModelPlan method, with any body, and a specified content type
func NewCreateFirmwareUpgradePlanRequest ¶
func NewCreateFirmwareUpgradePlanRequest(server string, omadacId string, firmwareId string, body CreateFirmwareUpgradePlanJSONRequestBody) (*http.Request, error)
NewCreateFirmwareUpgradePlanRequest calls the generic CreateFirmwareUpgradePlan builder with application/json body
func NewCreateFirmwareUpgradePlanRequestWithBody ¶
func NewCreateFirmwareUpgradePlanRequestWithBody(server string, omadacId string, firmwareId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateFirmwareUpgradePlanRequestWithBody constructs an http.Request for the CreateFirmwareUpgradePlan method, with any body, and a specified content type
func NewCreatePoeScheduleRequest ¶
func NewCreatePoeScheduleRequest(server string, omadacId string, siteId string, body CreatePoeScheduleJSONRequestBody) (*http.Request, error)
NewCreatePoeScheduleRequest calls the generic CreatePoeSchedule builder with application/json body
func NewCreatePoeScheduleRequestWithBody ¶
func NewCreatePoeScheduleRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePoeScheduleRequestWithBody constructs an http.Request for the CreatePoeSchedule method, with any body, and a specified content type
func NewCreatePortScheduleRequest ¶
func NewCreatePortScheduleRequest(server string, omadacId string, siteId string, body CreatePortScheduleJSONRequestBody) (*http.Request, error)
NewCreatePortScheduleRequest calls the generic CreatePortSchedule builder with application/json body
func NewCreatePortScheduleRequestWithBody ¶
func NewCreatePortScheduleRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePortScheduleRequestWithBody constructs an http.Request for the CreatePortSchedule method, with any body, and a specified content type
func NewCreateRebootSchedule1Request ¶
func NewCreateRebootSchedule1Request(server string, omadacId string, siteId string, body CreateRebootSchedule1JSONRequestBody) (*http.Request, error)
NewCreateRebootSchedule1Request calls the generic CreateRebootSchedule1 builder with application/json body
func NewCreateRebootSchedule1RequestWithBody ¶
func NewCreateRebootSchedule1RequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRebootSchedule1RequestWithBody constructs an http.Request for the CreateRebootSchedule1 method, with any body, and a specified content type
func NewCreateRebootScheduleRequest ¶
func NewCreateRebootScheduleRequest(server string, omadacId string, siteTemplateId string, body CreateRebootScheduleJSONRequestBody) (*http.Request, error)
NewCreateRebootScheduleRequest calls the generic CreateRebootSchedule builder with application/json body
func NewCreateRebootScheduleRequestWithBody ¶
func NewCreateRebootScheduleRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRebootScheduleRequestWithBody constructs an http.Request for the CreateRebootSchedule method, with any body, and a specified content type
func NewCreateReplaceRecordRequest ¶
func NewCreateReplaceRecordRequest(server string, omadacId string, siteId string, deviceMac string, body CreateReplaceRecordJSONRequestBody) (*http.Request, error)
NewCreateReplaceRecordRequest calls the generic CreateReplaceRecord builder with application/json body
func NewCreateReplaceRecordRequestWithBody ¶
func NewCreateReplaceRecordRequestWithBody(server string, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader) (*http.Request, error)
NewCreateReplaceRecordRequestWithBody constructs an http.Request for the CreateReplaceRecord method, with any body, and a specified content type
func NewCreateRollbackRequest ¶
func NewCreateRollbackRequest(server string, omadacId string, upgradeLogId string, body CreateRollbackJSONRequestBody) (*http.Request, error)
NewCreateRollbackRequest calls the generic CreateRollback builder with application/json body
func NewCreateRollbackRequestWithBody ¶
func NewCreateRollbackRequestWithBody(server string, omadacId string, upgradeLogId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRollbackRequestWithBody constructs an http.Request for the CreateRollback method, with any body, and a specified content type
func NewCreateUpgradePlanRequest ¶
func NewCreateUpgradePlanRequest(server string, omadacId string, body CreateUpgradePlanJSONRequestBody) (*http.Request, error)
NewCreateUpgradePlanRequest calls the generic CreateUpgradePlan builder with application/json body
func NewCreateUpgradePlanRequestWithBody ¶
func NewCreateUpgradePlanRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateUpgradePlanRequestWithBody constructs an http.Request for the CreateUpgradePlan method, with any body, and a specified content type
func NewCreateUpgradeScheduleRequest ¶
func NewCreateUpgradeScheduleRequest(server string, omadacId string, siteId string, body CreateUpgradeScheduleJSONRequestBody) (*http.Request, error)
NewCreateUpgradeScheduleRequest calls the generic CreateUpgradeSchedule builder with application/json body
func NewCreateUpgradeScheduleRequestWithBody ¶
func NewCreateUpgradeScheduleRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateUpgradeScheduleRequestWithBody constructs an http.Request for the CreateUpgradeSchedule method, with any body, and a specified content type
func NewDeleteAutoCheckUpgradeRequest ¶
func NewDeleteAutoCheckUpgradeRequest(server string, omadacId string, autoCheckId string) (*http.Request, error)
NewDeleteAutoCheckUpgradeRequest constructs an http.Request for the DeleteAutoCheckUpgrade method
func NewDeleteMonitorDevicesRequest ¶
func NewDeleteMonitorDevicesRequest(server string, omadacId string, siteId string, body DeleteMonitorDevicesJSONRequestBody) (*http.Request, error)
NewDeleteMonitorDevicesRequest calls the generic DeleteMonitorDevices builder with application/json body
func NewDeleteMonitorDevicesRequestWithBody ¶
func NewDeleteMonitorDevicesRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteMonitorDevicesRequestWithBody constructs an http.Request for the DeleteMonitorDevices method, with any body, and a specified content type
func NewDeletePoeScheduleRequest ¶
func NewDeletePoeScheduleRequest(server string, omadacId string, siteId string, poeScheduleId string) (*http.Request, error)
NewDeletePoeScheduleRequest constructs an http.Request for the DeletePoeSchedule method
func NewDeletePortScheduleRequest ¶
func NewDeletePortScheduleRequest(server string, omadacId string, siteId string, portScheduleId string) (*http.Request, error)
NewDeletePortScheduleRequest constructs an http.Request for the DeletePortSchedule method
func NewDeleteRebootSchedule1Request ¶
func NewDeleteRebootSchedule1Request(server string, omadacId string, siteId string, id string) (*http.Request, error)
NewDeleteRebootSchedule1Request constructs an http.Request for the DeleteRebootSchedule1 method
func NewDeleteRebootScheduleRequest ¶
func NewDeleteRebootScheduleRequest(server string, omadacId string, siteTemplateId string, id string) (*http.Request, error)
NewDeleteRebootScheduleRequest constructs an http.Request for the DeleteRebootSchedule method
func NewDeleteReplaceRecordRequest ¶
func NewDeleteReplaceRecordRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
NewDeleteReplaceRecordRequest constructs an http.Request for the DeleteReplaceRecord method
func NewDeleteTagRequest ¶
func NewDeleteTagRequest(server string, omadacId string, siteId string, body DeleteTagJSONRequestBody) (*http.Request, error)
NewDeleteTagRequest calls the generic DeleteTag builder with application/json body
func NewDeleteTagRequestWithBody ¶
func NewDeleteTagRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteTagRequestWithBody constructs an http.Request for the DeleteTag method, with any body, and a specified content type
func NewDeleteUpgradeFirmwareRequest ¶
func NewDeleteUpgradeFirmwareRequest(server string, omadacId string, firmwareId string) (*http.Request, error)
NewDeleteUpgradeFirmwareRequest constructs an http.Request for the DeleteUpgradeFirmware method
func NewDeleteUpgradePlanRequest ¶
func NewDeleteUpgradePlanRequest(server string, omadacId string, planId string) (*http.Request, error)
NewDeleteUpgradePlanRequest constructs an http.Request for the DeleteUpgradePlan method
func NewDeleteUpgradeScheduleRequest ¶
func NewDeleteUpgradeScheduleRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
NewDeleteUpgradeScheduleRequest constructs an http.Request for the DeleteUpgradeSchedule method
func NewDownloadDeviceInfoRequest ¶
func NewDownloadDeviceInfoRequest(server string, omadacId string, siteId string, deviceMac string, pType string) (*http.Request, error)
NewDownloadDeviceInfoRequest constructs an http.Request for the DownloadDeviceInfo method
func NewEditAutoCheckUpgradeRequest ¶
func NewEditAutoCheckUpgradeRequest(server string, omadacId string, autoCheckId string, body EditAutoCheckUpgradeJSONRequestBody) (*http.Request, error)
NewEditAutoCheckUpgradeRequest calls the generic EditAutoCheckUpgrade builder with application/json body
func NewEditAutoCheckUpgradeRequestWithBody ¶
func NewEditAutoCheckUpgradeRequestWithBody(server string, omadacId string, autoCheckId string, contentType string, body io.Reader) (*http.Request, error)
NewEditAutoCheckUpgradeRequestWithBody constructs an http.Request for the EditAutoCheckUpgrade method, with any body, and a specified content type
func NewEditFirmwareUpgradeRequest ¶
func NewEditFirmwareUpgradeRequest(server string, omadacId string, firmwareId string, body EditFirmwareUpgradeJSONRequestBody) (*http.Request, error)
NewEditFirmwareUpgradeRequest calls the generic EditFirmwareUpgrade builder with application/json body
func NewEditFirmwareUpgradeRequestWithBody ¶
func NewEditFirmwareUpgradeRequestWithBody(server string, omadacId string, firmwareId string, contentType string, body io.Reader) (*http.Request, error)
NewEditFirmwareUpgradeRequestWithBody constructs an http.Request for the EditFirmwareUpgrade method, with any body, and a specified content type
func NewEditUpgradePlanRequest ¶
func NewEditUpgradePlanRequest(server string, omadacId string, planId string, body EditUpgradePlanJSONRequestBody) (*http.Request, error)
NewEditUpgradePlanRequest calls the generic EditUpgradePlan builder with application/json body
func NewEditUpgradePlanRequestWithBody ¶
func NewEditUpgradePlanRequestWithBody(server string, omadacId string, planId string, contentType string, body io.Reader) (*http.Request, error)
NewEditUpgradePlanRequestWithBody constructs an http.Request for the EditUpgradePlan method, with any body, and a specified content type
func NewExistUnSupportRadSecDeviceRequest ¶
func NewExistUnSupportRadSecDeviceRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewExistUnSupportRadSecDeviceRequest constructs an http.Request for the ExistUnSupportRadSecDevice method
func NewExportAddFailDevicesRequest ¶
func NewExportAddFailDevicesRequest(server string, omadacId string, operateId string, params *ExportAddFailDevicesParams) (*http.Request, error)
NewExportAddFailDevicesRequest constructs an http.Request for the ExportAddFailDevices method
func NewExportGlobalDeviceListRequest ¶
func NewExportGlobalDeviceListRequest(server string, omadacId string, body ExportGlobalDeviceListJSONRequestBody) (*http.Request, error)
NewExportGlobalDeviceListRequest calls the generic ExportGlobalDeviceList builder with application/json body
func NewExportGlobalDeviceListRequestWithBody ¶
func NewExportGlobalDeviceListRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewExportGlobalDeviceListRequestWithBody constructs an http.Request for the ExportGlobalDeviceList method, with any body, and a specified content type
func NewExportMspAddFailDevicesRequest ¶
func NewExportMspAddFailDevicesRequest(server string, mspId string, customerId string, operateId string, params *ExportMspAddFailDevicesParams) (*http.Request, error)
NewExportMspAddFailDevicesRequest constructs an http.Request for the ExportMspAddFailDevices method
func NewExportPreConfigDevicesGlobalRequest ¶
NewExportPreConfigDevicesGlobalRequest constructs an http.Request for the ExportPreConfigDevicesGlobal method
func NewExportPreConfigDevicesRequest ¶
func NewExportPreConfigDevicesRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewExportPreConfigDevicesRequest constructs an http.Request for the ExportPreConfigDevices method
func NewExportSiteDeviceListRequest ¶
func NewExportSiteDeviceListRequest(server string, omadacId string, siteId string, body ExportSiteDeviceListJSONRequestBody) (*http.Request, error)
NewExportSiteDeviceListRequest calls the generic ExportSiteDeviceList builder with application/json body
func NewExportSiteDeviceListRequestWithBody ¶
func NewExportSiteDeviceListRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewExportSiteDeviceListRequestWithBody constructs an http.Request for the ExportSiteDeviceList method, with any body, and a specified content type
func NewForceProvisionDeviceRequest ¶
func NewForceProvisionDeviceRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
NewForceProvisionDeviceRequest constructs an http.Request for the ForceProvisionDevice method
func NewForgetDeviceForMspRequest ¶
func NewForgetDeviceForMspRequest(server string, mspId string, customerId string, siteId string, deviceMac string) (*http.Request, error)
NewForgetDeviceForMspRequest constructs an http.Request for the ForgetDeviceForMsp method
func NewForgetDeviceRequest ¶
func NewForgetDeviceRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
NewForgetDeviceRequest constructs an http.Request for the ForgetDevice method
func NewGetAddDevicesStatusMultiSiteRequest ¶
func NewGetAddDevicesStatusMultiSiteRequest(server string, omadacId string, operateId string) (*http.Request, error)
NewGetAddDevicesStatusMultiSiteRequest constructs an http.Request for the GetAddDevicesStatusMultiSite method
func NewGetAddDevicesStatusRequest ¶
func NewGetAddDevicesStatusRequest(server string, omadacId string, siteId string, operateId string) (*http.Request, error)
NewGetAddDevicesStatusRequest constructs an http.Request for the GetAddDevicesStatus method
func NewGetAdoptAbleDevicesForGlobalBatchAdoptRequest ¶
func NewGetAdoptAbleDevicesForGlobalBatchAdoptRequest(server string, omadacId string, params *GetAdoptAbleDevicesForGlobalBatchAdoptParams) (*http.Request, error)
NewGetAdoptAbleDevicesForGlobalBatchAdoptRequest constructs an http.Request for the GetAdoptAbleDevicesForGlobalBatchAdopt method
func NewGetAdoptAbleDevicesForMspBatchAdoptRequest ¶
func NewGetAdoptAbleDevicesForMspBatchAdoptRequest(server string, mspId string, params *GetAdoptAbleDevicesForMspBatchAdoptParams) (*http.Request, error)
NewGetAdoptAbleDevicesForMspBatchAdoptRequest constructs an http.Request for the GetAdoptAbleDevicesForMspBatchAdopt method
func NewGetAdoptTipRequest ¶
NewGetAdoptTipRequest constructs an http.Request for the GetAdoptTip method
func NewGetAllDeviceBySiteRequest ¶
func NewGetAllDeviceBySiteRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetAllDeviceBySiteRequest constructs an http.Request for the GetAllDeviceBySite method
func NewGetAutoSelectDevicesRequest ¶
func NewGetAutoSelectDevicesRequest(server string, omadacId string, siteId string, body GetAutoSelectDevicesJSONRequestBody) (*http.Request, error)
NewGetAutoSelectDevicesRequest calls the generic GetAutoSelectDevices builder with application/json body
func NewGetAutoSelectDevicesRequestWithBody ¶
func NewGetAutoSelectDevicesRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewGetAutoSelectDevicesRequestWithBody constructs an http.Request for the GetAutoSelectDevices method, with any body, and a specified content type
func NewGetBackupResultRequest ¶
NewGetBackupResultRequest constructs an http.Request for the GetBackupResult method
func NewGetBackupScheduleTaskRequest ¶
NewGetBackupScheduleTaskRequest constructs an http.Request for the GetBackupScheduleTask method
func NewGetCheckFirmwareTaskResultRequest ¶
func NewGetCheckFirmwareTaskResultRequest(server string, omadacId string, siteId string, taskId string) (*http.Request, error)
NewGetCheckFirmwareTaskResultRequest constructs an http.Request for the GetCheckFirmwareTaskResult method
func NewGetDeviceAccessMgmtSettingRequest ¶
NewGetDeviceAccessMgmtSettingRequest constructs an http.Request for the GetDeviceAccessMgmtSetting method
func NewGetDeviceAdoptResultRequest ¶
func NewGetDeviceAdoptResultRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
NewGetDeviceAdoptResultRequest constructs an http.Request for the GetDeviceAdoptResult method
func NewGetDeviceIncidentCountsRequest ¶
func NewGetDeviceIncidentCountsRequest(server string, omadacId string, siteId string, body GetDeviceIncidentCountsJSONRequestBody) (*http.Request, error)
NewGetDeviceIncidentCountsRequest calls the generic GetDeviceIncidentCounts builder with application/json body
func NewGetDeviceIncidentCountsRequestWithBody ¶
func NewGetDeviceIncidentCountsRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewGetDeviceIncidentCountsRequestWithBody constructs an http.Request for the GetDeviceIncidentCounts method, with any body, and a specified content type
func NewGetDeviceListRequest ¶
func NewGetDeviceListRequest(server string, omadacId string, siteId string, params *GetDeviceListParams) (*http.Request, error)
NewGetDeviceListRequest constructs an http.Request for the GetDeviceList method
func NewGetDeviceRememberMeRequest ¶
func NewGetDeviceRememberMeRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
NewGetDeviceRememberMeRequest constructs an http.Request for the GetDeviceRememberMe method
func NewGetDeviceWhiteListRequest ¶
func NewGetDeviceWhiteListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetDeviceWhiteListRequest constructs an http.Request for the GetDeviceWhiteList method
func NewGetEligibleDeviceListRequest ¶
func NewGetEligibleDeviceListRequest(server string, omadacId string, siteId string, params *GetEligibleDeviceListParams) (*http.Request, error)
NewGetEligibleDeviceListRequest constructs an http.Request for the GetEligibleDeviceList method
func NewGetEmailReminderSwitchStatusRequest ¶
NewGetEmailReminderSwitchStatusRequest constructs an http.Request for the GetEmailReminderSwitchStatus method
func NewGetFirmwareInfoRequest ¶
func NewGetFirmwareInfoRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
NewGetFirmwareInfoRequest constructs an http.Request for the GetFirmwareInfo method
func NewGetForgetProcessRequest ¶
func NewGetForgetProcessRequest(server string, omadacId string, siteId string, forgetId string) (*http.Request, error)
NewGetForgetProcessRequest constructs an http.Request for the GetForgetProcess method
func NewGetGlobalDeviceIncidentCountsRequest ¶
func NewGetGlobalDeviceIncidentCountsRequest(server string, omadacId string, body GetGlobalDeviceIncidentCountsJSONRequestBody) (*http.Request, error)
NewGetGlobalDeviceIncidentCountsRequest calls the generic GetGlobalDeviceIncidentCounts builder with application/json body
func NewGetGlobalDeviceIncidentCountsRequestWithBody ¶
func NewGetGlobalDeviceIncidentCountsRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewGetGlobalDeviceIncidentCountsRequestWithBody constructs an http.Request for the GetGlobalDeviceIncidentCounts method, with any body, and a specified content type
func NewGetGlobalKnownDeviceListRequest ¶
func NewGetGlobalKnownDeviceListRequest(server string, omadacId string, params *GetGlobalKnownDeviceListParams) (*http.Request, error)
NewGetGlobalKnownDeviceListRequest constructs an http.Request for the GetGlobalKnownDeviceList method
func NewGetGlobalUnknownDeviceListRequest ¶
func NewGetGlobalUnknownDeviceListRequest(server string, omadacId string, params *GetGlobalUnknownDeviceListParams) (*http.Request, error)
NewGetGlobalUnknownDeviceListRequest constructs an http.Request for the GetGlobalUnknownDeviceList method
func NewGetGridAdoptedBridgeDevicesBySiteRequest ¶
func NewGetGridAdoptedBridgeDevicesBySiteRequest(server string, omadacId string, siteId string, params *GetGridAdoptedBridgeDevicesBySiteParams) (*http.Request, error)
NewGetGridAdoptedBridgeDevicesBySiteRequest constructs an http.Request for the GetGridAdoptedBridgeDevicesBySite method
func NewGetGridAdoptedDevicesStatByGlobalRequest ¶
func NewGetGridAdoptedDevicesStatByGlobalRequest(server string, omadacId string, params *GetGridAdoptedDevicesStatByGlobalParams) (*http.Request, error)
NewGetGridAdoptedDevicesStatByGlobalRequest constructs an http.Request for the GetGridAdoptedDevicesStatByGlobal method
func NewGetGridAutoCheckUpgradeRequest ¶
func NewGetGridAutoCheckUpgradeRequest(server string, omadacId string, params *GetGridAutoCheckUpgradeParams) (*http.Request, error)
NewGetGridAutoCheckUpgradeRequest constructs an http.Request for the GetGridAutoCheckUpgrade method
func NewGetGridFirmwareListRequest ¶
func NewGetGridFirmwareListRequest(server string, omadacId string, params *GetGridFirmwareListParams) (*http.Request, error)
NewGetGridFirmwareListRequest constructs an http.Request for the GetGridFirmwareList method
func NewGetGridFirmwarePoolListRequest ¶
func NewGetGridFirmwarePoolListRequest(server string, omadacId string, params *GetGridFirmwarePoolListParams) (*http.Request, error)
NewGetGridFirmwarePoolListRequest constructs an http.Request for the GetGridFirmwarePoolList method
func NewGetGridMonitorDeviceRequest ¶
func NewGetGridMonitorDeviceRequest(server string, omadacId string, siteId string, params *GetGridMonitorDeviceParams) (*http.Request, error)
NewGetGridMonitorDeviceRequest constructs an http.Request for the GetGridMonitorDevice method
func NewGetGridPendingBridgeDevicesBySiteRequest ¶
func NewGetGridPendingBridgeDevicesBySiteRequest(server string, omadacId string, siteId string, params *GetGridPendingBridgeDevicesBySiteParams) (*http.Request, error)
NewGetGridPendingBridgeDevicesBySiteRequest constructs an http.Request for the GetGridPendingBridgeDevicesBySite method
func NewGetGridPendingDevicesBySiteRequest ¶
func NewGetGridPendingDevicesBySiteRequest(server string, omadacId string, siteId string, params *GetGridPendingDevicesBySiteParams) (*http.Request, error)
NewGetGridPendingDevicesBySiteRequest constructs an http.Request for the GetGridPendingDevicesBySite method
func NewGetGridPlanUpgradeModelListRequest ¶
func NewGetGridPlanUpgradeModelListRequest(server string, omadacId string, params *GetGridPlanUpgradeModelListParams) (*http.Request, error)
NewGetGridPlanUpgradeModelListRequest constructs an http.Request for the GetGridPlanUpgradeModelList method
func NewGetGridPlanUpgradeSiteListRequest ¶
func NewGetGridPlanUpgradeSiteListRequest(server string, omadacId string, body GetGridPlanUpgradeSiteListJSONRequestBody) (*http.Request, error)
NewGetGridPlanUpgradeSiteListRequest calls the generic GetGridPlanUpgradeSiteList builder with application/json body
func NewGetGridPlanUpgradeSiteListRequestWithBody ¶
func NewGetGridPlanUpgradeSiteListRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewGetGridPlanUpgradeSiteListRequestWithBody constructs an http.Request for the GetGridPlanUpgradeSiteList method, with any body, and a specified content type
func NewGetGridUpgradeLogsRequest ¶
func NewGetGridUpgradeLogsRequest(server string, omadacId string, params *GetGridUpgradeLogsParams) (*http.Request, error)
NewGetGridUpgradeLogsRequest constructs an http.Request for the GetGridUpgradeLogs method
func NewGetGridUpgradePlansRequest ¶
func NewGetGridUpgradePlansRequest(server string, omadacId string, params *GetGridUpgradePlansParams) (*http.Request, error)
NewGetGridUpgradePlansRequest constructs an http.Request for the GetGridUpgradePlans method
func NewGetIntelliRecoverSettingRequest ¶
func NewGetIntelliRecoverSettingRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetIntelliRecoverSettingRequest constructs an http.Request for the GetIntelliRecoverSetting method
func NewGetManuallyUpgradeResRequest ¶
func NewGetManuallyUpgradeResRequest(server string, omadacId string, siteId string, taskId string) (*http.Request, error)
NewGetManuallyUpgradeResRequest constructs an http.Request for the GetManuallyUpgradeRes method
func NewGetModelBySitesRequest ¶
func NewGetModelBySitesRequest(server string, omadacId string, body GetModelBySitesJSONRequestBody) (*http.Request, error)
NewGetModelBySitesRequest calls the generic GetModelBySites builder with application/json body
func NewGetModelBySitesRequestWithBody ¶
func NewGetModelBySitesRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewGetModelBySitesRequestWithBody constructs an http.Request for the GetModelBySites method, with any body, and a specified content type
func NewGetModelFirmwareReleaseNotesRequest ¶
func NewGetModelFirmwareReleaseNotesRequest(server string, omadacId string, body GetModelFirmwareReleaseNotesJSONRequestBody) (*http.Request, error)
NewGetModelFirmwareReleaseNotesRequest calls the generic GetModelFirmwareReleaseNotes builder with application/json body
func NewGetModelFirmwareReleaseNotesRequestWithBody ¶
func NewGetModelFirmwareReleaseNotesRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewGetModelFirmwareReleaseNotesRequestWithBody constructs an http.Request for the GetModelFirmwareReleaseNotes method, with any body, and a specified content type
func NewGetMoveSiteProcessRequest ¶
func NewGetMoveSiteProcessRequest(server string, omadacId string, siteId string, moveSiteId string) (*http.Request, error)
NewGetMoveSiteProcessRequest constructs an http.Request for the GetMoveSiteProcess method
func NewGetMspAdoptTipRequest ¶
NewGetMspAdoptTipRequest constructs an http.Request for the GetMspAdoptTip method
func NewGetOnlineTimelineRequest ¶
func NewGetOnlineTimelineRequest(server string, omadacId string, siteId string, deviceMac string, params *GetOnlineTimelineParams) (*http.Request, error)
NewGetOnlineTimelineRequest constructs an http.Request for the GetOnlineTimeline method
func NewGetOnlineUpgradeResRequest ¶
func NewGetOnlineUpgradeResRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
NewGetOnlineUpgradeResRequest constructs an http.Request for the GetOnlineUpgradeRes method
func NewGetPlanUpgradeModelInfoRequest ¶
func NewGetPlanUpgradeModelInfoRequest(server string, omadacId string, body GetPlanUpgradeModelInfoJSONRequestBody) (*http.Request, error)
NewGetPlanUpgradeModelInfoRequest calls the generic GetPlanUpgradeModelInfo builder with application/json body
func NewGetPlanUpgradeModelInfoRequestWithBody ¶
func NewGetPlanUpgradeModelInfoRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewGetPlanUpgradeModelInfoRequestWithBody constructs an http.Request for the GetPlanUpgradeModelInfo method, with any body, and a specified content type
func NewGetPoePortsListRequest ¶
func NewGetPoePortsListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetPoePortsListRequest constructs an http.Request for the GetPoePortsList method
func NewGetPoeScheduleListRequest ¶
func NewGetPoeScheduleListRequest(server string, omadacId string, siteId string, params *GetPoeScheduleListParams) (*http.Request, error)
NewGetPoeScheduleListRequest constructs an http.Request for the GetPoeScheduleList method
func NewGetPortScheduleListRequest ¶
func NewGetPortScheduleListRequest(server string, omadacId string, siteId string, params *GetPortScheduleListParams) (*http.Request, error)
NewGetPortScheduleListRequest constructs an http.Request for the GetPortScheduleList method
func NewGetPortScheduleListTemplateRequest ¶
func NewGetPortScheduleListTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
NewGetPortScheduleListTemplateRequest constructs an http.Request for the GetPortScheduleListTemplate method
func NewGetPortSchedulePortsRequest ¶
func NewGetPortSchedulePortsRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetPortSchedulePortsRequest constructs an http.Request for the GetPortSchedulePorts method
func NewGetRebootScheduleList1Request ¶
func NewGetRebootScheduleList1Request(server string, omadacId string, siteId string) (*http.Request, error)
NewGetRebootScheduleList1Request constructs an http.Request for the GetRebootScheduleList1 method
func NewGetRebootScheduleListRequest ¶
func NewGetRebootScheduleListRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
NewGetRebootScheduleListRequest constructs an http.Request for the GetRebootScheduleList method
func NewGetRestoreResultRequest ¶
NewGetRestoreResultRequest constructs an http.Request for the GetRestoreResult method
func NewGetRollingUpgradeResRequest ¶
func NewGetRollingUpgradeResRequest(server string, omadacId string, siteId string, taskId string) (*http.Request, error)
NewGetRollingUpgradeResRequest constructs an http.Request for the GetRollingUpgradeRes method
func NewGetSelfServerFileListRequest ¶
NewGetSelfServerFileListRequest constructs an http.Request for the GetSelfServerFileList method
func NewGetSelfServerSiteFileListRequest ¶
func NewGetSelfServerSiteFileListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetSelfServerSiteFileListRequest constructs an http.Request for the GetSelfServerSiteFileList method
func NewGetSingleForgetProcessRequest ¶
func NewGetSingleForgetProcessRequest(server string, omadacId string, siteId string, deviceMac string, forgetId string) (*http.Request, error)
NewGetSingleForgetProcessRequest constructs an http.Request for the GetSingleForgetProcess method
func NewGetSingleMoveSiteProcessRequest ¶
func NewGetSingleMoveSiteProcessRequest(server string, omadacId string, siteId string, deviceMac string, moveSiteId string) (*http.Request, error)
NewGetSingleMoveSiteProcessRequest constructs an http.Request for the GetSingleMoveSiteProcess method
func NewGetSiteBackupResultRequest ¶
func NewGetSiteBackupResultRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetSiteBackupResultRequest constructs an http.Request for the GetSiteBackupResult method
func NewGetTagsRequest ¶
NewGetTagsRequest constructs an http.Request for the GetTags method
func NewGetTargetFirmwareAllSitesRequest ¶
func NewGetTargetFirmwareAllSitesRequest(server string, omadacId string, firmwareId string) (*http.Request, error)
NewGetTargetFirmwareAllSitesRequest constructs an http.Request for the GetTargetFirmwareAllSites method
func NewGetTryBetaChannelRequest ¶
NewGetTryBetaChannelRequest constructs an http.Request for the GetTryBetaChannel method
func NewGetTryBetaStatusRequest ¶
NewGetTryBetaStatusRequest constructs an http.Request for the GetTryBetaStatus method
func NewGetUpgradeFailedDeviceFirmwareInfoRequest ¶
func NewGetUpgradeFailedDeviceFirmwareInfoRequest(server string, omadacId string, upgradeLogId string) (*http.Request, error)
NewGetUpgradeFailedDeviceFirmwareInfoRequest constructs an http.Request for the GetUpgradeFailedDeviceFirmwareInfo method
func NewGetUpgradeFailedDeviceInfosRequest ¶
func NewGetUpgradeFailedDeviceInfosRequest(server string, omadacId string, upgradeLogId string, params *GetUpgradeFailedDeviceInfosParams) (*http.Request, error)
NewGetUpgradeFailedDeviceInfosRequest constructs an http.Request for the GetUpgradeFailedDeviceInfos method
func NewGetUpgradeScheduleListRequest ¶
func NewGetUpgradeScheduleListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetUpgradeScheduleListRequest constructs an http.Request for the GetUpgradeScheduleList method
func NewGetUplinkDeviceInfoRequest ¶
func NewGetUplinkDeviceInfoRequest(server string, omadacId string, siteId string, body GetUplinkDeviceInfoJSONRequestBody) (*http.Request, error)
NewGetUplinkDeviceInfoRequest calls the generic GetUplinkDeviceInfo builder with application/json body
func NewGetUplinkDeviceInfoRequestWithBody ¶
func NewGetUplinkDeviceInfoRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewGetUplinkDeviceInfoRequestWithBody constructs an http.Request for the GetUplinkDeviceInfo method, with any body, and a specified content type
func NewGetcriticalModelNumRequest ¶
NewGetcriticalModelNumRequest constructs an http.Request for the GetcriticalModelNum method
func NewLocateDeviceRequest ¶
func NewLocateDeviceRequest(server string, omadacId string, siteId string, deviceMac string, body LocateDeviceJSONRequestBody) (*http.Request, error)
NewLocateDeviceRequest calls the generic LocateDevice builder with application/json body
func NewLocateDeviceRequestWithBody ¶
func NewLocateDeviceRequestWithBody(server string, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader) (*http.Request, error)
NewLocateDeviceRequestWithBody constructs an http.Request for the LocateDevice method, with any body, and a specified content type
func NewLocatePortsRequest ¶
func NewLocatePortsRequest(server string, omadacId string, siteId string, body LocatePortsJSONRequestBody) (*http.Request, error)
NewLocatePortsRequest calls the generic LocatePorts builder with application/json body
func NewLocatePortsRequestWithBody ¶
func NewLocatePortsRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewLocatePortsRequestWithBody constructs an http.Request for the LocatePorts method, with any body, and a specified content type
func NewManuallyUpgradeRequest ¶
func NewManuallyUpgradeRequest(server string, omadacId string, siteId string, body ManuallyUpgradeJSONRequestBody) (*http.Request, error)
NewManuallyUpgradeRequest calls the generic ManuallyUpgrade builder with application/json body
func NewManuallyUpgradeRequestWithBody ¶
func NewManuallyUpgradeRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewManuallyUpgradeRequestWithBody constructs an http.Request for the ManuallyUpgrade method, with any body, and a specified content type
func NewModifyBackupScheduleTaskRequest ¶
func NewModifyBackupScheduleTaskRequest(server string, omadacId string, body ModifyBackupScheduleTaskJSONRequestBody) (*http.Request, error)
NewModifyBackupScheduleTaskRequest calls the generic ModifyBackupScheduleTask builder with application/json body
func NewModifyBackupScheduleTaskRequestWithBody ¶
func NewModifyBackupScheduleTaskRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyBackupScheduleTaskRequestWithBody constructs an http.Request for the ModifyBackupScheduleTask method, with any body, and a specified content type
func NewModifyDeviceAccessMgmtSettingRequest ¶
func NewModifyDeviceAccessMgmtSettingRequest(server string, omadacId string, body ModifyDeviceAccessMgmtSettingJSONRequestBody) (*http.Request, error)
NewModifyDeviceAccessMgmtSettingRequest calls the generic ModifyDeviceAccessMgmtSetting builder with application/json body
func NewModifyDeviceAccessMgmtSettingRequestWithBody ¶
func NewModifyDeviceAccessMgmtSettingRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyDeviceAccessMgmtSettingRequestWithBody constructs an http.Request for the ModifyDeviceAccessMgmtSetting method, with any body, and a specified content type
func NewModifyDeviceRememberMeRequest ¶
func NewModifyDeviceRememberMeRequest(server string, omadacId string, siteId string, deviceMac string, body ModifyDeviceRememberMeJSONRequestBody) (*http.Request, error)
NewModifyDeviceRememberMeRequest calls the generic ModifyDeviceRememberMe builder with application/json body
func NewModifyDeviceRememberMeRequestWithBody ¶
func NewModifyDeviceRememberMeRequestWithBody(server string, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader) (*http.Request, error)
NewModifyDeviceRememberMeRequestWithBody constructs an http.Request for the ModifyDeviceRememberMe method, with any body, and a specified content type
func NewModifyEmailReminderSwitchStatusRequest ¶
func NewModifyEmailReminderSwitchStatusRequest(server string, omadacId string, body ModifyEmailReminderSwitchStatusJSONRequestBody) (*http.Request, error)
NewModifyEmailReminderSwitchStatusRequest calls the generic ModifyEmailReminderSwitchStatus builder with application/json body
func NewModifyEmailReminderSwitchStatusRequestWithBody ¶
func NewModifyEmailReminderSwitchStatusRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyEmailReminderSwitchStatusRequestWithBody constructs an http.Request for the ModifyEmailReminderSwitchStatus method, with any body, and a specified content type
func NewModifyIntelliRecoverSettingRequest ¶
func NewModifyIntelliRecoverSettingRequest(server string, omadacId string, siteId string, body ModifyIntelliRecoverSettingJSONRequestBody) (*http.Request, error)
NewModifyIntelliRecoverSettingRequest calls the generic ModifyIntelliRecoverSetting builder with application/json body
func NewModifyIntelliRecoverSettingRequestWithBody ¶
func NewModifyIntelliRecoverSettingRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyIntelliRecoverSettingRequestWithBody constructs an http.Request for the ModifyIntelliRecoverSetting method, with any body, and a specified content type
func NewModifyPoeScheduleRequest ¶
func NewModifyPoeScheduleRequest(server string, omadacId string, siteId string, poeScheduleId string, body ModifyPoeScheduleJSONRequestBody) (*http.Request, error)
NewModifyPoeScheduleRequest calls the generic ModifyPoeSchedule builder with application/json body
func NewModifyPoeScheduleRequestWithBody ¶
func NewModifyPoeScheduleRequestWithBody(server string, omadacId string, siteId string, poeScheduleId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyPoeScheduleRequestWithBody constructs an http.Request for the ModifyPoeSchedule method, with any body, and a specified content type
func NewModifyPortScheduleRequest ¶
func NewModifyPortScheduleRequest(server string, omadacId string, siteId string, portScheduleId string, body ModifyPortScheduleJSONRequestBody) (*http.Request, error)
NewModifyPortScheduleRequest calls the generic ModifyPortSchedule builder with application/json body
func NewModifyPortScheduleRequestWithBody ¶
func NewModifyPortScheduleRequestWithBody(server string, omadacId string, siteId string, portScheduleId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyPortScheduleRequestWithBody constructs an http.Request for the ModifyPortSchedule method, with any body, and a specified content type
func NewModifyPortScheduleTemplateRequest ¶
func NewModifyPortScheduleTemplateRequest(server string, omadacId string, siteTemplateId string, pType string, portScheduleId string, body ModifyPortScheduleTemplateJSONRequestBody) (*http.Request, error)
NewModifyPortScheduleTemplateRequest calls the generic ModifyPortScheduleTemplate builder with application/json body
func NewModifyPortScheduleTemplateRequestWithBody ¶
func NewModifyPortScheduleTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, pType string, portScheduleId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyPortScheduleTemplateRequestWithBody constructs an http.Request for the ModifyPortScheduleTemplate method, with any body, and a specified content type
func NewModifyRebootSchedule1Request ¶
func NewModifyRebootSchedule1Request(server string, omadacId string, siteId string, id string, body ModifyRebootSchedule1JSONRequestBody) (*http.Request, error)
NewModifyRebootSchedule1Request calls the generic ModifyRebootSchedule1 builder with application/json body
func NewModifyRebootSchedule1RequestWithBody ¶
func NewModifyRebootSchedule1RequestWithBody(server string, omadacId string, siteId string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModifyRebootSchedule1RequestWithBody constructs an http.Request for the ModifyRebootSchedule1 method, with any body, and a specified content type
func NewModifyRebootScheduleRequest ¶
func NewModifyRebootScheduleRequest(server string, omadacId string, siteTemplateId string, id string, body ModifyRebootScheduleJSONRequestBody) (*http.Request, error)
NewModifyRebootScheduleRequest calls the generic ModifyRebootSchedule builder with application/json body
func NewModifyRebootScheduleRequestWithBody ¶
func NewModifyRebootScheduleRequestWithBody(server string, omadacId string, siteTemplateId string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModifyRebootScheduleRequestWithBody constructs an http.Request for the ModifyRebootSchedule method, with any body, and a specified content type
func NewModifyReplaceRecordRequest ¶
func NewModifyReplaceRecordRequest(server string, omadacId string, siteId string, deviceMac string, body ModifyReplaceRecordJSONRequestBody) (*http.Request, error)
NewModifyReplaceRecordRequest calls the generic ModifyReplaceRecord builder with application/json body
func NewModifyReplaceRecordRequestWithBody ¶
func NewModifyReplaceRecordRequestWithBody(server string, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader) (*http.Request, error)
NewModifyReplaceRecordRequestWithBody constructs an http.Request for the ModifyReplaceRecord method, with any body, and a specified content type
func NewModifyTagRequest ¶
func NewModifyTagRequest(server string, omadacId string, siteId string, body ModifyTagJSONRequestBody) (*http.Request, error)
NewModifyTagRequest calls the generic ModifyTag builder with application/json body
func NewModifyTagRequestWithBody ¶
func NewModifyTagRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyTagRequestWithBody constructs an http.Request for the ModifyTag method, with any body, and a specified content type
func NewModifyTryBetaChannelRequest ¶
func NewModifyTryBetaChannelRequest(server string, omadacId string, body ModifyTryBetaChannelJSONRequestBody) (*http.Request, error)
NewModifyTryBetaChannelRequest calls the generic ModifyTryBetaChannel builder with application/json body
func NewModifyTryBetaChannelRequestWithBody ¶
func NewModifyTryBetaChannelRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyTryBetaChannelRequestWithBody constructs an http.Request for the ModifyTryBetaChannel method, with any body, and a specified content type
func NewModifyTryBetaStatusRequest ¶
func NewModifyTryBetaStatusRequest(server string, omadacId string, body ModifyTryBetaStatusJSONRequestBody) (*http.Request, error)
NewModifyTryBetaStatusRequest calls the generic ModifyTryBetaStatus builder with application/json body
func NewModifyTryBetaStatusRequestWithBody ¶
func NewModifyTryBetaStatusRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyTryBetaStatusRequestWithBody constructs an http.Request for the ModifyTryBetaStatus method, with any body, and a specified content type
func NewModifyUpgradeScheduleRequest ¶
func NewModifyUpgradeScheduleRequest(server string, omadacId string, siteId string, id string, body ModifyUpgradeScheduleJSONRequestBody) (*http.Request, error)
NewModifyUpgradeScheduleRequest calls the generic ModifyUpgradeSchedule builder with application/json body
func NewModifyUpgradeScheduleRequestWithBody ¶
func NewModifyUpgradeScheduleRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModifyUpgradeScheduleRequestWithBody constructs an http.Request for the ModifyUpgradeSchedule method, with any body, and a specified content type
func NewMoveSiteForApsRequest ¶
func NewMoveSiteForApsRequest(server string, omadacId string, siteId string, body MoveSiteForApsJSONRequestBody) (*http.Request, error)
NewMoveSiteForApsRequest calls the generic MoveSiteForAps builder with application/json body
func NewMoveSiteForApsRequestWithBody ¶
func NewMoveSiteForApsRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewMoveSiteForApsRequestWithBody constructs an http.Request for the MoveSiteForAps method, with any body, and a specified content type
func NewMoveSiteRequest ¶
func NewMoveSiteRequest(server string, omadacId string, siteId string, deviceMac string, body MoveSiteJSONRequestBody) (*http.Request, error)
NewMoveSiteRequest calls the generic MoveSite builder with application/json body
func NewMoveSiteRequestWithBody ¶
func NewMoveSiteRequestWithBody(server string, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader) (*http.Request, error)
NewMoveSiteRequestWithBody constructs an http.Request for the MoveSite method, with any body, and a specified content type
func NewOnlineCheckUpgradeRequest ¶
func NewOnlineCheckUpgradeRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewOnlineCheckUpgradeRequest constructs an http.Request for the OnlineCheckUpgrade method
func NewOnlineRollingUpgradeByQueryRequest ¶
func NewOnlineRollingUpgradeByQueryRequest(server string, omadacId string, siteId string, params *OnlineRollingUpgradeByQueryParams, body OnlineRollingUpgradeByQueryJSONRequestBody) (*http.Request, error)
NewOnlineRollingUpgradeByQueryRequest calls the generic OnlineRollingUpgradeByQuery builder with application/json body
func NewOnlineRollingUpgradeByQueryRequestWithBody ¶
func NewOnlineRollingUpgradeByQueryRequestWithBody(server string, omadacId string, siteId string, params *OnlineRollingUpgradeByQueryParams, contentType string, body io.Reader) (*http.Request, error)
NewOnlineRollingUpgradeByQueryRequestWithBody constructs an http.Request for the OnlineRollingUpgradeByQuery method, with any body, and a specified content type
func NewOnlineRollingUpgradeRequest ¶
func NewOnlineRollingUpgradeRequest(server string, omadacId string, siteId string, body OnlineRollingUpgradeJSONRequestBody) (*http.Request, error)
NewOnlineRollingUpgradeRequest calls the generic OnlineRollingUpgrade builder with application/json body
func NewOnlineRollingUpgradeRequestWithBody ¶
func NewOnlineRollingUpgradeRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewOnlineRollingUpgradeRequestWithBody constructs an http.Request for the OnlineRollingUpgrade method, with any body, and a specified content type
func NewOnlineUpgradeRequest ¶
func NewOnlineUpgradeRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
NewOnlineUpgradeRequest constructs an http.Request for the OnlineUpgrade method
func NewRebootDeviceRequest ¶
func NewRebootDeviceRequest(server string, omadacId string, siteId string, deviceMac string) (*http.Request, error)
NewRebootDeviceRequest constructs an http.Request for the RebootDevice method
func NewRebootDeviceUplinkPoeRequest ¶
func NewRebootDeviceUplinkPoeRequest(server string, omadacId string, siteId string, body RebootDeviceUplinkPoeJSONRequestBody) (*http.Request, error)
NewRebootDeviceUplinkPoeRequest calls the generic RebootDeviceUplinkPoe builder with application/json body
func NewRebootDeviceUplinkPoeRequestWithBody ¶
func NewRebootDeviceUplinkPoeRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewRebootDeviceUplinkPoeRequestWithBody constructs an http.Request for the RebootDeviceUplinkPoe method, with any body, and a specified content type
func NewRemovePortScheduleTemplateRequest ¶
func NewRemovePortScheduleTemplateRequest(server string, omadacId string, siteTemplateId string, pType string, portScheduleId string) (*http.Request, error)
NewRemovePortScheduleTemplateRequest constructs an http.Request for the RemovePortScheduleTemplate method
func NewRestoreFileServerRequest ¶
func NewRestoreFileServerRequest(server string, omadacId string, body RestoreFileServerJSONRequestBody) (*http.Request, error)
NewRestoreFileServerRequest calls the generic RestoreFileServer builder with application/json body
func NewRestoreFileServerRequestWithBody ¶
func NewRestoreFileServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewRestoreFileServerRequestWithBody constructs an http.Request for the RestoreFileServer method, with any body, and a specified content type
func NewRestoreSelfServerRequest ¶
func NewRestoreSelfServerRequest(server string, omadacId string, body RestoreSelfServerJSONRequestBody) (*http.Request, error)
NewRestoreSelfServerRequest calls the generic RestoreSelfServer builder with application/json body
func NewRestoreSelfServerRequestWithBody ¶
func NewRestoreSelfServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewRestoreSelfServerRequestWithBody constructs an http.Request for the RestoreSelfServer method, with any body, and a specified content type
func NewRestoreSitesFileServerRequest ¶
func NewRestoreSitesFileServerRequest(server string, omadacId string, body RestoreSitesFileServerJSONRequestBody) (*http.Request, error)
NewRestoreSitesFileServerRequest calls the generic RestoreSitesFileServer builder with application/json body
func NewRestoreSitesFileServerRequestWithBody ¶
func NewRestoreSitesFileServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewRestoreSitesFileServerRequestWithBody constructs an http.Request for the RestoreSitesFileServer method, with any body, and a specified content type
func NewRestoreSitesSelfServerRequest ¶
func NewRestoreSitesSelfServerRequest(server string, omadacId string, body RestoreSitesSelfServerJSONRequestBody) (*http.Request, error)
NewRestoreSitesSelfServerRequest calls the generic RestoreSitesSelfServer builder with application/json body
func NewRestoreSitesSelfServerRequestWithBody ¶
func NewRestoreSitesSelfServerRequestWithBody(server string, omadacId string, contentType string, body io.Reader) (*http.Request, error)
NewRestoreSitesSelfServerRequestWithBody constructs an http.Request for the RestoreSitesSelfServer method, with any body, and a specified content type
func NewRetryAddDeviceByMspRequest ¶
func NewRetryAddDeviceByMspRequest(server string, mspId string, customerId string, siteId string, deviceMac string, body RetryAddDeviceByMspJSONRequestBody) (*http.Request, error)
NewRetryAddDeviceByMspRequest calls the generic RetryAddDeviceByMsp builder with application/json body
func NewRetryAddDeviceByMspRequestWithBody ¶
func NewRetryAddDeviceByMspRequestWithBody(server string, mspId string, customerId string, siteId string, deviceMac string, contentType string, body io.Reader) (*http.Request, error)
NewRetryAddDeviceByMspRequestWithBody constructs an http.Request for the RetryAddDeviceByMsp method, with any body, and a specified content type
func NewRetryAddDeviceRequest ¶
func NewRetryAddDeviceRequest(server string, omadacId string, siteId string, deviceMac string, body RetryAddDeviceJSONRequestBody) (*http.Request, error)
NewRetryAddDeviceRequest calls the generic RetryAddDevice builder with application/json body
func NewRetryAddDeviceRequestWithBody ¶
func NewRetryAddDeviceRequestWithBody(server string, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader) (*http.Request, error)
NewRetryAddDeviceRequestWithBody constructs an http.Request for the RetryAddDevice method, with any body, and a specified content type
func NewSearchGlobalDeviceRequest ¶
func NewSearchGlobalDeviceRequest(server string, omadacId string, params *SearchGlobalDeviceParams) (*http.Request, error)
NewSearchGlobalDeviceRequest constructs an http.Request for the SearchGlobalDevice method
func NewUnbindActiveDeviceBySnRequest ¶
func NewUnbindActiveDeviceBySnRequest(server string, omadacId string, siteId string, body UnbindActiveDeviceBySnJSONRequestBody) (*http.Request, error)
NewUnbindActiveDeviceBySnRequest calls the generic UnbindActiveDeviceBySn builder with application/json body
func NewUnbindActiveDeviceBySnRequestWithBody ¶
func NewUnbindActiveDeviceBySnRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewUnbindActiveDeviceBySnRequestWithBody constructs an http.Request for the UnbindActiveDeviceBySn method, with any body, and a specified content type
func NewUnbindDeviceBySnRequest ¶
func NewUnbindDeviceBySnRequest(server string, omadacId string, siteId string, body UnbindDeviceBySnJSONRequestBody) (*http.Request, error)
NewUnbindDeviceBySnRequest calls the generic UnbindDeviceBySn builder with application/json body
func NewUnbindDeviceBySnRequestWithBody ¶
func NewUnbindDeviceBySnRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewUnbindDeviceBySnRequestWithBody constructs an http.Request for the UnbindDeviceBySn method, with any body, and a specified content type
func NewUnbindDeviceRequest ¶
func NewUnbindDeviceRequest(server string, omadacId string, siteId string, body UnbindDeviceJSONRequestBody) (*http.Request, error)
NewUnbindDeviceRequest calls the generic UnbindDevice builder with application/json body
func NewUnbindDeviceRequestWithBody ¶
func NewUnbindDeviceRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewUnbindDeviceRequestWithBody constructs an http.Request for the UnbindDevice method, with any body, and a specified content type
func NewUpdateDeviceTagRequest ¶
func NewUpdateDeviceTagRequest(server string, omadacId string, siteId string, body UpdateDeviceTagJSONRequestBody) (*http.Request, error)
NewUpdateDeviceTagRequest calls the generic UpdateDeviceTag builder with application/json body
func NewUpdateDeviceTagRequestWithBody ¶
func NewUpdateDeviceTagRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDeviceTagRequestWithBody constructs an http.Request for the UpdateDeviceTag method, with any body, and a specified content type
func NewUploadUpgradeFileRequestWithBody ¶
func NewUploadUpgradeFileRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewUploadUpgradeFileRequestWithBody constructs an http.Request for the UploadUpgradeFile method, with any body, and a specified content type
func NewUploadUpgradeFirmwareRequest ¶
func NewUploadUpgradeFirmwareRequest(server string, omadacId string, params *UploadUpgradeFirmwareParams, body UploadUpgradeFirmwareJSONRequestBody) (*http.Request, error)
NewUploadUpgradeFirmwareRequest calls the generic UploadUpgradeFirmware builder with application/json body
func NewUploadUpgradeFirmwareRequestWithBody ¶
func NewUploadUpgradeFirmwareRequestWithBody(server string, omadacId string, params *UploadUpgradeFirmwareParams, contentType string, body io.Reader) (*http.Request, error)
NewUploadUpgradeFirmwareRequestWithBody constructs an http.Request for the UploadUpgradeFirmware method, with any body, and a specified content type
func NewVerifyMonitorDeviceRequest ¶
func NewVerifyMonitorDeviceRequest(server string, omadacId string, siteId string, body VerifyMonitorDeviceJSONRequestBody) (*http.Request, error)
NewVerifyMonitorDeviceRequest calls the generic VerifyMonitorDevice builder with application/json body
func NewVerifyMonitorDeviceRequestWithBody ¶
func NewVerifyMonitorDeviceRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewVerifyMonitorDeviceRequestWithBody constructs an http.Request for the VerifyMonitorDevice method, with any body, and a specified content type
Types ¶
type ActiveDeviceBySnJSONRequestBody ¶
type ActiveDeviceBySnJSONRequestBody = ActiveDeviceSnOpenApiVO
ActiveDeviceBySnJSONRequestBody defines body for ActiveDeviceBySn for application/json ContentType.
type ActiveDeviceBySnResponse ¶
func ParseActiveDeviceBySnResponse ¶
func ParseActiveDeviceBySnResponse(rsp *http.Response) (*ActiveDeviceBySnResponse, error)
ParseActiveDeviceBySnResponse parses an HTTP response from a ActiveDeviceBySnWithResponse call
func (ActiveDeviceBySnResponse) ContentType ¶
func (r ActiveDeviceBySnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ActiveDeviceBySnResponse) GetBody ¶
func (r ActiveDeviceBySnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ActiveDeviceBySnResponse) Status ¶
func (r ActiveDeviceBySnResponse) Status() string
Status returns HTTPResponse.Status
func (ActiveDeviceBySnResponse) StatusCode ¶
func (r ActiveDeviceBySnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActiveDeviceJSONRequestBody ¶
type ActiveDeviceJSONRequestBody = ActiveDeviceOpenApiVO
ActiveDeviceJSONRequestBody defines body for ActiveDevice for application/json ContentType.
type ActiveDeviceMultiSiteOpenApiVO ¶
type ActiveDeviceMultiSiteOpenApiVO struct {
ActivePairList []ActivePairMultiSiteOpenApiDTO `json:"activePairList"`
// Category It should be a value as follows: basic; ap; l2Switch; l3Switch; gateway
Category string `json:"category"`
}
ActiveDeviceMultiSiteOpenApiVO defines model for ActiveDeviceMultiSiteOpenApiVO.
type ActiveDeviceOpenApiVO ¶
type ActiveDeviceOpenApiVO struct {
ActivePairList []ActivePairOpenApiDTO `json:"activePairList"`
// Category It should be a value as follows: basic; ap; l2Switch; l3Switch; gateway
Category string `json:"category"`
}
ActiveDeviceOpenApiVO defines model for ActiveDeviceOpenApiVO.
type ActiveDeviceRespVO ¶
type ActiveDeviceRespVO struct {
Mac *string `json:"mac,omitempty"`
// Status active device status(0: success;-2002: device already active;-2003: license not enough;-2011: license category not match device;)
Status *int32 `json:"status,omitempty"`
}
ActiveDeviceRespVO defines model for ActiveDeviceRespVO.
type ActiveDeviceResponse ¶
func ParseActiveDeviceResponse ¶
func ParseActiveDeviceResponse(rsp *http.Response) (*ActiveDeviceResponse, error)
ParseActiveDeviceResponse parses an HTTP response from a ActiveDeviceWithResponse call
func (ActiveDeviceResponse) ContentType ¶
func (r ActiveDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ActiveDeviceResponse) GetBody ¶
func (r ActiveDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ActiveDeviceResponse) Status ¶
func (r ActiveDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (ActiveDeviceResponse) StatusCode ¶
func (r ActiveDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActiveDeviceSnOpenApiVO ¶
type ActiveDeviceSnOpenApiVO struct {
ActivePairList []ActivePairSnOpenApiDTO `json:"activePairList"`
// Category It should be a value as follows: basic; ap; l2Switch; l3Switch; gateway
Category string `json:"category"`
}
ActiveDeviceSnOpenApiVO defines model for ActiveDeviceSnOpenApiVO.
type ActiveDeviceSnRespVO ¶
type ActiveDeviceSnRespVO struct {
Sn *string `json:"sn,omitempty"`
// Status Active device status should be a value as follows: 0: success; -1: failed; -2002: device already active; -2003: license not enough; -2011: license category not match device;)
Status *int32 `json:"status,omitempty"`
}
ActiveDeviceSnRespVO defines model for ActiveDeviceSnRespVO.
type ActiveDeviceWithMultiSiteJSONRequestBody ¶
type ActiveDeviceWithMultiSiteJSONRequestBody = ActiveDeviceMultiSiteOpenApiVO
ActiveDeviceWithMultiSiteJSONRequestBody defines body for ActiveDeviceWithMultiSite for application/json ContentType.
type ActiveDeviceWithMultiSiteResponse ¶
func ParseActiveDeviceWithMultiSiteResponse ¶
func ParseActiveDeviceWithMultiSiteResponse(rsp *http.Response) (*ActiveDeviceWithMultiSiteResponse, error)
ParseActiveDeviceWithMultiSiteResponse parses an HTTP response from a ActiveDeviceWithMultiSiteWithResponse call
func (ActiveDeviceWithMultiSiteResponse) ContentType ¶
func (r ActiveDeviceWithMultiSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ActiveDeviceWithMultiSiteResponse) GetBody ¶
func (r ActiveDeviceWithMultiSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ActiveDeviceWithMultiSiteResponse) Status ¶
func (r ActiveDeviceWithMultiSiteResponse) Status() string
Status returns HTTPResponse.Status
func (ActiveDeviceWithMultiSiteResponse) StatusCode ¶
func (r ActiveDeviceWithMultiSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActivePairMultiSiteOpenApiDTO ¶
type ActivePairMultiSiteOpenApiDTO struct {
// DeviceMac Device MAC address, like AA-BB-CC-DD-EE-FF
DeviceMac string `json:"deviceMac"`
// LicenseId License ID
LicenseId *string `json:"licenseId,omitempty"`
// LicenseType License type should be a value as follows: Cloud Based Controller(1year, 2years, 3years, 4years, 5years, others, trial); Local Controller(trial, permanent);
LicenseType string `json:"licenseType"`
// SiteId Site ID
SiteId *string `json:"siteId,omitempty"`
}
ActivePairMultiSiteOpenApiDTO defines model for ActivePairMultiSiteOpenApiDTO.
type ActivePairOpenApiDTO ¶
type ActivePairOpenApiDTO struct {
// DeviceMac Device MAC address, like AA-BB-CC-DD-EE-FF
DeviceMac string `json:"deviceMac"`
// LicenseId License ID
LicenseId *string `json:"licenseId,omitempty"`
// LicenseType License type should be a value as follows: Cloud Based Controller(1year, 2years, 3years, 4years, 5years, others, trial); Local Controller(trial, permanent);
LicenseType string `json:"licenseType"`
}
ActivePairOpenApiDTO defines model for ActivePairOpenApiDTO.
type ActivePairSnOpenApiDTO ¶
type ActivePairSnOpenApiDTO struct {
// LicenseId License ID
LicenseId *string `json:"licenseId,omitempty"`
// LicenseType License type should be a value as follows: 1year; 2years; 3years; 4years; 5years; others; trial
LicenseType string `json:"licenseType"`
// Sn Device serial number. It should contains 13 characters.
Sn string `json:"sn"`
}
ActivePairSnOpenApiDTO defines model for ActivePairSnOpenApiDTO.
type AddDeviceByDevicekeyOpenApiVO ¶
type AddDeviceByDevicekeyOpenApiVO struct {
// DeviceKey device key(QR code)
DeviceKey *string `json:"deviceKey,omitempty"`
// Name device name(Parameter [name] should be 1 ~ 128 characters)
Name *string `json:"name,omitempty"`
// Password device password
Password *string `json:"password,omitempty"`
// Username device username
Username *string `json:"username,omitempty"`
}
AddDeviceByDevicekeyOpenApiVO add devices list
type AddDeviceBySnOpenApiVO ¶
type AddDeviceBySnOpenApiVO struct {
// Name Device name should contain 1 to 128 characters.
Name *string `json:"name,omitempty"`
// Password Device password. It should contain 1 to 128 characters.
Password *string `json:"password,omitempty"`
// Sn Device serial number. It should contains 13 characters.
Sn *string `json:"sn,omitempty"`
// Username Device username. It should contain 1 to 128 characters.
Username *string `json:"username,omitempty"`
}
AddDeviceBySnOpenApiVO Add devices list
type AddDeviceVO ¶
type AddDeviceVO struct {
DeviceKey *string `json:"deviceKey,omitempty"`
// Name Device name should contain 1 to 128 characters.
Name *string `json:"name,omitempty"`
// Password Device password. It should contain 1 to 64 characters.
Password *string `json:"password,omitempty"`
// Sn Device serial number. It should contains 13 characters.
Sn *string `json:"sn,omitempty"`
// Username Device username. It should contain 1 to 64 characters.
Username *string `json:"username,omitempty"`
}
AddDeviceVO Add devices list
type AddDeviceWithSiteBySnOpenApiVO ¶
type AddDeviceWithSiteBySnOpenApiVO struct {
// Name Device name should contain 1 to 128 characters.
Name *string `json:"name,omitempty"`
// Password Device password. It should contain 1 to 128 characters.
Password *string `json:"password,omitempty"`
// SiteId Site ID
SiteId *string `json:"siteId,omitempty"`
// Sn Device serial number. It should contains 13 characters.
Sn *string `json:"sn,omitempty"`
// Username Device username. It should contain 1 to 128 characters.
Username *string `json:"username,omitempty"`
}
AddDeviceWithSiteBySnOpenApiVO Add devices list
type AddDevicesByDeviceKeyJSONRequestBody ¶
type AddDevicesByDeviceKeyJSONRequestBody = DeviceListAddByDevicekeyOpenApiVO
AddDevicesByDeviceKeyJSONRequestBody defines body for AddDevicesByDeviceKey for application/json ContentType.
type AddDevicesByDeviceKeyResponse ¶
func ParseAddDevicesByDeviceKeyResponse ¶
func ParseAddDevicesByDeviceKeyResponse(rsp *http.Response) (*AddDevicesByDeviceKeyResponse, error)
ParseAddDevicesByDeviceKeyResponse parses an HTTP response from a AddDevicesByDeviceKeyWithResponse call
func (AddDevicesByDeviceKeyResponse) ContentType ¶
func (r AddDevicesByDeviceKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddDevicesByDeviceKeyResponse) GetBody ¶
func (r AddDevicesByDeviceKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddDevicesByDeviceKeyResponse) Status ¶
func (r AddDevicesByDeviceKeyResponse) Status() string
Status returns HTTPResponse.Status
func (AddDevicesByDeviceKeyResponse) StatusCode ¶
func (r AddDevicesByDeviceKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddDevicesBySnJSONRequestBody ¶
type AddDevicesBySnJSONRequestBody = DeviceListAddBySnOpenApiVO
AddDevicesBySnJSONRequestBody defines body for AddDevicesBySn for application/json ContentType.
type AddDevicesBySnResponse ¶
func ParseAddDevicesBySnResponse ¶
func ParseAddDevicesBySnResponse(rsp *http.Response) (*AddDevicesBySnResponse, error)
ParseAddDevicesBySnResponse parses an HTTP response from a AddDevicesBySnWithResponse call
func (AddDevicesBySnResponse) ContentType ¶
func (r AddDevicesBySnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddDevicesBySnResponse) GetBody ¶
func (r AddDevicesBySnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddDevicesBySnResponse) Status ¶
func (r AddDevicesBySnResponse) Status() string
Status returns HTTPResponse.Status
func (AddDevicesBySnResponse) StatusCode ¶
func (r AddDevicesBySnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddDevicesBySnWithMultiSiteJSONRequestBody ¶
type AddDevicesBySnWithMultiSiteJSONRequestBody = DeviceListAddMultiSiteBySnOpenApiVO
AddDevicesBySnWithMultiSiteJSONRequestBody defines body for AddDevicesBySnWithMultiSite for application/json ContentType.
type AddDevicesBySnWithMultiSiteResponse ¶
func ParseAddDevicesBySnWithMultiSiteResponse ¶
func ParseAddDevicesBySnWithMultiSiteResponse(rsp *http.Response) (*AddDevicesBySnWithMultiSiteResponse, error)
ParseAddDevicesBySnWithMultiSiteResponse parses an HTTP response from a AddDevicesBySnWithMultiSiteWithResponse call
func (AddDevicesBySnWithMultiSiteResponse) ContentType ¶
func (r AddDevicesBySnWithMultiSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddDevicesBySnWithMultiSiteResponse) GetBody ¶
func (r AddDevicesBySnWithMultiSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddDevicesBySnWithMultiSiteResponse) Status ¶
func (r AddDevicesBySnWithMultiSiteResponse) Status() string
Status returns HTTPResponse.Status
func (AddDevicesBySnWithMultiSiteResponse) StatusCode ¶
func (r AddDevicesBySnWithMultiSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddDevicesForMspJSONRequestBody ¶
type AddDevicesForMspJSONRequestBody = MspAddDeviceListOpenApiVO
AddDevicesForMspJSONRequestBody defines body for AddDevicesForMsp for application/json ContentType.
type AddDevicesForMspResponse ¶
func ParseAddDevicesForMspResponse ¶
func ParseAddDevicesForMspResponse(rsp *http.Response) (*AddDevicesForMspResponse, error)
ParseAddDevicesForMspResponse parses an HTTP response from a AddDevicesForMspWithResponse call
func (AddDevicesForMspResponse) ContentType ¶
func (r AddDevicesForMspResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddDevicesForMspResponse) GetBody ¶
func (r AddDevicesForMspResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddDevicesForMspResponse) Status ¶
func (r AddDevicesForMspResponse) Status() string
Status returns HTTPResponse.Status
func (AddDevicesForMspResponse) StatusCode ¶
func (r AddDevicesForMspResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddDevicesJSONRequestBody
deprecated
type AddDevicesJSONRequestBody = DeviceListAddOpenApiVO
AddDevicesJSONRequestBody defines body for AddDevices for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type AddDevicesResponse ¶
func ParseAddDevicesResponse ¶
func ParseAddDevicesResponse(rsp *http.Response) (*AddDevicesResponse, error)
ParseAddDevicesResponse parses an HTTP response from a AddDevicesWithResponse call
func (AddDevicesResponse) ContentType ¶
func (r AddDevicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddDevicesResponse) GetBody ¶
func (r AddDevicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddDevicesResponse) Status ¶
func (r AddDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (AddDevicesResponse) StatusCode ¶
func (r AddDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddMonitorDeviceList ¶
type AddMonitorDeviceList struct {
// AddDeviceList The device to be added to the monitor list
AddDeviceList *[]MonitorDevice `json:"addDeviceList,omitempty"`
}
AddMonitorDeviceList defines model for AddMonitorDeviceList.
type AddMonitorDevicesJSONRequestBody ¶
type AddMonitorDevicesJSONRequestBody = AddMonitorDeviceList
AddMonitorDevicesJSONRequestBody defines body for AddMonitorDevices for application/json ContentType.
type AddMonitorDevicesResponse ¶
func ParseAddMonitorDevicesResponse ¶
func ParseAddMonitorDevicesResponse(rsp *http.Response) (*AddMonitorDevicesResponse, error)
ParseAddMonitorDevicesResponse parses an HTTP response from a AddMonitorDevicesWithResponse call
func (AddMonitorDevicesResponse) ContentType ¶
func (r AddMonitorDevicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddMonitorDevicesResponse) GetBody ¶
func (r AddMonitorDevicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddMonitorDevicesResponse) Status ¶
func (r AddMonitorDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (AddMonitorDevicesResponse) StatusCode ¶
func (r AddMonitorDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddPortScheduleTemplateJSONRequestBody ¶
type AddPortScheduleTemplateJSONRequestBody = PortOrPoeScheduleOpenApiVO
AddPortScheduleTemplateJSONRequestBody defines body for AddPortScheduleTemplate for application/json ContentType.
type AddPortScheduleTemplateResponse ¶
func ParseAddPortScheduleTemplateResponse ¶
func ParseAddPortScheduleTemplateResponse(rsp *http.Response) (*AddPortScheduleTemplateResponse, error)
ParseAddPortScheduleTemplateResponse parses an HTTP response from a AddPortScheduleTemplateWithResponse call
func (AddPortScheduleTemplateResponse) ContentType ¶
func (r AddPortScheduleTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddPortScheduleTemplateResponse) GetBody ¶
func (r AddPortScheduleTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddPortScheduleTemplateResponse) Status ¶
func (r AddPortScheduleTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (AddPortScheduleTemplateResponse) StatusCode ¶
func (r AddPortScheduleTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddTagJSONRequestBody ¶
type AddTagJSONRequestBody = TagOpenApiVO
AddTagJSONRequestBody defines body for AddTag for application/json ContentType.
type AddTagResponse ¶
func ParseAddTagResponse ¶
func ParseAddTagResponse(rsp *http.Response) (*AddTagResponse, error)
ParseAddTagResponse parses an HTTP response from a AddTagWithResponse call
func (AddTagResponse) ContentType ¶
func (r AddTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddTagResponse) GetBody ¶
func (r AddTagResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddTagResponse) Status ¶
func (r AddTagResponse) Status() string
Status returns HTTPResponse.Status
func (AddTagResponse) StatusCode ¶
func (r AddTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdoptDeviceJSONRequestBody ¶
type AdoptDeviceJSONRequestBody = AdoptDeviceRequest
AdoptDeviceJSONRequestBody defines body for AdoptDevice for application/json ContentType.
type AdoptDeviceRequest ¶
type AdoptDeviceRequest struct {
// Password Adopt device password. It should contain 1 to 64 characters.
Password *string `json:"password,omitempty"`
// Username Adopt device username. It should contain 1 to 64 characters.
Username *string `json:"username,omitempty"`
}
AdoptDeviceRequest defines model for AdoptDeviceRequest.
type AdoptDeviceResponse ¶
func ParseAdoptDeviceResponse ¶
func ParseAdoptDeviceResponse(rsp *http.Response) (*AdoptDeviceResponse, error)
ParseAdoptDeviceResponse parses an HTTP response from a AdoptDeviceWithResponse call
func (AdoptDeviceResponse) ContentType ¶
func (r AdoptDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AdoptDeviceResponse) GetBody ¶
func (r AdoptDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AdoptDeviceResponse) Status ¶
func (r AdoptDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (AdoptDeviceResponse) StatusCode ¶
func (r AdoptDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdoptResult ¶
type AdoptResult struct {
// AdoptErrorCode Adopt result should be a value as follows: 0: Adopt Device Success; -39002: Device adoption failed because the device does not respond to adopt commands; -39003: Failed to adopt the Device. The username or password is incorrect; -39004: Failed to adopt device; -39005: Failed to adopt this device because the device is not connected; -39329: Failed to link to the uplink AP.
AdoptErrorCode *int32 `json:"adoptErrorCode,omitempty"`
// AdoptFailedType Adopt failed type should be a value as follows: -1: No need print username or password;-2: Need print username or password.
AdoptFailedType *int32 `json:"adoptFailedType,omitempty"`
// DeviceMac Device MAC
DeviceMac *string `json:"deviceMac,omitempty"`
}
AdoptResult defines model for AdoptResult.
type AdoptTipOpenApiVO ¶
type AdoptTipOpenApiVO struct {
// AdoptDeviceNum Adopted device num
AdoptDeviceNum *int32 `json:"adoptDeviceNum,omitempty"`
// RecommendDeviceNum Recommend adopt device num
RecommendDeviceNum *int32 `json:"recommendDeviceNum,omitempty"`
}
AdoptTipOpenApiVO defines model for AdoptTipOpenApiVO.
type AdoptedDeviceGridVODeviceInfo ¶
type AdoptedDeviceGridVODeviceInfo struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]DeviceInfo `json:"data,omitempty"`
MlagData *[]OswMlagDataVODeviceInfo `json:"mlagData,omitempty"`
P2pGroupTotalRows *int64 `json:"p2pGroupTotalRows,omitempty"`
StackData *[]OswStackDataVODeviceInfo `json:"stackData,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
AdoptedDeviceGridVODeviceInfo defines model for AdoptedDeviceGridVODeviceInfo.
type AllTargetSites ¶
type AllTargetSites struct {
TargetSites *[]SiteBasicInfo `json:"targetSites,omitempty"`
}
AllTargetSites defines model for AllTargetSites.
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 ApMoveSiteOpenApiVO ¶
type ApMoveSiteOpenApiVO struct {
// ApMacs aps mac list
ApMacs *[]string `json:"apMacs,omitempty"`
// TargetSite Target site ID
TargetSite string `json:"targetSite"`
}
ApMoveSiteOpenApiVO defines model for ApMoveSiteOpenApiVO.
type AutoBackupOpenApiVO ¶
type AutoBackupOpenApiVO struct {
// AvailablePaths Available paths for backup schedule
AvailablePaths *[]string `json:"availablePaths,omitempty"`
// DataSheets Data to backup, values are as follows: knowClient, omadaLog, auditLog.
DataSheets *[]string `json:"dataSheets,omitempty"`
// Enable Whether enable backup schedule task
Enable bool `json:"enable"`
// FileServerConfig File server configuration.
FileServerConfig *FileServerOpenApiVO `json:"fileServerConfig,omitempty"`
// MaxNumberOfFile Max number of schedule backup files
MaxNumberOfFile *int32 `json:"maxNumberOfFile,omitempty"`
// Occurrence Backup schedule time occurrence
Occurrence *BaseScheduleTimeVO `json:"occurrence,omitempty"`
// RetainAuthRecord Whether retain auth record when backup.
RetainAuthRecord *bool `json:"retainAuthRecord,omitempty"`
// RetainFirmwareLog Whether retain firmware log when backup.
RetainFirmwareLog *bool `json:"retainFirmwareLog,omitempty"`
// RetainSetting Whether retain setting when backup.
RetainSetting *bool `json:"retainSetting,omitempty"`
// RetainUser Whether retain user when backup.
RetainUser *bool `json:"retainUser,omitempty"`
// Retention Retention setting for data, values are as follows: -1 retention settings only, 0 backup all data, only for software controller, 7 retention backup data for 7 days, 30 retention backup data for 30 days, 60 retention backup data for 60 days, 90 retention backup data for 90 days, 180 retention backup data for 180 days, 365 retention backup data for 365 days
Retention *int32 `json:"retention,omitempty"`
// SavingPath Saving path for backup schedule
SavingPath *string `json:"savingPath,omitempty"`
// StorageType Storage type, values are as follows: 0 for file server, 1 for cloud server(only for Cloud based controller), 2 for local disk, null for default path
StorageType *int32 `json:"storageType,omitempty"`
}
AutoBackupOpenApiVO defines model for AutoBackupOpenApiVO.
type AutoCheckUpgradeCreateInfo ¶
type AutoCheckUpgradeCreateInfo struct {
// Channel Channel should be a value as follows: 0: stable; 1: Release Candidate(RC); 2: Beta, and it should not be null
Channel int32 `json:"channel"`
// ModelTypeInfos List of model type selected by the user, and it should not be null
ModelTypeInfos []ModelTypeInfoOpenApiVO `json:"modelTypeInfos"`
// Occurrence Periodic execution time, and it should not be null
Occurrence UpgradeBaseScheduleTimeOpenApiVO `json:"occurrence"`
// SiteIds List of sites selected by the user, and it should not be null
SiteIds []string `json:"siteIds"`
}
AutoCheckUpgradeCreateInfo defines model for AutoCheckUpgradeCreateInfo.
type AutoCheckUpgradeInfo ¶
type AutoCheckUpgradeInfo struct {
// AutoCheckTime Next execution time
AutoCheckTime *string `json:"autoCheckTime,omitempty"`
// Channel Channel should be a value as follows: 0: stable; 1: Release Candidate(RC); 2: Beta
Channel *int32 `json:"channel,omitempty"`
// Id ID
Id *string `json:"id,omitempty"`
// ModelTypeInfos List of model type selected by the user
ModelTypeInfos *[]ModelTypeInfoOpenApiVO `json:"modelTypeInfos,omitempty"`
// Occurrence Periodic execution time, and it should not be null
Occurrence *UpgradeBaseScheduleTimeOpenApiVO `json:"occurrence,omitempty"`
// SiteNames The siteNames lists selected by the user
SiteNames *[]string `json:"siteNames,omitempty"`
// SiteNum Number of sites selected by the user
SiteNum *int32 `json:"siteNum,omitempty"`
}
AutoCheckUpgradeInfo defines model for AutoCheckUpgradeInfo.
type BackupFileListVO ¶
type BackupFileListVO struct {
// FileList File list of backup files.
FileList *[]BackupFileResultVO `json:"fileList,omitempty"`
}
BackupFileListVO defines model for BackupFileListVO.
type BackupFileResultVO ¶
type BackupFileResultVO struct {
// BackupTime Backup time(ms).
BackupTime *int64 `json:"backupTime,omitempty"`
// FileName File name of backup file. Parameter [fileName] should be 1 - 128 ASCII characters.
FileName *string `json:"fileName,omitempty"`
// Size Size of backup file(Byte).
Size *int64 `json:"size,omitempty"`
}
BackupFileResultVO File list of backup files.
type BackupFileServerJSONRequestBody ¶
type BackupFileServerJSONRequestBody = FileServerGlobalBackupVO
BackupFileServerJSONRequestBody defines body for BackupFileServer for application/json ContentType.
type BackupFileServerResponse ¶
func ParseBackupFileServerResponse ¶
func ParseBackupFileServerResponse(rsp *http.Response) (*BackupFileServerResponse, error)
ParseBackupFileServerResponse parses an HTTP response from a BackupFileServerWithResponse call
func (BackupFileServerResponse) ContentType ¶
func (r BackupFileServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BackupFileServerResponse) GetBody ¶
func (r BackupFileServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BackupFileServerResponse) Status ¶
func (r BackupFileServerResponse) Status() string
Status returns HTTPResponse.Status
func (BackupFileServerResponse) StatusCode ¶
func (r BackupFileServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BackupResultOpenApiVO ¶
type BackupResultOpenApiVO struct {
// Status Backup status should be a value as follows: 0: finished or init; 1: backup running.
Status *int32 `json:"status,omitempty"`
}
BackupResultOpenApiVO defines model for BackupResultOpenApiVO.
type BackupSelfServerJSONRequestBody ¶
type BackupSelfServerJSONRequestBody = SelfGlobalBackupVO
BackupSelfServerJSONRequestBody defines body for BackupSelfServer for application/json ContentType.
type BackupSelfServerResponse ¶
func ParseBackupSelfServerResponse ¶
func ParseBackupSelfServerResponse(rsp *http.Response) (*BackupSelfServerResponse, error)
ParseBackupSelfServerResponse parses an HTTP response from a BackupSelfServerWithResponse call
func (BackupSelfServerResponse) ContentType ¶
func (r BackupSelfServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BackupSelfServerResponse) GetBody ¶
func (r BackupSelfServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BackupSelfServerResponse) Status ¶
func (r BackupSelfServerResponse) Status() string
Status returns HTTPResponse.Status
func (BackupSelfServerResponse) StatusCode ¶
func (r BackupSelfServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BackupSitesFileServerJSONRequestBody ¶
type BackupSitesFileServerJSONRequestBody = FileServerSiteBackupVO
BackupSitesFileServerJSONRequestBody defines body for BackupSitesFileServer for application/json ContentType.
type BackupSitesFileServerResponse ¶
func ParseBackupSitesFileServerResponse ¶
func ParseBackupSitesFileServerResponse(rsp *http.Response) (*BackupSitesFileServerResponse, error)
ParseBackupSitesFileServerResponse parses an HTTP response from a BackupSitesFileServerWithResponse call
func (BackupSitesFileServerResponse) ContentType ¶
func (r BackupSitesFileServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BackupSitesFileServerResponse) GetBody ¶
func (r BackupSitesFileServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BackupSitesFileServerResponse) Status ¶
func (r BackupSitesFileServerResponse) Status() string
Status returns HTTPResponse.Status
func (BackupSitesFileServerResponse) StatusCode ¶
func (r BackupSitesFileServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BackupSitesSelfServerJSONRequestBody ¶
type BackupSitesSelfServerJSONRequestBody = BatchSiteBackupVO
BackupSitesSelfServerJSONRequestBody defines body for BackupSitesSelfServer for application/json ContentType.
type BackupSitesSelfServerResponse ¶
func ParseBackupSitesSelfServerResponse ¶
func ParseBackupSitesSelfServerResponse(rsp *http.Response) (*BackupSitesSelfServerResponse, error)
ParseBackupSitesSelfServerResponse parses an HTTP response from a BackupSitesSelfServerWithResponse call
func (BackupSitesSelfServerResponse) ContentType ¶
func (r BackupSitesSelfServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BackupSitesSelfServerResponse) GetBody ¶
func (r BackupSitesSelfServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BackupSitesSelfServerResponse) Status ¶
func (r BackupSitesSelfServerResponse) Status() string
Status returns HTTPResponse.Status
func (BackupSitesSelfServerResponse) StatusCode ¶
func (r BackupSitesSelfServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BaseScheduleTimeOpenApiVO ¶
type BaseScheduleTimeOpenApiVO struct {
// DayOfMonth It should be within the range of 1~31. Required when parameter [timingType] is 3.
DayOfMonth *int32 `json:"dayOfMonth,omitempty"`
// DayOfWeek It should be within the range of 0(Sunday)~6(Saturday). Required when parameter [timingType] is 2.
DayOfWeek *int32 `json:"dayOfWeek,omitempty"`
// Hour It should be within the range of 0~23
Hour int32 `json:"hour"`
// Minute It should be within the range of 0~59
Minute int32 `json:"minute"`
// MonthOfYear It should be within the range of 1~12. Required when parameter [timingType] is 4.
MonthOfYear *int32 `json:"monthOfYear,omitempty"`
// TimingType Time type should be a value as follows: 1:Daily; 2:Weekly; 3:Monthly
TimingType int32 `json:"timingType"`
}
BaseScheduleTimeOpenApiVO Execution occurrence setting. Required when type is 1.
type BaseScheduleTimeVO ¶
type BaseScheduleTimeVO struct {
// DayOfMonth Day of month when schedule execute, only for timingType: Monthly(3), value is between 1 to 31
DayOfMonth *int32 `json:"dayOfMonth,omitempty"`
// DayOfWeek Day of week when schedule execute, only for timingType: Weekly(2), value is between 0 to 6
DayOfWeek *int32 `json:"dayOfWeek,omitempty"`
// Hour Hour when schedule execute, value is between 0 to 23
Hour int32 `json:"hour"`
// Minute Minute when schedule execute, value is between 0 to 59
Minute int32 `json:"minute"`
// MonthOfYear Month of year when schedule execute, only for timingType: Yearly(4), value is between 1 to 12
MonthOfYear *int32 `json:"monthOfYear,omitempty"`
// TimingType Time type for schedule task, values are as follows: Daily(1), Weekly(2), Monthly(3), Yearly(4)
TimingType int32 `json:"timingType"`
}
BaseScheduleTimeVO Backup schedule time occurrence
type BatchAdoptDeviceRequest ¶
type BatchAdoptDeviceRequest struct {
// Macs MAC list of devices. E.g. AA-BB-CC-DD-11-22
Macs *[]string `json:"macs,omitempty"`
// Password Adopt device password. It should contain 1 to 64 characters.
Password *string `json:"password,omitempty"`
// Username Adopt device username. It should contain 1 to 64 characters.
Username *string `json:"username,omitempty"`
}
BatchAdoptDeviceRequest defines model for BatchAdoptDeviceRequest.
type BatchAdoptJSONRequestBody ¶
type BatchAdoptJSONRequestBody = BatchAdoptDeviceRequest
BatchAdoptJSONRequestBody defines body for BatchAdopt for application/json ContentType.
type BatchAdoptResponse ¶
func ParseBatchAdoptResponse ¶
func ParseBatchAdoptResponse(rsp *http.Response) (*BatchAdoptResponse, error)
ParseBatchAdoptResponse parses an HTTP response from a BatchAdoptWithResponse call
func (BatchAdoptResponse) ContentType ¶
func (r BatchAdoptResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BatchAdoptResponse) GetBody ¶
func (r BatchAdoptResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BatchAdoptResponse) Status ¶
func (r BatchAdoptResponse) Status() string
Status returns HTTPResponse.Status
func (BatchAdoptResponse) StatusCode ¶
func (r BatchAdoptResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BatchSiteBackupVO ¶
type BatchSiteBackupVO struct {
// SiteIds Site ID list to backup, at least one site, max 300 sites.
SiteIds []string `json:"siteIds"`
}
BatchSiteBackupVO defines model for BatchSiteBackupVO.
type BatchSiteFileServerRestoreVO ¶
type BatchSiteFileServerRestoreVO struct {
// ServerConfig File server configuration.
ServerConfig FileServerOpenApiVO `json:"serverConfig"`
// SiteInfos Sites to restore.
SiteInfos []FileServerSiteRestoreVO `json:"siteInfos"`
}
BatchSiteFileServerRestoreVO defines model for BatchSiteFileServerRestoreVO.
type BatchSiteSelfRestoreVO ¶
type BatchSiteSelfRestoreVO struct {
// SiteRestoreInfos Site restore info list to restore. Up to 300 entries are allowed for the site restore info list.
SiteRestoreInfos []SelfSiteRestoreVO `json:"siteRestoreInfos"`
}
BatchSiteSelfRestoreVO defines model for BatchSiteSelfRestoreVO.
type BatchTagRespOpenApiVO ¶
type BatchTagRespOpenApiVO struct {
// BatchTagResult batch set tag result
BatchTagResult *[]SetTagResultOpenApiVO `json:"batchTagResult,omitempty"`
}
BatchTagRespOpenApiVO defines model for BatchTagRespOpenApiVO.
type BriefDeviceInfoDetailForBatchAdoptOpenApiVO ¶
type BriefDeviceInfoDetailForBatchAdoptOpenApiVO struct {
// Compatible device compatible
Compatible *int32 `json:"compatible,omitempty"`
// DeviceSeriesType Device type: 0: advanced 1: pro
DeviceSeriesType *int32 `json:"deviceSeriesType,omitempty"`
// Es Whether it is an ES device or not
Es *bool `json:"es,omitempty"`
// HwVersion device hardware version
HwVersion *string `json:"hwVersion,omitempty"`
// InWhitelist device inWhitelist
InWhitelist *bool `json:"inWhitelist,omitempty"`
// LicenseStatus license status. 0 means unactive; 1 means unbind; 2 means expired; 3 means active; 4 means incompatible
LicenseStatus *int32 `json:"licenseStatus,omitempty"`
// Mac device mac
Mac *string `json:"mac,omitempty"`
// Model device model
Model *string `json:"model,omitempty"`
// ModelVersion device model version
ModelVersion *string `json:"modelVersion,omitempty"`
// Name device name
Name *string `json:"name,omitempty"`
// OmadacId the omadacId of device
OmadacId *string `json:"omadacId,omitempty"`
// Status device status subcategory: connected, pending, wireless pending
Status *int32 `json:"status,omitempty"`
// StatusCategory device status: connected, pending, and disconnected
StatusCategory *int32 `json:"statusCategory,omitempty"`
// Type device type
Type *string `json:"type,omitempty"`
// Wireless Whether the device is wireless
Wireless *bool `json:"wireless,omitempty"`
}
BriefDeviceInfoDetailForBatchAdoptOpenApiVO defines model for BriefDeviceInfoDetailForBatchAdoptOpenApiVO.
type CancelRollingUpgradeResponse ¶
func ParseCancelRollingUpgradeResponse ¶
func ParseCancelRollingUpgradeResponse(rsp *http.Response) (*CancelRollingUpgradeResponse, error)
ParseCancelRollingUpgradeResponse parses an HTTP response from a CancelRollingUpgradeWithResponse call
func (CancelRollingUpgradeResponse) ContentType ¶
func (r CancelRollingUpgradeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelRollingUpgradeResponse) GetBody ¶
func (r CancelRollingUpgradeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelRollingUpgradeResponse) Status ¶
func (r CancelRollingUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (CancelRollingUpgradeResponse) StatusCode ¶
func (r CancelRollingUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CheckFirmwareRes ¶
type CheckFirmwareRes struct {
// ApMacList List of the ap MAC address with firmware updates. E.g. AA-BB-CC-DD-11-22
ApMacList *[]string `json:"apMacList,omitempty"`
// Finished Whether the task is complete
Finished *bool `json:"finished,omitempty"`
// GatewayMacList List of gateway MAC address with firmware updates. E.g. AA-BB-CC-DD-11-22
GatewayMacList *[]string `json:"gatewayMacList,omitempty"`
// SwitchMacList List of switch MAC address with firmware updates. E.g. AA-BB-CC-DD-11-22
SwitchMacList *[]string `json:"switchMacList,omitempty"`
}
CheckFirmwareRes defines model for CheckFirmwareRes.
type CheckMacTypeOpenApiVO ¶
type CheckMacTypeOpenApiVO struct {
// Device Whether the mac is device
Device *bool `json:"device,omitempty"`
// DeviceType Device type:ap、switch、gateway、olt、IPC、NVR.
DeviceType *string `json:"deviceType,omitempty"`
}
CheckMacTypeOpenApiVO defines model for CheckMacTypeOpenApiVO.
type CheckMacTypeResponse ¶
func ParseCheckMacTypeResponse ¶
func ParseCheckMacTypeResponse(rsp *http.Response) (*CheckMacTypeResponse, error)
ParseCheckMacTypeResponse parses an HTTP response from a CheckMacTypeWithResponse call
func (CheckMacTypeResponse) ContentType ¶
func (r CheckMacTypeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckMacTypeResponse) GetBody ¶
func (r CheckMacTypeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckMacTypeResponse) Status ¶
func (r CheckMacTypeResponse) Status() string
Status returns HTTPResponse.Status
func (CheckMacTypeResponse) StatusCode ¶
func (r CheckMacTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CheckReplaceRecordJSONRequestBody ¶
type CheckReplaceRecordJSONRequestBody = CheckReplaceVO
CheckReplaceRecordJSONRequestBody defines body for CheckReplaceRecord for application/json ContentType.
type CheckReplaceRecordResponse ¶
func ParseCheckReplaceRecordResponse ¶
func ParseCheckReplaceRecordResponse(rsp *http.Response) (*CheckReplaceRecordResponse, error)
ParseCheckReplaceRecordResponse parses an HTTP response from a CheckReplaceRecordWithResponse call
func (CheckReplaceRecordResponse) ContentType ¶
func (r CheckReplaceRecordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckReplaceRecordResponse) GetBody ¶
func (r CheckReplaceRecordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckReplaceRecordResponse) Status ¶
func (r CheckReplaceRecordResponse) Status() string
Status returns HTTPResponse.Status
func (CheckReplaceRecordResponse) StatusCode ¶
func (r CheckReplaceRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CheckReplaceVO ¶
type CheckReplaceVO struct {
// DeviceKey Device Key.
DeviceKey string `json:"deviceKey"`
}
CheckReplaceVO defines model for CheckReplaceVO.
type CheckUploadUpgradeFirmwareLimitResponse ¶
func ParseCheckUploadUpgradeFirmwareLimitResponse ¶
func ParseCheckUploadUpgradeFirmwareLimitResponse(rsp *http.Response) (*CheckUploadUpgradeFirmwareLimitResponse, error)
ParseCheckUploadUpgradeFirmwareLimitResponse parses an HTTP response from a CheckUploadUpgradeFirmwareLimitWithResponse call
func (CheckUploadUpgradeFirmwareLimitResponse) ContentType ¶
func (r CheckUploadUpgradeFirmwareLimitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckUploadUpgradeFirmwareLimitResponse) GetBody ¶
func (r CheckUploadUpgradeFirmwareLimitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckUploadUpgradeFirmwareLimitResponse) Status ¶
func (r CheckUploadUpgradeFirmwareLimitResponse) Status() string
Status returns HTTPResponse.Status
func (CheckUploadUpgradeFirmwareLimitResponse) StatusCode ¶
func (r CheckUploadUpgradeFirmwareLimitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) ActiveDevice ¶
func (c *Client) ActiveDevice(ctx context.Context, omadacId string, siteId string, body ActiveDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ActiveDevice Batch active devices
Batch active devices.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/active (the `ActiveDevice` operationId).
func (*Client) ActiveDeviceBySn ¶
func (c *Client) ActiveDeviceBySn(ctx context.Context, omadacId string, siteId string, body ActiveDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ActiveDeviceBySn Batch active devices by SN
Batch active devices by SN.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-active (the `ActiveDeviceBySn` operationId).
func (*Client) ActiveDeviceBySnWithBody ¶
func (c *Client) ActiveDeviceBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ActiveDeviceBySnWithBody Batch active devices by SN
Batch active devices by SN.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-active (the `ActiveDeviceBySn` operationId).
func (*Client) ActiveDeviceWithBody ¶
func (c *Client) ActiveDeviceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ActiveDeviceWithBody Batch active devices
Batch active devices.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/active (the `ActiveDevice` operationId).
func (*Client) ActiveDeviceWithMultiSite ¶
func (c *Client) ActiveDeviceWithMultiSite(ctx context.Context, omadacId string, body ActiveDeviceWithMultiSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ActiveDeviceWithMultiSite Batch active devices with multi site
Batch active devices with multi site.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/multi-devices/active (the `ActiveDeviceWithMultiSite` operationId).
func (*Client) ActiveDeviceWithMultiSiteWithBody ¶
func (c *Client) ActiveDeviceWithMultiSiteWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ActiveDeviceWithMultiSiteWithBody Batch active devices with multi site
Batch active devices with multi site.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/multi-devices/active (the `ActiveDeviceWithMultiSite` operationId).
func (*Client) AddDevices ¶
func (c *Client) AddDevices(ctx context.Context, omadacId string, siteId string, body AddDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddDevices Batch add devices
Batch add devices.This interface has been deprecated. Please use the following interface instead: Batch add devices by SN
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/multi-add (the `AddDevices` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) AddDevicesByDeviceKey ¶
func (c *Client) AddDevicesByDeviceKey(ctx context.Context, omadacId string, siteId string, body AddDevicesByDeviceKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddDevicesByDeviceKey Batch add devices by DEVICE KEY.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/devicekey-add (the `AddDevicesByDeviceKey` operationId).
func (*Client) AddDevicesByDeviceKeyWithBody ¶
func (c *Client) AddDevicesByDeviceKeyWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddDevicesByDeviceKeyWithBody Batch add devices by DEVICE KEY.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/devicekey-add (the `AddDevicesByDeviceKey` operationId).
func (*Client) AddDevicesBySn ¶
func (c *Client) AddDevicesBySn(ctx context.Context, omadacId string, siteId string, body AddDevicesBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddDevicesBySn Batch add devices by SN
Batch add devices by SN.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-add (the `AddDevicesBySn` operationId).
func (*Client) AddDevicesBySnWithBody ¶
func (c *Client) AddDevicesBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddDevicesBySnWithBody Batch add devices by SN
Batch add devices by SN.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-add (the `AddDevicesBySn` operationId).
func (*Client) AddDevicesBySnWithMultiSite ¶
func (c *Client) AddDevicesBySnWithMultiSite(ctx context.Context, omadacId string, body AddDevicesBySnWithMultiSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddDevicesBySnWithMultiSite Batch add devices by SN with multi site
Batch add devices by SN with multi site.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/multi-devices/sn-add (the `AddDevicesBySnWithMultiSite` operationId).
func (*Client) AddDevicesBySnWithMultiSiteWithBody ¶
func (c *Client) AddDevicesBySnWithMultiSiteWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddDevicesBySnWithMultiSiteWithBody Batch add devices by SN with multi site
Batch add devices by SN with multi site.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/multi-devices/sn-add (the `AddDevicesBySnWithMultiSite` operationId).
func (*Client) AddDevicesForMsp ¶
func (c *Client) AddDevicesForMsp(ctx context.Context, mspId string, customerId string, siteId string, body AddDevicesForMspJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddDevicesForMsp Batch add devices in MSP view
Batch add devices in MSP view.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/multi-add (the `AddDevicesForMsp` operationId).
func (*Client) AddDevicesForMspWithBody ¶
func (c *Client) AddDevicesForMspWithBody(ctx context.Context, mspId string, customerId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddDevicesForMspWithBody Batch add devices in MSP view
Batch add devices in MSP view.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/multi-add (the `AddDevicesForMsp` operationId).
func (*Client) AddDevicesWithBody ¶
func (c *Client) AddDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddDevicesWithBody Batch add devices
Batch add devices.This interface has been deprecated. Please use the following interface instead: Batch add devices by SN
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/multi-add (the `AddDevices` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) AddMonitorDevices ¶
func (c *Client) AddMonitorDevices(ctx context.Context, omadacId string, siteId string, body AddMonitorDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddMonitorDevices Add device into intelli recover device list
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/add (the `AddMonitorDevices` operationId).
func (*Client) AddMonitorDevicesWithBody ¶
func (c *Client) AddMonitorDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddMonitorDevicesWithBody Add device into intelli recover device list
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/add (the `AddMonitorDevices` operationId).
func (*Client) AddPortScheduleTemplate ¶
func (c *Client) AddPortScheduleTemplate(ctx context.Context, omadacId string, siteTemplateId string, body AddPortScheduleTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddPortScheduleTemplate Create a new Port Schedule Template
Create a new Port Schedule Template with the given params.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules (the `AddPortScheduleTemplate` operationId).
func (*Client) AddPortScheduleTemplateWithBody ¶
func (c *Client) AddPortScheduleTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddPortScheduleTemplateWithBody Create a new Port Schedule Template
Create a new Port Schedule Template with the given params.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules (the `AddPortScheduleTemplate` operationId).
func (*Client) AddTag ¶
func (c *Client) AddTag(ctx context.Context, omadacId string, siteId string, body AddTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddTag Create new tag
Create new tag.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `AddTag` operationId).
func (*Client) AddTagWithBody ¶
func (c *Client) AddTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddTagWithBody Create new tag
Create new tag.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `AddTag` operationId).
func (*Client) AdoptDevice ¶
func (c *Client) AdoptDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, body AdoptDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AdoptDevice Start adopt device
Start adopt device.This interface does not return the actual adoptive result, you need to use the interface:Get device adopt result to obtain the adoptive result
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/start-adopt (the `AdoptDevice` operationId).
func (*Client) AdoptDeviceWithBody ¶
func (c *Client) AdoptDeviceWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AdoptDeviceWithBody Start adopt device
Start adopt device.This interface does not return the actual adoptive result, you need to use the interface:Get device adopt result to obtain the adoptive result
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/start-adopt (the `AdoptDevice` operationId).
func (*Client) BackupFileServer ¶
func (c *Client) BackupFileServer(ctx context.Context, omadacId string, body BackupFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BackupFileServer Backup controller config to file server
Backup controller config to file server.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/maintenance/backup/file-server (the `BackupFileServer` operationId).
func (*Client) BackupFileServerWithBody ¶
func (c *Client) BackupFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BackupFileServerWithBody Backup controller config to file server
Backup controller config to file server.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/maintenance/backup/file-server (the `BackupFileServer` operationId).
func (*Client) BackupSelfServer ¶
func (c *Client) BackupSelfServer(ctx context.Context, omadacId string, body BackupSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BackupSelfServer Backup controller config to cloud server
Backup controller config to cloud server.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/maintenance/backup/self-server (the `BackupSelfServer` operationId).
func (*Client) BackupSelfServerWithBody ¶
func (c *Client) BackupSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BackupSelfServerWithBody Backup controller config to cloud server
Backup controller config to cloud server.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/maintenance/backup/self-server (the `BackupSelfServer` operationId).
func (*Client) BackupSitesFileServer ¶
func (c *Client) BackupSitesFileServer(ctx context.Context, omadacId string, body BackupSitesFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BackupSitesFileServer Backup multi sites config to file server
Backup multi sites config to file server. At most 300 sites can backup.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-backup/file-server (the `BackupSitesFileServer` operationId).
func (*Client) BackupSitesFileServerWithBody ¶
func (c *Client) BackupSitesFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BackupSitesFileServerWithBody Backup multi sites config to file server
Backup multi sites config to file server. At most 300 sites can backup.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-backup/file-server (the `BackupSitesFileServer` operationId).
func (*Client) BackupSitesSelfServer ¶
func (c *Client) BackupSitesSelfServer(ctx context.Context, omadacId string, body BackupSitesSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BackupSitesSelfServer Backup multi sites config to self server
Backup multi sites config to self server. At most 300 sites can backup.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-backup/self-server (the `BackupSitesSelfServer` operationId).
func (*Client) BackupSitesSelfServerWithBody ¶
func (c *Client) BackupSitesSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BackupSitesSelfServerWithBody Backup multi sites config to self server
Backup multi sites config to self server. At most 300 sites can backup.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-backup/self-server (the `BackupSitesSelfServer` operationId).
func (*Client) BatchAdopt ¶
func (c *Client) BatchAdopt(ctx context.Context, omadacId string, siteId string, body BatchAdoptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchAdopt batch adopt device
batch adopt device.This interface does not return the actual adoptive result,you need to use the interface:Get device adopt result to obtain the adoptive result
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/batch-adopt (the `BatchAdopt` operationId).
func (*Client) BatchAdoptWithBody ¶
func (c *Client) BatchAdoptWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchAdoptWithBody batch adopt device
batch adopt device.This interface does not return the actual adoptive result,you need to use the interface:Get device adopt result to obtain the adoptive result
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/batch-adopt (the `BatchAdopt` operationId).
func (*Client) CancelRollingUpgrade ¶
func (c *Client) CancelRollingUpgrade(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelRollingUpgrade End the rolling upgrade task
Cancel the rolling upgrade task in the site. But the devices which have completed the upgrade will not be rolled back to the old version
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/rolling-upgrade-tasks/{taskId} (the `CancelRollingUpgrade` operationId).
func (*Client) CheckMacType ¶
func (c *Client) CheckMacType(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckMacType Check the device type by mac.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/check-mac-type (the `CheckMacType` operationId).
func (*Client) CheckReplaceRecord ¶
func (c *Client) CheckReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, body CheckReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckReplaceRecord Check replace record
Check replace record.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device/check (the `CheckReplaceRecord` operationId).
func (*Client) CheckReplaceRecordWithBody ¶
func (c *Client) CheckReplaceRecordWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckReplaceRecordWithBody Check replace record
Check replace record.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device/check (the `CheckReplaceRecord` operationId).
func (*Client) CheckUploadUpgradeFirmwareLimit ¶
func (c *Client) CheckUploadUpgradeFirmwareLimit(ctx context.Context, omadacId string, firmwareSize string, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckUploadUpgradeFirmwareLimit Check the limit of the firmware pool
Corresponds with POST /openapi/v1/{omadacId}/upgrade/firmware-size/{firmwareSize} (the `CheckUploadUpgradeFirmwareLimit` operationId).
func (*Client) CopyDeviceConfiguration ¶
func (c *Client) CopyDeviceConfiguration(ctx context.Context, omadacId string, siteId string, body CopyDeviceConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CopyDeviceConfiguration Copy configuration
Copy the configuration of one device to another device of the same model. Only for switch and access point.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/copy (the `CopyDeviceConfiguration` operationId).
func (*Client) CopyDeviceConfigurationWithBody ¶
func (c *Client) CopyDeviceConfigurationWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CopyDeviceConfigurationWithBody Copy configuration
Copy the configuration of one device to another device of the same model. Only for switch and access point.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/copy (the `CopyDeviceConfiguration` operationId).
func (*Client) CreateAutoCheckUpgrade ¶
func (c *Client) CreateAutoCheckUpgrade(ctx context.Context, omadacId string, body CreateAutoCheckUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAutoCheckUpgrade Create autocheck upgrade plan
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/autoCheck (the `CreateAutoCheckUpgrade` operationId).
func (*Client) CreateAutoCheckUpgradeWithBody ¶
func (c *Client) CreateAutoCheckUpgradeWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAutoCheckUpgradeWithBody Create autocheck upgrade plan
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/autoCheck (the `CreateAutoCheckUpgrade` operationId).
func (*Client) CreateFailedDeviceModelPlan ¶
func (c *Client) CreateFailedDeviceModelPlan(ctx context.Context, omadacId string, upgradeLogId string, body CreateFailedDeviceModelPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFailedDeviceModelPlan Create Upgrade Plan for Failed Device
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-model-plan (the `CreateFailedDeviceModelPlan` operationId).
func (*Client) CreateFailedDeviceModelPlanWithBody ¶
func (c *Client) CreateFailedDeviceModelPlanWithBody(ctx context.Context, omadacId string, upgradeLogId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFailedDeviceModelPlanWithBody Create Upgrade Plan for Failed Device
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-model-plan (the `CreateFailedDeviceModelPlan` operationId).
func (*Client) CreateFirmwareUpgradePlan ¶
func (c *Client) CreateFirmwareUpgradePlan(ctx context.Context, omadacId string, firmwareId string, body CreateFirmwareUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFirmwareUpgradePlan Create firmware upgrade plan based on manually uploaded firmware
Create an upgrade plan based on manually uploaded firmware.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/firmwares/{firmwareId}/upgrade/plan (the `CreateFirmwareUpgradePlan` operationId).
func (*Client) CreateFirmwareUpgradePlanWithBody ¶
func (c *Client) CreateFirmwareUpgradePlanWithBody(ctx context.Context, omadacId string, firmwareId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFirmwareUpgradePlanWithBody Create firmware upgrade plan based on manually uploaded firmware
Create an upgrade plan based on manually uploaded firmware.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/firmwares/{firmwareId}/upgrade/plan (the `CreateFirmwareUpgradePlan` operationId).
func (*Client) CreatePoeSchedule ¶
func (c *Client) CreatePoeSchedule(ctx context.Context, omadacId string, siteId string, body CreatePoeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePoeSchedule Create new PoE Schedule
Create new Poe Schedule.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules (the `CreatePoeSchedule` operationId).
func (*Client) CreatePoeScheduleWithBody ¶
func (c *Client) CreatePoeScheduleWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePoeScheduleWithBody Create new PoE Schedule
Create new Poe Schedule.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules (the `CreatePoeSchedule` operationId).
func (*Client) CreatePortSchedule ¶
func (c *Client) CreatePortSchedule(ctx context.Context, omadacId string, siteId string, body CreatePortScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePortSchedule Create new Port Schedule
Create new Port Schedule.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/port-schedules (the `CreatePortSchedule` operationId).
func (*Client) CreatePortScheduleWithBody ¶
func (c *Client) CreatePortScheduleWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePortScheduleWithBody Create new Port Schedule
Create new Port Schedule.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/port-schedules (the `CreatePortSchedule` operationId).
func (*Client) CreateRebootSchedule ¶
func (c *Client) CreateRebootSchedule(ctx context.Context, omadacId string, siteTemplateId string, body CreateRebootScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRebootSchedule Create new reboot schedule template
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules (the `CreateRebootSchedule` operationId).
func (*Client) CreateRebootSchedule1 ¶
func (c *Client) CreateRebootSchedule1(ctx context.Context, omadacId string, siteId string, body CreateRebootSchedule1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRebootSchedule1 Create new reboot schedule
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules (the `CreateRebootSchedule1` operationId).
func (*Client) CreateRebootSchedule1WithBody ¶
func (c *Client) CreateRebootSchedule1WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRebootSchedule1WithBody Create new reboot schedule
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules (the `CreateRebootSchedule1` operationId).
func (*Client) CreateRebootScheduleWithBody ¶
func (c *Client) CreateRebootScheduleWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRebootScheduleWithBody Create new reboot schedule template
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules (the `CreateRebootSchedule` operationId).
func (*Client) CreateReplaceRecord ¶
func (c *Client) CreateReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, body CreateReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateReplaceRecord Create replace record
Create replace record.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `CreateReplaceRecord` operationId).
func (*Client) CreateReplaceRecordWithBody ¶
func (c *Client) CreateReplaceRecordWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateReplaceRecordWithBody Create replace record
Create replace record.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `CreateReplaceRecord` operationId).
func (*Client) CreateRollback ¶
func (c *Client) CreateRollback(ctx context.Context, omadacId string, upgradeLogId string, body CreateRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRollback Create rollback plan
You can choose a specific time to create a rollback plan.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/rollback (the `CreateRollback` operationId).
func (*Client) CreateRollbackWithBody ¶
func (c *Client) CreateRollbackWithBody(ctx context.Context, omadacId string, upgradeLogId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRollbackWithBody Create rollback plan
You can choose a specific time to create a rollback plan.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/rollback (the `CreateRollback` operationId).
func (*Client) CreateUpgradePlan ¶
func (c *Client) CreateUpgradePlan(ctx context.Context, omadacId string, body CreateUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUpgradePlan Create firmware upgrade plan
Create firmware upgrade plan.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/overview/plans (the `CreateUpgradePlan` operationId).
func (*Client) CreateUpgradePlanWithBody ¶
func (c *Client) CreateUpgradePlanWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUpgradePlanWithBody Create firmware upgrade plan
Create firmware upgrade plan.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/overview/plans (the `CreateUpgradePlan` operationId).
func (*Client) CreateUpgradeSchedule ¶
func (c *Client) CreateUpgradeSchedule(ctx context.Context, omadacId string, siteId string, body CreateUpgradeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUpgradeSchedule Create new upgrade schedule
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules (the `CreateUpgradeSchedule` operationId).
func (*Client) CreateUpgradeScheduleWithBody ¶
func (c *Client) CreateUpgradeScheduleWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUpgradeScheduleWithBody Create new upgrade schedule
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules (the `CreateUpgradeSchedule` operationId).
func (*Client) DeleteAutoCheckUpgrade ¶
func (c *Client) DeleteAutoCheckUpgrade(ctx context.Context, omadacId string, autoCheckId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAutoCheckUpgrade Delete autoCheck upgrade plan
Corresponds with DELETE /openapi/v1/{omadacId}/autoCheck/{autoCheckId}/upgrade (the `DeleteAutoCheckUpgrade` operationId).
func (*Client) DeleteMonitorDevices ¶
func (c *Client) DeleteMonitorDevices(ctx context.Context, omadacId string, siteId string, body DeleteMonitorDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteMonitorDevices Delete the intelli recover device
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/delete (the `DeleteMonitorDevices` operationId).
func (*Client) DeleteMonitorDevicesWithBody ¶
func (c *Client) DeleteMonitorDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteMonitorDevicesWithBody Delete the intelli recover device
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/delete (the `DeleteMonitorDevices` operationId).
func (*Client) DeletePoeSchedule ¶
func (c *Client) DeletePoeSchedule(ctx context.Context, omadacId string, siteId string, poeScheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePoeSchedule Delete PoE Schedule
Delete Poe Schedule.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `DeletePoeSchedule` operationId).
func (*Client) DeletePortSchedule ¶
func (c *Client) DeletePortSchedule(ctx context.Context, omadacId string, siteId string, portScheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePortSchedule Delete Port Schedule
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `DeletePortSchedule` operationId).
func (*Client) DeleteRebootSchedule ¶
func (c *Client) DeleteRebootSchedule(ctx context.Context, omadacId string, siteTemplateId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteRebootSchedule Delete reboot schedule template
Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `DeleteRebootSchedule` operationId).
func (*Client) DeleteRebootSchedule1 ¶
func (c *Client) DeleteRebootSchedule1(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteRebootSchedule1 Delete reboot schedule
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `DeleteRebootSchedule1` operationId).
func (*Client) DeleteReplaceRecord ¶
func (c *Client) DeleteReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteReplaceRecord Delete replace record
Delete replace record.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `DeleteReplaceRecord` operationId).
func (*Client) DeleteTag ¶
func (c *Client) DeleteTag(ctx context.Context, omadacId string, siteId string, body DeleteTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteTag Delete an existing tag
Delete an existing tag.
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `DeleteTag` operationId).
func (*Client) DeleteTagWithBody ¶
func (c *Client) DeleteTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteTagWithBody Delete an existing tag
Delete an existing tag.
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `DeleteTag` operationId).
func (*Client) DeleteUpgradeFirmware ¶
func (c *Client) DeleteUpgradeFirmware(ctx context.Context, omadacId string, firmwareId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteUpgradeFirmware Delete upgrade firmware
Delete the manually uploaded firmware.
Corresponds with DELETE /openapi/v1/{omadacId}/firmwares/{firmwareId}/upgrade (the `DeleteUpgradeFirmware` operationId).
func (*Client) DeleteUpgradePlan ¶
func (c *Client) DeleteUpgradePlan(ctx context.Context, omadacId string, planId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteUpgradePlan Delete firmware upgrade plan
Delete firmware upgrade plan.
Corresponds with DELETE /openapi/v1/{omadacId}/plans/{planId}/upgrade/overview (the `DeleteUpgradePlan` operationId).
func (*Client) DeleteUpgradeSchedule ¶
func (c *Client) DeleteUpgradeSchedule(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteUpgradeSchedule Delete upgrade schedule
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `DeleteUpgradeSchedule` operationId).
func (*Client) DownloadDeviceInfo ¶
func (c *Client) DownloadDeviceInfo(ctx context.Context, omadacId string, siteId string, deviceMac string, pType string, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadDeviceInfo Download device information.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/{deviceMac}/downloadDeviceInfo/{type} (the `DownloadDeviceInfo` operationId).
func (*Client) EditAutoCheckUpgrade ¶
func (c *Client) EditAutoCheckUpgrade(ctx context.Context, omadacId string, autoCheckId string, body EditAutoCheckUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EditAutoCheckUpgrade Edit autoCheck upgrade plan
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/autoCheck/{autoCheckId}/upgrade (the `EditAutoCheckUpgrade` operationId).
func (*Client) EditAutoCheckUpgradeWithBody ¶
func (c *Client) EditAutoCheckUpgradeWithBody(ctx context.Context, omadacId string, autoCheckId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditAutoCheckUpgradeWithBody Edit autoCheck upgrade plan
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/autoCheck/{autoCheckId}/upgrade (the `EditAutoCheckUpgrade` operationId).
func (*Client) EditFirmwareUpgrade ¶
func (c *Client) EditFirmwareUpgrade(ctx context.Context, omadacId string, firmwareId string, body EditFirmwareUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EditFirmwareUpgrade Edit the uploaded firmware
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/firmwares/{firmwareId} (the `EditFirmwareUpgrade` operationId).
func (*Client) EditFirmwareUpgradeWithBody ¶
func (c *Client) EditFirmwareUpgradeWithBody(ctx context.Context, omadacId string, firmwareId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditFirmwareUpgradeWithBody Edit the uploaded firmware
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/firmwares/{firmwareId} (the `EditFirmwareUpgrade` operationId).
func (*Client) EditUpgradePlan ¶
func (c *Client) EditUpgradePlan(ctx context.Context, omadacId string, planId string, body EditUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EditUpgradePlan Edit firmware upgrade plan
Edit firmware upgrade plan.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/plans/{planId}/upgrade/overview (the `EditUpgradePlan` operationId).
func (*Client) EditUpgradePlanWithBody ¶
func (c *Client) EditUpgradePlanWithBody(ctx context.Context, omadacId string, planId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditUpgradePlanWithBody Edit firmware upgrade plan
Edit firmware upgrade plan.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/plans/{planId}/upgrade/overview (the `EditUpgradePlan` operationId).
func (*Client) ExistUnSupportRadSecDevice ¶
func (c *Client) ExistUnSupportRadSecDevice(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ExistUnSupportRadSecDevice Check for unsupported RadSec devices.
Get the result of detecting devices that do not support the RadSec feature.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/un-support-radsec (the `ExistUnSupportRadSecDevice` operationId).
func (*Client) ExportAddFailDevices ¶
func (c *Client) ExportAddFailDevices(ctx context.Context, omadacId string, operateId string, params *ExportAddFailDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportAddFailDevices Export the device file that failed to add in GLOBAL view.
Export the device file that failed to add in GLOBAL view. Format should be a number as follows. 0 means CSV , 1 means XLSX.
Corresponds with GET /openapi/v1/{omadacId}/devices/add/{operateId}/export (the `ExportAddFailDevices` operationId).
func (*Client) ExportGlobalDeviceList ¶
func (c *Client) ExportGlobalDeviceList(ctx context.Context, omadacId string, body ExportGlobalDeviceListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportGlobalDeviceList Export device list in GLOBAL view
Export device list in GLOBAL view.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/devices/export (the `ExportGlobalDeviceList` operationId).
func (*Client) ExportGlobalDeviceListWithBody ¶
func (c *Client) ExportGlobalDeviceListWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportGlobalDeviceListWithBody Export device list in GLOBAL view
Export device list in GLOBAL view.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/devices/export (the `ExportGlobalDeviceList` operationId).
func (*Client) ExportMspAddFailDevices ¶
func (c *Client) ExportMspAddFailDevices(ctx context.Context, mspId string, customerId string, operateId string, params *ExportMspAddFailDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportMspAddFailDevices Export the device file that failed to add in MSP view.
Export the device file that failed to add in MSP view. Format should be a value as follows. 0 means CSV , 1 means XLSX.
Corresponds with GET /openapi/v1/msp/{mspId}/customers/{customerId}/devices/add/{operateId}/export (the `ExportMspAddFailDevices` operationId).
func (*Client) ExportPreConfigDevices ¶
func (c *Client) ExportPreConfigDevices(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportPreConfigDevices Export preconfigured devices of site.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/migrate/exportPreDevice (the `ExportPreConfigDevices` operationId).
func (*Client) ExportPreConfigDevicesGlobal ¶
func (c *Client) ExportPreConfigDevicesGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportPreConfigDevicesGlobal Export preconfigured devices in GLOBAL view.
Corresponds with POST /openapi/v1/{omadacId}/migrate/exportPreDevice (the `ExportPreConfigDevicesGlobal` operationId).
func (*Client) ExportSiteDeviceList ¶
func (c *Client) ExportSiteDeviceList(ctx context.Context, omadacId string, siteId string, body ExportSiteDeviceListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportSiteDeviceList Export device list of site
Export device list of site.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/export (the `ExportSiteDeviceList` operationId).
func (*Client) ExportSiteDeviceListWithBody ¶
func (c *Client) ExportSiteDeviceListWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportSiteDeviceListWithBody Export device list of site
Export device list of site.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/export (the `ExportSiteDeviceList` operationId).
func (*Client) ForceProvisionDevice ¶
func (c *Client) ForceProvisionDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
ForceProvisionDevice Force provision device
Force provision device.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/force-provision (the `ForceProvisionDevice` operationId).
func (*Client) ForgetDevice ¶
func (c *Client) ForgetDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
ForgetDevice Forget device
Forget device.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/forget (the `ForgetDevice` operationId).
func (*Client) ForgetDeviceForMsp ¶
func (c *Client) ForgetDeviceForMsp(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
ForgetDeviceForMsp Forget one device in MSP view.
Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/forget (the `ForgetDeviceForMsp` operationId).
func (*Client) GetAddDevicesStatus ¶
func (c *Client) GetAddDevicesStatus(ctx context.Context, omadacId string, siteId string, operateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAddDevicesStatus Batch get added device status
Batch get added device status.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/add/{operateId}/status (the `GetAddDevicesStatus` operationId).
func (*Client) GetAddDevicesStatusMultiSite ¶
func (c *Client) GetAddDevicesStatusMultiSite(ctx context.Context, omadacId string, operateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAddDevicesStatusMultiSite Batch get added device status with multi site
Batch get added device status with multi site.
Corresponds with GET /openapi/v1/{omadacId}/multi-devices/add/{operateId}/status (the `GetAddDevicesStatusMultiSite` operationId).
func (*Client) GetAdoptAbleDevicesForGlobalBatchAdopt ¶
func (c *Client) GetAdoptAbleDevicesForGlobalBatchAdopt(ctx context.Context, omadacId string, params *GetAdoptAbleDevicesForGlobalBatchAdoptParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAdoptAbleDevicesForGlobalBatchAdopt Batch get info of adopted device in global view.
Corresponds with GET /openapi/v1/{omadacId}/devices/batch/info (the `GetAdoptAbleDevicesForGlobalBatchAdopt` operationId).
func (*Client) GetAdoptAbleDevicesForMspBatchAdopt ¶
func (c *Client) GetAdoptAbleDevicesForMspBatchAdopt(ctx context.Context, mspId string, params *GetAdoptAbleDevicesForMspBatchAdoptParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAdoptAbleDevicesForMspBatchAdopt Batch get info of adopted device in MSP view.
Corresponds with GET /openapi/v1/msp/{mspId}/devices/batch/info (the `GetAdoptAbleDevicesForMspBatchAdopt` operationId).
func (*Client) GetAdoptTip ¶
func (c *Client) GetAdoptTip(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAdoptTip Get adopt tip
Corresponds with GET /openapi/v1/{omadacId}/adopt-tip (the `GetAdoptTip` operationId).
func (*Client) GetAllDeviceBySite ¶
func (c *Client) GetAllDeviceBySite(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAllDeviceBySite Get device list info.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/all (the `GetAllDeviceBySite` operationId).
func (*Client) GetAutoSelectDevices ¶
func (c *Client) GetAutoSelectDevices(ctx context.Context, omadacId string, siteId string, body GetAutoSelectDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAutoSelectDevices Get auto select devices in quick-config page.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/quick-action/network-wizard/auto-select-devices (the `GetAutoSelectDevices` operationId).
func (*Client) GetAutoSelectDevicesWithBody ¶
func (c *Client) GetAutoSelectDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAutoSelectDevicesWithBody Get auto select devices in quick-config page.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/quick-action/network-wizard/auto-select-devices (the `GetAutoSelectDevices` operationId).
func (*Client) GetBackupResult ¶
func (c *Client) GetBackupResult(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBackupResult Get controller backup result
Get controller backup result.
Corresponds with GET /openapi/v1/{omadacId}/maintenance/backup/result (the `GetBackupResult` operationId).
func (*Client) GetBackupScheduleTask ¶
func (c *Client) GetBackupScheduleTask(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBackupScheduleTask Get backup schedule task
Get backup schedule task.
Corresponds with GET /openapi/v1/{omadacId}/backupschedule/task (the `GetBackupScheduleTask` operationId).
func (*Client) GetCheckFirmwareTaskResult ¶
func (c *Client) GetCheckFirmwareTaskResult(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCheckFirmwareTaskResult Get the result of the given check latest firmware task
Get the result of the firmware update task, containing a list of devices with firmware updates ¶
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/all-devices/check-latest-firmware-tasks/{taskId} (the `GetCheckFirmwareTaskResult` operationId).
func (*Client) GetDeviceAccessMgmtSetting ¶
func (c *Client) GetDeviceAccessMgmtSetting(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeviceAccessMgmtSetting Get device access management setting
Get device access management setting.
Corresponds with GET /openapi/v1/{omadacId}/device-mgmt (the `GetDeviceAccessMgmtSetting` operationId).
func (*Client) GetDeviceAdoptResult ¶
func (c *Client) GetDeviceAdoptResult(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeviceAdoptResult Get device adopt result
Get device adopt result.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/adopt-result (the `GetDeviceAdoptResult` operationId).
func (*Client) GetDeviceIncidentCounts ¶
func (c *Client) GetDeviceIncidentCounts(ctx context.Context, omadacId string, siteId string, body GetDeviceIncidentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeviceIncidentCounts Get site device incident counts
Get incident counts for the specified devices in a site.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/incidents (the `GetDeviceIncidentCounts` operationId).
func (*Client) GetDeviceIncidentCountsWithBody ¶
func (c *Client) GetDeviceIncidentCountsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeviceIncidentCountsWithBody Get site device incident counts
Get incident counts for the specified devices in a site.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/incidents (the `GetDeviceIncidentCounts` operationId).
func (*Client) GetDeviceList ¶
func (c *Client) GetDeviceList(ctx context.Context, omadacId string, siteId string, params *GetDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeviceList Get site device list
Get site device list.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices (the `GetDeviceList` operationId).
func (*Client) GetDeviceRememberMe ¶
func (c *Client) GetDeviceRememberMe(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeviceRememberMe Get device remember Config
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/remember (the `GetDeviceRememberMe` operationId).
func (*Client) GetDeviceWhiteList ¶
func (c *Client) GetDeviceWhiteList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeviceWhiteList Get the whitelist list of devices.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/device-white-list (the `GetDeviceWhiteList` operationId).
func (*Client) GetEligibleDeviceList ¶
func (c *Client) GetEligibleDeviceList(ctx context.Context, omadacId string, siteId string, params *GetEligibleDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEligibleDeviceList Obtain the list of devices that can be monitored
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/eligible-device-grids (the `GetEligibleDeviceList` operationId).
func (*Client) GetEmailReminderSwitchStatus ¶
func (c *Client) GetEmailReminderSwitchStatus(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEmailReminderSwitchStatus Get Email Reminder Switch Status
You can get email reminder switch status.
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/mail/reminder (the `GetEmailReminderSwitchStatus` operationId).
func (*Client) GetFirmwareInfo ¶
func (c *Client) GetFirmwareInfo(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetFirmwareInfo Get the latest firmware info of the device
Get latest firmware info of the device, including the latest firmware version and release logs.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/latest-firmware-info (the `GetFirmwareInfo` operationId).
func (*Client) GetForgetProcess ¶
func (c *Client) GetForgetProcess(ctx context.Context, omadacId string, siteId string, forgetId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetForgetProcess Get batch forget process
Get process of the batch forget operation. The expire time of result is 300 seconds.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/forget/{forgetId}/status (the `GetForgetProcess` operationId).
func (*Client) GetGlobalDeviceIncidentCounts ¶
func (c *Client) GetGlobalDeviceIncidentCounts(ctx context.Context, omadacId string, body GetGlobalDeviceIncidentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGlobalDeviceIncidentCounts Get global device incident counts
Get incident counts for the specified devices globally.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/devices/incidents (the `GetGlobalDeviceIncidentCounts` operationId).
func (*Client) GetGlobalDeviceIncidentCountsWithBody ¶
func (c *Client) GetGlobalDeviceIncidentCountsWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGlobalDeviceIncidentCountsWithBody Get global device incident counts
Get incident counts for the specified devices globally.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/devices/incidents (the `GetGlobalDeviceIncidentCounts` operationId).
func (*Client) GetGlobalKnownDeviceList ¶
func (c *Client) GetGlobalKnownDeviceList(ctx context.Context, omadacId string, params *GetGlobalKnownDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGlobalKnownDeviceList Get global known device list
Get global known device list.
Corresponds with GET /openapi/v1/{omadacId}/devices/known-devices (the `GetGlobalKnownDeviceList` operationId).
func (*Client) GetGlobalUnknownDeviceList ¶
func (c *Client) GetGlobalUnknownDeviceList(ctx context.Context, omadacId string, params *GetGlobalUnknownDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGlobalUnknownDeviceList Get global unknown device list
Get global unknown device list.
Corresponds with GET /openapi/v1/{omadacId}/devices/unknown-devices (the `GetGlobalUnknownDeviceList` operationId).
func (*Client) GetGridAdoptedBridgeDevicesBySite ¶
func (c *Client) GetGridAdoptedBridgeDevicesBySite(ctx context.Context, omadacId string, siteId string, params *GetGridAdoptedBridgeDevicesBySiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridAdoptedBridgeDevicesBySite Get Bridge group grouped devices
Get Bridge group grouped devices.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/bridge-devices/adopted (the `GetGridAdoptedBridgeDevicesBySite` operationId).
func (*Client) GetGridAdoptedDevicesStatByGlobal ¶
func (c *Client) GetGridAdoptedDevicesStatByGlobal(ctx context.Context, omadacId string, params *GetGridAdoptedDevicesStatByGlobalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridAdoptedDevicesStatByGlobal Query the statistics for the list of global adopted devices.
Corresponds with GET /openapi/v1/{omadacId}/devices/stat (the `GetGridAdoptedDevicesStatByGlobal` operationId).
func (*Client) GetGridAutoCheckUpgrade ¶
func (c *Client) GetGridAutoCheckUpgrade(ctx context.Context, omadacId string, params *GetGridAutoCheckUpgradeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridAutoCheckUpgrade Get autocheck upgrade plan
Paging to get autocheck upgrade plan.
Corresponds with GET /openapi/v1/{omadacId}/upgrade/autoCheck (the `GetGridAutoCheckUpgrade` operationId).
func (*Client) GetGridFirmwareList ¶
func (c *Client) GetGridFirmwareList(ctx context.Context, omadacId string, params *GetGridFirmwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridFirmwareList Get the uploaded firmware list
Paging to get the uploaded firmware list.
Corresponds with GET /openapi/v1/{omadacId}/upgrade/firmwares (the `GetGridFirmwareList` operationId).
func (*Client) GetGridFirmwarePoolList ¶
func (c *Client) GetGridFirmwarePoolList(ctx context.Context, omadacId string, params *GetGridFirmwarePoolListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridFirmwarePoolList Get firmware pool list
Paging to get firmware pool list.
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/firmwares (the `GetGridFirmwarePoolList` operationId).
func (*Client) GetGridMonitorDevice ¶
func (c *Client) GetGridMonitorDevice(ctx context.Context, omadacId string, siteId string, params *GetGridMonitorDeviceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridMonitorDevice Get the intelli recover device list
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/grids (the `GetGridMonitorDevice` operationId).
func (*Client) GetGridPendingBridgeDevicesBySite ¶
func (c *Client) GetGridPendingBridgeDevicesBySite(ctx context.Context, omadacId string, siteId string, params *GetGridPendingBridgeDevicesBySiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridPendingBridgeDevicesBySite Get Bridge group ungrouped devices
Get Bridge group ungrouped devices.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/bridge-devices/pending (the `GetGridPendingBridgeDevicesBySite` operationId).
func (*Client) GetGridPendingDevicesBySite ¶
func (c *Client) GetGridPendingDevicesBySite(ctx context.Context, omadacId string, siteId string, params *GetGridPendingDevicesBySiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridPendingDevicesBySite Get adoptable device list of target site
Get adoptable device list of target site.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/devices/pending (the `GetGridPendingDevicesBySite` operationId).
func (*Client) GetGridPlanUpgradeModelList ¶
func (c *Client) GetGridPlanUpgradeModelList(ctx context.Context, omadacId string, params *GetGridPlanUpgradeModelListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridPlanUpgradeModelList Get the list of models
Get the list of models on the Controller upgrade plan page.
Corresponds with GET /openapi/v1/{omadacId}/upgrade/plan/models (the `GetGridPlanUpgradeModelList` operationId).
func (*Client) GetGridPlanUpgradeSiteList ¶
func (c *Client) GetGridPlanUpgradeSiteList(ctx context.Context, omadacId string, body GetGridPlanUpgradeSiteListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridPlanUpgradeSiteList Get the sites of the selected model
Paging to get the sites of the selected model.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/plan/sites (the `GetGridPlanUpgradeSiteList` operationId).
func (*Client) GetGridPlanUpgradeSiteListWithBody ¶
func (c *Client) GetGridPlanUpgradeSiteListWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridPlanUpgradeSiteListWithBody Get the sites of the selected model
Paging to get the sites of the selected model.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/plan/sites (the `GetGridPlanUpgradeSiteList` operationId).
func (*Client) GetGridUpgradeLogs ¶
func (c *Client) GetGridUpgradeLogs(ctx context.Context, omadacId string, params *GetGridUpgradeLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridUpgradeLogs Get firmware upgrade logs
Paging to get firmware upgrade logs.
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/logs (the `GetGridUpgradeLogs` operationId).
func (*Client) GetGridUpgradePlans ¶
func (c *Client) GetGridUpgradePlans(ctx context.Context, omadacId string, params *GetGridUpgradePlansParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridUpgradePlans Get firmware upgrade plans
Paging to get firmware upgrade plans.
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/plans (the `GetGridUpgradePlans` operationId).
func (*Client) GetIntelliRecoverSetting ¶
func (c *Client) GetIntelliRecoverSetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetIntelliRecoverSetting Get intelli recover setting
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/intelli-recover/auto-setting/config (the `GetIntelliRecoverSetting` operationId).
func (*Client) GetManuallyUpgradeRes ¶
func (c *Client) GetManuallyUpgradeRes(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetManuallyUpgradeRes Get the result of the given manually upgrade task
Get the result of the manually upgrade task. The results include whether the task is finished and how many devices have not completed the upgrade.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/manually-upgrade-tasks/{taskId} (the `GetManuallyUpgradeRes` operationId).
func (*Client) GetModelBySites ¶
func (c *Client) GetModelBySites(ctx context.Context, omadacId string, body GetModelBySitesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetModelBySites Get the model of the specified site
Get the model of the specified site. If no site is specified, it defaults to all authorized sites
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/models (the `GetModelBySites` operationId).
func (*Client) GetModelBySitesWithBody ¶
func (c *Client) GetModelBySitesWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetModelBySitesWithBody Get the model of the specified site
Get the model of the specified site. If no site is specified, it defaults to all authorized sites
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/models (the `GetModelBySites` operationId).
func (*Client) GetModelFirmwareReleaseNotes ¶
func (c *Client) GetModelFirmwareReleaseNotes(ctx context.Context, omadacId string, body GetModelFirmwareReleaseNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetModelFirmwareReleaseNotes Get release notes information
Get release notes information of a firmware series.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/overview/firmwares/release-note (the `GetModelFirmwareReleaseNotes` operationId).
func (*Client) GetModelFirmwareReleaseNotesWithBody ¶
func (c *Client) GetModelFirmwareReleaseNotesWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetModelFirmwareReleaseNotesWithBody Get release notes information
Get release notes information of a firmware series.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/overview/firmwares/release-note (the `GetModelFirmwareReleaseNotes` operationId).
func (*Client) GetMoveSiteProcess ¶
func (c *Client) GetMoveSiteProcess(ctx context.Context, omadacId string, siteId string, moveSiteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMoveSiteProcess Get batch move site process
Get process of the batch move site operation. The expire time of result is 300 seconds.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/move/{moveSiteId}/status (the `GetMoveSiteProcess` operationId).
func (*Client) GetMspAdoptTip ¶
func (c *Client) GetMspAdoptTip(ctx context.Context, mspId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMspAdoptTip MSP get adopt tip
Corresponds with GET /openapi/v1/msp/{mspId}/adopt-tip (the `GetMspAdoptTip` operationId).
func (*Client) GetOnlineTimeline ¶
func (c *Client) GetOnlineTimeline(ctx context.Context, omadacId string, siteId string, deviceMac string, params *GetOnlineTimelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOnlineTimeline Get device online timeline
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/timeline (the `GetOnlineTimeline` operationId).
func (*Client) GetOnlineUpgradeRes ¶
func (c *Client) GetOnlineUpgradeRes(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOnlineUpgradeRes Get online upgrade result
Get the result of the online upgrade.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/online-upgrade-result (the `GetOnlineUpgradeRes` operationId).
func (*Client) GetPlanUpgradeModelInfo ¶
func (c *Client) GetPlanUpgradeModelInfo(ctx context.Context, omadacId string, body GetPlanUpgradeModelInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPlanUpgradeModelInfo Get the upgradeable information of the selected model
Get the upgradeable information of the selected model.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/plan/firmware (the `GetPlanUpgradeModelInfo` operationId).
func (*Client) GetPlanUpgradeModelInfoWithBody ¶
func (c *Client) GetPlanUpgradeModelInfoWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPlanUpgradeModelInfoWithBody Get the upgradeable information of the selected model
Get the upgradeable information of the selected model.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/upgrade/plan/firmware (the `GetPlanUpgradeModelInfo` operationId).
func (*Client) GetPoePortsList ¶
func (c *Client) GetPoePortsList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPoePortsList Get PoE ports list
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/poe-ports (the `GetPoePortsList` operationId).
func (*Client) GetPoeScheduleList ¶
func (c *Client) GetPoeScheduleList(ctx context.Context, omadacId string, siteId string, params *GetPoeScheduleListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPoeScheduleList Get PoE schedule list
Get poe schedule list.(Pagination)
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules (the `GetPoeScheduleList` operationId).
func (*Client) GetPortScheduleList ¶
func (c *Client) GetPortScheduleList(ctx context.Context, omadacId string, siteId string, params *GetPortScheduleListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPortScheduleList Get port schedule list
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/port-schedules (the `GetPortScheduleList` operationId).
func (*Client) GetPortScheduleListTemplate ¶
func (c *Client) GetPortScheduleListTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPortScheduleListTemplate Get port Schedule list
Get port Schedule list with the given omadacId and siteTemplateId.
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules (the `GetPortScheduleListTemplate` operationId).
func (*Client) GetPortSchedulePorts ¶
func (c *Client) GetPortSchedulePorts(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPortSchedulePorts Get device ports list supporting port schedule
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/port-status-ports (the `GetPortSchedulePorts` operationId).
func (*Client) GetRebootScheduleList ¶
func (c *Client) GetRebootScheduleList(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRebootScheduleList Get reboot schedule template list
Get reboot schedule list template.
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules (the `GetRebootScheduleList` operationId).
func (*Client) GetRebootScheduleList1 ¶
func (c *Client) GetRebootScheduleList1(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRebootScheduleList1 Get reboot schedule list
Get reboot schedule list.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules (the `GetRebootScheduleList1` operationId).
func (*Client) GetRestoreResult ¶
func (c *Client) GetRestoreResult(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRestoreResult Get controller restore result
Get controller restore result.
Corresponds with GET /openapi/v1/{omadacId}/maintenance/restore/result (the `GetRestoreResult` operationId).
func (*Client) GetRollingUpgradeRes ¶
func (c *Client) GetRollingUpgradeRes(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRollingUpgradeRes Get the result of the given rolling upgrade task
Get the result of the rolling upgrade task. The results include whether the task is finished and how many devices have not completed the upgrade.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/rolling-upgrade-tasks/{taskId} (the `GetRollingUpgradeRes` operationId).
func (*Client) GetSelfServerFileList ¶
func (c *Client) GetSelfServerFileList(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSelfServerFileList Get controller backup file list in self server
Get controller backup file list in self server.
Corresponds with GET /openapi/v1/{omadacId}/maintenance/backup/files (the `GetSelfServerFileList` operationId).
func (*Client) GetSelfServerSiteFileList ¶
func (c *Client) GetSelfServerSiteFileList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSelfServerSiteFileList Get site backup file list in self server
Get site backup file list in self server.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/maintenance/backup/files (the `GetSelfServerSiteFileList` operationId).
func (*Client) GetSingleForgetProcess ¶
func (c *Client) GetSingleForgetProcess(ctx context.Context, omadacId string, siteId string, deviceMac string, forgetId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSingleForgetProcess Get forget process of device
Get forget process of one device from batch-forget. The expire time of result for each device is 300 seconds.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/forget/{forgetId}/status (the `GetSingleForgetProcess` operationId).
func (*Client) GetSingleMoveSiteProcess ¶
func (c *Client) GetSingleMoveSiteProcess(ctx context.Context, omadacId string, siteId string, deviceMac string, moveSiteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSingleMoveSiteProcess Get move site process of device
Get move site process of one device from batch-move-site. The expire time of result for each device is 300 seconds
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/move/{moveSiteId}/status (the `GetSingleMoveSiteProcess` operationId).
func (*Client) GetSiteBackupResult ¶
func (c *Client) GetSiteBackupResult(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSiteBackupResult Get site backup result
Get site backup result.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/backup/result (the `GetSiteBackupResult` operationId).
func (*Client) GetTags ¶
func (c *Client) GetTags(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTags Get tag list
Get tag list.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `GetTags` operationId).
func (*Client) GetTargetFirmwareAllSites ¶
func (c *Client) GetTargetFirmwareAllSites(ctx context.Context, omadacId string, firmwareId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTargetFirmwareAllSites Get all sites of target firmware
Corresponds with GET /openapi/v1/{omadacId}/upgrade/firmwares/{firmwareId}/target-sites (the `GetTargetFirmwareAllSites` operationId).
func (*Client) GetTryBetaChannel ¶
func (c *Client) GetTryBetaChannel(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTryBetaChannel Get try-beta Channel Info
You can get try-beta channel info.
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/try-beta/channel (the `GetTryBetaChannel` operationId).
func (*Client) GetTryBetaStatus ¶
func (c *Client) GetTryBetaStatus(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTryBetaStatus Get try-beta switch status
You can get try-beta switch status.
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/try-beta (the `GetTryBetaStatus` operationId).
func (*Client) GetUpgradeFailedDeviceFirmwareInfo ¶
func (c *Client) GetUpgradeFailedDeviceFirmwareInfo(ctx context.Context, omadacId string, upgradeLogId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUpgradeFailedDeviceFirmwareInfo Get firmware information about the failed device to be upgraded
Corresponds with GET /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-model-firmware (the `GetUpgradeFailedDeviceFirmwareInfo` operationId).
func (*Client) GetUpgradeFailedDeviceInfos ¶
func (c *Client) GetUpgradeFailedDeviceInfos(ctx context.Context, omadacId string, upgradeLogId string, params *GetUpgradeFailedDeviceInfosParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUpgradeFailedDeviceInfos Get the list of devices which upgrade failed
Get the list of devices which upgrade failed through upgrade logs.
Corresponds with GET /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-devices (the `GetUpgradeFailedDeviceInfos` operationId).
func (*Client) GetUpgradeScheduleList ¶
func (c *Client) GetUpgradeScheduleList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUpgradeScheduleList Get upgrade schedule list
Get upgrade schedule list.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules (the `GetUpgradeScheduleList` operationId).
func (*Client) GetUplinkDeviceInfo ¶
func (c *Client) GetUplinkDeviceInfo(ctx context.Context, omadacId string, siteId string, body GetUplinkDeviceInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUplinkDeviceInfo Query uplink information for specified device MAC addresses under the site.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/uplink-info (the `GetUplinkDeviceInfo` operationId).
func (*Client) GetUplinkDeviceInfoWithBody ¶
func (c *Client) GetUplinkDeviceInfoWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUplinkDeviceInfoWithBody Query uplink information for specified device MAC addresses under the site.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/uplink-info (the `GetUplinkDeviceInfo` operationId).
func (*Client) GetcriticalModelNum ¶
func (c *Client) GetcriticalModelNum(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetcriticalModelNum Get the number of critical models
You can get the number of critical models.
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/critical (the `GetcriticalModelNum` operationId).
func (*Client) LocateDevice ¶
func (c *Client) LocateDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, body LocateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LocateDevice Locate device
Locate device.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/locate (the `LocateDevice` operationId).
func (*Client) LocateDeviceWithBody ¶
func (c *Client) LocateDeviceWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LocateDeviceWithBody Locate device
Locate device.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/locate (the `LocateDevice` operationId).
func (*Client) LocatePorts ¶
func (c *Client) LocatePorts(ctx context.Context, omadacId string, siteId string, body LocatePortsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LocatePorts Locate multiple ports of multiple switches
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/locate/switch-ports (the `LocatePorts` operationId).
func (*Client) LocatePortsWithBody ¶
func (c *Client) LocatePortsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LocatePortsWithBody Locate multiple ports of multiple switches
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/locate/switch-ports (the `LocatePorts` operationId).
func (*Client) ManuallyUpgrade ¶
func (c *Client) ManuallyUpgrade(ctx context.Context, omadacId string, siteId string, body ManuallyUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ManuallyUpgrade Start manually upgrade
Manually upgrade the devices of the same model in the site. The firmware needs to be uploaded first. Note: Each site can only execute one multi-device upgrade task at a time, and there is a number limit of the tasks that can be executed simultaneously in the controller.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/start-manually-upgrade (the `ManuallyUpgrade` operationId).
func (*Client) ManuallyUpgradeWithBody ¶
func (c *Client) ManuallyUpgradeWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ManuallyUpgradeWithBody Start manually upgrade
Manually upgrade the devices of the same model in the site. The firmware needs to be uploaded first. Note: Each site can only execute one multi-device upgrade task at a time, and there is a number limit of the tasks that can be executed simultaneously in the controller.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/start-manually-upgrade (the `ManuallyUpgrade` operationId).
func (*Client) ModifyBackupScheduleTask ¶
func (c *Client) ModifyBackupScheduleTask(ctx context.Context, omadacId string, body ModifyBackupScheduleTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyBackupScheduleTask Modify backup schedule task
Modify backup schedule task.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/backupschedule/task (the `ModifyBackupScheduleTask` operationId).
func (*Client) ModifyBackupScheduleTaskWithBody ¶
func (c *Client) ModifyBackupScheduleTaskWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyBackupScheduleTaskWithBody Modify backup schedule task
Modify backup schedule task.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/backupschedule/task (the `ModifyBackupScheduleTask` operationId).
func (*Client) ModifyDeviceAccessMgmtSetting ¶
func (c *Client) ModifyDeviceAccessMgmtSetting(ctx context.Context, omadacId string, body ModifyDeviceAccessMgmtSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyDeviceAccessMgmtSetting Modify device access management setting
Modify device access management setting.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/device-mgmt (the `ModifyDeviceAccessMgmtSetting` operationId).
func (*Client) ModifyDeviceAccessMgmtSettingWithBody ¶
func (c *Client) ModifyDeviceAccessMgmtSettingWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyDeviceAccessMgmtSettingWithBody Modify device access management setting
Modify device access management setting.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/device-mgmt (the `ModifyDeviceAccessMgmtSetting` operationId).
func (*Client) ModifyDeviceRememberMe ¶
func (c *Client) ModifyDeviceRememberMe(ctx context.Context, omadacId string, siteId string, deviceMac string, body ModifyDeviceRememberMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyDeviceRememberMe Modify device remember Config
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/remember (the `ModifyDeviceRememberMe` operationId).
func (*Client) ModifyDeviceRememberMeWithBody ¶
func (c *Client) ModifyDeviceRememberMeWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyDeviceRememberMeWithBody Modify device remember Config
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/remember (the `ModifyDeviceRememberMe` operationId).
func (*Client) ModifyEmailReminderSwitchStatus ¶
func (c *Client) ModifyEmailReminderSwitchStatus(ctx context.Context, omadacId string, body ModifyEmailReminderSwitchStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyEmailReminderSwitchStatus Modify Email Reminder Switch Status
You can modify email reminder switch status.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/mail/reminder (the `ModifyEmailReminderSwitchStatus` operationId).
func (*Client) ModifyEmailReminderSwitchStatusWithBody ¶
func (c *Client) ModifyEmailReminderSwitchStatusWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyEmailReminderSwitchStatusWithBody Modify Email Reminder Switch Status
You can modify email reminder switch status.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/mail/reminder (the `ModifyEmailReminderSwitchStatus` operationId).
func (*Client) ModifyIntelliRecoverSetting ¶
func (c *Client) ModifyIntelliRecoverSetting(ctx context.Context, omadacId string, siteId string, body ModifyIntelliRecoverSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyIntelliRecoverSetting Modify intelli recover setting
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/intelli-recover/auto-setting/modify (the `ModifyIntelliRecoverSetting` operationId).
func (*Client) ModifyIntelliRecoverSettingWithBody ¶
func (c *Client) ModifyIntelliRecoverSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyIntelliRecoverSettingWithBody Modify intelli recover setting
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/intelli-recover/auto-setting/modify (the `ModifyIntelliRecoverSetting` operationId).
func (*Client) ModifyPoeSchedule ¶
func (c *Client) ModifyPoeSchedule(ctx context.Context, omadacId string, siteId string, poeScheduleId string, body ModifyPoeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyPoeSchedule Modify PoE Schedule
Modify Poe Schedule.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `ModifyPoeSchedule` operationId).
func (*Client) ModifyPoeScheduleWithBody ¶
func (c *Client) ModifyPoeScheduleWithBody(ctx context.Context, omadacId string, siteId string, poeScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyPoeScheduleWithBody Modify PoE Schedule
Modify Poe Schedule.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `ModifyPoeSchedule` operationId).
func (*Client) ModifyPortSchedule ¶
func (c *Client) ModifyPortSchedule(ctx context.Context, omadacId string, siteId string, portScheduleId string, body ModifyPortScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyPortSchedule Modify Port Schedule
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `ModifyPortSchedule` operationId).
func (*Client) ModifyPortScheduleTemplate ¶
func (c *Client) ModifyPortScheduleTemplate(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, body ModifyPortScheduleTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyPortScheduleTemplate Modify a Port Schedule Template
Modify a Port Schedule Template with the given params.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `ModifyPortScheduleTemplate` operationId).
func (*Client) ModifyPortScheduleTemplateWithBody ¶
func (c *Client) ModifyPortScheduleTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyPortScheduleTemplateWithBody Modify a Port Schedule Template
Modify a Port Schedule Template with the given params.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `ModifyPortScheduleTemplate` operationId).
func (*Client) ModifyPortScheduleWithBody ¶
func (c *Client) ModifyPortScheduleWithBody(ctx context.Context, omadacId string, siteId string, portScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyPortScheduleWithBody Modify Port Schedule
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `ModifyPortSchedule` operationId).
func (*Client) ModifyRebootSchedule ¶
func (c *Client) ModifyRebootSchedule(ctx context.Context, omadacId string, siteTemplateId string, id string, body ModifyRebootScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyRebootSchedule Modify reboot schedule template
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `ModifyRebootSchedule` operationId).
func (*Client) ModifyRebootSchedule1 ¶
func (c *Client) ModifyRebootSchedule1(ctx context.Context, omadacId string, siteId string, id string, body ModifyRebootSchedule1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyRebootSchedule1 Modify reboot schedule
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `ModifyRebootSchedule1` operationId).
func (*Client) ModifyRebootSchedule1WithBody ¶
func (c *Client) ModifyRebootSchedule1WithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyRebootSchedule1WithBody Modify reboot schedule
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `ModifyRebootSchedule1` operationId).
func (*Client) ModifyRebootScheduleWithBody ¶
func (c *Client) ModifyRebootScheduleWithBody(ctx context.Context, omadacId string, siteTemplateId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyRebootScheduleWithBody Modify reboot schedule template
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `ModifyRebootSchedule` operationId).
func (*Client) ModifyReplaceRecord ¶
func (c *Client) ModifyReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, body ModifyReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyReplaceRecord Modify replace record
Modify replace record.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `ModifyReplaceRecord` operationId).
func (*Client) ModifyReplaceRecordWithBody ¶
func (c *Client) ModifyReplaceRecordWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyReplaceRecordWithBody Modify replace record
Modify replace record.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `ModifyReplaceRecord` operationId).
func (*Client) ModifyTag ¶
func (c *Client) ModifyTag(ctx context.Context, omadacId string, siteId string, body ModifyTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyTag Modify an existing tag
Modify an existing tag.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `ModifyTag` operationId).
func (*Client) ModifyTagWithBody ¶
func (c *Client) ModifyTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyTagWithBody Modify an existing tag
Modify an existing tag.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `ModifyTag` operationId).
func (*Client) ModifyTryBetaChannel ¶
func (c *Client) ModifyTryBetaChannel(ctx context.Context, omadacId string, body ModifyTryBetaChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyTryBetaChannel Modify try-beta Channel Info
You can modify try-beta channel info.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/try-beta/channel (the `ModifyTryBetaChannel` operationId).
func (*Client) ModifyTryBetaChannelWithBody ¶
func (c *Client) ModifyTryBetaChannelWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyTryBetaChannelWithBody Modify try-beta Channel Info
You can modify try-beta channel info.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/try-beta/channel (the `ModifyTryBetaChannel` operationId).
func (*Client) ModifyTryBetaStatus ¶
func (c *Client) ModifyTryBetaStatus(ctx context.Context, omadacId string, body ModifyTryBetaStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyTryBetaStatus Modify try-beta switch status
You can modify the try-beta switch status.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/try-beta (the `ModifyTryBetaStatus` operationId).
func (*Client) ModifyTryBetaStatusWithBody ¶
func (c *Client) ModifyTryBetaStatusWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyTryBetaStatusWithBody Modify try-beta switch status
You can modify the try-beta switch status.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/try-beta (the `ModifyTryBetaStatus` operationId).
func (*Client) ModifyUpgradeSchedule ¶
func (c *Client) ModifyUpgradeSchedule(ctx context.Context, omadacId string, siteId string, id string, body ModifyUpgradeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyUpgradeSchedule Modify upgrade schedule
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `ModifyUpgradeSchedule` operationId).
func (*Client) ModifyUpgradeScheduleWithBody ¶
func (c *Client) ModifyUpgradeScheduleWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyUpgradeScheduleWithBody Modify upgrade schedule
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `ModifyUpgradeSchedule` operationId).
func (*Client) MoveSite ¶
func (c *Client) MoveSite(ctx context.Context, omadacId string, siteId string, deviceMac string, body MoveSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
MoveSite Move site
Move the device to another site. If you want to move a networked bridge AP, use the "batch move ap site" interface to move all APs in the bridge network at the same time.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/site-move (the `MoveSite` operationId).
func (*Client) MoveSiteForAps ¶
func (c *Client) MoveSiteForAps(ctx context.Context, omadacId string, siteId string, body MoveSiteForApsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
MoveSiteForAps Move aps to another site
Move aps to another site. If you want to move networked bridge APs, ensure all APs in the bridge network are in movable state and move them at the same time. This interface will not move non-AP devices.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/aps/site-move (the `MoveSiteForAps` operationId).
func (*Client) MoveSiteForApsWithBody ¶
func (c *Client) MoveSiteForApsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MoveSiteForApsWithBody Move aps to another site
Move aps to another site. If you want to move networked bridge APs, ensure all APs in the bridge network are in movable state and move them at the same time. This interface will not move non-AP devices.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/aps/site-move (the `MoveSiteForAps` operationId).
func (*Client) MoveSiteWithBody ¶
func (c *Client) MoveSiteWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MoveSiteWithBody Move site
Move the device to another site. If you want to move a networked bridge AP, use the "batch move ap site" interface to move all APs in the bridge network at the same time.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/site-move (the `MoveSite` operationId).
func (*Client) OnlineCheckUpgrade ¶
func (c *Client) OnlineCheckUpgrade(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
OnlineCheckUpgrade Start check latest firmware for all devices
Start a task to query the latest firmware of all devices in the cloud.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/all-devices/start-check-latest-firmware (the `OnlineCheckUpgrade` operationId).
func (*Client) OnlineRollingUpgrade ¶
func (c *Client) OnlineRollingUpgrade(ctx context.Context, omadacId string, siteId string, body OnlineRollingUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OnlineRollingUpgrade Start batch rolling upgrade
Batch online upgrade the devices in a certain order in the site. It is suggested to check firmware update before the operation, or the firmware might not be the latest
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/start-rolling-upgrade (the `OnlineRollingUpgrade` operationId).
func (*Client) OnlineRollingUpgradeByQuery ¶
func (c *Client) OnlineRollingUpgradeByQuery(ctx context.Context, omadacId string, siteId string, params *OnlineRollingUpgradeByQueryParams, body OnlineRollingUpgradeByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OnlineRollingUpgradeByQuery Start batch rolling upgrade By Query
Perform batch online upgrades of devices in a specific order within the site, and filter them using filter conditions. It is recommended to check the firmware update status before the operation, otherwise the firmware may not be the latest version
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/onlineRollingUpgrade (the `OnlineRollingUpgradeByQuery` operationId).
func (*Client) OnlineRollingUpgradeByQueryWithBody ¶
func (c *Client) OnlineRollingUpgradeByQueryWithBody(ctx context.Context, omadacId string, siteId string, params *OnlineRollingUpgradeByQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OnlineRollingUpgradeByQueryWithBody Start batch rolling upgrade By Query
Perform batch online upgrades of devices in a specific order within the site, and filter them using filter conditions. It is recommended to check the firmware update status before the operation, otherwise the firmware may not be the latest version
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/onlineRollingUpgrade (the `OnlineRollingUpgradeByQuery` operationId).
func (*Client) OnlineRollingUpgradeWithBody ¶
func (c *Client) OnlineRollingUpgradeWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OnlineRollingUpgradeWithBody Start batch rolling upgrade
Batch online upgrade the devices in a certain order in the site. It is suggested to check firmware update before the operation, or the firmware might not be the latest
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/start-rolling-upgrade (the `OnlineRollingUpgrade` operationId).
func (*Client) OnlineUpgrade ¶
func (c *Client) OnlineUpgrade(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
OnlineUpgrade Start online upgrade
Upgrade the device with the latest firmware in the cloud. It is suggested to check firmware update before the operation, or the firmware might not be the latest
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/start-online-upgrade (the `OnlineUpgrade` operationId).
func (*Client) RebootDevice ¶
func (c *Client) RebootDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
RebootDevice Reboot device
Reboot device.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/reboot (the `RebootDevice` operationId).
func (*Client) RebootDeviceUplinkPoe ¶
func (c *Client) RebootDeviceUplinkPoe(ctx context.Context, omadacId string, siteId string, body RebootDeviceUplinkPoeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RebootDeviceUplinkPoe Reboot the device uplinkDevice poe
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/reboot-uplink-poe (the `RebootDeviceUplinkPoe` operationId).
func (*Client) RebootDeviceUplinkPoeWithBody ¶
func (c *Client) RebootDeviceUplinkPoeWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RebootDeviceUplinkPoeWithBody Reboot the device uplinkDevice poe
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/reboot-uplink-poe (the `RebootDeviceUplinkPoe` operationId).
func (*Client) RemovePortScheduleTemplate ¶
func (c *Client) RemovePortScheduleTemplate(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RemovePortScheduleTemplate Delete Port Schedule Template
Delete Port Schedule Template with the given params.
Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `RemovePortScheduleTemplate` operationId).
func (*Client) RestoreFileServer ¶
func (c *Client) RestoreFileServer(ctx context.Context, omadacId string, body RestoreFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreFileServer Restore controller config from file server
Restore controller config from file server.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/maintenance/restore/file-server (the `RestoreFileServer` operationId).
func (*Client) RestoreFileServerWithBody ¶
func (c *Client) RestoreFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreFileServerWithBody Restore controller config from file server
Restore controller config from file server.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/maintenance/restore/file-server (the `RestoreFileServer` operationId).
func (*Client) RestoreSelfServer ¶
func (c *Client) RestoreSelfServer(ctx context.Context, omadacId string, body RestoreSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreSelfServer Restore controller config from cloud server
Restore controller config from cloud server.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/maintenance/restore/self-server (the `RestoreSelfServer` operationId).
func (*Client) RestoreSelfServerWithBody ¶
func (c *Client) RestoreSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreSelfServerWithBody Restore controller config from cloud server
Restore controller config from cloud server.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/maintenance/restore/self-server (the `RestoreSelfServer` operationId).
func (*Client) RestoreSitesFileServer ¶
func (c *Client) RestoreSitesFileServer(ctx context.Context, omadacId string, body RestoreSitesFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreSitesFileServer Restore multi sites config from file server
Restore multi sites config from file server. At most 300 sites can be restored.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-restore/file-server (the `RestoreSitesFileServer` operationId).
func (*Client) RestoreSitesFileServerWithBody ¶
func (c *Client) RestoreSitesFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreSitesFileServerWithBody Restore multi sites config from file server
Restore multi sites config from file server. At most 300 sites can be restored.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-restore/file-server (the `RestoreSitesFileServer` operationId).
func (*Client) RestoreSitesSelfServer ¶
func (c *Client) RestoreSitesSelfServer(ctx context.Context, omadacId string, body RestoreSitesSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreSitesSelfServer Restore multi sites config from self server
Restore multi sites config from self server. At most 300 sites can be restored.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-restore/self-server (the `RestoreSitesSelfServer` operationId).
func (*Client) RestoreSitesSelfServerWithBody ¶
func (c *Client) RestoreSitesSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreSitesSelfServerWithBody Restore multi sites config from self server
Restore multi sites config from self server. At most 300 sites can be restored.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-restore/self-server (the `RestoreSitesSelfServer` operationId).
func (*Client) RetryAddDevice ¶
func (c *Client) RetryAddDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, body RetryAddDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RetryAddDevice Retry add device
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDevice` operationId).
func (*Client) RetryAddDeviceByMsp ¶
func (c *Client) RetryAddDeviceByMsp(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, body RetryAddDeviceByMspJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RetryAddDeviceByMsp retry add device in msp view
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDeviceByMsp` operationId).
func (*Client) RetryAddDeviceByMspWithBody ¶
func (c *Client) RetryAddDeviceByMspWithBody(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RetryAddDeviceByMspWithBody retry add device in msp view
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDeviceByMsp` operationId).
func (*Client) RetryAddDeviceWithBody ¶
func (c *Client) RetryAddDeviceWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RetryAddDeviceWithBody Retry add device
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDevice` operationId).
func (*Client) SearchGlobalDevice ¶
func (c *Client) SearchGlobalDevice(ctx context.Context, omadacId string, params *SearchGlobalDeviceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
SearchGlobalDevice Global search for devices returns the devices under the sites that have permissions.
Corresponds with GET /openapi/v1/{omadacId}/devices (the `SearchGlobalDevice` operationId).
func (*Client) UnbindActiveDeviceBySn ¶
func (c *Client) UnbindActiveDeviceBySn(ctx context.Context, omadacId string, siteId string, body UnbindActiveDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UnbindActiveDeviceBySn Change the license from the old device to the new device
Change the license from the old device to the new device (using the same license).
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/sn-unbind-active (the `UnbindActiveDeviceBySn` operationId).
func (*Client) UnbindActiveDeviceBySnWithBody ¶
func (c *Client) UnbindActiveDeviceBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UnbindActiveDeviceBySnWithBody Change the license from the old device to the new device
Change the license from the old device to the new device (using the same license).
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/sn-unbind-active (the `UnbindActiveDeviceBySn` operationId).
func (*Client) UnbindDevice ¶
func (c *Client) UnbindDevice(ctx context.Context, omadacId string, siteId string, body UnbindDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UnbindDevice Batch unbind devices
Batch unbind devices.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/unbind (the `UnbindDevice` operationId).
func (*Client) UnbindDeviceBySn ¶
func (c *Client) UnbindDeviceBySn(ctx context.Context, omadacId string, siteId string, body UnbindDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UnbindDeviceBySn Batch unbind devices by SN
Batch unbind devices by SN.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-unbind (the `UnbindDeviceBySn` operationId).
func (*Client) UnbindDeviceBySnWithBody ¶
func (c *Client) UnbindDeviceBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UnbindDeviceBySnWithBody Batch unbind devices by SN
Batch unbind devices by SN.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-unbind (the `UnbindDeviceBySn` operationId).
func (*Client) UnbindDeviceWithBody ¶
func (c *Client) UnbindDeviceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UnbindDeviceWithBody Batch unbind devices
Batch unbind devices.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/unbind (the `UnbindDevice` operationId).
func (*Client) UpdateDeviceTag ¶
func (c *Client) UpdateDeviceTag(ctx context.Context, omadacId string, siteId string, body UpdateDeviceTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDeviceTag Set device tag for given devices
Set device tag for given devices.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/tag (the `UpdateDeviceTag` operationId).
func (*Client) UpdateDeviceTagWithBody ¶
func (c *Client) UpdateDeviceTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDeviceTagWithBody Set device tag for given devices
Set device tag for given devices.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/tag (the `UpdateDeviceTag` operationId).
func (*Client) UploadUpgradeFileWithBody ¶
func (c *Client) UploadUpgradeFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadUpgradeFileWithBody Upload device firmware
Upload device firmware for manually upgrade.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/upgrade-file (the `UploadUpgradeFile` operationId).
func (*Client) UploadUpgradeFirmware ¶
func (c *Client) UploadUpgradeFirmware(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, body UploadUpgradeFirmwareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadUpgradeFirmware Upload upgrade firmware
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/files/upgrade/firmware (the `UploadUpgradeFirmware` operationId).
func (*Client) UploadUpgradeFirmwareWithBody ¶
func (c *Client) UploadUpgradeFirmwareWithBody(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadUpgradeFirmwareWithBody Upload upgrade firmware
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/files/upgrade/firmware (the `UploadUpgradeFirmware` operationId).
func (*Client) VerifyMonitorDevice ¶
func (c *Client) VerifyMonitorDevice(ctx context.Context, omadacId string, siteId string, body VerifyMonitorDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyMonitorDevice Verify if the device is allowed to be monitored
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/verify (the `VerifyMonitorDevice` operationId).
func (*Client) VerifyMonitorDeviceWithBody ¶
func (c *Client) VerifyMonitorDeviceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyMonitorDeviceWithBody Verify if the device is allowed to be monitored
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/verify (the `VerifyMonitorDevice` 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 {
// GetMspAdoptTip MSP get adopt tip
//
// Corresponds with GET /openapi/v1/msp/{mspId}/adopt-tip (the `GetMspAdoptTip` operationId).
GetMspAdoptTip(ctx context.Context, mspId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportMspAddFailDevices Export the device file that failed to add in MSP view.
//
// Export the device file that failed to add in MSP view. Format should be a value as follows. 0 means CSV , 1 means XLSX.
//
// Corresponds with GET /openapi/v1/msp/{mspId}/customers/{customerId}/devices/add/{operateId}/export (the `ExportMspAddFailDevices` operationId).
ExportMspAddFailDevices(ctx context.Context, mspId string, customerId string, operateId string, params *ExportMspAddFailDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddDevicesForMspWithBody Batch add devices in MSP view
//
// Batch add devices in MSP view.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/multi-add (the `AddDevicesForMsp` operationId).
AddDevicesForMspWithBody(ctx context.Context, mspId string, customerId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddDevicesForMsp Batch add devices in MSP view
//
// Batch add devices in MSP view.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/multi-add (the `AddDevicesForMsp` operationId).
AddDevicesForMsp(ctx context.Context, mspId string, customerId string, siteId string, body AddDevicesForMspJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetryAddDeviceByMspWithBody retry add device in msp view
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDeviceByMsp` operationId).
RetryAddDeviceByMspWithBody(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetryAddDeviceByMsp retry add device in msp view
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDeviceByMsp` operationId).
RetryAddDeviceByMsp(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, body RetryAddDeviceByMspJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForgetDeviceForMsp Forget one device in MSP view.
//
// Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/forget (the `ForgetDeviceForMsp` operationId).
ForgetDeviceForMsp(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdoptAbleDevicesForMspBatchAdopt Batch get info of adopted device in MSP view.
//
// Corresponds with GET /openapi/v1/msp/{mspId}/devices/batch/info (the `GetAdoptAbleDevicesForMspBatchAdopt` operationId).
GetAdoptAbleDevicesForMspBatchAdopt(ctx context.Context, mspId string, params *GetAdoptAbleDevicesForMspBatchAdoptParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdoptTip Get adopt tip
//
// Corresponds with GET /openapi/v1/{omadacId}/adopt-tip (the `GetAdoptTip` operationId).
GetAdoptTip(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAutoCheckUpgrade Delete autoCheck upgrade plan
//
// Corresponds with DELETE /openapi/v1/{omadacId}/autoCheck/{autoCheckId}/upgrade (the `DeleteAutoCheckUpgrade` operationId).
DeleteAutoCheckUpgrade(ctx context.Context, omadacId string, autoCheckId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditAutoCheckUpgradeWithBody Edit autoCheck upgrade plan
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/autoCheck/{autoCheckId}/upgrade (the `EditAutoCheckUpgrade` operationId).
EditAutoCheckUpgradeWithBody(ctx context.Context, omadacId string, autoCheckId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditAutoCheckUpgrade Edit autoCheck upgrade plan
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/autoCheck/{autoCheckId}/upgrade (the `EditAutoCheckUpgrade` operationId).
EditAutoCheckUpgrade(ctx context.Context, omadacId string, autoCheckId string, body EditAutoCheckUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackupScheduleTask Get backup schedule task
//
// Get backup schedule task.
//
// Corresponds with GET /openapi/v1/{omadacId}/backupschedule/task (the `GetBackupScheduleTask` operationId).
GetBackupScheduleTask(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyBackupScheduleTaskWithBody Modify backup schedule task
//
// Modify backup schedule task.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/backupschedule/task (the `ModifyBackupScheduleTask` operationId).
ModifyBackupScheduleTaskWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyBackupScheduleTask Modify backup schedule task
//
// Modify backup schedule task.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/backupschedule/task (the `ModifyBackupScheduleTask` operationId).
ModifyBackupScheduleTask(ctx context.Context, omadacId string, body ModifyBackupScheduleTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeviceAccessMgmtSetting Get device access management setting
//
// Get device access management setting.
//
// Corresponds with GET /openapi/v1/{omadacId}/device-mgmt (the `GetDeviceAccessMgmtSetting` operationId).
GetDeviceAccessMgmtSetting(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyDeviceAccessMgmtSettingWithBody Modify device access management setting
//
// Modify device access management setting.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/device-mgmt (the `ModifyDeviceAccessMgmtSetting` operationId).
ModifyDeviceAccessMgmtSettingWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyDeviceAccessMgmtSetting Modify device access management setting
//
// Modify device access management setting.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/device-mgmt (the `ModifyDeviceAccessMgmtSetting` operationId).
ModifyDeviceAccessMgmtSetting(ctx context.Context, omadacId string, body ModifyDeviceAccessMgmtSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchGlobalDevice Global search for devices returns the devices under the sites that have permissions.
//
// Corresponds with GET /openapi/v1/{omadacId}/devices (the `SearchGlobalDevice` operationId).
SearchGlobalDevice(ctx context.Context, omadacId string, params *SearchGlobalDeviceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportAddFailDevices Export the device file that failed to add in GLOBAL view.
//
// Export the device file that failed to add in GLOBAL view. Format should be a number as follows. 0 means CSV , 1 means XLSX.
//
// Corresponds with GET /openapi/v1/{omadacId}/devices/add/{operateId}/export (the `ExportAddFailDevices` operationId).
ExportAddFailDevices(ctx context.Context, omadacId string, operateId string, params *ExportAddFailDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdoptAbleDevicesForGlobalBatchAdopt Batch get info of adopted device in global view.
//
// Corresponds with GET /openapi/v1/{omadacId}/devices/batch/info (the `GetAdoptAbleDevicesForGlobalBatchAdopt` operationId).
GetAdoptAbleDevicesForGlobalBatchAdopt(ctx context.Context, omadacId string, params *GetAdoptAbleDevicesForGlobalBatchAdoptParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportGlobalDeviceListWithBody Export device list in GLOBAL view
//
// Export device list in GLOBAL view.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/devices/export (the `ExportGlobalDeviceList` operationId).
ExportGlobalDeviceListWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportGlobalDeviceList Export device list in GLOBAL view
//
// Export device list in GLOBAL view.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/devices/export (the `ExportGlobalDeviceList` operationId).
ExportGlobalDeviceList(ctx context.Context, omadacId string, body ExportGlobalDeviceListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGlobalDeviceIncidentCountsWithBody Get global device incident counts
//
// Get incident counts for the specified devices globally.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/devices/incidents (the `GetGlobalDeviceIncidentCounts` operationId).
GetGlobalDeviceIncidentCountsWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGlobalDeviceIncidentCounts Get global device incident counts
//
// Get incident counts for the specified devices globally.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/devices/incidents (the `GetGlobalDeviceIncidentCounts` operationId).
GetGlobalDeviceIncidentCounts(ctx context.Context, omadacId string, body GetGlobalDeviceIncidentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGlobalKnownDeviceList Get global known device list
//
// Get global known device list.
//
// Corresponds with GET /openapi/v1/{omadacId}/devices/known-devices (the `GetGlobalKnownDeviceList` operationId).
GetGlobalKnownDeviceList(ctx context.Context, omadacId string, params *GetGlobalKnownDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridAdoptedDevicesStatByGlobal Query the statistics for the list of global adopted devices.
//
// Corresponds with GET /openapi/v1/{omadacId}/devices/stat (the `GetGridAdoptedDevicesStatByGlobal` operationId).
GetGridAdoptedDevicesStatByGlobal(ctx context.Context, omadacId string, params *GetGridAdoptedDevicesStatByGlobalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGlobalUnknownDeviceList Get global unknown device list
//
// Get global unknown device list.
//
// Corresponds with GET /openapi/v1/{omadacId}/devices/unknown-devices (the `GetGlobalUnknownDeviceList` operationId).
GetGlobalUnknownDeviceList(ctx context.Context, omadacId string, params *GetGlobalUnknownDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadUpgradeFirmwareWithBody Upload upgrade firmware
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/files/upgrade/firmware (the `UploadUpgradeFirmware` operationId).
UploadUpgradeFirmwareWithBody(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadUpgradeFirmware Upload upgrade firmware
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/files/upgrade/firmware (the `UploadUpgradeFirmware` operationId).
UploadUpgradeFirmware(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, body UploadUpgradeFirmwareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUpgradeFirmware Delete upgrade firmware
//
// Delete the manually uploaded firmware.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/firmwares/{firmwareId}/upgrade (the `DeleteUpgradeFirmware` operationId).
DeleteUpgradeFirmware(ctx context.Context, omadacId string, firmwareId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFirmwareUpgradePlanWithBody Create firmware upgrade plan based on manually uploaded firmware
//
// Create an upgrade plan based on manually uploaded firmware.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/firmwares/{firmwareId}/upgrade/plan (the `CreateFirmwareUpgradePlan` operationId).
CreateFirmwareUpgradePlanWithBody(ctx context.Context, omadacId string, firmwareId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFirmwareUpgradePlan Create firmware upgrade plan based on manually uploaded firmware
//
// Create an upgrade plan based on manually uploaded firmware.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/firmwares/{firmwareId}/upgrade/plan (the `CreateFirmwareUpgradePlan` operationId).
CreateFirmwareUpgradePlan(ctx context.Context, omadacId string, firmwareId string, body CreateFirmwareUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUpgradeFailedDeviceInfos Get the list of devices which upgrade failed
//
// Get the list of devices which upgrade failed through upgrade logs.
//
// Corresponds with GET /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-devices (the `GetUpgradeFailedDeviceInfos` operationId).
GetUpgradeFailedDeviceInfos(ctx context.Context, omadacId string, upgradeLogId string, params *GetUpgradeFailedDeviceInfosParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUpgradeFailedDeviceFirmwareInfo Get firmware information about the failed device to be upgraded
//
// Corresponds with GET /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-model-firmware (the `GetUpgradeFailedDeviceFirmwareInfo` operationId).
GetUpgradeFailedDeviceFirmwareInfo(ctx context.Context, omadacId string, upgradeLogId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFailedDeviceModelPlanWithBody Create Upgrade Plan for Failed Device
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-model-plan (the `CreateFailedDeviceModelPlan` operationId).
CreateFailedDeviceModelPlanWithBody(ctx context.Context, omadacId string, upgradeLogId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFailedDeviceModelPlan Create Upgrade Plan for Failed Device
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-model-plan (the `CreateFailedDeviceModelPlan` operationId).
CreateFailedDeviceModelPlan(ctx context.Context, omadacId string, upgradeLogId string, body CreateFailedDeviceModelPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRollbackWithBody Create rollback plan
//
// You can choose a specific time to create a rollback plan.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/rollback (the `CreateRollback` operationId).
CreateRollbackWithBody(ctx context.Context, omadacId string, upgradeLogId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRollback Create rollback plan
//
// You can choose a specific time to create a rollback plan.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/rollback (the `CreateRollback` operationId).
CreateRollback(ctx context.Context, omadacId string, upgradeLogId string, body CreateRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackupFileServerWithBody Backup controller config to file server
//
// Backup controller config to file server.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/maintenance/backup/file-server (the `BackupFileServer` operationId).
BackupFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackupFileServer Backup controller config to file server
//
// Backup controller config to file server.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/maintenance/backup/file-server (the `BackupFileServer` operationId).
BackupFileServer(ctx context.Context, omadacId string, body BackupFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSelfServerFileList Get controller backup file list in self server
//
// Get controller backup file list in self server.
//
// Corresponds with GET /openapi/v1/{omadacId}/maintenance/backup/files (the `GetSelfServerFileList` operationId).
GetSelfServerFileList(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackupResult Get controller backup result
//
// Get controller backup result.
//
// Corresponds with GET /openapi/v1/{omadacId}/maintenance/backup/result (the `GetBackupResult` operationId).
GetBackupResult(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackupSelfServerWithBody Backup controller config to cloud server
//
// Backup controller config to cloud server.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/maintenance/backup/self-server (the `BackupSelfServer` operationId).
BackupSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackupSelfServer Backup controller config to cloud server
//
// Backup controller config to cloud server.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/maintenance/backup/self-server (the `BackupSelfServer` operationId).
BackupSelfServer(ctx context.Context, omadacId string, body BackupSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreFileServerWithBody Restore controller config from file server
//
// Restore controller config from file server.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/maintenance/restore/file-server (the `RestoreFileServer` operationId).
RestoreFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreFileServer Restore controller config from file server
//
// Restore controller config from file server.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/maintenance/restore/file-server (the `RestoreFileServer` operationId).
RestoreFileServer(ctx context.Context, omadacId string, body RestoreFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRestoreResult Get controller restore result
//
// Get controller restore result.
//
// Corresponds with GET /openapi/v1/{omadacId}/maintenance/restore/result (the `GetRestoreResult` operationId).
GetRestoreResult(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreSelfServerWithBody Restore controller config from cloud server
//
// Restore controller config from cloud server.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/maintenance/restore/self-server (the `RestoreSelfServer` operationId).
RestoreSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreSelfServer Restore controller config from cloud server
//
// Restore controller config from cloud server.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/maintenance/restore/self-server (the `RestoreSelfServer` operationId).
RestoreSelfServer(ctx context.Context, omadacId string, body RestoreSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportPreConfigDevicesGlobal Export preconfigured devices in GLOBAL view.
//
// Corresponds with POST /openapi/v1/{omadacId}/migrate/exportPreDevice (the `ExportPreConfigDevicesGlobal` operationId).
ExportPreConfigDevicesGlobal(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActiveDeviceWithMultiSiteWithBody Batch active devices with multi site
//
// Batch active devices with multi site.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/multi-devices/active (the `ActiveDeviceWithMultiSite` operationId).
ActiveDeviceWithMultiSiteWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActiveDeviceWithMultiSite Batch active devices with multi site
//
// Batch active devices with multi site.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/multi-devices/active (the `ActiveDeviceWithMultiSite` operationId).
ActiveDeviceWithMultiSite(ctx context.Context, omadacId string, body ActiveDeviceWithMultiSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAddDevicesStatusMultiSite Batch get added device status with multi site
//
// Batch get added device status with multi site.
//
// Corresponds with GET /openapi/v1/{omadacId}/multi-devices/add/{operateId}/status (the `GetAddDevicesStatusMultiSite` operationId).
GetAddDevicesStatusMultiSite(ctx context.Context, omadacId string, operateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddDevicesBySnWithMultiSiteWithBody Batch add devices by SN with multi site
//
// Batch add devices by SN with multi site.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/multi-devices/sn-add (the `AddDevicesBySnWithMultiSite` operationId).
AddDevicesBySnWithMultiSiteWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddDevicesBySnWithMultiSite Batch add devices by SN with multi site
//
// Batch add devices by SN with multi site.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/multi-devices/sn-add (the `AddDevicesBySnWithMultiSite` operationId).
AddDevicesBySnWithMultiSite(ctx context.Context, omadacId string, body AddDevicesBySnWithMultiSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUpgradePlan Delete firmware upgrade plan
//
// Delete firmware upgrade plan.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/plans/{planId}/upgrade/overview (the `DeleteUpgradePlan` operationId).
DeleteUpgradePlan(ctx context.Context, omadacId string, planId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditUpgradePlanWithBody Edit firmware upgrade plan
//
// Edit firmware upgrade plan.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/plans/{planId}/upgrade/overview (the `EditUpgradePlan` operationId).
EditUpgradePlanWithBody(ctx context.Context, omadacId string, planId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditUpgradePlan Edit firmware upgrade plan
//
// Edit firmware upgrade plan.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/plans/{planId}/upgrade/overview (the `EditUpgradePlan` operationId).
EditUpgradePlan(ctx context.Context, omadacId string, planId string, body EditUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackupSitesFileServerWithBody Backup multi sites config to file server
//
// Backup multi sites config to file server. At most 300 sites can backup.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-backup/file-server (the `BackupSitesFileServer` operationId).
BackupSitesFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackupSitesFileServer Backup multi sites config to file server
//
// Backup multi sites config to file server. At most 300 sites can backup.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-backup/file-server (the `BackupSitesFileServer` operationId).
BackupSitesFileServer(ctx context.Context, omadacId string, body BackupSitesFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackupSitesSelfServerWithBody Backup multi sites config to self server
//
// Backup multi sites config to self server. At most 300 sites can backup.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-backup/self-server (the `BackupSitesSelfServer` operationId).
BackupSitesSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackupSitesSelfServer Backup multi sites config to self server
//
// Backup multi sites config to self server. At most 300 sites can backup.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-backup/self-server (the `BackupSitesSelfServer` operationId).
BackupSitesSelfServer(ctx context.Context, omadacId string, body BackupSitesSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreSitesFileServerWithBody Restore multi sites config from file server
//
// Restore multi sites config from file server. At most 300 sites can be restored.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-restore/file-server (the `RestoreSitesFileServer` operationId).
RestoreSitesFileServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreSitesFileServer Restore multi sites config from file server
//
// Restore multi sites config from file server. At most 300 sites can be restored.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-restore/file-server (the `RestoreSitesFileServer` operationId).
RestoreSitesFileServer(ctx context.Context, omadacId string, body RestoreSitesFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreSitesSelfServerWithBody Restore multi sites config from self server
//
// Restore multi sites config from self server. At most 300 sites can be restored.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-restore/self-server (the `RestoreSitesSelfServer` operationId).
RestoreSitesSelfServerWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreSitesSelfServer Restore multi sites config from self server
//
// Restore multi sites config from self server. At most 300 sites can be restored.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/maintenance/multi-restore/self-server (the `RestoreSitesSelfServer` operationId).
RestoreSitesSelfServer(ctx context.Context, omadacId string, body RestoreSitesSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCheckFirmwareTaskResult Get the result of the given check latest firmware task
//
// Get the result of the firmware update task, containing a list of devices with firmware updates
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/all-devices/check-latest-firmware-tasks/{taskId} (the `GetCheckFirmwareTaskResult` operationId).
GetCheckFirmwareTaskResult(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OnlineCheckUpgrade Start check latest firmware for all devices
//
// Start a task to query the latest firmware of all devices in the cloud.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/all-devices/start-check-latest-firmware (the `OnlineCheckUpgrade` operationId).
OnlineCheckUpgrade(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// MoveSiteForApsWithBody Move aps to another site
//
// Move aps to another site. If you want to move networked bridge APs, ensure all APs in the bridge network are in movable state and move them at the same time. This interface will not move non-AP devices.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/aps/site-move (the `MoveSiteForAps` operationId).
MoveSiteForApsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MoveSiteForAps Move aps to another site
//
// Move aps to another site. If you want to move networked bridge APs, ensure all APs in the bridge network are in movable state and move them at the same time. This interface will not move non-AP devices.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/aps/site-move (the `MoveSiteForAps` operationId).
MoveSiteForAps(ctx context.Context, omadacId string, siteId string, body MoveSiteForApsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSiteBackupResult Get site backup result
//
// Get site backup result.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/backup/result (the `GetSiteBackupResult` operationId).
GetSiteBackupResult(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchAdoptWithBody batch adopt device
//
// batch adopt device.This interface does not return the actual adoptive result,you need to use the interface:Get device adopt result to obtain the adoptive result
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/batch-adopt (the `BatchAdopt` operationId).
BatchAdoptWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchAdopt batch adopt device
//
// batch adopt device.This interface does not return the actual adoptive result,you need to use the interface:Get device adopt result to obtain the adoptive result
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/batch-adopt (the `BatchAdopt` operationId).
BatchAdopt(ctx context.Context, omadacId string, siteId string, body BatchAdoptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OnlineRollingUpgradeByQueryWithBody Start batch rolling upgrade By Query
//
// Perform batch online upgrades of devices in a specific order within the site, and filter them using filter conditions. It is recommended to check the firmware update status before the operation, otherwise the firmware may not be the latest version
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/onlineRollingUpgrade (the `OnlineRollingUpgradeByQuery` operationId).
OnlineRollingUpgradeByQueryWithBody(ctx context.Context, omadacId string, siteId string, params *OnlineRollingUpgradeByQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OnlineRollingUpgradeByQuery Start batch rolling upgrade By Query
//
// Perform batch online upgrades of devices in a specific order within the site, and filter them using filter conditions. It is recommended to check the firmware update status before the operation, otherwise the firmware may not be the latest version
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/onlineRollingUpgrade (the `OnlineRollingUpgradeByQuery` operationId).
OnlineRollingUpgradeByQuery(ctx context.Context, omadacId string, siteId string, params *OnlineRollingUpgradeByQueryParams, body OnlineRollingUpgradeByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadDeviceInfo Download device information.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/{deviceMac}/downloadDeviceInfo/{type} (the `DownloadDeviceInfo` operationId).
DownloadDeviceInfo(ctx context.Context, omadacId string, siteId string, deviceMac string, pType string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeviceWhiteList Get the whitelist list of devices.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/device-white-list (the `GetDeviceWhiteList` operationId).
GetDeviceWhiteList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeviceList Get site device list
//
// Get site device list.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices (the `GetDeviceList` operationId).
GetDeviceList(ctx context.Context, omadacId string, siteId string, params *GetDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllDeviceBySite Get device list info.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/all (the `GetAllDeviceBySite` operationId).
GetAllDeviceBySite(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CopyDeviceConfigurationWithBody Copy configuration
//
// Copy the configuration of one device to another device of the same model. Only for switch and access point.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/copy (the `CopyDeviceConfiguration` operationId).
CopyDeviceConfigurationWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CopyDeviceConfiguration Copy configuration
//
// Copy the configuration of one device to another device of the same model. Only for switch and access point.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/copy (the `CopyDeviceConfiguration` operationId).
CopyDeviceConfiguration(ctx context.Context, omadacId string, siteId string, body CopyDeviceConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportSiteDeviceListWithBody Export device list of site
//
// Export device list of site.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/export (the `ExportSiteDeviceList` operationId).
ExportSiteDeviceListWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportSiteDeviceList Export device list of site
//
// Export device list of site.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/export (the `ExportSiteDeviceList` operationId).
ExportSiteDeviceList(ctx context.Context, omadacId string, siteId string, body ExportSiteDeviceListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetForgetProcess Get batch forget process
//
// Get process of the batch forget operation. The expire time of result is 300 seconds.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/forget/{forgetId}/status (the `GetForgetProcess` operationId).
GetForgetProcess(ctx context.Context, omadacId string, siteId string, forgetId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeviceIncidentCountsWithBody Get site device incident counts
//
// Get incident counts for the specified devices in a site.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/incidents (the `GetDeviceIncidentCounts` operationId).
GetDeviceIncidentCountsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeviceIncidentCounts Get site device incident counts
//
// Get incident counts for the specified devices in a site.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/incidents (the `GetDeviceIncidentCounts` operationId).
GetDeviceIncidentCounts(ctx context.Context, omadacId string, siteId string, body GetDeviceIncidentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LocatePortsWithBody Locate multiple ports of multiple switches
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/locate/switch-ports (the `LocatePorts` operationId).
LocatePortsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LocatePorts Locate multiple ports of multiple switches
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/locate/switch-ports (the `LocatePorts` operationId).
LocatePorts(ctx context.Context, omadacId string, siteId string, body LocatePortsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMoveSiteProcess Get batch move site process
//
// Get process of the batch move site operation. The expire time of result is 300 seconds.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/move/{moveSiteId}/status (the `GetMoveSiteProcess` operationId).
GetMoveSiteProcess(ctx context.Context, omadacId string, siteId string, moveSiteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddDevicesWithBody Batch add devices
//
// Batch add devices.This interface has been deprecated. Please use the following interface instead: Batch add devices by SN
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/multi-add (the `AddDevices` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AddDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddDevices Batch add devices
//
// Batch add devices.This interface has been deprecated. Please use the following interface instead: Batch add devices by SN
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/multi-add (the `AddDevices` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AddDevices(ctx context.Context, omadacId string, siteId string, body AddDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnbindActiveDeviceBySnWithBody Change the license from the old device to the new device
//
// Change the license from the old device to the new device (using the same license).
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/sn-unbind-active (the `UnbindActiveDeviceBySn` operationId).
UnbindActiveDeviceBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnbindActiveDeviceBySn Change the license from the old device to the new device
//
// Change the license from the old device to the new device (using the same license).
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/sn-unbind-active (the `UnbindActiveDeviceBySn` operationId).
UnbindActiveDeviceBySn(ctx context.Context, omadacId string, siteId string, body UnbindActiveDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTagWithBody Delete an existing tag
//
// Delete an existing tag.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `DeleteTag` operationId).
DeleteTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTag Delete an existing tag
//
// Delete an existing tag.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `DeleteTag` operationId).
DeleteTag(ctx context.Context, omadacId string, siteId string, body DeleteTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTags Get tag list
//
// Get tag list.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `GetTags` operationId).
GetTags(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyTagWithBody Modify an existing tag
//
// Modify an existing tag.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `ModifyTag` operationId).
ModifyTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyTag Modify an existing tag
//
// Modify an existing tag.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `ModifyTag` operationId).
ModifyTag(ctx context.Context, omadacId string, siteId string, body ModifyTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddTagWithBody Create new tag
//
// Create new tag.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `AddTag` operationId).
AddTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddTag Create new tag
//
// Create new tag.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `AddTag` operationId).
AddTag(ctx context.Context, omadacId string, siteId string, body AddTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExistUnSupportRadSecDevice Check for unsupported RadSec devices.
//
// Get the result of detecting devices that do not support the RadSec feature.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/un-support-radsec (the `ExistUnSupportRadSecDevice` operationId).
ExistUnSupportRadSecDevice(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadUpgradeFileWithBody Upload device firmware
//
// Upload device firmware for manually upgrade.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/upgrade-file (the `UploadUpgradeFile` operationId).
UploadUpgradeFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUplinkDeviceInfoWithBody Query uplink information for specified device MAC addresses under the site.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/uplink-info (the `GetUplinkDeviceInfo` operationId).
GetUplinkDeviceInfoWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUplinkDeviceInfo Query uplink information for specified device MAC addresses under the site.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/uplink-info (the `GetUplinkDeviceInfo` operationId).
GetUplinkDeviceInfo(ctx context.Context, omadacId string, siteId string, body GetUplinkDeviceInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetryAddDeviceWithBody Retry add device
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDevice` operationId).
RetryAddDeviceWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetryAddDevice Retry add device
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDevice` operationId).
RetryAddDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, body RetryAddDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeviceAdoptResult Get device adopt result
//
// Get device adopt result.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/adopt-result (the `GetDeviceAdoptResult` operationId).
GetDeviceAdoptResult(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckMacType Check the device type by mac.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/check-mac-type (the `CheckMacType` operationId).
CheckMacType(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForceProvisionDevice Force provision device
//
// Force provision device.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/force-provision (the `ForceProvisionDevice` operationId).
ForceProvisionDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForgetDevice Forget device
//
// Forget device.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/forget (the `ForgetDevice` operationId).
ForgetDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSingleForgetProcess Get forget process of device
//
// Get forget process of one device from batch-forget. The expire time of result for each device is 300 seconds.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/forget/{forgetId}/status (the `GetSingleForgetProcess` operationId).
GetSingleForgetProcess(ctx context.Context, omadacId string, siteId string, deviceMac string, forgetId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFirmwareInfo Get the latest firmware info of the device
//
// Get latest firmware info of the device, including the latest firmware version and release logs.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/latest-firmware-info (the `GetFirmwareInfo` operationId).
GetFirmwareInfo(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LocateDeviceWithBody Locate device
//
// Locate device.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/locate (the `LocateDevice` operationId).
LocateDeviceWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LocateDevice Locate device
//
// Locate device.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/locate (the `LocateDevice` operationId).
LocateDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, body LocateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSingleMoveSiteProcess Get move site process of device
//
// Get move site process of one device from batch-move-site. The expire time of result for each device is 300 seconds
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/move/{moveSiteId}/status (the `GetSingleMoveSiteProcess` operationId).
GetSingleMoveSiteProcess(ctx context.Context, omadacId string, siteId string, deviceMac string, moveSiteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOnlineUpgradeRes Get online upgrade result
//
// Get the result of the online upgrade.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/online-upgrade-result (the `GetOnlineUpgradeRes` operationId).
GetOnlineUpgradeRes(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebootDevice Reboot device
//
// Reboot device.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/reboot (the `RebootDevice` operationId).
RebootDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeviceRememberMe Get device remember Config
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/remember (the `GetDeviceRememberMe` operationId).
GetDeviceRememberMe(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyDeviceRememberMeWithBody Modify device remember Config
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/remember (the `ModifyDeviceRememberMe` operationId).
ModifyDeviceRememberMeWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyDeviceRememberMe Modify device remember Config
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/remember (the `ModifyDeviceRememberMe` operationId).
ModifyDeviceRememberMe(ctx context.Context, omadacId string, siteId string, deviceMac string, body ModifyDeviceRememberMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteReplaceRecord Delete replace record
//
// Delete replace record.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `DeleteReplaceRecord` operationId).
DeleteReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateReplaceRecordWithBody Create replace record
//
// Create replace record.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `CreateReplaceRecord` operationId).
CreateReplaceRecordWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateReplaceRecord Create replace record
//
// Create replace record.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `CreateReplaceRecord` operationId).
CreateReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, body CreateReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyReplaceRecordWithBody Modify replace record
//
// Modify replace record.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `ModifyReplaceRecord` operationId).
ModifyReplaceRecordWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyReplaceRecord Modify replace record
//
// Modify replace record.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `ModifyReplaceRecord` operationId).
ModifyReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, body ModifyReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckReplaceRecordWithBody Check replace record
//
// Check replace record.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device/check (the `CheckReplaceRecord` operationId).
CheckReplaceRecordWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckReplaceRecord Check replace record
//
// Check replace record.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device/check (the `CheckReplaceRecord` operationId).
CheckReplaceRecord(ctx context.Context, omadacId string, siteId string, deviceMac string, body CheckReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MoveSiteWithBody Move site
//
// Move the device to another site. If you want to move a networked bridge AP, use the "batch move ap site" interface to move all APs in the bridge network at the same time.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/site-move (the `MoveSite` operationId).
MoveSiteWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MoveSite Move site
//
// Move the device to another site. If you want to move a networked bridge AP, use the "batch move ap site" interface to move all APs in the bridge network at the same time.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/site-move (the `MoveSite` operationId).
MoveSite(ctx context.Context, omadacId string, siteId string, deviceMac string, body MoveSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdoptDeviceWithBody Start adopt device
//
// Start adopt device.This interface does not return the actual adoptive result, you need to use the interface:Get device adopt result to obtain the adoptive result
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/start-adopt (the `AdoptDevice` operationId).
AdoptDeviceWithBody(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdoptDevice Start adopt device
//
// Start adopt device.This interface does not return the actual adoptive result, you need to use the interface:Get device adopt result to obtain the adoptive result
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/start-adopt (the `AdoptDevice` operationId).
AdoptDevice(ctx context.Context, omadacId string, siteId string, deviceMac string, body AdoptDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OnlineUpgrade Start online upgrade
//
// Upgrade the device with the latest firmware in the cloud. It is suggested to check firmware update before the operation, or the firmware might not be the latest
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/start-online-upgrade (the `OnlineUpgrade` operationId).
OnlineUpgrade(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOnlineTimeline Get device online timeline
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/timeline (the `GetOnlineTimeline` operationId).
GetOnlineTimeline(ctx context.Context, omadacId string, siteId string, deviceMac string, params *GetOnlineTimelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridAdoptedBridgeDevicesBySite Get Bridge group grouped devices
//
// Get Bridge group grouped devices.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/bridge-devices/adopted (the `GetGridAdoptedBridgeDevicesBySite` operationId).
GetGridAdoptedBridgeDevicesBySite(ctx context.Context, omadacId string, siteId string, params *GetGridAdoptedBridgeDevicesBySiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridPendingBridgeDevicesBySite Get Bridge group ungrouped devices
//
// Get Bridge group ungrouped devices.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/bridge-devices/pending (the `GetGridPendingBridgeDevicesBySite` operationId).
GetGridPendingBridgeDevicesBySite(ctx context.Context, omadacId string, siteId string, params *GetGridPendingBridgeDevicesBySiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridPendingDevicesBySite Get adoptable device list of target site
//
// Get adoptable device list of target site.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/devices/pending (the `GetGridPendingDevicesBySite` operationId).
GetGridPendingDevicesBySite(ctx context.Context, omadacId string, siteId string, params *GetGridPendingDevicesBySiteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIntelliRecoverSetting Get intelli recover setting
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/intelli-recover/auto-setting/config (the `GetIntelliRecoverSetting` operationId).
GetIntelliRecoverSetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyIntelliRecoverSettingWithBody Modify intelli recover setting
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/intelli-recover/auto-setting/modify (the `ModifyIntelliRecoverSetting` operationId).
ModifyIntelliRecoverSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyIntelliRecoverSetting Modify intelli recover setting
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/intelli-recover/auto-setting/modify (the `ModifyIntelliRecoverSetting` operationId).
ModifyIntelliRecoverSetting(ctx context.Context, omadacId string, siteId string, body ModifyIntelliRecoverSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSelfServerSiteFileList Get site backup file list in self server
//
// Get site backup file list in self server.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/maintenance/backup/files (the `GetSelfServerSiteFileList` operationId).
GetSelfServerSiteFileList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportPreConfigDevices Export preconfigured devices of site.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/migrate/exportPreDevice (the `ExportPreConfigDevices` operationId).
ExportPreConfigDevices(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddMonitorDevicesWithBody Add device into intelli recover device list
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/add (the `AddMonitorDevices` operationId).
AddMonitorDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddMonitorDevices Add device into intelli recover device list
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/add (the `AddMonitorDevices` operationId).
AddMonitorDevices(ctx context.Context, omadacId string, siteId string, body AddMonitorDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMonitorDevicesWithBody Delete the intelli recover device
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/delete (the `DeleteMonitorDevices` operationId).
DeleteMonitorDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMonitorDevices Delete the intelli recover device
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/delete (the `DeleteMonitorDevices` operationId).
DeleteMonitorDevices(ctx context.Context, omadacId string, siteId string, body DeleteMonitorDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEligibleDeviceList Obtain the list of devices that can be monitored
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/eligible-device-grids (the `GetEligibleDeviceList` operationId).
GetEligibleDeviceList(ctx context.Context, omadacId string, siteId string, params *GetEligibleDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridMonitorDevice Get the intelli recover device list
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/grids (the `GetGridMonitorDevice` operationId).
GetGridMonitorDevice(ctx context.Context, omadacId string, siteId string, params *GetGridMonitorDeviceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebootDeviceUplinkPoeWithBody Reboot the device uplinkDevice poe
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/reboot-uplink-poe (the `RebootDeviceUplinkPoe` operationId).
RebootDeviceUplinkPoeWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebootDeviceUplinkPoe Reboot the device uplinkDevice poe
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/reboot-uplink-poe (the `RebootDeviceUplinkPoe` operationId).
RebootDeviceUplinkPoe(ctx context.Context, omadacId string, siteId string, body RebootDeviceUplinkPoeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyMonitorDeviceWithBody Verify if the device is allowed to be monitored
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/verify (the `VerifyMonitorDevice` operationId).
VerifyMonitorDeviceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyMonitorDevice Verify if the device is allowed to be monitored
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/verify (the `VerifyMonitorDevice` operationId).
VerifyMonitorDevice(ctx context.Context, omadacId string, siteId string, body VerifyMonitorDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActiveDeviceWithBody Batch active devices
//
// Batch active devices.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/active (the `ActiveDevice` operationId).
ActiveDeviceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActiveDevice Batch active devices
//
// Batch active devices.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/active (the `ActiveDevice` operationId).
ActiveDevice(ctx context.Context, omadacId string, siteId string, body ActiveDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAddDevicesStatus Batch get added device status
//
// Batch get added device status.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/add/{operateId}/status (the `GetAddDevicesStatus` operationId).
GetAddDevicesStatus(ctx context.Context, omadacId string, siteId string, operateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddDevicesByDeviceKeyWithBody Batch add devices by DEVICE KEY.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/devicekey-add (the `AddDevicesByDeviceKey` operationId).
AddDevicesByDeviceKeyWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddDevicesByDeviceKey Batch add devices by DEVICE KEY.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/devicekey-add (the `AddDevicesByDeviceKey` operationId).
AddDevicesByDeviceKey(ctx context.Context, omadacId string, siteId string, body AddDevicesByDeviceKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetManuallyUpgradeRes Get the result of the given manually upgrade task
//
// Get the result of the manually upgrade task. The results include whether the task is finished and how many devices have not completed the upgrade.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/manually-upgrade-tasks/{taskId} (the `GetManuallyUpgradeRes` operationId).
GetManuallyUpgradeRes(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelRollingUpgrade End the rolling upgrade task
//
// Cancel the rolling upgrade task in the site. But the devices which have completed the upgrade will not be rolled back to the old version
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/rolling-upgrade-tasks/{taskId} (the `CancelRollingUpgrade` operationId).
CancelRollingUpgrade(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRollingUpgradeRes Get the result of the given rolling upgrade task
//
// Get the result of the rolling upgrade task. The results include whether the task is finished and how many devices have not completed the upgrade.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/rolling-upgrade-tasks/{taskId} (the `GetRollingUpgradeRes` operationId).
GetRollingUpgradeRes(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActiveDeviceBySnWithBody Batch active devices by SN
//
// Batch active devices by SN.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-active (the `ActiveDeviceBySn` operationId).
ActiveDeviceBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActiveDeviceBySn Batch active devices by SN
//
// Batch active devices by SN.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-active (the `ActiveDeviceBySn` operationId).
ActiveDeviceBySn(ctx context.Context, omadacId string, siteId string, body ActiveDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddDevicesBySnWithBody Batch add devices by SN
//
// Batch add devices by SN.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-add (the `AddDevicesBySn` operationId).
AddDevicesBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddDevicesBySn Batch add devices by SN
//
// Batch add devices by SN.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-add (the `AddDevicesBySn` operationId).
AddDevicesBySn(ctx context.Context, omadacId string, siteId string, body AddDevicesBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnbindDeviceBySnWithBody Batch unbind devices by SN
//
// Batch unbind devices by SN.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-unbind (the `UnbindDeviceBySn` operationId).
UnbindDeviceBySnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnbindDeviceBySn Batch unbind devices by SN
//
// Batch unbind devices by SN.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/sn-unbind (the `UnbindDeviceBySn` operationId).
UnbindDeviceBySn(ctx context.Context, omadacId string, siteId string, body UnbindDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManuallyUpgradeWithBody Start manually upgrade
//
// Manually upgrade the devices of the same model in the site. The firmware needs to be uploaded first. Note: Each site can only execute one multi-device upgrade task at a time, and there is a number limit of the tasks that can be executed simultaneously in the controller.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/start-manually-upgrade (the `ManuallyUpgrade` operationId).
ManuallyUpgradeWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManuallyUpgrade Start manually upgrade
//
// Manually upgrade the devices of the same model in the site. The firmware needs to be uploaded first. Note: Each site can only execute one multi-device upgrade task at a time, and there is a number limit of the tasks that can be executed simultaneously in the controller.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/start-manually-upgrade (the `ManuallyUpgrade` operationId).
ManuallyUpgrade(ctx context.Context, omadacId string, siteId string, body ManuallyUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OnlineRollingUpgradeWithBody Start batch rolling upgrade
//
// Batch online upgrade the devices in a certain order in the site. It is suggested to check firmware update before the operation, or the firmware might not be the latest
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/start-rolling-upgrade (the `OnlineRollingUpgrade` operationId).
OnlineRollingUpgradeWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OnlineRollingUpgrade Start batch rolling upgrade
//
// Batch online upgrade the devices in a certain order in the site. It is suggested to check firmware update before the operation, or the firmware might not be the latest
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/start-rolling-upgrade (the `OnlineRollingUpgrade` operationId).
OnlineRollingUpgrade(ctx context.Context, omadacId string, siteId string, body OnlineRollingUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDeviceTagWithBody Set device tag for given devices
//
// Set device tag for given devices.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/tag (the `UpdateDeviceTag` operationId).
UpdateDeviceTagWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDeviceTag Set device tag for given devices
//
// Set device tag for given devices.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/tag (the `UpdateDeviceTag` operationId).
UpdateDeviceTag(ctx context.Context, omadacId string, siteId string, body UpdateDeviceTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnbindDeviceWithBody Batch unbind devices
//
// Batch unbind devices.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/unbind (the `UnbindDevice` operationId).
UnbindDeviceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnbindDevice Batch unbind devices
//
// Batch unbind devices.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/unbind (the `UnbindDevice` operationId).
UnbindDevice(ctx context.Context, omadacId string, siteId string, body UnbindDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPoePortsList Get PoE ports list
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/poe-ports (the `GetPoePortsList` operationId).
GetPoePortsList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPoeScheduleList Get PoE schedule list
//
// Get poe schedule list.(Pagination)
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules (the `GetPoeScheduleList` operationId).
GetPoeScheduleList(ctx context.Context, omadacId string, siteId string, params *GetPoeScheduleListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePoeScheduleWithBody Create new PoE Schedule
//
// Create new Poe Schedule.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules (the `CreatePoeSchedule` operationId).
CreatePoeScheduleWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePoeSchedule Create new PoE Schedule
//
// Create new Poe Schedule.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules (the `CreatePoeSchedule` operationId).
CreatePoeSchedule(ctx context.Context, omadacId string, siteId string, body CreatePoeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePoeSchedule Delete PoE Schedule
//
// Delete Poe Schedule.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `DeletePoeSchedule` operationId).
DeletePoeSchedule(ctx context.Context, omadacId string, siteId string, poeScheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyPoeScheduleWithBody Modify PoE Schedule
//
// Modify Poe Schedule.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `ModifyPoeSchedule` operationId).
ModifyPoeScheduleWithBody(ctx context.Context, omadacId string, siteId string, poeScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyPoeSchedule Modify PoE Schedule
//
// Modify Poe Schedule.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `ModifyPoeSchedule` operationId).
ModifyPoeSchedule(ctx context.Context, omadacId string, siteId string, poeScheduleId string, body ModifyPoeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPortScheduleList Get port schedule list
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/port-schedules (the `GetPortScheduleList` operationId).
GetPortScheduleList(ctx context.Context, omadacId string, siteId string, params *GetPortScheduleListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePortScheduleWithBody Create new Port Schedule
//
// Create new Port Schedule.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/port-schedules (the `CreatePortSchedule` operationId).
CreatePortScheduleWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePortSchedule Create new Port Schedule
//
// Create new Port Schedule.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/port-schedules (the `CreatePortSchedule` operationId).
CreatePortSchedule(ctx context.Context, omadacId string, siteId string, body CreatePortScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePortSchedule Delete Port Schedule
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `DeletePortSchedule` operationId).
DeletePortSchedule(ctx context.Context, omadacId string, siteId string, portScheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyPortScheduleWithBody Modify Port Schedule
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `ModifyPortSchedule` operationId).
ModifyPortScheduleWithBody(ctx context.Context, omadacId string, siteId string, portScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyPortSchedule Modify Port Schedule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `ModifyPortSchedule` operationId).
ModifyPortSchedule(ctx context.Context, omadacId string, siteId string, portScheduleId string, body ModifyPortScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPortSchedulePorts Get device ports list supporting port schedule
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/port-status-ports (the `GetPortSchedulePorts` operationId).
GetPortSchedulePorts(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAutoSelectDevicesWithBody Get auto select devices in quick-config page.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/quick-action/network-wizard/auto-select-devices (the `GetAutoSelectDevices` operationId).
GetAutoSelectDevicesWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAutoSelectDevices Get auto select devices in quick-config page.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/quick-action/network-wizard/auto-select-devices (the `GetAutoSelectDevices` operationId).
GetAutoSelectDevices(ctx context.Context, omadacId string, siteId string, body GetAutoSelectDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRebootScheduleList1 Get reboot schedule list
//
// Get reboot schedule list.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules (the `GetRebootScheduleList1` operationId).
GetRebootScheduleList1(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRebootSchedule1WithBody Create new reboot schedule
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules (the `CreateRebootSchedule1` operationId).
CreateRebootSchedule1WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRebootSchedule1 Create new reboot schedule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules (the `CreateRebootSchedule1` operationId).
CreateRebootSchedule1(ctx context.Context, omadacId string, siteId string, body CreateRebootSchedule1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRebootSchedule1 Delete reboot schedule
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `DeleteRebootSchedule1` operationId).
DeleteRebootSchedule1(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyRebootSchedule1WithBody Modify reboot schedule
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `ModifyRebootSchedule1` operationId).
ModifyRebootSchedule1WithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyRebootSchedule1 Modify reboot schedule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `ModifyRebootSchedule1` operationId).
ModifyRebootSchedule1(ctx context.Context, omadacId string, siteId string, id string, body ModifyRebootSchedule1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUpgradeScheduleList Get upgrade schedule list
//
// Get upgrade schedule list.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules (the `GetUpgradeScheduleList` operationId).
GetUpgradeScheduleList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUpgradeScheduleWithBody Create new upgrade schedule
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules (the `CreateUpgradeSchedule` operationId).
CreateUpgradeScheduleWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUpgradeSchedule Create new upgrade schedule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules (the `CreateUpgradeSchedule` operationId).
CreateUpgradeSchedule(ctx context.Context, omadacId string, siteId string, body CreateUpgradeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUpgradeSchedule Delete upgrade schedule
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `DeleteUpgradeSchedule` operationId).
DeleteUpgradeSchedule(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyUpgradeScheduleWithBody Modify upgrade schedule
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `ModifyUpgradeSchedule` operationId).
ModifyUpgradeScheduleWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyUpgradeSchedule Modify upgrade schedule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `ModifyUpgradeSchedule` operationId).
ModifyUpgradeSchedule(ctx context.Context, omadacId string, siteId string, id string, body ModifyUpgradeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRebootScheduleList Get reboot schedule template list
//
// Get reboot schedule list template.
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules (the `GetRebootScheduleList` operationId).
GetRebootScheduleList(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRebootScheduleWithBody Create new reboot schedule template
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules (the `CreateRebootSchedule` operationId).
CreateRebootScheduleWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRebootSchedule Create new reboot schedule template
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules (the `CreateRebootSchedule` operationId).
CreateRebootSchedule(ctx context.Context, omadacId string, siteTemplateId string, body CreateRebootScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRebootSchedule Delete reboot schedule template
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `DeleteRebootSchedule` operationId).
DeleteRebootSchedule(ctx context.Context, omadacId string, siteTemplateId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyRebootScheduleWithBody Modify reboot schedule template
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `ModifyRebootSchedule` operationId).
ModifyRebootScheduleWithBody(ctx context.Context, omadacId string, siteTemplateId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyRebootSchedule Modify reboot schedule template
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `ModifyRebootSchedule` operationId).
ModifyRebootSchedule(ctx context.Context, omadacId string, siteTemplateId string, id string, body ModifyRebootScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPortScheduleListTemplate Get port Schedule list
//
// Get port Schedule list with the given omadacId and siteTemplateId.
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules (the `GetPortScheduleListTemplate` operationId).
GetPortScheduleListTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddPortScheduleTemplateWithBody Create a new Port Schedule Template
//
// Create a new Port Schedule Template with the given params.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules (the `AddPortScheduleTemplate` operationId).
AddPortScheduleTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddPortScheduleTemplate Create a new Port Schedule Template
//
// Create a new Port Schedule Template with the given params.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules (the `AddPortScheduleTemplate` operationId).
AddPortScheduleTemplate(ctx context.Context, omadacId string, siteTemplateId string, body AddPortScheduleTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemovePortScheduleTemplate Delete Port Schedule Template
//
// Delete Port Schedule Template with the given params.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `RemovePortScheduleTemplate` operationId).
RemovePortScheduleTemplate(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyPortScheduleTemplateWithBody Modify a Port Schedule Template
//
// Modify a Port Schedule Template with the given params.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `ModifyPortScheduleTemplate` operationId).
ModifyPortScheduleTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyPortScheduleTemplate Modify a Port Schedule Template
//
// Modify a Port Schedule Template with the given params.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `ModifyPortScheduleTemplate` operationId).
ModifyPortScheduleTemplate(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, body ModifyPortScheduleTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridAutoCheckUpgrade Get autocheck upgrade plan
//
// Paging to get autocheck upgrade plan.
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/autoCheck (the `GetGridAutoCheckUpgrade` operationId).
GetGridAutoCheckUpgrade(ctx context.Context, omadacId string, params *GetGridAutoCheckUpgradeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAutoCheckUpgradeWithBody Create autocheck upgrade plan
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/autoCheck (the `CreateAutoCheckUpgrade` operationId).
CreateAutoCheckUpgradeWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAutoCheckUpgrade Create autocheck upgrade plan
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/autoCheck (the `CreateAutoCheckUpgrade` operationId).
CreateAutoCheckUpgrade(ctx context.Context, omadacId string, body CreateAutoCheckUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckUploadUpgradeFirmwareLimit Check the limit of the firmware pool
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/firmware-size/{firmwareSize} (the `CheckUploadUpgradeFirmwareLimit` operationId).
CheckUploadUpgradeFirmwareLimit(ctx context.Context, omadacId string, firmwareSize string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridFirmwareList Get the uploaded firmware list
//
// Paging to get the uploaded firmware list.
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/firmwares (the `GetGridFirmwareList` operationId).
GetGridFirmwareList(ctx context.Context, omadacId string, params *GetGridFirmwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditFirmwareUpgradeWithBody Edit the uploaded firmware
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/firmwares/{firmwareId} (the `EditFirmwareUpgrade` operationId).
EditFirmwareUpgradeWithBody(ctx context.Context, omadacId string, firmwareId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditFirmwareUpgrade Edit the uploaded firmware
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/firmwares/{firmwareId} (the `EditFirmwareUpgrade` operationId).
EditFirmwareUpgrade(ctx context.Context, omadacId string, firmwareId string, body EditFirmwareUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTargetFirmwareAllSites Get all sites of target firmware
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/firmwares/{firmwareId}/target-sites (the `GetTargetFirmwareAllSites` operationId).
GetTargetFirmwareAllSites(ctx context.Context, omadacId string, firmwareId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetModelBySitesWithBody Get the model of the specified site
//
// Get the model of the specified site. If no site is specified, it defaults to all authorized sites
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/models (the `GetModelBySites` operationId).
GetModelBySitesWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetModelBySites Get the model of the specified site
//
// Get the model of the specified site. If no site is specified, it defaults to all authorized sites
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/models (the `GetModelBySites` operationId).
GetModelBySites(ctx context.Context, omadacId string, body GetModelBySitesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetcriticalModelNum Get the number of critical models
//
// You can get the number of critical models.
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/critical (the `GetcriticalModelNum` operationId).
GetcriticalModelNum(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridFirmwarePoolList Get firmware pool list
//
// Paging to get firmware pool list.
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/firmwares (the `GetGridFirmwarePoolList` operationId).
GetGridFirmwarePoolList(ctx context.Context, omadacId string, params *GetGridFirmwarePoolListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetModelFirmwareReleaseNotesWithBody Get release notes information
//
// Get release notes information of a firmware series.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/overview/firmwares/release-note (the `GetModelFirmwareReleaseNotes` operationId).
GetModelFirmwareReleaseNotesWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetModelFirmwareReleaseNotes Get release notes information
//
// Get release notes information of a firmware series.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/overview/firmwares/release-note (the `GetModelFirmwareReleaseNotes` operationId).
GetModelFirmwareReleaseNotes(ctx context.Context, omadacId string, body GetModelFirmwareReleaseNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridUpgradeLogs Get firmware upgrade logs
//
// Paging to get firmware upgrade logs.
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/logs (the `GetGridUpgradeLogs` operationId).
GetGridUpgradeLogs(ctx context.Context, omadacId string, params *GetGridUpgradeLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEmailReminderSwitchStatus Get Email Reminder Switch Status
//
// You can get email reminder switch status.
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/mail/reminder (the `GetEmailReminderSwitchStatus` operationId).
GetEmailReminderSwitchStatus(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyEmailReminderSwitchStatusWithBody Modify Email Reminder Switch Status
//
// You can modify email reminder switch status.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/mail/reminder (the `ModifyEmailReminderSwitchStatus` operationId).
ModifyEmailReminderSwitchStatusWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyEmailReminderSwitchStatus Modify Email Reminder Switch Status
//
// You can modify email reminder switch status.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/mail/reminder (the `ModifyEmailReminderSwitchStatus` operationId).
ModifyEmailReminderSwitchStatus(ctx context.Context, omadacId string, body ModifyEmailReminderSwitchStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridUpgradePlans Get firmware upgrade plans
//
// Paging to get firmware upgrade plans.
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/plans (the `GetGridUpgradePlans` operationId).
GetGridUpgradePlans(ctx context.Context, omadacId string, params *GetGridUpgradePlansParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUpgradePlanWithBody Create firmware upgrade plan
//
// Create firmware upgrade plan.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/overview/plans (the `CreateUpgradePlan` operationId).
CreateUpgradePlanWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUpgradePlan Create firmware upgrade plan
//
// Create firmware upgrade plan.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/overview/plans (the `CreateUpgradePlan` operationId).
CreateUpgradePlan(ctx context.Context, omadacId string, body CreateUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTryBetaStatus Get try-beta switch status
//
// You can get try-beta switch status.
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/try-beta (the `GetTryBetaStatus` operationId).
GetTryBetaStatus(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyTryBetaStatusWithBody Modify try-beta switch status
//
// You can modify the try-beta switch status.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/try-beta (the `ModifyTryBetaStatus` operationId).
ModifyTryBetaStatusWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyTryBetaStatus Modify try-beta switch status
//
// You can modify the try-beta switch status.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/try-beta (the `ModifyTryBetaStatus` operationId).
ModifyTryBetaStatus(ctx context.Context, omadacId string, body ModifyTryBetaStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTryBetaChannel Get try-beta Channel Info
//
// You can get try-beta channel info.
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/try-beta/channel (the `GetTryBetaChannel` operationId).
GetTryBetaChannel(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyTryBetaChannelWithBody Modify try-beta Channel Info
//
// You can modify try-beta channel info.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/try-beta/channel (the `ModifyTryBetaChannel` operationId).
ModifyTryBetaChannelWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyTryBetaChannel Modify try-beta Channel Info
//
// You can modify try-beta channel info.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/upgrade/overview/try-beta/channel (the `ModifyTryBetaChannel` operationId).
ModifyTryBetaChannel(ctx context.Context, omadacId string, body ModifyTryBetaChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPlanUpgradeModelInfoWithBody Get the upgradeable information of the selected model
//
// Get the upgradeable information of the selected model.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/plan/firmware (the `GetPlanUpgradeModelInfo` operationId).
GetPlanUpgradeModelInfoWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPlanUpgradeModelInfo Get the upgradeable information of the selected model
//
// Get the upgradeable information of the selected model.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/plan/firmware (the `GetPlanUpgradeModelInfo` operationId).
GetPlanUpgradeModelInfo(ctx context.Context, omadacId string, body GetPlanUpgradeModelInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridPlanUpgradeModelList Get the list of models
//
// Get the list of models on the Controller upgrade plan page.
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/plan/models (the `GetGridPlanUpgradeModelList` operationId).
GetGridPlanUpgradeModelList(ctx context.Context, omadacId string, params *GetGridPlanUpgradeModelListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridPlanUpgradeSiteListWithBody Get the sites of the selected model
//
// Paging to get the sites of the selected model.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/plan/sites (the `GetGridPlanUpgradeSiteList` operationId).
GetGridPlanUpgradeSiteListWithBody(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridPlanUpgradeSiteList Get the sites of the selected model
//
// Paging to get the sites of the selected model.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/plan/sites (the `GetGridPlanUpgradeSiteList` operationId).
GetGridPlanUpgradeSiteList(ctx context.Context, omadacId string, body GetGridPlanUpgradeSiteListJSONRequestBody, 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) ActiveDeviceBySnWithBodyWithResponse ¶
func (c *ClientWithResponses) ActiveDeviceBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActiveDeviceBySnResponse, error)
ActiveDeviceBySnWithBodyWithResponse Batch active devices by SN
Batch active devices by SN.
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}/multi-devices/sn-active (the `ActiveDeviceBySn` operationId).
func (*ClientWithResponses) ActiveDeviceBySnWithResponse ¶
func (c *ClientWithResponses) ActiveDeviceBySnWithResponse(ctx context.Context, omadacId string, siteId string, body ActiveDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*ActiveDeviceBySnResponse, error)
ActiveDeviceBySnWithResponse Batch active devices by SN
Batch active devices by SN.
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}/multi-devices/sn-active (the `ActiveDeviceBySn` operationId).
func (*ClientWithResponses) ActiveDeviceWithBodyWithResponse ¶
func (c *ClientWithResponses) ActiveDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActiveDeviceResponse, error)
ActiveDeviceWithBodyWithResponse Batch active devices
Batch active devices.
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}/multi-devices/active (the `ActiveDevice` operationId).
func (*ClientWithResponses) ActiveDeviceWithMultiSiteWithBodyWithResponse ¶
func (c *ClientWithResponses) ActiveDeviceWithMultiSiteWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActiveDeviceWithMultiSiteResponse, error)
ActiveDeviceWithMultiSiteWithBodyWithResponse Batch active devices with multi site
Batch active devices with multi site.
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}/multi-devices/active (the `ActiveDeviceWithMultiSite` operationId).
func (*ClientWithResponses) ActiveDeviceWithMultiSiteWithResponse ¶
func (c *ClientWithResponses) ActiveDeviceWithMultiSiteWithResponse(ctx context.Context, omadacId string, body ActiveDeviceWithMultiSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*ActiveDeviceWithMultiSiteResponse, error)
ActiveDeviceWithMultiSiteWithResponse Batch active devices with multi site
Batch active devices with multi site.
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}/multi-devices/active (the `ActiveDeviceWithMultiSite` operationId).
func (*ClientWithResponses) ActiveDeviceWithResponse ¶
func (c *ClientWithResponses) ActiveDeviceWithResponse(ctx context.Context, omadacId string, siteId string, body ActiveDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*ActiveDeviceResponse, error)
ActiveDeviceWithResponse Batch active devices
Batch active devices.
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}/multi-devices/active (the `ActiveDevice` operationId).
func (*ClientWithResponses) AddDevicesByDeviceKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) AddDevicesByDeviceKeyWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDevicesByDeviceKeyResponse, error)
AddDevicesByDeviceKeyWithBodyWithResponse Batch add devices by DEVICE KEY.
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}/multi-devices/devicekey-add (the `AddDevicesByDeviceKey` operationId).
func (*ClientWithResponses) AddDevicesByDeviceKeyWithResponse ¶
func (c *ClientWithResponses) AddDevicesByDeviceKeyWithResponse(ctx context.Context, omadacId string, siteId string, body AddDevicesByDeviceKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDevicesByDeviceKeyResponse, error)
AddDevicesByDeviceKeyWithResponse Batch add devices by DEVICE KEY.
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}/multi-devices/devicekey-add (the `AddDevicesByDeviceKey` operationId).
func (*ClientWithResponses) AddDevicesBySnWithBodyWithResponse ¶
func (c *ClientWithResponses) AddDevicesBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDevicesBySnResponse, error)
AddDevicesBySnWithBodyWithResponse Batch add devices by SN
Batch add devices by SN.
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}/multi-devices/sn-add (the `AddDevicesBySn` operationId).
func (*ClientWithResponses) AddDevicesBySnWithMultiSiteWithBodyWithResponse ¶
func (c *ClientWithResponses) AddDevicesBySnWithMultiSiteWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDevicesBySnWithMultiSiteResponse, error)
AddDevicesBySnWithMultiSiteWithBodyWithResponse Batch add devices by SN with multi site
Batch add devices by SN with multi site.
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}/multi-devices/sn-add (the `AddDevicesBySnWithMultiSite` operationId).
func (*ClientWithResponses) AddDevicesBySnWithMultiSiteWithResponse ¶
func (c *ClientWithResponses) AddDevicesBySnWithMultiSiteWithResponse(ctx context.Context, omadacId string, body AddDevicesBySnWithMultiSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDevicesBySnWithMultiSiteResponse, error)
AddDevicesBySnWithMultiSiteWithResponse Batch add devices by SN with multi site
Batch add devices by SN with multi site.
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}/multi-devices/sn-add (the `AddDevicesBySnWithMultiSite` operationId).
func (*ClientWithResponses) AddDevicesBySnWithResponse ¶
func (c *ClientWithResponses) AddDevicesBySnWithResponse(ctx context.Context, omadacId string, siteId string, body AddDevicesBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDevicesBySnResponse, error)
AddDevicesBySnWithResponse Batch add devices by SN
Batch add devices by SN.
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}/multi-devices/sn-add (the `AddDevicesBySn` operationId).
func (*ClientWithResponses) AddDevicesForMspWithBodyWithResponse ¶
func (c *ClientWithResponses) AddDevicesForMspWithBodyWithResponse(ctx context.Context, mspId string, customerId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDevicesForMspResponse, error)
AddDevicesForMspWithBodyWithResponse Batch add devices in MSP view
Batch add devices in MSP 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/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/multi-add (the `AddDevicesForMsp` operationId).
func (*ClientWithResponses) AddDevicesForMspWithResponse ¶
func (c *ClientWithResponses) AddDevicesForMspWithResponse(ctx context.Context, mspId string, customerId string, siteId string, body AddDevicesForMspJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDevicesForMspResponse, error)
AddDevicesForMspWithResponse Batch add devices in MSP view
Batch add devices in MSP 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/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/multi-add (the `AddDevicesForMsp` operationId).
func (*ClientWithResponses) AddDevicesWithBodyWithResponse
deprecated
func (c *ClientWithResponses) AddDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDevicesResponse, error)
AddDevicesWithBodyWithResponse Batch add devices
Batch add devices.This interface has been deprecated. Please use the following interface instead: Batch add devices by SN
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}/devices/multi-add (the `AddDevices` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) AddDevicesWithResponse ¶
func (c *ClientWithResponses) AddDevicesWithResponse(ctx context.Context, omadacId string, siteId string, body AddDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDevicesResponse, error)
AddDevicesWithResponse Batch add devices
Batch add devices.This interface has been deprecated. Please use the following interface instead: Batch add devices by SN
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}/devices/multi-add (the `AddDevices` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) AddMonitorDevicesWithBodyWithResponse ¶
func (c *ClientWithResponses) AddMonitorDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMonitorDevicesResponse, error)
AddMonitorDevicesWithBodyWithResponse Add device into intelli recover device list
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}/monitor-device/add (the `AddMonitorDevices` operationId).
func (*ClientWithResponses) AddMonitorDevicesWithResponse ¶
func (c *ClientWithResponses) AddMonitorDevicesWithResponse(ctx context.Context, omadacId string, siteId string, body AddMonitorDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMonitorDevicesResponse, error)
AddMonitorDevicesWithResponse Add device into intelli recover device list
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}/monitor-device/add (the `AddMonitorDevices` operationId).
func (*ClientWithResponses) AddPortScheduleTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) AddPortScheduleTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddPortScheduleTemplateResponse, error)
AddPortScheduleTemplateWithBodyWithResponse Create a new Port Schedule Template
Create a new Port Schedule Template with the given params.
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}/setting/service/port-schedules (the `AddPortScheduleTemplate` operationId).
func (*ClientWithResponses) AddPortScheduleTemplateWithResponse ¶
func (c *ClientWithResponses) AddPortScheduleTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body AddPortScheduleTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*AddPortScheduleTemplateResponse, error)
AddPortScheduleTemplateWithResponse Create a new Port Schedule Template
Create a new Port Schedule Template with the given params.
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}/setting/service/port-schedules (the `AddPortScheduleTemplate` operationId).
func (*ClientWithResponses) AddTagWithBodyWithResponse ¶
func (c *ClientWithResponses) AddTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTagResponse, error)
AddTagWithBodyWithResponse Create new tag
Create new tag.
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}/devices/tag (the `AddTag` operationId).
func (*ClientWithResponses) AddTagWithResponse ¶
func (c *ClientWithResponses) AddTagWithResponse(ctx context.Context, omadacId string, siteId string, body AddTagJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTagResponse, error)
AddTagWithResponse Create new tag
Create new tag.
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}/devices/tag (the `AddTag` operationId).
func (*ClientWithResponses) AdoptDeviceWithBodyWithResponse ¶
func (c *ClientWithResponses) AdoptDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdoptDeviceResponse, error)
AdoptDeviceWithBodyWithResponse Start adopt device
Start adopt device.This interface does not return the actual adoptive result, you need to use the interface:Get device adopt result to obtain the adoptive result
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}/devices/{deviceMac}/start-adopt (the `AdoptDevice` operationId).
func (*ClientWithResponses) AdoptDeviceWithResponse ¶
func (c *ClientWithResponses) AdoptDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body AdoptDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*AdoptDeviceResponse, error)
AdoptDeviceWithResponse Start adopt device
Start adopt device.This interface does not return the actual adoptive result, you need to use the interface:Get device adopt result to obtain the adoptive result
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}/devices/{deviceMac}/start-adopt (the `AdoptDevice` operationId).
func (*ClientWithResponses) BackupFileServerWithBodyWithResponse ¶
func (c *ClientWithResponses) BackupFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupFileServerResponse, error)
BackupFileServerWithBodyWithResponse Backup controller config to file server
Backup controller config to file server.
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}/maintenance/backup/file-server (the `BackupFileServer` operationId).
func (*ClientWithResponses) BackupFileServerWithResponse ¶
func (c *ClientWithResponses) BackupFileServerWithResponse(ctx context.Context, omadacId string, body BackupFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupFileServerResponse, error)
BackupFileServerWithResponse Backup controller config to file server
Backup controller config to file server.
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}/maintenance/backup/file-server (the `BackupFileServer` operationId).
func (*ClientWithResponses) BackupSelfServerWithBodyWithResponse ¶
func (c *ClientWithResponses) BackupSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupSelfServerResponse, error)
BackupSelfServerWithBodyWithResponse Backup controller config to cloud server
Backup controller config to cloud server.
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}/maintenance/backup/self-server (the `BackupSelfServer` operationId).
func (*ClientWithResponses) BackupSelfServerWithResponse ¶
func (c *ClientWithResponses) BackupSelfServerWithResponse(ctx context.Context, omadacId string, body BackupSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupSelfServerResponse, error)
BackupSelfServerWithResponse Backup controller config to cloud server
Backup controller config to cloud server.
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}/maintenance/backup/self-server (the `BackupSelfServer` operationId).
func (*ClientWithResponses) BackupSitesFileServerWithBodyWithResponse ¶
func (c *ClientWithResponses) BackupSitesFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupSitesFileServerResponse, error)
BackupSitesFileServerWithBodyWithResponse Backup multi sites config to file server
Backup multi sites config to file server. At most 300 sites can backup.
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/maintenance/multi-backup/file-server (the `BackupSitesFileServer` operationId).
func (*ClientWithResponses) BackupSitesFileServerWithResponse ¶
func (c *ClientWithResponses) BackupSitesFileServerWithResponse(ctx context.Context, omadacId string, body BackupSitesFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupSitesFileServerResponse, error)
BackupSitesFileServerWithResponse Backup multi sites config to file server
Backup multi sites config to file server. At most 300 sites can backup.
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/maintenance/multi-backup/file-server (the `BackupSitesFileServer` operationId).
func (*ClientWithResponses) BackupSitesSelfServerWithBodyWithResponse ¶
func (c *ClientWithResponses) BackupSitesSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupSitesSelfServerResponse, error)
BackupSitesSelfServerWithBodyWithResponse Backup multi sites config to self server
Backup multi sites config to self server. At most 300 sites can backup.
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/maintenance/multi-backup/self-server (the `BackupSitesSelfServer` operationId).
func (*ClientWithResponses) BackupSitesSelfServerWithResponse ¶
func (c *ClientWithResponses) BackupSitesSelfServerWithResponse(ctx context.Context, omadacId string, body BackupSitesSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupSitesSelfServerResponse, error)
BackupSitesSelfServerWithResponse Backup multi sites config to self server
Backup multi sites config to self server. At most 300 sites can backup.
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/maintenance/multi-backup/self-server (the `BackupSitesSelfServer` operationId).
func (*ClientWithResponses) BatchAdoptWithBodyWithResponse ¶
func (c *ClientWithResponses) BatchAdoptWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchAdoptResponse, error)
BatchAdoptWithBodyWithResponse batch adopt device
batch adopt device.This interface does not return the actual adoptive result,you need to use the interface:Get device adopt result to obtain the adoptive result
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}/cmd/devices/batch-adopt (the `BatchAdopt` operationId).
func (*ClientWithResponses) BatchAdoptWithResponse ¶
func (c *ClientWithResponses) BatchAdoptWithResponse(ctx context.Context, omadacId string, siteId string, body BatchAdoptJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchAdoptResponse, error)
BatchAdoptWithResponse batch adopt device
batch adopt device.This interface does not return the actual adoptive result,you need to use the interface:Get device adopt result to obtain the adoptive result
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}/cmd/devices/batch-adopt (the `BatchAdopt` operationId).
func (*ClientWithResponses) CancelRollingUpgradeWithResponse ¶
func (c *ClientWithResponses) CancelRollingUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*CancelRollingUpgradeResponse, error)
CancelRollingUpgradeWithResponse End the rolling upgrade task
Cancel the rolling upgrade task in the site. But the devices which have completed the upgrade will not be rolled back to the old version
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/rolling-upgrade-tasks/{taskId} (the `CancelRollingUpgrade` operationId).
func (*ClientWithResponses) CheckMacTypeWithResponse ¶
func (c *ClientWithResponses) CheckMacTypeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*CheckMacTypeResponse, error)
CheckMacTypeWithResponse Check the device type by mac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/check-mac-type (the `CheckMacType` operationId).
func (*ClientWithResponses) CheckReplaceRecordWithBodyWithResponse ¶
func (c *ClientWithResponses) CheckReplaceRecordWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckReplaceRecordResponse, error)
CheckReplaceRecordWithBodyWithResponse Check replace record
Check replace record.
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}/devices/{deviceMac}/replace-device/check (the `CheckReplaceRecord` operationId).
func (*ClientWithResponses) CheckReplaceRecordWithResponse ¶
func (c *ClientWithResponses) CheckReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body CheckReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckReplaceRecordResponse, error)
CheckReplaceRecordWithResponse Check replace record
Check replace record.
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}/devices/{deviceMac}/replace-device/check (the `CheckReplaceRecord` operationId).
func (*ClientWithResponses) CheckUploadUpgradeFirmwareLimitWithResponse ¶
func (c *ClientWithResponses) CheckUploadUpgradeFirmwareLimitWithResponse(ctx context.Context, omadacId string, firmwareSize string, reqEditors ...RequestEditorFn) (*CheckUploadUpgradeFirmwareLimitResponse, error)
CheckUploadUpgradeFirmwareLimitWithResponse Check the limit of the firmware pool
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/upgrade/firmware-size/{firmwareSize} (the `CheckUploadUpgradeFirmwareLimit` operationId).
func (*ClientWithResponses) CopyDeviceConfigurationWithBodyWithResponse ¶
func (c *ClientWithResponses) CopyDeviceConfigurationWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyDeviceConfigurationResponse, error)
CopyDeviceConfigurationWithBodyWithResponse Copy configuration
Copy the configuration of one device to another device of the same model. Only for switch and access point.
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}/devices/copy (the `CopyDeviceConfiguration` operationId).
func (*ClientWithResponses) CopyDeviceConfigurationWithResponse ¶
func (c *ClientWithResponses) CopyDeviceConfigurationWithResponse(ctx context.Context, omadacId string, siteId string, body CopyDeviceConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyDeviceConfigurationResponse, error)
CopyDeviceConfigurationWithResponse Copy configuration
Copy the configuration of one device to another device of the same model. Only for switch and access point.
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}/devices/copy (the `CopyDeviceConfiguration` operationId).
func (*ClientWithResponses) CreateAutoCheckUpgradeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAutoCheckUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAutoCheckUpgradeResponse, error)
CreateAutoCheckUpgradeWithBodyWithResponse Create autocheck upgrade plan
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}/upgrade/autoCheck (the `CreateAutoCheckUpgrade` operationId).
func (*ClientWithResponses) CreateAutoCheckUpgradeWithResponse ¶
func (c *ClientWithResponses) CreateAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, body CreateAutoCheckUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAutoCheckUpgradeResponse, error)
CreateAutoCheckUpgradeWithResponse Create autocheck upgrade plan
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}/upgrade/autoCheck (the `CreateAutoCheckUpgrade` operationId).
func (*ClientWithResponses) CreateFailedDeviceModelPlanWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateFailedDeviceModelPlanWithBodyWithResponse(ctx context.Context, omadacId string, upgradeLogId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFailedDeviceModelPlanResponse, error)
CreateFailedDeviceModelPlanWithBodyWithResponse Create Upgrade Plan for Failed Device
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/{upgradeLogId}/upgrade/overview/failed-model-plan (the `CreateFailedDeviceModelPlan` operationId).
func (*ClientWithResponses) CreateFailedDeviceModelPlanWithResponse ¶
func (c *ClientWithResponses) CreateFailedDeviceModelPlanWithResponse(ctx context.Context, omadacId string, upgradeLogId string, body CreateFailedDeviceModelPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFailedDeviceModelPlanResponse, error)
CreateFailedDeviceModelPlanWithResponse Create Upgrade Plan for Failed Device
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/{upgradeLogId}/upgrade/overview/failed-model-plan (the `CreateFailedDeviceModelPlan` operationId).
func (*ClientWithResponses) CreateFirmwareUpgradePlanWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateFirmwareUpgradePlanWithBodyWithResponse(ctx context.Context, omadacId string, firmwareId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFirmwareUpgradePlanResponse, error)
CreateFirmwareUpgradePlanWithBodyWithResponse Create firmware upgrade plan based on manually uploaded firmware
Create an upgrade plan based on manually uploaded firmware.
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}/firmwares/{firmwareId}/upgrade/plan (the `CreateFirmwareUpgradePlan` operationId).
func (*ClientWithResponses) CreateFirmwareUpgradePlanWithResponse ¶
func (c *ClientWithResponses) CreateFirmwareUpgradePlanWithResponse(ctx context.Context, omadacId string, firmwareId string, body CreateFirmwareUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFirmwareUpgradePlanResponse, error)
CreateFirmwareUpgradePlanWithResponse Create firmware upgrade plan based on manually uploaded firmware
Create an upgrade plan based on manually uploaded firmware.
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}/firmwares/{firmwareId}/upgrade/plan (the `CreateFirmwareUpgradePlan` operationId).
func (*ClientWithResponses) CreatePoeScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePoeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePoeScheduleResponse, error)
CreatePoeScheduleWithBodyWithResponse Create new PoE Schedule
Create new Poe Schedule.
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}/poe-schedules (the `CreatePoeSchedule` operationId).
func (*ClientWithResponses) CreatePoeScheduleWithResponse ¶
func (c *ClientWithResponses) CreatePoeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, body CreatePoeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePoeScheduleResponse, error)
CreatePoeScheduleWithResponse Create new PoE Schedule
Create new Poe Schedule.
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}/poe-schedules (the `CreatePoeSchedule` operationId).
func (*ClientWithResponses) CreatePortScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePortScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePortScheduleResponse, error)
CreatePortScheduleWithBodyWithResponse Create new Port Schedule
Create new Port Schedule.
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}/port-schedules (the `CreatePortSchedule` operationId).
func (*ClientWithResponses) CreatePortScheduleWithResponse ¶
func (c *ClientWithResponses) CreatePortScheduleWithResponse(ctx context.Context, omadacId string, siteId string, body CreatePortScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePortScheduleResponse, error)
CreatePortScheduleWithResponse Create new Port Schedule
Create new Port Schedule.
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}/port-schedules (the `CreatePortSchedule` operationId).
func (*ClientWithResponses) CreateRebootSchedule1WithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRebootSchedule1WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRebootSchedule1Response, error)
CreateRebootSchedule1WithBodyWithResponse Create new reboot schedule
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}/reboot-schedules (the `CreateRebootSchedule1` operationId).
func (*ClientWithResponses) CreateRebootSchedule1WithResponse ¶
func (c *ClientWithResponses) CreateRebootSchedule1WithResponse(ctx context.Context, omadacId string, siteId string, body CreateRebootSchedule1JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRebootSchedule1Response, error)
CreateRebootSchedule1WithResponse Create new reboot schedule
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}/reboot-schedules (the `CreateRebootSchedule1` operationId).
func (*ClientWithResponses) CreateRebootScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRebootScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRebootScheduleResponse, error)
CreateRebootScheduleWithBodyWithResponse Create new reboot schedule 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}/sitetemplates/{siteTemplateId}/reboot-schedules (the `CreateRebootSchedule` operationId).
func (*ClientWithResponses) CreateRebootScheduleWithResponse ¶
func (c *ClientWithResponses) CreateRebootScheduleWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body CreateRebootScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRebootScheduleResponse, error)
CreateRebootScheduleWithResponse Create new reboot schedule 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}/sitetemplates/{siteTemplateId}/reboot-schedules (the `CreateRebootSchedule` operationId).
func (*ClientWithResponses) CreateReplaceRecordWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateReplaceRecordWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReplaceRecordResponse, error)
CreateReplaceRecordWithBodyWithResponse Create replace record
Create replace record.
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}/devices/{deviceMac}/replace-device (the `CreateReplaceRecord` operationId).
func (*ClientWithResponses) CreateReplaceRecordWithResponse ¶
func (c *ClientWithResponses) CreateReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body CreateReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReplaceRecordResponse, error)
CreateReplaceRecordWithResponse Create replace record
Create replace record.
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}/devices/{deviceMac}/replace-device (the `CreateReplaceRecord` operationId).
func (*ClientWithResponses) CreateRollbackWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRollbackWithBodyWithResponse(ctx context.Context, omadacId string, upgradeLogId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRollbackResponse, error)
CreateRollbackWithBodyWithResponse Create rollback plan
You can choose a specific time to create a rollback plan.
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/{upgradeLogId}/upgrade/overview/rollback (the `CreateRollback` operationId).
func (*ClientWithResponses) CreateRollbackWithResponse ¶
func (c *ClientWithResponses) CreateRollbackWithResponse(ctx context.Context, omadacId string, upgradeLogId string, body CreateRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRollbackResponse, error)
CreateRollbackWithResponse Create rollback plan
You can choose a specific time to create a rollback plan.
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/{upgradeLogId}/upgrade/overview/rollback (the `CreateRollback` operationId).
func (*ClientWithResponses) CreateUpgradePlanWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateUpgradePlanWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUpgradePlanResponse, error)
CreateUpgradePlanWithBodyWithResponse Create firmware upgrade plan
Create firmware upgrade plan.
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}/upgrade/overview/plans (the `CreateUpgradePlan` operationId).
func (*ClientWithResponses) CreateUpgradePlanWithResponse ¶
func (c *ClientWithResponses) CreateUpgradePlanWithResponse(ctx context.Context, omadacId string, body CreateUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUpgradePlanResponse, error)
CreateUpgradePlanWithResponse Create firmware upgrade plan
Create firmware upgrade plan.
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}/upgrade/overview/plans (the `CreateUpgradePlan` operationId).
func (*ClientWithResponses) CreateUpgradeScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateUpgradeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUpgradeScheduleResponse, error)
CreateUpgradeScheduleWithBodyWithResponse Create new upgrade schedule
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}/upgrade-schedules (the `CreateUpgradeSchedule` operationId).
func (*ClientWithResponses) CreateUpgradeScheduleWithResponse ¶
func (c *ClientWithResponses) CreateUpgradeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, body CreateUpgradeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUpgradeScheduleResponse, error)
CreateUpgradeScheduleWithResponse Create new upgrade schedule
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}/upgrade-schedules (the `CreateUpgradeSchedule` operationId).
func (*ClientWithResponses) DeleteAutoCheckUpgradeWithResponse ¶
func (c *ClientWithResponses) DeleteAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, autoCheckId string, reqEditors ...RequestEditorFn) (*DeleteAutoCheckUpgradeResponse, error)
DeleteAutoCheckUpgradeWithResponse Delete autoCheck upgrade plan
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/autoCheck/{autoCheckId}/upgrade (the `DeleteAutoCheckUpgrade` operationId).
func (*ClientWithResponses) DeleteMonitorDevicesWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteMonitorDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMonitorDevicesResponse, error)
DeleteMonitorDevicesWithBodyWithResponse Delete the intelli recover device
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}/monitor-device/delete (the `DeleteMonitorDevices` operationId).
func (*ClientWithResponses) DeleteMonitorDevicesWithResponse ¶
func (c *ClientWithResponses) DeleteMonitorDevicesWithResponse(ctx context.Context, omadacId string, siteId string, body DeleteMonitorDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMonitorDevicesResponse, error)
DeleteMonitorDevicesWithResponse Delete the intelli recover device
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}/monitor-device/delete (the `DeleteMonitorDevices` operationId).
func (*ClientWithResponses) DeletePoeScheduleWithResponse ¶
func (c *ClientWithResponses) DeletePoeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, poeScheduleId string, reqEditors ...RequestEditorFn) (*DeletePoeScheduleResponse, error)
DeletePoeScheduleWithResponse Delete PoE Schedule
Delete Poe Schedule.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `DeletePoeSchedule` operationId).
func (*ClientWithResponses) DeletePortScheduleWithResponse ¶
func (c *ClientWithResponses) DeletePortScheduleWithResponse(ctx context.Context, omadacId string, siteId string, portScheduleId string, reqEditors ...RequestEditorFn) (*DeletePortScheduleResponse, error)
DeletePortScheduleWithResponse Delete Port Schedule
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `DeletePortSchedule` operationId).
func (*ClientWithResponses) DeleteRebootSchedule1WithResponse ¶
func (c *ClientWithResponses) DeleteRebootSchedule1WithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteRebootSchedule1Response, error)
DeleteRebootSchedule1WithResponse Delete reboot schedule
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `DeleteRebootSchedule1` operationId).
func (*ClientWithResponses) DeleteRebootScheduleWithResponse ¶
func (c *ClientWithResponses) DeleteRebootScheduleWithResponse(ctx context.Context, omadacId string, siteTemplateId string, id string, reqEditors ...RequestEditorFn) (*DeleteRebootScheduleResponse, error)
DeleteRebootScheduleWithResponse Delete reboot schedule template
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `DeleteRebootSchedule` operationId).
func (*ClientWithResponses) DeleteReplaceRecordWithResponse ¶
func (c *ClientWithResponses) DeleteReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*DeleteReplaceRecordResponse, error)
DeleteReplaceRecordWithResponse Delete replace record
Delete replace record.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `DeleteReplaceRecord` operationId).
func (*ClientWithResponses) DeleteTagWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteTagResponse, error)
DeleteTagWithBodyWithResponse Delete an existing tag
Delete an existing tag.
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}/devices/tag (the `DeleteTag` operationId).
func (*ClientWithResponses) DeleteTagWithResponse ¶
func (c *ClientWithResponses) DeleteTagWithResponse(ctx context.Context, omadacId string, siteId string, body DeleteTagJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTagResponse, error)
DeleteTagWithResponse Delete an existing tag
Delete an existing tag.
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}/devices/tag (the `DeleteTag` operationId).
func (*ClientWithResponses) DeleteUpgradeFirmwareWithResponse ¶
func (c *ClientWithResponses) DeleteUpgradeFirmwareWithResponse(ctx context.Context, omadacId string, firmwareId string, reqEditors ...RequestEditorFn) (*DeleteUpgradeFirmwareResponse, error)
DeleteUpgradeFirmwareWithResponse Delete upgrade firmware
Delete the manually uploaded firmware.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/firmwares/{firmwareId}/upgrade (the `DeleteUpgradeFirmware` operationId).
func (*ClientWithResponses) DeleteUpgradePlanWithResponse ¶
func (c *ClientWithResponses) DeleteUpgradePlanWithResponse(ctx context.Context, omadacId string, planId string, reqEditors ...RequestEditorFn) (*DeleteUpgradePlanResponse, error)
DeleteUpgradePlanWithResponse Delete firmware upgrade plan
Delete firmware upgrade plan.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/plans/{planId}/upgrade/overview (the `DeleteUpgradePlan` operationId).
func (*ClientWithResponses) DeleteUpgradeScheduleWithResponse ¶
func (c *ClientWithResponses) DeleteUpgradeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteUpgradeScheduleResponse, error)
DeleteUpgradeScheduleWithResponse Delete upgrade schedule
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `DeleteUpgradeSchedule` operationId).
func (*ClientWithResponses) DownloadDeviceInfoWithResponse ¶
func (c *ClientWithResponses) DownloadDeviceInfoWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, pType string, reqEditors ...RequestEditorFn) (*DownloadDeviceInfoResponse, error)
DownloadDeviceInfoWithResponse Download device information.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/{deviceMac}/downloadDeviceInfo/{type} (the `DownloadDeviceInfo` operationId).
func (*ClientWithResponses) EditAutoCheckUpgradeWithBodyWithResponse ¶
func (c *ClientWithResponses) EditAutoCheckUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, autoCheckId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditAutoCheckUpgradeResponse, error)
EditAutoCheckUpgradeWithBodyWithResponse Edit autoCheck upgrade plan
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}/autoCheck/{autoCheckId}/upgrade (the `EditAutoCheckUpgrade` operationId).
func (*ClientWithResponses) EditAutoCheckUpgradeWithResponse ¶
func (c *ClientWithResponses) EditAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, autoCheckId string, body EditAutoCheckUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*EditAutoCheckUpgradeResponse, error)
EditAutoCheckUpgradeWithResponse Edit autoCheck upgrade plan
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}/autoCheck/{autoCheckId}/upgrade (the `EditAutoCheckUpgrade` operationId).
func (*ClientWithResponses) EditFirmwareUpgradeWithBodyWithResponse ¶
func (c *ClientWithResponses) EditFirmwareUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, firmwareId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditFirmwareUpgradeResponse, error)
EditFirmwareUpgradeWithBodyWithResponse Edit the uploaded firmware
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}/upgrade/firmwares/{firmwareId} (the `EditFirmwareUpgrade` operationId).
func (*ClientWithResponses) EditFirmwareUpgradeWithResponse ¶
func (c *ClientWithResponses) EditFirmwareUpgradeWithResponse(ctx context.Context, omadacId string, firmwareId string, body EditFirmwareUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*EditFirmwareUpgradeResponse, error)
EditFirmwareUpgradeWithResponse Edit the uploaded firmware
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}/upgrade/firmwares/{firmwareId} (the `EditFirmwareUpgrade` operationId).
func (*ClientWithResponses) EditUpgradePlanWithBodyWithResponse ¶
func (c *ClientWithResponses) EditUpgradePlanWithBodyWithResponse(ctx context.Context, omadacId string, planId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditUpgradePlanResponse, error)
EditUpgradePlanWithBodyWithResponse Edit firmware upgrade plan
Edit firmware upgrade plan.
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}/plans/{planId}/upgrade/overview (the `EditUpgradePlan` operationId).
func (*ClientWithResponses) EditUpgradePlanWithResponse ¶
func (c *ClientWithResponses) EditUpgradePlanWithResponse(ctx context.Context, omadacId string, planId string, body EditUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*EditUpgradePlanResponse, error)
EditUpgradePlanWithResponse Edit firmware upgrade plan
Edit firmware upgrade plan.
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}/plans/{planId}/upgrade/overview (the `EditUpgradePlan` operationId).
func (*ClientWithResponses) ExistUnSupportRadSecDeviceWithResponse ¶
func (c *ClientWithResponses) ExistUnSupportRadSecDeviceWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*ExistUnSupportRadSecDeviceResponse, error)
ExistUnSupportRadSecDeviceWithResponse Check for unsupported RadSec devices.
Get the result of detecting devices that do not support the RadSec feature.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/un-support-radsec (the `ExistUnSupportRadSecDevice` operationId).
func (*ClientWithResponses) ExportAddFailDevicesWithResponse ¶
func (c *ClientWithResponses) ExportAddFailDevicesWithResponse(ctx context.Context, omadacId string, operateId string, params *ExportAddFailDevicesParams, reqEditors ...RequestEditorFn) (*ExportAddFailDevicesResponse, error)
ExportAddFailDevicesWithResponse Export the device file that failed to add in GLOBAL view.
Export the device file that failed to add in GLOBAL view. Format should be a number as follows. 0 means CSV , 1 means XLSX.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/devices/add/{operateId}/export (the `ExportAddFailDevices` operationId).
func (*ClientWithResponses) ExportGlobalDeviceListWithBodyWithResponse ¶
func (c *ClientWithResponses) ExportGlobalDeviceListWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportGlobalDeviceListResponse, error)
ExportGlobalDeviceListWithBodyWithResponse Export device list in GLOBAL view
Export device 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}/devices/export (the `ExportGlobalDeviceList` operationId).
func (*ClientWithResponses) ExportGlobalDeviceListWithResponse ¶
func (c *ClientWithResponses) ExportGlobalDeviceListWithResponse(ctx context.Context, omadacId string, body ExportGlobalDeviceListJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportGlobalDeviceListResponse, error)
ExportGlobalDeviceListWithResponse Export device list in GLOBAL view
Export device 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}/devices/export (the `ExportGlobalDeviceList` operationId).
func (*ClientWithResponses) ExportMspAddFailDevicesWithResponse ¶
func (c *ClientWithResponses) ExportMspAddFailDevicesWithResponse(ctx context.Context, mspId string, customerId string, operateId string, params *ExportMspAddFailDevicesParams, reqEditors ...RequestEditorFn) (*ExportMspAddFailDevicesResponse, error)
ExportMspAddFailDevicesWithResponse Export the device file that failed to add in MSP view.
Export the device file that failed to add in MSP view. Format should be a value as follows. 0 means CSV , 1 means XLSX.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/msp/{mspId}/customers/{customerId}/devices/add/{operateId}/export (the `ExportMspAddFailDevices` operationId).
func (*ClientWithResponses) ExportPreConfigDevicesGlobalWithResponse ¶
func (c *ClientWithResponses) ExportPreConfigDevicesGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*ExportPreConfigDevicesGlobalResponse, error)
ExportPreConfigDevicesGlobalWithResponse Export preconfigured devices in GLOBAL view.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/migrate/exportPreDevice (the `ExportPreConfigDevicesGlobal` operationId).
func (*ClientWithResponses) ExportPreConfigDevicesWithResponse ¶
func (c *ClientWithResponses) ExportPreConfigDevicesWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*ExportPreConfigDevicesResponse, error)
ExportPreConfigDevicesWithResponse Export preconfigured devices of site.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/migrate/exportPreDevice (the `ExportPreConfigDevices` operationId).
func (*ClientWithResponses) ExportSiteDeviceListWithBodyWithResponse ¶
func (c *ClientWithResponses) ExportSiteDeviceListWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportSiteDeviceListResponse, error)
ExportSiteDeviceListWithBodyWithResponse Export device list of site
Export device list of site.
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}/devices/export (the `ExportSiteDeviceList` operationId).
func (*ClientWithResponses) ExportSiteDeviceListWithResponse ¶
func (c *ClientWithResponses) ExportSiteDeviceListWithResponse(ctx context.Context, omadacId string, siteId string, body ExportSiteDeviceListJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportSiteDeviceListResponse, error)
ExportSiteDeviceListWithResponse Export device list of site
Export device list of site.
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}/devices/export (the `ExportSiteDeviceList` operationId).
func (*ClientWithResponses) ForceProvisionDeviceWithResponse ¶
func (c *ClientWithResponses) ForceProvisionDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*ForceProvisionDeviceResponse, error)
ForceProvisionDeviceWithResponse Force provision device
Force provision device.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/force-provision (the `ForceProvisionDevice` operationId).
func (*ClientWithResponses) ForgetDeviceForMspWithResponse ¶
func (c *ClientWithResponses) ForgetDeviceForMspWithResponse(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*ForgetDeviceForMspResponse, error)
ForgetDeviceForMspWithResponse Forget one device in MSP view.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/forget (the `ForgetDeviceForMsp` operationId).
func (*ClientWithResponses) ForgetDeviceWithResponse ¶
func (c *ClientWithResponses) ForgetDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*ForgetDeviceResponse, error)
ForgetDeviceWithResponse Forget device
Forget device.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/forget (the `ForgetDevice` operationId).
func (*ClientWithResponses) GetAddDevicesStatusMultiSiteWithResponse ¶
func (c *ClientWithResponses) GetAddDevicesStatusMultiSiteWithResponse(ctx context.Context, omadacId string, operateId string, reqEditors ...RequestEditorFn) (*GetAddDevicesStatusMultiSiteResponse, error)
GetAddDevicesStatusMultiSiteWithResponse Batch get added device status with multi site
Batch get added device status with multi site.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/multi-devices/add/{operateId}/status (the `GetAddDevicesStatusMultiSite` operationId).
func (*ClientWithResponses) GetAddDevicesStatusWithResponse ¶
func (c *ClientWithResponses) GetAddDevicesStatusWithResponse(ctx context.Context, omadacId string, siteId string, operateId string, reqEditors ...RequestEditorFn) (*GetAddDevicesStatusResponse, error)
GetAddDevicesStatusWithResponse Batch get added device status
Batch get added device status.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/add/{operateId}/status (the `GetAddDevicesStatus` operationId).
func (*ClientWithResponses) GetAdoptAbleDevicesForGlobalBatchAdoptWithResponse ¶
func (c *ClientWithResponses) GetAdoptAbleDevicesForGlobalBatchAdoptWithResponse(ctx context.Context, omadacId string, params *GetAdoptAbleDevicesForGlobalBatchAdoptParams, reqEditors ...RequestEditorFn) (*GetAdoptAbleDevicesForGlobalBatchAdoptResponse, error)
GetAdoptAbleDevicesForGlobalBatchAdoptWithResponse Batch get info of adopted device in global view.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/devices/batch/info (the `GetAdoptAbleDevicesForGlobalBatchAdopt` operationId).
func (*ClientWithResponses) GetAdoptAbleDevicesForMspBatchAdoptWithResponse ¶
func (c *ClientWithResponses) GetAdoptAbleDevicesForMspBatchAdoptWithResponse(ctx context.Context, mspId string, params *GetAdoptAbleDevicesForMspBatchAdoptParams, reqEditors ...RequestEditorFn) (*GetAdoptAbleDevicesForMspBatchAdoptResponse, error)
GetAdoptAbleDevicesForMspBatchAdoptWithResponse Batch get info of adopted device in MSP view.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/msp/{mspId}/devices/batch/info (the `GetAdoptAbleDevicesForMspBatchAdopt` operationId).
func (*ClientWithResponses) GetAdoptTipWithResponse ¶
func (c *ClientWithResponses) GetAdoptTipWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetAdoptTipResponse, error)
GetAdoptTipWithResponse Get adopt tip
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/adopt-tip (the `GetAdoptTip` operationId).
func (*ClientWithResponses) GetAllDeviceBySiteWithResponse ¶
func (c *ClientWithResponses) GetAllDeviceBySiteWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetAllDeviceBySiteResponse, error)
GetAllDeviceBySiteWithResponse Get device list info.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/all (the `GetAllDeviceBySite` operationId).
func (*ClientWithResponses) GetAutoSelectDevicesWithBodyWithResponse ¶
func (c *ClientWithResponses) GetAutoSelectDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetAutoSelectDevicesResponse, error)
GetAutoSelectDevicesWithBodyWithResponse Get auto select devices in quick-config page.
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}/quick-action/network-wizard/auto-select-devices (the `GetAutoSelectDevices` operationId).
func (*ClientWithResponses) GetAutoSelectDevicesWithResponse ¶
func (c *ClientWithResponses) GetAutoSelectDevicesWithResponse(ctx context.Context, omadacId string, siteId string, body GetAutoSelectDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetAutoSelectDevicesResponse, error)
GetAutoSelectDevicesWithResponse Get auto select devices in quick-config page.
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}/quick-action/network-wizard/auto-select-devices (the `GetAutoSelectDevices` operationId).
func (*ClientWithResponses) GetBackupResultWithResponse ¶
func (c *ClientWithResponses) GetBackupResultWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetBackupResultResponse, error)
GetBackupResultWithResponse Get controller backup result
Get controller backup result.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/maintenance/backup/result (the `GetBackupResult` operationId).
func (*ClientWithResponses) GetBackupScheduleTaskWithResponse ¶
func (c *ClientWithResponses) GetBackupScheduleTaskWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetBackupScheduleTaskResponse, error)
GetBackupScheduleTaskWithResponse Get backup schedule task
Get backup schedule task.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/backupschedule/task (the `GetBackupScheduleTask` operationId).
func (*ClientWithResponses) GetCheckFirmwareTaskResultWithResponse ¶
func (c *ClientWithResponses) GetCheckFirmwareTaskResultWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*GetCheckFirmwareTaskResultResponse, error)
GetCheckFirmwareTaskResultWithResponse Get the result of the given check latest firmware task
Get the result of the firmware update task, containing a list of devices with firmware updates ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/all-devices/check-latest-firmware-tasks/{taskId} (the `GetCheckFirmwareTaskResult` operationId).
func (*ClientWithResponses) GetDeviceAccessMgmtSettingWithResponse ¶
func (c *ClientWithResponses) GetDeviceAccessMgmtSettingWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetDeviceAccessMgmtSettingResponse, error)
GetDeviceAccessMgmtSettingWithResponse Get device access management setting
Get device access management setting.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/device-mgmt (the `GetDeviceAccessMgmtSetting` operationId).
func (*ClientWithResponses) GetDeviceAdoptResultWithResponse ¶
func (c *ClientWithResponses) GetDeviceAdoptResultWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*GetDeviceAdoptResultResponse, error)
GetDeviceAdoptResultWithResponse Get device adopt result
Get device adopt result.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/adopt-result (the `GetDeviceAdoptResult` operationId).
func (*ClientWithResponses) GetDeviceIncidentCountsWithBodyWithResponse ¶
func (c *ClientWithResponses) GetDeviceIncidentCountsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetDeviceIncidentCountsResponse, error)
GetDeviceIncidentCountsWithBodyWithResponse Get site device incident counts
Get incident counts for the specified devices in a site.
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}/devices/incidents (the `GetDeviceIncidentCounts` operationId).
func (*ClientWithResponses) GetDeviceIncidentCountsWithResponse ¶
func (c *ClientWithResponses) GetDeviceIncidentCountsWithResponse(ctx context.Context, omadacId string, siteId string, body GetDeviceIncidentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetDeviceIncidentCountsResponse, error)
GetDeviceIncidentCountsWithResponse Get site device incident counts
Get incident counts for the specified devices in a site.
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}/devices/incidents (the `GetDeviceIncidentCounts` operationId).
func (*ClientWithResponses) GetDeviceListWithResponse ¶
func (c *ClientWithResponses) GetDeviceListWithResponse(ctx context.Context, omadacId string, siteId string, params *GetDeviceListParams, reqEditors ...RequestEditorFn) (*GetDeviceListResponse, error)
GetDeviceListWithResponse Get site device list
Get site device list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices (the `GetDeviceList` operationId).
func (*ClientWithResponses) GetDeviceRememberMeWithResponse ¶
func (c *ClientWithResponses) GetDeviceRememberMeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*GetDeviceRememberMeResponse, error)
GetDeviceRememberMeWithResponse Get device remember Config
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/remember (the `GetDeviceRememberMe` operationId).
func (*ClientWithResponses) GetDeviceWhiteListWithResponse ¶
func (c *ClientWithResponses) GetDeviceWhiteListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetDeviceWhiteListResponse, error)
GetDeviceWhiteListWithResponse Get the whitelist list of devices.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/device-white-list (the `GetDeviceWhiteList` operationId).
func (*ClientWithResponses) GetEligibleDeviceListWithResponse ¶
func (c *ClientWithResponses) GetEligibleDeviceListWithResponse(ctx context.Context, omadacId string, siteId string, params *GetEligibleDeviceListParams, reqEditors ...RequestEditorFn) (*GetEligibleDeviceListResponse, error)
GetEligibleDeviceListWithResponse Obtain the list of devices that can be monitored
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/eligible-device-grids (the `GetEligibleDeviceList` operationId).
func (*ClientWithResponses) GetEmailReminderSwitchStatusWithResponse ¶
func (c *ClientWithResponses) GetEmailReminderSwitchStatusWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetEmailReminderSwitchStatusResponse, error)
GetEmailReminderSwitchStatusWithResponse Get Email Reminder Switch Status
You can get email reminder switch status.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/mail/reminder (the `GetEmailReminderSwitchStatus` operationId).
func (*ClientWithResponses) GetFirmwareInfoWithResponse ¶
func (c *ClientWithResponses) GetFirmwareInfoWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*GetFirmwareInfoResponse, error)
GetFirmwareInfoWithResponse Get the latest firmware info of the device
Get latest firmware info of the device, including the latest firmware version and release logs.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/latest-firmware-info (the `GetFirmwareInfo` operationId).
func (*ClientWithResponses) GetForgetProcessWithResponse ¶
func (c *ClientWithResponses) GetForgetProcessWithResponse(ctx context.Context, omadacId string, siteId string, forgetId string, reqEditors ...RequestEditorFn) (*GetForgetProcessResponse, error)
GetForgetProcessWithResponse Get batch forget process
Get process of the batch forget operation. The expire time of result is 300 seconds.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/forget/{forgetId}/status (the `GetForgetProcess` operationId).
func (*ClientWithResponses) GetGlobalDeviceIncidentCountsWithBodyWithResponse ¶
func (c *ClientWithResponses) GetGlobalDeviceIncidentCountsWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetGlobalDeviceIncidentCountsResponse, error)
GetGlobalDeviceIncidentCountsWithBodyWithResponse Get global device incident counts
Get incident counts for the specified devices globally.
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}/devices/incidents (the `GetGlobalDeviceIncidentCounts` operationId).
func (*ClientWithResponses) GetGlobalDeviceIncidentCountsWithResponse ¶
func (c *ClientWithResponses) GetGlobalDeviceIncidentCountsWithResponse(ctx context.Context, omadacId string, body GetGlobalDeviceIncidentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetGlobalDeviceIncidentCountsResponse, error)
GetGlobalDeviceIncidentCountsWithResponse Get global device incident counts
Get incident counts for the specified devices globally.
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}/devices/incidents (the `GetGlobalDeviceIncidentCounts` operationId).
func (*ClientWithResponses) GetGlobalKnownDeviceListWithResponse ¶
func (c *ClientWithResponses) GetGlobalKnownDeviceListWithResponse(ctx context.Context, omadacId string, params *GetGlobalKnownDeviceListParams, reqEditors ...RequestEditorFn) (*GetGlobalKnownDeviceListResponse, error)
GetGlobalKnownDeviceListWithResponse Get global known device list
Get global known device list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/devices/known-devices (the `GetGlobalKnownDeviceList` operationId).
func (*ClientWithResponses) GetGlobalUnknownDeviceListWithResponse ¶
func (c *ClientWithResponses) GetGlobalUnknownDeviceListWithResponse(ctx context.Context, omadacId string, params *GetGlobalUnknownDeviceListParams, reqEditors ...RequestEditorFn) (*GetGlobalUnknownDeviceListResponse, error)
GetGlobalUnknownDeviceListWithResponse Get global unknown device list
Get global unknown device list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/devices/unknown-devices (the `GetGlobalUnknownDeviceList` operationId).
func (*ClientWithResponses) GetGridAdoptedBridgeDevicesBySiteWithResponse ¶
func (c *ClientWithResponses) GetGridAdoptedBridgeDevicesBySiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridAdoptedBridgeDevicesBySiteParams, reqEditors ...RequestEditorFn) (*GetGridAdoptedBridgeDevicesBySiteResponse, error)
GetGridAdoptedBridgeDevicesBySiteWithResponse Get Bridge group grouped devices
Get Bridge group grouped devices.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/bridge-devices/adopted (the `GetGridAdoptedBridgeDevicesBySite` operationId).
func (*ClientWithResponses) GetGridAdoptedDevicesStatByGlobalWithResponse ¶
func (c *ClientWithResponses) GetGridAdoptedDevicesStatByGlobalWithResponse(ctx context.Context, omadacId string, params *GetGridAdoptedDevicesStatByGlobalParams, reqEditors ...RequestEditorFn) (*GetGridAdoptedDevicesStatByGlobalResponse, error)
GetGridAdoptedDevicesStatByGlobalWithResponse Query the statistics for the list of global adopted devices.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/devices/stat (the `GetGridAdoptedDevicesStatByGlobal` operationId).
func (*ClientWithResponses) GetGridAutoCheckUpgradeWithResponse ¶
func (c *ClientWithResponses) GetGridAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, params *GetGridAutoCheckUpgradeParams, reqEditors ...RequestEditorFn) (*GetGridAutoCheckUpgradeResponse, error)
GetGridAutoCheckUpgradeWithResponse Get autocheck upgrade plan
Paging to get autocheck upgrade plan.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/autoCheck (the `GetGridAutoCheckUpgrade` operationId).
func (*ClientWithResponses) GetGridFirmwareListWithResponse ¶
func (c *ClientWithResponses) GetGridFirmwareListWithResponse(ctx context.Context, omadacId string, params *GetGridFirmwareListParams, reqEditors ...RequestEditorFn) (*GetGridFirmwareListResponse, error)
GetGridFirmwareListWithResponse Get the uploaded firmware list
Paging to get the uploaded firmware list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/firmwares (the `GetGridFirmwareList` operationId).
func (*ClientWithResponses) GetGridFirmwarePoolListWithResponse ¶
func (c *ClientWithResponses) GetGridFirmwarePoolListWithResponse(ctx context.Context, omadacId string, params *GetGridFirmwarePoolListParams, reqEditors ...RequestEditorFn) (*GetGridFirmwarePoolListResponse, error)
GetGridFirmwarePoolListWithResponse Get firmware pool list
Paging to get firmware pool list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/firmwares (the `GetGridFirmwarePoolList` operationId).
func (*ClientWithResponses) GetGridMonitorDeviceWithResponse ¶
func (c *ClientWithResponses) GetGridMonitorDeviceWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridMonitorDeviceParams, reqEditors ...RequestEditorFn) (*GetGridMonitorDeviceResponse, error)
GetGridMonitorDeviceWithResponse Get the intelli recover device list
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/grids (the `GetGridMonitorDevice` operationId).
func (*ClientWithResponses) GetGridPendingBridgeDevicesBySiteWithResponse ¶
func (c *ClientWithResponses) GetGridPendingBridgeDevicesBySiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridPendingBridgeDevicesBySiteParams, reqEditors ...RequestEditorFn) (*GetGridPendingBridgeDevicesBySiteResponse, error)
GetGridPendingBridgeDevicesBySiteWithResponse Get Bridge group ungrouped devices
Get Bridge group ungrouped devices.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/bridge-devices/pending (the `GetGridPendingBridgeDevicesBySite` operationId).
func (*ClientWithResponses) GetGridPendingDevicesBySiteWithResponse ¶
func (c *ClientWithResponses) GetGridPendingDevicesBySiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridPendingDevicesBySiteParams, reqEditors ...RequestEditorFn) (*GetGridPendingDevicesBySiteResponse, error)
GetGridPendingDevicesBySiteWithResponse Get adoptable device list of target site
Get adoptable device list of target site.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/devices/pending (the `GetGridPendingDevicesBySite` operationId).
func (*ClientWithResponses) GetGridPlanUpgradeModelListWithResponse ¶
func (c *ClientWithResponses) GetGridPlanUpgradeModelListWithResponse(ctx context.Context, omadacId string, params *GetGridPlanUpgradeModelListParams, reqEditors ...RequestEditorFn) (*GetGridPlanUpgradeModelListResponse, error)
GetGridPlanUpgradeModelListWithResponse Get the list of models
Get the list of models on the Controller upgrade plan page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/plan/models (the `GetGridPlanUpgradeModelList` operationId).
func (*ClientWithResponses) GetGridPlanUpgradeSiteListWithBodyWithResponse ¶
func (c *ClientWithResponses) GetGridPlanUpgradeSiteListWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetGridPlanUpgradeSiteListResponse, error)
GetGridPlanUpgradeSiteListWithBodyWithResponse Get the sites of the selected model
Paging to get the sites of the selected model.
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}/upgrade/plan/sites (the `GetGridPlanUpgradeSiteList` operationId).
func (*ClientWithResponses) GetGridPlanUpgradeSiteListWithResponse ¶
func (c *ClientWithResponses) GetGridPlanUpgradeSiteListWithResponse(ctx context.Context, omadacId string, body GetGridPlanUpgradeSiteListJSONRequestBody, reqEditors ...RequestEditorFn) (*GetGridPlanUpgradeSiteListResponse, error)
GetGridPlanUpgradeSiteListWithResponse Get the sites of the selected model
Paging to get the sites of the selected model.
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}/upgrade/plan/sites (the `GetGridPlanUpgradeSiteList` operationId).
func (*ClientWithResponses) GetGridUpgradeLogsWithResponse ¶
func (c *ClientWithResponses) GetGridUpgradeLogsWithResponse(ctx context.Context, omadacId string, params *GetGridUpgradeLogsParams, reqEditors ...RequestEditorFn) (*GetGridUpgradeLogsResponse, error)
GetGridUpgradeLogsWithResponse Get firmware upgrade logs
Paging to get firmware upgrade logs.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/logs (the `GetGridUpgradeLogs` operationId).
func (*ClientWithResponses) GetGridUpgradePlansWithResponse ¶
func (c *ClientWithResponses) GetGridUpgradePlansWithResponse(ctx context.Context, omadacId string, params *GetGridUpgradePlansParams, reqEditors ...RequestEditorFn) (*GetGridUpgradePlansResponse, error)
GetGridUpgradePlansWithResponse Get firmware upgrade plans
Paging to get firmware upgrade plans.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/plans (the `GetGridUpgradePlans` operationId).
func (*ClientWithResponses) GetIntelliRecoverSettingWithResponse ¶
func (c *ClientWithResponses) GetIntelliRecoverSettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetIntelliRecoverSettingResponse, error)
GetIntelliRecoverSettingWithResponse Get intelli recover setting
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/intelli-recover/auto-setting/config (the `GetIntelliRecoverSetting` operationId).
func (*ClientWithResponses) GetManuallyUpgradeResWithResponse ¶
func (c *ClientWithResponses) GetManuallyUpgradeResWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*GetManuallyUpgradeResResponse, error)
GetManuallyUpgradeResWithResponse Get the result of the given manually upgrade task
Get the result of the manually upgrade task. The results include whether the task is finished and how many devices have not completed the upgrade.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/manually-upgrade-tasks/{taskId} (the `GetManuallyUpgradeRes` operationId).
func (*ClientWithResponses) GetModelBySitesWithBodyWithResponse ¶
func (c *ClientWithResponses) GetModelBySitesWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetModelBySitesResponse, error)
GetModelBySitesWithBodyWithResponse Get the model of the specified site
Get the model of the specified site. If no site is specified, it defaults to all authorized sites
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}/upgrade/models (the `GetModelBySites` operationId).
func (*ClientWithResponses) GetModelBySitesWithResponse ¶
func (c *ClientWithResponses) GetModelBySitesWithResponse(ctx context.Context, omadacId string, body GetModelBySitesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetModelBySitesResponse, error)
GetModelBySitesWithResponse Get the model of the specified site
Get the model of the specified site. If no site is specified, it defaults to all authorized sites
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}/upgrade/models (the `GetModelBySites` operationId).
func (*ClientWithResponses) GetModelFirmwareReleaseNotesWithBodyWithResponse ¶
func (c *ClientWithResponses) GetModelFirmwareReleaseNotesWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetModelFirmwareReleaseNotesResponse, error)
GetModelFirmwareReleaseNotesWithBodyWithResponse Get release notes information
Get release notes information of a firmware series.
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}/upgrade/overview/firmwares/release-note (the `GetModelFirmwareReleaseNotes` operationId).
func (*ClientWithResponses) GetModelFirmwareReleaseNotesWithResponse ¶
func (c *ClientWithResponses) GetModelFirmwareReleaseNotesWithResponse(ctx context.Context, omadacId string, body GetModelFirmwareReleaseNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetModelFirmwareReleaseNotesResponse, error)
GetModelFirmwareReleaseNotesWithResponse Get release notes information
Get release notes information of a firmware series.
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}/upgrade/overview/firmwares/release-note (the `GetModelFirmwareReleaseNotes` operationId).
func (*ClientWithResponses) GetMoveSiteProcessWithResponse ¶
func (c *ClientWithResponses) GetMoveSiteProcessWithResponse(ctx context.Context, omadacId string, siteId string, moveSiteId string, reqEditors ...RequestEditorFn) (*GetMoveSiteProcessResponse, error)
GetMoveSiteProcessWithResponse Get batch move site process
Get process of the batch move site operation. The expire time of result is 300 seconds.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/move/{moveSiteId}/status (the `GetMoveSiteProcess` operationId).
func (*ClientWithResponses) GetMspAdoptTipWithResponse ¶
func (c *ClientWithResponses) GetMspAdoptTipWithResponse(ctx context.Context, mspId string, reqEditors ...RequestEditorFn) (*GetMspAdoptTipResponse, error)
GetMspAdoptTipWithResponse MSP get adopt tip
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/msp/{mspId}/adopt-tip (the `GetMspAdoptTip` operationId).
func (*ClientWithResponses) GetOnlineTimelineWithResponse ¶
func (c *ClientWithResponses) GetOnlineTimelineWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, params *GetOnlineTimelineParams, reqEditors ...RequestEditorFn) (*GetOnlineTimelineResponse, error)
GetOnlineTimelineWithResponse Get device online timeline
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/timeline (the `GetOnlineTimeline` operationId).
func (*ClientWithResponses) GetOnlineUpgradeResWithResponse ¶
func (c *ClientWithResponses) GetOnlineUpgradeResWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*GetOnlineUpgradeResResponse, error)
GetOnlineUpgradeResWithResponse Get online upgrade result
Get the result of the online upgrade.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/online-upgrade-result (the `GetOnlineUpgradeRes` operationId).
func (*ClientWithResponses) GetPlanUpgradeModelInfoWithBodyWithResponse ¶
func (c *ClientWithResponses) GetPlanUpgradeModelInfoWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetPlanUpgradeModelInfoResponse, error)
GetPlanUpgradeModelInfoWithBodyWithResponse Get the upgradeable information of the selected model
Get the upgradeable information of the selected model.
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}/upgrade/plan/firmware (the `GetPlanUpgradeModelInfo` operationId).
func (*ClientWithResponses) GetPlanUpgradeModelInfoWithResponse ¶
func (c *ClientWithResponses) GetPlanUpgradeModelInfoWithResponse(ctx context.Context, omadacId string, body GetPlanUpgradeModelInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*GetPlanUpgradeModelInfoResponse, error)
GetPlanUpgradeModelInfoWithResponse Get the upgradeable information of the selected model
Get the upgradeable information of the selected model.
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}/upgrade/plan/firmware (the `GetPlanUpgradeModelInfo` operationId).
func (*ClientWithResponses) GetPoePortsListWithResponse ¶
func (c *ClientWithResponses) GetPoePortsListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetPoePortsListResponse, error)
GetPoePortsListWithResponse Get PoE ports list
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/poe-ports (the `GetPoePortsList` operationId).
func (*ClientWithResponses) GetPoeScheduleListWithResponse ¶
func (c *ClientWithResponses) GetPoeScheduleListWithResponse(ctx context.Context, omadacId string, siteId string, params *GetPoeScheduleListParams, reqEditors ...RequestEditorFn) (*GetPoeScheduleListResponse, error)
GetPoeScheduleListWithResponse Get PoE schedule list
Get poe schedule list.(Pagination)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules (the `GetPoeScheduleList` operationId).
func (*ClientWithResponses) GetPortScheduleListTemplateWithResponse ¶
func (c *ClientWithResponses) GetPortScheduleListTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetPortScheduleListTemplateResponse, error)
GetPortScheduleListTemplateWithResponse Get port Schedule list
Get port Schedule list with the given omadacId and siteTemplateId.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules (the `GetPortScheduleListTemplate` operationId).
func (*ClientWithResponses) GetPortScheduleListWithResponse ¶
func (c *ClientWithResponses) GetPortScheduleListWithResponse(ctx context.Context, omadacId string, siteId string, params *GetPortScheduleListParams, reqEditors ...RequestEditorFn) (*GetPortScheduleListResponse, error)
GetPortScheduleListWithResponse Get port schedule list
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/port-schedules (the `GetPortScheduleList` operationId).
func (*ClientWithResponses) GetPortSchedulePortsWithResponse ¶
func (c *ClientWithResponses) GetPortSchedulePortsWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetPortSchedulePortsResponse, error)
GetPortSchedulePortsWithResponse Get device ports list supporting port schedule
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/port-status-ports (the `GetPortSchedulePorts` operationId).
func (*ClientWithResponses) GetRebootScheduleList1WithResponse ¶
func (c *ClientWithResponses) GetRebootScheduleList1WithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetRebootScheduleList1Response, error)
GetRebootScheduleList1WithResponse Get reboot schedule list
Get reboot schedule list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules (the `GetRebootScheduleList1` operationId).
func (*ClientWithResponses) GetRebootScheduleListWithResponse ¶
func (c *ClientWithResponses) GetRebootScheduleListWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetRebootScheduleListResponse, error)
GetRebootScheduleListWithResponse Get reboot schedule template list
Get reboot schedule list template.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules (the `GetRebootScheduleList` operationId).
func (*ClientWithResponses) GetRestoreResultWithResponse ¶
func (c *ClientWithResponses) GetRestoreResultWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetRestoreResultResponse, error)
GetRestoreResultWithResponse Get controller restore result
Get controller restore result.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/maintenance/restore/result (the `GetRestoreResult` operationId).
func (*ClientWithResponses) GetRollingUpgradeResWithResponse ¶
func (c *ClientWithResponses) GetRollingUpgradeResWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*GetRollingUpgradeResResponse, error)
GetRollingUpgradeResWithResponse Get the result of the given rolling upgrade task
Get the result of the rolling upgrade task. The results include whether the task is finished and how many devices have not completed the upgrade.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/rolling-upgrade-tasks/{taskId} (the `GetRollingUpgradeRes` operationId).
func (*ClientWithResponses) GetSelfServerFileListWithResponse ¶
func (c *ClientWithResponses) GetSelfServerFileListWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetSelfServerFileListResponse, error)
GetSelfServerFileListWithResponse Get controller backup file list in self server
Get controller backup file list in self server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/maintenance/backup/files (the `GetSelfServerFileList` operationId).
func (*ClientWithResponses) GetSelfServerSiteFileListWithResponse ¶
func (c *ClientWithResponses) GetSelfServerSiteFileListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSelfServerSiteFileListResponse, error)
GetSelfServerSiteFileListWithResponse Get site backup file list in self server
Get site backup file list in self server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/maintenance/backup/files (the `GetSelfServerSiteFileList` operationId).
func (*ClientWithResponses) GetSingleForgetProcessWithResponse ¶
func (c *ClientWithResponses) GetSingleForgetProcessWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, forgetId string, reqEditors ...RequestEditorFn) (*GetSingleForgetProcessResponse, error)
GetSingleForgetProcessWithResponse Get forget process of device
Get forget process of one device from batch-forget. The expire time of result for each device is 300 seconds.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/forget/{forgetId}/status (the `GetSingleForgetProcess` operationId).
func (*ClientWithResponses) GetSingleMoveSiteProcessWithResponse ¶
func (c *ClientWithResponses) GetSingleMoveSiteProcessWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, moveSiteId string, reqEditors ...RequestEditorFn) (*GetSingleMoveSiteProcessResponse, error)
GetSingleMoveSiteProcessWithResponse Get move site process of device
Get move site process of one device from batch-move-site. The expire time of result for each device is 300 seconds
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/move/{moveSiteId}/status (the `GetSingleMoveSiteProcess` operationId).
func (*ClientWithResponses) GetSiteBackupResultWithResponse ¶
func (c *ClientWithResponses) GetSiteBackupResultWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSiteBackupResultResponse, error)
GetSiteBackupResultWithResponse Get site backup result
Get site backup result.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/backup/result (the `GetSiteBackupResult` operationId).
func (*ClientWithResponses) GetTagsWithResponse ¶
func (c *ClientWithResponses) GetTagsWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetTagsResponse, error)
GetTagsWithResponse Get tag list
Get tag list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `GetTags` operationId).
func (*ClientWithResponses) GetTargetFirmwareAllSitesWithResponse ¶
func (c *ClientWithResponses) GetTargetFirmwareAllSitesWithResponse(ctx context.Context, omadacId string, firmwareId string, reqEditors ...RequestEditorFn) (*GetTargetFirmwareAllSitesResponse, error)
GetTargetFirmwareAllSitesWithResponse Get all sites of target firmware
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/firmwares/{firmwareId}/target-sites (the `GetTargetFirmwareAllSites` operationId).
func (*ClientWithResponses) GetTryBetaChannelWithResponse ¶
func (c *ClientWithResponses) GetTryBetaChannelWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetTryBetaChannelResponse, error)
GetTryBetaChannelWithResponse Get try-beta Channel Info
You can get try-beta channel info.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/try-beta/channel (the `GetTryBetaChannel` operationId).
func (*ClientWithResponses) GetTryBetaStatusWithResponse ¶
func (c *ClientWithResponses) GetTryBetaStatusWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetTryBetaStatusResponse, error)
GetTryBetaStatusWithResponse Get try-beta switch status
You can get try-beta switch status.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/try-beta (the `GetTryBetaStatus` operationId).
func (*ClientWithResponses) GetUpgradeFailedDeviceFirmwareInfoWithResponse ¶
func (c *ClientWithResponses) GetUpgradeFailedDeviceFirmwareInfoWithResponse(ctx context.Context, omadacId string, upgradeLogId string, reqEditors ...RequestEditorFn) (*GetUpgradeFailedDeviceFirmwareInfoResponse, error)
GetUpgradeFailedDeviceFirmwareInfoWithResponse Get firmware information about the failed device to be upgraded
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-model-firmware (the `GetUpgradeFailedDeviceFirmwareInfo` operationId).
func (*ClientWithResponses) GetUpgradeFailedDeviceInfosWithResponse ¶
func (c *ClientWithResponses) GetUpgradeFailedDeviceInfosWithResponse(ctx context.Context, omadacId string, upgradeLogId string, params *GetUpgradeFailedDeviceInfosParams, reqEditors ...RequestEditorFn) (*GetUpgradeFailedDeviceInfosResponse, error)
GetUpgradeFailedDeviceInfosWithResponse Get the list of devices which upgrade failed
Get the list of devices which upgrade failed through upgrade logs.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-devices (the `GetUpgradeFailedDeviceInfos` operationId).
func (*ClientWithResponses) GetUpgradeScheduleListWithResponse ¶
func (c *ClientWithResponses) GetUpgradeScheduleListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetUpgradeScheduleListResponse, error)
GetUpgradeScheduleListWithResponse Get upgrade schedule list
Get upgrade schedule list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules (the `GetUpgradeScheduleList` operationId).
func (*ClientWithResponses) GetUplinkDeviceInfoWithBodyWithResponse ¶
func (c *ClientWithResponses) GetUplinkDeviceInfoWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetUplinkDeviceInfoResponse, error)
GetUplinkDeviceInfoWithBodyWithResponse Query uplink information for specified device MAC addresses under the site.
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}/devices/uplink-info (the `GetUplinkDeviceInfo` operationId).
func (*ClientWithResponses) GetUplinkDeviceInfoWithResponse ¶
func (c *ClientWithResponses) GetUplinkDeviceInfoWithResponse(ctx context.Context, omadacId string, siteId string, body GetUplinkDeviceInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*GetUplinkDeviceInfoResponse, error)
GetUplinkDeviceInfoWithResponse Query uplink information for specified device MAC addresses under the site.
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}/devices/uplink-info (the `GetUplinkDeviceInfo` operationId).
func (*ClientWithResponses) GetcriticalModelNumWithResponse ¶
func (c *ClientWithResponses) GetcriticalModelNumWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetcriticalModelNumResponse, error)
GetcriticalModelNumWithResponse Get the number of critical models
You can get the number of critical models.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/critical (the `GetcriticalModelNum` operationId).
func (*ClientWithResponses) LocateDeviceWithBodyWithResponse ¶
func (c *ClientWithResponses) LocateDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LocateDeviceResponse, error)
LocateDeviceWithBodyWithResponse Locate device
Locate device.
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}/devices/{deviceMac}/locate (the `LocateDevice` operationId).
func (*ClientWithResponses) LocateDeviceWithResponse ¶
func (c *ClientWithResponses) LocateDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body LocateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*LocateDeviceResponse, error)
LocateDeviceWithResponse Locate device
Locate device.
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}/devices/{deviceMac}/locate (the `LocateDevice` operationId).
func (*ClientWithResponses) LocatePortsWithBodyWithResponse ¶
func (c *ClientWithResponses) LocatePortsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LocatePortsResponse, error)
LocatePortsWithBodyWithResponse Locate multiple ports of multiple switches
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}/devices/locate/switch-ports (the `LocatePorts` operationId).
func (*ClientWithResponses) LocatePortsWithResponse ¶
func (c *ClientWithResponses) LocatePortsWithResponse(ctx context.Context, omadacId string, siteId string, body LocatePortsJSONRequestBody, reqEditors ...RequestEditorFn) (*LocatePortsResponse, error)
LocatePortsWithResponse Locate multiple ports of multiple switches
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}/devices/locate/switch-ports (the `LocatePorts` operationId).
func (*ClientWithResponses) ManuallyUpgradeWithBodyWithResponse ¶
func (c *ClientWithResponses) ManuallyUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManuallyUpgradeResponse, error)
ManuallyUpgradeWithBodyWithResponse Start manually upgrade
Manually upgrade the devices of the same model in the site. The firmware needs to be uploaded first. Note: Each site can only execute one multi-device upgrade task at a time, and there is a number limit of the tasks that can be executed simultaneously in the controller.
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}/multi-devices/start-manually-upgrade (the `ManuallyUpgrade` operationId).
func (*ClientWithResponses) ManuallyUpgradeWithResponse ¶
func (c *ClientWithResponses) ManuallyUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, body ManuallyUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*ManuallyUpgradeResponse, error)
ManuallyUpgradeWithResponse Start manually upgrade
Manually upgrade the devices of the same model in the site. The firmware needs to be uploaded first. Note: Each site can only execute one multi-device upgrade task at a time, and there is a number limit of the tasks that can be executed simultaneously in the controller.
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}/multi-devices/start-manually-upgrade (the `ManuallyUpgrade` operationId).
func (*ClientWithResponses) ModifyBackupScheduleTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyBackupScheduleTaskWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyBackupScheduleTaskResponse, error)
ModifyBackupScheduleTaskWithBodyWithResponse Modify backup schedule task
Modify backup schedule task.
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}/backupschedule/task (the `ModifyBackupScheduleTask` operationId).
func (*ClientWithResponses) ModifyBackupScheduleTaskWithResponse ¶
func (c *ClientWithResponses) ModifyBackupScheduleTaskWithResponse(ctx context.Context, omadacId string, body ModifyBackupScheduleTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyBackupScheduleTaskResponse, error)
ModifyBackupScheduleTaskWithResponse Modify backup schedule task
Modify backup schedule task.
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}/backupschedule/task (the `ModifyBackupScheduleTask` operationId).
func (*ClientWithResponses) ModifyDeviceAccessMgmtSettingWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyDeviceAccessMgmtSettingWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyDeviceAccessMgmtSettingResponse, error)
ModifyDeviceAccessMgmtSettingWithBodyWithResponse Modify device access management setting
Modify device access management setting.
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}/device-mgmt (the `ModifyDeviceAccessMgmtSetting` operationId).
func (*ClientWithResponses) ModifyDeviceAccessMgmtSettingWithResponse ¶
func (c *ClientWithResponses) ModifyDeviceAccessMgmtSettingWithResponse(ctx context.Context, omadacId string, body ModifyDeviceAccessMgmtSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyDeviceAccessMgmtSettingResponse, error)
ModifyDeviceAccessMgmtSettingWithResponse Modify device access management setting
Modify device access management setting.
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}/device-mgmt (the `ModifyDeviceAccessMgmtSetting` operationId).
func (*ClientWithResponses) ModifyDeviceRememberMeWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyDeviceRememberMeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyDeviceRememberMeResponse, error)
ModifyDeviceRememberMeWithBodyWithResponse Modify device remember Config
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}/devices/{deviceMac}/remember (the `ModifyDeviceRememberMe` operationId).
func (*ClientWithResponses) ModifyDeviceRememberMeWithResponse ¶
func (c *ClientWithResponses) ModifyDeviceRememberMeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body ModifyDeviceRememberMeJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyDeviceRememberMeResponse, error)
ModifyDeviceRememberMeWithResponse Modify device remember Config
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}/devices/{deviceMac}/remember (the `ModifyDeviceRememberMe` operationId).
func (*ClientWithResponses) ModifyEmailReminderSwitchStatusWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyEmailReminderSwitchStatusWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyEmailReminderSwitchStatusResponse, error)
ModifyEmailReminderSwitchStatusWithBodyWithResponse Modify Email Reminder Switch Status
You can modify email reminder switch status.
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}/upgrade/overview/mail/reminder (the `ModifyEmailReminderSwitchStatus` operationId).
func (*ClientWithResponses) ModifyEmailReminderSwitchStatusWithResponse ¶
func (c *ClientWithResponses) ModifyEmailReminderSwitchStatusWithResponse(ctx context.Context, omadacId string, body ModifyEmailReminderSwitchStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyEmailReminderSwitchStatusResponse, error)
ModifyEmailReminderSwitchStatusWithResponse Modify Email Reminder Switch Status
You can modify email reminder switch status.
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}/upgrade/overview/mail/reminder (the `ModifyEmailReminderSwitchStatus` operationId).
func (*ClientWithResponses) ModifyIntelliRecoverSettingWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyIntelliRecoverSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyIntelliRecoverSettingResponse, error)
ModifyIntelliRecoverSettingWithBodyWithResponse Modify intelli recover setting
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}/intelli-recover/auto-setting/modify (the `ModifyIntelliRecoverSetting` operationId).
func (*ClientWithResponses) ModifyIntelliRecoverSettingWithResponse ¶
func (c *ClientWithResponses) ModifyIntelliRecoverSettingWithResponse(ctx context.Context, omadacId string, siteId string, body ModifyIntelliRecoverSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyIntelliRecoverSettingResponse, error)
ModifyIntelliRecoverSettingWithResponse Modify intelli recover setting
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}/intelli-recover/auto-setting/modify (the `ModifyIntelliRecoverSetting` operationId).
func (*ClientWithResponses) ModifyPoeScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyPoeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, poeScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyPoeScheduleResponse, error)
ModifyPoeScheduleWithBodyWithResponse Modify PoE Schedule
Modify Poe Schedule.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `ModifyPoeSchedule` operationId).
func (*ClientWithResponses) ModifyPoeScheduleWithResponse ¶
func (c *ClientWithResponses) ModifyPoeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, poeScheduleId string, body ModifyPoeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyPoeScheduleResponse, error)
ModifyPoeScheduleWithResponse Modify PoE Schedule
Modify Poe Schedule.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `ModifyPoeSchedule` operationId).
func (*ClientWithResponses) ModifyPortScheduleTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyPortScheduleTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyPortScheduleTemplateResponse, error)
ModifyPortScheduleTemplateWithBodyWithResponse Modify a Port Schedule Template
Modify a Port Schedule Template with the given params.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `ModifyPortScheduleTemplate` operationId).
func (*ClientWithResponses) ModifyPortScheduleTemplateWithResponse ¶
func (c *ClientWithResponses) ModifyPortScheduleTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, body ModifyPortScheduleTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyPortScheduleTemplateResponse, error)
ModifyPortScheduleTemplateWithResponse Modify a Port Schedule Template
Modify a Port Schedule Template with the given params.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `ModifyPortScheduleTemplate` operationId).
func (*ClientWithResponses) ModifyPortScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyPortScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, portScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyPortScheduleResponse, error)
ModifyPortScheduleWithBodyWithResponse Modify Port Schedule
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `ModifyPortSchedule` operationId).
func (*ClientWithResponses) ModifyPortScheduleWithResponse ¶
func (c *ClientWithResponses) ModifyPortScheduleWithResponse(ctx context.Context, omadacId string, siteId string, portScheduleId string, body ModifyPortScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyPortScheduleResponse, error)
ModifyPortScheduleWithResponse Modify Port Schedule
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `ModifyPortSchedule` operationId).
func (*ClientWithResponses) ModifyRebootSchedule1WithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyRebootSchedule1WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyRebootSchedule1Response, error)
ModifyRebootSchedule1WithBodyWithResponse Modify reboot schedule
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `ModifyRebootSchedule1` operationId).
func (*ClientWithResponses) ModifyRebootSchedule1WithResponse ¶
func (c *ClientWithResponses) ModifyRebootSchedule1WithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifyRebootSchedule1JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyRebootSchedule1Response, error)
ModifyRebootSchedule1WithResponse Modify reboot schedule
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `ModifyRebootSchedule1` operationId).
func (*ClientWithResponses) ModifyRebootScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyRebootScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyRebootScheduleResponse, error)
ModifyRebootScheduleWithBodyWithResponse Modify reboot schedule 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 PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `ModifyRebootSchedule` operationId).
func (*ClientWithResponses) ModifyRebootScheduleWithResponse ¶
func (c *ClientWithResponses) ModifyRebootScheduleWithResponse(ctx context.Context, omadacId string, siteTemplateId string, id string, body ModifyRebootScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyRebootScheduleResponse, error)
ModifyRebootScheduleWithResponse Modify reboot schedule template
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `ModifyRebootSchedule` operationId).
func (*ClientWithResponses) ModifyReplaceRecordWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyReplaceRecordWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyReplaceRecordResponse, error)
ModifyReplaceRecordWithBodyWithResponse Modify replace record
Modify replace record.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `ModifyReplaceRecord` operationId).
func (*ClientWithResponses) ModifyReplaceRecordWithResponse ¶
func (c *ClientWithResponses) ModifyReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body ModifyReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyReplaceRecordResponse, error)
ModifyReplaceRecordWithResponse Modify replace record
Modify replace record.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `ModifyReplaceRecord` operationId).
func (*ClientWithResponses) ModifyTagWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyTagResponse, error)
ModifyTagWithBodyWithResponse Modify an existing tag
Modify an existing tag.
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}/devices/tag (the `ModifyTag` operationId).
func (*ClientWithResponses) ModifyTagWithResponse ¶
func (c *ClientWithResponses) ModifyTagWithResponse(ctx context.Context, omadacId string, siteId string, body ModifyTagJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyTagResponse, error)
ModifyTagWithResponse Modify an existing tag
Modify an existing tag.
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}/devices/tag (the `ModifyTag` operationId).
func (*ClientWithResponses) ModifyTryBetaChannelWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyTryBetaChannelWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyTryBetaChannelResponse, error)
ModifyTryBetaChannelWithBodyWithResponse Modify try-beta Channel Info
You can modify try-beta channel info.
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}/upgrade/overview/try-beta/channel (the `ModifyTryBetaChannel` operationId).
func (*ClientWithResponses) ModifyTryBetaChannelWithResponse ¶
func (c *ClientWithResponses) ModifyTryBetaChannelWithResponse(ctx context.Context, omadacId string, body ModifyTryBetaChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyTryBetaChannelResponse, error)
ModifyTryBetaChannelWithResponse Modify try-beta Channel Info
You can modify try-beta channel info.
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}/upgrade/overview/try-beta/channel (the `ModifyTryBetaChannel` operationId).
func (*ClientWithResponses) ModifyTryBetaStatusWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyTryBetaStatusWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyTryBetaStatusResponse, error)
ModifyTryBetaStatusWithBodyWithResponse Modify try-beta switch status
You can modify the try-beta switch status.
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}/upgrade/overview/try-beta (the `ModifyTryBetaStatus` operationId).
func (*ClientWithResponses) ModifyTryBetaStatusWithResponse ¶
func (c *ClientWithResponses) ModifyTryBetaStatusWithResponse(ctx context.Context, omadacId string, body ModifyTryBetaStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyTryBetaStatusResponse, error)
ModifyTryBetaStatusWithResponse Modify try-beta switch status
You can modify the try-beta switch status.
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}/upgrade/overview/try-beta (the `ModifyTryBetaStatus` operationId).
func (*ClientWithResponses) ModifyUpgradeScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyUpgradeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyUpgradeScheduleResponse, error)
ModifyUpgradeScheduleWithBodyWithResponse Modify upgrade schedule
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `ModifyUpgradeSchedule` operationId).
func (*ClientWithResponses) ModifyUpgradeScheduleWithResponse ¶
func (c *ClientWithResponses) ModifyUpgradeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifyUpgradeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyUpgradeScheduleResponse, error)
ModifyUpgradeScheduleWithResponse Modify upgrade schedule
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `ModifyUpgradeSchedule` operationId).
func (*ClientWithResponses) MoveSiteForApsWithBodyWithResponse ¶
func (c *ClientWithResponses) MoveSiteForApsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveSiteForApsResponse, error)
MoveSiteForApsWithBodyWithResponse Move aps to another site
Move aps to another site. If you want to move networked bridge APs, ensure all APs in the bridge network are in movable state and move them at the same time. This interface will not move non-AP devices.
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}/aps/site-move (the `MoveSiteForAps` operationId).
func (*ClientWithResponses) MoveSiteForApsWithResponse ¶
func (c *ClientWithResponses) MoveSiteForApsWithResponse(ctx context.Context, omadacId string, siteId string, body MoveSiteForApsJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveSiteForApsResponse, error)
MoveSiteForApsWithResponse Move aps to another site
Move aps to another site. If you want to move networked bridge APs, ensure all APs in the bridge network are in movable state and move them at the same time. This interface will not move non-AP devices.
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}/aps/site-move (the `MoveSiteForAps` operationId).
func (*ClientWithResponses) MoveSiteWithBodyWithResponse ¶
func (c *ClientWithResponses) MoveSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveSiteResponse, error)
MoveSiteWithBodyWithResponse Move site
Move the device to another site. If you want to move a networked bridge AP, use the "batch move ap site" interface to move all APs in the bridge network at the same time.
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}/devices/{deviceMac}/site-move (the `MoveSite` operationId).
func (*ClientWithResponses) MoveSiteWithResponse ¶
func (c *ClientWithResponses) MoveSiteWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body MoveSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveSiteResponse, error)
MoveSiteWithResponse Move site
Move the device to another site. If you want to move a networked bridge AP, use the "batch move ap site" interface to move all APs in the bridge network at the same time.
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}/devices/{deviceMac}/site-move (the `MoveSite` operationId).
func (*ClientWithResponses) OnlineCheckUpgradeWithResponse ¶
func (c *ClientWithResponses) OnlineCheckUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*OnlineCheckUpgradeResponse, error)
OnlineCheckUpgradeWithResponse Start check latest firmware for all devices
Start a task to query the latest firmware of all devices in the cloud.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/all-devices/start-check-latest-firmware (the `OnlineCheckUpgrade` operationId).
func (*ClientWithResponses) OnlineRollingUpgradeByQueryWithBodyWithResponse ¶
func (c *ClientWithResponses) OnlineRollingUpgradeByQueryWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, params *OnlineRollingUpgradeByQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OnlineRollingUpgradeByQueryResponse, error)
OnlineRollingUpgradeByQueryWithBodyWithResponse Start batch rolling upgrade By Query
Perform batch online upgrades of devices in a specific order within the site, and filter them using filter conditions. It is recommended to check the firmware update status before the operation, otherwise the firmware may not be the latest version
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}/cmd/devices/onlineRollingUpgrade (the `OnlineRollingUpgradeByQuery` operationId).
func (*ClientWithResponses) OnlineRollingUpgradeByQueryWithResponse ¶
func (c *ClientWithResponses) OnlineRollingUpgradeByQueryWithResponse(ctx context.Context, omadacId string, siteId string, params *OnlineRollingUpgradeByQueryParams, body OnlineRollingUpgradeByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*OnlineRollingUpgradeByQueryResponse, error)
OnlineRollingUpgradeByQueryWithResponse Start batch rolling upgrade By Query
Perform batch online upgrades of devices in a specific order within the site, and filter them using filter conditions. It is recommended to check the firmware update status before the operation, otherwise the firmware may not be the latest version
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}/cmd/devices/onlineRollingUpgrade (the `OnlineRollingUpgradeByQuery` operationId).
func (*ClientWithResponses) OnlineRollingUpgradeWithBodyWithResponse ¶
func (c *ClientWithResponses) OnlineRollingUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OnlineRollingUpgradeResponse, error)
OnlineRollingUpgradeWithBodyWithResponse Start batch rolling upgrade
Batch online upgrade the devices in a certain order in the site. It is suggested to check firmware update before the operation, or the firmware might not be the latest
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}/multi-devices/start-rolling-upgrade (the `OnlineRollingUpgrade` operationId).
func (*ClientWithResponses) OnlineRollingUpgradeWithResponse ¶
func (c *ClientWithResponses) OnlineRollingUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, body OnlineRollingUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*OnlineRollingUpgradeResponse, error)
OnlineRollingUpgradeWithResponse Start batch rolling upgrade
Batch online upgrade the devices in a certain order in the site. It is suggested to check firmware update before the operation, or the firmware might not be the latest
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}/multi-devices/start-rolling-upgrade (the `OnlineRollingUpgrade` operationId).
func (*ClientWithResponses) OnlineUpgradeWithResponse ¶
func (c *ClientWithResponses) OnlineUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*OnlineUpgradeResponse, error)
OnlineUpgradeWithResponse Start online upgrade
Upgrade the device with the latest firmware in the cloud. It is suggested to check firmware update before the operation, or the firmware might not be the latest
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/start-online-upgrade (the `OnlineUpgrade` operationId).
func (*ClientWithResponses) RebootDeviceUplinkPoeWithBodyWithResponse ¶
func (c *ClientWithResponses) RebootDeviceUplinkPoeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebootDeviceUplinkPoeResponse, error)
RebootDeviceUplinkPoeWithBodyWithResponse Reboot the device uplinkDevice poe
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}/monitor-device/reboot-uplink-poe (the `RebootDeviceUplinkPoe` operationId).
func (*ClientWithResponses) RebootDeviceUplinkPoeWithResponse ¶
func (c *ClientWithResponses) RebootDeviceUplinkPoeWithResponse(ctx context.Context, omadacId string, siteId string, body RebootDeviceUplinkPoeJSONRequestBody, reqEditors ...RequestEditorFn) (*RebootDeviceUplinkPoeResponse, error)
RebootDeviceUplinkPoeWithResponse Reboot the device uplinkDevice poe
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}/monitor-device/reboot-uplink-poe (the `RebootDeviceUplinkPoe` operationId).
func (*ClientWithResponses) RebootDeviceWithResponse ¶
func (c *ClientWithResponses) RebootDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*RebootDeviceResponse, error)
RebootDeviceWithResponse Reboot device
Reboot device.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/reboot (the `RebootDevice` operationId).
func (*ClientWithResponses) RemovePortScheduleTemplateWithResponse ¶
func (c *ClientWithResponses) RemovePortScheduleTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, reqEditors ...RequestEditorFn) (*RemovePortScheduleTemplateResponse, error)
RemovePortScheduleTemplateWithResponse Delete Port Schedule Template
Delete Port Schedule Template with the given params.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `RemovePortScheduleTemplate` operationId).
func (*ClientWithResponses) RestoreFileServerWithBodyWithResponse ¶
func (c *ClientWithResponses) RestoreFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreFileServerResponse, error)
RestoreFileServerWithBodyWithResponse Restore controller config from file server
Restore controller config from file server.
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}/maintenance/restore/file-server (the `RestoreFileServer` operationId).
func (*ClientWithResponses) RestoreFileServerWithResponse ¶
func (c *ClientWithResponses) RestoreFileServerWithResponse(ctx context.Context, omadacId string, body RestoreFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreFileServerResponse, error)
RestoreFileServerWithResponse Restore controller config from file server
Restore controller config from file server.
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}/maintenance/restore/file-server (the `RestoreFileServer` operationId).
func (*ClientWithResponses) RestoreSelfServerWithBodyWithResponse ¶
func (c *ClientWithResponses) RestoreSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreSelfServerResponse, error)
RestoreSelfServerWithBodyWithResponse Restore controller config from cloud server
Restore controller config from cloud server.
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}/maintenance/restore/self-server (the `RestoreSelfServer` operationId).
func (*ClientWithResponses) RestoreSelfServerWithResponse ¶
func (c *ClientWithResponses) RestoreSelfServerWithResponse(ctx context.Context, omadacId string, body RestoreSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreSelfServerResponse, error)
RestoreSelfServerWithResponse Restore controller config from cloud server
Restore controller config from cloud server.
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}/maintenance/restore/self-server (the `RestoreSelfServer` operationId).
func (*ClientWithResponses) RestoreSitesFileServerWithBodyWithResponse ¶
func (c *ClientWithResponses) RestoreSitesFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreSitesFileServerResponse, error)
RestoreSitesFileServerWithBodyWithResponse Restore multi sites config from file server
Restore multi sites config from file server. At most 300 sites can be restored.
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/maintenance/multi-restore/file-server (the `RestoreSitesFileServer` operationId).
func (*ClientWithResponses) RestoreSitesFileServerWithResponse ¶
func (c *ClientWithResponses) RestoreSitesFileServerWithResponse(ctx context.Context, omadacId string, body RestoreSitesFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreSitesFileServerResponse, error)
RestoreSitesFileServerWithResponse Restore multi sites config from file server
Restore multi sites config from file server. At most 300 sites can be restored.
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/maintenance/multi-restore/file-server (the `RestoreSitesFileServer` operationId).
func (*ClientWithResponses) RestoreSitesSelfServerWithBodyWithResponse ¶
func (c *ClientWithResponses) RestoreSitesSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreSitesSelfServerResponse, error)
RestoreSitesSelfServerWithBodyWithResponse Restore multi sites config from self server
Restore multi sites config from self server. At most 300 sites can be restored.
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/maintenance/multi-restore/self-server (the `RestoreSitesSelfServer` operationId).
func (*ClientWithResponses) RestoreSitesSelfServerWithResponse ¶
func (c *ClientWithResponses) RestoreSitesSelfServerWithResponse(ctx context.Context, omadacId string, body RestoreSitesSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreSitesSelfServerResponse, error)
RestoreSitesSelfServerWithResponse Restore multi sites config from self server
Restore multi sites config from self server. At most 300 sites can be restored.
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/maintenance/multi-restore/self-server (the `RestoreSitesSelfServer` operationId).
func (*ClientWithResponses) RetryAddDeviceByMspWithBodyWithResponse ¶
func (c *ClientWithResponses) RetryAddDeviceByMspWithBodyWithResponse(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetryAddDeviceByMspResponse, error)
RetryAddDeviceByMspWithBodyWithResponse retry add device in msp 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/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDeviceByMsp` operationId).
func (*ClientWithResponses) RetryAddDeviceByMspWithResponse ¶
func (c *ClientWithResponses) RetryAddDeviceByMspWithResponse(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, body RetryAddDeviceByMspJSONRequestBody, reqEditors ...RequestEditorFn) (*RetryAddDeviceByMspResponse, error)
RetryAddDeviceByMspWithResponse retry add device in msp 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/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDeviceByMsp` operationId).
func (*ClientWithResponses) RetryAddDeviceWithBodyWithResponse ¶
func (c *ClientWithResponses) RetryAddDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetryAddDeviceResponse, error)
RetryAddDeviceWithBodyWithResponse Retry add device
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}/devices/{deviceMac}/add/retry (the `RetryAddDevice` operationId).
func (*ClientWithResponses) RetryAddDeviceWithResponse ¶
func (c *ClientWithResponses) RetryAddDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body RetryAddDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*RetryAddDeviceResponse, error)
RetryAddDeviceWithResponse Retry add device
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}/devices/{deviceMac}/add/retry (the `RetryAddDevice` operationId).
func (*ClientWithResponses) SearchGlobalDeviceWithResponse ¶
func (c *ClientWithResponses) SearchGlobalDeviceWithResponse(ctx context.Context, omadacId string, params *SearchGlobalDeviceParams, reqEditors ...RequestEditorFn) (*SearchGlobalDeviceResponse, error)
SearchGlobalDeviceWithResponse Global search for devices returns the devices under the sites that have permissions.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/devices (the `SearchGlobalDevice` operationId).
func (*ClientWithResponses) UnbindActiveDeviceBySnWithBodyWithResponse ¶
func (c *ClientWithResponses) UnbindActiveDeviceBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnbindActiveDeviceBySnResponse, error)
UnbindActiveDeviceBySnWithBodyWithResponse Change the license from the old device to the new device
Change the license from the old device to the new device (using the same license).
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}/devices/sn-unbind-active (the `UnbindActiveDeviceBySn` operationId).
func (*ClientWithResponses) UnbindActiveDeviceBySnWithResponse ¶
func (c *ClientWithResponses) UnbindActiveDeviceBySnWithResponse(ctx context.Context, omadacId string, siteId string, body UnbindActiveDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*UnbindActiveDeviceBySnResponse, error)
UnbindActiveDeviceBySnWithResponse Change the license from the old device to the new device
Change the license from the old device to the new device (using the same license).
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}/devices/sn-unbind-active (the `UnbindActiveDeviceBySn` operationId).
func (*ClientWithResponses) UnbindDeviceBySnWithBodyWithResponse ¶
func (c *ClientWithResponses) UnbindDeviceBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnbindDeviceBySnResponse, error)
UnbindDeviceBySnWithBodyWithResponse Batch unbind devices by SN
Batch unbind devices by SN.
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}/multi-devices/sn-unbind (the `UnbindDeviceBySn` operationId).
func (*ClientWithResponses) UnbindDeviceBySnWithResponse ¶
func (c *ClientWithResponses) UnbindDeviceBySnWithResponse(ctx context.Context, omadacId string, siteId string, body UnbindDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*UnbindDeviceBySnResponse, error)
UnbindDeviceBySnWithResponse Batch unbind devices by SN
Batch unbind devices by SN.
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}/multi-devices/sn-unbind (the `UnbindDeviceBySn` operationId).
func (*ClientWithResponses) UnbindDeviceWithBodyWithResponse ¶
func (c *ClientWithResponses) UnbindDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnbindDeviceResponse, error)
UnbindDeviceWithBodyWithResponse Batch unbind devices
Batch unbind devices.
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}/multi-devices/unbind (the `UnbindDevice` operationId).
func (*ClientWithResponses) UnbindDeviceWithResponse ¶
func (c *ClientWithResponses) UnbindDeviceWithResponse(ctx context.Context, omadacId string, siteId string, body UnbindDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*UnbindDeviceResponse, error)
UnbindDeviceWithResponse Batch unbind devices
Batch unbind devices.
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}/multi-devices/unbind (the `UnbindDevice` operationId).
func (*ClientWithResponses) UpdateDeviceTagWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDeviceTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeviceTagResponse, error)
UpdateDeviceTagWithBodyWithResponse Set device tag for given devices
Set device tag for given devices.
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}/multi-devices/tag (the `UpdateDeviceTag` operationId).
func (*ClientWithResponses) UpdateDeviceTagWithResponse ¶
func (c *ClientWithResponses) UpdateDeviceTagWithResponse(ctx context.Context, omadacId string, siteId string, body UpdateDeviceTagJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeviceTagResponse, error)
UpdateDeviceTagWithResponse Set device tag for given devices
Set device tag for given devices.
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}/multi-devices/tag (the `UpdateDeviceTag` operationId).
func (*ClientWithResponses) UploadUpgradeFileWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadUpgradeFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadUpgradeFileResponse, error)
UploadUpgradeFileWithBodyWithResponse Upload device firmware
Upload device firmware for manually upgrade.
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}/devices/upgrade-file (the `UploadUpgradeFile` operationId).
func (*ClientWithResponses) UploadUpgradeFirmwareWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadUpgradeFirmwareWithBodyWithResponse(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadUpgradeFirmwareResponse, error)
UploadUpgradeFirmwareWithBodyWithResponse Upload upgrade firmware
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}/files/upgrade/firmware (the `UploadUpgradeFirmware` operationId).
func (*ClientWithResponses) UploadUpgradeFirmwareWithResponse ¶
func (c *ClientWithResponses) UploadUpgradeFirmwareWithResponse(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, body UploadUpgradeFirmwareJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadUpgradeFirmwareResponse, error)
UploadUpgradeFirmwareWithResponse Upload upgrade firmware
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}/files/upgrade/firmware (the `UploadUpgradeFirmware` operationId).
func (*ClientWithResponses) VerifyMonitorDeviceWithBodyWithResponse ¶
func (c *ClientWithResponses) VerifyMonitorDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyMonitorDeviceResponse, error)
VerifyMonitorDeviceWithBodyWithResponse Verify if the device is allowed to be monitored
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}/monitor-device/verify (the `VerifyMonitorDevice` operationId).
func (*ClientWithResponses) VerifyMonitorDeviceWithResponse ¶
func (c *ClientWithResponses) VerifyMonitorDeviceWithResponse(ctx context.Context, omadacId string, siteId string, body VerifyMonitorDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyMonitorDeviceResponse, error)
VerifyMonitorDeviceWithResponse Verify if the device is allowed to be monitored
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}/monitor-device/verify (the `VerifyMonitorDevice` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetMspAdoptTipWithResponse MSP get adopt tip
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/msp/{mspId}/adopt-tip (the `GetMspAdoptTip` operationId).
GetMspAdoptTipWithResponse(ctx context.Context, mspId string, reqEditors ...RequestEditorFn) (*GetMspAdoptTipResponse, error)
// ExportMspAddFailDevicesWithResponse Export the device file that failed to add in MSP view.
//
// Export the device file that failed to add in MSP view. Format should be a value as follows. 0 means CSV , 1 means XLSX.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/msp/{mspId}/customers/{customerId}/devices/add/{operateId}/export (the `ExportMspAddFailDevices` operationId).
ExportMspAddFailDevicesWithResponse(ctx context.Context, mspId string, customerId string, operateId string, params *ExportMspAddFailDevicesParams, reqEditors ...RequestEditorFn) (*ExportMspAddFailDevicesResponse, error)
// AddDevicesForMspWithBodyWithResponse Batch add devices in MSP view
//
// Batch add devices in MSP 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/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/multi-add (the `AddDevicesForMsp` operationId).
AddDevicesForMspWithBodyWithResponse(ctx context.Context, mspId string, customerId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDevicesForMspResponse, error)
// AddDevicesForMspWithResponse Batch add devices in MSP view
//
// Batch add devices in MSP 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/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/multi-add (the `AddDevicesForMsp` operationId).
AddDevicesForMspWithResponse(ctx context.Context, mspId string, customerId string, siteId string, body AddDevicesForMspJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDevicesForMspResponse, error)
// RetryAddDeviceByMspWithBodyWithResponse retry add device in msp 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/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDeviceByMsp` operationId).
RetryAddDeviceByMspWithBodyWithResponse(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetryAddDeviceByMspResponse, error)
// RetryAddDeviceByMspWithResponse retry add device in msp 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/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/add/retry (the `RetryAddDeviceByMsp` operationId).
RetryAddDeviceByMspWithResponse(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, body RetryAddDeviceByMspJSONRequestBody, reqEditors ...RequestEditorFn) (*RetryAddDeviceByMspResponse, error)
// ForgetDeviceForMspWithResponse Forget one device in MSP view.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/msp/{mspId}/customers/{customerId}/sites/{siteId}/devices/{deviceMac}/forget (the `ForgetDeviceForMsp` operationId).
ForgetDeviceForMspWithResponse(ctx context.Context, mspId string, customerId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*ForgetDeviceForMspResponse, error)
// GetAdoptAbleDevicesForMspBatchAdoptWithResponse Batch get info of adopted device in MSP view.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/msp/{mspId}/devices/batch/info (the `GetAdoptAbleDevicesForMspBatchAdopt` operationId).
GetAdoptAbleDevicesForMspBatchAdoptWithResponse(ctx context.Context, mspId string, params *GetAdoptAbleDevicesForMspBatchAdoptParams, reqEditors ...RequestEditorFn) (*GetAdoptAbleDevicesForMspBatchAdoptResponse, error)
// GetAdoptTipWithResponse Get adopt tip
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/adopt-tip (the `GetAdoptTip` operationId).
GetAdoptTipWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetAdoptTipResponse, error)
// DeleteAutoCheckUpgradeWithResponse Delete autoCheck upgrade plan
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/autoCheck/{autoCheckId}/upgrade (the `DeleteAutoCheckUpgrade` operationId).
DeleteAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, autoCheckId string, reqEditors ...RequestEditorFn) (*DeleteAutoCheckUpgradeResponse, error)
// EditAutoCheckUpgradeWithBodyWithResponse Edit autoCheck upgrade plan
//
// 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}/autoCheck/{autoCheckId}/upgrade (the `EditAutoCheckUpgrade` operationId).
EditAutoCheckUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, autoCheckId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditAutoCheckUpgradeResponse, error)
// EditAutoCheckUpgradeWithResponse Edit autoCheck upgrade plan
//
// 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}/autoCheck/{autoCheckId}/upgrade (the `EditAutoCheckUpgrade` operationId).
EditAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, autoCheckId string, body EditAutoCheckUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*EditAutoCheckUpgradeResponse, error)
// GetBackupScheduleTaskWithResponse Get backup schedule task
//
// Get backup schedule task.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/backupschedule/task (the `GetBackupScheduleTask` operationId).
GetBackupScheduleTaskWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetBackupScheduleTaskResponse, error)
// ModifyBackupScheduleTaskWithBodyWithResponse Modify backup schedule task
//
// Modify backup schedule task.
//
// 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}/backupschedule/task (the `ModifyBackupScheduleTask` operationId).
ModifyBackupScheduleTaskWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyBackupScheduleTaskResponse, error)
// ModifyBackupScheduleTaskWithResponse Modify backup schedule task
//
// Modify backup schedule task.
//
// 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}/backupschedule/task (the `ModifyBackupScheduleTask` operationId).
ModifyBackupScheduleTaskWithResponse(ctx context.Context, omadacId string, body ModifyBackupScheduleTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyBackupScheduleTaskResponse, error)
// GetDeviceAccessMgmtSettingWithResponse Get device access management setting
//
// Get device access management setting.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/device-mgmt (the `GetDeviceAccessMgmtSetting` operationId).
GetDeviceAccessMgmtSettingWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetDeviceAccessMgmtSettingResponse, error)
// ModifyDeviceAccessMgmtSettingWithBodyWithResponse Modify device access management setting
//
// Modify device access management setting.
//
// 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}/device-mgmt (the `ModifyDeviceAccessMgmtSetting` operationId).
ModifyDeviceAccessMgmtSettingWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyDeviceAccessMgmtSettingResponse, error)
// ModifyDeviceAccessMgmtSettingWithResponse Modify device access management setting
//
// Modify device access management setting.
//
// 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}/device-mgmt (the `ModifyDeviceAccessMgmtSetting` operationId).
ModifyDeviceAccessMgmtSettingWithResponse(ctx context.Context, omadacId string, body ModifyDeviceAccessMgmtSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyDeviceAccessMgmtSettingResponse, error)
// SearchGlobalDeviceWithResponse Global search for devices returns the devices under the sites that have permissions.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/devices (the `SearchGlobalDevice` operationId).
SearchGlobalDeviceWithResponse(ctx context.Context, omadacId string, params *SearchGlobalDeviceParams, reqEditors ...RequestEditorFn) (*SearchGlobalDeviceResponse, error)
// ExportAddFailDevicesWithResponse Export the device file that failed to add in GLOBAL view.
//
// Export the device file that failed to add in GLOBAL view. Format should be a number as follows. 0 means CSV , 1 means XLSX.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/devices/add/{operateId}/export (the `ExportAddFailDevices` operationId).
ExportAddFailDevicesWithResponse(ctx context.Context, omadacId string, operateId string, params *ExportAddFailDevicesParams, reqEditors ...RequestEditorFn) (*ExportAddFailDevicesResponse, error)
// GetAdoptAbleDevicesForGlobalBatchAdoptWithResponse Batch get info of adopted device in global view.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/devices/batch/info (the `GetAdoptAbleDevicesForGlobalBatchAdopt` operationId).
GetAdoptAbleDevicesForGlobalBatchAdoptWithResponse(ctx context.Context, omadacId string, params *GetAdoptAbleDevicesForGlobalBatchAdoptParams, reqEditors ...RequestEditorFn) (*GetAdoptAbleDevicesForGlobalBatchAdoptResponse, error)
// ExportGlobalDeviceListWithBodyWithResponse Export device list in GLOBAL view
//
// Export device 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}/devices/export (the `ExportGlobalDeviceList` operationId).
ExportGlobalDeviceListWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportGlobalDeviceListResponse, error)
// ExportGlobalDeviceListWithResponse Export device list in GLOBAL view
//
// Export device 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}/devices/export (the `ExportGlobalDeviceList` operationId).
ExportGlobalDeviceListWithResponse(ctx context.Context, omadacId string, body ExportGlobalDeviceListJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportGlobalDeviceListResponse, error)
// GetGlobalDeviceIncidentCountsWithBodyWithResponse Get global device incident counts
//
// Get incident counts for the specified devices globally.
//
// 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}/devices/incidents (the `GetGlobalDeviceIncidentCounts` operationId).
GetGlobalDeviceIncidentCountsWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetGlobalDeviceIncidentCountsResponse, error)
// GetGlobalDeviceIncidentCountsWithResponse Get global device incident counts
//
// Get incident counts for the specified devices globally.
//
// 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}/devices/incidents (the `GetGlobalDeviceIncidentCounts` operationId).
GetGlobalDeviceIncidentCountsWithResponse(ctx context.Context, omadacId string, body GetGlobalDeviceIncidentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetGlobalDeviceIncidentCountsResponse, error)
// GetGlobalKnownDeviceListWithResponse Get global known device list
//
// Get global known device list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/devices/known-devices (the `GetGlobalKnownDeviceList` operationId).
GetGlobalKnownDeviceListWithResponse(ctx context.Context, omadacId string, params *GetGlobalKnownDeviceListParams, reqEditors ...RequestEditorFn) (*GetGlobalKnownDeviceListResponse, error)
// GetGridAdoptedDevicesStatByGlobalWithResponse Query the statistics for the list of global adopted devices.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/devices/stat (the `GetGridAdoptedDevicesStatByGlobal` operationId).
GetGridAdoptedDevicesStatByGlobalWithResponse(ctx context.Context, omadacId string, params *GetGridAdoptedDevicesStatByGlobalParams, reqEditors ...RequestEditorFn) (*GetGridAdoptedDevicesStatByGlobalResponse, error)
// GetGlobalUnknownDeviceListWithResponse Get global unknown device list
//
// Get global unknown device list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/devices/unknown-devices (the `GetGlobalUnknownDeviceList` operationId).
GetGlobalUnknownDeviceListWithResponse(ctx context.Context, omadacId string, params *GetGlobalUnknownDeviceListParams, reqEditors ...RequestEditorFn) (*GetGlobalUnknownDeviceListResponse, error)
// UploadUpgradeFirmwareWithBodyWithResponse Upload upgrade firmware
//
// 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}/files/upgrade/firmware (the `UploadUpgradeFirmware` operationId).
UploadUpgradeFirmwareWithBodyWithResponse(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadUpgradeFirmwareResponse, error)
// UploadUpgradeFirmwareWithResponse Upload upgrade firmware
//
// 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}/files/upgrade/firmware (the `UploadUpgradeFirmware` operationId).
UploadUpgradeFirmwareWithResponse(ctx context.Context, omadacId string, params *UploadUpgradeFirmwareParams, body UploadUpgradeFirmwareJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadUpgradeFirmwareResponse, error)
// DeleteUpgradeFirmwareWithResponse Delete upgrade firmware
//
// Delete the manually uploaded firmware.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/firmwares/{firmwareId}/upgrade (the `DeleteUpgradeFirmware` operationId).
DeleteUpgradeFirmwareWithResponse(ctx context.Context, omadacId string, firmwareId string, reqEditors ...RequestEditorFn) (*DeleteUpgradeFirmwareResponse, error)
// CreateFirmwareUpgradePlanWithBodyWithResponse Create firmware upgrade plan based on manually uploaded firmware
//
// Create an upgrade plan based on manually uploaded firmware.
//
// 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}/firmwares/{firmwareId}/upgrade/plan (the `CreateFirmwareUpgradePlan` operationId).
CreateFirmwareUpgradePlanWithBodyWithResponse(ctx context.Context, omadacId string, firmwareId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFirmwareUpgradePlanResponse, error)
// CreateFirmwareUpgradePlanWithResponse Create firmware upgrade plan based on manually uploaded firmware
//
// Create an upgrade plan based on manually uploaded firmware.
//
// 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}/firmwares/{firmwareId}/upgrade/plan (the `CreateFirmwareUpgradePlan` operationId).
CreateFirmwareUpgradePlanWithResponse(ctx context.Context, omadacId string, firmwareId string, body CreateFirmwareUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFirmwareUpgradePlanResponse, error)
// GetUpgradeFailedDeviceInfosWithResponse Get the list of devices which upgrade failed
//
// Get the list of devices which upgrade failed through upgrade logs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-devices (the `GetUpgradeFailedDeviceInfos` operationId).
GetUpgradeFailedDeviceInfosWithResponse(ctx context.Context, omadacId string, upgradeLogId string, params *GetUpgradeFailedDeviceInfosParams, reqEditors ...RequestEditorFn) (*GetUpgradeFailedDeviceInfosResponse, error)
// GetUpgradeFailedDeviceFirmwareInfoWithResponse Get firmware information about the failed device to be upgraded
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/logs/{upgradeLogId}/upgrade/overview/failed-model-firmware (the `GetUpgradeFailedDeviceFirmwareInfo` operationId).
GetUpgradeFailedDeviceFirmwareInfoWithResponse(ctx context.Context, omadacId string, upgradeLogId string, reqEditors ...RequestEditorFn) (*GetUpgradeFailedDeviceFirmwareInfoResponse, error)
// CreateFailedDeviceModelPlanWithBodyWithResponse Create Upgrade Plan for Failed Device
//
// 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/{upgradeLogId}/upgrade/overview/failed-model-plan (the `CreateFailedDeviceModelPlan` operationId).
CreateFailedDeviceModelPlanWithBodyWithResponse(ctx context.Context, omadacId string, upgradeLogId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFailedDeviceModelPlanResponse, error)
// CreateFailedDeviceModelPlanWithResponse Create Upgrade Plan for Failed Device
//
// 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/{upgradeLogId}/upgrade/overview/failed-model-plan (the `CreateFailedDeviceModelPlan` operationId).
CreateFailedDeviceModelPlanWithResponse(ctx context.Context, omadacId string, upgradeLogId string, body CreateFailedDeviceModelPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFailedDeviceModelPlanResponse, error)
// CreateRollbackWithBodyWithResponse Create rollback plan
//
// You can choose a specific time to create a rollback plan.
//
// 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/{upgradeLogId}/upgrade/overview/rollback (the `CreateRollback` operationId).
CreateRollbackWithBodyWithResponse(ctx context.Context, omadacId string, upgradeLogId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRollbackResponse, error)
// CreateRollbackWithResponse Create rollback plan
//
// You can choose a specific time to create a rollback plan.
//
// 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/{upgradeLogId}/upgrade/overview/rollback (the `CreateRollback` operationId).
CreateRollbackWithResponse(ctx context.Context, omadacId string, upgradeLogId string, body CreateRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRollbackResponse, error)
// BackupFileServerWithBodyWithResponse Backup controller config to file server
//
// Backup controller config to file server.
//
// 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}/maintenance/backup/file-server (the `BackupFileServer` operationId).
BackupFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupFileServerResponse, error)
// BackupFileServerWithResponse Backup controller config to file server
//
// Backup controller config to file server.
//
// 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}/maintenance/backup/file-server (the `BackupFileServer` operationId).
BackupFileServerWithResponse(ctx context.Context, omadacId string, body BackupFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupFileServerResponse, error)
// GetSelfServerFileListWithResponse Get controller backup file list in self server
//
// Get controller backup file list in self server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/maintenance/backup/files (the `GetSelfServerFileList` operationId).
GetSelfServerFileListWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetSelfServerFileListResponse, error)
// GetBackupResultWithResponse Get controller backup result
//
// Get controller backup result.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/maintenance/backup/result (the `GetBackupResult` operationId).
GetBackupResultWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetBackupResultResponse, error)
// BackupSelfServerWithBodyWithResponse Backup controller config to cloud server
//
// Backup controller config to cloud server.
//
// 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}/maintenance/backup/self-server (the `BackupSelfServer` operationId).
BackupSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupSelfServerResponse, error)
// BackupSelfServerWithResponse Backup controller config to cloud server
//
// Backup controller config to cloud server.
//
// 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}/maintenance/backup/self-server (the `BackupSelfServer` operationId).
BackupSelfServerWithResponse(ctx context.Context, omadacId string, body BackupSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupSelfServerResponse, error)
// RestoreFileServerWithBodyWithResponse Restore controller config from file server
//
// Restore controller config from file server.
//
// 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}/maintenance/restore/file-server (the `RestoreFileServer` operationId).
RestoreFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreFileServerResponse, error)
// RestoreFileServerWithResponse Restore controller config from file server
//
// Restore controller config from file server.
//
// 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}/maintenance/restore/file-server (the `RestoreFileServer` operationId).
RestoreFileServerWithResponse(ctx context.Context, omadacId string, body RestoreFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreFileServerResponse, error)
// GetRestoreResultWithResponse Get controller restore result
//
// Get controller restore result.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/maintenance/restore/result (the `GetRestoreResult` operationId).
GetRestoreResultWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetRestoreResultResponse, error)
// RestoreSelfServerWithBodyWithResponse Restore controller config from cloud server
//
// Restore controller config from cloud server.
//
// 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}/maintenance/restore/self-server (the `RestoreSelfServer` operationId).
RestoreSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreSelfServerResponse, error)
// RestoreSelfServerWithResponse Restore controller config from cloud server
//
// Restore controller config from cloud server.
//
// 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}/maintenance/restore/self-server (the `RestoreSelfServer` operationId).
RestoreSelfServerWithResponse(ctx context.Context, omadacId string, body RestoreSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreSelfServerResponse, error)
// ExportPreConfigDevicesGlobalWithResponse Export preconfigured devices in GLOBAL view.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/migrate/exportPreDevice (the `ExportPreConfigDevicesGlobal` operationId).
ExportPreConfigDevicesGlobalWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*ExportPreConfigDevicesGlobalResponse, error)
// ActiveDeviceWithMultiSiteWithBodyWithResponse Batch active devices with multi site
//
// Batch active devices with multi site.
//
// 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}/multi-devices/active (the `ActiveDeviceWithMultiSite` operationId).
ActiveDeviceWithMultiSiteWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActiveDeviceWithMultiSiteResponse, error)
// ActiveDeviceWithMultiSiteWithResponse Batch active devices with multi site
//
// Batch active devices with multi site.
//
// 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}/multi-devices/active (the `ActiveDeviceWithMultiSite` operationId).
ActiveDeviceWithMultiSiteWithResponse(ctx context.Context, omadacId string, body ActiveDeviceWithMultiSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*ActiveDeviceWithMultiSiteResponse, error)
// GetAddDevicesStatusMultiSiteWithResponse Batch get added device status with multi site
//
// Batch get added device status with multi site.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/multi-devices/add/{operateId}/status (the `GetAddDevicesStatusMultiSite` operationId).
GetAddDevicesStatusMultiSiteWithResponse(ctx context.Context, omadacId string, operateId string, reqEditors ...RequestEditorFn) (*GetAddDevicesStatusMultiSiteResponse, error)
// AddDevicesBySnWithMultiSiteWithBodyWithResponse Batch add devices by SN with multi site
//
// Batch add devices by SN with multi site.
//
// 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}/multi-devices/sn-add (the `AddDevicesBySnWithMultiSite` operationId).
AddDevicesBySnWithMultiSiteWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDevicesBySnWithMultiSiteResponse, error)
// AddDevicesBySnWithMultiSiteWithResponse Batch add devices by SN with multi site
//
// Batch add devices by SN with multi site.
//
// 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}/multi-devices/sn-add (the `AddDevicesBySnWithMultiSite` operationId).
AddDevicesBySnWithMultiSiteWithResponse(ctx context.Context, omadacId string, body AddDevicesBySnWithMultiSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDevicesBySnWithMultiSiteResponse, error)
// DeleteUpgradePlanWithResponse Delete firmware upgrade plan
//
// Delete firmware upgrade plan.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/plans/{planId}/upgrade/overview (the `DeleteUpgradePlan` operationId).
DeleteUpgradePlanWithResponse(ctx context.Context, omadacId string, planId string, reqEditors ...RequestEditorFn) (*DeleteUpgradePlanResponse, error)
// EditUpgradePlanWithBodyWithResponse Edit firmware upgrade plan
//
// Edit firmware upgrade plan.
//
// 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}/plans/{planId}/upgrade/overview (the `EditUpgradePlan` operationId).
EditUpgradePlanWithBodyWithResponse(ctx context.Context, omadacId string, planId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditUpgradePlanResponse, error)
// EditUpgradePlanWithResponse Edit firmware upgrade plan
//
// Edit firmware upgrade plan.
//
// 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}/plans/{planId}/upgrade/overview (the `EditUpgradePlan` operationId).
EditUpgradePlanWithResponse(ctx context.Context, omadacId string, planId string, body EditUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*EditUpgradePlanResponse, error)
// BackupSitesFileServerWithBodyWithResponse Backup multi sites config to file server
//
// Backup multi sites config to file server. At most 300 sites can backup.
//
// 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/maintenance/multi-backup/file-server (the `BackupSitesFileServer` operationId).
BackupSitesFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupSitesFileServerResponse, error)
// BackupSitesFileServerWithResponse Backup multi sites config to file server
//
// Backup multi sites config to file server. At most 300 sites can backup.
//
// 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/maintenance/multi-backup/file-server (the `BackupSitesFileServer` operationId).
BackupSitesFileServerWithResponse(ctx context.Context, omadacId string, body BackupSitesFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupSitesFileServerResponse, error)
// BackupSitesSelfServerWithBodyWithResponse Backup multi sites config to self server
//
// Backup multi sites config to self server. At most 300 sites can backup.
//
// 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/maintenance/multi-backup/self-server (the `BackupSitesSelfServer` operationId).
BackupSitesSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupSitesSelfServerResponse, error)
// BackupSitesSelfServerWithResponse Backup multi sites config to self server
//
// Backup multi sites config to self server. At most 300 sites can backup.
//
// 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/maintenance/multi-backup/self-server (the `BackupSitesSelfServer` operationId).
BackupSitesSelfServerWithResponse(ctx context.Context, omadacId string, body BackupSitesSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupSitesSelfServerResponse, error)
// RestoreSitesFileServerWithBodyWithResponse Restore multi sites config from file server
//
// Restore multi sites config from file server. At most 300 sites can be restored.
//
// 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/maintenance/multi-restore/file-server (the `RestoreSitesFileServer` operationId).
RestoreSitesFileServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreSitesFileServerResponse, error)
// RestoreSitesFileServerWithResponse Restore multi sites config from file server
//
// Restore multi sites config from file server. At most 300 sites can be restored.
//
// 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/maintenance/multi-restore/file-server (the `RestoreSitesFileServer` operationId).
RestoreSitesFileServerWithResponse(ctx context.Context, omadacId string, body RestoreSitesFileServerJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreSitesFileServerResponse, error)
// RestoreSitesSelfServerWithBodyWithResponse Restore multi sites config from self server
//
// Restore multi sites config from self server. At most 300 sites can be restored.
//
// 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/maintenance/multi-restore/self-server (the `RestoreSitesSelfServer` operationId).
RestoreSitesSelfServerWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreSitesSelfServerResponse, error)
// RestoreSitesSelfServerWithResponse Restore multi sites config from self server
//
// Restore multi sites config from self server. At most 300 sites can be restored.
//
// 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/maintenance/multi-restore/self-server (the `RestoreSitesSelfServer` operationId).
RestoreSitesSelfServerWithResponse(ctx context.Context, omadacId string, body RestoreSitesSelfServerJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreSitesSelfServerResponse, error)
// GetCheckFirmwareTaskResultWithResponse Get the result of the given check latest firmware task
//
// Get the result of the firmware update task, containing a list of devices with firmware updates
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/all-devices/check-latest-firmware-tasks/{taskId} (the `GetCheckFirmwareTaskResult` operationId).
GetCheckFirmwareTaskResultWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*GetCheckFirmwareTaskResultResponse, error)
// OnlineCheckUpgradeWithResponse Start check latest firmware for all devices
//
// Start a task to query the latest firmware of all devices in the cloud.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/all-devices/start-check-latest-firmware (the `OnlineCheckUpgrade` operationId).
OnlineCheckUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*OnlineCheckUpgradeResponse, error)
// MoveSiteForApsWithBodyWithResponse Move aps to another site
//
// Move aps to another site. If you want to move networked bridge APs, ensure all APs in the bridge network are in movable state and move them at the same time. This interface will not move non-AP devices.
//
// 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}/aps/site-move (the `MoveSiteForAps` operationId).
MoveSiteForApsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveSiteForApsResponse, error)
// MoveSiteForApsWithResponse Move aps to another site
//
// Move aps to another site. If you want to move networked bridge APs, ensure all APs in the bridge network are in movable state and move them at the same time. This interface will not move non-AP devices.
//
// 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}/aps/site-move (the `MoveSiteForAps` operationId).
MoveSiteForApsWithResponse(ctx context.Context, omadacId string, siteId string, body MoveSiteForApsJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveSiteForApsResponse, error)
// GetSiteBackupResultWithResponse Get site backup result
//
// Get site backup result.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/backup/result (the `GetSiteBackupResult` operationId).
GetSiteBackupResultWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSiteBackupResultResponse, error)
// BatchAdoptWithBodyWithResponse batch adopt device
//
// batch adopt device.This interface does not return the actual adoptive result,you need to use the interface:Get device adopt result to obtain the adoptive result
//
// 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}/cmd/devices/batch-adopt (the `BatchAdopt` operationId).
BatchAdoptWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchAdoptResponse, error)
// BatchAdoptWithResponse batch adopt device
//
// batch adopt device.This interface does not return the actual adoptive result,you need to use the interface:Get device adopt result to obtain the adoptive result
//
// 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}/cmd/devices/batch-adopt (the `BatchAdopt` operationId).
BatchAdoptWithResponse(ctx context.Context, omadacId string, siteId string, body BatchAdoptJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchAdoptResponse, error)
// OnlineRollingUpgradeByQueryWithBodyWithResponse Start batch rolling upgrade By Query
//
// Perform batch online upgrades of devices in a specific order within the site, and filter them using filter conditions. It is recommended to check the firmware update status before the operation, otherwise the firmware may not be the latest version
//
// 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}/cmd/devices/onlineRollingUpgrade (the `OnlineRollingUpgradeByQuery` operationId).
OnlineRollingUpgradeByQueryWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, params *OnlineRollingUpgradeByQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OnlineRollingUpgradeByQueryResponse, error)
// OnlineRollingUpgradeByQueryWithResponse Start batch rolling upgrade By Query
//
// Perform batch online upgrades of devices in a specific order within the site, and filter them using filter conditions. It is recommended to check the firmware update status before the operation, otherwise the firmware may not be the latest version
//
// 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}/cmd/devices/onlineRollingUpgrade (the `OnlineRollingUpgradeByQuery` operationId).
OnlineRollingUpgradeByQueryWithResponse(ctx context.Context, omadacId string, siteId string, params *OnlineRollingUpgradeByQueryParams, body OnlineRollingUpgradeByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*OnlineRollingUpgradeByQueryResponse, error)
// DownloadDeviceInfoWithResponse Download device information.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/cmd/devices/{deviceMac}/downloadDeviceInfo/{type} (the `DownloadDeviceInfo` operationId).
DownloadDeviceInfoWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, pType string, reqEditors ...RequestEditorFn) (*DownloadDeviceInfoResponse, error)
// GetDeviceWhiteListWithResponse Get the whitelist list of devices.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/device-white-list (the `GetDeviceWhiteList` operationId).
GetDeviceWhiteListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetDeviceWhiteListResponse, error)
// GetDeviceListWithResponse Get site device list
//
// Get site device list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices (the `GetDeviceList` operationId).
GetDeviceListWithResponse(ctx context.Context, omadacId string, siteId string, params *GetDeviceListParams, reqEditors ...RequestEditorFn) (*GetDeviceListResponse, error)
// GetAllDeviceBySiteWithResponse Get device list info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/all (the `GetAllDeviceBySite` operationId).
GetAllDeviceBySiteWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetAllDeviceBySiteResponse, error)
// CopyDeviceConfigurationWithBodyWithResponse Copy configuration
//
// Copy the configuration of one device to another device of the same model. Only for switch and access point.
//
// 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}/devices/copy (the `CopyDeviceConfiguration` operationId).
CopyDeviceConfigurationWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyDeviceConfigurationResponse, error)
// CopyDeviceConfigurationWithResponse Copy configuration
//
// Copy the configuration of one device to another device of the same model. Only for switch and access point.
//
// 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}/devices/copy (the `CopyDeviceConfiguration` operationId).
CopyDeviceConfigurationWithResponse(ctx context.Context, omadacId string, siteId string, body CopyDeviceConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyDeviceConfigurationResponse, error)
// ExportSiteDeviceListWithBodyWithResponse Export device list of site
//
// Export device list of site.
//
// 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}/devices/export (the `ExportSiteDeviceList` operationId).
ExportSiteDeviceListWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportSiteDeviceListResponse, error)
// ExportSiteDeviceListWithResponse Export device list of site
//
// Export device list of site.
//
// 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}/devices/export (the `ExportSiteDeviceList` operationId).
ExportSiteDeviceListWithResponse(ctx context.Context, omadacId string, siteId string, body ExportSiteDeviceListJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportSiteDeviceListResponse, error)
// GetForgetProcessWithResponse Get batch forget process
//
// Get process of the batch forget operation. The expire time of result is 300 seconds.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/forget/{forgetId}/status (the `GetForgetProcess` operationId).
GetForgetProcessWithResponse(ctx context.Context, omadacId string, siteId string, forgetId string, reqEditors ...RequestEditorFn) (*GetForgetProcessResponse, error)
// GetDeviceIncidentCountsWithBodyWithResponse Get site device incident counts
//
// Get incident counts for the specified devices in a site.
//
// 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}/devices/incidents (the `GetDeviceIncidentCounts` operationId).
GetDeviceIncidentCountsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetDeviceIncidentCountsResponse, error)
// GetDeviceIncidentCountsWithResponse Get site device incident counts
//
// Get incident counts for the specified devices in a site.
//
// 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}/devices/incidents (the `GetDeviceIncidentCounts` operationId).
GetDeviceIncidentCountsWithResponse(ctx context.Context, omadacId string, siteId string, body GetDeviceIncidentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetDeviceIncidentCountsResponse, error)
// LocatePortsWithBodyWithResponse Locate multiple ports of multiple switches
//
// 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}/devices/locate/switch-ports (the `LocatePorts` operationId).
LocatePortsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LocatePortsResponse, error)
// LocatePortsWithResponse Locate multiple ports of multiple switches
//
// 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}/devices/locate/switch-ports (the `LocatePorts` operationId).
LocatePortsWithResponse(ctx context.Context, omadacId string, siteId string, body LocatePortsJSONRequestBody, reqEditors ...RequestEditorFn) (*LocatePortsResponse, error)
// GetMoveSiteProcessWithResponse Get batch move site process
//
// Get process of the batch move site operation. The expire time of result is 300 seconds.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/move/{moveSiteId}/status (the `GetMoveSiteProcess` operationId).
GetMoveSiteProcessWithResponse(ctx context.Context, omadacId string, siteId string, moveSiteId string, reqEditors ...RequestEditorFn) (*GetMoveSiteProcessResponse, error)
// AddDevicesWithBodyWithResponse Batch add devices
//
// Batch add devices.This interface has been deprecated. Please use the following interface instead: Batch add devices by SN
//
// 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}/devices/multi-add (the `AddDevices` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AddDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDevicesResponse, error)
// AddDevicesWithResponse Batch add devices
//
// Batch add devices.This interface has been deprecated. Please use the following interface instead: Batch add devices by SN
//
// 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}/devices/multi-add (the `AddDevices` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AddDevicesWithResponse(ctx context.Context, omadacId string, siteId string, body AddDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDevicesResponse, error)
// UnbindActiveDeviceBySnWithBodyWithResponse Change the license from the old device to the new device
//
// Change the license from the old device to the new device (using the same license).
//
// 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}/devices/sn-unbind-active (the `UnbindActiveDeviceBySn` operationId).
UnbindActiveDeviceBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnbindActiveDeviceBySnResponse, error)
// UnbindActiveDeviceBySnWithResponse Change the license from the old device to the new device
//
// Change the license from the old device to the new device (using the same license).
//
// 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}/devices/sn-unbind-active (the `UnbindActiveDeviceBySn` operationId).
UnbindActiveDeviceBySnWithResponse(ctx context.Context, omadacId string, siteId string, body UnbindActiveDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*UnbindActiveDeviceBySnResponse, error)
// DeleteTagWithBodyWithResponse Delete an existing tag
//
// Delete an existing tag.
//
// 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}/devices/tag (the `DeleteTag` operationId).
DeleteTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteTagResponse, error)
// DeleteTagWithResponse Delete an existing tag
//
// Delete an existing tag.
//
// 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}/devices/tag (the `DeleteTag` operationId).
DeleteTagWithResponse(ctx context.Context, omadacId string, siteId string, body DeleteTagJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTagResponse, error)
// GetTagsWithResponse Get tag list
//
// Get tag list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/tag (the `GetTags` operationId).
GetTagsWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetTagsResponse, error)
// ModifyTagWithBodyWithResponse Modify an existing tag
//
// Modify an existing tag.
//
// 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}/devices/tag (the `ModifyTag` operationId).
ModifyTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyTagResponse, error)
// ModifyTagWithResponse Modify an existing tag
//
// Modify an existing tag.
//
// 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}/devices/tag (the `ModifyTag` operationId).
ModifyTagWithResponse(ctx context.Context, omadacId string, siteId string, body ModifyTagJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyTagResponse, error)
// AddTagWithBodyWithResponse Create new tag
//
// Create new tag.
//
// 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}/devices/tag (the `AddTag` operationId).
AddTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTagResponse, error)
// AddTagWithResponse Create new tag
//
// Create new tag.
//
// 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}/devices/tag (the `AddTag` operationId).
AddTagWithResponse(ctx context.Context, omadacId string, siteId string, body AddTagJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTagResponse, error)
// ExistUnSupportRadSecDeviceWithResponse Check for unsupported RadSec devices.
//
// Get the result of detecting devices that do not support the RadSec feature.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/un-support-radsec (the `ExistUnSupportRadSecDevice` operationId).
ExistUnSupportRadSecDeviceWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*ExistUnSupportRadSecDeviceResponse, error)
// UploadUpgradeFileWithBodyWithResponse Upload device firmware
//
// Upload device firmware for manually upgrade.
//
// 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}/devices/upgrade-file (the `UploadUpgradeFile` operationId).
UploadUpgradeFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadUpgradeFileResponse, error)
// GetUplinkDeviceInfoWithBodyWithResponse Query uplink information for specified device MAC addresses under the site.
//
// 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}/devices/uplink-info (the `GetUplinkDeviceInfo` operationId).
GetUplinkDeviceInfoWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetUplinkDeviceInfoResponse, error)
// GetUplinkDeviceInfoWithResponse Query uplink information for specified device MAC addresses under the site.
//
// 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}/devices/uplink-info (the `GetUplinkDeviceInfo` operationId).
GetUplinkDeviceInfoWithResponse(ctx context.Context, omadacId string, siteId string, body GetUplinkDeviceInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*GetUplinkDeviceInfoResponse, error)
// RetryAddDeviceWithBodyWithResponse Retry add device
//
// 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}/devices/{deviceMac}/add/retry (the `RetryAddDevice` operationId).
RetryAddDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetryAddDeviceResponse, error)
// RetryAddDeviceWithResponse Retry add device
//
// 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}/devices/{deviceMac}/add/retry (the `RetryAddDevice` operationId).
RetryAddDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body RetryAddDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*RetryAddDeviceResponse, error)
// GetDeviceAdoptResultWithResponse Get device adopt result
//
// Get device adopt result.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/adopt-result (the `GetDeviceAdoptResult` operationId).
GetDeviceAdoptResultWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*GetDeviceAdoptResultResponse, error)
// CheckMacTypeWithResponse Check the device type by mac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/check-mac-type (the `CheckMacType` operationId).
CheckMacTypeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*CheckMacTypeResponse, error)
// ForceProvisionDeviceWithResponse Force provision device
//
// Force provision device.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/force-provision (the `ForceProvisionDevice` operationId).
ForceProvisionDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*ForceProvisionDeviceResponse, error)
// ForgetDeviceWithResponse Forget device
//
// Forget device.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/forget (the `ForgetDevice` operationId).
ForgetDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*ForgetDeviceResponse, error)
// GetSingleForgetProcessWithResponse Get forget process of device
//
// Get forget process of one device from batch-forget. The expire time of result for each device is 300 seconds.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/forget/{forgetId}/status (the `GetSingleForgetProcess` operationId).
GetSingleForgetProcessWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, forgetId string, reqEditors ...RequestEditorFn) (*GetSingleForgetProcessResponse, error)
// GetFirmwareInfoWithResponse Get the latest firmware info of the device
//
// Get latest firmware info of the device, including the latest firmware version and release logs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/latest-firmware-info (the `GetFirmwareInfo` operationId).
GetFirmwareInfoWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*GetFirmwareInfoResponse, error)
// LocateDeviceWithBodyWithResponse Locate device
//
// Locate device.
//
// 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}/devices/{deviceMac}/locate (the `LocateDevice` operationId).
LocateDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LocateDeviceResponse, error)
// LocateDeviceWithResponse Locate device
//
// Locate device.
//
// 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}/devices/{deviceMac}/locate (the `LocateDevice` operationId).
LocateDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body LocateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*LocateDeviceResponse, error)
// GetSingleMoveSiteProcessWithResponse Get move site process of device
//
// Get move site process of one device from batch-move-site. The expire time of result for each device is 300 seconds
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/move/{moveSiteId}/status (the `GetSingleMoveSiteProcess` operationId).
GetSingleMoveSiteProcessWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, moveSiteId string, reqEditors ...RequestEditorFn) (*GetSingleMoveSiteProcessResponse, error)
// GetOnlineUpgradeResWithResponse Get online upgrade result
//
// Get the result of the online upgrade.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/online-upgrade-result (the `GetOnlineUpgradeRes` operationId).
GetOnlineUpgradeResWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*GetOnlineUpgradeResResponse, error)
// RebootDeviceWithResponse Reboot device
//
// Reboot device.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/reboot (the `RebootDevice` operationId).
RebootDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*RebootDeviceResponse, error)
// GetDeviceRememberMeWithResponse Get device remember Config
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/remember (the `GetDeviceRememberMe` operationId).
GetDeviceRememberMeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*GetDeviceRememberMeResponse, error)
// ModifyDeviceRememberMeWithBodyWithResponse Modify device remember Config
//
// 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}/devices/{deviceMac}/remember (the `ModifyDeviceRememberMe` operationId).
ModifyDeviceRememberMeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyDeviceRememberMeResponse, error)
// ModifyDeviceRememberMeWithResponse Modify device remember Config
//
// 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}/devices/{deviceMac}/remember (the `ModifyDeviceRememberMe` operationId).
ModifyDeviceRememberMeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body ModifyDeviceRememberMeJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyDeviceRememberMeResponse, error)
// DeleteReplaceRecordWithResponse Delete replace record
//
// Delete replace record.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `DeleteReplaceRecord` operationId).
DeleteReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*DeleteReplaceRecordResponse, error)
// CreateReplaceRecordWithBodyWithResponse Create replace record
//
// Create replace record.
//
// 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}/devices/{deviceMac}/replace-device (the `CreateReplaceRecord` operationId).
CreateReplaceRecordWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReplaceRecordResponse, error)
// CreateReplaceRecordWithResponse Create replace record
//
// Create replace record.
//
// 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}/devices/{deviceMac}/replace-device (the `CreateReplaceRecord` operationId).
CreateReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body CreateReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReplaceRecordResponse, error)
// ModifyReplaceRecordWithBodyWithResponse Modify replace record
//
// Modify replace record.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `ModifyReplaceRecord` operationId).
ModifyReplaceRecordWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyReplaceRecordResponse, error)
// ModifyReplaceRecordWithResponse Modify replace record
//
// Modify replace record.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/replace-device (the `ModifyReplaceRecord` operationId).
ModifyReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body ModifyReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyReplaceRecordResponse, error)
// CheckReplaceRecordWithBodyWithResponse Check replace record
//
// Check replace record.
//
// 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}/devices/{deviceMac}/replace-device/check (the `CheckReplaceRecord` operationId).
CheckReplaceRecordWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckReplaceRecordResponse, error)
// CheckReplaceRecordWithResponse Check replace record
//
// Check replace record.
//
// 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}/devices/{deviceMac}/replace-device/check (the `CheckReplaceRecord` operationId).
CheckReplaceRecordWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body CheckReplaceRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckReplaceRecordResponse, error)
// MoveSiteWithBodyWithResponse Move site
//
// Move the device to another site. If you want to move a networked bridge AP, use the "batch move ap site" interface to move all APs in the bridge network at the same time.
//
// 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}/devices/{deviceMac}/site-move (the `MoveSite` operationId).
MoveSiteWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveSiteResponse, error)
// MoveSiteWithResponse Move site
//
// Move the device to another site. If you want to move a networked bridge AP, use the "batch move ap site" interface to move all APs in the bridge network at the same time.
//
// 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}/devices/{deviceMac}/site-move (the `MoveSite` operationId).
MoveSiteWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body MoveSiteJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveSiteResponse, error)
// AdoptDeviceWithBodyWithResponse Start adopt device
//
// Start adopt device.This interface does not return the actual adoptive result, you need to use the interface:Get device adopt result to obtain the adoptive result
//
// 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}/devices/{deviceMac}/start-adopt (the `AdoptDevice` operationId).
AdoptDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdoptDeviceResponse, error)
// AdoptDeviceWithResponse Start adopt device
//
// Start adopt device.This interface does not return the actual adoptive result, you need to use the interface:Get device adopt result to obtain the adoptive result
//
// 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}/devices/{deviceMac}/start-adopt (the `AdoptDevice` operationId).
AdoptDeviceWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, body AdoptDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*AdoptDeviceResponse, error)
// OnlineUpgradeWithResponse Start online upgrade
//
// Upgrade the device with the latest firmware in the cloud. It is suggested to check firmware update before the operation, or the firmware might not be the latest
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/start-online-upgrade (the `OnlineUpgrade` operationId).
OnlineUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, reqEditors ...RequestEditorFn) (*OnlineUpgradeResponse, error)
// GetOnlineTimelineWithResponse Get device online timeline
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/timeline (the `GetOnlineTimeline` operationId).
GetOnlineTimelineWithResponse(ctx context.Context, omadacId string, siteId string, deviceMac string, params *GetOnlineTimelineParams, reqEditors ...RequestEditorFn) (*GetOnlineTimelineResponse, error)
// GetGridAdoptedBridgeDevicesBySiteWithResponse Get Bridge group grouped devices
//
// Get Bridge group grouped devices.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/bridge-devices/adopted (the `GetGridAdoptedBridgeDevicesBySite` operationId).
GetGridAdoptedBridgeDevicesBySiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridAdoptedBridgeDevicesBySiteParams, reqEditors ...RequestEditorFn) (*GetGridAdoptedBridgeDevicesBySiteResponse, error)
// GetGridPendingBridgeDevicesBySiteWithResponse Get Bridge group ungrouped devices
//
// Get Bridge group ungrouped devices.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/bridge-devices/pending (the `GetGridPendingBridgeDevicesBySite` operationId).
GetGridPendingBridgeDevicesBySiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridPendingBridgeDevicesBySiteParams, reqEditors ...RequestEditorFn) (*GetGridPendingBridgeDevicesBySiteResponse, error)
// GetGridPendingDevicesBySiteWithResponse Get adoptable device list of target site
//
// Get adoptable device list of target site.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/grid/devices/pending (the `GetGridPendingDevicesBySite` operationId).
GetGridPendingDevicesBySiteWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridPendingDevicesBySiteParams, reqEditors ...RequestEditorFn) (*GetGridPendingDevicesBySiteResponse, error)
// GetIntelliRecoverSettingWithResponse Get intelli recover setting
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/intelli-recover/auto-setting/config (the `GetIntelliRecoverSetting` operationId).
GetIntelliRecoverSettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetIntelliRecoverSettingResponse, error)
// ModifyIntelliRecoverSettingWithBodyWithResponse Modify intelli recover setting
//
// 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}/intelli-recover/auto-setting/modify (the `ModifyIntelliRecoverSetting` operationId).
ModifyIntelliRecoverSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyIntelliRecoverSettingResponse, error)
// ModifyIntelliRecoverSettingWithResponse Modify intelli recover setting
//
// 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}/intelli-recover/auto-setting/modify (the `ModifyIntelliRecoverSetting` operationId).
ModifyIntelliRecoverSettingWithResponse(ctx context.Context, omadacId string, siteId string, body ModifyIntelliRecoverSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyIntelliRecoverSettingResponse, error)
// GetSelfServerSiteFileListWithResponse Get site backup file list in self server
//
// Get site backup file list in self server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/maintenance/backup/files (the `GetSelfServerSiteFileList` operationId).
GetSelfServerSiteFileListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSelfServerSiteFileListResponse, error)
// ExportPreConfigDevicesWithResponse Export preconfigured devices of site.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/migrate/exportPreDevice (the `ExportPreConfigDevices` operationId).
ExportPreConfigDevicesWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*ExportPreConfigDevicesResponse, error)
// AddMonitorDevicesWithBodyWithResponse Add device into intelli recover device list
//
// 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}/monitor-device/add (the `AddMonitorDevices` operationId).
AddMonitorDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMonitorDevicesResponse, error)
// AddMonitorDevicesWithResponse Add device into intelli recover device list
//
// 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}/monitor-device/add (the `AddMonitorDevices` operationId).
AddMonitorDevicesWithResponse(ctx context.Context, omadacId string, siteId string, body AddMonitorDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMonitorDevicesResponse, error)
// DeleteMonitorDevicesWithBodyWithResponse Delete the intelli recover device
//
// 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}/monitor-device/delete (the `DeleteMonitorDevices` operationId).
DeleteMonitorDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMonitorDevicesResponse, error)
// DeleteMonitorDevicesWithResponse Delete the intelli recover device
//
// 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}/monitor-device/delete (the `DeleteMonitorDevices` operationId).
DeleteMonitorDevicesWithResponse(ctx context.Context, omadacId string, siteId string, body DeleteMonitorDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMonitorDevicesResponse, error)
// GetEligibleDeviceListWithResponse Obtain the list of devices that can be monitored
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/eligible-device-grids (the `GetEligibleDeviceList` operationId).
GetEligibleDeviceListWithResponse(ctx context.Context, omadacId string, siteId string, params *GetEligibleDeviceListParams, reqEditors ...RequestEditorFn) (*GetEligibleDeviceListResponse, error)
// GetGridMonitorDeviceWithResponse Get the intelli recover device list
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/monitor-device/grids (the `GetGridMonitorDevice` operationId).
GetGridMonitorDeviceWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridMonitorDeviceParams, reqEditors ...RequestEditorFn) (*GetGridMonitorDeviceResponse, error)
// RebootDeviceUplinkPoeWithBodyWithResponse Reboot the device uplinkDevice poe
//
// 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}/monitor-device/reboot-uplink-poe (the `RebootDeviceUplinkPoe` operationId).
RebootDeviceUplinkPoeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebootDeviceUplinkPoeResponse, error)
// RebootDeviceUplinkPoeWithResponse Reboot the device uplinkDevice poe
//
// 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}/monitor-device/reboot-uplink-poe (the `RebootDeviceUplinkPoe` operationId).
RebootDeviceUplinkPoeWithResponse(ctx context.Context, omadacId string, siteId string, body RebootDeviceUplinkPoeJSONRequestBody, reqEditors ...RequestEditorFn) (*RebootDeviceUplinkPoeResponse, error)
// VerifyMonitorDeviceWithBodyWithResponse Verify if the device is allowed to be monitored
//
// 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}/monitor-device/verify (the `VerifyMonitorDevice` operationId).
VerifyMonitorDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyMonitorDeviceResponse, error)
// VerifyMonitorDeviceWithResponse Verify if the device is allowed to be monitored
//
// 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}/monitor-device/verify (the `VerifyMonitorDevice` operationId).
VerifyMonitorDeviceWithResponse(ctx context.Context, omadacId string, siteId string, body VerifyMonitorDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyMonitorDeviceResponse, error)
// ActiveDeviceWithBodyWithResponse Batch active devices
//
// Batch active devices.
//
// 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}/multi-devices/active (the `ActiveDevice` operationId).
ActiveDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActiveDeviceResponse, error)
// ActiveDeviceWithResponse Batch active devices
//
// Batch active devices.
//
// 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}/multi-devices/active (the `ActiveDevice` operationId).
ActiveDeviceWithResponse(ctx context.Context, omadacId string, siteId string, body ActiveDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*ActiveDeviceResponse, error)
// GetAddDevicesStatusWithResponse Batch get added device status
//
// Batch get added device status.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/add/{operateId}/status (the `GetAddDevicesStatus` operationId).
GetAddDevicesStatusWithResponse(ctx context.Context, omadacId string, siteId string, operateId string, reqEditors ...RequestEditorFn) (*GetAddDevicesStatusResponse, error)
// AddDevicesByDeviceKeyWithBodyWithResponse Batch add devices by DEVICE KEY.
//
// 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}/multi-devices/devicekey-add (the `AddDevicesByDeviceKey` operationId).
AddDevicesByDeviceKeyWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDevicesByDeviceKeyResponse, error)
// AddDevicesByDeviceKeyWithResponse Batch add devices by DEVICE KEY.
//
// 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}/multi-devices/devicekey-add (the `AddDevicesByDeviceKey` operationId).
AddDevicesByDeviceKeyWithResponse(ctx context.Context, omadacId string, siteId string, body AddDevicesByDeviceKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDevicesByDeviceKeyResponse, error)
// GetManuallyUpgradeResWithResponse Get the result of the given manually upgrade task
//
// Get the result of the manually upgrade task. The results include whether the task is finished and how many devices have not completed the upgrade.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/manually-upgrade-tasks/{taskId} (the `GetManuallyUpgradeRes` operationId).
GetManuallyUpgradeResWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*GetManuallyUpgradeResResponse, error)
// CancelRollingUpgradeWithResponse End the rolling upgrade task
//
// Cancel the rolling upgrade task in the site. But the devices which have completed the upgrade will not be rolled back to the old version
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/rolling-upgrade-tasks/{taskId} (the `CancelRollingUpgrade` operationId).
CancelRollingUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*CancelRollingUpgradeResponse, error)
// GetRollingUpgradeResWithResponse Get the result of the given rolling upgrade task
//
// Get the result of the rolling upgrade task. The results include whether the task is finished and how many devices have not completed the upgrade.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/multi-devices/rolling-upgrade-tasks/{taskId} (the `GetRollingUpgradeRes` operationId).
GetRollingUpgradeResWithResponse(ctx context.Context, omadacId string, siteId string, taskId string, reqEditors ...RequestEditorFn) (*GetRollingUpgradeResResponse, error)
// ActiveDeviceBySnWithBodyWithResponse Batch active devices by SN
//
// Batch active devices by SN.
//
// 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}/multi-devices/sn-active (the `ActiveDeviceBySn` operationId).
ActiveDeviceBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActiveDeviceBySnResponse, error)
// ActiveDeviceBySnWithResponse Batch active devices by SN
//
// Batch active devices by SN.
//
// 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}/multi-devices/sn-active (the `ActiveDeviceBySn` operationId).
ActiveDeviceBySnWithResponse(ctx context.Context, omadacId string, siteId string, body ActiveDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*ActiveDeviceBySnResponse, error)
// AddDevicesBySnWithBodyWithResponse Batch add devices by SN
//
// Batch add devices by SN.
//
// 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}/multi-devices/sn-add (the `AddDevicesBySn` operationId).
AddDevicesBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDevicesBySnResponse, error)
// AddDevicesBySnWithResponse Batch add devices by SN
//
// Batch add devices by SN.
//
// 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}/multi-devices/sn-add (the `AddDevicesBySn` operationId).
AddDevicesBySnWithResponse(ctx context.Context, omadacId string, siteId string, body AddDevicesBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDevicesBySnResponse, error)
// UnbindDeviceBySnWithBodyWithResponse Batch unbind devices by SN
//
// Batch unbind devices by SN.
//
// 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}/multi-devices/sn-unbind (the `UnbindDeviceBySn` operationId).
UnbindDeviceBySnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnbindDeviceBySnResponse, error)
// UnbindDeviceBySnWithResponse Batch unbind devices by SN
//
// Batch unbind devices by SN.
//
// 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}/multi-devices/sn-unbind (the `UnbindDeviceBySn` operationId).
UnbindDeviceBySnWithResponse(ctx context.Context, omadacId string, siteId string, body UnbindDeviceBySnJSONRequestBody, reqEditors ...RequestEditorFn) (*UnbindDeviceBySnResponse, error)
// ManuallyUpgradeWithBodyWithResponse Start manually upgrade
//
// Manually upgrade the devices of the same model in the site. The firmware needs to be uploaded first. Note: Each site can only execute one multi-device upgrade task at a time, and there is a number limit of the tasks that can be executed simultaneously in the controller.
//
// 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}/multi-devices/start-manually-upgrade (the `ManuallyUpgrade` operationId).
ManuallyUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManuallyUpgradeResponse, error)
// ManuallyUpgradeWithResponse Start manually upgrade
//
// Manually upgrade the devices of the same model in the site. The firmware needs to be uploaded first. Note: Each site can only execute one multi-device upgrade task at a time, and there is a number limit of the tasks that can be executed simultaneously in the controller.
//
// 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}/multi-devices/start-manually-upgrade (the `ManuallyUpgrade` operationId).
ManuallyUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, body ManuallyUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*ManuallyUpgradeResponse, error)
// OnlineRollingUpgradeWithBodyWithResponse Start batch rolling upgrade
//
// Batch online upgrade the devices in a certain order in the site. It is suggested to check firmware update before the operation, or the firmware might not be the latest
//
// 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}/multi-devices/start-rolling-upgrade (the `OnlineRollingUpgrade` operationId).
OnlineRollingUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OnlineRollingUpgradeResponse, error)
// OnlineRollingUpgradeWithResponse Start batch rolling upgrade
//
// Batch online upgrade the devices in a certain order in the site. It is suggested to check firmware update before the operation, or the firmware might not be the latest
//
// 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}/multi-devices/start-rolling-upgrade (the `OnlineRollingUpgrade` operationId).
OnlineRollingUpgradeWithResponse(ctx context.Context, omadacId string, siteId string, body OnlineRollingUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*OnlineRollingUpgradeResponse, error)
// UpdateDeviceTagWithBodyWithResponse Set device tag for given devices
//
// Set device tag for given devices.
//
// 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}/multi-devices/tag (the `UpdateDeviceTag` operationId).
UpdateDeviceTagWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeviceTagResponse, error)
// UpdateDeviceTagWithResponse Set device tag for given devices
//
// Set device tag for given devices.
//
// 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}/multi-devices/tag (the `UpdateDeviceTag` operationId).
UpdateDeviceTagWithResponse(ctx context.Context, omadacId string, siteId string, body UpdateDeviceTagJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeviceTagResponse, error)
// UnbindDeviceWithBodyWithResponse Batch unbind devices
//
// Batch unbind devices.
//
// 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}/multi-devices/unbind (the `UnbindDevice` operationId).
UnbindDeviceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnbindDeviceResponse, error)
// UnbindDeviceWithResponse Batch unbind devices
//
// Batch unbind devices.
//
// 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}/multi-devices/unbind (the `UnbindDevice` operationId).
UnbindDeviceWithResponse(ctx context.Context, omadacId string, siteId string, body UnbindDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*UnbindDeviceResponse, error)
// GetPoePortsListWithResponse Get PoE ports list
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/poe-ports (the `GetPoePortsList` operationId).
GetPoePortsListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetPoePortsListResponse, error)
// GetPoeScheduleListWithResponse Get PoE schedule list
//
// Get poe schedule list.(Pagination)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules (the `GetPoeScheduleList` operationId).
GetPoeScheduleListWithResponse(ctx context.Context, omadacId string, siteId string, params *GetPoeScheduleListParams, reqEditors ...RequestEditorFn) (*GetPoeScheduleListResponse, error)
// CreatePoeScheduleWithBodyWithResponse Create new PoE Schedule
//
// Create new Poe Schedule.
//
// 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}/poe-schedules (the `CreatePoeSchedule` operationId).
CreatePoeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePoeScheduleResponse, error)
// CreatePoeScheduleWithResponse Create new PoE Schedule
//
// Create new Poe Schedule.
//
// 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}/poe-schedules (the `CreatePoeSchedule` operationId).
CreatePoeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, body CreatePoeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePoeScheduleResponse, error)
// DeletePoeScheduleWithResponse Delete PoE Schedule
//
// Delete Poe Schedule.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `DeletePoeSchedule` operationId).
DeletePoeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, poeScheduleId string, reqEditors ...RequestEditorFn) (*DeletePoeScheduleResponse, error)
// ModifyPoeScheduleWithBodyWithResponse Modify PoE Schedule
//
// Modify Poe Schedule.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `ModifyPoeSchedule` operationId).
ModifyPoeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, poeScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyPoeScheduleResponse, error)
// ModifyPoeScheduleWithResponse Modify PoE Schedule
//
// Modify Poe Schedule.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/poe-schedules/{poeScheduleId} (the `ModifyPoeSchedule` operationId).
ModifyPoeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, poeScheduleId string, body ModifyPoeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyPoeScheduleResponse, error)
// GetPortScheduleListWithResponse Get port schedule list
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/port-schedules (the `GetPortScheduleList` operationId).
GetPortScheduleListWithResponse(ctx context.Context, omadacId string, siteId string, params *GetPortScheduleListParams, reqEditors ...RequestEditorFn) (*GetPortScheduleListResponse, error)
// CreatePortScheduleWithBodyWithResponse Create new Port Schedule
//
// Create new Port Schedule.
//
// 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}/port-schedules (the `CreatePortSchedule` operationId).
CreatePortScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePortScheduleResponse, error)
// CreatePortScheduleWithResponse Create new Port Schedule
//
// Create new Port Schedule.
//
// 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}/port-schedules (the `CreatePortSchedule` operationId).
CreatePortScheduleWithResponse(ctx context.Context, omadacId string, siteId string, body CreatePortScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePortScheduleResponse, error)
// DeletePortScheduleWithResponse Delete Port Schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `DeletePortSchedule` operationId).
DeletePortScheduleWithResponse(ctx context.Context, omadacId string, siteId string, portScheduleId string, reqEditors ...RequestEditorFn) (*DeletePortScheduleResponse, error)
// ModifyPortScheduleWithBodyWithResponse Modify Port Schedule
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `ModifyPortSchedule` operationId).
ModifyPortScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, portScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyPortScheduleResponse, error)
// ModifyPortScheduleWithResponse Modify Port Schedule
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/port-schedules/{portScheduleId} (the `ModifyPortSchedule` operationId).
ModifyPortScheduleWithResponse(ctx context.Context, omadacId string, siteId string, portScheduleId string, body ModifyPortScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyPortScheduleResponse, error)
// GetPortSchedulePortsWithResponse Get device ports list supporting port schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/port-status-ports (the `GetPortSchedulePorts` operationId).
GetPortSchedulePortsWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetPortSchedulePortsResponse, error)
// GetAutoSelectDevicesWithBodyWithResponse Get auto select devices in quick-config page.
//
// 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}/quick-action/network-wizard/auto-select-devices (the `GetAutoSelectDevices` operationId).
GetAutoSelectDevicesWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetAutoSelectDevicesResponse, error)
// GetAutoSelectDevicesWithResponse Get auto select devices in quick-config page.
//
// 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}/quick-action/network-wizard/auto-select-devices (the `GetAutoSelectDevices` operationId).
GetAutoSelectDevicesWithResponse(ctx context.Context, omadacId string, siteId string, body GetAutoSelectDevicesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetAutoSelectDevicesResponse, error)
// GetRebootScheduleList1WithResponse Get reboot schedule list
//
// Get reboot schedule list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules (the `GetRebootScheduleList1` operationId).
GetRebootScheduleList1WithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetRebootScheduleList1Response, error)
// CreateRebootSchedule1WithBodyWithResponse Create new reboot schedule
//
// 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}/reboot-schedules (the `CreateRebootSchedule1` operationId).
CreateRebootSchedule1WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRebootSchedule1Response, error)
// CreateRebootSchedule1WithResponse Create new reboot schedule
//
// 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}/reboot-schedules (the `CreateRebootSchedule1` operationId).
CreateRebootSchedule1WithResponse(ctx context.Context, omadacId string, siteId string, body CreateRebootSchedule1JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRebootSchedule1Response, error)
// DeleteRebootSchedule1WithResponse Delete reboot schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `DeleteRebootSchedule1` operationId).
DeleteRebootSchedule1WithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteRebootSchedule1Response, error)
// ModifyRebootSchedule1WithBodyWithResponse Modify reboot schedule
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `ModifyRebootSchedule1` operationId).
ModifyRebootSchedule1WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyRebootSchedule1Response, error)
// ModifyRebootSchedule1WithResponse Modify reboot schedule
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/reboot-schedules/{id} (the `ModifyRebootSchedule1` operationId).
ModifyRebootSchedule1WithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifyRebootSchedule1JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyRebootSchedule1Response, error)
// GetUpgradeScheduleListWithResponse Get upgrade schedule list
//
// Get upgrade schedule list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules (the `GetUpgradeScheduleList` operationId).
GetUpgradeScheduleListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetUpgradeScheduleListResponse, error)
// CreateUpgradeScheduleWithBodyWithResponse Create new upgrade schedule
//
// 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}/upgrade-schedules (the `CreateUpgradeSchedule` operationId).
CreateUpgradeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUpgradeScheduleResponse, error)
// CreateUpgradeScheduleWithResponse Create new upgrade schedule
//
// 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}/upgrade-schedules (the `CreateUpgradeSchedule` operationId).
CreateUpgradeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, body CreateUpgradeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUpgradeScheduleResponse, error)
// DeleteUpgradeScheduleWithResponse Delete upgrade schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `DeleteUpgradeSchedule` operationId).
DeleteUpgradeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteUpgradeScheduleResponse, error)
// ModifyUpgradeScheduleWithBodyWithResponse Modify upgrade schedule
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `ModifyUpgradeSchedule` operationId).
ModifyUpgradeScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyUpgradeScheduleResponse, error)
// ModifyUpgradeScheduleWithResponse Modify upgrade schedule
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upgrade-schedules/{id} (the `ModifyUpgradeSchedule` operationId).
ModifyUpgradeScheduleWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifyUpgradeScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyUpgradeScheduleResponse, error)
// GetRebootScheduleListWithResponse Get reboot schedule template list
//
// Get reboot schedule list template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules (the `GetRebootScheduleList` operationId).
GetRebootScheduleListWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetRebootScheduleListResponse, error)
// CreateRebootScheduleWithBodyWithResponse Create new reboot schedule 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}/sitetemplates/{siteTemplateId}/reboot-schedules (the `CreateRebootSchedule` operationId).
CreateRebootScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRebootScheduleResponse, error)
// CreateRebootScheduleWithResponse Create new reboot schedule 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}/sitetemplates/{siteTemplateId}/reboot-schedules (the `CreateRebootSchedule` operationId).
CreateRebootScheduleWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body CreateRebootScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRebootScheduleResponse, error)
// DeleteRebootScheduleWithResponse Delete reboot schedule template
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `DeleteRebootSchedule` operationId).
DeleteRebootScheduleWithResponse(ctx context.Context, omadacId string, siteTemplateId string, id string, reqEditors ...RequestEditorFn) (*DeleteRebootScheduleResponse, error)
// ModifyRebootScheduleWithBodyWithResponse Modify reboot schedule 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 PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `ModifyRebootSchedule` operationId).
ModifyRebootScheduleWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyRebootScheduleResponse, error)
// ModifyRebootScheduleWithResponse Modify reboot schedule template
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/reboot-schedules/{id} (the `ModifyRebootSchedule` operationId).
ModifyRebootScheduleWithResponse(ctx context.Context, omadacId string, siteTemplateId string, id string, body ModifyRebootScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyRebootScheduleResponse, error)
// GetPortScheduleListTemplateWithResponse Get port Schedule list
//
// Get port Schedule list with the given omadacId and siteTemplateId.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules (the `GetPortScheduleListTemplate` operationId).
GetPortScheduleListTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetPortScheduleListTemplateResponse, error)
// AddPortScheduleTemplateWithBodyWithResponse Create a new Port Schedule Template
//
// Create a new Port Schedule Template with the given params.
//
// 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}/setting/service/port-schedules (the `AddPortScheduleTemplate` operationId).
AddPortScheduleTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddPortScheduleTemplateResponse, error)
// AddPortScheduleTemplateWithResponse Create a new Port Schedule Template
//
// Create a new Port Schedule Template with the given params.
//
// 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}/setting/service/port-schedules (the `AddPortScheduleTemplate` operationId).
AddPortScheduleTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body AddPortScheduleTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*AddPortScheduleTemplateResponse, error)
// RemovePortScheduleTemplateWithResponse Delete Port Schedule Template
//
// Delete Port Schedule Template with the given params.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `RemovePortScheduleTemplate` operationId).
RemovePortScheduleTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, reqEditors ...RequestEditorFn) (*RemovePortScheduleTemplateResponse, error)
// ModifyPortScheduleTemplateWithBodyWithResponse Modify a Port Schedule Template
//
// Modify a Port Schedule Template with the given params.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `ModifyPortScheduleTemplate` operationId).
ModifyPortScheduleTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyPortScheduleTemplateResponse, error)
// ModifyPortScheduleTemplateWithResponse Modify a Port Schedule Template
//
// Modify a Port Schedule Template with the given params.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/port-schedules/{type}/{portScheduleId} (the `ModifyPortScheduleTemplate` operationId).
ModifyPortScheduleTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, pType string, portScheduleId string, body ModifyPortScheduleTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyPortScheduleTemplateResponse, error)
// GetGridAutoCheckUpgradeWithResponse Get autocheck upgrade plan
//
// Paging to get autocheck upgrade plan.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/autoCheck (the `GetGridAutoCheckUpgrade` operationId).
GetGridAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, params *GetGridAutoCheckUpgradeParams, reqEditors ...RequestEditorFn) (*GetGridAutoCheckUpgradeResponse, error)
// CreateAutoCheckUpgradeWithBodyWithResponse Create autocheck upgrade plan
//
// 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}/upgrade/autoCheck (the `CreateAutoCheckUpgrade` operationId).
CreateAutoCheckUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAutoCheckUpgradeResponse, error)
// CreateAutoCheckUpgradeWithResponse Create autocheck upgrade plan
//
// 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}/upgrade/autoCheck (the `CreateAutoCheckUpgrade` operationId).
CreateAutoCheckUpgradeWithResponse(ctx context.Context, omadacId string, body CreateAutoCheckUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAutoCheckUpgradeResponse, error)
// CheckUploadUpgradeFirmwareLimitWithResponse Check the limit of the firmware pool
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/upgrade/firmware-size/{firmwareSize} (the `CheckUploadUpgradeFirmwareLimit` operationId).
CheckUploadUpgradeFirmwareLimitWithResponse(ctx context.Context, omadacId string, firmwareSize string, reqEditors ...RequestEditorFn) (*CheckUploadUpgradeFirmwareLimitResponse, error)
// GetGridFirmwareListWithResponse Get the uploaded firmware list
//
// Paging to get the uploaded firmware list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/firmwares (the `GetGridFirmwareList` operationId).
GetGridFirmwareListWithResponse(ctx context.Context, omadacId string, params *GetGridFirmwareListParams, reqEditors ...RequestEditorFn) (*GetGridFirmwareListResponse, error)
// EditFirmwareUpgradeWithBodyWithResponse Edit the uploaded firmware
//
// 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}/upgrade/firmwares/{firmwareId} (the `EditFirmwareUpgrade` operationId).
EditFirmwareUpgradeWithBodyWithResponse(ctx context.Context, omadacId string, firmwareId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditFirmwareUpgradeResponse, error)
// EditFirmwareUpgradeWithResponse Edit the uploaded firmware
//
// 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}/upgrade/firmwares/{firmwareId} (the `EditFirmwareUpgrade` operationId).
EditFirmwareUpgradeWithResponse(ctx context.Context, omadacId string, firmwareId string, body EditFirmwareUpgradeJSONRequestBody, reqEditors ...RequestEditorFn) (*EditFirmwareUpgradeResponse, error)
// GetTargetFirmwareAllSitesWithResponse Get all sites of target firmware
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/firmwares/{firmwareId}/target-sites (the `GetTargetFirmwareAllSites` operationId).
GetTargetFirmwareAllSitesWithResponse(ctx context.Context, omadacId string, firmwareId string, reqEditors ...RequestEditorFn) (*GetTargetFirmwareAllSitesResponse, error)
// GetModelBySitesWithBodyWithResponse Get the model of the specified site
//
// Get the model of the specified site. If no site is specified, it defaults to all authorized sites
//
// 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}/upgrade/models (the `GetModelBySites` operationId).
GetModelBySitesWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetModelBySitesResponse, error)
// GetModelBySitesWithResponse Get the model of the specified site
//
// Get the model of the specified site. If no site is specified, it defaults to all authorized sites
//
// 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}/upgrade/models (the `GetModelBySites` operationId).
GetModelBySitesWithResponse(ctx context.Context, omadacId string, body GetModelBySitesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetModelBySitesResponse, error)
// GetcriticalModelNumWithResponse Get the number of critical models
//
// You can get the number of critical models.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/critical (the `GetcriticalModelNum` operationId).
GetcriticalModelNumWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetcriticalModelNumResponse, error)
// GetGridFirmwarePoolListWithResponse Get firmware pool list
//
// Paging to get firmware pool list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/firmwares (the `GetGridFirmwarePoolList` operationId).
GetGridFirmwarePoolListWithResponse(ctx context.Context, omadacId string, params *GetGridFirmwarePoolListParams, reqEditors ...RequestEditorFn) (*GetGridFirmwarePoolListResponse, error)
// GetModelFirmwareReleaseNotesWithBodyWithResponse Get release notes information
//
// Get release notes information of a firmware series.
//
// 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}/upgrade/overview/firmwares/release-note (the `GetModelFirmwareReleaseNotes` operationId).
GetModelFirmwareReleaseNotesWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetModelFirmwareReleaseNotesResponse, error)
// GetModelFirmwareReleaseNotesWithResponse Get release notes information
//
// Get release notes information of a firmware series.
//
// 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}/upgrade/overview/firmwares/release-note (the `GetModelFirmwareReleaseNotes` operationId).
GetModelFirmwareReleaseNotesWithResponse(ctx context.Context, omadacId string, body GetModelFirmwareReleaseNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetModelFirmwareReleaseNotesResponse, error)
// GetGridUpgradeLogsWithResponse Get firmware upgrade logs
//
// Paging to get firmware upgrade logs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/logs (the `GetGridUpgradeLogs` operationId).
GetGridUpgradeLogsWithResponse(ctx context.Context, omadacId string, params *GetGridUpgradeLogsParams, reqEditors ...RequestEditorFn) (*GetGridUpgradeLogsResponse, error)
// GetEmailReminderSwitchStatusWithResponse Get Email Reminder Switch Status
//
// You can get email reminder switch status.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/mail/reminder (the `GetEmailReminderSwitchStatus` operationId).
GetEmailReminderSwitchStatusWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetEmailReminderSwitchStatusResponse, error)
// ModifyEmailReminderSwitchStatusWithBodyWithResponse Modify Email Reminder Switch Status
//
// You can modify email reminder switch status.
//
// 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}/upgrade/overview/mail/reminder (the `ModifyEmailReminderSwitchStatus` operationId).
ModifyEmailReminderSwitchStatusWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyEmailReminderSwitchStatusResponse, error)
// ModifyEmailReminderSwitchStatusWithResponse Modify Email Reminder Switch Status
//
// You can modify email reminder switch status.
//
// 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}/upgrade/overview/mail/reminder (the `ModifyEmailReminderSwitchStatus` operationId).
ModifyEmailReminderSwitchStatusWithResponse(ctx context.Context, omadacId string, body ModifyEmailReminderSwitchStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyEmailReminderSwitchStatusResponse, error)
// GetGridUpgradePlansWithResponse Get firmware upgrade plans
//
// Paging to get firmware upgrade plans.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/plans (the `GetGridUpgradePlans` operationId).
GetGridUpgradePlansWithResponse(ctx context.Context, omadacId string, params *GetGridUpgradePlansParams, reqEditors ...RequestEditorFn) (*GetGridUpgradePlansResponse, error)
// CreateUpgradePlanWithBodyWithResponse Create firmware upgrade plan
//
// Create firmware upgrade plan.
//
// 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}/upgrade/overview/plans (the `CreateUpgradePlan` operationId).
CreateUpgradePlanWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUpgradePlanResponse, error)
// CreateUpgradePlanWithResponse Create firmware upgrade plan
//
// Create firmware upgrade plan.
//
// 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}/upgrade/overview/plans (the `CreateUpgradePlan` operationId).
CreateUpgradePlanWithResponse(ctx context.Context, omadacId string, body CreateUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUpgradePlanResponse, error)
// GetTryBetaStatusWithResponse Get try-beta switch status
//
// You can get try-beta switch status.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/try-beta (the `GetTryBetaStatus` operationId).
GetTryBetaStatusWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetTryBetaStatusResponse, error)
// ModifyTryBetaStatusWithBodyWithResponse Modify try-beta switch status
//
// You can modify the try-beta switch status.
//
// 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}/upgrade/overview/try-beta (the `ModifyTryBetaStatus` operationId).
ModifyTryBetaStatusWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyTryBetaStatusResponse, error)
// ModifyTryBetaStatusWithResponse Modify try-beta switch status
//
// You can modify the try-beta switch status.
//
// 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}/upgrade/overview/try-beta (the `ModifyTryBetaStatus` operationId).
ModifyTryBetaStatusWithResponse(ctx context.Context, omadacId string, body ModifyTryBetaStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyTryBetaStatusResponse, error)
// GetTryBetaChannelWithResponse Get try-beta Channel Info
//
// You can get try-beta channel info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/overview/try-beta/channel (the `GetTryBetaChannel` operationId).
GetTryBetaChannelWithResponse(ctx context.Context, omadacId string, reqEditors ...RequestEditorFn) (*GetTryBetaChannelResponse, error)
// ModifyTryBetaChannelWithBodyWithResponse Modify try-beta Channel Info
//
// You can modify try-beta channel info.
//
// 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}/upgrade/overview/try-beta/channel (the `ModifyTryBetaChannel` operationId).
ModifyTryBetaChannelWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyTryBetaChannelResponse, error)
// ModifyTryBetaChannelWithResponse Modify try-beta Channel Info
//
// You can modify try-beta channel info.
//
// 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}/upgrade/overview/try-beta/channel (the `ModifyTryBetaChannel` operationId).
ModifyTryBetaChannelWithResponse(ctx context.Context, omadacId string, body ModifyTryBetaChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyTryBetaChannelResponse, error)
// GetPlanUpgradeModelInfoWithBodyWithResponse Get the upgradeable information of the selected model
//
// Get the upgradeable information of the selected model.
//
// 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}/upgrade/plan/firmware (the `GetPlanUpgradeModelInfo` operationId).
GetPlanUpgradeModelInfoWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetPlanUpgradeModelInfoResponse, error)
// GetPlanUpgradeModelInfoWithResponse Get the upgradeable information of the selected model
//
// Get the upgradeable information of the selected model.
//
// 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}/upgrade/plan/firmware (the `GetPlanUpgradeModelInfo` operationId).
GetPlanUpgradeModelInfoWithResponse(ctx context.Context, omadacId string, body GetPlanUpgradeModelInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*GetPlanUpgradeModelInfoResponse, error)
// GetGridPlanUpgradeModelListWithResponse Get the list of models
//
// Get the list of models on the Controller upgrade plan page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/upgrade/plan/models (the `GetGridPlanUpgradeModelList` operationId).
GetGridPlanUpgradeModelListWithResponse(ctx context.Context, omadacId string, params *GetGridPlanUpgradeModelListParams, reqEditors ...RequestEditorFn) (*GetGridPlanUpgradeModelListResponse, error)
// GetGridPlanUpgradeSiteListWithBodyWithResponse Get the sites of the selected model
//
// Paging to get the sites of the selected model.
//
// 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}/upgrade/plan/sites (the `GetGridPlanUpgradeSiteList` operationId).
GetGridPlanUpgradeSiteListWithBodyWithResponse(ctx context.Context, omadacId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetGridPlanUpgradeSiteListResponse, error)
// GetGridPlanUpgradeSiteListWithResponse Get the sites of the selected model
//
// Paging to get the sites of the selected model.
//
// 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}/upgrade/plan/sites (the `GetGridPlanUpgradeSiteList` operationId).
GetGridPlanUpgradeSiteListWithResponse(ctx context.Context, omadacId string, body GetGridPlanUpgradeSiteListJSONRequestBody, reqEditors ...RequestEditorFn) (*GetGridPlanUpgradeSiteListResponse, 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 ConnectPeriodVO ¶
type ConnectPeriodVO struct {
// Duration Duration of a connect interval. unit: millisecond.
Duration *int64 `json:"duration,omitempty"`
// End End timestamp of a connect interval. unit: millisecond.
End *int64 `json:"end,omitempty"`
// Start Start timestamp of a connect interval. unit: millisecond.
Start *int64 `json:"start,omitempty"`
}
ConnectPeriodVO The collection of device online intervals.
type CopyDeviceConfigurationJSONRequestBody ¶
type CopyDeviceConfigurationJSONRequestBody = DeviceCopyConfigurationOpenApiVO
CopyDeviceConfigurationJSONRequestBody defines body for CopyDeviceConfiguration for application/json ContentType.
type CopyDeviceConfigurationResponse ¶
func ParseCopyDeviceConfigurationResponse ¶
func ParseCopyDeviceConfigurationResponse(rsp *http.Response) (*CopyDeviceConfigurationResponse, error)
ParseCopyDeviceConfigurationResponse parses an HTTP response from a CopyDeviceConfigurationWithResponse call
func (CopyDeviceConfigurationResponse) ContentType ¶
func (r CopyDeviceConfigurationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CopyDeviceConfigurationResponse) GetBody ¶
func (r CopyDeviceConfigurationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CopyDeviceConfigurationResponse) Status ¶
func (r CopyDeviceConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (CopyDeviceConfigurationResponse) StatusCode ¶
func (r CopyDeviceConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAutoCheckResInfo ¶
type CreateAutoCheckResInfo struct {
// AutoCheckId AutoCheck ID
AutoCheckId *string `json:"autoCheckId,omitempty"`
}
CreateAutoCheckResInfo defines model for createAutoCheckResInfo.
type CreateAutoCheckUpgradeJSONRequestBody ¶
type CreateAutoCheckUpgradeJSONRequestBody = AutoCheckUpgradeCreateInfo
CreateAutoCheckUpgradeJSONRequestBody defines body for CreateAutoCheckUpgrade for application/json ContentType.
type CreateAutoCheckUpgradeResponse ¶
func ParseCreateAutoCheckUpgradeResponse ¶
func ParseCreateAutoCheckUpgradeResponse(rsp *http.Response) (*CreateAutoCheckUpgradeResponse, error)
ParseCreateAutoCheckUpgradeResponse parses an HTTP response from a CreateAutoCheckUpgradeWithResponse call
func (CreateAutoCheckUpgradeResponse) ContentType ¶
func (r CreateAutoCheckUpgradeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateAutoCheckUpgradeResponse) GetBody ¶
func (r CreateAutoCheckUpgradeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateAutoCheckUpgradeResponse) Status ¶
func (r CreateAutoCheckUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAutoCheckUpgradeResponse) StatusCode ¶
func (r CreateAutoCheckUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFailedDeviceModelPlanJSONRequestBody ¶
type CreateFailedDeviceModelPlanJSONRequestBody = FailedCreateModelPlanUpgradeInfo
CreateFailedDeviceModelPlanJSONRequestBody defines body for CreateFailedDeviceModelPlan for application/json ContentType.
type CreateFailedDeviceModelPlanResponse ¶
func ParseCreateFailedDeviceModelPlanResponse ¶
func ParseCreateFailedDeviceModelPlanResponse(rsp *http.Response) (*CreateFailedDeviceModelPlanResponse, error)
ParseCreateFailedDeviceModelPlanResponse parses an HTTP response from a CreateFailedDeviceModelPlanWithResponse call
func (CreateFailedDeviceModelPlanResponse) ContentType ¶
func (r CreateFailedDeviceModelPlanResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateFailedDeviceModelPlanResponse) GetBody ¶
func (r CreateFailedDeviceModelPlanResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateFailedDeviceModelPlanResponse) Status ¶
func (r CreateFailedDeviceModelPlanResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFailedDeviceModelPlanResponse) StatusCode ¶
func (r CreateFailedDeviceModelPlanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFailedDeviceUpgradePlan ¶
type CreateFailedDeviceUpgradePlan struct {
// UpgradeIdList Upgrade ID list
UpgradeIdList *[]string `json:"upgradeIdList,omitempty"`
}
CreateFailedDeviceUpgradePlan defines model for CreateFailedDeviceUpgradePlan.
type CreateFirmwareUpgradePlanJSONRequestBody ¶
type CreateFirmwareUpgradePlanJSONRequestBody = PlanFirmwareUpgradeCreateInfo
CreateFirmwareUpgradePlanJSONRequestBody defines body for CreateFirmwareUpgradePlan for application/json ContentType.
type CreateFirmwareUpgradePlanResponse ¶
func ParseCreateFirmwareUpgradePlanResponse ¶
func ParseCreateFirmwareUpgradePlanResponse(rsp *http.Response) (*CreateFirmwareUpgradePlanResponse, error)
ParseCreateFirmwareUpgradePlanResponse parses an HTTP response from a CreateFirmwareUpgradePlanWithResponse call
func (CreateFirmwareUpgradePlanResponse) ContentType ¶
func (r CreateFirmwareUpgradePlanResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateFirmwareUpgradePlanResponse) GetBody ¶
func (r CreateFirmwareUpgradePlanResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateFirmwareUpgradePlanResponse) Status ¶
func (r CreateFirmwareUpgradePlanResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFirmwareUpgradePlanResponse) StatusCode ¶
func (r CreateFirmwareUpgradePlanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePoeScheduleJSONRequestBody ¶
type CreatePoeScheduleJSONRequestBody = PoeScheduleOpenApiVO
CreatePoeScheduleJSONRequestBody defines body for CreatePoeSchedule for application/json ContentType.
type CreatePoeScheduleResponse ¶
func ParseCreatePoeScheduleResponse ¶
func ParseCreatePoeScheduleResponse(rsp *http.Response) (*CreatePoeScheduleResponse, error)
ParseCreatePoeScheduleResponse parses an HTTP response from a CreatePoeScheduleWithResponse call
func (CreatePoeScheduleResponse) ContentType ¶
func (r CreatePoeScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePoeScheduleResponse) GetBody ¶
func (r CreatePoeScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePoeScheduleResponse) Status ¶
func (r CreatePoeScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePoeScheduleResponse) StatusCode ¶
func (r CreatePoeScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePortScheduleJSONRequestBody ¶
type CreatePortScheduleJSONRequestBody = PortScheduleOpenApiVO
CreatePortScheduleJSONRequestBody defines body for CreatePortSchedule for application/json ContentType.
type CreatePortScheduleResponse ¶
func ParseCreatePortScheduleResponse ¶
func ParseCreatePortScheduleResponse(rsp *http.Response) (*CreatePortScheduleResponse, error)
ParseCreatePortScheduleResponse parses an HTTP response from a CreatePortScheduleWithResponse call
func (CreatePortScheduleResponse) ContentType ¶
func (r CreatePortScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePortScheduleResponse) GetBody ¶
func (r CreatePortScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePortScheduleResponse) Status ¶
func (r CreatePortScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePortScheduleResponse) StatusCode ¶
func (r CreatePortScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRebootSchedule1JSONRequestBody ¶
type CreateRebootSchedule1JSONRequestBody = RebootScheduleOpenApiVO
CreateRebootSchedule1JSONRequestBody defines body for CreateRebootSchedule1 for application/json ContentType.
type CreateRebootSchedule1Response ¶
func ParseCreateRebootSchedule1Response ¶
func ParseCreateRebootSchedule1Response(rsp *http.Response) (*CreateRebootSchedule1Response, error)
ParseCreateRebootSchedule1Response parses an HTTP response from a CreateRebootSchedule1WithResponse call
func (CreateRebootSchedule1Response) ContentType ¶
func (r CreateRebootSchedule1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateRebootSchedule1Response) GetBody ¶
func (r CreateRebootSchedule1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateRebootSchedule1Response) Status ¶
func (r CreateRebootSchedule1Response) Status() string
Status returns HTTPResponse.Status
func (CreateRebootSchedule1Response) StatusCode ¶
func (r CreateRebootSchedule1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRebootScheduleJSONRequestBody ¶
type CreateRebootScheduleJSONRequestBody = RebootScheduleTemplateOpenApiVO
CreateRebootScheduleJSONRequestBody defines body for CreateRebootSchedule for application/json ContentType.
type CreateRebootScheduleResponse ¶
func ParseCreateRebootScheduleResponse ¶
func ParseCreateRebootScheduleResponse(rsp *http.Response) (*CreateRebootScheduleResponse, error)
ParseCreateRebootScheduleResponse parses an HTTP response from a CreateRebootScheduleWithResponse call
func (CreateRebootScheduleResponse) ContentType ¶
func (r CreateRebootScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateRebootScheduleResponse) GetBody ¶
func (r CreateRebootScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateRebootScheduleResponse) Status ¶
func (r CreateRebootScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRebootScheduleResponse) StatusCode ¶
func (r CreateRebootScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateReplaceRecordJSONRequestBody ¶
type CreateReplaceRecordJSONRequestBody = DeviceReplaceSettingVO
CreateReplaceRecordJSONRequestBody defines body for CreateReplaceRecord for application/json ContentType.
type CreateReplaceRecordResponse ¶
func ParseCreateReplaceRecordResponse ¶
func ParseCreateReplaceRecordResponse(rsp *http.Response) (*CreateReplaceRecordResponse, error)
ParseCreateReplaceRecordResponse parses an HTTP response from a CreateReplaceRecordWithResponse call
func (CreateReplaceRecordResponse) ContentType ¶
func (r CreateReplaceRecordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateReplaceRecordResponse) GetBody ¶
func (r CreateReplaceRecordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateReplaceRecordResponse) Status ¶
func (r CreateReplaceRecordResponse) Status() string
Status returns HTTPResponse.Status
func (CreateReplaceRecordResponse) StatusCode ¶
func (r CreateReplaceRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRollbackJSONRequestBody ¶
type CreateRollbackJSONRequestBody = RollbackCreateInfo
CreateRollbackJSONRequestBody defines body for CreateRollback for application/json ContentType.
type CreateRollbackResponse ¶
func ParseCreateRollbackResponse ¶
func ParseCreateRollbackResponse(rsp *http.Response) (*CreateRollbackResponse, error)
ParseCreateRollbackResponse parses an HTTP response from a CreateRollbackWithResponse call
func (CreateRollbackResponse) ContentType ¶
func (r CreateRollbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateRollbackResponse) GetBody ¶
func (r CreateRollbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateRollbackResponse) Status ¶
func (r CreateRollbackResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRollbackResponse) StatusCode ¶
func (r CreateRollbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateUpgradePlanJSONRequestBody ¶
type CreateUpgradePlanJSONRequestBody = PlanUpgradeCreateInfo
CreateUpgradePlanJSONRequestBody defines body for CreateUpgradePlan for application/json ContentType.
type CreateUpgradePlanResinfo ¶
type CreateUpgradePlanResinfo struct {
// UpgradeIdList Upgrade ID list
UpgradeIdList *[]string `json:"upgradeIdList,omitempty"`
}
CreateUpgradePlanResinfo defines model for createUpgradePlanResinfo.
type CreateUpgradePlanResponse ¶
func ParseCreateUpgradePlanResponse ¶
func ParseCreateUpgradePlanResponse(rsp *http.Response) (*CreateUpgradePlanResponse, error)
ParseCreateUpgradePlanResponse parses an HTTP response from a CreateUpgradePlanWithResponse call
func (CreateUpgradePlanResponse) ContentType ¶
func (r CreateUpgradePlanResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateUpgradePlanResponse) GetBody ¶
func (r CreateUpgradePlanResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateUpgradePlanResponse) Status ¶
func (r CreateUpgradePlanResponse) Status() string
Status returns HTTPResponse.Status
func (CreateUpgradePlanResponse) StatusCode ¶
func (r CreateUpgradePlanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateUpgradeScheduleJSONRequestBody ¶
type CreateUpgradeScheduleJSONRequestBody = UpgradeScheduleOpenApiVO
CreateUpgradeScheduleJSONRequestBody defines body for CreateUpgradeSchedule for application/json ContentType.
type CreateUpgradeScheduleResponse ¶
func ParseCreateUpgradeScheduleResponse ¶
func ParseCreateUpgradeScheduleResponse(rsp *http.Response) (*CreateUpgradeScheduleResponse, error)
ParseCreateUpgradeScheduleResponse parses an HTTP response from a CreateUpgradeScheduleWithResponse call
func (CreateUpgradeScheduleResponse) ContentType ¶
func (r CreateUpgradeScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateUpgradeScheduleResponse) GetBody ¶
func (r CreateUpgradeScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateUpgradeScheduleResponse) Status ¶
func (r CreateUpgradeScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateUpgradeScheduleResponse) StatusCode ¶
func (r CreateUpgradeScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CriticalModelNum ¶
type CriticalModelNum struct {
// CriticalNumber Number of critical models
CriticalNumber *int32 `json:"criticalNumber,omitempty"`
}
CriticalModelNum defines model for CriticalModelNum.
type DeleteAutoCheckUpgradeResponse ¶
func ParseDeleteAutoCheckUpgradeResponse ¶
func ParseDeleteAutoCheckUpgradeResponse(rsp *http.Response) (*DeleteAutoCheckUpgradeResponse, error)
ParseDeleteAutoCheckUpgradeResponse parses an HTTP response from a DeleteAutoCheckUpgradeWithResponse call
func (DeleteAutoCheckUpgradeResponse) ContentType ¶
func (r DeleteAutoCheckUpgradeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAutoCheckUpgradeResponse) GetBody ¶
func (r DeleteAutoCheckUpgradeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAutoCheckUpgradeResponse) Status ¶
func (r DeleteAutoCheckUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAutoCheckUpgradeResponse) StatusCode ¶
func (r DeleteAutoCheckUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIntelliRecoverDevice ¶
type DeleteIntelliRecoverDevice struct {
// DeleteMacs The device macs to be deleted from intelli recover device list.
DeleteMacs *[]string `json:"deleteMacs,omitempty"`
}
DeleteIntelliRecoverDevice defines model for DeleteIntelliRecoverDevice.
type DeleteMonitorDevicesJSONRequestBody ¶
type DeleteMonitorDevicesJSONRequestBody = DeleteIntelliRecoverDevice
DeleteMonitorDevicesJSONRequestBody defines body for DeleteMonitorDevices for application/json ContentType.
type DeleteMonitorDevicesResponse ¶
func ParseDeleteMonitorDevicesResponse ¶
func ParseDeleteMonitorDevicesResponse(rsp *http.Response) (*DeleteMonitorDevicesResponse, error)
ParseDeleteMonitorDevicesResponse parses an HTTP response from a DeleteMonitorDevicesWithResponse call
func (DeleteMonitorDevicesResponse) ContentType ¶
func (r DeleteMonitorDevicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMonitorDevicesResponse) GetBody ¶
func (r DeleteMonitorDevicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteMonitorDevicesResponse) Status ¶
func (r DeleteMonitorDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMonitorDevicesResponse) StatusCode ¶
func (r DeleteMonitorDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePoeScheduleResponse ¶
func ParseDeletePoeScheduleResponse ¶
func ParseDeletePoeScheduleResponse(rsp *http.Response) (*DeletePoeScheduleResponse, error)
ParseDeletePoeScheduleResponse parses an HTTP response from a DeletePoeScheduleWithResponse call
func (DeletePoeScheduleResponse) ContentType ¶
func (r DeletePoeScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePoeScheduleResponse) GetBody ¶
func (r DeletePoeScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePoeScheduleResponse) Status ¶
func (r DeletePoeScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePoeScheduleResponse) StatusCode ¶
func (r DeletePoeScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePortScheduleResponse ¶
func ParseDeletePortScheduleResponse ¶
func ParseDeletePortScheduleResponse(rsp *http.Response) (*DeletePortScheduleResponse, error)
ParseDeletePortScheduleResponse parses an HTTP response from a DeletePortScheduleWithResponse call
func (DeletePortScheduleResponse) ContentType ¶
func (r DeletePortScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePortScheduleResponse) GetBody ¶
func (r DeletePortScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePortScheduleResponse) Status ¶
func (r DeletePortScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePortScheduleResponse) StatusCode ¶
func (r DeletePortScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRebootSchedule1Response ¶
func ParseDeleteRebootSchedule1Response ¶
func ParseDeleteRebootSchedule1Response(rsp *http.Response) (*DeleteRebootSchedule1Response, error)
ParseDeleteRebootSchedule1Response parses an HTTP response from a DeleteRebootSchedule1WithResponse call
func (DeleteRebootSchedule1Response) ContentType ¶
func (r DeleteRebootSchedule1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteRebootSchedule1Response) GetBody ¶
func (r DeleteRebootSchedule1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteRebootSchedule1Response) Status ¶
func (r DeleteRebootSchedule1Response) Status() string
Status returns HTTPResponse.Status
func (DeleteRebootSchedule1Response) StatusCode ¶
func (r DeleteRebootSchedule1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRebootScheduleResponse ¶
func ParseDeleteRebootScheduleResponse ¶
func ParseDeleteRebootScheduleResponse(rsp *http.Response) (*DeleteRebootScheduleResponse, error)
ParseDeleteRebootScheduleResponse parses an HTTP response from a DeleteRebootScheduleWithResponse call
func (DeleteRebootScheduleResponse) ContentType ¶
func (r DeleteRebootScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteRebootScheduleResponse) GetBody ¶
func (r DeleteRebootScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteRebootScheduleResponse) Status ¶
func (r DeleteRebootScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRebootScheduleResponse) StatusCode ¶
func (r DeleteRebootScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteReplaceRecordResponse ¶
func ParseDeleteReplaceRecordResponse ¶
func ParseDeleteReplaceRecordResponse(rsp *http.Response) (*DeleteReplaceRecordResponse, error)
ParseDeleteReplaceRecordResponse parses an HTTP response from a DeleteReplaceRecordWithResponse call
func (DeleteReplaceRecordResponse) ContentType ¶
func (r DeleteReplaceRecordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteReplaceRecordResponse) GetBody ¶
func (r DeleteReplaceRecordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteReplaceRecordResponse) Status ¶
func (r DeleteReplaceRecordResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteReplaceRecordResponse) StatusCode ¶
func (r DeleteReplaceRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTagJSONRequestBody ¶
type DeleteTagJSONRequestBody = DeleteTagOpenApiVO
DeleteTagJSONRequestBody defines body for DeleteTag for application/json ContentType.
type DeleteTagOpenApiVO ¶
type DeleteTagOpenApiVO struct {
// TagId Tag ID
TagId string `json:"tagId"`
}
DeleteTagOpenApiVO defines model for DeleteTagOpenApiVO.
type DeleteTagResponse ¶
func ParseDeleteTagResponse ¶
func ParseDeleteTagResponse(rsp *http.Response) (*DeleteTagResponse, error)
ParseDeleteTagResponse parses an HTTP response from a DeleteTagWithResponse call
func (DeleteTagResponse) ContentType ¶
func (r DeleteTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTagResponse) GetBody ¶
func (r DeleteTagResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteTagResponse) Status ¶
func (r DeleteTagResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTagResponse) StatusCode ¶
func (r DeleteTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUpgradeFirmwareResponse ¶
func ParseDeleteUpgradeFirmwareResponse ¶
func ParseDeleteUpgradeFirmwareResponse(rsp *http.Response) (*DeleteUpgradeFirmwareResponse, error)
ParseDeleteUpgradeFirmwareResponse parses an HTTP response from a DeleteUpgradeFirmwareWithResponse call
func (DeleteUpgradeFirmwareResponse) ContentType ¶
func (r DeleteUpgradeFirmwareResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteUpgradeFirmwareResponse) GetBody ¶
func (r DeleteUpgradeFirmwareResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteUpgradeFirmwareResponse) Status ¶
func (r DeleteUpgradeFirmwareResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUpgradeFirmwareResponse) StatusCode ¶
func (r DeleteUpgradeFirmwareResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUpgradePlanResponse ¶
func ParseDeleteUpgradePlanResponse ¶
func ParseDeleteUpgradePlanResponse(rsp *http.Response) (*DeleteUpgradePlanResponse, error)
ParseDeleteUpgradePlanResponse parses an HTTP response from a DeleteUpgradePlanWithResponse call
func (DeleteUpgradePlanResponse) ContentType ¶
func (r DeleteUpgradePlanResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteUpgradePlanResponse) GetBody ¶
func (r DeleteUpgradePlanResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteUpgradePlanResponse) Status ¶
func (r DeleteUpgradePlanResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUpgradePlanResponse) StatusCode ¶
func (r DeleteUpgradePlanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUpgradeScheduleResponse ¶
func ParseDeleteUpgradeScheduleResponse ¶
func ParseDeleteUpgradeScheduleResponse(rsp *http.Response) (*DeleteUpgradeScheduleResponse, error)
ParseDeleteUpgradeScheduleResponse parses an HTTP response from a DeleteUpgradeScheduleWithResponse call
func (DeleteUpgradeScheduleResponse) ContentType ¶
func (r DeleteUpgradeScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteUpgradeScheduleResponse) GetBody ¶
func (r DeleteUpgradeScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteUpgradeScheduleResponse) Status ¶
func (r DeleteUpgradeScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUpgradeScheduleResponse) StatusCode ¶
func (r DeleteUpgradeScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeviceAccessManagementSetting ¶
type DeviceAccessManagementSetting struct {
// AppDiscovery Control device app discovery, bind with device web https access, if appDiscvoery is enabled, webControlHttps must be enabled.
AppDiscovery bool `json:"appDiscovery"`
// WebControlHttp Control device web http accessing.
WebControlHttp bool `json:"webControlHttp"`
// WebControlHttps Control device web https accessing.
WebControlHttps bool `json:"webControlHttps"`
}
DeviceAccessManagementSetting Device Access Management Setting.
type DeviceAddProcessRespVO ¶
type DeviceAddProcessRespVO struct {
// Devices Devices add result
Devices *[]SnAddResultVO `json:"devices,omitempty"`
// ProcessStatus It should be a value as follows: 0: init; 1: doing; 2: done
ProcessStatus *int32 `json:"processStatus,omitempty"`
}
DeviceAddProcessRespVO defines model for DeviceAddProcessRespVO.
type DeviceAddRespOpenApiVO ¶
type DeviceAddRespOpenApiVO struct {
// OperateId Operation ID used for progress query
OperateId *string `json:"operateId,omitempty"`
}
DeviceAddRespOpenApiVO defines model for DeviceAddRespOpenApiVO.
type DeviceCopyConfigurationOpenApiVO ¶
type DeviceCopyConfigurationOpenApiVO struct {
// SourceMac Source device MAC, like AA-BB-CC-DD-EE-FF
SourceMac string `json:"sourceMac"`
// TargetMac Target device MAC, like AA-BB-CC-DD-EE-FF
TargetMac string `json:"targetMac"`
}
DeviceCopyConfigurationOpenApiVO defines model for DeviceCopyConfigurationOpenApiVO.
type DeviceFirmwareInfo ¶
type DeviceFirmwareInfo struct {
// CurFwVer Current firmware version
CurFwVer *string `json:"curFwVer,omitempty"`
// FwReleaseLog Firmware release log
FwReleaseLog *string `json:"fwReleaseLog,omitempty"`
// LastFwVer Latest firmware version
LastFwVer *string `json:"lastFwVer,omitempty"`
}
DeviceFirmwareInfo defines model for DeviceFirmwareInfo.
type DeviceGlobalSearchSummary ¶
type DeviceGlobalSearchSummary struct {
Active *bool `json:"active,omitempty"`
AddedInAdvance *bool `json:"addedInAdvance,omitempty"`
FwDownload *bool `json:"fwDownload,omitempty"`
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
ModelVersion *string `json:"modelVersion,omitempty"`
Name *string `json:"name,omitempty"`
NeedUpgrade *bool `json:"needUpgrade,omitempty"`
Site *string `json:"site,omitempty"`
Status *int32 `json:"status,omitempty"`
StatusCategory *int32 `json:"statusCategory,omitempty"`
Type *string `json:"type,omitempty"`
}
DeviceGlobalSearchSummary device list result
type DeviceIncidentCountRequestOpenApiVO ¶
type DeviceIncidentCountRequestOpenApiVO struct {
// DeviceList Device MAC addresses for which incident counts are requested.
DeviceList *[]string `json:"deviceList,omitempty"`
}
DeviceIncidentCountRequestOpenApiVO defines model for DeviceIncidentCountRequestOpenApiVO.
type DeviceIncidentCountResultOpenApiVO ¶
type DeviceIncidentCountResultOpenApiVO struct {
// Incidents Incident counts for the requested devices.
Incidents *[]Incident `json:"incidents,omitempty"`
}
DeviceIncidentCountResultOpenApiVO defines model for DeviceIncidentCountResultOpenApiVO.
type DeviceInfo ¶
type DeviceInfo struct {
// Active Indicates whether the device is activated.
Active *bool `json:"active,omitempty"`
// Compatible The compatible type of device.
Compatible *int32 `json:"compatible,omitempty"`
// CpuUtil Device cpuUtil
CpuUtil *int32 `json:"cpuUtil,omitempty"`
// DetailStatus 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
DetailStatus *int32 `json:"detailStatus,omitempty"`
// DeviceSeriesType Device series type. 0 means basic, 1 means pro.
DeviceSeriesType *int32 `json:"deviceSeriesType,omitempty"`
// Duplex Device uplink port duplex mode, duplex should be a value as follows: 0: Auto; 1: Half; 2: Full.
Duplex *int32 `json:"duplex,omitempty"`
// FirmwareVersion The device firmware version.
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
// InWhiteList Whether the device is in white list.
InWhiteList *bool `json:"inWhiteList,omitempty"`
// Ip Device IP
Ip *string `json:"ip,omitempty"`
// Ipv6 Device IPv6 list
Ipv6 *[]string `json:"ipv6,omitempty"`
// LastSeen Device lastSeen
LastSeen *int64 `json:"lastSeen,omitempty"`
// LicenseStatus Device license status (Only for cloud base) should be a value as follows: 0: unActive; 1: Unbind; 2: Expired; 3: active
LicenseStatus *int32 `json:"licenseStatus,omitempty"`
// LinkSpeed Device uplink port linkSpeed, linkSpeed should be a value as follows: 0: Auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2500M; 5: 10G; 6: 5G; 7: 25G, 8: 100G.
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Mac Device MAC
Mac *string `json:"mac,omitempty"`
// MemUtil Device memUtil
MemUtil *int32 `json:"memUtil,omitempty"`
// Model Device model name with version
Model *string `json:"model,omitempty"`
// ModelName Device model name
ModelName *string `json:"modelName,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// Name Device name
Name *string `json:"name,omitempty"`
// PublicIp Device public IP
PublicIp *string `json:"publicIp,omitempty"`
// Sn Device serial number
Sn *string `json:"sn,omitempty"`
// Status Device status should be a value as follows: 0: Disconnected; 1: Connected; 2: Pending; 3: Heartbeat Missed; 4: Isolated
Status *int32 `json:"status,omitempty"`
// Subtype Switch subtype should be a value as follows: smart: Non-Agile Series Switch; es: Agile Series Switch.
Subtype *string `json:"subtype,omitempty"`
// SupportAfc Whether the device supports AFC.
SupportAfc *bool `json:"supportAfc,omitempty"`
// SwitchConsistent Whether the device can be adopted by the site.
SwitchConsistent *bool `json:"switchConsistent,omitempty"`
// TagName Device tag name
TagName *string `json:"tagName,omitempty"`
// Type Device type
Type *string `json:"type,omitempty"`
// UplinkDeviceMac Uplink device mac
UplinkDeviceMac *string `json:"uplinkDeviceMac,omitempty"`
// UplinkDeviceName Uplink device name
UplinkDeviceName *string `json:"uplinkDeviceName,omitempty"`
// UplinkDevicePort Uplink device port
UplinkDevicePort *string `json:"uplinkDevicePort,omitempty"`
// Uptime Device uptime
Uptime *string `json:"uptime,omitempty"`
}
DeviceInfo defines model for DeviceInfo.
type DeviceListAddByDevicekeyOpenApiVO ¶
type DeviceListAddByDevicekeyOpenApiVO struct {
// Devices add devices list
Devices []AddDeviceByDevicekeyOpenApiVO `json:"devices"`
}
DeviceListAddByDevicekeyOpenApiVO defines model for DeviceListAddByDevicekeyOpenApiVO.
type DeviceListAddBySnOpenApiVO ¶
type DeviceListAddBySnOpenApiVO struct {
// Devices Add devices list
Devices []AddDeviceBySnOpenApiVO `json:"devices"`
}
DeviceListAddBySnOpenApiVO defines model for DeviceListAddBySnOpenApiVO.
type DeviceListAddMultiSiteBySnOpenApiVO ¶
type DeviceListAddMultiSiteBySnOpenApiVO struct {
// Devices Add devices list
Devices []AddDeviceWithSiteBySnOpenApiVO `json:"devices"`
}
DeviceListAddMultiSiteBySnOpenApiVO defines model for DeviceListAddMultiSiteBySnOpenApiVO.
type DeviceListAddOpenApiVO ¶
type DeviceListAddOpenApiVO struct {
// Devices Add devices list
Devices []AddDeviceVO `json:"devices"`
}
DeviceListAddOpenApiVO defines model for DeviceListAddOpenApiVO.
type DeviceMoveSiteOpenApiVO ¶
type DeviceMoveSiteOpenApiVO struct {
// TargetSite Target site ID
TargetSite string `json:"targetSite"`
}
DeviceMoveSiteOpenApiVO defines model for DeviceMoveSiteOpenApiVO.
type DevicePoePorts ¶
type DevicePoePorts struct {
// PoePortIds List of ports supporting Poe.
PoePortIds *[]int32 `json:"poePortIds,omitempty"`
// PortNum Total port num.
PortNum *int32 `json:"portNum,omitempty"`
}
DevicePoePorts Device poe ports info.
type DevicePorts ¶
type DevicePorts struct {
// PortIds List of device ports supporting port schedule.
PortIds *[]int32 `json:"portIds,omitempty"`
// PortNum Device total ports number.
PortNum *int32 `json:"portNum,omitempty"`
}
DevicePorts Device ports info.
type DeviceRememberConfig ¶
type DeviceRememberConfig struct {
// Remember The remember configuration of the device, 0 means disable, 1 means enable, 2 means follow site.
Remember *int32 `json:"remember,omitempty"`
}
DeviceRememberConfig defines model for DeviceRememberConfig.
type DeviceReplaceSettingVO ¶
type DeviceReplaceSettingVO struct {
// DestinationDeviceKey Device Key of the device.
DestinationDeviceKey string `json:"destinationDeviceKey"`
// Password password.
Password *string `json:"password,omitempty"`
// Username User Name.
Username *string `json:"username,omitempty"`
}
DeviceReplaceSettingVO defines model for DeviceReplaceSettingVO.
type DeviceUplinkOpenApiVO ¶
type DeviceUplinkOpenApiVO struct {
// Duplex Device uplink port duplex mode, duplex should be a value as follows: 0: Auto; 1: Half; 2: Full.
Duplex *int32 `json:"duplex,omitempty"`
// LinkSpeed Device uplink port linkSpeed, linkSpeed should be a value as follows: 0: Auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2500M; 5: 10G; 6: 5G; 7: 25G, 8: 100G.
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Mac Current Device MAC
Mac *string `json:"mac,omitempty"`
// UplinkDeviceMac Uplink device mac
UplinkDeviceMac *string `json:"uplinkDeviceMac,omitempty"`
// UplinkDeviceName Uplink device name
UplinkDeviceName *string `json:"uplinkDeviceName,omitempty"`
// UplinkDevicePort Uplink device port
UplinkDevicePort *string `json:"uplinkDevicePort,omitempty"`
}
DeviceUplinkOpenApiVO defines model for DeviceUplinkOpenApiVO.
type DownloadDeviceInfoResponse ¶
func ParseDownloadDeviceInfoResponse ¶
func ParseDownloadDeviceInfoResponse(rsp *http.Response) (*DownloadDeviceInfoResponse, error)
ParseDownloadDeviceInfoResponse parses an HTTP response from a DownloadDeviceInfoWithResponse call
func (DownloadDeviceInfoResponse) ContentType ¶
func (r DownloadDeviceInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadDeviceInfoResponse) GetBody ¶
func (r DownloadDeviceInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadDeviceInfoResponse) Status ¶
func (r DownloadDeviceInfoResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadDeviceInfoResponse) StatusCode ¶
func (r DownloadDeviceInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditAutoCheckUpgradeJSONRequestBody ¶
type EditAutoCheckUpgradeJSONRequestBody = AutoCheckUpgradeCreateInfo
EditAutoCheckUpgradeJSONRequestBody defines body for EditAutoCheckUpgrade for application/json ContentType.
type EditAutoCheckUpgradeResponse ¶
func ParseEditAutoCheckUpgradeResponse ¶
func ParseEditAutoCheckUpgradeResponse(rsp *http.Response) (*EditAutoCheckUpgradeResponse, error)
ParseEditAutoCheckUpgradeResponse parses an HTTP response from a EditAutoCheckUpgradeWithResponse call
func (EditAutoCheckUpgradeResponse) ContentType ¶
func (r EditAutoCheckUpgradeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditAutoCheckUpgradeResponse) GetBody ¶
func (r EditAutoCheckUpgradeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EditAutoCheckUpgradeResponse) Status ¶
func (r EditAutoCheckUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (EditAutoCheckUpgradeResponse) StatusCode ¶
func (r EditAutoCheckUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditFirmwareUpgradeJSONRequestBody ¶
type EditFirmwareUpgradeJSONRequestBody = EditUploadFirmwareInfo
EditFirmwareUpgradeJSONRequestBody defines body for EditFirmwareUpgrade for application/json ContentType.
type EditFirmwareUpgradeResponse ¶
func ParseEditFirmwareUpgradeResponse ¶
func ParseEditFirmwareUpgradeResponse(rsp *http.Response) (*EditFirmwareUpgradeResponse, error)
ParseEditFirmwareUpgradeResponse parses an HTTP response from a EditFirmwareUpgradeWithResponse call
func (EditFirmwareUpgradeResponse) ContentType ¶
func (r EditFirmwareUpgradeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditFirmwareUpgradeResponse) GetBody ¶
func (r EditFirmwareUpgradeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EditFirmwareUpgradeResponse) Status ¶
func (r EditFirmwareUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (EditFirmwareUpgradeResponse) StatusCode ¶
func (r EditFirmwareUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditUpgradePlanJSONRequestBody ¶
type EditUpgradePlanJSONRequestBody = PlanUpgradeEditInfo
EditUpgradePlanJSONRequestBody defines body for EditUpgradePlan for application/json ContentType.
type EditUpgradePlanResponse ¶
func ParseEditUpgradePlanResponse ¶
func ParseEditUpgradePlanResponse(rsp *http.Response) (*EditUpgradePlanResponse, error)
ParseEditUpgradePlanResponse parses an HTTP response from a EditUpgradePlanWithResponse call
func (EditUpgradePlanResponse) ContentType ¶
func (r EditUpgradePlanResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditUpgradePlanResponse) GetBody ¶
func (r EditUpgradePlanResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EditUpgradePlanResponse) Status ¶
func (r EditUpgradePlanResponse) Status() string
Status returns HTTPResponse.Status
func (EditUpgradePlanResponse) StatusCode ¶
func (r EditUpgradePlanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditUploadFirmwareInfo ¶
type EditUploadFirmwareInfo struct {
// Description Description of firmware
Description *string `json:"description,omitempty"`
// TargetEnable Do the sites set up specified firmware, it should be a value as follows: true, false
TargetEnable *bool `json:"targetEnable,omitempty"`
// TargetSites Target sites ID, it exists when "targetEnable" is true
TargetSites *[]string `json:"targetSites,omitempty"`
}
EditUploadFirmwareInfo defines model for EditUploadFirmwareInfo.
type ExistUnSupportRadSecDeviceResponse ¶
func ParseExistUnSupportRadSecDeviceResponse ¶
func ParseExistUnSupportRadSecDeviceResponse(rsp *http.Response) (*ExistUnSupportRadSecDeviceResponse, error)
ParseExistUnSupportRadSecDeviceResponse parses an HTTP response from a ExistUnSupportRadSecDeviceWithResponse call
func (ExistUnSupportRadSecDeviceResponse) ContentType ¶
func (r ExistUnSupportRadSecDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExistUnSupportRadSecDeviceResponse) GetBody ¶
func (r ExistUnSupportRadSecDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExistUnSupportRadSecDeviceResponse) Status ¶
func (r ExistUnSupportRadSecDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (ExistUnSupportRadSecDeviceResponse) StatusCode ¶
func (r ExistUnSupportRadSecDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportAddFailDevicesParams ¶
type ExportAddFailDevicesParams struct {
// Format File format. 0: CSV, 1: XLSX
Format int32 `form:"format" json:"format"`
}
ExportAddFailDevicesParams defines parameters for ExportAddFailDevices.
type ExportAddFailDevicesResponse ¶
func ParseExportAddFailDevicesResponse ¶
func ParseExportAddFailDevicesResponse(rsp *http.Response) (*ExportAddFailDevicesResponse, error)
ParseExportAddFailDevicesResponse parses an HTTP response from a ExportAddFailDevicesWithResponse call
func (ExportAddFailDevicesResponse) ContentType ¶
func (r ExportAddFailDevicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportAddFailDevicesResponse) GetBody ¶
func (r ExportAddFailDevicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportAddFailDevicesResponse) Status ¶
func (r ExportAddFailDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (ExportAddFailDevicesResponse) StatusCode ¶
func (r ExportAddFailDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportGlobalDeviceListJSONRequestBody ¶
type ExportGlobalDeviceListJSONRequestBody = ExportGlobalDeviceListOpenApiVO
ExportGlobalDeviceListJSONRequestBody defines body for ExportGlobalDeviceList for application/json ContentType.
type ExportGlobalDeviceListOpenApiVO ¶
type ExportGlobalDeviceListOpenApiVO struct {
// DisplayColumns In mode 1, the displayColumns cannot be empty. Allowed column name for input : ['deviceName', 'serialNumber', 'macAddress', 'ipAddress', 'publicIpAddress', 'ipv6Address', 'status', 'model', 'version', 'uplink', 'downlink', 'uptime', 'memoryUsage', 'cpuUsage', 'clients', 'downloadTraffic', 'uploadTraffic', 'loopback', 'hop', 'wlanGroup', 'override', 'radio2G', 'radio5G', 'radio6G', '2gClients', '5gClients', '6gClients', 'bSsid', 'txRate', 'rxRate', 'channel', 'channelUtilization2G', 'channelUtilization5G', 'channelUtilization6G', 'tags', 'lastSeen', 'configurationResult', 'licenseStatus'(pro controller exclusive), 'dueTime'(pro controller exclusive), 'series'(pro controller exclusive), 'health'(pro controller exclusive), 'stackGroup'(site view exclusive), 'uplinkDeviceName'(site view exclusive), 'uplinkDevicePort'(site view exclusive), 'linkSpeed'(site view exclusive), 'duplex'(site view exclusive)]
DisplayColumns *[]string `json:"displayColumns,omitempty"`
// Format Format should be a value as follows. 0 means CSV , 1 means XLSX.
Format int32 `json:"format"`
// Mode Value of mode should be 0 or 1 or 2. 0 : All columns, 1 : Customize the export columns, 2 : Default columns.
Mode int32 `json:"mode"`
QueryData *OpenApiQueryDataVO `json:"queryData,omitempty"`
}
ExportGlobalDeviceListOpenApiVO defines model for ExportGlobalDeviceListOpenApiVO.
type ExportGlobalDeviceListResponse ¶
func ParseExportGlobalDeviceListResponse ¶
func ParseExportGlobalDeviceListResponse(rsp *http.Response) (*ExportGlobalDeviceListResponse, error)
ParseExportGlobalDeviceListResponse parses an HTTP response from a ExportGlobalDeviceListWithResponse call
func (ExportGlobalDeviceListResponse) ContentType ¶
func (r ExportGlobalDeviceListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportGlobalDeviceListResponse) GetBody ¶
func (r ExportGlobalDeviceListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportGlobalDeviceListResponse) Status ¶
func (r ExportGlobalDeviceListResponse) Status() string
Status returns HTTPResponse.Status
func (ExportGlobalDeviceListResponse) StatusCode ¶
func (r ExportGlobalDeviceListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportMspAddFailDevicesParams ¶
type ExportMspAddFailDevicesParams struct {
// Format File format. 0: CSV, 1: XLSX
Format int32 `form:"format" json:"format"`
}
ExportMspAddFailDevicesParams defines parameters for ExportMspAddFailDevices.
type ExportMspAddFailDevicesResponse ¶
func ParseExportMspAddFailDevicesResponse ¶
func ParseExportMspAddFailDevicesResponse(rsp *http.Response) (*ExportMspAddFailDevicesResponse, error)
ParseExportMspAddFailDevicesResponse parses an HTTP response from a ExportMspAddFailDevicesWithResponse call
func (ExportMspAddFailDevicesResponse) ContentType ¶
func (r ExportMspAddFailDevicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportMspAddFailDevicesResponse) GetBody ¶
func (r ExportMspAddFailDevicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportMspAddFailDevicesResponse) Status ¶
func (r ExportMspAddFailDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (ExportMspAddFailDevicesResponse) StatusCode ¶
func (r ExportMspAddFailDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportPreConfigDevicesGlobalResponse ¶
func ParseExportPreConfigDevicesGlobalResponse ¶
func ParseExportPreConfigDevicesGlobalResponse(rsp *http.Response) (*ExportPreConfigDevicesGlobalResponse, error)
ParseExportPreConfigDevicesGlobalResponse parses an HTTP response from a ExportPreConfigDevicesGlobalWithResponse call
func (ExportPreConfigDevicesGlobalResponse) ContentType ¶
func (r ExportPreConfigDevicesGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportPreConfigDevicesGlobalResponse) GetBody ¶
func (r ExportPreConfigDevicesGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportPreConfigDevicesGlobalResponse) Status ¶
func (r ExportPreConfigDevicesGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (ExportPreConfigDevicesGlobalResponse) StatusCode ¶
func (r ExportPreConfigDevicesGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportPreConfigDevicesResponse ¶
func ParseExportPreConfigDevicesResponse ¶
func ParseExportPreConfigDevicesResponse(rsp *http.Response) (*ExportPreConfigDevicesResponse, error)
ParseExportPreConfigDevicesResponse parses an HTTP response from a ExportPreConfigDevicesWithResponse call
func (ExportPreConfigDevicesResponse) ContentType ¶
func (r ExportPreConfigDevicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportPreConfigDevicesResponse) GetBody ¶
func (r ExportPreConfigDevicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportPreConfigDevicesResponse) Status ¶
func (r ExportPreConfigDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (ExportPreConfigDevicesResponse) StatusCode ¶
func (r ExportPreConfigDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportSiteDeviceListJSONRequestBody ¶
type ExportSiteDeviceListJSONRequestBody = ExportGlobalDeviceListOpenApiVO
ExportSiteDeviceListJSONRequestBody defines body for ExportSiteDeviceList for application/json ContentType.
type ExportSiteDeviceListResponse ¶
func ParseExportSiteDeviceListResponse ¶
func ParseExportSiteDeviceListResponse(rsp *http.Response) (*ExportSiteDeviceListResponse, error)
ParseExportSiteDeviceListResponse parses an HTTP response from a ExportSiteDeviceListWithResponse call
func (ExportSiteDeviceListResponse) ContentType ¶
func (r ExportSiteDeviceListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportSiteDeviceListResponse) GetBody ¶
func (r ExportSiteDeviceListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportSiteDeviceListResponse) Status ¶
func (r ExportSiteDeviceListResponse) Status() string
Status returns HTTPResponse.Status
func (ExportSiteDeviceListResponse) StatusCode ¶
func (r ExportSiteDeviceListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FailedCreateModelPlanUpgradeInfo ¶
type FailedCreateModelPlanUpgradeInfo struct {
// DayOfMonth The day of the month selected by the user, It should be within the range of 1-31
DayOfMonth *int32 `json:"dayOfMonth,omitempty"`
// Hour The hour of the day selected by the user, It should be within the range of 0-23
Hour *int32 `json:"hour,omitempty"`
// Minute The minute in the hour selected by the user, It should be within the range of 0-59
Minute *int32 `json:"minute,omitempty"`
// MonthOfYear The month of the year selected by the user, It should be within the range of 1-12
MonthOfYear *int32 `json:"monthOfYear,omitempty"`
// ScheduleType The type of upgrade execution time, where 0 represents now and 1 represents the specified time
ScheduleType int32 `json:"scheduleType"`
// Year The year selected by the user
Year *int32 `json:"year,omitempty"`
}
FailedCreateModelPlanUpgradeInfo defines model for FailedCreateModelPlanUpgradeInfo.
type FailedDeviceUpgradeFirmwareInfo ¶
type FailedDeviceUpgradeFirmwareInfo struct {
// FirmwareStatus Target firmware status. 0: normal. 1: The target firmware has been removed/deleted.
FirmwareStatus *int32 `json:"firmwareStatus,omitempty"`
}
FailedDeviceUpgradeFirmwareInfo defines model for FailedDeviceUpgradeFirmwareInfo.
type File ¶
type File struct {
// FileId File ID
FileId *string `json:"fileId,omitempty"`
}
File defines model for File.
type FileServerGlobalBackupVO ¶
type FileServerGlobalBackupVO struct {
// FilePath Saving directory path for backup file. Parameter [filePath] should be 1 - 128 ASCII characters.
FilePath string `json:"filePath"`
// RetainAuthRecord Whether need retain auth record.
RetainAuthRecord *bool `json:"retainAuthRecord,omitempty"`
// RetainFirmwareLog Whether need retain firmware log.
RetainFirmwareLog *bool `json:"retainFirmwareLog,omitempty"`
// RetainUser Whether need retain user info.
RetainUser *bool `json:"retainUser,omitempty"`
// Retention Backup data retention, values are as follows: 0 :no limit others:7,30,60,90,180,365.
Retention *int32 `json:"retention,omitempty"`
// ServerConfig File server configuration.
ServerConfig FileServerOpenApiVO `json:"serverConfig"`
}
FileServerGlobalBackupVO defines model for FileServerGlobalBackupVO.
type FileServerGlobalRestoreVO ¶
type FileServerGlobalRestoreVO struct {
// FilePath Saving directory path for backup file. Parameter [filePath] should be 1 - 128 ASCII characters.
FilePath string `json:"filePath"`
// ServerConfig File server configuration.
ServerConfig FileServerOpenApiVO `json:"serverConfig"`
// SkipDevice Whether skip import devices.
SkipDevice bool `json:"skipDevice"`
}
FileServerGlobalRestoreVO defines model for FileServerGlobalRestoreVO.
type FileServerOpenApiVO ¶
type FileServerOpenApiVO struct {
// Hostname File server host name or IP. Parameter [filePath] should be 1 - 128 ASCII characters.
Hostname string `json:"hostname"`
// Password File server access password, if needed in FTP/SFTP protocol. Parameter [password] should be 1 - 128 ASCII characters.
Password *string `json:"password,omitempty"`
// Port File server port. The value must be between 1 and 65535.
Port int32 `json:"port"`
// Protocol File server protocol, protocol should be a value as follows: FTP: FTP protocal; SFTP: SFTP protocal; TFTP: TFTP protocal; SCP: SCP protocal.
Protocol string `json:"protocol"`
// Username File server access username, if needed in FTP/SFTP/SCP protocol. Parameter [username] should be 1 - 128 ASCII characters.
Username *string `json:"username,omitempty"`
}
FileServerOpenApiVO File server configuration.
type FileServerSiteBackupVO ¶
type FileServerSiteBackupVO struct {
// FilePath Saving path of directory for all backup config files, example: /backup. Parameter [filePath] should be 1 - 128 ASCII characters.
FilePath string `json:"filePath"`
// ServerConfig File server configuration.
ServerConfig FileServerOpenApiVO `json:"serverConfig"`
// SiteIds Site ID list to backup, up to 300 entries are allowed for the site ID list.
SiteIds []string `json:"siteIds"`
}
FileServerSiteBackupVO defines model for FileServerSiteBackupVO.
type FileServerSiteRestoreVO ¶
type FileServerSiteRestoreVO struct {
// FilePath Full path of Backup file, example: /backup/omada_backup.cfg. Parameter [filePath] should be 1 - 128 ASCII characters.
FilePath string `json:"filePath"`
// SiteId Site ID to restore.
SiteId string `json:"siteId"`
}
FileServerSiteRestoreVO Sites to restore.
type FirmwareInfo ¶
type FirmwareInfo struct {
// Description Description of firmware
Description *string `json:"description,omitempty"`
// Id ID
Id *string `json:"id,omitempty"`
// ModelTypeInfo Model type information.
ModelTypeInfo *ModelTypeInfoOpenApiVO `json:"modelTypeInfo,omitempty"`
// Name File name
Name *string `json:"name,omitempty"`
// UploadTime Uploaded timestamp (ms)
UploadTime *int64 `json:"uploadTime,omitempty"`
}
FirmwareInfo defines model for FirmwareInfo.
type ForceProvisionDeviceResponse ¶
func ParseForceProvisionDeviceResponse ¶
func ParseForceProvisionDeviceResponse(rsp *http.Response) (*ForceProvisionDeviceResponse, error)
ParseForceProvisionDeviceResponse parses an HTTP response from a ForceProvisionDeviceWithResponse call
func (ForceProvisionDeviceResponse) ContentType ¶
func (r ForceProvisionDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ForceProvisionDeviceResponse) GetBody ¶
func (r ForceProvisionDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ForceProvisionDeviceResponse) Status ¶
func (r ForceProvisionDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (ForceProvisionDeviceResponse) StatusCode ¶
func (r ForceProvisionDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ForgetDeviceForMspResponse ¶
func ParseForgetDeviceForMspResponse ¶
func ParseForgetDeviceForMspResponse(rsp *http.Response) (*ForgetDeviceForMspResponse, error)
ParseForgetDeviceForMspResponse parses an HTTP response from a ForgetDeviceForMspWithResponse call
func (ForgetDeviceForMspResponse) ContentType ¶
func (r ForgetDeviceForMspResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ForgetDeviceForMspResponse) GetBody ¶
func (r ForgetDeviceForMspResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ForgetDeviceForMspResponse) Status ¶
func (r ForgetDeviceForMspResponse) Status() string
Status returns HTTPResponse.Status
func (ForgetDeviceForMspResponse) StatusCode ¶
func (r ForgetDeviceForMspResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ForgetDeviceResponse ¶
func ParseForgetDeviceResponse ¶
func ParseForgetDeviceResponse(rsp *http.Response) (*ForgetDeviceResponse, error)
ParseForgetDeviceResponse parses an HTTP response from a ForgetDeviceWithResponse call
func (ForgetDeviceResponse) ContentType ¶
func (r ForgetDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ForgetDeviceResponse) GetBody ¶
func (r ForgetDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ForgetDeviceResponse) Status ¶
func (r ForgetDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (ForgetDeviceResponse) StatusCode ¶
func (r ForgetDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAddDevicesStatusMultiSiteResponse ¶
func ParseGetAddDevicesStatusMultiSiteResponse ¶
func ParseGetAddDevicesStatusMultiSiteResponse(rsp *http.Response) (*GetAddDevicesStatusMultiSiteResponse, error)
ParseGetAddDevicesStatusMultiSiteResponse parses an HTTP response from a GetAddDevicesStatusMultiSiteWithResponse call
func (GetAddDevicesStatusMultiSiteResponse) ContentType ¶
func (r GetAddDevicesStatusMultiSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAddDevicesStatusMultiSiteResponse) GetBody ¶
func (r GetAddDevicesStatusMultiSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAddDevicesStatusMultiSiteResponse) Status ¶
func (r GetAddDevicesStatusMultiSiteResponse) Status() string
Status returns HTTPResponse.Status
func (GetAddDevicesStatusMultiSiteResponse) StatusCode ¶
func (r GetAddDevicesStatusMultiSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAddDevicesStatusResponse ¶
func ParseGetAddDevicesStatusResponse ¶
func ParseGetAddDevicesStatusResponse(rsp *http.Response) (*GetAddDevicesStatusResponse, error)
ParseGetAddDevicesStatusResponse parses an HTTP response from a GetAddDevicesStatusWithResponse call
func (GetAddDevicesStatusResponse) ContentType ¶
func (r GetAddDevicesStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAddDevicesStatusResponse) GetBody ¶
func (r GetAddDevicesStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAddDevicesStatusResponse) Status ¶
func (r GetAddDevicesStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetAddDevicesStatusResponse) StatusCode ¶
func (r GetAddDevicesStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdoptAbleDevicesForGlobalBatchAdoptParams ¶
type GetAdoptAbleDevicesForGlobalBatchAdoptParams 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"`
// SortsName 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
SortsName *string `form:"sorts.name,omitempty" json:"sorts.name,omitempty"`
// SortsStatus 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
SortsStatus *string `form:"sorts.status,omitempty" json:"sorts.status,omitempty"`
// SortsIp 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
SortsIp *string `form:"sorts.ip,omitempty" json:"sorts.ip,omitempty"`
// SearchKey Fuzzy query parameters, support field name,mac,ip
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
// FiltersTag Filter query parameters, support field tag name
FiltersTag *string `form:"filters.tag,omitempty" json:"filters.tag,omitempty"`
}
GetAdoptAbleDevicesForGlobalBatchAdoptParams defines parameters for GetAdoptAbleDevicesForGlobalBatchAdopt.
type GetAdoptAbleDevicesForGlobalBatchAdoptResponse ¶
type GetAdoptAbleDevicesForGlobalBatchAdoptResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseGetAdoptAbleDevicesForGlobalBatchAdoptResponse ¶
func ParseGetAdoptAbleDevicesForGlobalBatchAdoptResponse(rsp *http.Response) (*GetAdoptAbleDevicesForGlobalBatchAdoptResponse, error)
ParseGetAdoptAbleDevicesForGlobalBatchAdoptResponse parses an HTTP response from a GetAdoptAbleDevicesForGlobalBatchAdoptWithResponse call
func (GetAdoptAbleDevicesForGlobalBatchAdoptResponse) ContentType ¶
func (r GetAdoptAbleDevicesForGlobalBatchAdoptResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAdoptAbleDevicesForGlobalBatchAdoptResponse) GetBody ¶
func (r GetAdoptAbleDevicesForGlobalBatchAdoptResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAdoptAbleDevicesForGlobalBatchAdoptResponse) Status ¶
func (r GetAdoptAbleDevicesForGlobalBatchAdoptResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdoptAbleDevicesForGlobalBatchAdoptResponse) StatusCode ¶
func (r GetAdoptAbleDevicesForGlobalBatchAdoptResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdoptAbleDevicesForMspBatchAdoptParams ¶
type GetAdoptAbleDevicesForMspBatchAdoptParams 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"`
// SortsName 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
SortsName *string `form:"sorts.name,omitempty" json:"sorts.name,omitempty"`
// SortsStatus 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
SortsStatus *string `form:"sorts.status,omitempty" json:"sorts.status,omitempty"`
// SortsIp 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
SortsIp *string `form:"sorts.ip,omitempty" json:"sorts.ip,omitempty"`
// SearchKey Fuzzy query parameters, support field name,mac,ip
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
// FiltersTag Filter query parameters, support field tag name
FiltersTag *string `form:"filters.tag,omitempty" json:"filters.tag,omitempty"`
}
GetAdoptAbleDevicesForMspBatchAdoptParams defines parameters for GetAdoptAbleDevicesForMspBatchAdopt.
type GetAdoptAbleDevicesForMspBatchAdoptResponse ¶
func ParseGetAdoptAbleDevicesForMspBatchAdoptResponse ¶
func ParseGetAdoptAbleDevicesForMspBatchAdoptResponse(rsp *http.Response) (*GetAdoptAbleDevicesForMspBatchAdoptResponse, error)
ParseGetAdoptAbleDevicesForMspBatchAdoptResponse parses an HTTP response from a GetAdoptAbleDevicesForMspBatchAdoptWithResponse call
func (GetAdoptAbleDevicesForMspBatchAdoptResponse) ContentType ¶
func (r GetAdoptAbleDevicesForMspBatchAdoptResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAdoptAbleDevicesForMspBatchAdoptResponse) GetBody ¶
func (r GetAdoptAbleDevicesForMspBatchAdoptResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAdoptAbleDevicesForMspBatchAdoptResponse) Status ¶
func (r GetAdoptAbleDevicesForMspBatchAdoptResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdoptAbleDevicesForMspBatchAdoptResponse) StatusCode ¶
func (r GetAdoptAbleDevicesForMspBatchAdoptResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdoptTipResponse ¶
func ParseGetAdoptTipResponse ¶
func ParseGetAdoptTipResponse(rsp *http.Response) (*GetAdoptTipResponse, error)
ParseGetAdoptTipResponse parses an HTTP response from a GetAdoptTipWithResponse call
func (GetAdoptTipResponse) ContentType ¶
func (r GetAdoptTipResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAdoptTipResponse) GetBody ¶
func (r GetAdoptTipResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAdoptTipResponse) Status ¶
func (r GetAdoptTipResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdoptTipResponse) StatusCode ¶
func (r GetAdoptTipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllDeviceBySiteResponse ¶
func ParseGetAllDeviceBySiteResponse ¶
func ParseGetAllDeviceBySiteResponse(rsp *http.Response) (*GetAllDeviceBySiteResponse, error)
ParseGetAllDeviceBySiteResponse parses an HTTP response from a GetAllDeviceBySiteWithResponse call
func (GetAllDeviceBySiteResponse) ContentType ¶
func (r GetAllDeviceBySiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllDeviceBySiteResponse) GetBody ¶
func (r GetAllDeviceBySiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAllDeviceBySiteResponse) Status ¶
func (r GetAllDeviceBySiteResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllDeviceBySiteResponse) StatusCode ¶
func (r GetAllDeviceBySiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAutoSelectDevicesJSONRequestBody ¶
type GetAutoSelectDevicesJSONRequestBody = QueryDeviceListOpenApiVO
GetAutoSelectDevicesJSONRequestBody defines body for GetAutoSelectDevices for application/json ContentType.
type GetAutoSelectDevicesResponse ¶
func ParseGetAutoSelectDevicesResponse ¶
func ParseGetAutoSelectDevicesResponse(rsp *http.Response) (*GetAutoSelectDevicesResponse, error)
ParseGetAutoSelectDevicesResponse parses an HTTP response from a GetAutoSelectDevicesWithResponse call
func (GetAutoSelectDevicesResponse) ContentType ¶
func (r GetAutoSelectDevicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAutoSelectDevicesResponse) GetBody ¶
func (r GetAutoSelectDevicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAutoSelectDevicesResponse) Status ¶
func (r GetAutoSelectDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAutoSelectDevicesResponse) StatusCode ¶
func (r GetAutoSelectDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBackupResultResponse ¶
func ParseGetBackupResultResponse ¶
func ParseGetBackupResultResponse(rsp *http.Response) (*GetBackupResultResponse, error)
ParseGetBackupResultResponse parses an HTTP response from a GetBackupResultWithResponse call
func (GetBackupResultResponse) ContentType ¶
func (r GetBackupResultResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBackupResultResponse) GetBody ¶
func (r GetBackupResultResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBackupResultResponse) Status ¶
func (r GetBackupResultResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackupResultResponse) StatusCode ¶
func (r GetBackupResultResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBackupScheduleTaskResponse ¶
func ParseGetBackupScheduleTaskResponse ¶
func ParseGetBackupScheduleTaskResponse(rsp *http.Response) (*GetBackupScheduleTaskResponse, error)
ParseGetBackupScheduleTaskResponse parses an HTTP response from a GetBackupScheduleTaskWithResponse call
func (GetBackupScheduleTaskResponse) ContentType ¶
func (r GetBackupScheduleTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBackupScheduleTaskResponse) GetBody ¶
func (r GetBackupScheduleTaskResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBackupScheduleTaskResponse) Status ¶
func (r GetBackupScheduleTaskResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackupScheduleTaskResponse) StatusCode ¶
func (r GetBackupScheduleTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCheckFirmwareTaskResultResponse ¶
func ParseGetCheckFirmwareTaskResultResponse ¶
func ParseGetCheckFirmwareTaskResultResponse(rsp *http.Response) (*GetCheckFirmwareTaskResultResponse, error)
ParseGetCheckFirmwareTaskResultResponse parses an HTTP response from a GetCheckFirmwareTaskResultWithResponse call
func (GetCheckFirmwareTaskResultResponse) ContentType ¶
func (r GetCheckFirmwareTaskResultResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCheckFirmwareTaskResultResponse) GetBody ¶
func (r GetCheckFirmwareTaskResultResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCheckFirmwareTaskResultResponse) Status ¶
func (r GetCheckFirmwareTaskResultResponse) Status() string
Status returns HTTPResponse.Status
func (GetCheckFirmwareTaskResultResponse) StatusCode ¶
func (r GetCheckFirmwareTaskResultResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeviceAccessMgmtSettingResponse ¶
func ParseGetDeviceAccessMgmtSettingResponse ¶
func ParseGetDeviceAccessMgmtSettingResponse(rsp *http.Response) (*GetDeviceAccessMgmtSettingResponse, error)
ParseGetDeviceAccessMgmtSettingResponse parses an HTTP response from a GetDeviceAccessMgmtSettingWithResponse call
func (GetDeviceAccessMgmtSettingResponse) ContentType ¶
func (r GetDeviceAccessMgmtSettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeviceAccessMgmtSettingResponse) GetBody ¶
func (r GetDeviceAccessMgmtSettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeviceAccessMgmtSettingResponse) Status ¶
func (r GetDeviceAccessMgmtSettingResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeviceAccessMgmtSettingResponse) StatusCode ¶
func (r GetDeviceAccessMgmtSettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeviceAdoptResultResponse ¶
func ParseGetDeviceAdoptResultResponse ¶
func ParseGetDeviceAdoptResultResponse(rsp *http.Response) (*GetDeviceAdoptResultResponse, error)
ParseGetDeviceAdoptResultResponse parses an HTTP response from a GetDeviceAdoptResultWithResponse call
func (GetDeviceAdoptResultResponse) ContentType ¶
func (r GetDeviceAdoptResultResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeviceAdoptResultResponse) GetBody ¶
func (r GetDeviceAdoptResultResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeviceAdoptResultResponse) Status ¶
func (r GetDeviceAdoptResultResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeviceAdoptResultResponse) StatusCode ¶
func (r GetDeviceAdoptResultResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeviceIncidentCountsJSONRequestBody ¶
type GetDeviceIncidentCountsJSONRequestBody = DeviceIncidentCountRequestOpenApiVO
GetDeviceIncidentCountsJSONRequestBody defines body for GetDeviceIncidentCounts for application/json ContentType.
type GetDeviceIncidentCountsResponse ¶
func ParseGetDeviceIncidentCountsResponse ¶
func ParseGetDeviceIncidentCountsResponse(rsp *http.Response) (*GetDeviceIncidentCountsResponse, error)
ParseGetDeviceIncidentCountsResponse parses an HTTP response from a GetDeviceIncidentCountsWithResponse call
func (GetDeviceIncidentCountsResponse) ContentType ¶
func (r GetDeviceIncidentCountsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeviceIncidentCountsResponse) GetBody ¶
func (r GetDeviceIncidentCountsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeviceIncidentCountsResponse) Status ¶
func (r GetDeviceIncidentCountsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeviceIncidentCountsResponse) StatusCode ¶
func (r GetDeviceIncidentCountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeviceListParams ¶
type GetDeviceListParams 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"`
// SortsName 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
SortsName *string `form:"sorts.name,omitempty" json:"sorts.name,omitempty"`
// SortsStatus 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
SortsStatus *string `form:"sorts.status,omitempty" json:"sorts.status,omitempty"`
// SortsIp 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
SortsIp *string `form:"sorts.ip,omitempty" json:"sorts.ip,omitempty"`
// SearchKey Fuzzy query parameters, support field name,mac,ip
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
// FiltersTag Filter query parameters, support field tag name
FiltersTag *string `form:"filters.tag,omitempty" json:"filters.tag,omitempty"`
}
GetDeviceListParams defines parameters for GetDeviceList.
type GetDeviceListResponse ¶
func ParseGetDeviceListResponse ¶
func ParseGetDeviceListResponse(rsp *http.Response) (*GetDeviceListResponse, error)
ParseGetDeviceListResponse parses an HTTP response from a GetDeviceListWithResponse call
func (GetDeviceListResponse) ContentType ¶
func (r GetDeviceListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeviceListResponse) GetBody ¶
func (r GetDeviceListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeviceListResponse) Status ¶
func (r GetDeviceListResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeviceListResponse) StatusCode ¶
func (r GetDeviceListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeviceRememberMeResponse ¶
func ParseGetDeviceRememberMeResponse ¶
func ParseGetDeviceRememberMeResponse(rsp *http.Response) (*GetDeviceRememberMeResponse, error)
ParseGetDeviceRememberMeResponse parses an HTTP response from a GetDeviceRememberMeWithResponse call
func (GetDeviceRememberMeResponse) ContentType ¶
func (r GetDeviceRememberMeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeviceRememberMeResponse) GetBody ¶
func (r GetDeviceRememberMeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeviceRememberMeResponse) Status ¶
func (r GetDeviceRememberMeResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeviceRememberMeResponse) StatusCode ¶
func (r GetDeviceRememberMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeviceWhiteListResponse ¶
func ParseGetDeviceWhiteListResponse ¶
func ParseGetDeviceWhiteListResponse(rsp *http.Response) (*GetDeviceWhiteListResponse, error)
ParseGetDeviceWhiteListResponse parses an HTTP response from a GetDeviceWhiteListWithResponse call
func (GetDeviceWhiteListResponse) ContentType ¶
func (r GetDeviceWhiteListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeviceWhiteListResponse) GetBody ¶
func (r GetDeviceWhiteListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeviceWhiteListResponse) Status ¶
func (r GetDeviceWhiteListResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeviceWhiteListResponse) StatusCode ¶
func (r GetDeviceWhiteListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEligibleDeviceListParams ¶
type GetEligibleDeviceListParams 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"`
}
GetEligibleDeviceListParams defines parameters for GetEligibleDeviceList.
type GetEligibleDeviceListResponse ¶
func ParseGetEligibleDeviceListResponse ¶
func ParseGetEligibleDeviceListResponse(rsp *http.Response) (*GetEligibleDeviceListResponse, error)
ParseGetEligibleDeviceListResponse parses an HTTP response from a GetEligibleDeviceListWithResponse call
func (GetEligibleDeviceListResponse) ContentType ¶
func (r GetEligibleDeviceListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEligibleDeviceListResponse) GetBody ¶
func (r GetEligibleDeviceListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEligibleDeviceListResponse) Status ¶
func (r GetEligibleDeviceListResponse) Status() string
Status returns HTTPResponse.Status
func (GetEligibleDeviceListResponse) StatusCode ¶
func (r GetEligibleDeviceListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEmailReminderSwitchStatusResponse ¶
func ParseGetEmailReminderSwitchStatusResponse ¶
func ParseGetEmailReminderSwitchStatusResponse(rsp *http.Response) (*GetEmailReminderSwitchStatusResponse, error)
ParseGetEmailReminderSwitchStatusResponse parses an HTTP response from a GetEmailReminderSwitchStatusWithResponse call
func (GetEmailReminderSwitchStatusResponse) ContentType ¶
func (r GetEmailReminderSwitchStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEmailReminderSwitchStatusResponse) GetBody ¶
func (r GetEmailReminderSwitchStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEmailReminderSwitchStatusResponse) Status ¶
func (r GetEmailReminderSwitchStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetEmailReminderSwitchStatusResponse) StatusCode ¶
func (r GetEmailReminderSwitchStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFirmwareInfoResponse ¶
func ParseGetFirmwareInfoResponse ¶
func ParseGetFirmwareInfoResponse(rsp *http.Response) (*GetFirmwareInfoResponse, error)
ParseGetFirmwareInfoResponse parses an HTTP response from a GetFirmwareInfoWithResponse call
func (GetFirmwareInfoResponse) ContentType ¶
func (r GetFirmwareInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFirmwareInfoResponse) GetBody ¶
func (r GetFirmwareInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFirmwareInfoResponse) Status ¶
func (r GetFirmwareInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetFirmwareInfoResponse) StatusCode ¶
func (r GetFirmwareInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetForgetProcessResponse ¶
func ParseGetForgetProcessResponse ¶
func ParseGetForgetProcessResponse(rsp *http.Response) (*GetForgetProcessResponse, error)
ParseGetForgetProcessResponse parses an HTTP response from a GetForgetProcessWithResponse call
func (GetForgetProcessResponse) ContentType ¶
func (r GetForgetProcessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetForgetProcessResponse) GetBody ¶
func (r GetForgetProcessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetForgetProcessResponse) Status ¶
func (r GetForgetProcessResponse) Status() string
Status returns HTTPResponse.Status
func (GetForgetProcessResponse) StatusCode ¶
func (r GetForgetProcessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGlobalDeviceIncidentCountsJSONRequestBody ¶
type GetGlobalDeviceIncidentCountsJSONRequestBody = DeviceIncidentCountRequestOpenApiVO
GetGlobalDeviceIncidentCountsJSONRequestBody defines body for GetGlobalDeviceIncidentCounts for application/json ContentType.
type GetGlobalDeviceIncidentCountsResponse ¶
func ParseGetGlobalDeviceIncidentCountsResponse ¶
func ParseGetGlobalDeviceIncidentCountsResponse(rsp *http.Response) (*GetGlobalDeviceIncidentCountsResponse, error)
ParseGetGlobalDeviceIncidentCountsResponse parses an HTTP response from a GetGlobalDeviceIncidentCountsWithResponse call
func (GetGlobalDeviceIncidentCountsResponse) ContentType ¶
func (r GetGlobalDeviceIncidentCountsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGlobalDeviceIncidentCountsResponse) GetBody ¶
func (r GetGlobalDeviceIncidentCountsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGlobalDeviceIncidentCountsResponse) Status ¶
func (r GetGlobalDeviceIncidentCountsResponse) Status() string
Status returns HTTPResponse.Status
func (GetGlobalDeviceIncidentCountsResponse) StatusCode ¶
func (r GetGlobalDeviceIncidentCountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGlobalKnownDeviceListParams ¶
type GetGlobalKnownDeviceListParams 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"`
// SortsMac 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
SortsMac *string `form:"sorts.mac,omitempty" json:"sorts.mac,omitempty"`
// SearchMacs Fuzzy query parameters, support field mac
SearchMacs *string `form:"searchMacs,omitempty" json:"searchMacs,omitempty"`
// SearchNames Fuzzy query parameters, support field name
SearchNames *string `form:"searchNames,omitempty" json:"searchNames,omitempty"`
// SearchModels Fuzzy query parameters, support field model
SearchModels *string `form:"searchModels,omitempty" json:"searchModels,omitempty"`
// SearchSns Fuzzy query parameters, support field sn
SearchSns *string `form:"searchSns,omitempty" json:"searchSns,omitempty"`
// FiltersTag Filter query parameters, support field tag ID
FiltersTag *string `form:"filters.tag,omitempty" json:"filters.tag,omitempty"`
// FiltersDeviceSeriesType Filter query parameters, support field Device series type. 0: basic; 1: pro.
FiltersDeviceSeriesType *string `form:"filters.deviceSeriesType,omitempty" json:"filters.deviceSeriesType,omitempty"`
}
GetGlobalKnownDeviceListParams defines parameters for GetGlobalKnownDeviceList.
type GetGlobalKnownDeviceListResponse ¶
func ParseGetGlobalKnownDeviceListResponse ¶
func ParseGetGlobalKnownDeviceListResponse(rsp *http.Response) (*GetGlobalKnownDeviceListResponse, error)
ParseGetGlobalKnownDeviceListResponse parses an HTTP response from a GetGlobalKnownDeviceListWithResponse call
func (GetGlobalKnownDeviceListResponse) ContentType ¶
func (r GetGlobalKnownDeviceListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGlobalKnownDeviceListResponse) GetBody ¶
func (r GetGlobalKnownDeviceListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGlobalKnownDeviceListResponse) Status ¶
func (r GetGlobalKnownDeviceListResponse) Status() string
Status returns HTTPResponse.Status
func (GetGlobalKnownDeviceListResponse) StatusCode ¶
func (r GetGlobalKnownDeviceListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGlobalUnknownDeviceListParams ¶
type GetGlobalUnknownDeviceListParams 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"`
// SortsMac 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
SortsMac *string `form:"sorts.mac,omitempty" json:"sorts.mac,omitempty"`
// SearchMacs Fuzzy query parameters, support field mac
SearchMacs *string `form:"searchMacs,omitempty" json:"searchMacs,omitempty"`
// SearchNames Fuzzy query parameters, support field name
SearchNames *string `form:"searchNames,omitempty" json:"searchNames,omitempty"`
// SearchModels Fuzzy query parameters, support field model
SearchModels *string `form:"searchModels,omitempty" json:"searchModels,omitempty"`
}
GetGlobalUnknownDeviceListParams defines parameters for GetGlobalUnknownDeviceList.
type GetGlobalUnknownDeviceListResponse ¶
func ParseGetGlobalUnknownDeviceListResponse ¶
func ParseGetGlobalUnknownDeviceListResponse(rsp *http.Response) (*GetGlobalUnknownDeviceListResponse, error)
ParseGetGlobalUnknownDeviceListResponse parses an HTTP response from a GetGlobalUnknownDeviceListWithResponse call
func (GetGlobalUnknownDeviceListResponse) ContentType ¶
func (r GetGlobalUnknownDeviceListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGlobalUnknownDeviceListResponse) GetBody ¶
func (r GetGlobalUnknownDeviceListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGlobalUnknownDeviceListResponse) Status ¶
func (r GetGlobalUnknownDeviceListResponse) Status() string
Status returns HTTPResponse.Status
func (GetGlobalUnknownDeviceListResponse) StatusCode ¶
func (r GetGlobalUnknownDeviceListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridAdoptedBridgeDevicesBySiteParams ¶
type GetGridAdoptedBridgeDevicesBySiteParams 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"`
// SortsMac 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
SortsMac *string `form:"sorts.mac,omitempty" json:"sorts.mac,omitempty"`
// SearchMacs Fuzzy query parameters, support field mac
SearchMacs *string `form:"searchMacs,omitempty" json:"searchMacs,omitempty"`
// SearchNames Fuzzy query parameters, support field name
SearchNames *string `form:"searchNames,omitempty" json:"searchNames,omitempty"`
// SearchModels Fuzzy query parameters, support field model
SearchModels *string `form:"searchModels,omitempty" json:"searchModels,omitempty"`
// SearchSns Fuzzy query parameters, support field sn
SearchSns *string `form:"searchSns,omitempty" json:"searchSns,omitempty"`
// FiltersTag Filter query parameters, support field tag ID
FiltersTag *string `form:"filters.tag,omitempty" json:"filters.tag,omitempty"`
// FiltersDeviceSeriesType Filter query parameters, support field Device series type. 0: basic; 1: pro.
FiltersDeviceSeriesType *string `form:"filters.deviceSeriesType,omitempty" json:"filters.deviceSeriesType,omitempty"`
}
GetGridAdoptedBridgeDevicesBySiteParams defines parameters for GetGridAdoptedBridgeDevicesBySite.
type GetGridAdoptedBridgeDevicesBySiteResponse ¶
func ParseGetGridAdoptedBridgeDevicesBySiteResponse ¶
func ParseGetGridAdoptedBridgeDevicesBySiteResponse(rsp *http.Response) (*GetGridAdoptedBridgeDevicesBySiteResponse, error)
ParseGetGridAdoptedBridgeDevicesBySiteResponse parses an HTTP response from a GetGridAdoptedBridgeDevicesBySiteWithResponse call
func (GetGridAdoptedBridgeDevicesBySiteResponse) ContentType ¶
func (r GetGridAdoptedBridgeDevicesBySiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridAdoptedBridgeDevicesBySiteResponse) GetBody ¶
func (r GetGridAdoptedBridgeDevicesBySiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridAdoptedBridgeDevicesBySiteResponse) Status ¶
func (r GetGridAdoptedBridgeDevicesBySiteResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridAdoptedBridgeDevicesBySiteResponse) StatusCode ¶
func (r GetGridAdoptedBridgeDevicesBySiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridAdoptedDevicesStatByGlobalParams ¶
type GetGridAdoptedDevicesStatByGlobalParams 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"`
// SortsName 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
SortsName *string `form:"sorts.name,omitempty" json:"sorts.name,omitempty"`
// SortsStatus 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
SortsStatus *string `form:"sorts.status,omitempty" json:"sorts.status,omitempty"`
// SortsIp 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
SortsIp *string `form:"sorts.ip,omitempty" json:"sorts.ip,omitempty"`
// SearchKey Fuzzy query parameters, support field name,mac,ip
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
// FiltersTag Filter query parameters, support field tag name
FiltersTag *string `form:"filters.tag,omitempty" json:"filters.tag,omitempty"`
}
GetGridAdoptedDevicesStatByGlobalParams defines parameters for GetGridAdoptedDevicesStatByGlobal.
type GetGridAdoptedDevicesStatByGlobalResponse ¶
func ParseGetGridAdoptedDevicesStatByGlobalResponse ¶
func ParseGetGridAdoptedDevicesStatByGlobalResponse(rsp *http.Response) (*GetGridAdoptedDevicesStatByGlobalResponse, error)
ParseGetGridAdoptedDevicesStatByGlobalResponse parses an HTTP response from a GetGridAdoptedDevicesStatByGlobalWithResponse call
func (GetGridAdoptedDevicesStatByGlobalResponse) ContentType ¶
func (r GetGridAdoptedDevicesStatByGlobalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridAdoptedDevicesStatByGlobalResponse) GetBody ¶
func (r GetGridAdoptedDevicesStatByGlobalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridAdoptedDevicesStatByGlobalResponse) Status ¶
func (r GetGridAdoptedDevicesStatByGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridAdoptedDevicesStatByGlobalResponse) StatusCode ¶
func (r GetGridAdoptedDevicesStatByGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridAutoCheckUpgradeParams ¶
type GetGridAutoCheckUpgradeParams 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"`
// SortsAutoCheckTime 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
SortsAutoCheckTime *string `form:"sorts.autoCheckTime,omitempty" json:"sorts.autoCheckTime,omitempty"`
// SearchKey Fuzzy query parameters, support field upgrade
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
GetGridAutoCheckUpgradeParams defines parameters for GetGridAutoCheckUpgrade.
type GetGridAutoCheckUpgradeResponse ¶
func ParseGetGridAutoCheckUpgradeResponse ¶
func ParseGetGridAutoCheckUpgradeResponse(rsp *http.Response) (*GetGridAutoCheckUpgradeResponse, error)
ParseGetGridAutoCheckUpgradeResponse parses an HTTP response from a GetGridAutoCheckUpgradeWithResponse call
func (GetGridAutoCheckUpgradeResponse) ContentType ¶
func (r GetGridAutoCheckUpgradeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridAutoCheckUpgradeResponse) GetBody ¶
func (r GetGridAutoCheckUpgradeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridAutoCheckUpgradeResponse) Status ¶
func (r GetGridAutoCheckUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridAutoCheckUpgradeResponse) StatusCode ¶
func (r GetGridAutoCheckUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridFirmwareListParams ¶
type GetGridFirmwareListParams 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"`
// SortsModelTypeInfo 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
SortsModelTypeInfo *string `form:"sorts.modelTypeInfo,omitempty" json:"sorts.modelTypeInfo,omitempty"`
// SortsUploadTime 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
SortsUploadTime *string `form:"sorts.uploadTime,omitempty" json:"sorts.uploadTime,omitempty"`
// SearchKey Fuzzy query parameters, support field upgrade
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
GetGridFirmwareListParams defines parameters for GetGridFirmwareList.
type GetGridFirmwareListResponse ¶
func ParseGetGridFirmwareListResponse ¶
func ParseGetGridFirmwareListResponse(rsp *http.Response) (*GetGridFirmwareListResponse, error)
ParseGetGridFirmwareListResponse parses an HTTP response from a GetGridFirmwareListWithResponse call
func (GetGridFirmwareListResponse) ContentType ¶
func (r GetGridFirmwareListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridFirmwareListResponse) GetBody ¶
func (r GetGridFirmwareListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridFirmwareListResponse) Status ¶
func (r GetGridFirmwareListResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridFirmwareListResponse) StatusCode ¶
func (r GetGridFirmwareListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridFirmwarePoolListParams ¶
type GetGridFirmwarePoolListParams struct {
// Channel Channel should be a value as follows: 0: stable; 1: Release Candidate(RC); 2: Beta.
Channel int32 `form:"channel" json:"channel"`
// 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"`
// SortsModelTypeInfo 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
SortsModelTypeInfo *string `form:"sorts.modelTypeInfo,omitempty" json:"sorts.modelTypeInfo,omitempty"`
// SortsReleaseTime 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
SortsReleaseTime *string `form:"sorts.releaseTime,omitempty" json:"sorts.releaseTime,omitempty"`
}
GetGridFirmwarePoolListParams defines parameters for GetGridFirmwarePoolList.
type GetGridFirmwarePoolListResponse ¶
func ParseGetGridFirmwarePoolListResponse ¶
func ParseGetGridFirmwarePoolListResponse(rsp *http.Response) (*GetGridFirmwarePoolListResponse, error)
ParseGetGridFirmwarePoolListResponse parses an HTTP response from a GetGridFirmwarePoolListWithResponse call
func (GetGridFirmwarePoolListResponse) ContentType ¶
func (r GetGridFirmwarePoolListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridFirmwarePoolListResponse) GetBody ¶
func (r GetGridFirmwarePoolListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridFirmwarePoolListResponse) Status ¶
func (r GetGridFirmwarePoolListResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridFirmwarePoolListResponse) StatusCode ¶
func (r GetGridFirmwarePoolListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridMonitorDeviceParams ¶
type GetGridMonitorDeviceParams 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"`
}
GetGridMonitorDeviceParams defines parameters for GetGridMonitorDevice.
type GetGridMonitorDeviceResponse ¶
func ParseGetGridMonitorDeviceResponse ¶
func ParseGetGridMonitorDeviceResponse(rsp *http.Response) (*GetGridMonitorDeviceResponse, error)
ParseGetGridMonitorDeviceResponse parses an HTTP response from a GetGridMonitorDeviceWithResponse call
func (GetGridMonitorDeviceResponse) ContentType ¶
func (r GetGridMonitorDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridMonitorDeviceResponse) GetBody ¶
func (r GetGridMonitorDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridMonitorDeviceResponse) Status ¶
func (r GetGridMonitorDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridMonitorDeviceResponse) StatusCode ¶
func (r GetGridMonitorDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridPendingBridgeDevicesBySiteParams ¶
type GetGridPendingBridgeDevicesBySiteParams 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"`
// SortsMac 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
SortsMac *string `form:"sorts.mac,omitempty" json:"sorts.mac,omitempty"`
// SearchMacs Fuzzy query parameters, support field mac
SearchMacs *string `form:"searchMacs,omitempty" json:"searchMacs,omitempty"`
// SearchNames Fuzzy query parameters, support field name
SearchNames *string `form:"searchNames,omitempty" json:"searchNames,omitempty"`
// SearchModels Fuzzy query parameters, support field model
SearchModels *string `form:"searchModels,omitempty" json:"searchModels,omitempty"`
// SearchSns Fuzzy query parameters, support field sn
SearchSns *string `form:"searchSns,omitempty" json:"searchSns,omitempty"`
// FiltersTag Filter query parameters, support field tag ID
FiltersTag *string `form:"filters.tag,omitempty" json:"filters.tag,omitempty"`
// FiltersDeviceSeriesType Filter query parameters, support field Device series type. 0: basic; 1: pro.
FiltersDeviceSeriesType *string `form:"filters.deviceSeriesType,omitempty" json:"filters.deviceSeriesType,omitempty"`
}
GetGridPendingBridgeDevicesBySiteParams defines parameters for GetGridPendingBridgeDevicesBySite.
type GetGridPendingBridgeDevicesBySiteResponse ¶
func ParseGetGridPendingBridgeDevicesBySiteResponse ¶
func ParseGetGridPendingBridgeDevicesBySiteResponse(rsp *http.Response) (*GetGridPendingBridgeDevicesBySiteResponse, error)
ParseGetGridPendingBridgeDevicesBySiteResponse parses an HTTP response from a GetGridPendingBridgeDevicesBySiteWithResponse call
func (GetGridPendingBridgeDevicesBySiteResponse) ContentType ¶
func (r GetGridPendingBridgeDevicesBySiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridPendingBridgeDevicesBySiteResponse) GetBody ¶
func (r GetGridPendingBridgeDevicesBySiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridPendingBridgeDevicesBySiteResponse) Status ¶
func (r GetGridPendingBridgeDevicesBySiteResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridPendingBridgeDevicesBySiteResponse) StatusCode ¶
func (r GetGridPendingBridgeDevicesBySiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridPendingDevicesBySiteParams ¶
type GetGridPendingDevicesBySiteParams 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"`
// SearchKey searchKey
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
GetGridPendingDevicesBySiteParams defines parameters for GetGridPendingDevicesBySite.
type GetGridPendingDevicesBySiteResponse ¶
func ParseGetGridPendingDevicesBySiteResponse ¶
func ParseGetGridPendingDevicesBySiteResponse(rsp *http.Response) (*GetGridPendingDevicesBySiteResponse, error)
ParseGetGridPendingDevicesBySiteResponse parses an HTTP response from a GetGridPendingDevicesBySiteWithResponse call
func (GetGridPendingDevicesBySiteResponse) ContentType ¶
func (r GetGridPendingDevicesBySiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridPendingDevicesBySiteResponse) GetBody ¶
func (r GetGridPendingDevicesBySiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridPendingDevicesBySiteResponse) Status ¶
func (r GetGridPendingDevicesBySiteResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridPendingDevicesBySiteResponse) StatusCode ¶
func (r GetGridPendingDevicesBySiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridPlanUpgradeModelListParams ¶
type GetGridPlanUpgradeModelListParams 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"`
// SortsModelTypeInfo 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
SortsModelTypeInfo *string `form:"sorts.modelTypeInfo,omitempty" json:"sorts.modelTypeInfo,omitempty"`
// SearchKey Fuzzy query parameters, support field upgrade
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
GetGridPlanUpgradeModelListParams defines parameters for GetGridPlanUpgradeModelList.
type GetGridPlanUpgradeModelListResponse ¶
func ParseGetGridPlanUpgradeModelListResponse ¶
func ParseGetGridPlanUpgradeModelListResponse(rsp *http.Response) (*GetGridPlanUpgradeModelListResponse, error)
ParseGetGridPlanUpgradeModelListResponse parses an HTTP response from a GetGridPlanUpgradeModelListWithResponse call
func (GetGridPlanUpgradeModelListResponse) ContentType ¶
func (r GetGridPlanUpgradeModelListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridPlanUpgradeModelListResponse) GetBody ¶
func (r GetGridPlanUpgradeModelListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridPlanUpgradeModelListResponse) Status ¶
func (r GetGridPlanUpgradeModelListResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridPlanUpgradeModelListResponse) StatusCode ¶
func (r GetGridPlanUpgradeModelListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridPlanUpgradeSiteListJSONRequestBody ¶
type GetGridPlanUpgradeSiteListJSONRequestBody = ModelUpgradeSiteReqInfo
GetGridPlanUpgradeSiteListJSONRequestBody defines body for GetGridPlanUpgradeSiteList for application/json ContentType.
type GetGridPlanUpgradeSiteListResponse ¶
func ParseGetGridPlanUpgradeSiteListResponse ¶
func ParseGetGridPlanUpgradeSiteListResponse(rsp *http.Response) (*GetGridPlanUpgradeSiteListResponse, error)
ParseGetGridPlanUpgradeSiteListResponse parses an HTTP response from a GetGridPlanUpgradeSiteListWithResponse call
func (GetGridPlanUpgradeSiteListResponse) ContentType ¶
func (r GetGridPlanUpgradeSiteListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridPlanUpgradeSiteListResponse) GetBody ¶
func (r GetGridPlanUpgradeSiteListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridPlanUpgradeSiteListResponse) Status ¶
func (r GetGridPlanUpgradeSiteListResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridPlanUpgradeSiteListResponse) StatusCode ¶
func (r GetGridPlanUpgradeSiteListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridUpgradeLogsParams ¶
type GetGridUpgradeLogsParams 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"`
// SortsUpgradeTime 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
SortsUpgradeTime *string `form:"sorts.upgradeTime,omitempty" json:"sorts.upgradeTime,omitempty"`
// SortsModelTypeInfo 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
SortsModelTypeInfo *string `form:"sorts.modelTypeInfo,omitempty" json:"sorts.modelTypeInfo,omitempty"`
}
GetGridUpgradeLogsParams defines parameters for GetGridUpgradeLogs.
type GetGridUpgradeLogsResponse ¶
func ParseGetGridUpgradeLogsResponse ¶
func ParseGetGridUpgradeLogsResponse(rsp *http.Response) (*GetGridUpgradeLogsResponse, error)
ParseGetGridUpgradeLogsResponse parses an HTTP response from a GetGridUpgradeLogsWithResponse call
func (GetGridUpgradeLogsResponse) ContentType ¶
func (r GetGridUpgradeLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridUpgradeLogsResponse) GetBody ¶
func (r GetGridUpgradeLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridUpgradeLogsResponse) Status ¶
func (r GetGridUpgradeLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridUpgradeLogsResponse) StatusCode ¶
func (r GetGridUpgradeLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridUpgradePlansParams ¶
type GetGridUpgradePlansParams 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"`
// SortsScheduledUpgradeTime 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
SortsScheduledUpgradeTime *string `form:"sorts.scheduledUpgradeTime,omitempty" json:"sorts.scheduledUpgradeTime,omitempty"`
// SortsModelTypeInfo 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
SortsModelTypeInfo *string `form:"sorts.modelTypeInfo,omitempty" json:"sorts.modelTypeInfo,omitempty"`
}
GetGridUpgradePlansParams defines parameters for GetGridUpgradePlans.
type GetGridUpgradePlansResponse ¶
func ParseGetGridUpgradePlansResponse ¶
func ParseGetGridUpgradePlansResponse(rsp *http.Response) (*GetGridUpgradePlansResponse, error)
ParseGetGridUpgradePlansResponse parses an HTTP response from a GetGridUpgradePlansWithResponse call
func (GetGridUpgradePlansResponse) ContentType ¶
func (r GetGridUpgradePlansResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridUpgradePlansResponse) GetBody ¶
func (r GetGridUpgradePlansResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridUpgradePlansResponse) Status ¶
func (r GetGridUpgradePlansResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridUpgradePlansResponse) StatusCode ¶
func (r GetGridUpgradePlansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIntelliRecoverSettingResponse ¶
func ParseGetIntelliRecoverSettingResponse ¶
func ParseGetIntelliRecoverSettingResponse(rsp *http.Response) (*GetIntelliRecoverSettingResponse, error)
ParseGetIntelliRecoverSettingResponse parses an HTTP response from a GetIntelliRecoverSettingWithResponse call
func (GetIntelliRecoverSettingResponse) ContentType ¶
func (r GetIntelliRecoverSettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIntelliRecoverSettingResponse) GetBody ¶
func (r GetIntelliRecoverSettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetIntelliRecoverSettingResponse) Status ¶
func (r GetIntelliRecoverSettingResponse) Status() string
Status returns HTTPResponse.Status
func (GetIntelliRecoverSettingResponse) StatusCode ¶
func (r GetIntelliRecoverSettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetManuallyUpgradeResResponse ¶
func ParseGetManuallyUpgradeResResponse ¶
func ParseGetManuallyUpgradeResResponse(rsp *http.Response) (*GetManuallyUpgradeResResponse, error)
ParseGetManuallyUpgradeResResponse parses an HTTP response from a GetManuallyUpgradeResWithResponse call
func (GetManuallyUpgradeResResponse) ContentType ¶
func (r GetManuallyUpgradeResResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetManuallyUpgradeResResponse) GetBody ¶
func (r GetManuallyUpgradeResResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetManuallyUpgradeResResponse) Status ¶
func (r GetManuallyUpgradeResResponse) Status() string
Status returns HTTPResponse.Status
func (GetManuallyUpgradeResResponse) StatusCode ¶
func (r GetManuallyUpgradeResResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetModelBySitesJSONRequestBody ¶
type GetModelBySitesJSONRequestBody = UpgradeSiteModelReqInfo
GetModelBySitesJSONRequestBody defines body for GetModelBySites for application/json ContentType.
type GetModelBySitesResponse ¶
func ParseGetModelBySitesResponse ¶
func ParseGetModelBySitesResponse(rsp *http.Response) (*GetModelBySitesResponse, error)
ParseGetModelBySitesResponse parses an HTTP response from a GetModelBySitesWithResponse call
func (GetModelBySitesResponse) ContentType ¶
func (r GetModelBySitesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetModelBySitesResponse) GetBody ¶
func (r GetModelBySitesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetModelBySitesResponse) Status ¶
func (r GetModelBySitesResponse) Status() string
Status returns HTTPResponse.Status
func (GetModelBySitesResponse) StatusCode ¶
func (r GetModelBySitesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetModelFirmwareReleaseNotesJSONRequestBody ¶
type GetModelFirmwareReleaseNotesJSONRequestBody = ModelFwReleaseNoteReqInfo
GetModelFirmwareReleaseNotesJSONRequestBody defines body for GetModelFirmwareReleaseNotes for application/json ContentType.
type GetModelFirmwareReleaseNotesResponse ¶
func ParseGetModelFirmwareReleaseNotesResponse ¶
func ParseGetModelFirmwareReleaseNotesResponse(rsp *http.Response) (*GetModelFirmwareReleaseNotesResponse, error)
ParseGetModelFirmwareReleaseNotesResponse parses an HTTP response from a GetModelFirmwareReleaseNotesWithResponse call
func (GetModelFirmwareReleaseNotesResponse) ContentType ¶
func (r GetModelFirmwareReleaseNotesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetModelFirmwareReleaseNotesResponse) GetBody ¶
func (r GetModelFirmwareReleaseNotesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetModelFirmwareReleaseNotesResponse) Status ¶
func (r GetModelFirmwareReleaseNotesResponse) Status() string
Status returns HTTPResponse.Status
func (GetModelFirmwareReleaseNotesResponse) StatusCode ¶
func (r GetModelFirmwareReleaseNotesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMoveSiteProcessResponse ¶
func ParseGetMoveSiteProcessResponse ¶
func ParseGetMoveSiteProcessResponse(rsp *http.Response) (*GetMoveSiteProcessResponse, error)
ParseGetMoveSiteProcessResponse parses an HTTP response from a GetMoveSiteProcessWithResponse call
func (GetMoveSiteProcessResponse) ContentType ¶
func (r GetMoveSiteProcessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMoveSiteProcessResponse) GetBody ¶
func (r GetMoveSiteProcessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMoveSiteProcessResponse) Status ¶
func (r GetMoveSiteProcessResponse) Status() string
Status returns HTTPResponse.Status
func (GetMoveSiteProcessResponse) StatusCode ¶
func (r GetMoveSiteProcessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMspAdoptTipResponse ¶
func ParseGetMspAdoptTipResponse ¶
func ParseGetMspAdoptTipResponse(rsp *http.Response) (*GetMspAdoptTipResponse, error)
ParseGetMspAdoptTipResponse parses an HTTP response from a GetMspAdoptTipWithResponse call
func (GetMspAdoptTipResponse) ContentType ¶
func (r GetMspAdoptTipResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMspAdoptTipResponse) GetBody ¶
func (r GetMspAdoptTipResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMspAdoptTipResponse) Status ¶
func (r GetMspAdoptTipResponse) Status() string
Status returns HTTPResponse.Status
func (GetMspAdoptTipResponse) StatusCode ¶
func (r GetMspAdoptTipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOnlineTimelineParams ¶
type GetOnlineTimelineParams struct {
QueryParam TimeIntervalQueryOpenApiVO `form:"queryParam" json:"queryParam"`
}
GetOnlineTimelineParams defines parameters for GetOnlineTimeline.
type GetOnlineTimelineResponse ¶
func ParseGetOnlineTimelineResponse ¶
func ParseGetOnlineTimelineResponse(rsp *http.Response) (*GetOnlineTimelineResponse, error)
ParseGetOnlineTimelineResponse parses an HTTP response from a GetOnlineTimelineWithResponse call
func (GetOnlineTimelineResponse) ContentType ¶
func (r GetOnlineTimelineResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOnlineTimelineResponse) GetBody ¶
func (r GetOnlineTimelineResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOnlineTimelineResponse) Status ¶
func (r GetOnlineTimelineResponse) Status() string
Status returns HTTPResponse.Status
func (GetOnlineTimelineResponse) StatusCode ¶
func (r GetOnlineTimelineResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOnlineUpgradeResResponse ¶
func ParseGetOnlineUpgradeResResponse ¶
func ParseGetOnlineUpgradeResResponse(rsp *http.Response) (*GetOnlineUpgradeResResponse, error)
ParseGetOnlineUpgradeResResponse parses an HTTP response from a GetOnlineUpgradeResWithResponse call
func (GetOnlineUpgradeResResponse) ContentType ¶
func (r GetOnlineUpgradeResResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOnlineUpgradeResResponse) GetBody ¶
func (r GetOnlineUpgradeResResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOnlineUpgradeResResponse) Status ¶
func (r GetOnlineUpgradeResResponse) Status() string
Status returns HTTPResponse.Status
func (GetOnlineUpgradeResResponse) StatusCode ¶
func (r GetOnlineUpgradeResResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPlanUpgradeModelInfoJSONRequestBody ¶
type GetPlanUpgradeModelInfoJSONRequestBody = ModelUpgradeInfo
GetPlanUpgradeModelInfoJSONRequestBody defines body for GetPlanUpgradeModelInfo for application/json ContentType.
type GetPlanUpgradeModelInfoResponse ¶
func ParseGetPlanUpgradeModelInfoResponse ¶
func ParseGetPlanUpgradeModelInfoResponse(rsp *http.Response) (*GetPlanUpgradeModelInfoResponse, error)
ParseGetPlanUpgradeModelInfoResponse parses an HTTP response from a GetPlanUpgradeModelInfoWithResponse call
func (GetPlanUpgradeModelInfoResponse) ContentType ¶
func (r GetPlanUpgradeModelInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPlanUpgradeModelInfoResponse) GetBody ¶
func (r GetPlanUpgradeModelInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPlanUpgradeModelInfoResponse) Status ¶
func (r GetPlanUpgradeModelInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetPlanUpgradeModelInfoResponse) StatusCode ¶
func (r GetPlanUpgradeModelInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPoePortsListResponse ¶
func ParseGetPoePortsListResponse ¶
func ParseGetPoePortsListResponse(rsp *http.Response) (*GetPoePortsListResponse, error)
ParseGetPoePortsListResponse parses an HTTP response from a GetPoePortsListWithResponse call
func (GetPoePortsListResponse) ContentType ¶
func (r GetPoePortsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPoePortsListResponse) GetBody ¶
func (r GetPoePortsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPoePortsListResponse) Status ¶
func (r GetPoePortsListResponse) Status() string
Status returns HTTPResponse.Status
func (GetPoePortsListResponse) StatusCode ¶
func (r GetPoePortsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPoeScheduleListParams ¶
type GetPoeScheduleListParams 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"`
}
GetPoeScheduleListParams defines parameters for GetPoeScheduleList.
type GetPoeScheduleListResponse ¶
func ParseGetPoeScheduleListResponse ¶
func ParseGetPoeScheduleListResponse(rsp *http.Response) (*GetPoeScheduleListResponse, error)
ParseGetPoeScheduleListResponse parses an HTTP response from a GetPoeScheduleListWithResponse call
func (GetPoeScheduleListResponse) ContentType ¶
func (r GetPoeScheduleListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPoeScheduleListResponse) GetBody ¶
func (r GetPoeScheduleListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPoeScheduleListResponse) Status ¶
func (r GetPoeScheduleListResponse) Status() string
Status returns HTTPResponse.Status
func (GetPoeScheduleListResponse) StatusCode ¶
func (r GetPoeScheduleListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPortScheduleListParams ¶
type GetPortScheduleListParams 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"`
}
GetPortScheduleListParams defines parameters for GetPortScheduleList.
type GetPortScheduleListResponse ¶
func ParseGetPortScheduleListResponse ¶
func ParseGetPortScheduleListResponse(rsp *http.Response) (*GetPortScheduleListResponse, error)
ParseGetPortScheduleListResponse parses an HTTP response from a GetPortScheduleListWithResponse call
func (GetPortScheduleListResponse) ContentType ¶
func (r GetPortScheduleListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPortScheduleListResponse) GetBody ¶
func (r GetPortScheduleListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPortScheduleListResponse) Status ¶
func (r GetPortScheduleListResponse) Status() string
Status returns HTTPResponse.Status
func (GetPortScheduleListResponse) StatusCode ¶
func (r GetPortScheduleListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPortScheduleListTemplateResponse ¶
func ParseGetPortScheduleListTemplateResponse ¶
func ParseGetPortScheduleListTemplateResponse(rsp *http.Response) (*GetPortScheduleListTemplateResponse, error)
ParseGetPortScheduleListTemplateResponse parses an HTTP response from a GetPortScheduleListTemplateWithResponse call
func (GetPortScheduleListTemplateResponse) ContentType ¶
func (r GetPortScheduleListTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPortScheduleListTemplateResponse) GetBody ¶
func (r GetPortScheduleListTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPortScheduleListTemplateResponse) Status ¶
func (r GetPortScheduleListTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetPortScheduleListTemplateResponse) StatusCode ¶
func (r GetPortScheduleListTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPortSchedulePortsResponse ¶
func ParseGetPortSchedulePortsResponse ¶
func ParseGetPortSchedulePortsResponse(rsp *http.Response) (*GetPortSchedulePortsResponse, error)
ParseGetPortSchedulePortsResponse parses an HTTP response from a GetPortSchedulePortsWithResponse call
func (GetPortSchedulePortsResponse) ContentType ¶
func (r GetPortSchedulePortsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPortSchedulePortsResponse) GetBody ¶
func (r GetPortSchedulePortsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPortSchedulePortsResponse) Status ¶
func (r GetPortSchedulePortsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPortSchedulePortsResponse) StatusCode ¶
func (r GetPortSchedulePortsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRebootScheduleList1Response ¶
func ParseGetRebootScheduleList1Response ¶
func ParseGetRebootScheduleList1Response(rsp *http.Response) (*GetRebootScheduleList1Response, error)
ParseGetRebootScheduleList1Response parses an HTTP response from a GetRebootScheduleList1WithResponse call
func (GetRebootScheduleList1Response) ContentType ¶
func (r GetRebootScheduleList1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRebootScheduleList1Response) GetBody ¶
func (r GetRebootScheduleList1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRebootScheduleList1Response) Status ¶
func (r GetRebootScheduleList1Response) Status() string
Status returns HTTPResponse.Status
func (GetRebootScheduleList1Response) StatusCode ¶
func (r GetRebootScheduleList1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRebootScheduleListResponse ¶
func ParseGetRebootScheduleListResponse ¶
func ParseGetRebootScheduleListResponse(rsp *http.Response) (*GetRebootScheduleListResponse, error)
ParseGetRebootScheduleListResponse parses an HTTP response from a GetRebootScheduleListWithResponse call
func (GetRebootScheduleListResponse) ContentType ¶
func (r GetRebootScheduleListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRebootScheduleListResponse) GetBody ¶
func (r GetRebootScheduleListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRebootScheduleListResponse) Status ¶
func (r GetRebootScheduleListResponse) Status() string
Status returns HTTPResponse.Status
func (GetRebootScheduleListResponse) StatusCode ¶
func (r GetRebootScheduleListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRestoreResultResponse ¶
func ParseGetRestoreResultResponse ¶
func ParseGetRestoreResultResponse(rsp *http.Response) (*GetRestoreResultResponse, error)
ParseGetRestoreResultResponse parses an HTTP response from a GetRestoreResultWithResponse call
func (GetRestoreResultResponse) ContentType ¶
func (r GetRestoreResultResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRestoreResultResponse) GetBody ¶
func (r GetRestoreResultResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRestoreResultResponse) Status ¶
func (r GetRestoreResultResponse) Status() string
Status returns HTTPResponse.Status
func (GetRestoreResultResponse) StatusCode ¶
func (r GetRestoreResultResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRollingUpgradeResResponse ¶
func ParseGetRollingUpgradeResResponse ¶
func ParseGetRollingUpgradeResResponse(rsp *http.Response) (*GetRollingUpgradeResResponse, error)
ParseGetRollingUpgradeResResponse parses an HTTP response from a GetRollingUpgradeResWithResponse call
func (GetRollingUpgradeResResponse) ContentType ¶
func (r GetRollingUpgradeResResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRollingUpgradeResResponse) GetBody ¶
func (r GetRollingUpgradeResResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRollingUpgradeResResponse) Status ¶
func (r GetRollingUpgradeResResponse) Status() string
Status returns HTTPResponse.Status
func (GetRollingUpgradeResResponse) StatusCode ¶
func (r GetRollingUpgradeResResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSelfServerFileListResponse ¶
func ParseGetSelfServerFileListResponse ¶
func ParseGetSelfServerFileListResponse(rsp *http.Response) (*GetSelfServerFileListResponse, error)
ParseGetSelfServerFileListResponse parses an HTTP response from a GetSelfServerFileListWithResponse call
func (GetSelfServerFileListResponse) ContentType ¶
func (r GetSelfServerFileListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSelfServerFileListResponse) GetBody ¶
func (r GetSelfServerFileListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSelfServerFileListResponse) Status ¶
func (r GetSelfServerFileListResponse) Status() string
Status returns HTTPResponse.Status
func (GetSelfServerFileListResponse) StatusCode ¶
func (r GetSelfServerFileListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSelfServerSiteFileListResponse ¶
func ParseGetSelfServerSiteFileListResponse ¶
func ParseGetSelfServerSiteFileListResponse(rsp *http.Response) (*GetSelfServerSiteFileListResponse, error)
ParseGetSelfServerSiteFileListResponse parses an HTTP response from a GetSelfServerSiteFileListWithResponse call
func (GetSelfServerSiteFileListResponse) ContentType ¶
func (r GetSelfServerSiteFileListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSelfServerSiteFileListResponse) GetBody ¶
func (r GetSelfServerSiteFileListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSelfServerSiteFileListResponse) Status ¶
func (r GetSelfServerSiteFileListResponse) Status() string
Status returns HTTPResponse.Status
func (GetSelfServerSiteFileListResponse) StatusCode ¶
func (r GetSelfServerSiteFileListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSingleForgetProcessResponse ¶
func ParseGetSingleForgetProcessResponse ¶
func ParseGetSingleForgetProcessResponse(rsp *http.Response) (*GetSingleForgetProcessResponse, error)
ParseGetSingleForgetProcessResponse parses an HTTP response from a GetSingleForgetProcessWithResponse call
func (GetSingleForgetProcessResponse) ContentType ¶
func (r GetSingleForgetProcessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSingleForgetProcessResponse) GetBody ¶
func (r GetSingleForgetProcessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSingleForgetProcessResponse) Status ¶
func (r GetSingleForgetProcessResponse) Status() string
Status returns HTTPResponse.Status
func (GetSingleForgetProcessResponse) StatusCode ¶
func (r GetSingleForgetProcessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSingleMoveSiteProcessResponse ¶
func ParseGetSingleMoveSiteProcessResponse ¶
func ParseGetSingleMoveSiteProcessResponse(rsp *http.Response) (*GetSingleMoveSiteProcessResponse, error)
ParseGetSingleMoveSiteProcessResponse parses an HTTP response from a GetSingleMoveSiteProcessWithResponse call
func (GetSingleMoveSiteProcessResponse) ContentType ¶
func (r GetSingleMoveSiteProcessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSingleMoveSiteProcessResponse) GetBody ¶
func (r GetSingleMoveSiteProcessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSingleMoveSiteProcessResponse) Status ¶
func (r GetSingleMoveSiteProcessResponse) Status() string
Status returns HTTPResponse.Status
func (GetSingleMoveSiteProcessResponse) StatusCode ¶
func (r GetSingleMoveSiteProcessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSiteBackupResultResponse ¶
func ParseGetSiteBackupResultResponse ¶
func ParseGetSiteBackupResultResponse(rsp *http.Response) (*GetSiteBackupResultResponse, error)
ParseGetSiteBackupResultResponse parses an HTTP response from a GetSiteBackupResultWithResponse call
func (GetSiteBackupResultResponse) ContentType ¶
func (r GetSiteBackupResultResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSiteBackupResultResponse) GetBody ¶
func (r GetSiteBackupResultResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSiteBackupResultResponse) Status ¶
func (r GetSiteBackupResultResponse) Status() string
Status returns HTTPResponse.Status
func (GetSiteBackupResultResponse) StatusCode ¶
func (r GetSiteBackupResultResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTagsResponse ¶
func ParseGetTagsResponse ¶
func ParseGetTagsResponse(rsp *http.Response) (*GetTagsResponse, error)
ParseGetTagsResponse parses an HTTP response from a GetTagsWithResponse call
func (GetTagsResponse) ContentType ¶
func (r GetTagsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTagsResponse) GetBody ¶
func (r GetTagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTagsResponse) Status ¶
func (r GetTagsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTagsResponse) StatusCode ¶
func (r GetTagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTargetFirmwareAllSitesResponse ¶
func ParseGetTargetFirmwareAllSitesResponse ¶
func ParseGetTargetFirmwareAllSitesResponse(rsp *http.Response) (*GetTargetFirmwareAllSitesResponse, error)
ParseGetTargetFirmwareAllSitesResponse parses an HTTP response from a GetTargetFirmwareAllSitesWithResponse call
func (GetTargetFirmwareAllSitesResponse) ContentType ¶
func (r GetTargetFirmwareAllSitesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTargetFirmwareAllSitesResponse) GetBody ¶
func (r GetTargetFirmwareAllSitesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTargetFirmwareAllSitesResponse) Status ¶
func (r GetTargetFirmwareAllSitesResponse) Status() string
Status returns HTTPResponse.Status
func (GetTargetFirmwareAllSitesResponse) StatusCode ¶
func (r GetTargetFirmwareAllSitesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTryBetaChannelResponse ¶
func ParseGetTryBetaChannelResponse ¶
func ParseGetTryBetaChannelResponse(rsp *http.Response) (*GetTryBetaChannelResponse, error)
ParseGetTryBetaChannelResponse parses an HTTP response from a GetTryBetaChannelWithResponse call
func (GetTryBetaChannelResponse) ContentType ¶
func (r GetTryBetaChannelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTryBetaChannelResponse) GetBody ¶
func (r GetTryBetaChannelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTryBetaChannelResponse) Status ¶
func (r GetTryBetaChannelResponse) Status() string
Status returns HTTPResponse.Status
func (GetTryBetaChannelResponse) StatusCode ¶
func (r GetTryBetaChannelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTryBetaStatusResponse ¶
func ParseGetTryBetaStatusResponse ¶
func ParseGetTryBetaStatusResponse(rsp *http.Response) (*GetTryBetaStatusResponse, error)
ParseGetTryBetaStatusResponse parses an HTTP response from a GetTryBetaStatusWithResponse call
func (GetTryBetaStatusResponse) ContentType ¶
func (r GetTryBetaStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTryBetaStatusResponse) GetBody ¶
func (r GetTryBetaStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTryBetaStatusResponse) Status ¶
func (r GetTryBetaStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetTryBetaStatusResponse) StatusCode ¶
func (r GetTryBetaStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUpgradeFailedDeviceFirmwareInfoResponse ¶
func ParseGetUpgradeFailedDeviceFirmwareInfoResponse ¶
func ParseGetUpgradeFailedDeviceFirmwareInfoResponse(rsp *http.Response) (*GetUpgradeFailedDeviceFirmwareInfoResponse, error)
ParseGetUpgradeFailedDeviceFirmwareInfoResponse parses an HTTP response from a GetUpgradeFailedDeviceFirmwareInfoWithResponse call
func (GetUpgradeFailedDeviceFirmwareInfoResponse) ContentType ¶
func (r GetUpgradeFailedDeviceFirmwareInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUpgradeFailedDeviceFirmwareInfoResponse) GetBody ¶
func (r GetUpgradeFailedDeviceFirmwareInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUpgradeFailedDeviceFirmwareInfoResponse) Status ¶
func (r GetUpgradeFailedDeviceFirmwareInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetUpgradeFailedDeviceFirmwareInfoResponse) StatusCode ¶
func (r GetUpgradeFailedDeviceFirmwareInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUpgradeFailedDeviceInfosParams ¶
type GetUpgradeFailedDeviceInfosParams 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"`
}
GetUpgradeFailedDeviceInfosParams defines parameters for GetUpgradeFailedDeviceInfos.
type GetUpgradeFailedDeviceInfosResponse ¶
func ParseGetUpgradeFailedDeviceInfosResponse ¶
func ParseGetUpgradeFailedDeviceInfosResponse(rsp *http.Response) (*GetUpgradeFailedDeviceInfosResponse, error)
ParseGetUpgradeFailedDeviceInfosResponse parses an HTTP response from a GetUpgradeFailedDeviceInfosWithResponse call
func (GetUpgradeFailedDeviceInfosResponse) ContentType ¶
func (r GetUpgradeFailedDeviceInfosResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUpgradeFailedDeviceInfosResponse) GetBody ¶
func (r GetUpgradeFailedDeviceInfosResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUpgradeFailedDeviceInfosResponse) Status ¶
func (r GetUpgradeFailedDeviceInfosResponse) Status() string
Status returns HTTPResponse.Status
func (GetUpgradeFailedDeviceInfosResponse) StatusCode ¶
func (r GetUpgradeFailedDeviceInfosResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUpgradeScheduleListResponse ¶
func ParseGetUpgradeScheduleListResponse ¶
func ParseGetUpgradeScheduleListResponse(rsp *http.Response) (*GetUpgradeScheduleListResponse, error)
ParseGetUpgradeScheduleListResponse parses an HTTP response from a GetUpgradeScheduleListWithResponse call
func (GetUpgradeScheduleListResponse) ContentType ¶
func (r GetUpgradeScheduleListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUpgradeScheduleListResponse) GetBody ¶
func (r GetUpgradeScheduleListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUpgradeScheduleListResponse) Status ¶
func (r GetUpgradeScheduleListResponse) Status() string
Status returns HTTPResponse.Status
func (GetUpgradeScheduleListResponse) StatusCode ¶
func (r GetUpgradeScheduleListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUplinkDeviceInfoJSONRequestBody ¶
type GetUplinkDeviceInfoJSONRequestBody = QueryDeviceUplinkOpenApiVO
GetUplinkDeviceInfoJSONRequestBody defines body for GetUplinkDeviceInfo for application/json ContentType.
type GetUplinkDeviceInfoResponse ¶
func ParseGetUplinkDeviceInfoResponse ¶
func ParseGetUplinkDeviceInfoResponse(rsp *http.Response) (*GetUplinkDeviceInfoResponse, error)
ParseGetUplinkDeviceInfoResponse parses an HTTP response from a GetUplinkDeviceInfoWithResponse call
func (GetUplinkDeviceInfoResponse) ContentType ¶
func (r GetUplinkDeviceInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUplinkDeviceInfoResponse) GetBody ¶
func (r GetUplinkDeviceInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUplinkDeviceInfoResponse) Status ¶
func (r GetUplinkDeviceInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetUplinkDeviceInfoResponse) StatusCode ¶
func (r GetUplinkDeviceInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetcriticalModelNumResponse ¶
func ParseGetcriticalModelNumResponse ¶
func ParseGetcriticalModelNumResponse(rsp *http.Response) (*GetcriticalModelNumResponse, error)
ParseGetcriticalModelNumResponse parses an HTTP response from a GetcriticalModelNumWithResponse call
func (GetcriticalModelNumResponse) ContentType ¶
func (r GetcriticalModelNumResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetcriticalModelNumResponse) GetBody ¶
func (r GetcriticalModelNumResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetcriticalModelNumResponse) Status ¶
func (r GetcriticalModelNumResponse) Status() string
Status returns HTTPResponse.Status
func (GetcriticalModelNumResponse) StatusCode ¶
func (r GetcriticalModelNumResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GlobalDeviceStatOpenApiVO ¶
type GlobalDeviceStatOpenApiVO struct {
// Activated device activated
Activated *int32 `json:"activated,omitempty"`
// AllAps eap health stat
AllAps *int32 `json:"allAps,omitempty"`
// AllDevices the number of all devices
AllDevices *int32 `json:"allDevices,omitempty"`
// AllOlts eap health stat
AllOlts *int32 `json:"allOlts,omitempty"`
// AllSwitchsAndGateway the number of switchs and gateway
AllSwitchsAndGateway *int32 `json:"allSwitchsAndGateway,omitempty"`
// Config device config
Config *int32 `json:"config,omitempty"`
// EapHealth the health stat of gateway
EapHealth *HealthStatOpenApiVO `json:"eapHealth,omitempty"`
// Expired device expired
Expired *int32 `json:"expired,omitempty"`
// Fair device health stat is fair
Fair *int32 `json:"fair,omitempty"`
// GatewayHealth the health stat of gateway
GatewayHealth *HealthStatOpenApiVO `json:"gatewayHealth,omitempty"`
// Good device health stat is good
Good *int32 `json:"good,omitempty"`
// Mesh device mesh
Mesh *int32 `json:"mesh,omitempty"`
// NoData no health stat data
NoData *int32 `json:"noData,omitempty"`
// Performance device performance
Performance *int32 `json:"performance,omitempty"`
// Poor device health stat is poor
Poor *int32 `json:"poor,omitempty"`
// SwitchHealth the health stat of gateway
SwitchHealth *HealthStatOpenApiVO `json:"switchHealth,omitempty"`
// UnActivated device unActivated
UnActivated *int32 `json:"unActivated,omitempty"`
}
GlobalDeviceStatOpenApiVO defines model for GlobalDeviceStatOpenApiVO.
type GlobalKnownDeviceOpenApiVO ¶
type GlobalKnownDeviceOpenApiVO struct {
// CpuUtil Device cpuUtil
CpuUtil *int32 `json:"cpuUtil,omitempty"`
// DeviceSeriesType Device series type. 0 means basic, 1 means pro.
DeviceSeriesType *int32 `json:"deviceSeriesType,omitempty"`
// Ip Device IP
Ip *string `json:"ip,omitempty"`
// Ipv6 Device IPv6 list
Ipv6 *[]string `json:"ipv6,omitempty"`
// LastSeen Device lastSeen
LastSeen *int64 `json:"lastSeen,omitempty"`
// LicenseStatus Device license status(Only for cloud base) should be a value as follows: 0: unActive; 1: Unbind; 2: Expired; 3: active
LicenseStatus *int32 `json:"licenseStatus,omitempty"`
// Mac Device MAC
Mac *string `json:"mac,omitempty"`
// MemUtil Device memUtil
MemUtil *int32 `json:"memUtil,omitempty"`
// Model Device model name
Model *string `json:"model,omitempty"`
// Name Device name
Name *string `json:"name,omitempty"`
// NeedActive Device license status(Only for cloud base).If the value is true, the device is ready to be activated;If the value is false, the device cannot be activated or has already been activated.
NeedActive *bool `json:"needActive,omitempty"`
// SiteName The name of the site where the device is located
SiteName *string `json:"siteName,omitempty"`
// Sn Device serial number
Sn *string `json:"sn,omitempty"`
// Status Device status should be a value as follows: 0: Disconnected; 1: Connected; 2: Pending; 3: Heartbeat Missed; 4: Isolated
Status *int32 `json:"status,omitempty"`
// Subtype Switch subtype should be a value as follows: smart: Non-Agile Series Switch; es: Agile Series Switch.
Subtype *string `json:"subtype,omitempty"`
// TagName Device tag name
TagName *string `json:"tagName,omitempty"`
// Type Device type
Type *string `json:"type,omitempty"`
// Uptime Device uptime
Uptime *string `json:"uptime,omitempty"`
}
GlobalKnownDeviceOpenApiVO defines model for GlobalKnownDeviceOpenApiVO.
type GlobalSearchResultOpenApiVO ¶
type GlobalSearchResultOpenApiVO struct {
// Devices device list result
Devices *[]DeviceGlobalSearchSummary `json:"devices,omitempty"`
// SiteNames site name
SiteNames *map[string]string `json:"siteNames,omitempty"`
}
GlobalSearchResultOpenApiVO defines model for GlobalSearchResultOpenApiVO.
type GlobalUnknownDeviceOpenApiVO ¶
type GlobalUnknownDeviceOpenApiVO struct {
// DeviceSeriesType Device series type. 0 means basic, 1 means pro.
DeviceSeriesType *int32 `json:"deviceSeriesType,omitempty"`
// Ip Device IP
Ip *string `json:"ip,omitempty"`
// LastSeen Device lastSeen, unit: ms
LastSeen *int64 `json:"lastSeen,omitempty"`
// Mac Device MAC
Mac *string `json:"mac,omitempty"`
// Model Device model name
Model *string `json:"model,omitempty"`
// Name Device name
Name *string `json:"name,omitempty"`
// Status Device status should be a value as follows: 0: Disconnected; 1: Connected; 2: Pending; 3: Heartbeat Missed; 4: Isolated
Status *int32 `json:"status,omitempty"`
// Subtype Switch subtype should be a value as follows: smart: Non-Agile Series Switch; es: Agile Series Switch.
Subtype *string `json:"subtype,omitempty"`
// Type Device type
Type *string `json:"type,omitempty"`
// Uptime Device uptime
Uptime *string `json:"uptime,omitempty"`
}
GlobalUnknownDeviceOpenApiVO defines model for GlobalUnknownDeviceOpenApiVO.
type GridVOAutoCheckUpgradeInfo ¶
type GridVOAutoCheckUpgradeInfo struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]AutoCheckUpgradeInfo `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOAutoCheckUpgradeInfo defines model for GridVOAutoCheckUpgradeInfo.
type GridVODeviceInfo ¶
type GridVODeviceInfo struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]DeviceInfo `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVODeviceInfo defines model for GridVODeviceInfo.
type GridVOFirmwareInfo ¶
type GridVOFirmwareInfo struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]FirmwareInfo `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOFirmwareInfo defines model for GridVOFirmwareInfo.
type GridVOGlobalKnownDeviceOpenApiVO ¶
type GridVOGlobalKnownDeviceOpenApiVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]GlobalKnownDeviceOpenApiVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOGlobalKnownDeviceOpenApiVO defines model for GridVOGlobalKnownDeviceOpenApiVO.
type GridVOGlobalUnknownDeviceOpenApiVO ¶
type GridVOGlobalUnknownDeviceOpenApiVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]GlobalUnknownDeviceOpenApiVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOGlobalUnknownDeviceOpenApiVO defines model for GridVOGlobalUnknownDeviceOpenApiVO.
type GridVOMonitorDevice ¶
type GridVOMonitorDevice struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]MonitorDevice `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOMonitorDevice defines model for GridVOMonitorDevice.
type GridVOPlanUpgradeInfo ¶
type GridVOPlanUpgradeInfo struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]PlanUpgradeInfo `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOPlanUpgradeInfo defines model for GridVOPlanUpgradeInfo.
type GridVOPlanUpgradeModelList ¶
type GridVOPlanUpgradeModelList struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]PlanUpgradeModelList `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOPlanUpgradeModelList defines model for GridVOPlanUpgradeModelList.
type GridVOPoeScheduleQueryOpenApiVO ¶
type GridVOPoeScheduleQueryOpenApiVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]PoeScheduleQueryOpenApiVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOPoeScheduleQueryOpenApiVO defines model for GridVOPoeScheduleQueryOpenApiVO.
type GridVOPortScheduleQueryOpenApiVO ¶
type GridVOPortScheduleQueryOpenApiVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]PortScheduleQueryOpenApiVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOPortScheduleQueryOpenApiVO defines model for GridVOPortScheduleQueryOpenApiVO.
type GridVOUpgradeFailedDeviceInfo ¶
type GridVOUpgradeFailedDeviceInfo struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]UpgradeFailedDeviceInfo `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOUpgradeFailedDeviceInfo defines model for GridVOUpgradeFailedDeviceInfo.
type GridVOUpgradeLogOpenApiInfo ¶
type GridVOUpgradeLogOpenApiInfo struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]UpgradeLogOpenApiInfo `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOUpgradeLogOpenApiInfo defines model for GridVOUpgradeLogOpenApiInfo.
type HealthStatOpenApiVO ¶
type HealthStatOpenApiVO struct {
// Fair device health stat is fair
Fair *int32 `json:"fair,omitempty"`
// Good device health stat is good
Good *int32 `json:"good,omitempty"`
// NoData no health stat data
NoData *int32 `json:"noData,omitempty"`
// Poor device health stat is poor
Poor *int32 `json:"poor,omitempty"`
}
HealthStatOpenApiVO the health stat of gateway
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Incident ¶
type Incident struct {
// IncidentCounts Incident counts.
IncidentCounts *int32 `json:"incidentCounts,omitempty"`
// Mac Device MAC address.
Mac *string `json:"mac,omitempty"`
}
Incident Incident counts for the requested devices.
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 IntelliRecoverSetting ¶
type IntelliRecoverSetting struct {
// AutoFlag Auto recovering flag
AutoFlag *bool `json:"autoFlag,omitempty"`
// FirstRebootPoeInterval First reboot uplinkDevice poe interval
FirstRebootPoeInterval *int32 `json:"firstRebootPoeInterval,omitempty"`
// Id The intelli recover setting Id.
Id *string `json:"id,omitempty"`
// LimitNum The limit reboot uplinkDevice poe number
LimitNum *int32 `json:"limitNum,omitempty"`
// RebootPoeInterval Retry reboot uplinkDevice poe interval
RebootPoeInterval *int32 `json:"rebootPoeInterval,omitempty"`
}
IntelliRecoverSetting defines model for IntelliRecoverSetting.
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 LocateDeviceJSONRequestBody ¶
type LocateDeviceJSONRequestBody = LocateDeviceRequest
LocateDeviceJSONRequestBody defines body for LocateDevice for application/json ContentType.
type LocateDeviceRequest ¶
type LocateDeviceRequest struct {
LocateEnable *bool `json:"locateEnable,omitempty"`
// PortList Ports to be located
PortList *[]int32 `json:"portList,omitempty"`
}
LocateDeviceRequest defines model for LocateDeviceRequest.
type LocateDeviceResponse ¶
func ParseLocateDeviceResponse ¶
func ParseLocateDeviceResponse(rsp *http.Response) (*LocateDeviceResponse, error)
ParseLocateDeviceResponse parses an HTTP response from a LocateDeviceWithResponse call
func (LocateDeviceResponse) ContentType ¶
func (r LocateDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LocateDeviceResponse) GetBody ¶
func (r LocateDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LocateDeviceResponse) Status ¶
func (r LocateDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (LocateDeviceResponse) StatusCode ¶
func (r LocateDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LocateOswPortsOpenApiVO ¶
type LocateOswPortsOpenApiVO struct {
// LocateEnable Whether locate function is enabled
LocateEnable bool `json:"locateEnable"`
// PortListVOs List of Switch MAC and ports.
PortListVOs *[]OswNormalPortListVO `json:"portListVOs,omitempty"`
// StackPortListVOs List of Stack ID and Standard Ports.
StackPortListVOs *[]OswStackPortListVO `json:"stackPortListVOs,omitempty"`
}
LocateOswPortsOpenApiVO defines model for LocateOswPortsOpenApiVO.
type LocateOswPortsResultOpenApiVO ¶
type LocateOswPortsResultOpenApiVO struct {
// LocateOswPortsResultList Locate switch ports error information
LocateOswPortsResultList *[]LocateOswResultOpenApiVO `json:"locateOswPortsResultList,omitempty"`
// LocateStackPortsResultList Locate stack ports error information
LocateStackPortsResultList *[]LocateStackResultOpenApiVO `json:"locateStackPortsResultList,omitempty"`
}
LocateOswPortsResultOpenApiVO defines model for LocateOswPortsResultOpenApiVO.
type LocateOswResultOpenApiVO ¶
type LocateOswResultOpenApiVO struct {
// ErrorCode Error code
ErrorCode *int32 `json:"errorCode,omitempty"`
// ErrorMsg Error message
ErrorMsg *string `json:"errorMsg,omitempty"`
// Mac Switch MAC Address
Mac *string `json:"mac,omitempty"`
}
LocateOswResultOpenApiVO Locate switch ports error information
type LocatePortsJSONRequestBody ¶
type LocatePortsJSONRequestBody = LocateOswPortsOpenApiVO
LocatePortsJSONRequestBody defines body for LocatePorts for application/json ContentType.
type LocatePortsResponse ¶
func ParseLocatePortsResponse ¶
func ParseLocatePortsResponse(rsp *http.Response) (*LocatePortsResponse, error)
ParseLocatePortsResponse parses an HTTP response from a LocatePortsWithResponse call
func (LocatePortsResponse) ContentType ¶
func (r LocatePortsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LocatePortsResponse) GetBody ¶
func (r LocatePortsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LocatePortsResponse) Status ¶
func (r LocatePortsResponse) Status() string
Status returns HTTPResponse.Status
func (LocatePortsResponse) StatusCode ¶
func (r LocatePortsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LocateStackResultOpenApiVO ¶
type LocateStackResultOpenApiVO struct {
// ErrorCode Error code
ErrorCode *int32 `json:"errorCode,omitempty"`
// ErrorMsg Error message
ErrorMsg *string `json:"errorMsg,omitempty"`
// StackId Stack Id
StackId *string `json:"stackId,omitempty"`
}
LocateStackResultOpenApiVO Locate stack ports error information
type ManuallyUpgradeJSONRequestBody ¶
type ManuallyUpgradeJSONRequestBody = UpgradeRequest
ManuallyUpgradeJSONRequestBody defines body for ManuallyUpgrade for application/json ContentType.
type ManuallyUpgradeResponse ¶
func ParseManuallyUpgradeResponse ¶
func ParseManuallyUpgradeResponse(rsp *http.Response) (*ManuallyUpgradeResponse, error)
ParseManuallyUpgradeResponse parses an HTTP response from a ManuallyUpgradeWithResponse call
func (ManuallyUpgradeResponse) ContentType ¶
func (r ManuallyUpgradeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ManuallyUpgradeResponse) GetBody ¶
func (r ManuallyUpgradeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ManuallyUpgradeResponse) Status ¶
func (r ManuallyUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (ManuallyUpgradeResponse) StatusCode ¶
func (r ManuallyUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 ModelBaseInfo ¶
type ModelBaseInfo struct {
// CurrentVersion Model version list, software version, such as "2.5.0 Build 20190118 Rel. 64821".
CurrentVersion *[]string `json:"currentVersion,omitempty"`
// ModelTypeInfo Model type information.
ModelTypeInfo ModelTypeInfoOpenApiVO `json:"modelTypeInfo"`
}
ModelBaseInfo Model base information list, include Model type information and currentVersion list
type ModelFirmwarePoolGridInfoModelLatestFwInfo ¶
type ModelFirmwarePoolGridInfoModelLatestFwInfo struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]ModelLatestFwInfo `json:"data,omitempty"`
// FwNum The firmware quantity map for each channel: The key is channel: (0: stable; 1: Release Candidate(RC); 2: Beta), The Value is the quantity
FwNum *map[string]int32 `json:"fwNum,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
ModelFirmwarePoolGridInfoModelLatestFwInfo defines model for ModelFirmwarePoolGridInfoModelLatestFwInfo.
type ModelFwOemReleaseNoteInfo ¶
type ModelFwOemReleaseNoteInfo struct {
// ReleaseNotes Release Notes information for a firmware series
ReleaseNotes *[]ModelFwVersionReleaseNoteInfo `json:"releaseNotes,omitempty"`
}
ModelFwOemReleaseNoteInfo defines model for ModelFwOemReleaseNoteInfo.
type ModelFwReleaseNoteReqInfo ¶
type ModelFwReleaseNoteReqInfo struct {
// OemId ID, you can also get this field throw: "Get the firmware pool list"
OemId string `json:"oemId"`
}
ModelFwReleaseNoteReqInfo defines model for ModelFwReleaseNoteReqInfo.
type ModelFwVersionReleaseNoteInfo ¶
type ModelFwVersionReleaseNoteInfo struct {
// CurrentVersion Current version number, such as "2.5.0 Build 20190118 Rel. 64821"
CurrentVersion *string `json:"currentVersion,omitempty"`
// NextVersion The version number of the subsequent version
NextVersion *string `json:"nextVersion,omitempty"`
// PreviousVersion Previous version number
PreviousVersion *string `json:"previousVersion,omitempty"`
// ReleaseNote Current version of releaseNote
ReleaseNote *string `json:"releaseNote,omitempty"`
}
ModelFwVersionReleaseNoteInfo Release Notes information for a firmware series
type ModelLatestFwInfo ¶
type ModelLatestFwInfo struct {
// Id ID
Id *string `json:"id,omitempty"`
// LatestVersion Latest version
LatestVersion *string `json:"latestVersion,omitempty"`
// ModelTypeInfo Model type information.
ModelTypeInfo *ModelTypeInfoOpenApiVO `json:"modelTypeInfo,omitempty"`
// ReleaseTime Latest version release time, timestamp ms
ReleaseTime *int64 `json:"releaseTime,omitempty"`
}
ModelLatestFwInfo defines model for ModelLatestFwInfo.
type ModelTypeInfoOpenApiVO ¶
type ModelTypeInfoOpenApiVO struct {
// CompoundModel Model complex used on the backend, you can also get this field throw: "Get the model of the specified site"
CompoundModel string `json:"compoundModel"`
// ShowModel Model complex displayed on the front end, you can also get this field throw: "Get the model of the specified site"
ShowModel string `json:"showModel"`
}
ModelTypeInfoOpenApiVO Model type information.
type ModelUpgradeInfo ¶
type ModelUpgradeInfo struct {
// ModelList The selected model list.
ModelList []string `json:"modelList"`
// SelectType SelectType should be a value as follows: all: select all; include: include selected modelList; exclude: all but exclude selected modelList.
SelectType string `json:"selectType"`
}
ModelUpgradeInfo defines model for ModelUpgradeInfo.
type ModelUpgradeSiteInfo ¶
type ModelUpgradeSiteInfo struct {
// AllSiteIds All siteIDs in the query result.
AllSiteIds *[]string `json:"allSiteIds,omitempty"`
// CurrentPage Start page number. Start from 1.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentPageSize Number of entries per page. It should be within the range of 1–100.
CurrentPageSize *int32 `json:"currentPageSize,omitempty"`
// Data Site basic information on one page.
Data *[]SiteBasicInfo `json:"data,omitempty"`
// TotalRows Total rows.
TotalRows *int32 `json:"totalRows,omitempty"`
}
ModelUpgradeSiteInfo defines model for ModelUpgradeSiteInfo.
type ModelUpgradeSiteReqInfo ¶
type ModelUpgradeSiteReqInfo struct {
// CurrentPage Start page number. Start from 1.
CurrentPage int32 `json:"currentPage"`
// CurrentPageSize Number of entries per page. It should be within the range of 1–100.
CurrentPageSize int32 `json:"currentPageSize"`
// Models Model base information list, include Model type information and currentVersion list
Models []ModelBaseInfo `json:"models"`
}
ModelUpgradeSiteReqInfo defines model for ModelUpgradeSiteReqInfo.
type ModifyBackupScheduleTaskJSONRequestBody ¶
type ModifyBackupScheduleTaskJSONRequestBody = AutoBackupOpenApiVO
ModifyBackupScheduleTaskJSONRequestBody defines body for ModifyBackupScheduleTask for application/json ContentType.
type ModifyBackupScheduleTaskResponse ¶
func ParseModifyBackupScheduleTaskResponse ¶
func ParseModifyBackupScheduleTaskResponse(rsp *http.Response) (*ModifyBackupScheduleTaskResponse, error)
ParseModifyBackupScheduleTaskResponse parses an HTTP response from a ModifyBackupScheduleTaskWithResponse call
func (ModifyBackupScheduleTaskResponse) ContentType ¶
func (r ModifyBackupScheduleTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyBackupScheduleTaskResponse) GetBody ¶
func (r ModifyBackupScheduleTaskResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyBackupScheduleTaskResponse) Status ¶
func (r ModifyBackupScheduleTaskResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyBackupScheduleTaskResponse) StatusCode ¶
func (r ModifyBackupScheduleTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyDeviceAccessMgmtSettingJSONRequestBody ¶
type ModifyDeviceAccessMgmtSettingJSONRequestBody = DeviceAccessManagementSetting
ModifyDeviceAccessMgmtSettingJSONRequestBody defines body for ModifyDeviceAccessMgmtSetting for application/json ContentType.
type ModifyDeviceAccessMgmtSettingResponse ¶
func ParseModifyDeviceAccessMgmtSettingResponse ¶
func ParseModifyDeviceAccessMgmtSettingResponse(rsp *http.Response) (*ModifyDeviceAccessMgmtSettingResponse, error)
ParseModifyDeviceAccessMgmtSettingResponse parses an HTTP response from a ModifyDeviceAccessMgmtSettingWithResponse call
func (ModifyDeviceAccessMgmtSettingResponse) ContentType ¶
func (r ModifyDeviceAccessMgmtSettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyDeviceAccessMgmtSettingResponse) GetBody ¶
func (r ModifyDeviceAccessMgmtSettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyDeviceAccessMgmtSettingResponse) Status ¶
func (r ModifyDeviceAccessMgmtSettingResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyDeviceAccessMgmtSettingResponse) StatusCode ¶
func (r ModifyDeviceAccessMgmtSettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyDeviceRememberMeJSONRequestBody ¶
type ModifyDeviceRememberMeJSONRequestBody = DeviceRememberConfig
ModifyDeviceRememberMeJSONRequestBody defines body for ModifyDeviceRememberMe for application/json ContentType.
type ModifyDeviceRememberMeResponse ¶
func ParseModifyDeviceRememberMeResponse ¶
func ParseModifyDeviceRememberMeResponse(rsp *http.Response) (*ModifyDeviceRememberMeResponse, error)
ParseModifyDeviceRememberMeResponse parses an HTTP response from a ModifyDeviceRememberMeWithResponse call
func (ModifyDeviceRememberMeResponse) ContentType ¶
func (r ModifyDeviceRememberMeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyDeviceRememberMeResponse) GetBody ¶
func (r ModifyDeviceRememberMeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyDeviceRememberMeResponse) Status ¶
func (r ModifyDeviceRememberMeResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyDeviceRememberMeResponse) StatusCode ¶
func (r ModifyDeviceRememberMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyEmailReminderSwitchStatusJSONRequestBody ¶
type ModifyEmailReminderSwitchStatusJSONRequestBody = UpgradeSettingEmailReminder
ModifyEmailReminderSwitchStatusJSONRequestBody defines body for ModifyEmailReminderSwitchStatus for application/json ContentType.
type ModifyEmailReminderSwitchStatusResponse ¶
func ParseModifyEmailReminderSwitchStatusResponse ¶
func ParseModifyEmailReminderSwitchStatusResponse(rsp *http.Response) (*ModifyEmailReminderSwitchStatusResponse, error)
ParseModifyEmailReminderSwitchStatusResponse parses an HTTP response from a ModifyEmailReminderSwitchStatusWithResponse call
func (ModifyEmailReminderSwitchStatusResponse) ContentType ¶
func (r ModifyEmailReminderSwitchStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyEmailReminderSwitchStatusResponse) GetBody ¶
func (r ModifyEmailReminderSwitchStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyEmailReminderSwitchStatusResponse) Status ¶
func (r ModifyEmailReminderSwitchStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyEmailReminderSwitchStatusResponse) StatusCode ¶
func (r ModifyEmailReminderSwitchStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyIntelliRecoverSettingJSONRequestBody ¶
type ModifyIntelliRecoverSettingJSONRequestBody = IntelliRecoverSetting
ModifyIntelliRecoverSettingJSONRequestBody defines body for ModifyIntelliRecoverSetting for application/json ContentType.
type ModifyIntelliRecoverSettingResponse ¶
func ParseModifyIntelliRecoverSettingResponse ¶
func ParseModifyIntelliRecoverSettingResponse(rsp *http.Response) (*ModifyIntelliRecoverSettingResponse, error)
ParseModifyIntelliRecoverSettingResponse parses an HTTP response from a ModifyIntelliRecoverSettingWithResponse call
func (ModifyIntelliRecoverSettingResponse) ContentType ¶
func (r ModifyIntelliRecoverSettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyIntelliRecoverSettingResponse) GetBody ¶
func (r ModifyIntelliRecoverSettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyIntelliRecoverSettingResponse) Status ¶
func (r ModifyIntelliRecoverSettingResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyIntelliRecoverSettingResponse) StatusCode ¶
func (r ModifyIntelliRecoverSettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyPoeScheduleJSONRequestBody ¶
type ModifyPoeScheduleJSONRequestBody = PoeScheduleOpenApiVO
ModifyPoeScheduleJSONRequestBody defines body for ModifyPoeSchedule for application/json ContentType.
type ModifyPoeScheduleResponse ¶
func ParseModifyPoeScheduleResponse ¶
func ParseModifyPoeScheduleResponse(rsp *http.Response) (*ModifyPoeScheduleResponse, error)
ParseModifyPoeScheduleResponse parses an HTTP response from a ModifyPoeScheduleWithResponse call
func (ModifyPoeScheduleResponse) ContentType ¶
func (r ModifyPoeScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyPoeScheduleResponse) GetBody ¶
func (r ModifyPoeScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyPoeScheduleResponse) Status ¶
func (r ModifyPoeScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyPoeScheduleResponse) StatusCode ¶
func (r ModifyPoeScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyPortScheduleJSONRequestBody ¶
type ModifyPortScheduleJSONRequestBody = PortScheduleOpenApiVO
ModifyPortScheduleJSONRequestBody defines body for ModifyPortSchedule for application/json ContentType.
type ModifyPortScheduleResponse ¶
func ParseModifyPortScheduleResponse ¶
func ParseModifyPortScheduleResponse(rsp *http.Response) (*ModifyPortScheduleResponse, error)
ParseModifyPortScheduleResponse parses an HTTP response from a ModifyPortScheduleWithResponse call
func (ModifyPortScheduleResponse) ContentType ¶
func (r ModifyPortScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyPortScheduleResponse) GetBody ¶
func (r ModifyPortScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyPortScheduleResponse) Status ¶
func (r ModifyPortScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyPortScheduleResponse) StatusCode ¶
func (r ModifyPortScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyPortScheduleTemplateJSONRequestBody ¶
type ModifyPortScheduleTemplateJSONRequestBody = PortOrPoeScheduleOpenApiVO
ModifyPortScheduleTemplateJSONRequestBody defines body for ModifyPortScheduleTemplate for application/json ContentType.
type ModifyPortScheduleTemplateResponse ¶
func ParseModifyPortScheduleTemplateResponse ¶
func ParseModifyPortScheduleTemplateResponse(rsp *http.Response) (*ModifyPortScheduleTemplateResponse, error)
ParseModifyPortScheduleTemplateResponse parses an HTTP response from a ModifyPortScheduleTemplateWithResponse call
func (ModifyPortScheduleTemplateResponse) ContentType ¶
func (r ModifyPortScheduleTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyPortScheduleTemplateResponse) GetBody ¶
func (r ModifyPortScheduleTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyPortScheduleTemplateResponse) Status ¶
func (r ModifyPortScheduleTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyPortScheduleTemplateResponse) StatusCode ¶
func (r ModifyPortScheduleTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyRebootSchedule1JSONRequestBody ¶
type ModifyRebootSchedule1JSONRequestBody = RebootScheduleOpenApiVO
ModifyRebootSchedule1JSONRequestBody defines body for ModifyRebootSchedule1 for application/json ContentType.
type ModifyRebootSchedule1Response ¶
func ParseModifyRebootSchedule1Response ¶
func ParseModifyRebootSchedule1Response(rsp *http.Response) (*ModifyRebootSchedule1Response, error)
ParseModifyRebootSchedule1Response parses an HTTP response from a ModifyRebootSchedule1WithResponse call
func (ModifyRebootSchedule1Response) ContentType ¶
func (r ModifyRebootSchedule1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyRebootSchedule1Response) GetBody ¶
func (r ModifyRebootSchedule1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyRebootSchedule1Response) Status ¶
func (r ModifyRebootSchedule1Response) Status() string
Status returns HTTPResponse.Status
func (ModifyRebootSchedule1Response) StatusCode ¶
func (r ModifyRebootSchedule1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyRebootScheduleJSONRequestBody ¶
type ModifyRebootScheduleJSONRequestBody = RebootScheduleTemplateOpenApiVO
ModifyRebootScheduleJSONRequestBody defines body for ModifyRebootSchedule for application/json ContentType.
type ModifyRebootScheduleResponse ¶
func ParseModifyRebootScheduleResponse ¶
func ParseModifyRebootScheduleResponse(rsp *http.Response) (*ModifyRebootScheduleResponse, error)
ParseModifyRebootScheduleResponse parses an HTTP response from a ModifyRebootScheduleWithResponse call
func (ModifyRebootScheduleResponse) ContentType ¶
func (r ModifyRebootScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyRebootScheduleResponse) GetBody ¶
func (r ModifyRebootScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyRebootScheduleResponse) Status ¶
func (r ModifyRebootScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyRebootScheduleResponse) StatusCode ¶
func (r ModifyRebootScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyReplaceRecordJSONRequestBody ¶
type ModifyReplaceRecordJSONRequestBody = DeviceReplaceSettingVO
ModifyReplaceRecordJSONRequestBody defines body for ModifyReplaceRecord for application/json ContentType.
type ModifyReplaceRecordResponse ¶
func ParseModifyReplaceRecordResponse ¶
func ParseModifyReplaceRecordResponse(rsp *http.Response) (*ModifyReplaceRecordResponse, error)
ParseModifyReplaceRecordResponse parses an HTTP response from a ModifyReplaceRecordWithResponse call
func (ModifyReplaceRecordResponse) ContentType ¶
func (r ModifyReplaceRecordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyReplaceRecordResponse) GetBody ¶
func (r ModifyReplaceRecordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyReplaceRecordResponse) Status ¶
func (r ModifyReplaceRecordResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyReplaceRecordResponse) StatusCode ¶
func (r ModifyReplaceRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyTagJSONRequestBody ¶
type ModifyTagJSONRequestBody = ModifyTagOpenApiVO
ModifyTagJSONRequestBody defines body for ModifyTag for application/json ContentType.
type ModifyTagOpenApiVO ¶
type ModifyTagOpenApiVO struct {
// Name Tag name should contain 1 to 128 ASCII characters.
Name string `json:"name"`
// TagId Tag ID
TagId string `json:"tagId"`
}
ModifyTagOpenApiVO defines model for ModifyTagOpenApiVO.
type ModifyTagResponse ¶
func ParseModifyTagResponse ¶
func ParseModifyTagResponse(rsp *http.Response) (*ModifyTagResponse, error)
ParseModifyTagResponse parses an HTTP response from a ModifyTagWithResponse call
func (ModifyTagResponse) ContentType ¶
func (r ModifyTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyTagResponse) GetBody ¶
func (r ModifyTagResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyTagResponse) Status ¶
func (r ModifyTagResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyTagResponse) StatusCode ¶
func (r ModifyTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyTryBetaChannelJSONRequestBody ¶
type ModifyTryBetaChannelJSONRequestBody = UpgradeSettingTryBetaChannel
ModifyTryBetaChannelJSONRequestBody defines body for ModifyTryBetaChannel for application/json ContentType.
type ModifyTryBetaChannelResponse ¶
func ParseModifyTryBetaChannelResponse ¶
func ParseModifyTryBetaChannelResponse(rsp *http.Response) (*ModifyTryBetaChannelResponse, error)
ParseModifyTryBetaChannelResponse parses an HTTP response from a ModifyTryBetaChannelWithResponse call
func (ModifyTryBetaChannelResponse) ContentType ¶
func (r ModifyTryBetaChannelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyTryBetaChannelResponse) GetBody ¶
func (r ModifyTryBetaChannelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyTryBetaChannelResponse) Status ¶
func (r ModifyTryBetaChannelResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyTryBetaChannelResponse) StatusCode ¶
func (r ModifyTryBetaChannelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyTryBetaStatusJSONRequestBody ¶
type ModifyTryBetaStatusJSONRequestBody = UpgradeSettingTryBeta
ModifyTryBetaStatusJSONRequestBody defines body for ModifyTryBetaStatus for application/json ContentType.
type ModifyTryBetaStatusResponse ¶
func ParseModifyTryBetaStatusResponse ¶
func ParseModifyTryBetaStatusResponse(rsp *http.Response) (*ModifyTryBetaStatusResponse, error)
ParseModifyTryBetaStatusResponse parses an HTTP response from a ModifyTryBetaStatusWithResponse call
func (ModifyTryBetaStatusResponse) ContentType ¶
func (r ModifyTryBetaStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyTryBetaStatusResponse) GetBody ¶
func (r ModifyTryBetaStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyTryBetaStatusResponse) Status ¶
func (r ModifyTryBetaStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyTryBetaStatusResponse) StatusCode ¶
func (r ModifyTryBetaStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyUpgradeScheduleJSONRequestBody ¶
type ModifyUpgradeScheduleJSONRequestBody = UpgradeScheduleOpenApiVO
ModifyUpgradeScheduleJSONRequestBody defines body for ModifyUpgradeSchedule for application/json ContentType.
type ModifyUpgradeScheduleResponse ¶
func ParseModifyUpgradeScheduleResponse ¶
func ParseModifyUpgradeScheduleResponse(rsp *http.Response) (*ModifyUpgradeScheduleResponse, error)
ParseModifyUpgradeScheduleResponse parses an HTTP response from a ModifyUpgradeScheduleWithResponse call
func (ModifyUpgradeScheduleResponse) ContentType ¶
func (r ModifyUpgradeScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyUpgradeScheduleResponse) GetBody ¶
func (r ModifyUpgradeScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyUpgradeScheduleResponse) Status ¶
func (r ModifyUpgradeScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyUpgradeScheduleResponse) StatusCode ¶
func (r ModifyUpgradeScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MonitorDevice ¶
type MonitorDevice struct {
// ClientFlag Whether the device is a client
ClientFlag *bool `json:"clientFlag,omitempty"`
// ClientType Client type
ClientType *string `json:"clientType,omitempty"`
// CustomId The device Id
CustomId *string `json:"customId,omitempty"`
// DeviceType The device type
DeviceType *int32 `json:"deviceType,omitempty"`
// EligibleFlag Whether the device can be monitored
EligibleFlag *bool `json:"eligibleFlag,omitempty"`
// Id The monitor device Id
Id *string `json:"id,omitempty"`
// Ip The device ip
Ip *string `json:"ip,omitempty"`
// Mac The device mac
Mac string `json:"mac"`
// Model The device model
Model *string `json:"model,omitempty"`
// ModelModelVersion The device modelModelVersion
ModelModelVersion *string `json:"modelModelVersion,omitempty"`
// ModelVersion The device modelVersion
ModelVersion *string `json:"modelVersion,omitempty"`
// MonitoringStatus The device monitoringStatus
MonitoringStatus *int32 `json:"monitoringStatus,omitempty"`
// Name The device name
Name *string `json:"name,omitempty"`
// NotEligibleReason The reason of the device can't be monitored
NotEligibleReason *string `json:"notEligibleReason,omitempty"`
// RecoveryCycles The device recoveryCycles
RecoveryCycles *int32 `json:"recoveryCycles,omitempty"`
// ShowModel The device showModel
ShowModel *string `json:"showModel,omitempty"`
// SpecialModel The device specialModel
SpecialModel *string `json:"specialModel,omitempty"`
// StatusCategory Whether the device is online
StatusCategory *int32 `json:"statusCategory,omitempty"`
// Type The device type.Such as: ap, switch, gateway
Type *string `json:"type,omitempty"`
// UplinkDevice The device uplinkDevice
UplinkDevice *UplinkDevice `json:"uplinkDevice,omitempty"`
}
MonitorDevice The device to be verified whether it can be monitored
type MoveSiteForApsJSONRequestBody ¶
type MoveSiteForApsJSONRequestBody = ApMoveSiteOpenApiVO
MoveSiteForApsJSONRequestBody defines body for MoveSiteForAps for application/json ContentType.
type MoveSiteForApsResponse ¶
func ParseMoveSiteForApsResponse ¶
func ParseMoveSiteForApsResponse(rsp *http.Response) (*MoveSiteForApsResponse, error)
ParseMoveSiteForApsResponse parses an HTTP response from a MoveSiteForApsWithResponse call
func (MoveSiteForApsResponse) ContentType ¶
func (r MoveSiteForApsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MoveSiteForApsResponse) GetBody ¶
func (r MoveSiteForApsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MoveSiteForApsResponse) Status ¶
func (r MoveSiteForApsResponse) Status() string
Status returns HTTPResponse.Status
func (MoveSiteForApsResponse) StatusCode ¶
func (r MoveSiteForApsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MoveSiteIdOpenApiVO ¶
type MoveSiteIdOpenApiVO struct {
// MoveSiteId For batch move site operations, use the "Get batch move site" interface to query the result of this operation.
MoveSiteId *string `json:"moveSiteId,omitempty"`
}
MoveSiteIdOpenApiVO defines model for MoveSiteIdOpenApiVO.
type MoveSiteJSONRequestBody ¶
type MoveSiteJSONRequestBody = DeviceMoveSiteOpenApiVO
MoveSiteJSONRequestBody defines body for MoveSite for application/json ContentType.
type MoveSiteResponse ¶
func ParseMoveSiteResponse ¶
func ParseMoveSiteResponse(rsp *http.Response) (*MoveSiteResponse, error)
ParseMoveSiteResponse parses an HTTP response from a MoveSiteWithResponse call
func (MoveSiteResponse) ContentType ¶
func (r MoveSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MoveSiteResponse) GetBody ¶
func (r MoveSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MoveSiteResponse) Status ¶
func (r MoveSiteResponse) Status() string
Status returns HTTPResponse.Status
func (MoveSiteResponse) StatusCode ¶
func (r MoveSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MspAddDeviceListOpenApiVO ¶
type MspAddDeviceListOpenApiVO struct {
// AddType 0/null indicates SN, and 1 indicates deviceKey
AddType *int32 `json:"addType,omitempty"`
// AllowOffline Whether to allow offline addition. The default value is False
AllowOffline *bool `json:"allowOffline,omitempty"`
// Devices Add devices list
Devices []AddDeviceVO `json:"devices"`
// KeepResult Save the last result
KeepResult *bool `json:"keepResult,omitempty"`
// MspId MSP ID
MspId *string `json:"mspId,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
VerifyCode *string `json:"verifyCode,omitempty"`
}
MspAddDeviceListOpenApiVO defines model for MspAddDeviceListOpenApiVO.
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 OnlineCheckUpgradeResponse ¶
func ParseOnlineCheckUpgradeResponse ¶
func ParseOnlineCheckUpgradeResponse(rsp *http.Response) (*OnlineCheckUpgradeResponse, error)
ParseOnlineCheckUpgradeResponse parses an HTTP response from a OnlineCheckUpgradeWithResponse call
func (OnlineCheckUpgradeResponse) ContentType ¶
func (r OnlineCheckUpgradeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OnlineCheckUpgradeResponse) GetBody ¶
func (r OnlineCheckUpgradeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OnlineCheckUpgradeResponse) Status ¶
func (r OnlineCheckUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (OnlineCheckUpgradeResponse) StatusCode ¶
func (r OnlineCheckUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OnlineRollingUpgradeByQueryJSONRequestBody ¶
type OnlineRollingUpgradeByQueryJSONRequestBody = RollingUpgradeRequest
OnlineRollingUpgradeByQueryJSONRequestBody defines body for OnlineRollingUpgradeByQuery for application/json ContentType.
type OnlineRollingUpgradeByQueryParams ¶
type OnlineRollingUpgradeByQueryParams struct {
// FiltersEcspFirstVersion Filter query parameters, support field ecsp first version. 1: ecsp v1; 2: ecsp v2
FiltersEcspFirstVersion *string `form:"filters.ecspFirstVersion,omitempty" json:"filters.ecspFirstVersion,omitempty"`
}
OnlineRollingUpgradeByQueryParams defines parameters for OnlineRollingUpgradeByQuery.
type OnlineRollingUpgradeByQueryResponse ¶
func ParseOnlineRollingUpgradeByQueryResponse ¶
func ParseOnlineRollingUpgradeByQueryResponse(rsp *http.Response) (*OnlineRollingUpgradeByQueryResponse, error)
ParseOnlineRollingUpgradeByQueryResponse parses an HTTP response from a OnlineRollingUpgradeByQueryWithResponse call
func (OnlineRollingUpgradeByQueryResponse) ContentType ¶
func (r OnlineRollingUpgradeByQueryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OnlineRollingUpgradeByQueryResponse) GetBody ¶
func (r OnlineRollingUpgradeByQueryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OnlineRollingUpgradeByQueryResponse) Status ¶
func (r OnlineRollingUpgradeByQueryResponse) Status() string
Status returns HTTPResponse.Status
func (OnlineRollingUpgradeByQueryResponse) StatusCode ¶
func (r OnlineRollingUpgradeByQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OnlineRollingUpgradeJSONRequestBody ¶
type OnlineRollingUpgradeJSONRequestBody = RollingUpgradeRequest
OnlineRollingUpgradeJSONRequestBody defines body for OnlineRollingUpgrade for application/json ContentType.
type OnlineRollingUpgradeResponse ¶
func ParseOnlineRollingUpgradeResponse ¶
func ParseOnlineRollingUpgradeResponse(rsp *http.Response) (*OnlineRollingUpgradeResponse, error)
ParseOnlineRollingUpgradeResponse parses an HTTP response from a OnlineRollingUpgradeWithResponse call
func (OnlineRollingUpgradeResponse) ContentType ¶
func (r OnlineRollingUpgradeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OnlineRollingUpgradeResponse) GetBody ¶
func (r OnlineRollingUpgradeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OnlineRollingUpgradeResponse) Status ¶
func (r OnlineRollingUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (OnlineRollingUpgradeResponse) StatusCode ¶
func (r OnlineRollingUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OnlineUpgradeRes ¶
type OnlineUpgradeRes struct {
// Finished Whether the task is complete
Finished *bool `json:"finished,omitempty"`
// Success Whether the task is successful
Success *bool `json:"success,omitempty"`
}
OnlineUpgradeRes defines model for OnlineUpgradeRes.
type OnlineUpgradeResponse ¶
func ParseOnlineUpgradeResponse ¶
func ParseOnlineUpgradeResponse(rsp *http.Response) (*OnlineUpgradeResponse, error)
ParseOnlineUpgradeResponse parses an HTTP response from a OnlineUpgradeWithResponse call
func (OnlineUpgradeResponse) ContentType ¶
func (r OnlineUpgradeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OnlineUpgradeResponse) GetBody ¶
func (r OnlineUpgradeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OnlineUpgradeResponse) Status ¶
func (r OnlineUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (OnlineUpgradeResponse) StatusCode ¶
func (r OnlineUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 OpenApiQueryDataVO ¶
type OpenApiQueryDataVO struct {
Filters *map[string]map[string]interface{} `json:"filters,omitempty"`
// Page Start from 1.
Page int32 `json:"page"`
// PageSize It should be within the range of 1–1000.
PageSize int32 `json:"pageSize"`
SearchField *string `json:"searchField,omitempty"`
// SearchKey Look for a specific piece of data.
SearchKey *string `json:"searchKey,omitempty"`
Sorts *map[string]string `json:"sorts,omitempty"`
}
OpenApiQueryDataVO defines model for OpenApiQueryDataVO.
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 OperationResponseAdoptResult ¶
type OperationResponseAdoptResult struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *AdoptResult `json:"result,omitempty"`
}
OperationResponseAdoptResult defines model for OperationResponseAdoptResult.
type OperationResponseAdoptTipOpenApiVO ¶
type OperationResponseAdoptTipOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *AdoptTipOpenApiVO `json:"result,omitempty"`
}
OperationResponseAdoptTipOpenApiVO defines model for OperationResponseAdoptTipOpenApiVO.
type OperationResponseAdoptedDeviceGridVODeviceInfo ¶
type OperationResponseAdoptedDeviceGridVODeviceInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *AdoptedDeviceGridVODeviceInfo `json:"result,omitempty"`
}
OperationResponseAdoptedDeviceGridVODeviceInfo defines model for OperationResponseAdoptedDeviceGridVODeviceInfo.
type OperationResponseAllTargetSites ¶
type OperationResponseAllTargetSites struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *AllTargetSites `json:"result,omitempty"`
}
OperationResponseAllTargetSites defines model for OperationResponseAllTargetSites.
type OperationResponseAutoBackupOpenApiVO ¶
type OperationResponseAutoBackupOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *AutoBackupOpenApiVO `json:"result,omitempty"`
}
OperationResponseAutoBackupOpenApiVO defines model for OperationResponseAutoBackupOpenApiVO.
type OperationResponseCheckFirmwareRes ¶
type OperationResponseCheckFirmwareRes struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *CheckFirmwareRes `json:"result,omitempty"`
}
OperationResponseCheckFirmwareRes defines model for OperationResponseCheckFirmwareRes.
type OperationResponseCheckMacTypeOpenApiVO ¶
type OperationResponseCheckMacTypeOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *CheckMacTypeOpenApiVO `json:"result,omitempty"`
}
OperationResponseCheckMacTypeOpenApiVO defines model for OperationResponseCheckMacTypeOpenApiVO.
type OperationResponseCreateAutoCheckResInfo ¶
type OperationResponseCreateAutoCheckResInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *CreateAutoCheckResInfo `json:"result,omitempty"`
}
OperationResponseCreateAutoCheckResInfo defines model for OperationResponseCreateAutoCheckResInfo.
type OperationResponseCreateFailedDeviceUpgradePlan ¶
type OperationResponseCreateFailedDeviceUpgradePlan struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *CreateFailedDeviceUpgradePlan `json:"result,omitempty"`
}
OperationResponseCreateFailedDeviceUpgradePlan defines model for OperationResponseCreateFailedDeviceUpgradePlan.
type OperationResponseCreateUpgradePlanResinfo ¶
type OperationResponseCreateUpgradePlanResinfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *CreateUpgradePlanResinfo `json:"result,omitempty"`
}
OperationResponseCreateUpgradePlanResinfo defines model for OperationResponseCreateUpgradePlanResinfo.
type OperationResponseCriticalModelNum ¶
type OperationResponseCriticalModelNum struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *CriticalModelNum `json:"result,omitempty"`
}
OperationResponseCriticalModelNum defines model for OperationResponseCriticalModelNum.
type OperationResponseDeviceAccessManagementSetting ¶
type OperationResponseDeviceAccessManagementSetting struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
// Result Device Access Management Setting.
Result *DeviceAccessManagementSetting `json:"result,omitempty"`
}
OperationResponseDeviceAccessManagementSetting defines model for OperationResponseDeviceAccessManagementSetting.
type OperationResponseDeviceAddProcessRespVO ¶
type OperationResponseDeviceAddProcessRespVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *DeviceAddProcessRespVO `json:"result,omitempty"`
}
OperationResponseDeviceAddProcessRespVO defines model for OperationResponseDeviceAddProcessRespVO.
type OperationResponseDeviceAddRespOpenApiVO ¶
type OperationResponseDeviceAddRespOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *DeviceAddRespOpenApiVO `json:"result,omitempty"`
}
OperationResponseDeviceAddRespOpenApiVO defines model for OperationResponseDeviceAddRespOpenApiVO.
type OperationResponseDeviceFirmwareInfo ¶
type OperationResponseDeviceFirmwareInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *DeviceFirmwareInfo `json:"result,omitempty"`
}
OperationResponseDeviceFirmwareInfo defines model for OperationResponseDeviceFirmwareInfo.
type OperationResponseDeviceIncidentCountResultOpenApiVO ¶
type OperationResponseDeviceIncidentCountResultOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *DeviceIncidentCountResultOpenApiVO `json:"result,omitempty"`
}
OperationResponseDeviceIncidentCountResultOpenApiVO defines model for OperationResponseDeviceIncidentCountResultOpenApiVO.
type OperationResponseDeviceRememberConfig ¶
type OperationResponseDeviceRememberConfig struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *DeviceRememberConfig `json:"result,omitempty"`
}
OperationResponseDeviceRememberConfig defines model for OperationResponseDeviceRememberConfig.
type OperationResponseFailedDeviceUpgradeFirmwareInfo ¶
type OperationResponseFailedDeviceUpgradeFirmwareInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *FailedDeviceUpgradeFirmwareInfo `json:"result,omitempty"`
}
OperationResponseFailedDeviceUpgradeFirmwareInfo defines model for OperationResponseFailedDeviceUpgradeFirmwareInfo.
type OperationResponseFile ¶
type OperationResponseFile struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *File `json:"result,omitempty"`
}
OperationResponseFile defines model for OperationResponseFile.
type OperationResponseGlobalDeviceStatOpenApiVO ¶
type OperationResponseGlobalDeviceStatOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GlobalDeviceStatOpenApiVO `json:"result,omitempty"`
}
OperationResponseGlobalDeviceStatOpenApiVO defines model for OperationResponseGlobalDeviceStatOpenApiVO.
type OperationResponseGlobalSearchResultOpenApiVO ¶
type OperationResponseGlobalSearchResultOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GlobalSearchResultOpenApiVO `json:"result,omitempty"`
}
OperationResponseGlobalSearchResultOpenApiVO defines model for OperationResponseGlobalSearchResultOpenApiVO.
type OperationResponseGridVOAutoCheckUpgradeInfo ¶
type OperationResponseGridVOAutoCheckUpgradeInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOAutoCheckUpgradeInfo `json:"result,omitempty"`
}
OperationResponseGridVOAutoCheckUpgradeInfo defines model for OperationResponseGridVOAutoCheckUpgradeInfo.
type OperationResponseGridVODeviceInfo ¶
type OperationResponseGridVODeviceInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVODeviceInfo `json:"result,omitempty"`
}
OperationResponseGridVODeviceInfo defines model for OperationResponseGridVODeviceInfo.
type OperationResponseGridVOFirmwareInfo ¶
type OperationResponseGridVOFirmwareInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOFirmwareInfo `json:"result,omitempty"`
}
OperationResponseGridVOFirmwareInfo defines model for OperationResponseGridVOFirmwareInfo.
type OperationResponseGridVOGlobalKnownDeviceOpenApiVO ¶
type OperationResponseGridVOGlobalKnownDeviceOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOGlobalKnownDeviceOpenApiVO `json:"result,omitempty"`
}
OperationResponseGridVOGlobalKnownDeviceOpenApiVO defines model for OperationResponseGridVOGlobalKnownDeviceOpenApiVO.
type OperationResponseGridVOGlobalUnknownDeviceOpenApiVO ¶
type OperationResponseGridVOGlobalUnknownDeviceOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOGlobalUnknownDeviceOpenApiVO `json:"result,omitempty"`
}
OperationResponseGridVOGlobalUnknownDeviceOpenApiVO defines model for OperationResponseGridVOGlobalUnknownDeviceOpenApiVO.
type OperationResponseGridVOMonitorDevice ¶
type OperationResponseGridVOMonitorDevice struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOMonitorDevice `json:"result,omitempty"`
}
OperationResponseGridVOMonitorDevice defines model for OperationResponseGridVOMonitorDevice.
type OperationResponseGridVOPlanUpgradeInfo ¶
type OperationResponseGridVOPlanUpgradeInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOPlanUpgradeInfo `json:"result,omitempty"`
}
OperationResponseGridVOPlanUpgradeInfo defines model for OperationResponseGridVOPlanUpgradeInfo.
type OperationResponseGridVOPlanUpgradeModelList ¶
type OperationResponseGridVOPlanUpgradeModelList struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOPlanUpgradeModelList `json:"result,omitempty"`
}
OperationResponseGridVOPlanUpgradeModelList defines model for OperationResponseGridVOPlanUpgradeModelList.
type OperationResponseGridVOPoeScheduleQueryOpenApiVO ¶
type OperationResponseGridVOPoeScheduleQueryOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOPoeScheduleQueryOpenApiVO `json:"result,omitempty"`
}
OperationResponseGridVOPoeScheduleQueryOpenApiVO defines model for OperationResponseGridVOPoeScheduleQueryOpenApiVO.
type OperationResponseGridVOPortScheduleQueryOpenApiVO ¶
type OperationResponseGridVOPortScheduleQueryOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOPortScheduleQueryOpenApiVO `json:"result,omitempty"`
}
OperationResponseGridVOPortScheduleQueryOpenApiVO defines model for OperationResponseGridVOPortScheduleQueryOpenApiVO.
type OperationResponseGridVOUpgradeFailedDeviceInfo ¶
type OperationResponseGridVOUpgradeFailedDeviceInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOUpgradeFailedDeviceInfo `json:"result,omitempty"`
}
OperationResponseGridVOUpgradeFailedDeviceInfo defines model for OperationResponseGridVOUpgradeFailedDeviceInfo.
type OperationResponseGridVOUpgradeLogOpenApiInfo ¶
type OperationResponseGridVOUpgradeLogOpenApiInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOUpgradeLogOpenApiInfo `json:"result,omitempty"`
}
OperationResponseGridVOUpgradeLogOpenApiInfo defines model for OperationResponseGridVOUpgradeLogOpenApiInfo.
type OperationResponseIntelliRecoverSetting ¶
type OperationResponseIntelliRecoverSetting struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *IntelliRecoverSetting `json:"result,omitempty"`
}
OperationResponseIntelliRecoverSetting defines model for OperationResponseIntelliRecoverSetting.
type OperationResponseListBriefDeviceInfoDetailForBatchAdoptOpenApiVO ¶
type OperationResponseListBriefDeviceInfoDetailForBatchAdoptOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]BriefDeviceInfoDetailForBatchAdoptOpenApiVO `json:"result,omitempty"`
}
OperationResponseListBriefDeviceInfoDetailForBatchAdoptOpenApiVO defines model for OperationResponseListBriefDeviceInfoDetailForBatchAdoptOpenApiVO.
type OperationResponseListDeviceInfo ¶
type OperationResponseListDeviceInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]DeviceInfo `json:"result,omitempty"`
}
OperationResponseListDeviceInfo defines model for OperationResponseListDeviceInfo.
type OperationResponseListDeviceUplinkOpenApiVO ¶
type OperationResponseListDeviceUplinkOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]DeviceUplinkOpenApiVO `json:"result,omitempty"`
}
OperationResponseListDeviceUplinkOpenApiVO defines model for OperationResponseListDeviceUplinkOpenApiVO.
type OperationResponseListPoeDeviceDetail ¶
type OperationResponseListPoeDeviceDetail struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]PoeDeviceDetail `json:"result,omitempty"`
}
OperationResponseListPoeDeviceDetail defines model for OperationResponseListPoe Device Detail..
type OperationResponseListPortDeviceDetail ¶
type OperationResponseListPortDeviceDetail struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]PortDeviceDetail `json:"result,omitempty"`
}
OperationResponseListPortDeviceDetail defines model for OperationResponseListPort Device Detail..
type OperationResponseListPortOrPoeScheduleOpenApiVO ¶
type OperationResponseListPortOrPoeScheduleOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]PortOrPoeScheduleOpenApiVO `json:"result,omitempty"`
}
OperationResponseListPortOrPoeScheduleOpenApiVO defines model for OperationResponseListPortOrPoeScheduleOpenApiVO.
type OperationResponseListRebootScheduleQueryOpenApiVO ¶
type OperationResponseListRebootScheduleQueryOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]RebootScheduleQueryOpenApiVO `json:"result,omitempty"`
}
OperationResponseListRebootScheduleQueryOpenApiVO defines model for OperationResponseListRebootScheduleQueryOpenApiVO.
type OperationResponseListRebootScheduleTemplateQueryOpenApiVO ¶
type OperationResponseListRebootScheduleTemplateQueryOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]RebootScheduleTemplateQueryOpenApiVO `json:"result,omitempty"`
}
OperationResponseListRebootScheduleTemplateQueryOpenApiVO defines model for OperationResponseListRebootScheduleTemplateQueryOpenApiVO.
type OperationResponseListUpgradeScheduleQueryOpenApiVO ¶
type OperationResponseListUpgradeScheduleQueryOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]UpgradeScheduleQueryOpenApiVO `json:"result,omitempty"`
}
OperationResponseListUpgradeScheduleQueryOpenApiVO defines model for OperationResponseListUpgradeScheduleQueryOpenApiVO.
type OperationResponseListWhiteDeviceInfoOpenApiVO ¶
type OperationResponseListWhiteDeviceInfoOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]WhiteDeviceInfoOpenApiVO `json:"result,omitempty"`
}
OperationResponseListWhiteDeviceInfoOpenApiVO defines model for OperationResponseListWhiteDeviceInfoOpenApiVO.
type OperationResponseLocateOswPortsResultOpenApiVO ¶
type OperationResponseLocateOswPortsResultOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *LocateOswPortsResultOpenApiVO `json:"result,omitempty"`
}
OperationResponseLocateOswPortsResultOpenApiVO defines model for OperationResponseLocateOswPortsResultOpenApiVO.
type OperationResponseModelFirmwarePoolGridInfoModelLatestFwInfo ¶
type OperationResponseModelFirmwarePoolGridInfoModelLatestFwInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *ModelFirmwarePoolGridInfoModelLatestFwInfo `json:"result,omitempty"`
}
OperationResponseModelFirmwarePoolGridInfoModelLatestFwInfo defines model for OperationResponseModelFirmwarePoolGridInfoModelLatestFwInfo.
type OperationResponseModelFwOemReleaseNoteInfo ¶
type OperationResponseModelFwOemReleaseNoteInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *ModelFwOemReleaseNoteInfo `json:"result,omitempty"`
}
OperationResponseModelFwOemReleaseNoteInfo defines model for OperationResponseModelFwOemReleaseNoteInfo.
type OperationResponseModelUpgradeSiteInfo ¶
type OperationResponseModelUpgradeSiteInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *ModelUpgradeSiteInfo `json:"result,omitempty"`
}
OperationResponseModelUpgradeSiteInfo defines model for OperationResponseModelUpgradeSiteInfo.
type OperationResponseMoveSiteIdOpenApiVO ¶
type OperationResponseMoveSiteIdOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *MoveSiteIdOpenApiVO `json:"result,omitempty"`
}
OperationResponseMoveSiteIdOpenApiVO defines model for OperationResponseMoveSiteIdOpenApiVO.
type OperationResponseOnlineUpgradeRes ¶
type OperationResponseOnlineUpgradeRes struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *OnlineUpgradeRes `json:"result,omitempty"`
}
OperationResponseOnlineUpgradeRes defines model for OperationResponseOnlineUpgradeRes.
type OperationResponsePlanUpgradeModelInfo ¶
type OperationResponsePlanUpgradeModelInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *PlanUpgradeModelInfo `json:"result,omitempty"`
}
OperationResponsePlanUpgradeModelInfo defines model for OperationResponsePlanUpgradeModelInfo.
type OperationResponseQueryDeviceListOpenApiVO ¶
type OperationResponseQueryDeviceListOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *QueryDeviceListOpenApiVO `json:"result,omitempty"`
}
OperationResponseQueryDeviceListOpenApiVO defines model for OperationResponseQueryDeviceListOpenApiVO.
type OperationResponseReplaceConfigRespVO ¶
type OperationResponseReplaceConfigRespVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *ReplaceConfigRespVO `json:"result,omitempty"`
}
OperationResponseReplaceConfigRespVO defines model for OperationResponseReplaceConfigRespVO.
type OperationResponseRetryAddDeviceRespOpenApiVO ¶
type OperationResponseRetryAddDeviceRespOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *RetryAddDeviceRespOpenApiVO `json:"result,omitempty"`
}
OperationResponseRetryAddDeviceRespOpenApiVO defines model for OperationResponseRetryAddDeviceRespOpenApiVO.
type OperationResponseRollingUpgradeRes ¶
type OperationResponseRollingUpgradeRes struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *RollingUpgradeRes `json:"result,omitempty"`
}
OperationResponseRollingUpgradeRes defines model for OperationResponseRollingUpgradeRes.
type OperationResponseTimelineOpenApiVO ¶
type OperationResponseTimelineOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *TimelineOpenApiVO `json:"result,omitempty"`
}
OperationResponseTimelineOpenApiVO defines model for OperationResponseTimelineOpenApiVO.
type OperationResponseUnSupportRadSecOpenApiVO ¶
type OperationResponseUnSupportRadSecOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *UnSupportRadSecOpenApiVO `json:"result,omitempty"`
}
OperationResponseUnSupportRadSecOpenApiVO defines model for OperationResponseUnSupportRadSecOpenApiVO.
type OperationResponseUpgradeRes ¶
type OperationResponseUpgradeRes struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *UpgradeRes `json:"result,omitempty"`
}
OperationResponseUpgradeRes defines model for OperationResponseUpgradeRes.
type OperationResponseUpgradeSettingEmailReminder ¶
type OperationResponseUpgradeSettingEmailReminder struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *UpgradeSettingEmailReminder `json:"result,omitempty"`
}
OperationResponseUpgradeSettingEmailReminder defines model for OperationResponseUpgradeSettingEmailReminder.
type OperationResponseUpgradeSettingTryBeta ¶
type OperationResponseUpgradeSettingTryBeta struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *UpgradeSettingTryBeta `json:"result,omitempty"`
}
OperationResponseUpgradeSettingTryBeta defines model for OperationResponseUpgradeSettingTryBeta.
type OperationResponseUpgradeSettingTryBetaChannel ¶
type OperationResponseUpgradeSettingTryBetaChannel struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *UpgradeSettingTryBetaChannel `json:"result,omitempty"`
}
OperationResponseUpgradeSettingTryBetaChannel defines model for OperationResponseUpgradeSettingTryBetaChannel.
type OperationResponseUpgradeSiteModelInfo ¶
type OperationResponseUpgradeSiteModelInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *UpgradeSiteModelInfo `json:"result,omitempty"`
}
OperationResponseUpgradeSiteModelInfo defines model for OperationResponseUpgradeSiteModelInfo.
type OperationResponseUpgradeTask ¶
type OperationResponseUpgradeTask struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *UpgradeTask `json:"result,omitempty"`
}
OperationResponseUpgradeTask defines model for OperationResponseUpgradeTask.
type OperationResponseUploadFirmwareResInfo ¶
type OperationResponseUploadFirmwareResInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *UploadFirmwareResInfo `json:"result,omitempty"`
}
OperationResponseUploadFirmwareResInfo defines model for OperationResponseUploadFirmwareResInfo.
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 OswMlagDataVODeviceInfo ¶
type OswMlagDataVODeviceInfo struct {
Member *[]DeviceInfo `json:"member,omitempty"`
MlagId *string `json:"mlagId,omitempty"`
MlagMembers *[]OswMlagMemberPortVO `json:"mlagMembers,omitempty"`
MlagName *string `json:"mlagName,omitempty"`
MlagStatus *int32 `json:"mlagStatus,omitempty"`
}
OswMlagDataVODeviceInfo defines model for OswMlagDataVODeviceInfo.
type OswMlagMemberPortVO ¶
type OswMlagMemberPortVO struct {
LagId *int32 `json:"lagId,omitempty"`
MacLagNames *map[string]string `json:"macLagNames,omitempty"`
MacPorts *map[string][]int32 `json:"macPorts,omitempty"`
MlagEnable *bool `json:"mlagEnable,omitempty"`
}
OswMlagMemberPortVO defines model for OswMlagMemberPortVO.
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 OswNormalPortListVO ¶
type OswNormalPortListVO struct {
// Mac Switch MAC Address
Mac *string `json:"mac,omitempty"`
// PortList Switch port list.
PortList *[]int32 `json:"portList,omitempty"`
}
OswNormalPortListVO List of Switch MAC and ports.
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 OswStackDataVODeviceInfo ¶
type OswStackDataVODeviceInfo 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 *[]DeviceInfo `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"`
}
OswStackDataVODeviceInfo defines model for OswStackDataVODeviceInfo.
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 OswStackPortListVO ¶
type OswStackPortListVO struct {
// StackId Stack Id
StackId *string `json:"stackId,omitempty"`
// StandardPorts Standard port should be in the format of unit/slot/portId. e.g. 1/0/1
StandardPorts *[]string `json:"standardPorts,omitempty"`
}
OswStackPortListVO List of Stack ID and Standard Ports.
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 PlanFirmwareUpgradeCreateInfo ¶
type PlanFirmwareUpgradeCreateInfo struct {
// DayOfMonth The day of the month selected by the user, It should be within the range of 1-31
DayOfMonth *int32 `json:"dayOfMonth,omitempty"`
// Hour The hour of the day selected by the user, It should be within the range of 0-23
Hour *int32 `json:"hour,omitempty"`
// Minute The minute in the hour selected by the user, It should be within the range of 0-59
Minute *int32 `json:"minute,omitempty"`
// MonthOfYear The month of the year selected by the user, It should be within the range of 1-12
MonthOfYear *int32 `json:"monthOfYear,omitempty"`
// ScheduleType The type of upgrade execution time, where 0 represents now and 1 represents the specified time
ScheduleType int32 `json:"scheduleType"`
// Sites List of site ID selected by the user
Sites []string `json:"sites"`
// Year The year selected by the user
Year *int32 `json:"year,omitempty"`
}
PlanFirmwareUpgradeCreateInfo defines model for PlanFirmwareUpgradeCreateInfo.
type PlanUpgradeCreateInfo ¶
type PlanUpgradeCreateInfo struct {
// DayOfMonth The day of the month selected by the user, It should be within the range of 1-31
DayOfMonth *int32 `json:"dayOfMonth,omitempty"`
// Hour The hour of the day selected by the user, It should be within the range of 0-23
Hour *int32 `json:"hour,omitempty"`
// Minute The minute in the hour selected by the user, It should be within the range of 0-59
Minute *int32 `json:"minute,omitempty"`
// ModelList List of model selected for planned upgrade
ModelList []PlanUpgradeSelectedModel `json:"modelList"`
// MonthOfYear The month of the year selected by the user, It should be within the range of 1-12
MonthOfYear *int32 `json:"monthOfYear,omitempty"`
// ScheduleType The type of upgrade execution time, where 0 represents now and 1 represents the specified time
ScheduleType int32 `json:"scheduleType"`
// Sites List of site ID selected by the user
Sites []string `json:"sites"`
// Year The year selected by the user
Year *int32 `json:"year,omitempty"`
}
PlanUpgradeCreateInfo defines model for PlanUpgradeCreateInfo.
type PlanUpgradeEditInfo ¶
type PlanUpgradeEditInfo struct {
// DayOfMonth The day of the month selected by the user, It should be within the range of 1-31
DayOfMonth *int32 `json:"dayOfMonth,omitempty"`
// Hour The hour selected by the user, It should be within the range of 0-23
Hour *int32 `json:"hour,omitempty"`
// Minute The minute selected by the user, It should be within the range of 0-59
Minute *int32 `json:"minute,omitempty"`
// MonthOfYear The month of the year selected by the user, It should be within the range of 1-12
MonthOfYear *int32 `json:"monthOfYear,omitempty"`
// ScheduleType The type of execution time for the upgrade, where 0 represents now and 1 represents the specified time
ScheduleType int32 `json:"scheduleType"`
// Sites List of site IDs selected by the user
Sites []string `json:"sites"`
// Year User selected year
Year *int32 `json:"year,omitempty"`
}
PlanUpgradeEditInfo defines model for PlanUpgradeEditInfo.
type PlanUpgradeInfo ¶
type PlanUpgradeInfo struct {
// CurrentVersion Current version number.
CurrentVersion *[]string `json:"currentVersion,omitempty"`
// FromRollback Is it from rollback?
FromRollback *bool `json:"fromRollback,omitempty"`
// Id ID.
Id *string `json:"id,omitempty"`
// ModelTypeInfo Model type information.
ModelTypeInfo *ModelTypeInfoOpenApiVO `json:"modelTypeInfo,omitempty"`
// Operator operator.
Operator *string `json:"operator,omitempty"`
// ScheduledUpgradeTime Plan upgrade time.
ScheduledUpgradeTime *string `json:"scheduledUpgradeTime,omitempty"`
// SiteNames Site names where the model is located.
SiteNames *[]string `json:"siteNames,omitempty"`
// SiteNum Number of sites where the model is located.
SiteNum *int32 `json:"siteNum,omitempty"`
// TargetVersion Target upgrade version.
TargetVersion *string `json:"targetVersion,omitempty"`
}
PlanUpgradeInfo defines model for PlanUpgradeInfo.
type PlanUpgradeModelInfo ¶
type PlanUpgradeModelInfo struct {
ModelList *[]ModelUpgradeInfo `json:"modelList,omitempty"`
}
PlanUpgradeModelInfo defines model for PlanUpgradeModelInfo.
type PlanUpgradeModelList ¶
type PlanUpgradeModelList struct {
// CurrentVersion Model version list, software version, such as "2.5.0 Build 20190118 Rel. 64821"
CurrentVersion *[]string `json:"currentVersion,omitempty"`
// ModelTypeInfo Model type information.
ModelTypeInfo *ModelTypeInfoOpenApiVO `json:"modelTypeInfo,omitempty"`
// Status Model critical status should be a value as follows: 0: good; 1: critical
Status *int32 `json:"status,omitempty"`
// UpgradeStatus Model upgrade status should be a value as follows: 0: up-to-date; 1: new Version Available
UpgradeStatus *int32 `json:"upgradeStatus,omitempty"`
}
PlanUpgradeModelList defines model for PlanUpgradeModelList.
type PlanUpgradeSelectedModel ¶
type PlanUpgradeSelectedModel struct {
// CurrentVersion Selected model version list, software version, such as "2.5.0 Build 20190118 Rel. 64821".
CurrentVersion []string `json:"currentVersion"`
// ModelTypeInfo Model type information.
ModelTypeInfo ModelTypeInfoOpenApiVO `json:"modelTypeInfo"`
// TargetVersion Target version.
TargetVersion string `json:"targetVersion"`
}
PlanUpgradeSelectedModel List of model selected for planned upgrade
type PoeDeviceDetail ¶
type PoeDeviceDetail struct {
// CombinedGateway Indicates whether it is a combined-gateway.
CombinedGateway *bool `json:"combinedGateway,omitempty"`
// FirmwareVersion Device firmware version.
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
// HwVersion Device hardware version.
HwVersion *string `json:"hwVersion,omitempty"`
// Mac Device MAC.
Mac *string `json:"mac,omitempty"`
// Model Device model.
Model *string `json:"model,omitempty"`
// ModelVersion Device model version.
ModelVersion *string `json:"modelVersion,omitempty"`
// Name Device name.
Name *string `json:"name,omitempty"`
// PoePort Device poe ports info.
PoePort *DevicePoePorts `json:"poePort,omitempty"`
// Site Site ID
Site *string `json:"site,omitempty"`
// Sn Device SN code.
Sn *string `json:"sn,omitempty"`
// Status Device status.
Status *int32 `json:"status,omitempty"`
// Type Device type. "gateway", "switch"
Type *string `json:"type,omitempty"`
}
PoeDeviceDetail defines model for Poe device detail..
type PoeScheduleOpenApiVO ¶
type PoeScheduleOpenApiVO struct {
// Name PoE Schedule Name should contain 1 to 128 characters.
Name string `json:"name"`
// PoePortsMap Key:Mac("String"), Value:Set of Ports("Integer")
PoePortsMap map[string][]int32 `json:"poePortsMap"`
// SiteId Site ID
SiteId *string `json:"siteId,omitempty"`
// Status PoE Schedule Status.
Status bool `json:"status"`
// TurnOnTime Time Range ID, cannot be empty.
TurnOnTime string `json:"turnOnTime"`
}
PoeScheduleOpenApiVO Poe schedule entity
type PoeScheduleQueryOpenApiVO ¶
type PoeScheduleQueryOpenApiVO struct {
// Id PoE Schedule Individual ID.
Id *string `json:"id,omitempty"`
// Name PoE Schedule Name should contain 1 to 128 characters.
Name string `json:"name"`
// NextExecute Show PoE Schedule next execution timestamp.
NextExecute *int64 `json:"nextExecute,omitempty"`
// NotInDst When notInDst is true, not displayed in DST.
NotInDst *bool `json:"notInDst,omitempty"`
// PoePortsMap Key:Mac("String"), Value:Set of Ports("Integer")
PoePortsMap map[string][]int32 `json:"poePortsMap"`
// SiteId Site ID
SiteId *string `json:"siteId,omitempty"`
// Status PoE Schedule Status.
Status bool `json:"status"`
// TurnOnTime Time Range ID, cannot be empty.
TurnOnTime string `json:"turnOnTime"`
}
PoeScheduleQueryOpenApiVO defines model for PoeScheduleQueryOpenApiVO.
type PortDeviceDetail ¶
type PortDeviceDetail struct {
// HwVersion Device hardware version.
HwVersion *string `json:"hwVersion,omitempty"`
// Mac Device mac.
Mac *string `json:"mac,omitempty"`
// Model Device model.
Model *string `json:"model,omitempty"`
// ModelVersion Device model version.
ModelVersion *string `json:"modelVersion,omitempty"`
// Name Device name.
Name *string `json:"name,omitempty"`
// Ports Device ports info.
Ports *DevicePorts `json:"ports,omitempty"`
// Site Site ID
Site *string `json:"site,omitempty"`
// Sn Device SN code.
Sn *string `json:"sn,omitempty"`
// Status Device status.
Status *int32 `json:"status,omitempty"`
// Type Device type. "gateway", "switch"
Type *string `json:"type,omitempty"`
}
PortDeviceDetail defines model for Port device detail..
type PortLabelDTO ¶
type PortLabelDTO struct {
Label *string `json:"label,omitempty"`
Value *string `json:"value,omitempty"`
}
PortLabelDTO Other Device Port Labels
type PortOrPoeScheduleOpenApiVO ¶
type PortOrPoeScheduleOpenApiVO struct {
// Name Port Schedule Name should contain 1 to 128 characters.
Name string `json:"name"`
// NextExecute Show PoE Schedule next execution timestamp.
NextExecute *int64 `json:"nextExecute,omitempty"`
// NotInDst When notInDst is true, not displayed in DST.
NotInDst *bool `json:"notInDst,omitempty"`
// PortsMap Key:Mac("String"), Value:Set of Ports("Integer")
PortsMap map[string][]int32 `json:"portsMap"`
// ScheduleType Port Schedule Type should be 0 or 1.
ScheduleType int32 `json:"scheduleType"`
// Status Port Schedule Status.
Status bool `json:"status"`
// TurnOnTime Time Range ID, cannot be empty.
TurnOnTime string `json:"turnOnTime"`
}
PortOrPoeScheduleOpenApiVO defines model for PortOrPoeScheduleOpenApiVO.
type PortScheduleOpenApiVO ¶
type PortScheduleOpenApiVO struct {
// Name Port Schedule Name should contain 1 to 128 characters.
Name string `json:"name"`
// PortsMap Key:MAC("String"), Value:Set of Ports("Integer")
PortsMap map[string][]int32 `json:"portsMap"`
// Status Port Schedule Status.
Status bool `json:"status"`
// TurnOnTime Time Range ID, cannot be empty.
TurnOnTime string `json:"turnOnTime"`
}
PortScheduleOpenApiVO defines model for PortScheduleOpenApiVO.
type PortScheduleQueryOpenApiVO ¶
type PortScheduleQueryOpenApiVO struct {
// Id Port Schedule individual ID.
Id *string `json:"id,omitempty"`
// Name Port Schedule Name should contain 1 to 128 characters.
Name string `json:"name"`
// NextExecute Show Poe Schedule next execution timestamp.
NextExecute *int64 `json:"nextExecute,omitempty"`
// NotInDst When notInDst is true, Not displayed in DST.
NotInDst *bool `json:"notInDst,omitempty"`
// PortsMap Key:MAC("String"), Value:Set of Ports("Integer")
PortsMap map[string][]int32 `json:"portsMap"`
// SiteId Site ID
SiteId *string `json:"siteId,omitempty"`
// Status Port Schedule Status.
Status bool `json:"status"`
// TurnOnTime Time Range ID, cannot be empty.
TurnOnTime string `json:"turnOnTime"`
}
PortScheduleQueryOpenApiVO defines model for PortScheduleQueryOpenApiVO.
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 QueryDeviceListOpenApiVO ¶
type QueryDeviceListOpenApiVO struct {
// Macs The device MAC address list.
Macs []string `json:"macs"`
}
QueryDeviceListOpenApiVO defines model for QueryDeviceListOpenApiVO.
type QueryDeviceUplinkOpenApiVO ¶
type QueryDeviceUplinkOpenApiVO struct {
// DeviceMacs The list of deviceMac that require querying uplink device information.
DeviceMacs *[]string `json:"deviceMacs,omitempty"`
}
QueryDeviceUplinkOpenApiVO defines model for QueryDeviceUplinkOpenApiVO.
type RebootDeviceResponse ¶
func ParseRebootDeviceResponse ¶
func ParseRebootDeviceResponse(rsp *http.Response) (*RebootDeviceResponse, error)
ParseRebootDeviceResponse parses an HTTP response from a RebootDeviceWithResponse call
func (RebootDeviceResponse) ContentType ¶
func (r RebootDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RebootDeviceResponse) GetBody ¶
func (r RebootDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RebootDeviceResponse) Status ¶
func (r RebootDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (RebootDeviceResponse) StatusCode ¶
func (r RebootDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RebootDeviceUplinkPoeJSONRequestBody ¶
type RebootDeviceUplinkPoeJSONRequestBody = MonitorDevice
RebootDeviceUplinkPoeJSONRequestBody defines body for RebootDeviceUplinkPoe for application/json ContentType.
type RebootDeviceUplinkPoeResponse ¶
func ParseRebootDeviceUplinkPoeResponse ¶
func ParseRebootDeviceUplinkPoeResponse(rsp *http.Response) (*RebootDeviceUplinkPoeResponse, error)
ParseRebootDeviceUplinkPoeResponse parses an HTTP response from a RebootDeviceUplinkPoeWithResponse call
func (RebootDeviceUplinkPoeResponse) ContentType ¶
func (r RebootDeviceUplinkPoeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RebootDeviceUplinkPoeResponse) GetBody ¶
func (r RebootDeviceUplinkPoeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RebootDeviceUplinkPoeResponse) Status ¶
func (r RebootDeviceUplinkPoeResponse) Status() string
Status returns HTTPResponse.Status
func (RebootDeviceUplinkPoeResponse) StatusCode ¶
func (r RebootDeviceUplinkPoeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RebootScheduleOpenApiVO ¶
type RebootScheduleOpenApiVO struct {
// DeviceMacs MAC address of the selected devices. E.g. AA-BB-CC-DD-11-22
DeviceMacs []string `json:"deviceMacs"`
// Id Reboot Schedule Id.
Id *string `json:"id,omitempty"`
// Name Reboot Schedule name should contain 1 to 128 characters.
Name string `json:"name"`
// Status Reboot Schedule status.
Status bool `json:"status"`
// Time Execution time setting.
Time RebootScheduleTimeOpenApiVO `json:"time"`
}
RebootScheduleOpenApiVO defines model for RebootScheduleOpenApiVO.
type RebootScheduleQueryOpenApiVO ¶
type RebootScheduleQueryOpenApiVO struct {
// DeviceMacs MAC address of the selected devices.
DeviceMacs []string `json:"deviceMacs"`
// Id Reboot Schedule ID.
Id *string `json:"id,omitempty"`
// Name Reboot Schedule name should contain 1 to 128 characters.
Name string `json:"name"`
// NextExecute Reboot Schedule next execution timestamp(ms).
NextExecute *int64 `json:"nextExecute,omitempty"`
// Status Reboot Schedule status.
Status bool `json:"status"`
// Time Execution time setting.
Time RebootScheduleTimeOpenApiVO `json:"time"`
}
RebootScheduleQueryOpenApiVO defines model for RebootScheduleQueryOpenApiVO.
type RebootScheduleTemplateOpenApiVO ¶
type RebootScheduleTemplateOpenApiVO struct {
// Name Reboot Schedule name should contain 1 to 128 characters.
Name string `json:"name"`
// Status Reboot Schedule status.
Status bool `json:"status"`
// Time Execution time setting.
Time RebootScheduleTimeOpenApiVO `json:"time"`
}
RebootScheduleTemplateOpenApiVO defines model for RebootScheduleTemplateOpenApiVO.
type RebootScheduleTemplateQueryOpenApiVO ¶
type RebootScheduleTemplateQueryOpenApiVO struct {
// Id Reboot Schedule ID.
Id *string `json:"id,omitempty"`
// Name Reboot Schedule name should contain 1 to 128 characters.
Name string `json:"name"`
// NextExecute Reboot Schedule next execution timestamp(ms).
NextExecute *int64 `json:"nextExecute,omitempty"`
// Status Reboot Schedule status.
Status bool `json:"status"`
// Time Execution time setting.
Time RebootScheduleTimeOpenApiVO `json:"time"`
}
RebootScheduleTemplateQueryOpenApiVO defines model for RebootScheduleTemplateQueryOpenApiVO.
type RebootScheduleTimeOpenApiVO ¶
type RebootScheduleTimeOpenApiVO struct {
// DayOfMonth It should be within the range of 1~31. Required when parameter [timingType] is 3.
DayOfMonth *int32 `json:"dayOfMonth,omitempty"`
// DayOfWeek It should be within the range of 0(Sunday)~6(Saturday). Required when parameter [timingType] is 2.
DayOfWeek *int32 `json:"dayOfWeek,omitempty"`
// Hour It should be within the range of 0~23
Hour int32 `json:"hour"`
// Minute It should be within the range of 0~59
Minute int32 `json:"minute"`
// TimingType Time type should be a value as follows: 1:Daily; 2:Weekly; 3:Monthly
TimingType int32 `json:"timingType"`
}
RebootScheduleTimeOpenApiVO Execution time setting.
type RemovePortScheduleTemplateResponse ¶
func ParseRemovePortScheduleTemplateResponse ¶
func ParseRemovePortScheduleTemplateResponse(rsp *http.Response) (*RemovePortScheduleTemplateResponse, error)
ParseRemovePortScheduleTemplateResponse parses an HTTP response from a RemovePortScheduleTemplateWithResponse call
func (RemovePortScheduleTemplateResponse) ContentType ¶
func (r RemovePortScheduleTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemovePortScheduleTemplateResponse) GetBody ¶
func (r RemovePortScheduleTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemovePortScheduleTemplateResponse) Status ¶
func (r RemovePortScheduleTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (RemovePortScheduleTemplateResponse) StatusCode ¶
func (r RemovePortScheduleTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReplaceConfigRespVO ¶
type ReplaceConfigRespVO struct {
// FeatureList List of incompatible features.
FeatureList *[]string `json:"featureList,omitempty"`
// NeedPrompt Whether to show a prompt.
NeedPrompt *bool `json:"needPrompt,omitempty"`
// NewModel New model.
NewModel *string `json:"newModel,omitempty"`
// OldModel Old model.
OldModel *string `json:"oldModel,omitempty"`
}
ReplaceConfigRespVO defines model for ReplaceConfigRespVO.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RestoreFileServerJSONRequestBody ¶
type RestoreFileServerJSONRequestBody = FileServerGlobalRestoreVO
RestoreFileServerJSONRequestBody defines body for RestoreFileServer for application/json ContentType.
type RestoreFileServerResponse ¶
func ParseRestoreFileServerResponse ¶
func ParseRestoreFileServerResponse(rsp *http.Response) (*RestoreFileServerResponse, error)
ParseRestoreFileServerResponse parses an HTTP response from a RestoreFileServerWithResponse call
func (RestoreFileServerResponse) ContentType ¶
func (r RestoreFileServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreFileServerResponse) GetBody ¶
func (r RestoreFileServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestoreFileServerResponse) Status ¶
func (r RestoreFileServerResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreFileServerResponse) StatusCode ¶
func (r RestoreFileServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreResultVO ¶
type RestoreResultVO struct {
// Status Status should be a value as follows: 0: restore finished; 1: restore prepared; 2: restore running; 3: restore failed
Status *int32 `json:"status,omitempty"`
}
RestoreResultVO defines model for RestoreResultVO.
type RestoreSelfServerJSONRequestBody ¶
type RestoreSelfServerJSONRequestBody = SelfGlobalRestoreVO
RestoreSelfServerJSONRequestBody defines body for RestoreSelfServer for application/json ContentType.
type RestoreSelfServerResponse ¶
func ParseRestoreSelfServerResponse ¶
func ParseRestoreSelfServerResponse(rsp *http.Response) (*RestoreSelfServerResponse, error)
ParseRestoreSelfServerResponse parses an HTTP response from a RestoreSelfServerWithResponse call
func (RestoreSelfServerResponse) ContentType ¶
func (r RestoreSelfServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreSelfServerResponse) GetBody ¶
func (r RestoreSelfServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestoreSelfServerResponse) Status ¶
func (r RestoreSelfServerResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreSelfServerResponse) StatusCode ¶
func (r RestoreSelfServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreSitesFileServerJSONRequestBody ¶
type RestoreSitesFileServerJSONRequestBody = BatchSiteFileServerRestoreVO
RestoreSitesFileServerJSONRequestBody defines body for RestoreSitesFileServer for application/json ContentType.
type RestoreSitesFileServerResponse ¶
func ParseRestoreSitesFileServerResponse ¶
func ParseRestoreSitesFileServerResponse(rsp *http.Response) (*RestoreSitesFileServerResponse, error)
ParseRestoreSitesFileServerResponse parses an HTTP response from a RestoreSitesFileServerWithResponse call
func (RestoreSitesFileServerResponse) ContentType ¶
func (r RestoreSitesFileServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreSitesFileServerResponse) GetBody ¶
func (r RestoreSitesFileServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestoreSitesFileServerResponse) Status ¶
func (r RestoreSitesFileServerResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreSitesFileServerResponse) StatusCode ¶
func (r RestoreSitesFileServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreSitesSelfServerJSONRequestBody ¶
type RestoreSitesSelfServerJSONRequestBody = BatchSiteSelfRestoreVO
RestoreSitesSelfServerJSONRequestBody defines body for RestoreSitesSelfServer for application/json ContentType.
type RestoreSitesSelfServerResponse ¶
func ParseRestoreSitesSelfServerResponse ¶
func ParseRestoreSitesSelfServerResponse(rsp *http.Response) (*RestoreSitesSelfServerResponse, error)
ParseRestoreSitesSelfServerResponse parses an HTTP response from a RestoreSitesSelfServerWithResponse call
func (RestoreSitesSelfServerResponse) ContentType ¶
func (r RestoreSitesSelfServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreSitesSelfServerResponse) GetBody ¶
func (r RestoreSitesSelfServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestoreSitesSelfServerResponse) Status ¶
func (r RestoreSitesSelfServerResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreSitesSelfServerResponse) StatusCode ¶
func (r RestoreSitesSelfServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetryAddDeviceByMspJSONRequestBody ¶
type RetryAddDeviceByMspJSONRequestBody = RetryAddDeviceOpenApiVO
RetryAddDeviceByMspJSONRequestBody defines body for RetryAddDeviceByMsp for application/json ContentType.
type RetryAddDeviceByMspResponse ¶
func ParseRetryAddDeviceByMspResponse ¶
func ParseRetryAddDeviceByMspResponse(rsp *http.Response) (*RetryAddDeviceByMspResponse, error)
ParseRetryAddDeviceByMspResponse parses an HTTP response from a RetryAddDeviceByMspWithResponse call
func (RetryAddDeviceByMspResponse) ContentType ¶
func (r RetryAddDeviceByMspResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RetryAddDeviceByMspResponse) GetBody ¶
func (r RetryAddDeviceByMspResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RetryAddDeviceByMspResponse) Status ¶
func (r RetryAddDeviceByMspResponse) Status() string
Status returns HTTPResponse.Status
func (RetryAddDeviceByMspResponse) StatusCode ¶
func (r RetryAddDeviceByMspResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetryAddDeviceJSONRequestBody ¶
type RetryAddDeviceJSONRequestBody = RetryAddDeviceOpenApiVO
RetryAddDeviceJSONRequestBody defines body for RetryAddDevice for application/json ContentType.
type RetryAddDeviceOpenApiVO ¶
type RetryAddDeviceOpenApiVO struct {
// Password retry add device password
Password *string `json:"password,omitempty"`
// Username retry add device username
Username *string `json:"username,omitempty"`
}
RetryAddDeviceOpenApiVO defines model for RetryAddDeviceOpenApiVO.
type RetryAddDeviceRespOpenApiVO ¶
type RetryAddDeviceRespOpenApiVO struct {
// PreConfigRetryType 1: need username and pwd; 2: don't need need username and pwd
PreConfigRetryType *int32 `json:"preConfigRetryType,omitempty"`
}
RetryAddDeviceRespOpenApiVO defines model for RetryAddDeviceRespOpenApiVO.
type RetryAddDeviceResponse ¶
func ParseRetryAddDeviceResponse ¶
func ParseRetryAddDeviceResponse(rsp *http.Response) (*RetryAddDeviceResponse, error)
ParseRetryAddDeviceResponse parses an HTTP response from a RetryAddDeviceWithResponse call
func (RetryAddDeviceResponse) ContentType ¶
func (r RetryAddDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RetryAddDeviceResponse) GetBody ¶
func (r RetryAddDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RetryAddDeviceResponse) Status ¶
func (r RetryAddDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (RetryAddDeviceResponse) StatusCode ¶
func (r RetryAddDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RollbackCreateInfo ¶
type RollbackCreateInfo struct {
// DayOfMonth The day of the month selected by the user, It should be within the range of 1-31
DayOfMonth *int32 `json:"dayOfMonth,omitempty"`
// Hour The hour selected by the user, It should be within the range of 0-23
Hour *int32 `json:"hour,omitempty"`
// Minute The minute selected by the user, It should be within the range of 0-59
Minute *int32 `json:"minute,omitempty"`
// MonthOfYear The month of the year selected by the user, It should be within the range of 1-12
MonthOfYear *int32 `json:"monthOfYear,omitempty"`
// ScheduleType The type of execution time for the upgrade, where 0 represents now and 1 represents the specified time
ScheduleType int32 `json:"scheduleType"`
// TargetVersion User selected rollback version, It should not be null
TargetVersion string `json:"targetVersion"`
// Year User selected year
Year *int32 `json:"year,omitempty"`
}
RollbackCreateInfo defines model for RollbackCreateInfo.
type RollingUpgradeRequest ¶
type RollingUpgradeRequest struct {
// Macs MAC list of devices. E.g. AA-BB-CC-DD-11-22
Macs *[]string `json:"macs,omitempty"`
}
RollingUpgradeRequest defines model for RollingUpgradeRequest.
type RollingUpgradeRes ¶
type RollingUpgradeRes struct {
// Finished Whether the task is complete
Finished *bool `json:"finished,omitempty"`
// UnfinishedCount Total number of devices that have not been upgraded
UnfinishedCount *int32 `json:"unfinishedCount,omitempty"`
}
RollingUpgradeRes defines model for RollingUpgradeRes.
type SearchGlobalDeviceParams ¶
type SearchGlobalDeviceParams struct {
// SearchKey searchKey
SearchKey string `form:"searchKey" json:"searchKey"`
}
SearchGlobalDeviceParams defines parameters for SearchGlobalDevice.
type SearchGlobalDeviceResponse ¶
func ParseSearchGlobalDeviceResponse ¶
func ParseSearchGlobalDeviceResponse(rsp *http.Response) (*SearchGlobalDeviceResponse, error)
ParseSearchGlobalDeviceResponse parses an HTTP response from a SearchGlobalDeviceWithResponse call
func (SearchGlobalDeviceResponse) ContentType ¶
func (r SearchGlobalDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SearchGlobalDeviceResponse) GetBody ¶
func (r SearchGlobalDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SearchGlobalDeviceResponse) Status ¶
func (r SearchGlobalDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (SearchGlobalDeviceResponse) StatusCode ¶
func (r SearchGlobalDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelfGlobalBackupVO ¶
type SelfGlobalBackupVO struct {
// RetainUser Whether saving user info.
RetainUser bool `json:"retainUser"`
}
SelfGlobalBackupVO defines model for SelfGlobalBackupVO.
type SelfGlobalRestoreVO ¶
type SelfGlobalRestoreVO struct {
// FileName Site backup file name. Parameter [fileName] should be 1 - 128 ASCII characters.
FileName string `json:"fileName"`
}
SelfGlobalRestoreVO defines model for SelfGlobalRestoreVO.
type SelfSiteRestoreVO ¶
type SelfSiteRestoreVO struct {
// FileName Site backup file name. Parameter [fileName] should be 1 - 128 ASCII characters.
FileName string `json:"fileName"`
// SiteId Site ID to restore
SiteId string `json:"siteId"`
}
SelfSiteRestoreVO Site restore info list to restore. Up to 300 entries are allowed for the site restore info list.
type SetTagOpenApiVO ¶
type SetTagOpenApiVO struct {
// Macs Device MAC list, like AA-BB-CC-DD-EE-FF
Macs *[]string `json:"macs,omitempty"`
// TagIds Tag ID list
TagIds []string `json:"tagIds"`
}
SetTagOpenApiVO defines model for SetTagOpenApiVO.
type SetTagResultOpenApiVO ¶
type SetTagResultOpenApiVO struct {
Mac *string `json:"mac,omitempty"`
// Status 0: success, 1: failed
Status *int32 `json:"status,omitempty"`
}
SetTagResultOpenApiVO batch set tag result
type SiteBasicInfo ¶
type SiteBasicInfo struct {
// Id Site ID
Id *string `json:"id,omitempty"`
// Name Site name
Name *string `json:"name,omitempty"`
}
SiteBasicInfo Site basic information on one page.
type SnAddResultVO ¶
type SnAddResultVO struct {
// CustomerName If device management records exist when adding devices by SN, you need to forget devices in this customer. Otherwise this field will have no value.
CustomerName *string `json:"customerName,omitempty"`
// DeviceKey Device key(QR code)
DeviceKey *string `json:"deviceKey,omitempty"`
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// Name Device name
Name *string `json:"name,omitempty"`
// Online Device online or offline
Online *bool `json:"online,omitempty"`
// SiteName If device management records exist when adding devices by SN, you need to forget devices in this site. Otherwise this field will have no value.
SiteName *string `json:"siteName,omitempty"`
// Sn Serial number
Sn *string `json:"sn,omitempty"`
// Status Device add status should be a value as follows: 0: success; 1: waiting to do; 2:importing; -51451:Device ID not found; -52201:Device is offline; -52202:Device is already bounded; -52208:Device is offline during processing; -52200:Device not exit; -53100:Invalid SN code; -53101:SN code already exists; -53102:Incorrect local Username/Password; -53103:Device error; -53113: Too many PRECONFIGURED devices in this account. Available licenses are not enough; -53114: This device has been added by another Controller; -53118: Omada Pro devices can only be added on the Omada Pro Controller; -53119: Omada devices can only be added on the Omada Controller; -39045: Failed to add the device due to duplicate SN codes. Please contact our TP-Link Support.
Status *int32 `json:"status,omitempty"`
// SupportIppt Support ip pass-through or not。
SupportIppt *bool `json:"supportIppt,omitempty"`
}
SnAddResultVO Devices add result
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 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 TagOpenApiVO ¶
type TagOpenApiVO struct {
// Name Tag name should contain 1 to 128 ASCII characters.
Name string `json:"name"`
}
TagOpenApiVO defines model for TagOpenApiVO.
type TagRespOpenApiVO ¶
type TagRespOpenApiVO struct {
// Name Tag name
Name *string `json:"name,omitempty"`
// TagId Tag ID
TagId *string `json:"tagId,omitempty"`
}
TagRespOpenApiVO defines model for TagRespOpenApiVO.
type TimeIntervalQueryOpenApiVO ¶
type TimeIntervalQueryOpenApiVO struct {
// End EndTime is seconds since UTC 1970/01/01
End int64 `json:"end"`
// Start StartTime is seconds since UTC 1970/01/01
Start int64 `json:"start"`
}
TimeIntervalQueryOpenApiVO defines model for TimeIntervalQueryOpenApiVO.
type TimelineOpenApiVO ¶
type TimelineOpenApiVO struct {
// Connections The collection of device online intervals.
Connections *[]ConnectPeriodVO `json:"connections,omitempty"`
}
TimelineOpenApiVO defines model for TimelineOpenApiVO.
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 UnSupportRadSecOpenApiVO ¶
type UnSupportRadSecOpenApiVO struct {
// Exist Whether there exists devices that do not support the RadSec feature.
Exist *bool `json:"exist,omitempty"`
}
UnSupportRadSecOpenApiVO defines model for UnSupportRadSecOpenApiVO.
type UnbindActiveDeviceBySnJSONRequestBody ¶
type UnbindActiveDeviceBySnJSONRequestBody = UnbindActiveDeviceSnOpenApiVO
UnbindActiveDeviceBySnJSONRequestBody defines body for UnbindActiveDeviceBySn for application/json ContentType.
type UnbindActiveDeviceBySnResponse ¶
func ParseUnbindActiveDeviceBySnResponse ¶
func ParseUnbindActiveDeviceBySnResponse(rsp *http.Response) (*UnbindActiveDeviceBySnResponse, error)
ParseUnbindActiveDeviceBySnResponse parses an HTTP response from a UnbindActiveDeviceBySnWithResponse call
func (UnbindActiveDeviceBySnResponse) ContentType ¶
func (r UnbindActiveDeviceBySnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnbindActiveDeviceBySnResponse) GetBody ¶
func (r UnbindActiveDeviceBySnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UnbindActiveDeviceBySnResponse) Status ¶
func (r UnbindActiveDeviceBySnResponse) Status() string
Status returns HTTPResponse.Status
func (UnbindActiveDeviceBySnResponse) StatusCode ¶
func (r UnbindActiveDeviceBySnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnbindActiveDeviceSnOpenApiVO ¶
type UnbindActiveDeviceSnOpenApiVO struct {
// NewSn New serial number. It should contains 13 characters
NewSn string `json:"newSn"`
// OldSn Old serial number. It should contains 13 characters
OldSn string `json:"oldSn"`
}
UnbindActiveDeviceSnOpenApiVO defines model for UnbindActiveDeviceSnOpenApiVO.
type UnbindDeviceBySnJSONRequestBody ¶
type UnbindDeviceBySnJSONRequestBody = UnbindDeviceSnOpenApiVO
UnbindDeviceBySnJSONRequestBody defines body for UnbindDeviceBySn for application/json ContentType.
type UnbindDeviceBySnResponse ¶
func ParseUnbindDeviceBySnResponse ¶
func ParseUnbindDeviceBySnResponse(rsp *http.Response) (*UnbindDeviceBySnResponse, error)
ParseUnbindDeviceBySnResponse parses an HTTP response from a UnbindDeviceBySnWithResponse call
func (UnbindDeviceBySnResponse) ContentType ¶
func (r UnbindDeviceBySnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnbindDeviceBySnResponse) GetBody ¶
func (r UnbindDeviceBySnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UnbindDeviceBySnResponse) Status ¶
func (r UnbindDeviceBySnResponse) Status() string
Status returns HTTPResponse.Status
func (UnbindDeviceBySnResponse) StatusCode ¶
func (r UnbindDeviceBySnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnbindDeviceJSONRequestBody ¶
type UnbindDeviceJSONRequestBody = UnbindDeviceOpenApiVO
UnbindDeviceJSONRequestBody defines body for UnbindDevice for application/json ContentType.
type UnbindDeviceOpenApiVO ¶
type UnbindDeviceOpenApiVO struct {
// DeviceMacs Unbind device mac list, like AA-BB-CC-DD-EE-FF
DeviceMacs []string `json:"deviceMacs"`
}
UnbindDeviceOpenApiVO defines model for UnbindDeviceOpenApiVO.
type UnbindDeviceRespVO ¶
type UnbindDeviceRespVO struct {
// Category Category should be a value as follows: ap; l2Switch; l3Switch; gateway
Category *string `json:"category,omitempty"`
// LicenseId License ID
LicenseId *string `json:"licenseId,omitempty"`
// LicenseType License type should be a value as follows: 1year; 2years; 3years; 4years; 5years; others; trial(Cloud Based Controller), permanent; trial(Local Controller)
LicenseType *string `json:"licenseType,omitempty"`
Mac *string `json:"mac,omitempty"`
// Status Unbind device status should be a value as follows: 0: success;-1: failed
Status *int32 `json:"status,omitempty"`
}
UnbindDeviceRespVO defines model for UnbindDeviceRespVO.
type UnbindDeviceResponse ¶
func ParseUnbindDeviceResponse ¶
func ParseUnbindDeviceResponse(rsp *http.Response) (*UnbindDeviceResponse, error)
ParseUnbindDeviceResponse parses an HTTP response from a UnbindDeviceWithResponse call
func (UnbindDeviceResponse) ContentType ¶
func (r UnbindDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnbindDeviceResponse) GetBody ¶
func (r UnbindDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UnbindDeviceResponse) Status ¶
func (r UnbindDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (UnbindDeviceResponse) StatusCode ¶
func (r UnbindDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnbindDeviceSnOpenApiVO ¶
type UnbindDeviceSnOpenApiVO struct {
// Sns Unbind device serial number list, serial number should contains 13 characters.
Sns []string `json:"sns"`
}
UnbindDeviceSnOpenApiVO defines model for UnbindDeviceSnOpenApiVO.
type UnbindDeviceSnRespVO ¶
type UnbindDeviceSnRespVO struct {
// Category ap, l2Switch, l3Switch, gateway
Category *string `json:"category,omitempty"`
// LicenseId License ID
LicenseId *string `json:"licenseId,omitempty"`
// LicenseType 1year, 2years, 3years, 4years, 5years, others, trial
LicenseType *string `json:"licenseType,omitempty"`
Sn *string `json:"sn,omitempty"`
// Status unbind device status(0: success;-1: failed;)
Status *int32 `json:"status,omitempty"`
}
UnbindDeviceSnRespVO defines model for UnbindDeviceSnRespVO.
type UpdateDeviceTagJSONRequestBody ¶
type UpdateDeviceTagJSONRequestBody = SetTagOpenApiVO
UpdateDeviceTagJSONRequestBody defines body for UpdateDeviceTag for application/json ContentType.
type UpdateDeviceTagResponse ¶
func ParseUpdateDeviceTagResponse ¶
func ParseUpdateDeviceTagResponse(rsp *http.Response) (*UpdateDeviceTagResponse, error)
ParseUpdateDeviceTagResponse parses an HTTP response from a UpdateDeviceTagWithResponse call
func (UpdateDeviceTagResponse) ContentType ¶
func (r UpdateDeviceTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateDeviceTagResponse) GetBody ¶
func (r UpdateDeviceTagResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateDeviceTagResponse) Status ¶
func (r UpdateDeviceTagResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDeviceTagResponse) StatusCode ¶
func (r UpdateDeviceTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeBaseScheduleTimeOpenApiVO ¶
type UpgradeBaseScheduleTimeOpenApiVO struct {
// DayOfMonth It should be within the range of 1~31. Required when parameter [timingType] is 3 or 4.
DayOfMonth *int32 `json:"dayOfMonth,omitempty"`
// DayOfWeek It should be within the range of 0(Sunday)~6(Saturday). Required when parameter [timingType] is 2.
DayOfWeek *int32 `json:"dayOfWeek,omitempty"`
// Hour It should be within the range of 0~23
Hour int32 `json:"hour"`
// Minute It should be within the range of 0~59
Minute int32 `json:"minute"`
// MonthOfYear It should be within the range of 1~12. Required when parameter [timingType] is 4.
MonthOfYear *int32 `json:"monthOfYear,omitempty"`
// TimingType Time type should be a value as follows: 1:Daily; 2:Weekly; 3:Monthly; 4:yearly
TimingType int32 `json:"timingType"`
}
UpgradeBaseScheduleTimeOpenApiVO Periodic execution time, and it should not be null
type UpgradeFailedDeviceInfo ¶
type UpgradeFailedDeviceInfo struct {
// CurrentVersion The current firmware version of the device which upgrade failed.
CurrentVersion *string `json:"currentVersion,omitempty"`
// DeviceName Name of the device which failed to upgrade.
DeviceName *string `json:"deviceName,omitempty"`
// Mac Mac address of device which upgrade failed.
Mac *string `json:"mac,omitempty"`
// ModelTypeInfo Model type information.
ModelTypeInfo *ModelTypeInfoOpenApiVO `json:"modelTypeInfo,omitempty"`
// SiteName The siteName of the device which upgrade failed.
SiteName *string `json:"siteName,omitempty"`
// Type Device type should be a value as follows: gateway, switch, ap.
Type *string `json:"type,omitempty"`
}
UpgradeFailedDeviceInfo defines model for UpgradeFailedDeviceInfo.
type UpgradeLogOpenApiInfo ¶
type UpgradeLogOpenApiInfo struct {
// CurrentVersion Model firmware version list before upgrade ,such as "[2.5.0 Build 20190118 Rel. 64821, 2.4.8 Build 20190118 Rel. 64821]". This field is the same as "PREVIOUS VERSION" in Controller Upgrade Logs
CurrentVersion *[]string `json:"currentVersion,omitempty"`
// FailedDeviceNum The number of devices that failed to upgrade in this upgrade plan.
FailedDeviceNum *int32 `json:"failedDeviceNum,omitempty"`
// Id Upgrade log ID.
Id *string `json:"id,omitempty"`
// ModelTypeInfo Model type information.
ModelTypeInfo *ModelTypeInfoOpenApiVO `json:"modelTypeInfo,omitempty"`
// Operator Operator.
Operator *string `json:"operator,omitempty"`
// Rollbacked Whether the log is rolled back or not. The logs that are rolled back cannot be rolled back repeatedly.
Rollbacked *bool `json:"rollbacked,omitempty"`
// SiteNames The siteName lists where the model belongs.
SiteNames *[]string `json:"siteNames,omitempty"`
// SiteNum Number of sites where the model belongs.
SiteNum *int32 `json:"siteNum,omitempty"`
// TargetVersion Model firmware version after device upgrade, such as "2.5.1 Build 20190118 Rel. 64821". This field is the same as "CURRENT VERSION" in Controller Upgrade Logs
TargetVersion *string `json:"targetVersion,omitempty"`
// UpgradeTime The time when the upgrade is complete.
UpgradeTime *string `json:"upgradeTime,omitempty"`
}
UpgradeLogOpenApiInfo defines model for UpgradeLogOpenApiInfo.
type UpgradeRequest ¶
type UpgradeRequest struct {
// FileId Firmware ID for upgrade
FileId *string `json:"fileId,omitempty"`
// Macs MAC list of devices
Macs *[]string `json:"macs,omitempty"`
}
UpgradeRequest defines model for UpgradeRequest.
type UpgradeRes ¶
type UpgradeRes struct {
// Finished Whether the task is complete
Finished *bool `json:"finished,omitempty"`
// UnfinishedCount Total number of devices that have not been upgraded
UnfinishedCount *int32 `json:"unfinishedCount,omitempty"`
}
UpgradeRes defines model for UpgradeRes.
type UpgradeScheduleOpenApiVO ¶
type UpgradeScheduleOpenApiVO struct {
// DeviceMacs MAC address of the selected devices. E.g. AA-BB-CC-DD-11-22
DeviceMacs []string `json:"deviceMacs"`
// Name Upgrade schedule name should contain 1 to 128 characters.
Name string `json:"name"`
// NextExecuteTime Execution timeStamp(ms). Required when type is 0.
NextExecuteTime *int64 `json:"nextExecuteTime,omitempty"`
// OccurrenceTime Execution occurrence setting. Required when type is 1.
OccurrenceTime *BaseScheduleTimeOpenApiVO `json:"occurrenceTime,omitempty"`
// Status Upgrade schedule status.
Status bool `json:"status"`
// Type Type should be a value as follows: 0: execute only once; 1: repeat
Type int32 `json:"type"`
}
UpgradeScheduleOpenApiVO defines model for UpgradeScheduleOpenApiVO.
type UpgradeScheduleQueryOpenApiVO ¶
type UpgradeScheduleQueryOpenApiVO struct {
// DeviceMacs MAC address of the selected devices.
DeviceMacs []string `json:"deviceMacs"`
// Id Reboot Schedule ID.
Id *string `json:"id,omitempty"`
// Name Reboot Schedule name should contain 1 to 128 characters.
Name string `json:"name"`
// NextExecuteTime Execution timeStamp(ms). Required when type is 0.
NextExecuteTime *int64 `json:"nextExecuteTime,omitempty"`
// OccurrenceTime Execution occurrence setting. Required when type is 1.
OccurrenceTime *BaseScheduleTimeOpenApiVO `json:"occurrenceTime,omitempty"`
// Status Reboot Schedule status.
Status bool `json:"status"`
// Type Type should be a value as follows: 0: execute only once; 1: repeat
Type int32 `json:"type"`
}
UpgradeScheduleQueryOpenApiVO defines model for UpgradeScheduleQueryOpenApiVO.
type UpgradeSettingEmailReminder ¶
type UpgradeSettingEmailReminder struct {
// Enable Email Reminder switch status
Enable bool `json:"enable"`
}
UpgradeSettingEmailReminder defines model for UpgradeSettingEmailReminder.
type UpgradeSettingTryBeta ¶
type UpgradeSettingTryBeta struct {
// Enable Try beta switch status
Enable bool `json:"enable"`
}
UpgradeSettingTryBeta defines model for UpgradeSettingTryBeta.
type UpgradeSettingTryBetaChannel ¶
type UpgradeSettingTryBetaChannel struct {
// Channel Channel should be a value as follows: 0:Stable; 1:Release Candidate; 2:Beta
Channel int32 `json:"channel"`
}
UpgradeSettingTryBetaChannel defines model for UpgradeSettingTryBetaChannel.
type UpgradeSiteModelInfo ¶
type UpgradeSiteModelInfo struct {
// ModelTypeInfos List of model type selected by the user
ModelTypeInfos *[]ModelTypeInfoOpenApiVO `json:"modelTypeInfos,omitempty"`
}
UpgradeSiteModelInfo defines model for UpgradeSiteModelInfo.
type UpgradeSiteModelReqInfo ¶
type UpgradeSiteModelReqInfo struct {
// SiteIds List collection of siteID
SiteIds *[]string `json:"siteIds,omitempty"`
}
UpgradeSiteModelReqInfo defines model for UpgradeSiteModelReqInfo.
type UpgradeTask ¶
type UpgradeTask struct {
// TaskId Task ID
TaskId *string `json:"taskId,omitempty"`
}
UpgradeTask defines model for UpgradeTask.
type UplinkDevice ¶
type UplinkDevice struct {
// DeviceType The device UplinkDevice deviceType
DeviceType *int32 `json:"deviceType,omitempty"`
// IsStack Whether The device Uplink StackDevice is Stack or not
IsStack *bool `json:"isStack,omitempty"`
// Mac The device UplinkDevice mac
Mac *string `json:"mac,omitempty"`
// Model The device UplinkDevice model
Model *string `json:"model,omitempty"`
// ModelVersion The device UplinkDevice modelVersion
ModelVersion *string `json:"modelVersion,omitempty"`
// Name The device UplinkDevice name
Name *string `json:"name,omitempty"`
// Port The device Uplink Device port number
Port *string `json:"port,omitempty"`
// ShowModel The device UplinkDevice showModel
ShowModel *string `json:"showModel,omitempty"`
// StackId The device Uplink StackDevice StackId
StackId *string `json:"stackId,omitempty"`
// StackName The device Uplink StackDevice StackName
StackName *string `json:"stackName,omitempty"`
// StandardPort The device Uplink Device standardPort
StandardPort *string `json:"standardPort,omitempty"`
// Type The device UplinkDevice type.Such as: ap, switch, gateway
Type *string `json:"type,omitempty"`
// Unit The device Uplink StackDevice unit
Unit *int32 `json:"unit,omitempty"`
// UplinkPort The device UplinkDevice port
UplinkPort *string `json:"uplinkPort,omitempty"`
// UplinkType The device link type
UplinkType *int32 `json:"uplinkType,omitempty"`
}
UplinkDevice The device uplinkDevice
type UploadFirmwareResInfo ¶
type UploadFirmwareResInfo struct {
// Id The ID returned from uploading the upgrade file.
Id *string `json:"id,omitempty"`
}
UploadFirmwareResInfo defines model for UploadFirmwareResInfo.
type UploadUpgradeFileMultipartBody ¶
type UploadUpgradeFileMultipartBody struct {
// File Upload a file in request body.
File openapi_types.File `json:"file"`
}
UploadUpgradeFileMultipartBody defines parameters for UploadUpgradeFile.
type UploadUpgradeFileMultipartRequestBody ¶
type UploadUpgradeFileMultipartRequestBody UploadUpgradeFileMultipartBody
UploadUpgradeFileMultipartRequestBody defines body for UploadUpgradeFile for multipart/form-data ContentType.
type UploadUpgradeFileResponse ¶
func ParseUploadUpgradeFileResponse ¶
func ParseUploadUpgradeFileResponse(rsp *http.Response) (*UploadUpgradeFileResponse, error)
ParseUploadUpgradeFileResponse parses an HTTP response from a UploadUpgradeFileWithResponse call
func (UploadUpgradeFileResponse) ContentType ¶
func (r UploadUpgradeFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UploadUpgradeFileResponse) GetBody ¶
func (r UploadUpgradeFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UploadUpgradeFileResponse) Status ¶
func (r UploadUpgradeFileResponse) Status() string
Status returns HTTPResponse.Status
func (UploadUpgradeFileResponse) StatusCode ¶
func (r UploadUpgradeFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadUpgradeFirmwareJSONBody ¶
type UploadUpgradeFirmwareJSONBody struct {
// File Firmware file.
File *openapi_types.File `json:"file,omitempty"`
}
UploadUpgradeFirmwareJSONBody defines parameters for UploadUpgradeFirmware.
type UploadUpgradeFirmwareJSONRequestBody ¶
type UploadUpgradeFirmwareJSONRequestBody UploadUpgradeFirmwareJSONBody
UploadUpgradeFirmwareJSONRequestBody defines body for UploadUpgradeFirmware for application/json ContentType.
type UploadUpgradeFirmwareParams ¶
type UploadUpgradeFirmwareParams struct {
// Description Description of upload firmware
Description string `form:"description" json:"description"`
// ShowModel ShowModel of upload firmware, you can also get this field throw: "Get the model of the specified site"
ShowModel string `form:"showModel" json:"showModel"`
// CompoundModel CompoundModel of upload firmware, you can also get this field throw: "Get the model of the specified site"
CompoundModel string `form:"compoundModel" json:"compoundModel"`
// TargetEnable Do the sites set up specified firmware, it should be a value as follows: true, false
TargetEnable bool `form:"targetEnable" json:"targetEnable"`
// TargetSites A string of target site IDs separated by commas, exists when 'targetEnable' is true.
TargetSites *string `form:"targetSites,omitempty" json:"targetSites,omitempty"`
}
UploadUpgradeFirmwareParams defines parameters for UploadUpgradeFirmware.
type UploadUpgradeFirmwareResponse ¶
func ParseUploadUpgradeFirmwareResponse ¶
func ParseUploadUpgradeFirmwareResponse(rsp *http.Response) (*UploadUpgradeFirmwareResponse, error)
ParseUploadUpgradeFirmwareResponse parses an HTTP response from a UploadUpgradeFirmwareWithResponse call
func (UploadUpgradeFirmwareResponse) ContentType ¶
func (r UploadUpgradeFirmwareResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UploadUpgradeFirmwareResponse) GetBody ¶
func (r UploadUpgradeFirmwareResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UploadUpgradeFirmwareResponse) Status ¶
func (r UploadUpgradeFirmwareResponse) Status() string
Status returns HTTPResponse.Status
func (UploadUpgradeFirmwareResponse) StatusCode ¶
func (r UploadUpgradeFirmwareResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifyDevice ¶
type VerifyDevice struct {
// MonitorDevice The device to be verified whether it can be monitored
MonitorDevice *MonitorDevice `json:"monitorDevice,omitempty"`
}
VerifyDevice defines model for VerifyDevice.
type VerifyMonitorDeviceJSONRequestBody ¶
type VerifyMonitorDeviceJSONRequestBody = VerifyDevice
VerifyMonitorDeviceJSONRequestBody defines body for VerifyMonitorDevice for application/json ContentType.
type VerifyMonitorDeviceResponse ¶
func ParseVerifyMonitorDeviceResponse ¶
func ParseVerifyMonitorDeviceResponse(rsp *http.Response) (*VerifyMonitorDeviceResponse, error)
ParseVerifyMonitorDeviceResponse parses an HTTP response from a VerifyMonitorDeviceWithResponse call
func (VerifyMonitorDeviceResponse) ContentType ¶
func (r VerifyMonitorDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyMonitorDeviceResponse) GetBody ¶
func (r VerifyMonitorDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VerifyMonitorDeviceResponse) Status ¶
func (r VerifyMonitorDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (VerifyMonitorDeviceResponse) StatusCode ¶
func (r VerifyMonitorDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 WhiteDeviceInfoOpenApiVO ¶
type WhiteDeviceInfoOpenApiVO struct {
// HwVersion device hwVersion
HwVersion *string `json:"hwVersion,omitempty"`
// Model device model
Model *string `json:"model,omitempty"`
}
WhiteDeviceInfoOpenApiVO defines model for WhiteDeviceInfoOpenApiVO.
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