Documentation
¶
Overview ¶
Package sim 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 NewCorrectSimQuotaByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewCorrectSimQuotaByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewCorrectSimQuotaRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCorrectSimQuotaRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateMailServerByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewCreateMailServerByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewCreateMailServerRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateMailServerRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewExportSmsMessageBymacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewExportSmsMessageBymacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewExportSmsMessageBymacV2Request(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewExportSmsMessageBymacV2RequestWithBody(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewExportSmsMessageRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewExportSmsMessageRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewGetGridSimCardSmsInboxMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewGetGridSimCardSmsInboxMessageRequest(server string, omadacId string, siteId string, simCard string, ...) (*http.Request, error)
- func NewGetGridSimCardSmsOutboxMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewGetGridSimCardSmsOutboxMessageRequest(server string, omadacId string, siteId string, simCard string, ...) (*http.Request, error)
- func NewGetGridSmsInboxMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewGetGridSmsInboxMessageRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridSmsOutboxMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewGetGridSmsOutboxMessageRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetMailServerByMacRequest(server string, omadacId string, siteId string, gatewayMac string) (*http.Request, error)
- func NewGetMailServerRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetMailServerTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
- func NewGetSupportSmsByMacRequest(server string, omadacId string, siteId string, gatewayMac string) (*http.Request, error)
- func NewGetSupportSmsRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewModifyMailServerRequest(server string, omadacId string, siteId string, mailId string, ...) (*http.Request, error)
- func NewModifyMailServerRequestWithBody(server string, omadacId string, siteId string, mailId string, ...) (*http.Request, error)
- func NewModifyMailServerTemplateRequest(server string, omadacId string, siteTemplateId string, mailId string, ...) (*http.Request, error)
- func NewModifyMailServerTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, mailId string, ...) (*http.Request, error)
- func NewModifySimQuotaSettingByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewModifySimQuotaSettingByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewModifySimQuotaSettingRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewModifySimQuotaSettingRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifySmsPolicySettingByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewModifySmsPolicySettingByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewModifySmsPolicySettingRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewModifySmsPolicySettingRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifySmsPolicySettingTemplateRequest(server string, omadacId string, siteTemplateId string, ...) (*http.Request, error)
- func NewModifySmsPolicySettingTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, ...) (*http.Request, error)
- func NewModifySmsRouterCommandByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewModifySmsRouterCommandByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewModifySmsRouterCommandRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewModifySmsRouterCommandRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifySmsRouterCommandTemplateRequest(server string, omadacId string, siteTemplateId string, ...) (*http.Request, error)
- func NewModifySmsRouterCommandTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, ...) (*http.Request, error)
- func NewOperateSmsMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewOperateSmsMessageByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewOperateSmsMessageRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewOperateSmsMessageRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewQuerySimCardQuotaSettingByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewQuerySimCardQuotaSettingRequest(server string, omadacId string, siteId string, simCard string) (*http.Request, error)
- func NewQuerySimCardQuotaSettingTemplateRequest(server string, omadacId string, siteTemplateId string, simCard string) (*http.Request, error)
- func NewQuerySimQuotaSettingByMacRequest(server string, omadacId string, siteId string, gatewayMac string) (*http.Request, error)
- func NewQuerySimQuotaSettingRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewQuerySmsPolicySettingByMacRequest(server string, omadacId string, siteId string, gatewayMac string) (*http.Request, error)
- func NewQuerySmsPolicySettingRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewQuerySmsPolicySettingTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
- func NewQuerySmsRouterCommandByMacRequest(server string, omadacId string, siteId string, gatewayMac string) (*http.Request, error)
- func NewQuerySmsRouterCommandRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewQuerySmsRouterCommandTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
- func NewSendSmsMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewSendSmsMessageByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, ...) (*http.Request, error)
- func NewSendSmsMessageRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewSendSmsMessageRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- type Access
- type AccessItem
- type ApInterference
- type Client
- func (c *Client) CorrectSimQuota(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CorrectSimQuotaByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) CorrectSimQuotaByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) CorrectSimQuotaWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateMailServer(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateMailServerByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) CreateMailServerByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) CreateMailServerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ExportSmsMessage(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ExportSmsMessageBymac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ExportSmsMessageBymacV2(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ExportSmsMessageBymacV2WithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ExportSmsMessageBymacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ExportSmsMessageWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) GetGridSimCardSmsInboxMessage(ctx context.Context, omadacId string, siteId string, simCard string, ...) (*http.Response, error)
- func (c *Client) GetGridSimCardSmsInboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) GetGridSimCardSmsOutboxMessage(ctx context.Context, omadacId string, siteId string, simCard string, ...) (*http.Response, error)
- func (c *Client) GetGridSimCardSmsOutboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) GetGridSmsInboxMessage(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridSmsInboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) GetGridSmsOutboxMessage(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridSmsOutboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) GetMailServer(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetMailServerByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) GetMailServerTemplate(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) GetSupportSms(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetSupportSmsByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ModifyMailServer(ctx context.Context, omadacId string, siteId string, mailId string, ...) (*http.Response, error)
- func (c *Client) ModifyMailServerTemplate(ctx context.Context, omadacId string, siteTemplateId string, mailId string, ...) (*http.Response, error)
- func (c *Client) ModifyMailServerTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, mailId string, ...) (*http.Response, error)
- func (c *Client) ModifyMailServerWithBody(ctx context.Context, omadacId string, siteId string, mailId string, ...) (*http.Response, error)
- func (c *Client) ModifySimQuotaSetting(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ModifySimQuotaSettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ModifySimQuotaSettingByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ModifySimQuotaSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifySmsPolicySetting(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ModifySmsPolicySettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ModifySmsPolicySettingByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ModifySmsPolicySettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) ModifySmsPolicySettingTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) ModifySmsPolicySettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifySmsRouterCommand(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ModifySmsRouterCommandByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ModifySmsRouterCommandByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) ModifySmsRouterCommandTemplate(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) ModifySmsRouterCommandTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) ModifySmsRouterCommandWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) OperateSmsMessage(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) OperateSmsMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) OperateSmsMessageByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) OperateSmsMessageWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) QuerySimCardQuotaSetting(ctx context.Context, omadacId string, siteId string, simCard string, ...) (*http.Response, error)
- func (c *Client) QuerySimCardQuotaSettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) QuerySimCardQuotaSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, simCard string, ...) (*http.Response, error)
- func (c *Client) QuerySimQuotaSetting(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) QuerySimQuotaSettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) QuerySmsPolicySetting(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) QuerySmsPolicySettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) QuerySmsPolicySettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) QuerySmsRouterCommand(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) QuerySmsRouterCommandByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) QuerySmsRouterCommandTemplate(ctx context.Context, omadacId string, siteTemplateId string, ...) (*http.Response, error)
- func (c *Client) SendSmsMessage(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) SendSmsMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) SendSmsMessageByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*http.Response, error)
- func (c *Client) SendSmsMessageWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- type ClientAggHealthDTO
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CorrectSimQuotaByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*CorrectSimQuotaByMacResponse, error)
- func (c *ClientWithResponses) CorrectSimQuotaByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*CorrectSimQuotaByMacResponse, error)
- func (c *ClientWithResponses) CorrectSimQuotaWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CorrectSimQuotaResponse, error)
- func (c *ClientWithResponses) CorrectSimQuotaWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CorrectSimQuotaResponse, error)
- func (c *ClientWithResponses) CreateMailServerByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*CreateMailServerByMacResponse, error)
- func (c *ClientWithResponses) CreateMailServerByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*CreateMailServerByMacResponse, error)
- func (c *ClientWithResponses) CreateMailServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateMailServerResponse, error)
- func (c *ClientWithResponses) CreateMailServerWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateMailServerResponse, error)
- func (c *ClientWithResponses) ExportSmsMessageBymacV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*ExportSmsMessageBymacV2Response, error)
- func (c *ClientWithResponses) ExportSmsMessageBymacV2WithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*ExportSmsMessageBymacV2Response, error)
- func (c *ClientWithResponses) ExportSmsMessageBymacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*ExportSmsMessageBymacResponse, error)deprecated
- func (c *ClientWithResponses) ExportSmsMessageBymacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*ExportSmsMessageBymacResponse, error)
- func (c *ClientWithResponses) ExportSmsMessageWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ExportSmsMessageResponse, error)
- func (c *ClientWithResponses) ExportSmsMessageWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ExportSmsMessageResponse, error)
- func (c *ClientWithResponses) GetGridSimCardSmsInboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*GetGridSimCardSmsInboxMessageByMacResponse, error)
- func (c *ClientWithResponses) GetGridSimCardSmsInboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, simCard string, ...) (*GetGridSimCardSmsInboxMessageResponse, error)
- func (c *ClientWithResponses) GetGridSimCardSmsOutboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*GetGridSimCardSmsOutboxMessageByMacResponse, error)
- func (c *ClientWithResponses) GetGridSimCardSmsOutboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, simCard string, ...) (*GetGridSimCardSmsOutboxMessageResponse, error)
- func (c *ClientWithResponses) GetGridSmsInboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*GetGridSmsInboxMessageByMacResponse, error)
- func (c *ClientWithResponses) GetGridSmsInboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridSmsInboxMessageResponse, error)
- func (c *ClientWithResponses) GetGridSmsOutboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*GetGridSmsOutboxMessageByMacResponse, error)
- func (c *ClientWithResponses) GetGridSmsOutboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridSmsOutboxMessageResponse, error)
- func (c *ClientWithResponses) GetMailServerByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*GetMailServerByMacResponse, error)
- func (c *ClientWithResponses) GetMailServerTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*GetMailServerTemplateResponse, error)
- func (c *ClientWithResponses) GetMailServerWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetMailServerResponse, error)
- func (c *ClientWithResponses) GetSupportSmsByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*GetSupportSmsByMacResponse, error)
- func (c *ClientWithResponses) GetSupportSmsWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetSupportSmsResponse, error)
- func (c *ClientWithResponses) ModifyMailServerTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, mailId string, ...) (*ModifyMailServerTemplateResponse, error)
- func (c *ClientWithResponses) ModifyMailServerTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, mailId string, ...) (*ModifyMailServerTemplateResponse, error)
- func (c *ClientWithResponses) ModifyMailServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, mailId string, ...) (*ModifyMailServerResponse, error)
- func (c *ClientWithResponses) ModifyMailServerWithResponse(ctx context.Context, omadacId string, siteId string, mailId string, ...) (*ModifyMailServerResponse, error)
- func (c *ClientWithResponses) ModifySimQuotaSettingByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*ModifySimQuotaSettingByMacResponse, error)
- func (c *ClientWithResponses) ModifySimQuotaSettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*ModifySimQuotaSettingByMacResponse, error)
- func (c *ClientWithResponses) ModifySimQuotaSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ModifySimQuotaSettingResponse, error)
- func (c *ClientWithResponses) ModifySimQuotaSettingWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ModifySimQuotaSettingResponse, error)
- func (c *ClientWithResponses) ModifySmsPolicySettingByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*ModifySmsPolicySettingByMacResponse, error)
- func (c *ClientWithResponses) ModifySmsPolicySettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*ModifySmsPolicySettingByMacResponse, error)
- func (c *ClientWithResponses) ModifySmsPolicySettingTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*ModifySmsPolicySettingTemplateResponse, error)
- func (c *ClientWithResponses) ModifySmsPolicySettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*ModifySmsPolicySettingTemplateResponse, error)
- func (c *ClientWithResponses) ModifySmsPolicySettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ModifySmsPolicySettingResponse, error)
- func (c *ClientWithResponses) ModifySmsPolicySettingWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ModifySmsPolicySettingResponse, error)
- func (c *ClientWithResponses) ModifySmsRouterCommandByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*ModifySmsRouterCommandByMacResponse, error)
- func (c *ClientWithResponses) ModifySmsRouterCommandByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*ModifySmsRouterCommandByMacResponse, error)
- func (c *ClientWithResponses) ModifySmsRouterCommandTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*ModifySmsRouterCommandTemplateResponse, error)
- func (c *ClientWithResponses) ModifySmsRouterCommandTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*ModifySmsRouterCommandTemplateResponse, error)
- func (c *ClientWithResponses) ModifySmsRouterCommandWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ModifySmsRouterCommandResponse, error)
- func (c *ClientWithResponses) ModifySmsRouterCommandWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ModifySmsRouterCommandResponse, error)
- func (c *ClientWithResponses) OperateSmsMessageByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*OperateSmsMessageByMacResponse, error)
- func (c *ClientWithResponses) OperateSmsMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*OperateSmsMessageByMacResponse, error)
- func (c *ClientWithResponses) OperateSmsMessageWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*OperateSmsMessageResponse, error)
- func (c *ClientWithResponses) OperateSmsMessageWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*OperateSmsMessageResponse, error)
- func (c *ClientWithResponses) QuerySimCardQuotaSettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*QuerySimCardQuotaSettingByMacResponse, error)
- func (c *ClientWithResponses) QuerySimCardQuotaSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, simCard string, ...) (*QuerySimCardQuotaSettingTemplateResponse, error)
- func (c *ClientWithResponses) QuerySimCardQuotaSettingWithResponse(ctx context.Context, omadacId string, siteId string, simCard string, ...) (*QuerySimCardQuotaSettingResponse, error)
- func (c *ClientWithResponses) QuerySimQuotaSettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*QuerySimQuotaSettingByMacResponse, error)
- func (c *ClientWithResponses) QuerySimQuotaSettingWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*QuerySimQuotaSettingResponse, error)
- func (c *ClientWithResponses) QuerySmsPolicySettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*QuerySmsPolicySettingByMacResponse, error)
- func (c *ClientWithResponses) QuerySmsPolicySettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*QuerySmsPolicySettingTemplateResponse, error)
- func (c *ClientWithResponses) QuerySmsPolicySettingWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*QuerySmsPolicySettingResponse, error)
- func (c *ClientWithResponses) QuerySmsRouterCommandByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*QuerySmsRouterCommandByMacResponse, error)
- func (c *ClientWithResponses) QuerySmsRouterCommandTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, ...) (*QuerySmsRouterCommandTemplateResponse, error)
- func (c *ClientWithResponses) QuerySmsRouterCommandWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*QuerySmsRouterCommandResponse, error)
- func (c *ClientWithResponses) SendSmsMessageByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*SendSmsMessageByMacResponse, error)
- func (c *ClientWithResponses) SendSmsMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, ...) (*SendSmsMessageByMacResponse, error)
- func (c *ClientWithResponses) SendSmsMessageWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*SendSmsMessageResponse, error)
- func (c *ClientWithResponses) SendSmsMessageWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*SendSmsMessageResponse, error)
- type ClientWithResponsesInterface
- type ClientsQueryMacAndFilterType
- type ContentPortInfo
- type CorrectSimQuota
- type CorrectSimQuotaByMacJSONRequestBody
- type CorrectSimQuotaByMacResponse
- type CorrectSimQuotaJSONRequestBody
- type CorrectSimQuotaResponse
- type CreateMailServerByMacJSONRequestBody
- type CreateMailServerByMacResponse
- type CreateMailServerJSONRequestBody
- type CreateMailServerResponse
- type ExportMessage
- type ExportSmsMessageBymacJSONRequestBodydeprecated
- type ExportSmsMessageBymacResponse
- type ExportSmsMessageBymacV2JSONRequestBody
- type ExportSmsMessageBymacV2Response
- type ExportSmsMessageJSONRequestBody
- type ExportSmsMessageResponse
- type GetGridSimCardSmsInboxMessageByMacParams
- type GetGridSimCardSmsInboxMessageByMacResponse
- type GetGridSimCardSmsInboxMessageParams
- type GetGridSimCardSmsInboxMessageResponse
- type GetGridSimCardSmsOutboxMessageByMacParams
- type GetGridSimCardSmsOutboxMessageByMacResponse
- type GetGridSimCardSmsOutboxMessageParams
- type GetGridSimCardSmsOutboxMessageResponse
- type GetGridSmsInboxMessageByMacParams
- type GetGridSmsInboxMessageByMacResponse
- type GetGridSmsInboxMessageParams
- type GetGridSmsInboxMessageResponse
- type GetGridSmsOutboxMessageByMacParams
- type GetGridSmsOutboxMessageByMacResponse
- type GetGridSmsOutboxMessageParams
- type GetGridSmsOutboxMessageResponse
- type GetMailServerByMacResponse
- type GetMailServerResponse
- type GetMailServerTemplateResponse
- type GetSupportSmsByMacResponse
- type GetSupportSmsResponse
- type GridVOInboxMessage
- type GridVOMessage
- type HttpRequestDoer
- type InboxMessage
- type InstancesVO
- type LagCapVO
- type LanPort
- type MailServerOpenApiModifyVO
- type MailServerOpenApiVO
- type Message
- type MirroredLag
- type MirroredPort
- type ModifyMailServerJSONRequestBody
- type ModifyMailServerResponse
- type ModifyMailServerTemplateJSONRequestBody
- type ModifyMailServerTemplateResponse
- type ModifySimQuotaSettingByMacJSONRequestBody
- type ModifySimQuotaSettingByMacResponse
- type ModifySimQuotaSettingJSONRequestBody
- type ModifySimQuotaSettingResponse
- type ModifySmsPolicySettingByMacJSONRequestBody
- type ModifySmsPolicySettingByMacResponse
- type ModifySmsPolicySettingJSONRequestBody
- type ModifySmsPolicySettingResponse
- type ModifySmsPolicySettingTemplateJSONRequestBody
- type ModifySmsPolicySettingTemplateResponse
- type ModifySmsRouterCommandByMacJSONRequestBody
- type ModifySmsRouterCommandByMacResponse
- type ModifySmsRouterCommandJSONRequestBody
- type ModifySmsRouterCommandResponse
- type ModifySmsRouterCommandTemplateJSONRequestBody
- type ModifySmsRouterCommandTemplateResponse
- type MultiLinkEntryDTO
- type OnuInformationConfigDTO
- type OnuInformationConfigDTOActiveStatus
- type OnuInformationConfigDTOAdminStatus
- type OnuInformationConfigDTOConfigStatus
- type OnuInformationConfigDTOMatchStatus
- type OnuInformationConfigDTOOnlineStatus
- type OperateMessage
- type OperateSmsMessageByMacJSONRequestBody
- type OperateSmsMessageByMacResponse
- type OperateSmsMessageJSONRequestBody
- type OperateSmsMessageResponse
- type OperationResponseGridVOInboxMessage
- type OperationResponseGridVOMessage
- type OperationResponseMailServerOpenApiVO
- type OperationResponseOutboxMessageOpenApiGridVOOutboxMessage
- type OperationResponseSimQuotaSetting
- type OperationResponseSmaPolicySetting
- type OperationResponseSmsRouterCommand
- type OperationResponseSupportSmsOpenApiVO
- type OperationResponseWithoutResult
- type OswBandCtrlLimitRangeVO
- type OswBandCtrlVO
- type OswDataVO
- type OswDevCapVO
- type OswFecCapVO
- type OswLagStatusVO
- type OswLagVO
- type OswLinkCapVO
- type OswMlagPeerAllPortsConfigInfoVO
- type OswMlagPeerSettingVO
- type OswPeerPortVO
- type OswPortDhcpL2RelayVO
- type OswPortOuiBasedVlanVO
- type OswPortSpeedCapVO
- type OswPortStatusVO
- type OswPortVO
- type OswStackDataVOOswDataVO
- type OswStackDataVOSwitchDataVO
- type OswStandPortVO
- type OswStormCtrlLimitRangeVO
- type OswStormCtrlVO
- type OswUplinkVO
- type OuiBasedVlanNetworkVO
- type OutboxMessage
- type OutboxMessageOpenApiGridVOOutboxMessage
- type PartnerLinkDTO
- type PortLabelDTO
- type PortSpeedCapVO
- type PortVO
- type QuerySimCardQuotaSettingByMacResponse
- type QuerySimCardQuotaSettingResponse
- type QuerySimCardQuotaSettingTemplateResponse
- type QuerySimQuotaSettingByMacResponse
- type QuerySimQuotaSettingResponse
- type QuerySmsPolicySettingByMacResponse
- type QuerySmsPolicySettingResponse
- type QuerySmsPolicySettingTemplateResponse
- type QuerySmsRouterCommandByMacResponse
- type QuerySmsRouterCommandResponse
- type QuerySmsRouterCommandTemplateResponse
- type QuotaDataSettingOpenApiVO
- type QuotaSmsSettingOpenApiVO
- type Reboot
- type RequestEditorFn
- type SendMessage
- type SendSmsMessageByMacJSONRequestBody
- type SendSmsMessageByMacResponse
- type SendSmsMessageJSONRequestBody
- type SendSmsMessageResponse
- type SimQuotaSetting
- type SmaPolicySetting
- type SmsRouterCommand
- type SpanningTreeSettingVO
- type Status
- type StatusContent
- type SupportSmsOpenApiVO
- type SwitchDataVO
- type TopologyFilterClientCountDTO
- type TopologyOpenApiEdgeVO
- type TopologyV3OpenApiNodeVO
- type VigiWirelessUpInfoDTO
- type VrrpGroupDTO
- type VrrpLinkDTO
- type WanPort
- type WiredPortV3DTO
- type WiredUpInfoDTO
- type WirelessUpInfoDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCorrectSimQuotaByMacRequest ¶
func NewCorrectSimQuotaByMacRequest(server string, omadacId string, siteId string, gatewayMac string, body CorrectSimQuotaByMacJSONRequestBody) (*http.Request, error)
NewCorrectSimQuotaByMacRequest calls the generic CorrectSimQuotaByMac builder with application/json body
func NewCorrectSimQuotaByMacRequestWithBody ¶
func NewCorrectSimQuotaByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader) (*http.Request, error)
NewCorrectSimQuotaByMacRequestWithBody constructs an http.Request for the CorrectSimQuotaByMac method, with any body, and a specified content type
func NewCorrectSimQuotaRequest ¶
func NewCorrectSimQuotaRequest(server string, omadacId string, siteId string, body CorrectSimQuotaJSONRequestBody) (*http.Request, error)
NewCorrectSimQuotaRequest calls the generic CorrectSimQuota builder with application/json body
func NewCorrectSimQuotaRequestWithBody ¶
func NewCorrectSimQuotaRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCorrectSimQuotaRequestWithBody constructs an http.Request for the CorrectSimQuota method, with any body, and a specified content type
func NewCreateMailServerByMacRequest ¶
func NewCreateMailServerByMacRequest(server string, omadacId string, siteId string, gatewayMac string, body CreateMailServerByMacJSONRequestBody) (*http.Request, error)
NewCreateMailServerByMacRequest calls the generic CreateMailServerByMac builder with application/json body
func NewCreateMailServerByMacRequestWithBody ¶
func NewCreateMailServerByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMailServerByMacRequestWithBody constructs an http.Request for the CreateMailServerByMac method, with any body, and a specified content type
func NewCreateMailServerRequest ¶
func NewCreateMailServerRequest(server string, omadacId string, siteId string, body CreateMailServerJSONRequestBody) (*http.Request, error)
NewCreateMailServerRequest calls the generic CreateMailServer builder with application/json body
func NewCreateMailServerRequestWithBody ¶
func NewCreateMailServerRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMailServerRequestWithBody constructs an http.Request for the CreateMailServer method, with any body, and a specified content type
func NewExportSmsMessageBymacRequest ¶
func NewExportSmsMessageBymacRequest(server string, omadacId string, siteId string, gatewayMac string, body ExportSmsMessageBymacJSONRequestBody) (*http.Request, error)
NewExportSmsMessageBymacRequest calls the generic ExportSmsMessageBymac builder with application/json body
func NewExportSmsMessageBymacRequestWithBody ¶
func NewExportSmsMessageBymacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader) (*http.Request, error)
NewExportSmsMessageBymacRequestWithBody constructs an http.Request for the ExportSmsMessageBymac method, with any body, and a specified content type
func NewExportSmsMessageBymacV2Request ¶
func NewExportSmsMessageBymacV2Request(server string, omadacId string, siteId string, gatewayMac string, body ExportSmsMessageBymacV2JSONRequestBody) (*http.Request, error)
NewExportSmsMessageBymacV2Request calls the generic ExportSmsMessageBymacV2 builder with application/json body
func NewExportSmsMessageBymacV2RequestWithBody ¶
func NewExportSmsMessageBymacV2RequestWithBody(server string, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader) (*http.Request, error)
NewExportSmsMessageBymacV2RequestWithBody constructs an http.Request for the ExportSmsMessageBymacV2 method, with any body, and a specified content type
func NewExportSmsMessageRequest ¶
func NewExportSmsMessageRequest(server string, omadacId string, siteId string, body ExportSmsMessageJSONRequestBody) (*http.Request, error)
NewExportSmsMessageRequest calls the generic ExportSmsMessage builder with application/json body
func NewExportSmsMessageRequestWithBody ¶
func NewExportSmsMessageRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewExportSmsMessageRequestWithBody constructs an http.Request for the ExportSmsMessage method, with any body, and a specified content type
func NewGetGridSimCardSmsInboxMessageByMacRequest ¶
func NewGetGridSimCardSmsInboxMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, simCard string, params *GetGridSimCardSmsInboxMessageByMacParams) (*http.Request, error)
NewGetGridSimCardSmsInboxMessageByMacRequest constructs an http.Request for the GetGridSimCardSmsInboxMessageByMac method
func NewGetGridSimCardSmsInboxMessageRequest ¶
func NewGetGridSimCardSmsInboxMessageRequest(server string, omadacId string, siteId string, simCard string, params *GetGridSimCardSmsInboxMessageParams) (*http.Request, error)
NewGetGridSimCardSmsInboxMessageRequest constructs an http.Request for the GetGridSimCardSmsInboxMessage method
func NewGetGridSimCardSmsOutboxMessageByMacRequest ¶
func NewGetGridSimCardSmsOutboxMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, simCard string, params *GetGridSimCardSmsOutboxMessageByMacParams) (*http.Request, error)
NewGetGridSimCardSmsOutboxMessageByMacRequest constructs an http.Request for the GetGridSimCardSmsOutboxMessageByMac method
func NewGetGridSimCardSmsOutboxMessageRequest ¶
func NewGetGridSimCardSmsOutboxMessageRequest(server string, omadacId string, siteId string, simCard string, params *GetGridSimCardSmsOutboxMessageParams) (*http.Request, error)
NewGetGridSimCardSmsOutboxMessageRequest constructs an http.Request for the GetGridSimCardSmsOutboxMessage method
func NewGetGridSmsInboxMessageByMacRequest ¶
func NewGetGridSmsInboxMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, params *GetGridSmsInboxMessageByMacParams) (*http.Request, error)
NewGetGridSmsInboxMessageByMacRequest constructs an http.Request for the GetGridSmsInboxMessageByMac method
func NewGetGridSmsInboxMessageRequest ¶
func NewGetGridSmsInboxMessageRequest(server string, omadacId string, siteId string, params *GetGridSmsInboxMessageParams) (*http.Request, error)
NewGetGridSmsInboxMessageRequest constructs an http.Request for the GetGridSmsInboxMessage method
func NewGetGridSmsOutboxMessageByMacRequest ¶
func NewGetGridSmsOutboxMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, params *GetGridSmsOutboxMessageByMacParams) (*http.Request, error)
NewGetGridSmsOutboxMessageByMacRequest constructs an http.Request for the GetGridSmsOutboxMessageByMac method
func NewGetGridSmsOutboxMessageRequest ¶
func NewGetGridSmsOutboxMessageRequest(server string, omadacId string, siteId string, params *GetGridSmsOutboxMessageParams) (*http.Request, error)
NewGetGridSmsOutboxMessageRequest constructs an http.Request for the GetGridSmsOutboxMessage method
func NewGetMailServerByMacRequest ¶
func NewGetMailServerByMacRequest(server string, omadacId string, siteId string, gatewayMac string) (*http.Request, error)
NewGetMailServerByMacRequest constructs an http.Request for the GetMailServerByMac method
func NewGetMailServerRequest ¶
NewGetMailServerRequest constructs an http.Request for the GetMailServer method
func NewGetMailServerTemplateRequest ¶
func NewGetMailServerTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
NewGetMailServerTemplateRequest constructs an http.Request for the GetMailServerTemplate method
func NewGetSupportSmsByMacRequest ¶
func NewGetSupportSmsByMacRequest(server string, omadacId string, siteId string, gatewayMac string) (*http.Request, error)
NewGetSupportSmsByMacRequest constructs an http.Request for the GetSupportSmsByMac method
func NewGetSupportSmsRequest ¶
NewGetSupportSmsRequest constructs an http.Request for the GetSupportSms method
func NewModifyMailServerRequest ¶
func NewModifyMailServerRequest(server string, omadacId string, siteId string, mailId string, body ModifyMailServerJSONRequestBody) (*http.Request, error)
NewModifyMailServerRequest calls the generic ModifyMailServer builder with application/json body
func NewModifyMailServerRequestWithBody ¶
func NewModifyMailServerRequestWithBody(server string, omadacId string, siteId string, mailId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyMailServerRequestWithBody constructs an http.Request for the ModifyMailServer method, with any body, and a specified content type
func NewModifyMailServerTemplateRequest ¶
func NewModifyMailServerTemplateRequest(server string, omadacId string, siteTemplateId string, mailId string, body ModifyMailServerTemplateJSONRequestBody) (*http.Request, error)
NewModifyMailServerTemplateRequest calls the generic ModifyMailServerTemplate builder with application/json body
func NewModifyMailServerTemplateRequestWithBody ¶
func NewModifyMailServerTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, mailId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyMailServerTemplateRequestWithBody constructs an http.Request for the ModifyMailServerTemplate method, with any body, and a specified content type
func NewModifySimQuotaSettingByMacRequest ¶
func NewModifySimQuotaSettingByMacRequest(server string, omadacId string, siteId string, gatewayMac string, body ModifySimQuotaSettingByMacJSONRequestBody) (*http.Request, error)
NewModifySimQuotaSettingByMacRequest calls the generic ModifySimQuotaSettingByMac builder with application/json body
func NewModifySimQuotaSettingByMacRequestWithBody ¶
func NewModifySimQuotaSettingByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader) (*http.Request, error)
NewModifySimQuotaSettingByMacRequestWithBody constructs an http.Request for the ModifySimQuotaSettingByMac method, with any body, and a specified content type
func NewModifySimQuotaSettingRequest ¶
func NewModifySimQuotaSettingRequest(server string, omadacId string, siteId string, body ModifySimQuotaSettingJSONRequestBody) (*http.Request, error)
NewModifySimQuotaSettingRequest calls the generic ModifySimQuotaSetting builder with application/json body
func NewModifySimQuotaSettingRequestWithBody ¶
func NewModifySimQuotaSettingRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewModifySimQuotaSettingRequestWithBody constructs an http.Request for the ModifySimQuotaSetting method, with any body, and a specified content type
func NewModifySmsPolicySettingByMacRequest ¶
func NewModifySmsPolicySettingByMacRequest(server string, omadacId string, siteId string, gatewayMac string, body ModifySmsPolicySettingByMacJSONRequestBody) (*http.Request, error)
NewModifySmsPolicySettingByMacRequest calls the generic ModifySmsPolicySettingByMac builder with application/json body
func NewModifySmsPolicySettingByMacRequestWithBody ¶
func NewModifySmsPolicySettingByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader) (*http.Request, error)
NewModifySmsPolicySettingByMacRequestWithBody constructs an http.Request for the ModifySmsPolicySettingByMac method, with any body, and a specified content type
func NewModifySmsPolicySettingRequest ¶
func NewModifySmsPolicySettingRequest(server string, omadacId string, siteId string, body ModifySmsPolicySettingJSONRequestBody) (*http.Request, error)
NewModifySmsPolicySettingRequest calls the generic ModifySmsPolicySetting builder with application/json body
func NewModifySmsPolicySettingRequestWithBody ¶
func NewModifySmsPolicySettingRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewModifySmsPolicySettingRequestWithBody constructs an http.Request for the ModifySmsPolicySetting method, with any body, and a specified content type
func NewModifySmsPolicySettingTemplateRequest ¶
func NewModifySmsPolicySettingTemplateRequest(server string, omadacId string, siteTemplateId string, body ModifySmsPolicySettingTemplateJSONRequestBody) (*http.Request, error)
NewModifySmsPolicySettingTemplateRequest calls the generic ModifySmsPolicySettingTemplate builder with application/json body
func NewModifySmsPolicySettingTemplateRequestWithBody ¶
func NewModifySmsPolicySettingTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, body io.Reader) (*http.Request, error)
NewModifySmsPolicySettingTemplateRequestWithBody constructs an http.Request for the ModifySmsPolicySettingTemplate method, with any body, and a specified content type
func NewModifySmsRouterCommandByMacRequest ¶
func NewModifySmsRouterCommandByMacRequest(server string, omadacId string, siteId string, gatewayMac string, body ModifySmsRouterCommandByMacJSONRequestBody) (*http.Request, error)
NewModifySmsRouterCommandByMacRequest calls the generic ModifySmsRouterCommandByMac builder with application/json body
func NewModifySmsRouterCommandByMacRequestWithBody ¶
func NewModifySmsRouterCommandByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader) (*http.Request, error)
NewModifySmsRouterCommandByMacRequestWithBody constructs an http.Request for the ModifySmsRouterCommandByMac method, with any body, and a specified content type
func NewModifySmsRouterCommandRequest ¶
func NewModifySmsRouterCommandRequest(server string, omadacId string, siteId string, body ModifySmsRouterCommandJSONRequestBody) (*http.Request, error)
NewModifySmsRouterCommandRequest calls the generic ModifySmsRouterCommand builder with application/json body
func NewModifySmsRouterCommandRequestWithBody ¶
func NewModifySmsRouterCommandRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewModifySmsRouterCommandRequestWithBody constructs an http.Request for the ModifySmsRouterCommand method, with any body, and a specified content type
func NewModifySmsRouterCommandTemplateRequest ¶
func NewModifySmsRouterCommandTemplateRequest(server string, omadacId string, siteTemplateId string, body ModifySmsRouterCommandTemplateJSONRequestBody) (*http.Request, error)
NewModifySmsRouterCommandTemplateRequest calls the generic ModifySmsRouterCommandTemplate builder with application/json body
func NewModifySmsRouterCommandTemplateRequestWithBody ¶
func NewModifySmsRouterCommandTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, body io.Reader) (*http.Request, error)
NewModifySmsRouterCommandTemplateRequestWithBody constructs an http.Request for the ModifySmsRouterCommandTemplate method, with any body, and a specified content type
func NewOperateSmsMessageByMacRequest ¶
func NewOperateSmsMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, body OperateSmsMessageByMacJSONRequestBody) (*http.Request, error)
NewOperateSmsMessageByMacRequest calls the generic OperateSmsMessageByMac builder with application/json body
func NewOperateSmsMessageByMacRequestWithBody ¶
func NewOperateSmsMessageByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader) (*http.Request, error)
NewOperateSmsMessageByMacRequestWithBody constructs an http.Request for the OperateSmsMessageByMac method, with any body, and a specified content type
func NewOperateSmsMessageRequest ¶
func NewOperateSmsMessageRequest(server string, omadacId string, siteId string, body OperateSmsMessageJSONRequestBody) (*http.Request, error)
NewOperateSmsMessageRequest calls the generic OperateSmsMessage builder with application/json body
func NewOperateSmsMessageRequestWithBody ¶
func NewOperateSmsMessageRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewOperateSmsMessageRequestWithBody constructs an http.Request for the OperateSmsMessage method, with any body, and a specified content type
func NewQuerySimCardQuotaSettingByMacRequest ¶
func NewQuerySimCardQuotaSettingByMacRequest(server string, omadacId string, siteId string, gatewayMac string, simCard string) (*http.Request, error)
NewQuerySimCardQuotaSettingByMacRequest constructs an http.Request for the QuerySimCardQuotaSettingByMac method
func NewQuerySimCardQuotaSettingRequest ¶
func NewQuerySimCardQuotaSettingRequest(server string, omadacId string, siteId string, simCard string) (*http.Request, error)
NewQuerySimCardQuotaSettingRequest constructs an http.Request for the QuerySimCardQuotaSetting method
func NewQuerySimCardQuotaSettingTemplateRequest ¶
func NewQuerySimCardQuotaSettingTemplateRequest(server string, omadacId string, siteTemplateId string, simCard string) (*http.Request, error)
NewQuerySimCardQuotaSettingTemplateRequest constructs an http.Request for the QuerySimCardQuotaSettingTemplate method
func NewQuerySimQuotaSettingByMacRequest ¶
func NewQuerySimQuotaSettingByMacRequest(server string, omadacId string, siteId string, gatewayMac string) (*http.Request, error)
NewQuerySimQuotaSettingByMacRequest constructs an http.Request for the QuerySimQuotaSettingByMac method
func NewQuerySimQuotaSettingRequest ¶
func NewQuerySimQuotaSettingRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewQuerySimQuotaSettingRequest constructs an http.Request for the QuerySimQuotaSetting method
func NewQuerySmsPolicySettingByMacRequest ¶
func NewQuerySmsPolicySettingByMacRequest(server string, omadacId string, siteId string, gatewayMac string) (*http.Request, error)
NewQuerySmsPolicySettingByMacRequest constructs an http.Request for the QuerySmsPolicySettingByMac method
func NewQuerySmsPolicySettingRequest ¶
func NewQuerySmsPolicySettingRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewQuerySmsPolicySettingRequest constructs an http.Request for the QuerySmsPolicySetting method
func NewQuerySmsPolicySettingTemplateRequest ¶
func NewQuerySmsPolicySettingTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
NewQuerySmsPolicySettingTemplateRequest constructs an http.Request for the QuerySmsPolicySettingTemplate method
func NewQuerySmsRouterCommandByMacRequest ¶
func NewQuerySmsRouterCommandByMacRequest(server string, omadacId string, siteId string, gatewayMac string) (*http.Request, error)
NewQuerySmsRouterCommandByMacRequest constructs an http.Request for the QuerySmsRouterCommandByMac method
func NewQuerySmsRouterCommandRequest ¶
func NewQuerySmsRouterCommandRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewQuerySmsRouterCommandRequest constructs an http.Request for the QuerySmsRouterCommand method
func NewQuerySmsRouterCommandTemplateRequest ¶
func NewQuerySmsRouterCommandTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)
NewQuerySmsRouterCommandTemplateRequest constructs an http.Request for the QuerySmsRouterCommandTemplate method
func NewSendSmsMessageByMacRequest ¶
func NewSendSmsMessageByMacRequest(server string, omadacId string, siteId string, gatewayMac string, body SendSmsMessageByMacJSONRequestBody) (*http.Request, error)
NewSendSmsMessageByMacRequest calls the generic SendSmsMessageByMac builder with application/json body
func NewSendSmsMessageByMacRequestWithBody ¶
func NewSendSmsMessageByMacRequestWithBody(server string, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader) (*http.Request, error)
NewSendSmsMessageByMacRequestWithBody constructs an http.Request for the SendSmsMessageByMac method, with any body, and a specified content type
func NewSendSmsMessageRequest ¶
func NewSendSmsMessageRequest(server string, omadacId string, siteId string, body SendSmsMessageJSONRequestBody) (*http.Request, error)
NewSendSmsMessageRequest calls the generic SendSmsMessage builder with application/json body
func NewSendSmsMessageRequestWithBody ¶
func NewSendSmsMessageRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewSendSmsMessageRequestWithBody constructs an http.Request for the SendSmsMessage method, with any body, and a specified content type
Types ¶
type Access ¶
type Access struct {
Accesses *[]AccessItem `json:"accesses,omitempty"`
}
Access defines model for Access.
type AccessItem ¶
type AccessItem struct {
// CallingCode Calling code should contain 2 to 5 characters. Calling code must be entered when entering the country code. For the values of Calling code, refer to section 5.4.1 of the Open API Access Guide.
CallingCode *string `json:"callingCode,omitempty"`
// CountryCode Country code should contain 2 characters. Country code must be entered when entering the calling code. For the values of Country code, refer to section 5.4.1 of the Open API Access Guide.
CountryCode *string `json:"countryCode,omitempty"`
// Phone Allowed phone numbers.
Phone string `json:"phone"`
}
AccessItem defines model for AccessItem.
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 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) CorrectSimQuota ¶
func (c *Client) CorrectSimQuota(ctx context.Context, omadacId string, siteId string, body CorrectSimQuotaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CorrectSimQuota Correct SIM data
Correct SIM data.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/correct (the `CorrectSimQuota` operationId).
func (*Client) CorrectSimQuotaByMac ¶
func (c *Client) CorrectSimQuotaByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body CorrectSimQuotaByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CorrectSimQuotaByMac Correct SIM data
Correct SIM data.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/correct (the `CorrectSimQuotaByMac` operationId).
func (*Client) CorrectSimQuotaByMacWithBody ¶
func (c *Client) CorrectSimQuotaByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CorrectSimQuotaByMacWithBody Correct SIM data
Correct SIM data.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/correct (the `CorrectSimQuotaByMac` operationId).
func (*Client) CorrectSimQuotaWithBody ¶
func (c *Client) CorrectSimQuotaWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CorrectSimQuotaWithBody Correct SIM data
Correct SIM data.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/correct (the `CorrectSimQuota` operationId).
func (*Client) CreateMailServer ¶
func (c *Client) CreateMailServer(ctx context.Context, omadacId string, siteId string, body CreateMailServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMailServer Create mail server
Create mail server.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/setting/mails (the `CreateMailServer` operationId).
func (*Client) CreateMailServerByMac ¶
func (c *Client) CreateMailServerByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body CreateMailServerByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMailServerByMac Create mail server by mac
Create mail server by mac.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/mails (the `CreateMailServerByMac` operationId).
func (*Client) CreateMailServerByMacWithBody ¶
func (c *Client) CreateMailServerByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMailServerByMacWithBody Create mail server by mac
Create mail server by mac.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/mails (the `CreateMailServerByMac` operationId).
func (*Client) CreateMailServerWithBody ¶
func (c *Client) CreateMailServerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMailServerWithBody Create mail server
Create mail server.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/setting/mails (the `CreateMailServer` operationId).
func (*Client) ExportSmsMessage ¶
func (c *Client) ExportSmsMessage(ctx context.Context, omadacId string, siteId string, body ExportSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportSmsMessage Export SMS message
Export SMS message.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/export (the `ExportSmsMessage` operationId).
func (*Client) ExportSmsMessageBymac ¶
func (c *Client) ExportSmsMessageBymac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ExportSmsMessageBymacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportSmsMessageBymac Export SMS message by mac
Export SMS message by mac.This interface has been deprecated. Please use the following interfaces instead: Export SMS message by mac V2.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymac` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ExportSmsMessageBymacV2 ¶
func (c *Client) ExportSmsMessageBymacV2(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ExportSmsMessageBymacV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportSmsMessageBymacV2 Export SMS message by mac V2
Export SMS message by mac.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v2/{omadacId}/files/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymacV2` operationId).
func (*Client) ExportSmsMessageBymacV2WithBody ¶
func (c *Client) ExportSmsMessageBymacV2WithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportSmsMessageBymacV2WithBody Export SMS message by mac V2
Export SMS message by mac.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v2/{omadacId}/files/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymacV2` operationId).
func (*Client) ExportSmsMessageBymacWithBody ¶
func (c *Client) ExportSmsMessageBymacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportSmsMessageBymacWithBody Export SMS message by mac
Export SMS message by mac.This interface has been deprecated. Please use the following interfaces instead: Export SMS message by mac V2.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymac` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ExportSmsMessageWithBody ¶
func (c *Client) ExportSmsMessageWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportSmsMessageWithBody Export SMS message
Export SMS message.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/export (the `ExportSmsMessage` operationId).
func (*Client) GetGridSimCardSmsInboxMessage ¶
func (c *Client) GetGridSimCardSmsInboxMessage(ctx context.Context, omadacId string, siteId string, simCard string, params *GetGridSimCardSmsInboxMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSimCardSmsInboxMessage Get one of Dual-SIM card's SMS inbox message
Get SMS inbox message.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/inbox/{simCard} (the `GetGridSimCardSmsInboxMessage` operationId).
func (*Client) GetGridSimCardSmsInboxMessageByMac ¶
func (c *Client) GetGridSimCardSmsInboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, params *GetGridSimCardSmsInboxMessageByMacParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSimCardSmsInboxMessageByMac Get one of Dual-SIM card's SMS inbox message by mac
Get SMS inbox message by mac.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/inbox/{simCard} (the `GetGridSimCardSmsInboxMessageByMac` operationId).
func (*Client) GetGridSimCardSmsOutboxMessage ¶
func (c *Client) GetGridSimCardSmsOutboxMessage(ctx context.Context, omadacId string, siteId string, simCard string, params *GetGridSimCardSmsOutboxMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSimCardSmsOutboxMessage Get one of Dual-SIM card's SMS outbox message
Get SMS outbox message.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/outbox/{simCard} (the `GetGridSimCardSmsOutboxMessage` operationId).
func (*Client) GetGridSimCardSmsOutboxMessageByMac ¶
func (c *Client) GetGridSimCardSmsOutboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, params *GetGridSimCardSmsOutboxMessageByMacParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSimCardSmsOutboxMessageByMac Get one of Dual-SIM card's SMS outbox message by mac
Get SMS outbox message by mac.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/outbox/{simCard} (the `GetGridSimCardSmsOutboxMessageByMac` operationId).
func (*Client) GetGridSmsInboxMessage ¶
func (c *Client) GetGridSmsInboxMessage(ctx context.Context, omadacId string, siteId string, params *GetGridSmsInboxMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSmsInboxMessage Get SMS inbox message
Get SMS inbox message.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/inbox (the `GetGridSmsInboxMessage` operationId).
func (*Client) GetGridSmsInboxMessageByMac ¶
func (c *Client) GetGridSmsInboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, params *GetGridSmsInboxMessageByMacParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSmsInboxMessageByMac Get SMS inbox message by mac
Get SMS inbox message by mac.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/inbox (the `GetGridSmsInboxMessageByMac` operationId).
func (*Client) GetGridSmsOutboxMessage ¶
func (c *Client) GetGridSmsOutboxMessage(ctx context.Context, omadacId string, siteId string, params *GetGridSmsOutboxMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSmsOutboxMessage Get SMS outbox message
Get SMS outbox message.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/outbox (the `GetGridSmsOutboxMessage` operationId).
func (*Client) GetGridSmsOutboxMessageByMac ¶
func (c *Client) GetGridSmsOutboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, params *GetGridSmsOutboxMessageByMacParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSmsOutboxMessageByMac Get SMS outbox message by mac
Get SMS outbox message by mac.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/outbox (the `GetGridSmsOutboxMessageByMac` operationId).
func (*Client) GetMailServer ¶
func (c *Client) GetMailServer(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMailServer Get mail server
Get mail server.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/setting/mails (the `GetMailServer` operationId).
func (*Client) GetMailServerByMac ¶
func (c *Client) GetMailServerByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMailServerByMac Get mail server by mac
Get mail server by mac.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/mails (the `GetMailServerByMac` operationId).
func (*Client) GetMailServerTemplate ¶
func (c *Client) GetMailServerTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMailServerTemplate get mail server
get mail server.
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails (the `GetMailServerTemplate` operationId).
func (*Client) GetSupportSms ¶
func (c *Client) GetSupportSms(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSupportSms Get support SMS
Get SIM card whether supports SMS.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/support (the `GetSupportSms` operationId).
func (*Client) GetSupportSmsByMac ¶
func (c *Client) GetSupportSmsByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSupportSmsByMac Get support SMS
Get SIM card whether supports SMS.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/support (the `GetSupportSmsByMac` operationId).
func (*Client) ModifyMailServer ¶
func (c *Client) ModifyMailServer(ctx context.Context, omadacId string, siteId string, mailId string, body ModifyMailServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyMailServer Modify mail server
Modify mail server.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/setting/mails/{mailId} (the `ModifyMailServer` operationId).
func (*Client) ModifyMailServerTemplate ¶
func (c *Client) ModifyMailServerTemplate(ctx context.Context, omadacId string, siteTemplateId string, mailId string, body ModifyMailServerTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyMailServerTemplate modify mail server
modify mail server.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails/{mailId} (the `ModifyMailServerTemplate` operationId).
func (*Client) ModifyMailServerTemplateWithBody ¶
func (c *Client) ModifyMailServerTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, mailId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyMailServerTemplateWithBody modify mail server
modify mail server.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails/{mailId} (the `ModifyMailServerTemplate` operationId).
func (*Client) ModifyMailServerWithBody ¶
func (c *Client) ModifyMailServerWithBody(ctx context.Context, omadacId string, siteId string, mailId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyMailServerWithBody Modify mail server
Modify mail server.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/setting/mails/{mailId} (the `ModifyMailServer` operationId).
func (*Client) ModifySimQuotaSetting ¶
func (c *Client) ModifySimQuotaSetting(ctx context.Context, omadacId string, siteId string, body ModifySimQuotaSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySimQuotaSetting Modify SIM data setting
Modify SIM data setting.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/quota (the `ModifySimQuotaSetting` operationId).
func (*Client) ModifySimQuotaSettingByMac ¶
func (c *Client) ModifySimQuotaSettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySimQuotaSettingByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySimQuotaSettingByMac Modify SIM data setting by mac
Modify SIM data setting by mac.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota (the `ModifySimQuotaSettingByMac` operationId).
func (*Client) ModifySimQuotaSettingByMacWithBody ¶
func (c *Client) ModifySimQuotaSettingByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySimQuotaSettingByMacWithBody Modify SIM data setting by mac
Modify SIM data setting by mac.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota (the `ModifySimQuotaSettingByMac` operationId).
func (*Client) ModifySimQuotaSettingWithBody ¶
func (c *Client) ModifySimQuotaSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySimQuotaSettingWithBody Modify SIM data setting
Modify SIM data setting.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/quota (the `ModifySimQuotaSetting` operationId).
func (*Client) ModifySmsPolicySetting ¶
func (c *Client) ModifySmsPolicySetting(ctx context.Context, omadacId string, siteId string, body ModifySmsPolicySettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsPolicySetting Modify SMS policy setting
Modify SMS policy setting.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/policy (the `ModifySmsPolicySetting` operationId).
func (*Client) ModifySmsPolicySettingByMac ¶
func (c *Client) ModifySmsPolicySettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySmsPolicySettingByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsPolicySettingByMac Modify SMS policy setting
Modify SMS policy setting.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `ModifySmsPolicySettingByMac` operationId).
func (*Client) ModifySmsPolicySettingByMacWithBody ¶
func (c *Client) ModifySmsPolicySettingByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsPolicySettingByMacWithBody Modify SMS policy setting
Modify SMS policy setting.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `ModifySmsPolicySettingByMac` operationId).
func (*Client) ModifySmsPolicySettingTemplate ¶
func (c *Client) ModifySmsPolicySettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, body ModifySmsPolicySettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsPolicySettingTemplate Modify SMS policy setting template
Modify SMS policy setting template.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `ModifySmsPolicySettingTemplate` operationId).
func (*Client) ModifySmsPolicySettingTemplateWithBody ¶
func (c *Client) ModifySmsPolicySettingTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsPolicySettingTemplateWithBody Modify SMS policy setting template
Modify SMS policy setting template.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `ModifySmsPolicySettingTemplate` operationId).
func (*Client) ModifySmsPolicySettingWithBody ¶
func (c *Client) ModifySmsPolicySettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsPolicySettingWithBody Modify SMS policy setting
Modify SMS policy setting.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/policy (the `ModifySmsPolicySetting` operationId).
func (*Client) ModifySmsRouterCommand ¶
func (c *Client) ModifySmsRouterCommand(ctx context.Context, omadacId string, siteId string, body ModifySmsRouterCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsRouterCommand Modify SMS router command
Modify SMS router command.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/router-command (the `ModifySmsRouterCommand` operationId).
func (*Client) ModifySmsRouterCommandByMac ¶
func (c *Client) ModifySmsRouterCommandByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySmsRouterCommandByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsRouterCommandByMac Modify SMS router command by mac
Modify SMS router command by mac.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/router-command (the `ModifySmsRouterCommandByMac` operationId).
func (*Client) ModifySmsRouterCommandByMacWithBody ¶
func (c *Client) ModifySmsRouterCommandByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsRouterCommandByMacWithBody Modify SMS router command by mac
Modify SMS router command by mac.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/router-command (the `ModifySmsRouterCommandByMac` operationId).
func (*Client) ModifySmsRouterCommandTemplate ¶
func (c *Client) ModifySmsRouterCommandTemplate(ctx context.Context, omadacId string, siteTemplateId string, body ModifySmsRouterCommandTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsRouterCommandTemplate Modify SMS router command template
Modify SMS router command template.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `ModifySmsRouterCommandTemplate` operationId).
func (*Client) ModifySmsRouterCommandTemplateWithBody ¶
func (c *Client) ModifySmsRouterCommandTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsRouterCommandTemplateWithBody Modify SMS router command template
Modify SMS router command template.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `ModifySmsRouterCommandTemplate` operationId).
func (*Client) ModifySmsRouterCommandWithBody ¶
func (c *Client) ModifySmsRouterCommandWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySmsRouterCommandWithBody Modify SMS router command
Modify SMS router command.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/router-command (the `ModifySmsRouterCommand` operationId).
func (*Client) OperateSmsMessage ¶
func (c *Client) OperateSmsMessage(ctx context.Context, omadacId string, siteId string, body OperateSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OperateSmsMessage Operate SMS message
Operate SMS message.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/operate (the `OperateSmsMessage` operationId).
func (*Client) OperateSmsMessageByMac ¶
func (c *Client) OperateSmsMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body OperateSmsMessageByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OperateSmsMessageByMac Operate SMS message by mac
Operate SMS message by mac.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/operate (the `OperateSmsMessageByMac` operationId).
func (*Client) OperateSmsMessageByMacWithBody ¶
func (c *Client) OperateSmsMessageByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OperateSmsMessageByMacWithBody Operate SMS message by mac
Operate SMS message by mac.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/operate (the `OperateSmsMessageByMac` operationId).
func (*Client) OperateSmsMessageWithBody ¶
func (c *Client) OperateSmsMessageWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OperateSmsMessageWithBody Operate SMS message
Operate SMS message.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/operate (the `OperateSmsMessage` operationId).
func (*Client) QuerySimCardQuotaSetting ¶
func (c *Client) QuerySimCardQuotaSetting(ctx context.Context, omadacId string, siteId string, simCard string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySimCardQuotaSetting Get one of Dual-SIM card's SIM data setting
Get SIM data setting.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/quota/{simCard} (the `QuerySimCardQuotaSetting` operationId).
func (*Client) QuerySimCardQuotaSettingByMac ¶
func (c *Client) QuerySimCardQuotaSettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySimCardQuotaSettingByMac Get one of Dual-SIM card's SIM data setting by mac
Get SIM data setting by mac.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota/{simCard} (the `QuerySimCardQuotaSettingByMac` operationId).
func (*Client) QuerySimCardQuotaSettingTemplate ¶
func (c *Client) QuerySimCardQuotaSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, simCard string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySimCardQuotaSettingTemplate Get one of Dual-SIM card's SIM data setting template
Get SIM data setting template.
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/quota/{simCard} (the `QuerySimCardQuotaSettingTemplate` operationId).
func (*Client) QuerySimQuotaSetting ¶
func (c *Client) QuerySimQuotaSetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySimQuotaSetting Get SIM data setting
Get SIM data setting.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/quota (the `QuerySimQuotaSetting` operationId).
func (*Client) QuerySimQuotaSettingByMac ¶
func (c *Client) QuerySimQuotaSettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySimQuotaSettingByMac Get SIM data setting by mac
Get SIM data setting by mac.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota (the `QuerySimQuotaSettingByMac` operationId).
func (*Client) QuerySmsPolicySetting ¶
func (c *Client) QuerySmsPolicySetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySmsPolicySetting Query SMS policy setting
Query SMS policy setting.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/policy (the `QuerySmsPolicySetting` operationId).
func (*Client) QuerySmsPolicySettingByMac ¶
func (c *Client) QuerySmsPolicySettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySmsPolicySettingByMac Query SMS policy setting by mac
Query SMS policy setting by mac.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `QuerySmsPolicySettingByMac` operationId).
func (*Client) QuerySmsPolicySettingTemplate ¶
func (c *Client) QuerySmsPolicySettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySmsPolicySettingTemplate Query SMS policy setting template
Query SMS policy setting template.
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `QuerySmsPolicySettingTemplate` operationId).
func (*Client) QuerySmsRouterCommand ¶
func (c *Client) QuerySmsRouterCommand(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySmsRouterCommand Query SMS router command
Query SMS router command.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/router-command (the `QuerySmsRouterCommand` operationId).
func (*Client) QuerySmsRouterCommandByMac ¶
func (c *Client) QuerySmsRouterCommandByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySmsRouterCommandByMac Query SMS router command by mac
Query SMS router command by mac.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/router-command (the `QuerySmsRouterCommandByMac` operationId).
func (*Client) QuerySmsRouterCommandTemplate ¶
func (c *Client) QuerySmsRouterCommandTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
QuerySmsRouterCommandTemplate Query SMS router command template
Query SMS router command template.
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `QuerySmsRouterCommandTemplate` operationId).
func (*Client) SendSmsMessage ¶
func (c *Client) SendSmsMessage(ctx context.Context, omadacId string, siteId string, body SendSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SendSmsMessage Send SMS message
Send SMS message.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/send (the `SendSmsMessage` operationId).
func (*Client) SendSmsMessageByMac ¶
func (c *Client) SendSmsMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body SendSmsMessageByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SendSmsMessageByMac Send SMS message
Send SMS message.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/send (the `SendSmsMessageByMac` operationId).
func (*Client) SendSmsMessageByMacWithBody ¶
func (c *Client) SendSmsMessageByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendSmsMessageByMacWithBody Send SMS message
Send SMS message.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/send (the `SendSmsMessageByMac` operationId).
func (*Client) SendSmsMessageWithBody ¶
func (c *Client) SendSmsMessageWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendSmsMessageWithBody Send SMS message
Send SMS message.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/send (the `SendSmsMessage` 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 {
// GetMailServerByMac Get mail server by mac
//
// Get mail server by mac.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/mails (the `GetMailServerByMac` operationId).
GetMailServerByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMailServerByMacWithBody Create mail server by mac
//
// Create mail server by mac.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/mails (the `CreateMailServerByMac` operationId).
CreateMailServerByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMailServerByMac Create mail server by mac
//
// Create mail server by mac.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/mails (the `CreateMailServerByMac` operationId).
CreateMailServerByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body CreateMailServerByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CorrectSimQuotaByMacWithBody Correct SIM data
//
// Correct SIM data.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/correct (the `CorrectSimQuotaByMac` operationId).
CorrectSimQuotaByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CorrectSimQuotaByMac Correct SIM data
//
// Correct SIM data.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/correct (the `CorrectSimQuotaByMac` operationId).
CorrectSimQuotaByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body CorrectSimQuotaByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySimQuotaSettingByMac Get SIM data setting by mac
//
// Get SIM data setting by mac.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota (the `QuerySimQuotaSettingByMac` operationId).
QuerySimQuotaSettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySimQuotaSettingByMacWithBody Modify SIM data setting by mac
//
// Modify SIM data setting by mac.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota (the `ModifySimQuotaSettingByMac` operationId).
ModifySimQuotaSettingByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySimQuotaSettingByMac Modify SIM data setting by mac
//
// Modify SIM data setting by mac.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota (the `ModifySimQuotaSettingByMac` operationId).
ModifySimQuotaSettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySimQuotaSettingByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySimCardQuotaSettingByMac Get one of Dual-SIM card's SIM data setting by mac
//
// Get SIM data setting by mac.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota/{simCard} (the `QuerySimCardQuotaSettingByMac` operationId).
QuerySimCardQuotaSettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportSmsMessageBymacWithBody Export SMS message by mac
//
// Export SMS message by mac.This interface has been deprecated. Please use the following interfaces instead: Export SMS message by mac V2.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymac` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExportSmsMessageBymacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportSmsMessageBymac Export SMS message by mac
//
// Export SMS message by mac.This interface has been deprecated. Please use the following interfaces instead: Export SMS message by mac V2.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymac` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExportSmsMessageBymac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ExportSmsMessageBymacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSmsInboxMessageByMac Get SMS inbox message by mac
//
// Get SMS inbox message by mac.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/inbox (the `GetGridSmsInboxMessageByMac` operationId).
GetGridSmsInboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, params *GetGridSmsInboxMessageByMacParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSimCardSmsInboxMessageByMac Get one of Dual-SIM card's SMS inbox message by mac
//
// Get SMS inbox message by mac.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/inbox/{simCard} (the `GetGridSimCardSmsInboxMessageByMac` operationId).
GetGridSimCardSmsInboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, params *GetGridSimCardSmsInboxMessageByMacParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// OperateSmsMessageByMacWithBody Operate SMS message by mac
//
// Operate SMS message by mac.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/operate (the `OperateSmsMessageByMac` operationId).
OperateSmsMessageByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OperateSmsMessageByMac Operate SMS message by mac
//
// Operate SMS message by mac.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/operate (the `OperateSmsMessageByMac` operationId).
OperateSmsMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body OperateSmsMessageByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSmsOutboxMessageByMac Get SMS outbox message by mac
//
// Get SMS outbox message by mac.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/outbox (the `GetGridSmsOutboxMessageByMac` operationId).
GetGridSmsOutboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, params *GetGridSmsOutboxMessageByMacParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSimCardSmsOutboxMessageByMac Get one of Dual-SIM card's SMS outbox message by mac
//
// Get SMS outbox message by mac.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/outbox/{simCard} (the `GetGridSimCardSmsOutboxMessageByMac` operationId).
GetGridSimCardSmsOutboxMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, params *GetGridSimCardSmsOutboxMessageByMacParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySmsPolicySettingByMac Query SMS policy setting by mac
//
// Query SMS policy setting by mac.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `QuerySmsPolicySettingByMac` operationId).
QuerySmsPolicySettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsPolicySettingByMacWithBody Modify SMS policy setting
//
// Modify SMS policy setting.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `ModifySmsPolicySettingByMac` operationId).
ModifySmsPolicySettingByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsPolicySettingByMac Modify SMS policy setting
//
// Modify SMS policy setting.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `ModifySmsPolicySettingByMac` operationId).
ModifySmsPolicySettingByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySmsPolicySettingByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySmsRouterCommandByMac Query SMS router command by mac
//
// Query SMS router command by mac.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/router-command (the `QuerySmsRouterCommandByMac` operationId).
QuerySmsRouterCommandByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsRouterCommandByMacWithBody Modify SMS router command by mac
//
// Modify SMS router command by mac.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/router-command (the `ModifySmsRouterCommandByMac` operationId).
ModifySmsRouterCommandByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsRouterCommandByMac Modify SMS router command by mac
//
// Modify SMS router command by mac.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/router-command (the `ModifySmsRouterCommandByMac` operationId).
ModifySmsRouterCommandByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySmsRouterCommandByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendSmsMessageByMacWithBody Send SMS message
//
// Send SMS message.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/send (the `SendSmsMessageByMac` operationId).
SendSmsMessageByMacWithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendSmsMessageByMac Send SMS message
//
// Send SMS message.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/send (the `SendSmsMessageByMac` operationId).
SendSmsMessageByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, body SendSmsMessageByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSupportSmsByMac Get support SMS
//
// Get SIM card whether supports SMS.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/support (the `GetSupportSmsByMac` operationId).
GetSupportSmsByMac(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMailServer Get mail server
//
// Get mail server.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/setting/mails (the `GetMailServer` operationId).
GetMailServer(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMailServerWithBody Create mail server
//
// Create mail server.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/setting/mails (the `CreateMailServer` operationId).
CreateMailServerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMailServer Create mail server
//
// Create mail server.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/setting/mails (the `CreateMailServer` operationId).
CreateMailServer(ctx context.Context, omadacId string, siteId string, body CreateMailServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyMailServerWithBody Modify mail server
//
// Modify mail server.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/setting/mails/{mailId} (the `ModifyMailServer` operationId).
ModifyMailServerWithBody(ctx context.Context, omadacId string, siteId string, mailId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyMailServer Modify mail server
//
// Modify mail server.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/setting/mails/{mailId} (the `ModifyMailServer` operationId).
ModifyMailServer(ctx context.Context, omadacId string, siteId string, mailId string, body ModifyMailServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CorrectSimQuotaWithBody Correct SIM data
//
// Correct SIM data.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/correct (the `CorrectSimQuota` operationId).
CorrectSimQuotaWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CorrectSimQuota Correct SIM data
//
// Correct SIM data.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/correct (the `CorrectSimQuota` operationId).
CorrectSimQuota(ctx context.Context, omadacId string, siteId string, body CorrectSimQuotaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySimQuotaSetting Get SIM data setting
//
// Get SIM data setting.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/quota (the `QuerySimQuotaSetting` operationId).
QuerySimQuotaSetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySimQuotaSettingWithBody Modify SIM data setting
//
// Modify SIM data setting.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/quota (the `ModifySimQuotaSetting` operationId).
ModifySimQuotaSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySimQuotaSetting Modify SIM data setting
//
// Modify SIM data setting.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/quota (the `ModifySimQuotaSetting` operationId).
ModifySimQuotaSetting(ctx context.Context, omadacId string, siteId string, body ModifySimQuotaSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySimCardQuotaSetting Get one of Dual-SIM card's SIM data setting
//
// Get SIM data setting.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/quota/{simCard} (the `QuerySimCardQuotaSetting` operationId).
QuerySimCardQuotaSetting(ctx context.Context, omadacId string, siteId string, simCard string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportSmsMessageWithBody Export SMS message
//
// Export SMS message.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/export (the `ExportSmsMessage` operationId).
ExportSmsMessageWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportSmsMessage Export SMS message
//
// Export SMS message.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/export (the `ExportSmsMessage` operationId).
ExportSmsMessage(ctx context.Context, omadacId string, siteId string, body ExportSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSmsInboxMessage Get SMS inbox message
//
// Get SMS inbox message.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/inbox (the `GetGridSmsInboxMessage` operationId).
GetGridSmsInboxMessage(ctx context.Context, omadacId string, siteId string, params *GetGridSmsInboxMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSimCardSmsInboxMessage Get one of Dual-SIM card's SMS inbox message
//
// Get SMS inbox message.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/inbox/{simCard} (the `GetGridSimCardSmsInboxMessage` operationId).
GetGridSimCardSmsInboxMessage(ctx context.Context, omadacId string, siteId string, simCard string, params *GetGridSimCardSmsInboxMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// OperateSmsMessageWithBody Operate SMS message
//
// Operate SMS message.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/operate (the `OperateSmsMessage` operationId).
OperateSmsMessageWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OperateSmsMessage Operate SMS message
//
// Operate SMS message.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/operate (the `OperateSmsMessage` operationId).
OperateSmsMessage(ctx context.Context, omadacId string, siteId string, body OperateSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSmsOutboxMessage Get SMS outbox message
//
// Get SMS outbox message.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/outbox (the `GetGridSmsOutboxMessage` operationId).
GetGridSmsOutboxMessage(ctx context.Context, omadacId string, siteId string, params *GetGridSmsOutboxMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSimCardSmsOutboxMessage Get one of Dual-SIM card's SMS outbox message
//
// Get SMS outbox message.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/outbox/{simCard} (the `GetGridSimCardSmsOutboxMessage` operationId).
GetGridSimCardSmsOutboxMessage(ctx context.Context, omadacId string, siteId string, simCard string, params *GetGridSimCardSmsOutboxMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySmsPolicySetting Query SMS policy setting
//
// Query SMS policy setting.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/policy (the `QuerySmsPolicySetting` operationId).
QuerySmsPolicySetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsPolicySettingWithBody Modify SMS policy setting
//
// Modify SMS policy setting.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/policy (the `ModifySmsPolicySetting` operationId).
ModifySmsPolicySettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsPolicySetting Modify SMS policy setting
//
// Modify SMS policy setting.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/policy (the `ModifySmsPolicySetting` operationId).
ModifySmsPolicySetting(ctx context.Context, omadacId string, siteId string, body ModifySmsPolicySettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySmsRouterCommand Query SMS router command
//
// Query SMS router command.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/router-command (the `QuerySmsRouterCommand` operationId).
QuerySmsRouterCommand(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsRouterCommandWithBody Modify SMS router command
//
// Modify SMS router command.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/router-command (the `ModifySmsRouterCommand` operationId).
ModifySmsRouterCommandWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsRouterCommand Modify SMS router command
//
// Modify SMS router command.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/router-command (the `ModifySmsRouterCommand` operationId).
ModifySmsRouterCommand(ctx context.Context, omadacId string, siteId string, body ModifySmsRouterCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendSmsMessageWithBody Send SMS message
//
// Send SMS message.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/send (the `SendSmsMessage` operationId).
SendSmsMessageWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendSmsMessage Send SMS message
//
// Send SMS message.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/send (the `SendSmsMessage` operationId).
SendSmsMessage(ctx context.Context, omadacId string, siteId string, body SendSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSupportSms Get support SMS
//
// Get SIM card whether supports SMS.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/support (the `GetSupportSms` operationId).
GetSupportSms(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMailServerTemplate get mail server
//
// get mail server.
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails (the `GetMailServerTemplate` operationId).
GetMailServerTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyMailServerTemplateWithBody modify mail server
//
// modify mail server.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails/{mailId} (the `ModifyMailServerTemplate` operationId).
ModifyMailServerTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, mailId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyMailServerTemplate modify mail server
//
// modify mail server.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails/{mailId} (the `ModifyMailServerTemplate` operationId).
ModifyMailServerTemplate(ctx context.Context, omadacId string, siteTemplateId string, mailId string, body ModifyMailServerTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySimCardQuotaSettingTemplate Get one of Dual-SIM card's SIM data setting template
//
// Get SIM data setting template.
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/quota/{simCard} (the `QuerySimCardQuotaSettingTemplate` operationId).
QuerySimCardQuotaSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, simCard string, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySmsPolicySettingTemplate Query SMS policy setting template
//
// Query SMS policy setting template.
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `QuerySmsPolicySettingTemplate` operationId).
QuerySmsPolicySettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsPolicySettingTemplateWithBody Modify SMS policy setting template
//
// Modify SMS policy setting template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `ModifySmsPolicySettingTemplate` operationId).
ModifySmsPolicySettingTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsPolicySettingTemplate Modify SMS policy setting template
//
// Modify SMS policy setting template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `ModifySmsPolicySettingTemplate` operationId).
ModifySmsPolicySettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, body ModifySmsPolicySettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuerySmsRouterCommandTemplate Query SMS router command template
//
// Query SMS router command template.
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `QuerySmsRouterCommandTemplate` operationId).
QuerySmsRouterCommandTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsRouterCommandTemplateWithBody Modify SMS router command template
//
// Modify SMS router command template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `ModifySmsRouterCommandTemplate` operationId).
ModifySmsRouterCommandTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySmsRouterCommandTemplate Modify SMS router command template
//
// Modify SMS router command template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `ModifySmsRouterCommandTemplate` operationId).
ModifySmsRouterCommandTemplate(ctx context.Context, omadacId string, siteTemplateId string, body ModifySmsRouterCommandTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportSmsMessageBymacV2WithBody Export SMS message by mac V2
//
// Export SMS message by mac.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/files/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymacV2` operationId).
ExportSmsMessageBymacV2WithBody(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportSmsMessageBymacV2 Export SMS message by mac V2
//
// Export SMS message by mac.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/files/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymacV2` operationId).
ExportSmsMessageBymacV2(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ExportSmsMessageBymacV2JSONRequestBody, 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) CorrectSimQuotaByMacWithBodyWithResponse ¶
func (c *ClientWithResponses) CorrectSimQuotaByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CorrectSimQuotaByMacResponse, error)
CorrectSimQuotaByMacWithBodyWithResponse Correct SIM data
Correct SIM data.
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}/gateways/{gatewayMac}/sim/correct (the `CorrectSimQuotaByMac` operationId).
func (*ClientWithResponses) CorrectSimQuotaByMacWithResponse ¶
func (c *ClientWithResponses) CorrectSimQuotaByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body CorrectSimQuotaByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*CorrectSimQuotaByMacResponse, error)
CorrectSimQuotaByMacWithResponse Correct SIM data
Correct SIM data.
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}/gateways/{gatewayMac}/sim/correct (the `CorrectSimQuotaByMac` operationId).
func (*ClientWithResponses) CorrectSimQuotaWithBodyWithResponse ¶
func (c *ClientWithResponses) CorrectSimQuotaWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CorrectSimQuotaResponse, error)
CorrectSimQuotaWithBodyWithResponse Correct SIM data
Correct SIM data.
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}/sim/correct (the `CorrectSimQuota` operationId).
func (*ClientWithResponses) CorrectSimQuotaWithResponse ¶
func (c *ClientWithResponses) CorrectSimQuotaWithResponse(ctx context.Context, omadacId string, siteId string, body CorrectSimQuotaJSONRequestBody, reqEditors ...RequestEditorFn) (*CorrectSimQuotaResponse, error)
CorrectSimQuotaWithResponse Correct SIM data
Correct SIM data.
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}/sim/correct (the `CorrectSimQuota` operationId).
func (*ClientWithResponses) CreateMailServerByMacWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMailServerByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMailServerByMacResponse, error)
CreateMailServerByMacWithBodyWithResponse Create mail server by mac
Create mail server by mac.
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}/gateways/{gatewayMac}/mails (the `CreateMailServerByMac` operationId).
func (*ClientWithResponses) CreateMailServerByMacWithResponse ¶
func (c *ClientWithResponses) CreateMailServerByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body CreateMailServerByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMailServerByMacResponse, error)
CreateMailServerByMacWithResponse Create mail server by mac
Create mail server by mac.
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}/gateways/{gatewayMac}/mails (the `CreateMailServerByMac` operationId).
func (*ClientWithResponses) CreateMailServerWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMailServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMailServerResponse, error)
CreateMailServerWithBodyWithResponse Create mail server
Create mail 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}/sites/{siteId}/setting/mails (the `CreateMailServer` operationId).
func (*ClientWithResponses) CreateMailServerWithResponse ¶
func (c *ClientWithResponses) CreateMailServerWithResponse(ctx context.Context, omadacId string, siteId string, body CreateMailServerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMailServerResponse, error)
CreateMailServerWithResponse Create mail server
Create mail 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}/sites/{siteId}/setting/mails (the `CreateMailServer` operationId).
func (*ClientWithResponses) ExportSmsMessageBymacV2WithBodyWithResponse ¶
func (c *ClientWithResponses) ExportSmsMessageBymacV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportSmsMessageBymacV2Response, error)
ExportSmsMessageBymacV2WithBodyWithResponse Export SMS message by mac V2
Export SMS message by mac.
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/v2/{omadacId}/files/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymacV2` operationId).
func (*ClientWithResponses) ExportSmsMessageBymacV2WithResponse ¶
func (c *ClientWithResponses) ExportSmsMessageBymacV2WithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ExportSmsMessageBymacV2JSONRequestBody, reqEditors ...RequestEditorFn) (*ExportSmsMessageBymacV2Response, error)
ExportSmsMessageBymacV2WithResponse Export SMS message by mac V2
Export SMS message by mac.
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/v2/{omadacId}/files/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymacV2` operationId).
func (*ClientWithResponses) ExportSmsMessageBymacWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ExportSmsMessageBymacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportSmsMessageBymacResponse, error)
ExportSmsMessageBymacWithBodyWithResponse Export SMS message by mac
Export SMS message by mac.This interface has been deprecated. Please use the following interfaces instead: Export SMS message by mac V2.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymac` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ExportSmsMessageBymacWithResponse ¶
func (c *ClientWithResponses) ExportSmsMessageBymacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ExportSmsMessageBymacJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportSmsMessageBymacResponse, error)
ExportSmsMessageBymacWithResponse Export SMS message by mac
Export SMS message by mac.This interface has been deprecated. Please use the following interfaces instead: Export SMS message by mac V2.
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}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymac` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ExportSmsMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) ExportSmsMessageWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportSmsMessageResponse, error)
ExportSmsMessageWithBodyWithResponse Export SMS message
Export SMS message.
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}/sim/sms/export (the `ExportSmsMessage` operationId).
func (*ClientWithResponses) ExportSmsMessageWithResponse ¶
func (c *ClientWithResponses) ExportSmsMessageWithResponse(ctx context.Context, omadacId string, siteId string, body ExportSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportSmsMessageResponse, error)
ExportSmsMessageWithResponse Export SMS message
Export SMS message.
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}/sim/sms/export (the `ExportSmsMessage` operationId).
func (*ClientWithResponses) GetGridSimCardSmsInboxMessageByMacWithResponse ¶
func (c *ClientWithResponses) GetGridSimCardSmsInboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, params *GetGridSimCardSmsInboxMessageByMacParams, reqEditors ...RequestEditorFn) (*GetGridSimCardSmsInboxMessageByMacResponse, error)
GetGridSimCardSmsInboxMessageByMacWithResponse Get one of Dual-SIM card's SMS inbox message by mac
Get SMS inbox message by mac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/inbox/{simCard} (the `GetGridSimCardSmsInboxMessageByMac` operationId).
func (*ClientWithResponses) GetGridSimCardSmsInboxMessageWithResponse ¶
func (c *ClientWithResponses) GetGridSimCardSmsInboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, simCard string, params *GetGridSimCardSmsInboxMessageParams, reqEditors ...RequestEditorFn) (*GetGridSimCardSmsInboxMessageResponse, error)
GetGridSimCardSmsInboxMessageWithResponse Get one of Dual-SIM card's SMS inbox message
Get SMS inbox message.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/inbox/{simCard} (the `GetGridSimCardSmsInboxMessage` operationId).
func (*ClientWithResponses) GetGridSimCardSmsOutboxMessageByMacWithResponse ¶
func (c *ClientWithResponses) GetGridSimCardSmsOutboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, params *GetGridSimCardSmsOutboxMessageByMacParams, reqEditors ...RequestEditorFn) (*GetGridSimCardSmsOutboxMessageByMacResponse, error)
GetGridSimCardSmsOutboxMessageByMacWithResponse Get one of Dual-SIM card's SMS outbox message by mac
Get SMS outbox message by mac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/outbox/{simCard} (the `GetGridSimCardSmsOutboxMessageByMac` operationId).
func (*ClientWithResponses) GetGridSimCardSmsOutboxMessageWithResponse ¶
func (c *ClientWithResponses) GetGridSimCardSmsOutboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, simCard string, params *GetGridSimCardSmsOutboxMessageParams, reqEditors ...RequestEditorFn) (*GetGridSimCardSmsOutboxMessageResponse, error)
GetGridSimCardSmsOutboxMessageWithResponse Get one of Dual-SIM card's SMS outbox message
Get SMS outbox message.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/outbox/{simCard} (the `GetGridSimCardSmsOutboxMessage` operationId).
func (*ClientWithResponses) GetGridSmsInboxMessageByMacWithResponse ¶
func (c *ClientWithResponses) GetGridSmsInboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, params *GetGridSmsInboxMessageByMacParams, reqEditors ...RequestEditorFn) (*GetGridSmsInboxMessageByMacResponse, error)
GetGridSmsInboxMessageByMacWithResponse Get SMS inbox message by mac
Get SMS inbox message by mac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/inbox (the `GetGridSmsInboxMessageByMac` operationId).
func (*ClientWithResponses) GetGridSmsInboxMessageWithResponse ¶
func (c *ClientWithResponses) GetGridSmsInboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSmsInboxMessageParams, reqEditors ...RequestEditorFn) (*GetGridSmsInboxMessageResponse, error)
GetGridSmsInboxMessageWithResponse Get SMS inbox message
Get SMS inbox message.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/inbox (the `GetGridSmsInboxMessage` operationId).
func (*ClientWithResponses) GetGridSmsOutboxMessageByMacWithResponse ¶
func (c *ClientWithResponses) GetGridSmsOutboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, params *GetGridSmsOutboxMessageByMacParams, reqEditors ...RequestEditorFn) (*GetGridSmsOutboxMessageByMacResponse, error)
GetGridSmsOutboxMessageByMacWithResponse Get SMS outbox message by mac
Get SMS outbox message by mac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/outbox (the `GetGridSmsOutboxMessageByMac` operationId).
func (*ClientWithResponses) GetGridSmsOutboxMessageWithResponse ¶
func (c *ClientWithResponses) GetGridSmsOutboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSmsOutboxMessageParams, reqEditors ...RequestEditorFn) (*GetGridSmsOutboxMessageResponse, error)
GetGridSmsOutboxMessageWithResponse Get SMS outbox message
Get SMS outbox message.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/outbox (the `GetGridSmsOutboxMessage` operationId).
func (*ClientWithResponses) GetMailServerByMacWithResponse ¶
func (c *ClientWithResponses) GetMailServerByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*GetMailServerByMacResponse, error)
GetMailServerByMacWithResponse Get mail server by mac
Get mail server by mac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/mails (the `GetMailServerByMac` operationId).
func (*ClientWithResponses) GetMailServerTemplateWithResponse ¶
func (c *ClientWithResponses) GetMailServerTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetMailServerTemplateResponse, error)
GetMailServerTemplateWithResponse get mail server
get mail server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails (the `GetMailServerTemplate` operationId).
func (*ClientWithResponses) GetMailServerWithResponse ¶
func (c *ClientWithResponses) GetMailServerWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetMailServerResponse, error)
GetMailServerWithResponse Get mail server
Get mail server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/setting/mails (the `GetMailServer` operationId).
func (*ClientWithResponses) GetSupportSmsByMacWithResponse ¶
func (c *ClientWithResponses) GetSupportSmsByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*GetSupportSmsByMacResponse, error)
GetSupportSmsByMacWithResponse Get support SMS
Get SIM card whether supports SMS.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/support (the `GetSupportSmsByMac` operationId).
func (*ClientWithResponses) GetSupportSmsWithResponse ¶
func (c *ClientWithResponses) GetSupportSmsWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSupportSmsResponse, error)
GetSupportSmsWithResponse Get support SMS
Get SIM card whether supports SMS.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/support (the `GetSupportSms` operationId).
func (*ClientWithResponses) ModifyMailServerTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyMailServerTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, mailId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyMailServerTemplateResponse, error)
ModifyMailServerTemplateWithBodyWithResponse modify mail server
modify mail 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 PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails/{mailId} (the `ModifyMailServerTemplate` operationId).
func (*ClientWithResponses) ModifyMailServerTemplateWithResponse ¶
func (c *ClientWithResponses) ModifyMailServerTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, mailId string, body ModifyMailServerTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyMailServerTemplateResponse, error)
ModifyMailServerTemplateWithResponse modify mail server
modify mail server.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails/{mailId} (the `ModifyMailServerTemplate` operationId).
func (*ClientWithResponses) ModifyMailServerWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyMailServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, mailId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyMailServerResponse, error)
ModifyMailServerWithBodyWithResponse Modify mail server
Modify mail 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 PATCH /openapi/v1/{omadacId}/sites/{siteId}/setting/mails/{mailId} (the `ModifyMailServer` operationId).
func (*ClientWithResponses) ModifyMailServerWithResponse ¶
func (c *ClientWithResponses) ModifyMailServerWithResponse(ctx context.Context, omadacId string, siteId string, mailId string, body ModifyMailServerJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyMailServerResponse, error)
ModifyMailServerWithResponse Modify mail server
Modify mail server.
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}/setting/mails/{mailId} (the `ModifyMailServer` operationId).
func (*ClientWithResponses) ModifySimQuotaSettingByMacWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySimQuotaSettingByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySimQuotaSettingByMacResponse, error)
ModifySimQuotaSettingByMacWithBodyWithResponse Modify SIM data setting by mac
Modify SIM data setting by mac.
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}/gateways/{gatewayMac}/sim/quota (the `ModifySimQuotaSettingByMac` operationId).
func (*ClientWithResponses) ModifySimQuotaSettingByMacWithResponse ¶
func (c *ClientWithResponses) ModifySimQuotaSettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySimQuotaSettingByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySimQuotaSettingByMacResponse, error)
ModifySimQuotaSettingByMacWithResponse Modify SIM data setting by mac
Modify SIM data setting by mac.
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}/gateways/{gatewayMac}/sim/quota (the `ModifySimQuotaSettingByMac` operationId).
func (*ClientWithResponses) ModifySimQuotaSettingWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySimQuotaSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySimQuotaSettingResponse, error)
ModifySimQuotaSettingWithBodyWithResponse Modify SIM data setting
Modify SIM data 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}/sites/{siteId}/sim/quota (the `ModifySimQuotaSetting` operationId).
func (*ClientWithResponses) ModifySimQuotaSettingWithResponse ¶
func (c *ClientWithResponses) ModifySimQuotaSettingWithResponse(ctx context.Context, omadacId string, siteId string, body ModifySimQuotaSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySimQuotaSettingResponse, error)
ModifySimQuotaSettingWithResponse Modify SIM data setting
Modify SIM data 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}/sites/{siteId}/sim/quota (the `ModifySimQuotaSetting` operationId).
func (*ClientWithResponses) ModifySmsPolicySettingByMacWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySmsPolicySettingByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingByMacResponse, error)
ModifySmsPolicySettingByMacWithBodyWithResponse Modify SMS policy setting
Modify SMS policy 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}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `ModifySmsPolicySettingByMac` operationId).
func (*ClientWithResponses) ModifySmsPolicySettingByMacWithResponse ¶
func (c *ClientWithResponses) ModifySmsPolicySettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySmsPolicySettingByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingByMacResponse, error)
ModifySmsPolicySettingByMacWithResponse Modify SMS policy setting
Modify SMS policy 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}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `ModifySmsPolicySettingByMac` operationId).
func (*ClientWithResponses) ModifySmsPolicySettingTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySmsPolicySettingTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingTemplateResponse, error)
ModifySmsPolicySettingTemplateWithBodyWithResponse Modify SMS policy setting template
Modify SMS policy setting template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `ModifySmsPolicySettingTemplate` operationId).
func (*ClientWithResponses) ModifySmsPolicySettingTemplateWithResponse ¶
func (c *ClientWithResponses) ModifySmsPolicySettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body ModifySmsPolicySettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingTemplateResponse, error)
ModifySmsPolicySettingTemplateWithResponse Modify SMS policy setting template
Modify SMS policy setting template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `ModifySmsPolicySettingTemplate` operationId).
func (*ClientWithResponses) ModifySmsPolicySettingWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySmsPolicySettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingResponse, error)
ModifySmsPolicySettingWithBodyWithResponse Modify SMS policy setting
Modify SMS policy 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}/sites/{siteId}/sim/sms/policy (the `ModifySmsPolicySetting` operationId).
func (*ClientWithResponses) ModifySmsPolicySettingWithResponse ¶
func (c *ClientWithResponses) ModifySmsPolicySettingWithResponse(ctx context.Context, omadacId string, siteId string, body ModifySmsPolicySettingJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingResponse, error)
ModifySmsPolicySettingWithResponse Modify SMS policy setting
Modify SMS policy 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}/sites/{siteId}/sim/sms/policy (the `ModifySmsPolicySetting` operationId).
func (*ClientWithResponses) ModifySmsRouterCommandByMacWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySmsRouterCommandByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandByMacResponse, error)
ModifySmsRouterCommandByMacWithBodyWithResponse Modify SMS router command by mac
Modify SMS router command by mac.
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}/gateways/{gatewayMac}/sim/sms/router-command (the `ModifySmsRouterCommandByMac` operationId).
func (*ClientWithResponses) ModifySmsRouterCommandByMacWithResponse ¶
func (c *ClientWithResponses) ModifySmsRouterCommandByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySmsRouterCommandByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandByMacResponse, error)
ModifySmsRouterCommandByMacWithResponse Modify SMS router command by mac
Modify SMS router command by mac.
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}/gateways/{gatewayMac}/sim/sms/router-command (the `ModifySmsRouterCommandByMac` operationId).
func (*ClientWithResponses) ModifySmsRouterCommandTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySmsRouterCommandTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandTemplateResponse, error)
ModifySmsRouterCommandTemplateWithBodyWithResponse Modify SMS router command template
Modify SMS router command template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `ModifySmsRouterCommandTemplate` operationId).
func (*ClientWithResponses) ModifySmsRouterCommandTemplateWithResponse ¶
func (c *ClientWithResponses) ModifySmsRouterCommandTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body ModifySmsRouterCommandTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandTemplateResponse, error)
ModifySmsRouterCommandTemplateWithResponse Modify SMS router command template
Modify SMS router command template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `ModifySmsRouterCommandTemplate` operationId).
func (*ClientWithResponses) ModifySmsRouterCommandWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySmsRouterCommandWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandResponse, error)
ModifySmsRouterCommandWithBodyWithResponse Modify SMS router command
Modify SMS router command.
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}/sim/sms/router-command (the `ModifySmsRouterCommand` operationId).
func (*ClientWithResponses) ModifySmsRouterCommandWithResponse ¶
func (c *ClientWithResponses) ModifySmsRouterCommandWithResponse(ctx context.Context, omadacId string, siteId string, body ModifySmsRouterCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandResponse, error)
ModifySmsRouterCommandWithResponse Modify SMS router command
Modify SMS router command.
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}/sim/sms/router-command (the `ModifySmsRouterCommand` operationId).
func (*ClientWithResponses) OperateSmsMessageByMacWithBodyWithResponse ¶
func (c *ClientWithResponses) OperateSmsMessageByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OperateSmsMessageByMacResponse, error)
OperateSmsMessageByMacWithBodyWithResponse Operate SMS message by mac
Operate SMS message by mac.
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}/gateways/{gatewayMac}/sim/sms/operate (the `OperateSmsMessageByMac` operationId).
func (*ClientWithResponses) OperateSmsMessageByMacWithResponse ¶
func (c *ClientWithResponses) OperateSmsMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body OperateSmsMessageByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*OperateSmsMessageByMacResponse, error)
OperateSmsMessageByMacWithResponse Operate SMS message by mac
Operate SMS message by mac.
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}/gateways/{gatewayMac}/sim/sms/operate (the `OperateSmsMessageByMac` operationId).
func (*ClientWithResponses) OperateSmsMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) OperateSmsMessageWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OperateSmsMessageResponse, error)
OperateSmsMessageWithBodyWithResponse Operate SMS message
Operate SMS message.
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}/sim/sms/operate (the `OperateSmsMessage` operationId).
func (*ClientWithResponses) OperateSmsMessageWithResponse ¶
func (c *ClientWithResponses) OperateSmsMessageWithResponse(ctx context.Context, omadacId string, siteId string, body OperateSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*OperateSmsMessageResponse, error)
OperateSmsMessageWithResponse Operate SMS message
Operate SMS message.
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}/sim/sms/operate (the `OperateSmsMessage` operationId).
func (*ClientWithResponses) QuerySimCardQuotaSettingByMacWithResponse ¶
func (c *ClientWithResponses) QuerySimCardQuotaSettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, reqEditors ...RequestEditorFn) (*QuerySimCardQuotaSettingByMacResponse, error)
QuerySimCardQuotaSettingByMacWithResponse Get one of Dual-SIM card's SIM data setting by mac
Get SIM data setting by mac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota/{simCard} (the `QuerySimCardQuotaSettingByMac` operationId).
func (*ClientWithResponses) QuerySimCardQuotaSettingTemplateWithResponse ¶
func (c *ClientWithResponses) QuerySimCardQuotaSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, simCard string, reqEditors ...RequestEditorFn) (*QuerySimCardQuotaSettingTemplateResponse, error)
QuerySimCardQuotaSettingTemplateWithResponse Get one of Dual-SIM card's SIM data setting template
Get SIM data setting template.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/quota/{simCard} (the `QuerySimCardQuotaSettingTemplate` operationId).
func (*ClientWithResponses) QuerySimCardQuotaSettingWithResponse ¶
func (c *ClientWithResponses) QuerySimCardQuotaSettingWithResponse(ctx context.Context, omadacId string, siteId string, simCard string, reqEditors ...RequestEditorFn) (*QuerySimCardQuotaSettingResponse, error)
QuerySimCardQuotaSettingWithResponse Get one of Dual-SIM card's SIM data setting
Get SIM data setting.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/quota/{simCard} (the `QuerySimCardQuotaSetting` operationId).
func (*ClientWithResponses) QuerySimQuotaSettingByMacWithResponse ¶
func (c *ClientWithResponses) QuerySimQuotaSettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*QuerySimQuotaSettingByMacResponse, error)
QuerySimQuotaSettingByMacWithResponse Get SIM data setting by mac
Get SIM data setting by mac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota (the `QuerySimQuotaSettingByMac` operationId).
func (*ClientWithResponses) QuerySimQuotaSettingWithResponse ¶
func (c *ClientWithResponses) QuerySimQuotaSettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*QuerySimQuotaSettingResponse, error)
QuerySimQuotaSettingWithResponse Get SIM data setting
Get SIM data setting.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/quota (the `QuerySimQuotaSetting` operationId).
func (*ClientWithResponses) QuerySmsPolicySettingByMacWithResponse ¶
func (c *ClientWithResponses) QuerySmsPolicySettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*QuerySmsPolicySettingByMacResponse, error)
QuerySmsPolicySettingByMacWithResponse Query SMS policy setting by mac
Query SMS policy setting by mac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `QuerySmsPolicySettingByMac` operationId).
func (*ClientWithResponses) QuerySmsPolicySettingTemplateWithResponse ¶
func (c *ClientWithResponses) QuerySmsPolicySettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*QuerySmsPolicySettingTemplateResponse, error)
QuerySmsPolicySettingTemplateWithResponse Query SMS policy setting template
Query SMS policy setting template.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `QuerySmsPolicySettingTemplate` operationId).
func (*ClientWithResponses) QuerySmsPolicySettingWithResponse ¶
func (c *ClientWithResponses) QuerySmsPolicySettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*QuerySmsPolicySettingResponse, error)
QuerySmsPolicySettingWithResponse Query SMS policy setting
Query SMS policy setting.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/policy (the `QuerySmsPolicySetting` operationId).
func (*ClientWithResponses) QuerySmsRouterCommandByMacWithResponse ¶
func (c *ClientWithResponses) QuerySmsRouterCommandByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*QuerySmsRouterCommandByMacResponse, error)
QuerySmsRouterCommandByMacWithResponse Query SMS router command by mac
Query SMS router command by mac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/router-command (the `QuerySmsRouterCommandByMac` operationId).
func (*ClientWithResponses) QuerySmsRouterCommandTemplateWithResponse ¶
func (c *ClientWithResponses) QuerySmsRouterCommandTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*QuerySmsRouterCommandTemplateResponse, error)
QuerySmsRouterCommandTemplateWithResponse Query SMS router command template
Query SMS router command template.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `QuerySmsRouterCommandTemplate` operationId).
func (*ClientWithResponses) QuerySmsRouterCommandWithResponse ¶
func (c *ClientWithResponses) QuerySmsRouterCommandWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*QuerySmsRouterCommandResponse, error)
QuerySmsRouterCommandWithResponse Query SMS router command
Query SMS router command.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/router-command (the `QuerySmsRouterCommand` operationId).
func (*ClientWithResponses) SendSmsMessageByMacWithBodyWithResponse ¶
func (c *ClientWithResponses) SendSmsMessageByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendSmsMessageByMacResponse, error)
SendSmsMessageByMacWithBodyWithResponse Send SMS message
Send SMS message.
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}/gateways/{gatewayMac}/sim/sms/send (the `SendSmsMessageByMac` operationId).
func (*ClientWithResponses) SendSmsMessageByMacWithResponse ¶
func (c *ClientWithResponses) SendSmsMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body SendSmsMessageByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*SendSmsMessageByMacResponse, error)
SendSmsMessageByMacWithResponse Send SMS message
Send SMS message.
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}/gateways/{gatewayMac}/sim/sms/send (the `SendSmsMessageByMac` operationId).
func (*ClientWithResponses) SendSmsMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) SendSmsMessageWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendSmsMessageResponse, error)
SendSmsMessageWithBodyWithResponse Send SMS message
Send SMS message.
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}/sim/sms/send (the `SendSmsMessage` operationId).
func (*ClientWithResponses) SendSmsMessageWithResponse ¶
func (c *ClientWithResponses) SendSmsMessageWithResponse(ctx context.Context, omadacId string, siteId string, body SendSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendSmsMessageResponse, error)
SendSmsMessageWithResponse Send SMS message
Send SMS message.
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}/sim/sms/send (the `SendSmsMessage` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetMailServerByMacWithResponse Get mail server by mac
//
// Get mail server by mac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/mails (the `GetMailServerByMac` operationId).
GetMailServerByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*GetMailServerByMacResponse, error)
// CreateMailServerByMacWithBodyWithResponse Create mail server by mac
//
// Create mail server by mac.
//
// 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}/gateways/{gatewayMac}/mails (the `CreateMailServerByMac` operationId).
CreateMailServerByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMailServerByMacResponse, error)
// CreateMailServerByMacWithResponse Create mail server by mac
//
// Create mail server by mac.
//
// 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}/gateways/{gatewayMac}/mails (the `CreateMailServerByMac` operationId).
CreateMailServerByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body CreateMailServerByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMailServerByMacResponse, error)
// CorrectSimQuotaByMacWithBodyWithResponse Correct SIM data
//
// Correct SIM data.
//
// 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}/gateways/{gatewayMac}/sim/correct (the `CorrectSimQuotaByMac` operationId).
CorrectSimQuotaByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CorrectSimQuotaByMacResponse, error)
// CorrectSimQuotaByMacWithResponse Correct SIM data
//
// Correct SIM data.
//
// 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}/gateways/{gatewayMac}/sim/correct (the `CorrectSimQuotaByMac` operationId).
CorrectSimQuotaByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body CorrectSimQuotaByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*CorrectSimQuotaByMacResponse, error)
// QuerySimQuotaSettingByMacWithResponse Get SIM data setting by mac
//
// Get SIM data setting by mac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota (the `QuerySimQuotaSettingByMac` operationId).
QuerySimQuotaSettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*QuerySimQuotaSettingByMacResponse, error)
// ModifySimQuotaSettingByMacWithBodyWithResponse Modify SIM data setting by mac
//
// Modify SIM data setting by mac.
//
// 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}/gateways/{gatewayMac}/sim/quota (the `ModifySimQuotaSettingByMac` operationId).
ModifySimQuotaSettingByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySimQuotaSettingByMacResponse, error)
// ModifySimQuotaSettingByMacWithResponse Modify SIM data setting by mac
//
// Modify SIM data setting by mac.
//
// 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}/gateways/{gatewayMac}/sim/quota (the `ModifySimQuotaSettingByMac` operationId).
ModifySimQuotaSettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySimQuotaSettingByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySimQuotaSettingByMacResponse, error)
// QuerySimCardQuotaSettingByMacWithResponse Get one of Dual-SIM card's SIM data setting by mac
//
// Get SIM data setting by mac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/quota/{simCard} (the `QuerySimCardQuotaSettingByMac` operationId).
QuerySimCardQuotaSettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, reqEditors ...RequestEditorFn) (*QuerySimCardQuotaSettingByMacResponse, error)
// ExportSmsMessageBymacWithBodyWithResponse Export SMS message by mac
//
// Export SMS message by mac.This interface has been deprecated. Please use the following interfaces instead: Export SMS message by mac V2.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymac` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExportSmsMessageBymacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportSmsMessageBymacResponse, error)
// ExportSmsMessageBymacWithResponse Export SMS message by mac
//
// Export SMS message by mac.This interface has been deprecated. Please use the following interfaces instead: Export SMS message by mac V2.
//
// 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}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymac` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExportSmsMessageBymacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ExportSmsMessageBymacJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportSmsMessageBymacResponse, error)
// GetGridSmsInboxMessageByMacWithResponse Get SMS inbox message by mac
//
// Get SMS inbox message by mac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/inbox (the `GetGridSmsInboxMessageByMac` operationId).
GetGridSmsInboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, params *GetGridSmsInboxMessageByMacParams, reqEditors ...RequestEditorFn) (*GetGridSmsInboxMessageByMacResponse, error)
// GetGridSimCardSmsInboxMessageByMacWithResponse Get one of Dual-SIM card's SMS inbox message by mac
//
// Get SMS inbox message by mac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/inbox/{simCard} (the `GetGridSimCardSmsInboxMessageByMac` operationId).
GetGridSimCardSmsInboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, params *GetGridSimCardSmsInboxMessageByMacParams, reqEditors ...RequestEditorFn) (*GetGridSimCardSmsInboxMessageByMacResponse, error)
// OperateSmsMessageByMacWithBodyWithResponse Operate SMS message by mac
//
// Operate SMS message by mac.
//
// 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}/gateways/{gatewayMac}/sim/sms/operate (the `OperateSmsMessageByMac` operationId).
OperateSmsMessageByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OperateSmsMessageByMacResponse, error)
// OperateSmsMessageByMacWithResponse Operate SMS message by mac
//
// Operate SMS message by mac.
//
// 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}/gateways/{gatewayMac}/sim/sms/operate (the `OperateSmsMessageByMac` operationId).
OperateSmsMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body OperateSmsMessageByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*OperateSmsMessageByMacResponse, error)
// GetGridSmsOutboxMessageByMacWithResponse Get SMS outbox message by mac
//
// Get SMS outbox message by mac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/outbox (the `GetGridSmsOutboxMessageByMac` operationId).
GetGridSmsOutboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, params *GetGridSmsOutboxMessageByMacParams, reqEditors ...RequestEditorFn) (*GetGridSmsOutboxMessageByMacResponse, error)
// GetGridSimCardSmsOutboxMessageByMacWithResponse Get one of Dual-SIM card's SMS outbox message by mac
//
// Get SMS outbox message by mac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/outbox/{simCard} (the `GetGridSimCardSmsOutboxMessageByMac` operationId).
GetGridSimCardSmsOutboxMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, simCard string, params *GetGridSimCardSmsOutboxMessageByMacParams, reqEditors ...RequestEditorFn) (*GetGridSimCardSmsOutboxMessageByMacResponse, error)
// QuerySmsPolicySettingByMacWithResponse Query SMS policy setting by mac
//
// Query SMS policy setting by mac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `QuerySmsPolicySettingByMac` operationId).
QuerySmsPolicySettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*QuerySmsPolicySettingByMacResponse, error)
// ModifySmsPolicySettingByMacWithBodyWithResponse Modify SMS policy setting
//
// Modify SMS policy 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}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `ModifySmsPolicySettingByMac` operationId).
ModifySmsPolicySettingByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingByMacResponse, error)
// ModifySmsPolicySettingByMacWithResponse Modify SMS policy setting
//
// Modify SMS policy 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}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/policy (the `ModifySmsPolicySettingByMac` operationId).
ModifySmsPolicySettingByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySmsPolicySettingByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingByMacResponse, error)
// QuerySmsRouterCommandByMacWithResponse Query SMS router command by mac
//
// Query SMS router command by mac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/router-command (the `QuerySmsRouterCommandByMac` operationId).
QuerySmsRouterCommandByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*QuerySmsRouterCommandByMacResponse, error)
// ModifySmsRouterCommandByMacWithBodyWithResponse Modify SMS router command by mac
//
// Modify SMS router command by mac.
//
// 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}/gateways/{gatewayMac}/sim/sms/router-command (the `ModifySmsRouterCommandByMac` operationId).
ModifySmsRouterCommandByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandByMacResponse, error)
// ModifySmsRouterCommandByMacWithResponse Modify SMS router command by mac
//
// Modify SMS router command by mac.
//
// 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}/gateways/{gatewayMac}/sim/sms/router-command (the `ModifySmsRouterCommandByMac` operationId).
ModifySmsRouterCommandByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ModifySmsRouterCommandByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandByMacResponse, error)
// SendSmsMessageByMacWithBodyWithResponse Send SMS message
//
// Send SMS message.
//
// 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}/gateways/{gatewayMac}/sim/sms/send (the `SendSmsMessageByMac` operationId).
SendSmsMessageByMacWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendSmsMessageByMacResponse, error)
// SendSmsMessageByMacWithResponse Send SMS message
//
// Send SMS message.
//
// 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}/gateways/{gatewayMac}/sim/sms/send (the `SendSmsMessageByMac` operationId).
SendSmsMessageByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body SendSmsMessageByMacJSONRequestBody, reqEditors ...RequestEditorFn) (*SendSmsMessageByMacResponse, error)
// GetSupportSmsByMacWithResponse Get support SMS
//
// Get SIM card whether supports SMS.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/gateways/{gatewayMac}/sim/sms/support (the `GetSupportSmsByMac` operationId).
GetSupportSmsByMacWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, reqEditors ...RequestEditorFn) (*GetSupportSmsByMacResponse, error)
// GetMailServerWithResponse Get mail server
//
// Get mail server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/setting/mails (the `GetMailServer` operationId).
GetMailServerWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetMailServerResponse, error)
// CreateMailServerWithBodyWithResponse Create mail server
//
// Create mail 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}/sites/{siteId}/setting/mails (the `CreateMailServer` operationId).
CreateMailServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMailServerResponse, error)
// CreateMailServerWithResponse Create mail server
//
// Create mail 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}/sites/{siteId}/setting/mails (the `CreateMailServer` operationId).
CreateMailServerWithResponse(ctx context.Context, omadacId string, siteId string, body CreateMailServerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMailServerResponse, error)
// ModifyMailServerWithBodyWithResponse Modify mail server
//
// Modify mail 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 PATCH /openapi/v1/{omadacId}/sites/{siteId}/setting/mails/{mailId} (the `ModifyMailServer` operationId).
ModifyMailServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, mailId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyMailServerResponse, error)
// ModifyMailServerWithResponse Modify mail server
//
// Modify mail server.
//
// 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}/setting/mails/{mailId} (the `ModifyMailServer` operationId).
ModifyMailServerWithResponse(ctx context.Context, omadacId string, siteId string, mailId string, body ModifyMailServerJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyMailServerResponse, error)
// CorrectSimQuotaWithBodyWithResponse Correct SIM data
//
// Correct SIM data.
//
// 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}/sim/correct (the `CorrectSimQuota` operationId).
CorrectSimQuotaWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CorrectSimQuotaResponse, error)
// CorrectSimQuotaWithResponse Correct SIM data
//
// Correct SIM data.
//
// 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}/sim/correct (the `CorrectSimQuota` operationId).
CorrectSimQuotaWithResponse(ctx context.Context, omadacId string, siteId string, body CorrectSimQuotaJSONRequestBody, reqEditors ...RequestEditorFn) (*CorrectSimQuotaResponse, error)
// QuerySimQuotaSettingWithResponse Get SIM data setting
//
// Get SIM data setting.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/quota (the `QuerySimQuotaSetting` operationId).
QuerySimQuotaSettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*QuerySimQuotaSettingResponse, error)
// ModifySimQuotaSettingWithBodyWithResponse Modify SIM data setting
//
// Modify SIM data 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}/sites/{siteId}/sim/quota (the `ModifySimQuotaSetting` operationId).
ModifySimQuotaSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySimQuotaSettingResponse, error)
// ModifySimQuotaSettingWithResponse Modify SIM data setting
//
// Modify SIM data 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}/sites/{siteId}/sim/quota (the `ModifySimQuotaSetting` operationId).
ModifySimQuotaSettingWithResponse(ctx context.Context, omadacId string, siteId string, body ModifySimQuotaSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySimQuotaSettingResponse, error)
// QuerySimCardQuotaSettingWithResponse Get one of Dual-SIM card's SIM data setting
//
// Get SIM data setting.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/quota/{simCard} (the `QuerySimCardQuotaSetting` operationId).
QuerySimCardQuotaSettingWithResponse(ctx context.Context, omadacId string, siteId string, simCard string, reqEditors ...RequestEditorFn) (*QuerySimCardQuotaSettingResponse, error)
// ExportSmsMessageWithBodyWithResponse Export SMS message
//
// Export SMS message.
//
// 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}/sim/sms/export (the `ExportSmsMessage` operationId).
ExportSmsMessageWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportSmsMessageResponse, error)
// ExportSmsMessageWithResponse Export SMS message
//
// Export SMS message.
//
// 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}/sim/sms/export (the `ExportSmsMessage` operationId).
ExportSmsMessageWithResponse(ctx context.Context, omadacId string, siteId string, body ExportSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportSmsMessageResponse, error)
// GetGridSmsInboxMessageWithResponse Get SMS inbox message
//
// Get SMS inbox message.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/inbox (the `GetGridSmsInboxMessage` operationId).
GetGridSmsInboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSmsInboxMessageParams, reqEditors ...RequestEditorFn) (*GetGridSmsInboxMessageResponse, error)
// GetGridSimCardSmsInboxMessageWithResponse Get one of Dual-SIM card's SMS inbox message
//
// Get SMS inbox message.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/inbox/{simCard} (the `GetGridSimCardSmsInboxMessage` operationId).
GetGridSimCardSmsInboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, simCard string, params *GetGridSimCardSmsInboxMessageParams, reqEditors ...RequestEditorFn) (*GetGridSimCardSmsInboxMessageResponse, error)
// OperateSmsMessageWithBodyWithResponse Operate SMS message
//
// Operate SMS message.
//
// 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}/sim/sms/operate (the `OperateSmsMessage` operationId).
OperateSmsMessageWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OperateSmsMessageResponse, error)
// OperateSmsMessageWithResponse Operate SMS message
//
// Operate SMS message.
//
// 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}/sim/sms/operate (the `OperateSmsMessage` operationId).
OperateSmsMessageWithResponse(ctx context.Context, omadacId string, siteId string, body OperateSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*OperateSmsMessageResponse, error)
// GetGridSmsOutboxMessageWithResponse Get SMS outbox message
//
// Get SMS outbox message.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/outbox (the `GetGridSmsOutboxMessage` operationId).
GetGridSmsOutboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSmsOutboxMessageParams, reqEditors ...RequestEditorFn) (*GetGridSmsOutboxMessageResponse, error)
// GetGridSimCardSmsOutboxMessageWithResponse Get one of Dual-SIM card's SMS outbox message
//
// Get SMS outbox message.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/outbox/{simCard} (the `GetGridSimCardSmsOutboxMessage` operationId).
GetGridSimCardSmsOutboxMessageWithResponse(ctx context.Context, omadacId string, siteId string, simCard string, params *GetGridSimCardSmsOutboxMessageParams, reqEditors ...RequestEditorFn) (*GetGridSimCardSmsOutboxMessageResponse, error)
// QuerySmsPolicySettingWithResponse Query SMS policy setting
//
// Query SMS policy setting.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/policy (the `QuerySmsPolicySetting` operationId).
QuerySmsPolicySettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*QuerySmsPolicySettingResponse, error)
// ModifySmsPolicySettingWithBodyWithResponse Modify SMS policy setting
//
// Modify SMS policy 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}/sites/{siteId}/sim/sms/policy (the `ModifySmsPolicySetting` operationId).
ModifySmsPolicySettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingResponse, error)
// ModifySmsPolicySettingWithResponse Modify SMS policy setting
//
// Modify SMS policy 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}/sites/{siteId}/sim/sms/policy (the `ModifySmsPolicySetting` operationId).
ModifySmsPolicySettingWithResponse(ctx context.Context, omadacId string, siteId string, body ModifySmsPolicySettingJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingResponse, error)
// QuerySmsRouterCommandWithResponse Query SMS router command
//
// Query SMS router command.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/router-command (the `QuerySmsRouterCommand` operationId).
QuerySmsRouterCommandWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*QuerySmsRouterCommandResponse, error)
// ModifySmsRouterCommandWithBodyWithResponse Modify SMS router command
//
// Modify SMS router command.
//
// 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}/sim/sms/router-command (the `ModifySmsRouterCommand` operationId).
ModifySmsRouterCommandWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandResponse, error)
// ModifySmsRouterCommandWithResponse Modify SMS router command
//
// Modify SMS router command.
//
// 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}/sim/sms/router-command (the `ModifySmsRouterCommand` operationId).
ModifySmsRouterCommandWithResponse(ctx context.Context, omadacId string, siteId string, body ModifySmsRouterCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandResponse, error)
// SendSmsMessageWithBodyWithResponse Send SMS message
//
// Send SMS message.
//
// 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}/sim/sms/send (the `SendSmsMessage` operationId).
SendSmsMessageWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendSmsMessageResponse, error)
// SendSmsMessageWithResponse Send SMS message
//
// Send SMS message.
//
// 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}/sim/sms/send (the `SendSmsMessage` operationId).
SendSmsMessageWithResponse(ctx context.Context, omadacId string, siteId string, body SendSmsMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendSmsMessageResponse, error)
// GetSupportSmsWithResponse Get support SMS
//
// Get SIM card whether supports SMS.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/sim/sms/support (the `GetSupportSms` operationId).
GetSupportSmsWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSupportSmsResponse, error)
// GetMailServerTemplateWithResponse get mail server
//
// get mail server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails (the `GetMailServerTemplate` operationId).
GetMailServerTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetMailServerTemplateResponse, error)
// ModifyMailServerTemplateWithBodyWithResponse modify mail server
//
// modify mail 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 PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails/{mailId} (the `ModifyMailServerTemplate` operationId).
ModifyMailServerTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, mailId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyMailServerTemplateResponse, error)
// ModifyMailServerTemplateWithResponse modify mail server
//
// modify mail server.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/mails/{mailId} (the `ModifyMailServerTemplate` operationId).
ModifyMailServerTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, mailId string, body ModifyMailServerTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyMailServerTemplateResponse, error)
// QuerySimCardQuotaSettingTemplateWithResponse Get one of Dual-SIM card's SIM data setting template
//
// Get SIM data setting template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/quota/{simCard} (the `QuerySimCardQuotaSettingTemplate` operationId).
QuerySimCardQuotaSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, simCard string, reqEditors ...RequestEditorFn) (*QuerySimCardQuotaSettingTemplateResponse, error)
// QuerySmsPolicySettingTemplateWithResponse Query SMS policy setting template
//
// Query SMS policy setting template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `QuerySmsPolicySettingTemplate` operationId).
QuerySmsPolicySettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*QuerySmsPolicySettingTemplateResponse, error)
// ModifySmsPolicySettingTemplateWithBodyWithResponse Modify SMS policy setting template
//
// Modify SMS policy setting template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `ModifySmsPolicySettingTemplate` operationId).
ModifySmsPolicySettingTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingTemplateResponse, error)
// ModifySmsPolicySettingTemplateWithResponse Modify SMS policy setting template
//
// Modify SMS policy setting template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/policy (the `ModifySmsPolicySettingTemplate` operationId).
ModifySmsPolicySettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body ModifySmsPolicySettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsPolicySettingTemplateResponse, error)
// QuerySmsRouterCommandTemplateWithResponse Query SMS router command template
//
// Query SMS router command template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `QuerySmsRouterCommandTemplate` operationId).
QuerySmsRouterCommandTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*QuerySmsRouterCommandTemplateResponse, error)
// ModifySmsRouterCommandTemplateWithBodyWithResponse Modify SMS router command template
//
// Modify SMS router command template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `ModifySmsRouterCommandTemplate` operationId).
ModifySmsRouterCommandTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandTemplateResponse, error)
// ModifySmsRouterCommandTemplateWithResponse Modify SMS router command template
//
// Modify SMS router command template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/sim/sms/router-command (the `ModifySmsRouterCommandTemplate` operationId).
ModifySmsRouterCommandTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body ModifySmsRouterCommandTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySmsRouterCommandTemplateResponse, error)
// ExportSmsMessageBymacV2WithBodyWithResponse Export SMS message by mac V2
//
// Export SMS message by mac.
//
// 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/v2/{omadacId}/files/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymacV2` operationId).
ExportSmsMessageBymacV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportSmsMessageBymacV2Response, error)
// ExportSmsMessageBymacV2WithResponse Export SMS message by mac V2
//
// Export SMS message by mac.
//
// 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/v2/{omadacId}/files/sites/{siteId}/gateways/{gatewayMac}/sim/sms/export (the `ExportSmsMessageBymacV2` operationId).
ExportSmsMessageBymacV2WithResponse(ctx context.Context, omadacId string, siteId string, gatewayMac string, body ExportSmsMessageBymacV2JSONRequestBody, reqEditors ...RequestEditorFn) (*ExportSmsMessageBymacV2Response, 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 ContentPortInfo ¶
type ContentPortInfo struct {
// Id Port Uuid.
Id string `json:"id"`
// Ip Whether to query the port IP.
Ip bool `json:"ip"`
// Name Port name.
Name *string `json:"name,omitempty"`
// Usage Whether to query the port data usage.
Usage bool `json:"usage"`
}
ContentPortInfo defines model for ContentPortInfo.
type CorrectSimQuota ¶
type CorrectSimQuota struct {
// Data The amount of data usage(KB) in current billing cycle.
Data *float32 `json:"data,omitempty"`
// SimCard When device supports Dual-SIM card, using parameter [simCard] to point which card to configure. 1: SIM1; 2:SIM2.
SimCard *int32 `json:"simCard,omitempty"`
// Sms The amount of SMS in current billing cycle, valid date should be within the range of 0–100000.
Sms *int32 `json:"sms,omitempty"`
}
CorrectSimQuota defines model for CorrectSimQuota.
type CorrectSimQuotaByMacJSONRequestBody ¶
type CorrectSimQuotaByMacJSONRequestBody = CorrectSimQuota
CorrectSimQuotaByMacJSONRequestBody defines body for CorrectSimQuotaByMac for application/json ContentType.
type CorrectSimQuotaByMacResponse ¶
func ParseCorrectSimQuotaByMacResponse ¶
func ParseCorrectSimQuotaByMacResponse(rsp *http.Response) (*CorrectSimQuotaByMacResponse, error)
ParseCorrectSimQuotaByMacResponse parses an HTTP response from a CorrectSimQuotaByMacWithResponse call
func (CorrectSimQuotaByMacResponse) ContentType ¶
func (r CorrectSimQuotaByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CorrectSimQuotaByMacResponse) GetBody ¶
func (r CorrectSimQuotaByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CorrectSimQuotaByMacResponse) Status ¶
func (r CorrectSimQuotaByMacResponse) Status() string
Status returns HTTPResponse.Status
func (CorrectSimQuotaByMacResponse) StatusCode ¶
func (r CorrectSimQuotaByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CorrectSimQuotaJSONRequestBody ¶
type CorrectSimQuotaJSONRequestBody = CorrectSimQuota
CorrectSimQuotaJSONRequestBody defines body for CorrectSimQuota for application/json ContentType.
type CorrectSimQuotaResponse ¶
func ParseCorrectSimQuotaResponse ¶
func ParseCorrectSimQuotaResponse(rsp *http.Response) (*CorrectSimQuotaResponse, error)
ParseCorrectSimQuotaResponse parses an HTTP response from a CorrectSimQuotaWithResponse call
func (CorrectSimQuotaResponse) ContentType ¶
func (r CorrectSimQuotaResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CorrectSimQuotaResponse) GetBody ¶
func (r CorrectSimQuotaResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CorrectSimQuotaResponse) Status ¶
func (r CorrectSimQuotaResponse) Status() string
Status returns HTTPResponse.Status
func (CorrectSimQuotaResponse) StatusCode ¶
func (r CorrectSimQuotaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMailServerByMacJSONRequestBody ¶
type CreateMailServerByMacJSONRequestBody = MailServerOpenApiVO
CreateMailServerByMacJSONRequestBody defines body for CreateMailServerByMac for application/json ContentType.
type CreateMailServerByMacResponse ¶
func ParseCreateMailServerByMacResponse ¶
func ParseCreateMailServerByMacResponse(rsp *http.Response) (*CreateMailServerByMacResponse, error)
ParseCreateMailServerByMacResponse parses an HTTP response from a CreateMailServerByMacWithResponse call
func (CreateMailServerByMacResponse) ContentType ¶
func (r CreateMailServerByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMailServerByMacResponse) GetBody ¶
func (r CreateMailServerByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateMailServerByMacResponse) Status ¶
func (r CreateMailServerByMacResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMailServerByMacResponse) StatusCode ¶
func (r CreateMailServerByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMailServerJSONRequestBody ¶
type CreateMailServerJSONRequestBody = MailServerOpenApiVO
CreateMailServerJSONRequestBody defines body for CreateMailServer for application/json ContentType.
type CreateMailServerResponse ¶
func ParseCreateMailServerResponse ¶
func ParseCreateMailServerResponse(rsp *http.Response) (*CreateMailServerResponse, error)
ParseCreateMailServerResponse parses an HTTP response from a CreateMailServerWithResponse call
func (CreateMailServerResponse) ContentType ¶
func (r CreateMailServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMailServerResponse) GetBody ¶
func (r CreateMailServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateMailServerResponse) Status ¶
func (r CreateMailServerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMailServerResponse) StatusCode ¶
func (r CreateMailServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportMessage ¶
type ExportMessage struct {
// EndTime The timeStamp of the message end time.
EndTime int64 `json:"endTime"`
// Format Message parameter [format] should be 0 or 1. 0:csv; 1:xlsx.
Format int32 `json:"format"`
// SimCard When the device supports Dual-SIM cardm parameter [simCard] should be 1 or 2. 1: SIM1; 2: SIM2.
SimCard *int32 `json:"simCard,omitempty"`
// StartTime The timeStamp of the message start time.
StartTime int64 `json:"startTime"`
// Type Message parameter [type] should be 0 or 1. 0:inbox; 1:outbox.
Type int32 `json:"type"`
}
ExportMessage defines model for ExportMessage.
type ExportSmsMessageBymacJSONRequestBody
deprecated
type ExportSmsMessageBymacJSONRequestBody = ExportMessage
ExportSmsMessageBymacJSONRequestBody defines body for ExportSmsMessageBymac for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ExportSmsMessageBymacResponse ¶
func ParseExportSmsMessageBymacResponse ¶
func ParseExportSmsMessageBymacResponse(rsp *http.Response) (*ExportSmsMessageBymacResponse, error)
ParseExportSmsMessageBymacResponse parses an HTTP response from a ExportSmsMessageBymacWithResponse call
func (ExportSmsMessageBymacResponse) ContentType ¶
func (r ExportSmsMessageBymacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportSmsMessageBymacResponse) GetBody ¶
func (r ExportSmsMessageBymacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportSmsMessageBymacResponse) Status ¶
func (r ExportSmsMessageBymacResponse) Status() string
Status returns HTTPResponse.Status
func (ExportSmsMessageBymacResponse) StatusCode ¶
func (r ExportSmsMessageBymacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportSmsMessageBymacV2JSONRequestBody ¶
type ExportSmsMessageBymacV2JSONRequestBody = ExportMessage
ExportSmsMessageBymacV2JSONRequestBody defines body for ExportSmsMessageBymacV2 for application/json ContentType.
type ExportSmsMessageBymacV2Response ¶
func ParseExportSmsMessageBymacV2Response ¶
func ParseExportSmsMessageBymacV2Response(rsp *http.Response) (*ExportSmsMessageBymacV2Response, error)
ParseExportSmsMessageBymacV2Response parses an HTTP response from a ExportSmsMessageBymacV2WithResponse call
func (ExportSmsMessageBymacV2Response) ContentType ¶
func (r ExportSmsMessageBymacV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportSmsMessageBymacV2Response) GetBody ¶
func (r ExportSmsMessageBymacV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportSmsMessageBymacV2Response) Status ¶
func (r ExportSmsMessageBymacV2Response) Status() string
Status returns HTTPResponse.Status
func (ExportSmsMessageBymacV2Response) StatusCode ¶
func (r ExportSmsMessageBymacV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportSmsMessageJSONRequestBody ¶
type ExportSmsMessageJSONRequestBody = ExportMessage
ExportSmsMessageJSONRequestBody defines body for ExportSmsMessage for application/json ContentType.
type ExportSmsMessageResponse ¶
func ParseExportSmsMessageResponse ¶
func ParseExportSmsMessageResponse(rsp *http.Response) (*ExportSmsMessageResponse, error)
ParseExportSmsMessageResponse parses an HTTP response from a ExportSmsMessageWithResponse call
func (ExportSmsMessageResponse) ContentType ¶
func (r ExportSmsMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportSmsMessageResponse) GetBody ¶
func (r ExportSmsMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportSmsMessageResponse) Status ¶
func (r ExportSmsMessageResponse) Status() string
Status returns HTTPResponse.Status
func (ExportSmsMessageResponse) StatusCode ¶
func (r ExportSmsMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSimCardSmsInboxMessageByMacParams ¶
type GetGridSimCardSmsInboxMessageByMacParams 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"`
}
GetGridSimCardSmsInboxMessageByMacParams defines parameters for GetGridSimCardSmsInboxMessageByMac.
type GetGridSimCardSmsInboxMessageByMacResponse ¶
func ParseGetGridSimCardSmsInboxMessageByMacResponse ¶
func ParseGetGridSimCardSmsInboxMessageByMacResponse(rsp *http.Response) (*GetGridSimCardSmsInboxMessageByMacResponse, error)
ParseGetGridSimCardSmsInboxMessageByMacResponse parses an HTTP response from a GetGridSimCardSmsInboxMessageByMacWithResponse call
func (GetGridSimCardSmsInboxMessageByMacResponse) ContentType ¶
func (r GetGridSimCardSmsInboxMessageByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSimCardSmsInboxMessageByMacResponse) GetBody ¶
func (r GetGridSimCardSmsInboxMessageByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSimCardSmsInboxMessageByMacResponse) Status ¶
func (r GetGridSimCardSmsInboxMessageByMacResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSimCardSmsInboxMessageByMacResponse) StatusCode ¶
func (r GetGridSimCardSmsInboxMessageByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSimCardSmsInboxMessageParams ¶
type GetGridSimCardSmsInboxMessageParams 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"`
}
GetGridSimCardSmsInboxMessageParams defines parameters for GetGridSimCardSmsInboxMessage.
type GetGridSimCardSmsInboxMessageResponse ¶
func ParseGetGridSimCardSmsInboxMessageResponse ¶
func ParseGetGridSimCardSmsInboxMessageResponse(rsp *http.Response) (*GetGridSimCardSmsInboxMessageResponse, error)
ParseGetGridSimCardSmsInboxMessageResponse parses an HTTP response from a GetGridSimCardSmsInboxMessageWithResponse call
func (GetGridSimCardSmsInboxMessageResponse) ContentType ¶
func (r GetGridSimCardSmsInboxMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSimCardSmsInboxMessageResponse) GetBody ¶
func (r GetGridSimCardSmsInboxMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSimCardSmsInboxMessageResponse) Status ¶
func (r GetGridSimCardSmsInboxMessageResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSimCardSmsInboxMessageResponse) StatusCode ¶
func (r GetGridSimCardSmsInboxMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSimCardSmsOutboxMessageByMacParams ¶
type GetGridSimCardSmsOutboxMessageByMacParams 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"`
}
GetGridSimCardSmsOutboxMessageByMacParams defines parameters for GetGridSimCardSmsOutboxMessageByMac.
type GetGridSimCardSmsOutboxMessageByMacResponse ¶
func ParseGetGridSimCardSmsOutboxMessageByMacResponse ¶
func ParseGetGridSimCardSmsOutboxMessageByMacResponse(rsp *http.Response) (*GetGridSimCardSmsOutboxMessageByMacResponse, error)
ParseGetGridSimCardSmsOutboxMessageByMacResponse parses an HTTP response from a GetGridSimCardSmsOutboxMessageByMacWithResponse call
func (GetGridSimCardSmsOutboxMessageByMacResponse) ContentType ¶
func (r GetGridSimCardSmsOutboxMessageByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSimCardSmsOutboxMessageByMacResponse) GetBody ¶
func (r GetGridSimCardSmsOutboxMessageByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSimCardSmsOutboxMessageByMacResponse) Status ¶
func (r GetGridSimCardSmsOutboxMessageByMacResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSimCardSmsOutboxMessageByMacResponse) StatusCode ¶
func (r GetGridSimCardSmsOutboxMessageByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSimCardSmsOutboxMessageParams ¶
type GetGridSimCardSmsOutboxMessageParams 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"`
}
GetGridSimCardSmsOutboxMessageParams defines parameters for GetGridSimCardSmsOutboxMessage.
type GetGridSimCardSmsOutboxMessageResponse ¶
func ParseGetGridSimCardSmsOutboxMessageResponse ¶
func ParseGetGridSimCardSmsOutboxMessageResponse(rsp *http.Response) (*GetGridSimCardSmsOutboxMessageResponse, error)
ParseGetGridSimCardSmsOutboxMessageResponse parses an HTTP response from a GetGridSimCardSmsOutboxMessageWithResponse call
func (GetGridSimCardSmsOutboxMessageResponse) ContentType ¶
func (r GetGridSimCardSmsOutboxMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSimCardSmsOutboxMessageResponse) GetBody ¶
func (r GetGridSimCardSmsOutboxMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSimCardSmsOutboxMessageResponse) Status ¶
func (r GetGridSimCardSmsOutboxMessageResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSimCardSmsOutboxMessageResponse) StatusCode ¶
func (r GetGridSimCardSmsOutboxMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSmsInboxMessageByMacParams ¶
type GetGridSmsInboxMessageByMacParams 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"`
}
GetGridSmsInboxMessageByMacParams defines parameters for GetGridSmsInboxMessageByMac.
type GetGridSmsInboxMessageByMacResponse ¶
func ParseGetGridSmsInboxMessageByMacResponse ¶
func ParseGetGridSmsInboxMessageByMacResponse(rsp *http.Response) (*GetGridSmsInboxMessageByMacResponse, error)
ParseGetGridSmsInboxMessageByMacResponse parses an HTTP response from a GetGridSmsInboxMessageByMacWithResponse call
func (GetGridSmsInboxMessageByMacResponse) ContentType ¶
func (r GetGridSmsInboxMessageByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSmsInboxMessageByMacResponse) GetBody ¶
func (r GetGridSmsInboxMessageByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSmsInboxMessageByMacResponse) Status ¶
func (r GetGridSmsInboxMessageByMacResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSmsInboxMessageByMacResponse) StatusCode ¶
func (r GetGridSmsInboxMessageByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSmsInboxMessageParams ¶
type GetGridSmsInboxMessageParams 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"`
}
GetGridSmsInboxMessageParams defines parameters for GetGridSmsInboxMessage.
type GetGridSmsInboxMessageResponse ¶
func ParseGetGridSmsInboxMessageResponse ¶
func ParseGetGridSmsInboxMessageResponse(rsp *http.Response) (*GetGridSmsInboxMessageResponse, error)
ParseGetGridSmsInboxMessageResponse parses an HTTP response from a GetGridSmsInboxMessageWithResponse call
func (GetGridSmsInboxMessageResponse) ContentType ¶
func (r GetGridSmsInboxMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSmsInboxMessageResponse) GetBody ¶
func (r GetGridSmsInboxMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSmsInboxMessageResponse) Status ¶
func (r GetGridSmsInboxMessageResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSmsInboxMessageResponse) StatusCode ¶
func (r GetGridSmsInboxMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSmsOutboxMessageByMacParams ¶
type GetGridSmsOutboxMessageByMacParams 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"`
}
GetGridSmsOutboxMessageByMacParams defines parameters for GetGridSmsOutboxMessageByMac.
type GetGridSmsOutboxMessageByMacResponse ¶
func ParseGetGridSmsOutboxMessageByMacResponse ¶
func ParseGetGridSmsOutboxMessageByMacResponse(rsp *http.Response) (*GetGridSmsOutboxMessageByMacResponse, error)
ParseGetGridSmsOutboxMessageByMacResponse parses an HTTP response from a GetGridSmsOutboxMessageByMacWithResponse call
func (GetGridSmsOutboxMessageByMacResponse) ContentType ¶
func (r GetGridSmsOutboxMessageByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSmsOutboxMessageByMacResponse) GetBody ¶
func (r GetGridSmsOutboxMessageByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSmsOutboxMessageByMacResponse) Status ¶
func (r GetGridSmsOutboxMessageByMacResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSmsOutboxMessageByMacResponse) StatusCode ¶
func (r GetGridSmsOutboxMessageByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSmsOutboxMessageParams ¶
type GetGridSmsOutboxMessageParams 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"`
}
GetGridSmsOutboxMessageParams defines parameters for GetGridSmsOutboxMessage.
type GetGridSmsOutboxMessageResponse ¶
func ParseGetGridSmsOutboxMessageResponse ¶
func ParseGetGridSmsOutboxMessageResponse(rsp *http.Response) (*GetGridSmsOutboxMessageResponse, error)
ParseGetGridSmsOutboxMessageResponse parses an HTTP response from a GetGridSmsOutboxMessageWithResponse call
func (GetGridSmsOutboxMessageResponse) ContentType ¶
func (r GetGridSmsOutboxMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSmsOutboxMessageResponse) GetBody ¶
func (r GetGridSmsOutboxMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSmsOutboxMessageResponse) Status ¶
func (r GetGridSmsOutboxMessageResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSmsOutboxMessageResponse) StatusCode ¶
func (r GetGridSmsOutboxMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMailServerByMacResponse ¶
func ParseGetMailServerByMacResponse ¶
func ParseGetMailServerByMacResponse(rsp *http.Response) (*GetMailServerByMacResponse, error)
ParseGetMailServerByMacResponse parses an HTTP response from a GetMailServerByMacWithResponse call
func (GetMailServerByMacResponse) ContentType ¶
func (r GetMailServerByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMailServerByMacResponse) GetBody ¶
func (r GetMailServerByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMailServerByMacResponse) Status ¶
func (r GetMailServerByMacResponse) Status() string
Status returns HTTPResponse.Status
func (GetMailServerByMacResponse) StatusCode ¶
func (r GetMailServerByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMailServerResponse ¶
func ParseGetMailServerResponse ¶
func ParseGetMailServerResponse(rsp *http.Response) (*GetMailServerResponse, error)
ParseGetMailServerResponse parses an HTTP response from a GetMailServerWithResponse call
func (GetMailServerResponse) ContentType ¶
func (r GetMailServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMailServerResponse) GetBody ¶
func (r GetMailServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMailServerResponse) Status ¶
func (r GetMailServerResponse) Status() string
Status returns HTTPResponse.Status
func (GetMailServerResponse) StatusCode ¶
func (r GetMailServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMailServerTemplateResponse ¶
func ParseGetMailServerTemplateResponse ¶
func ParseGetMailServerTemplateResponse(rsp *http.Response) (*GetMailServerTemplateResponse, error)
ParseGetMailServerTemplateResponse parses an HTTP response from a GetMailServerTemplateWithResponse call
func (GetMailServerTemplateResponse) ContentType ¶
func (r GetMailServerTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMailServerTemplateResponse) GetBody ¶
func (r GetMailServerTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMailServerTemplateResponse) Status ¶
func (r GetMailServerTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetMailServerTemplateResponse) StatusCode ¶
func (r GetMailServerTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSupportSmsByMacResponse ¶
func ParseGetSupportSmsByMacResponse ¶
func ParseGetSupportSmsByMacResponse(rsp *http.Response) (*GetSupportSmsByMacResponse, error)
ParseGetSupportSmsByMacResponse parses an HTTP response from a GetSupportSmsByMacWithResponse call
func (GetSupportSmsByMacResponse) ContentType ¶
func (r GetSupportSmsByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSupportSmsByMacResponse) GetBody ¶
func (r GetSupportSmsByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSupportSmsByMacResponse) Status ¶
func (r GetSupportSmsByMacResponse) Status() string
Status returns HTTPResponse.Status
func (GetSupportSmsByMacResponse) StatusCode ¶
func (r GetSupportSmsByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSupportSmsResponse ¶
func ParseGetSupportSmsResponse ¶
func ParseGetSupportSmsResponse(rsp *http.Response) (*GetSupportSmsResponse, error)
ParseGetSupportSmsResponse parses an HTTP response from a GetSupportSmsWithResponse call
func (GetSupportSmsResponse) ContentType ¶
func (r GetSupportSmsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSupportSmsResponse) GetBody ¶
func (r GetSupportSmsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSupportSmsResponse) Status ¶
func (r GetSupportSmsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSupportSmsResponse) StatusCode ¶
func (r GetSupportSmsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GridVOInboxMessage ¶
type GridVOInboxMessage struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]InboxMessage `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOInboxMessage defines model for GridVOInboxMessage.
type GridVOMessage ¶
type GridVOMessage struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]Message `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOMessage defines model for GridVOMessage.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InboxMessage ¶
type InboxMessage struct {
// Content Message content.
Content *string `json:"content,omitempty"`
// Id Item ID.
Id *int32 `json:"id,omitempty"`
// Sender Sender.
Sender *string `json:"sender,omitempty"`
// Time Time.
Time *int64 `json:"time,omitempty"`
// Unread Unread or not.
Unread *bool `json:"unread,omitempty"`
}
InboxMessage defines model for InboxMessage.
type InstancesVO ¶
type InstancesVO struct {
// Cost cost
Cost *int32 `json:"cost,omitempty"`
// CostMode costMode, 0: auto / 1: custom
CostMode *int32 `json:"costMode,omitempty"`
// Id mstp instanceId
Id *int32 `json:"id,omitempty"`
// Priority priority
Priority *int32 `json:"priority,omitempty"`
// Stp stp, 0: MSTP / 1: RPVST
Stp *int32 `json:"stp,omitempty"`
// Vlan rpvst vlanId
Vlan *string `json:"vlan,omitempty"`
}
InstancesVO Instances
type LagCapVO ¶
type LagCapVO struct {
// LacpModSupport Lacp Mod Support
LacpModSupport *bool `json:"lacpModSupport,omitempty"`
// LagHashAlgSupport Lag Hash Algorithm Support
LagHashAlgSupport *bool `json:"lagHashAlgSupport,omitempty"`
// LagHashAlgs Support Lag Hash Algorithms, 0: SRC_MAC; 1: DST_MAC; 2: SRC_MAC_DST_MAC; 3: SRC_IP; 4: DST_IP; 5: SRC_IP_DST_IP
LagHashAlgs *[]int32 `json:"lagHashAlgs,omitempty"`
}
LagCapVO Capability of lag
type LanPort ¶
type LanPort struct {
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// InternetState Port Internet State
InternetState *int32 `json:"internetState,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Name Port Name
Name *string `json:"name,omitempty"`
// OnlineDetection Port Online Detection
OnlineDetection *int32 `json:"onlineDetection,omitempty"`
// Port Port Id
Port *string `json:"port,omitempty"`
// Status Port Status
Status *int32 `json:"status,omitempty"`
}
LanPort Lan Port List
type MailServerOpenApiModifyVO ¶
type MailServerOpenApiModifyVO struct {
// Auth Enable this feature if the login of the mailbox requires a username and authorization code.
Auth bool `json:"auth"`
// AuthCode When Authentication is enabled, enter the authorization code that enables a third party to log in to the mailbox. Note that the authorization code is not the mailbox's password.
AuthCode *string `json:"authCode,omitempty"`
// Receiver The email address of the receiver, which can be the same as or different from the sender's email address.
Receiver string `json:"receiver"`
// Sender The email address of the sender.
Sender string `json:"sender"`
// SmtpPort Enter the port used by the SMTP server according to the instructions of your email service provider.
SmtpPort *int32 `json:"smtpPort,omitempty"`
// SmtpServer Enter the domain name or IP address of the SMTP server.
SmtpServer *string `json:"smtpServer,omitempty"`
// Ssl Enable this feature, and the data will be transmitted based on the SSL protocol.
Ssl bool `json:"ssl"`
// Username When Authentication is enabled, enter your email address as the username.
Username *string `json:"username,omitempty"`
}
MailServerOpenApiModifyVO defines model for MailServerOpenApiModifyVO.
type MailServerOpenApiVO ¶
type MailServerOpenApiVO struct {
// Auth Enable this feature if the login of the mailbox requires a username and authorization code.
Auth bool `json:"auth"`
// AuthCode When Authentication is enabled, enter the authorization code that enables a third party to log in to the mailbox. Note that the authorization code is not the mailbox's password.
AuthCode *string `json:"authCode,omitempty"`
// Id Mail server ID.
Id *string `json:"id,omitempty"`
// Receiver The email address of the receiver, which can be the same as or different from the sender's email address.
Receiver string `json:"receiver"`
// Resource Mail server setting creation resource, such as: 0: new created, 1: from template, 2: override.
Resource *int32 `json:"resource,omitempty"`
// Sender The email address of the sender.
Sender string `json:"sender"`
// SmtpPort Enter the port used by the SMTP server according to the instructions of your email service provider.
SmtpPort *int32 `json:"smtpPort,omitempty"`
// SmtpServer Enter the domain name or IP address of the SMTP server.
SmtpServer *string `json:"smtpServer,omitempty"`
// Ssl Enable this feature, and the data will be transmitted based on the SSL protocol.
Ssl bool `json:"ssl"`
// Username When Authentication is enabled, enter your email address as the username.
Username *string `json:"username,omitempty"`
}
MailServerOpenApiVO defines model for MailServerOpenApiVO.
type Message ¶
type Message struct {
// Content Message content.
Content *string `json:"content,omitempty"`
// Id Item ID.
Id *int32 `json:"id,omitempty"`
// Time Time.
Time *int64 `json:"time,omitempty"`
}
Message defines model for Message.
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 ModifyMailServerJSONRequestBody ¶
type ModifyMailServerJSONRequestBody = MailServerOpenApiVO
ModifyMailServerJSONRequestBody defines body for ModifyMailServer for application/json ContentType.
type ModifyMailServerResponse ¶
func ParseModifyMailServerResponse ¶
func ParseModifyMailServerResponse(rsp *http.Response) (*ModifyMailServerResponse, error)
ParseModifyMailServerResponse parses an HTTP response from a ModifyMailServerWithResponse call
func (ModifyMailServerResponse) ContentType ¶
func (r ModifyMailServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyMailServerResponse) GetBody ¶
func (r ModifyMailServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyMailServerResponse) Status ¶
func (r ModifyMailServerResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyMailServerResponse) StatusCode ¶
func (r ModifyMailServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyMailServerTemplateJSONRequestBody ¶
type ModifyMailServerTemplateJSONRequestBody = MailServerOpenApiModifyVO
ModifyMailServerTemplateJSONRequestBody defines body for ModifyMailServerTemplate for application/json ContentType.
type ModifyMailServerTemplateResponse ¶
func ParseModifyMailServerTemplateResponse ¶
func ParseModifyMailServerTemplateResponse(rsp *http.Response) (*ModifyMailServerTemplateResponse, error)
ParseModifyMailServerTemplateResponse parses an HTTP response from a ModifyMailServerTemplateWithResponse call
func (ModifyMailServerTemplateResponse) ContentType ¶
func (r ModifyMailServerTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyMailServerTemplateResponse) GetBody ¶
func (r ModifyMailServerTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyMailServerTemplateResponse) Status ¶
func (r ModifyMailServerTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyMailServerTemplateResponse) StatusCode ¶
func (r ModifyMailServerTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySimQuotaSettingByMacJSONRequestBody ¶
type ModifySimQuotaSettingByMacJSONRequestBody = SimQuotaSetting
ModifySimQuotaSettingByMacJSONRequestBody defines body for ModifySimQuotaSettingByMac for application/json ContentType.
type ModifySimQuotaSettingByMacResponse ¶
func ParseModifySimQuotaSettingByMacResponse ¶
func ParseModifySimQuotaSettingByMacResponse(rsp *http.Response) (*ModifySimQuotaSettingByMacResponse, error)
ParseModifySimQuotaSettingByMacResponse parses an HTTP response from a ModifySimQuotaSettingByMacWithResponse call
func (ModifySimQuotaSettingByMacResponse) ContentType ¶
func (r ModifySimQuotaSettingByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySimQuotaSettingByMacResponse) GetBody ¶
func (r ModifySimQuotaSettingByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySimQuotaSettingByMacResponse) Status ¶
func (r ModifySimQuotaSettingByMacResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySimQuotaSettingByMacResponse) StatusCode ¶
func (r ModifySimQuotaSettingByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySimQuotaSettingJSONRequestBody ¶
type ModifySimQuotaSettingJSONRequestBody = SimQuotaSetting
ModifySimQuotaSettingJSONRequestBody defines body for ModifySimQuotaSetting for application/json ContentType.
type ModifySimQuotaSettingResponse ¶
func ParseModifySimQuotaSettingResponse ¶
func ParseModifySimQuotaSettingResponse(rsp *http.Response) (*ModifySimQuotaSettingResponse, error)
ParseModifySimQuotaSettingResponse parses an HTTP response from a ModifySimQuotaSettingWithResponse call
func (ModifySimQuotaSettingResponse) ContentType ¶
func (r ModifySimQuotaSettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySimQuotaSettingResponse) GetBody ¶
func (r ModifySimQuotaSettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySimQuotaSettingResponse) Status ¶
func (r ModifySimQuotaSettingResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySimQuotaSettingResponse) StatusCode ¶
func (r ModifySimQuotaSettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySmsPolicySettingByMacJSONRequestBody ¶
type ModifySmsPolicySettingByMacJSONRequestBody = SmaPolicySetting
ModifySmsPolicySettingByMacJSONRequestBody defines body for ModifySmsPolicySettingByMac for application/json ContentType.
type ModifySmsPolicySettingByMacResponse ¶
func ParseModifySmsPolicySettingByMacResponse ¶
func ParseModifySmsPolicySettingByMacResponse(rsp *http.Response) (*ModifySmsPolicySettingByMacResponse, error)
ParseModifySmsPolicySettingByMacResponse parses an HTTP response from a ModifySmsPolicySettingByMacWithResponse call
func (ModifySmsPolicySettingByMacResponse) ContentType ¶
func (r ModifySmsPolicySettingByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySmsPolicySettingByMacResponse) GetBody ¶
func (r ModifySmsPolicySettingByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySmsPolicySettingByMacResponse) Status ¶
func (r ModifySmsPolicySettingByMacResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySmsPolicySettingByMacResponse) StatusCode ¶
func (r ModifySmsPolicySettingByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySmsPolicySettingJSONRequestBody ¶
type ModifySmsPolicySettingJSONRequestBody = SmaPolicySetting
ModifySmsPolicySettingJSONRequestBody defines body for ModifySmsPolicySetting for application/json ContentType.
type ModifySmsPolicySettingResponse ¶
func ParseModifySmsPolicySettingResponse ¶
func ParseModifySmsPolicySettingResponse(rsp *http.Response) (*ModifySmsPolicySettingResponse, error)
ParseModifySmsPolicySettingResponse parses an HTTP response from a ModifySmsPolicySettingWithResponse call
func (ModifySmsPolicySettingResponse) ContentType ¶
func (r ModifySmsPolicySettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySmsPolicySettingResponse) GetBody ¶
func (r ModifySmsPolicySettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySmsPolicySettingResponse) Status ¶
func (r ModifySmsPolicySettingResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySmsPolicySettingResponse) StatusCode ¶
func (r ModifySmsPolicySettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySmsPolicySettingTemplateJSONRequestBody ¶
type ModifySmsPolicySettingTemplateJSONRequestBody = SmaPolicySetting
ModifySmsPolicySettingTemplateJSONRequestBody defines body for ModifySmsPolicySettingTemplate for application/json ContentType.
type ModifySmsPolicySettingTemplateResponse ¶
func ParseModifySmsPolicySettingTemplateResponse ¶
func ParseModifySmsPolicySettingTemplateResponse(rsp *http.Response) (*ModifySmsPolicySettingTemplateResponse, error)
ParseModifySmsPolicySettingTemplateResponse parses an HTTP response from a ModifySmsPolicySettingTemplateWithResponse call
func (ModifySmsPolicySettingTemplateResponse) ContentType ¶
func (r ModifySmsPolicySettingTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySmsPolicySettingTemplateResponse) GetBody ¶
func (r ModifySmsPolicySettingTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySmsPolicySettingTemplateResponse) Status ¶
func (r ModifySmsPolicySettingTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySmsPolicySettingTemplateResponse) StatusCode ¶
func (r ModifySmsPolicySettingTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySmsRouterCommandByMacJSONRequestBody ¶
type ModifySmsRouterCommandByMacJSONRequestBody = SmsRouterCommand
ModifySmsRouterCommandByMacJSONRequestBody defines body for ModifySmsRouterCommandByMac for application/json ContentType.
type ModifySmsRouterCommandByMacResponse ¶
func ParseModifySmsRouterCommandByMacResponse ¶
func ParseModifySmsRouterCommandByMacResponse(rsp *http.Response) (*ModifySmsRouterCommandByMacResponse, error)
ParseModifySmsRouterCommandByMacResponse parses an HTTP response from a ModifySmsRouterCommandByMacWithResponse call
func (ModifySmsRouterCommandByMacResponse) ContentType ¶
func (r ModifySmsRouterCommandByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySmsRouterCommandByMacResponse) GetBody ¶
func (r ModifySmsRouterCommandByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySmsRouterCommandByMacResponse) Status ¶
func (r ModifySmsRouterCommandByMacResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySmsRouterCommandByMacResponse) StatusCode ¶
func (r ModifySmsRouterCommandByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySmsRouterCommandJSONRequestBody ¶
type ModifySmsRouterCommandJSONRequestBody = SmsRouterCommand
ModifySmsRouterCommandJSONRequestBody defines body for ModifySmsRouterCommand for application/json ContentType.
type ModifySmsRouterCommandResponse ¶
func ParseModifySmsRouterCommandResponse ¶
func ParseModifySmsRouterCommandResponse(rsp *http.Response) (*ModifySmsRouterCommandResponse, error)
ParseModifySmsRouterCommandResponse parses an HTTP response from a ModifySmsRouterCommandWithResponse call
func (ModifySmsRouterCommandResponse) ContentType ¶
func (r ModifySmsRouterCommandResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySmsRouterCommandResponse) GetBody ¶
func (r ModifySmsRouterCommandResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySmsRouterCommandResponse) Status ¶
func (r ModifySmsRouterCommandResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySmsRouterCommandResponse) StatusCode ¶
func (r ModifySmsRouterCommandResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySmsRouterCommandTemplateJSONRequestBody ¶
type ModifySmsRouterCommandTemplateJSONRequestBody = SmsRouterCommand
ModifySmsRouterCommandTemplateJSONRequestBody defines body for ModifySmsRouterCommandTemplate for application/json ContentType.
type ModifySmsRouterCommandTemplateResponse ¶
func ParseModifySmsRouterCommandTemplateResponse ¶
func ParseModifySmsRouterCommandTemplateResponse(rsp *http.Response) (*ModifySmsRouterCommandTemplateResponse, error)
ParseModifySmsRouterCommandTemplateResponse parses an HTTP response from a ModifySmsRouterCommandTemplateWithResponse call
func (ModifySmsRouterCommandTemplateResponse) ContentType ¶
func (r ModifySmsRouterCommandTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySmsRouterCommandTemplateResponse) GetBody ¶
func (r ModifySmsRouterCommandTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySmsRouterCommandTemplateResponse) Status ¶
func (r ModifySmsRouterCommandTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySmsRouterCommandTemplateResponse) StatusCode ¶
func (r ModifySmsRouterCommandTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MultiLinkEntryDTO ¶
type MultiLinkEntryDTO struct {
// Channel MLO Channel
Channel *int32 `json:"channel,omitempty"`
// Radio MLO Radio
Radio *int32 `json:"radio,omitempty"`
}
MultiLinkEntryDTO Vigi MultiLink In MLO Mode
type OnuInformationConfigDTO ¶
type OnuInformationConfigDTO struct {
// ActiveStatus Active status should be a value as follows:ACTIVE: ONU is in an active state, capable of data communication and carrying services.
// INACTIVE: ONU is in an inactive state, possibly due to unactivated configuration, being offline, configuration failure, or mismatched configuration.
ActiveStatus *OnuInformationConfigDTOActiveStatus `json:"activeStatus,omitempty"`
// AdminStatus Admin status should be a value as follows:ACTIVATE,DEACTIVATE
AdminStatus *OnuInformationConfigDTOAdminStatus `json:"adminStatus,omitempty"`
// ConfigStatus Config status should be a value as follows:SUCCESS: Configuration successfully delivered and recognized by the ONU.FAILED: Configuration not successfully delivered or not recognized by the ONU.
ConfigStatus *OnuInformationConfigDTOConfigStatus `json:"configStatus,omitempty"`
// EquipmentId Matched ONU device ID, equipmentId should contain 1 to 20 characters in ASCII code from \x21 to \x7e.
EquipmentId *string `json:"equipmentId,omitempty"`
// HardwareVersion Hardware version of the ONU, hardwareVersion should contain 1 to 20 characters, including uppercase and lowercase letters, numbers, and the symbols -@_:/.
HardwareVersion *string `json:"hardwareVersion,omitempty"`
// Key Identifier of ONU
Key *string `json:"key,omitempty"`
// LineProfile Line profile.Display in the format: Line_Profile_Name + Line_Profile_ID.
LineProfile *string `json:"lineProfile,omitempty"`
// MacAddress Mac address of ONU
MacAddress *string `json:"macAddress,omitempty"`
// MatchStatus Match status should be a value as follows:MATCH: ONU hardware capabilities are consistent with the bound service template.MISMATCH: ONU hardware capabilities are inconsistent with the bound service template.
MatchStatus *OnuInformationConfigDTOMatchStatus `json:"matchStatus,omitempty"`
// OnlineStatus Online status should be a value as follows:ONLINE,OFFLINE
OnlineStatus *OnuInformationConfigDTOOnlineStatus `json:"onlineStatus,omitempty"`
// OnuDescription Description of ONU.OnuDescription should be 1-32 characters, including letters, numbers, and symbols (-@_:/.).
OnuDescription *string `json:"onuDescription,omitempty"`
// OnuId Onu Id should be within the range of 0 to 127
OnuId *int32 `json:"onuId,omitempty"`
// PonPortId PON port ID of the registered and online ONT
PonPortId *int32 `json:"ponPortId,omitempty"`
// PonPortStr String form of pon port.e.g.,PON 1/2/1
PonPortStr *string `json:"ponPortStr,omitempty"`
// ReceivedOpticalPower ONU's received power, in dBm.
ReceivedOpticalPower *string `json:"receivedOpticalPower,omitempty"`
// SerialNumber SerialNumber should contain 12, 13, or 16 characters, formatted as `XXXXXXXXXXXX`,'XXXX-XXXXXXXX','XXXXXXXXXXXXXXXX'.
SerialNumber *string `json:"serialNumber,omitempty"`
// ServicePortProfile Service port profile.Display in the format: Service_Port_Profile_Name + Service_Port_Profile_ID.
ServicePortProfile *string `json:"servicePortProfile,omitempty"`
// ServiceProfile Service profile.Display in the format: Service_Profile_Name + Service_Profile_ID.
ServiceProfile *string `json:"serviceProfile,omitempty"`
SoftWareVersion *string `json:"softWareVersion,omitempty"`
// SoftwareVersion Content
SoftwareVersion *OnuInformationConfigDTO `json:"softwareVersion,omitempty"`
// TransmittedOpticalPower ONU's transmission power, in dBm.
TransmittedOpticalPower *string `json:"transmittedOpticalPower,omitempty"`
}
OnuInformationConfigDTO Content
type OnuInformationConfigDTOActiveStatus ¶
type OnuInformationConfigDTOActiveStatus string
OnuInformationConfigDTOActiveStatus Active status should be a value as follows:ACTIVE: ONU is in an active state, capable of data communication and carrying services. INACTIVE: ONU is in an inactive state, possibly due to unactivated configuration, being offline, configuration failure, or mismatched configuration.
const ( ACTIVE OnuInformationConfigDTOActiveStatus = "ACTIVE" INACTIVE OnuInformationConfigDTOActiveStatus = "INACTIVE" )
Defines values for OnuInformationConfigDTOActiveStatus.
func (OnuInformationConfigDTOActiveStatus) Valid ¶
func (e OnuInformationConfigDTOActiveStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOActiveStatus enum.
type OnuInformationConfigDTOAdminStatus ¶
type OnuInformationConfigDTOAdminStatus string
OnuInformationConfigDTOAdminStatus Admin status should be a value as follows:ACTIVATE,DEACTIVATE
const ( ACTIVATE OnuInformationConfigDTOAdminStatus = "ACTIVATE" ACTIVATED OnuInformationConfigDTOAdminStatus = "ACTIVATED" DEACTIVATE OnuInformationConfigDTOAdminStatus = "DEACTIVATE" DEACTIVATED OnuInformationConfigDTOAdminStatus = "DEACTIVATED" )
Defines values for OnuInformationConfigDTOAdminStatus.
func (OnuInformationConfigDTOAdminStatus) Valid ¶
func (e OnuInformationConfigDTOAdminStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOAdminStatus enum.
type OnuInformationConfigDTOConfigStatus ¶
type OnuInformationConfigDTOConfigStatus string
OnuInformationConfigDTOConfigStatus Config status should be a value as follows:SUCCESS: Configuration successfully delivered and recognized by the ONU.FAILED: Configuration not successfully delivered or not recognized by the ONU.
const ( OnuInformationConfigDTOConfigStatusFAILED OnuInformationConfigDTOConfigStatus = "FAILED" OnuInformationConfigDTOConfigStatusSUCCESS OnuInformationConfigDTOConfigStatus = "SUCCESS" )
Defines values for OnuInformationConfigDTOConfigStatus.
func (OnuInformationConfigDTOConfigStatus) Valid ¶
func (e OnuInformationConfigDTOConfigStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOConfigStatus enum.
type OnuInformationConfigDTOMatchStatus ¶
type OnuInformationConfigDTOMatchStatus string
OnuInformationConfigDTOMatchStatus Match status should be a value as follows:MATCH: ONU hardware capabilities are consistent with the bound service template.MISMATCH: ONU hardware capabilities are inconsistent with the bound service template.
const ( MATCH OnuInformationConfigDTOMatchStatus = "MATCH" MISMATCH OnuInformationConfigDTOMatchStatus = "MISMATCH" )
Defines values for OnuInformationConfigDTOMatchStatus.
func (OnuInformationConfigDTOMatchStatus) Valid ¶
func (e OnuInformationConfigDTOMatchStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOMatchStatus enum.
type OnuInformationConfigDTOOnlineStatus ¶
type OnuInformationConfigDTOOnlineStatus string
OnuInformationConfigDTOOnlineStatus Online status should be a value as follows:ONLINE,OFFLINE
const ( OnuInformationConfigDTOOnlineStatusFAILED OnuInformationConfigDTOOnlineStatus = "FAILED" OnuInformationConfigDTOOnlineStatusOFFLINE OnuInformationConfigDTOOnlineStatus = "OFFLINE" OnuInformationConfigDTOOnlineStatusONLINE OnuInformationConfigDTOOnlineStatus = "ONLINE" OnuInformationConfigDTOOnlineStatusSUCCESSFUL OnuInformationConfigDTOOnlineStatus = "SUCCESSFUL" OnuInformationConfigDTOOnlineStatusUPGRADING OnuInformationConfigDTOOnlineStatus = "UPGRADING" OnuInformationConfigDTOOnlineStatusWAITINGUPGRADE OnuInformationConfigDTOOnlineStatus = "WAITING_UPGRADE" )
Defines values for OnuInformationConfigDTOOnlineStatus.
func (OnuInformationConfigDTOOnlineStatus) Valid ¶
func (e OnuInformationConfigDTOOnlineStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOOnlineStatus enum.
type OperateMessage ¶
type OperateMessage struct {
// Ids Message ID list. When parameter [operation] is 1 or 2, parameter [ids] should not be null.
Ids *[]int32 `json:"ids,omitempty"`
// Operation Operation Type. 1:delete; 2:read; 3:clear.
Operation int32 `json:"operation"`
// SimCard When the device supports Dual-SIM card, parameter [simCard] should not be null.1: SIM1; 2: SIM2.
SimCard *int32 `json:"simCard,omitempty"`
// Type Message Type. 0: inbox; 1: outbox.
Type int32 `json:"type"`
}
OperateMessage defines model for OperateMessage.
type OperateSmsMessageByMacJSONRequestBody ¶
type OperateSmsMessageByMacJSONRequestBody = OperateMessage
OperateSmsMessageByMacJSONRequestBody defines body for OperateSmsMessageByMac for application/json ContentType.
type OperateSmsMessageByMacResponse ¶
func ParseOperateSmsMessageByMacResponse ¶
func ParseOperateSmsMessageByMacResponse(rsp *http.Response) (*OperateSmsMessageByMacResponse, error)
ParseOperateSmsMessageByMacResponse parses an HTTP response from a OperateSmsMessageByMacWithResponse call
func (OperateSmsMessageByMacResponse) ContentType ¶
func (r OperateSmsMessageByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OperateSmsMessageByMacResponse) GetBody ¶
func (r OperateSmsMessageByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OperateSmsMessageByMacResponse) Status ¶
func (r OperateSmsMessageByMacResponse) Status() string
Status returns HTTPResponse.Status
func (OperateSmsMessageByMacResponse) StatusCode ¶
func (r OperateSmsMessageByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OperateSmsMessageJSONRequestBody ¶
type OperateSmsMessageJSONRequestBody = OperateMessage
OperateSmsMessageJSONRequestBody defines body for OperateSmsMessage for application/json ContentType.
type OperateSmsMessageResponse ¶
func ParseOperateSmsMessageResponse ¶
func ParseOperateSmsMessageResponse(rsp *http.Response) (*OperateSmsMessageResponse, error)
ParseOperateSmsMessageResponse parses an HTTP response from a OperateSmsMessageWithResponse call
func (OperateSmsMessageResponse) ContentType ¶
func (r OperateSmsMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OperateSmsMessageResponse) GetBody ¶
func (r OperateSmsMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OperateSmsMessageResponse) Status ¶
func (r OperateSmsMessageResponse) Status() string
Status returns HTTPResponse.Status
func (OperateSmsMessageResponse) StatusCode ¶
func (r OperateSmsMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OperationResponseGridVOInboxMessage ¶
type OperationResponseGridVOInboxMessage struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOInboxMessage `json:"result,omitempty"`
}
OperationResponseGridVOInboxMessage defines model for OperationResponseGridVOInboxMessage.
type OperationResponseGridVOMessage ¶
type OperationResponseGridVOMessage struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOMessage `json:"result,omitempty"`
}
OperationResponseGridVOMessage defines model for OperationResponseGridVOMessage.
type OperationResponseMailServerOpenApiVO ¶
type OperationResponseMailServerOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *MailServerOpenApiVO `json:"result,omitempty"`
}
OperationResponseMailServerOpenApiVO defines model for OperationResponseMailServerOpenApiVO.
type OperationResponseOutboxMessageOpenApiGridVOOutboxMessage ¶
type OperationResponseOutboxMessageOpenApiGridVOOutboxMessage struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *OutboxMessageOpenApiGridVOOutboxMessage `json:"result,omitempty"`
}
OperationResponseOutboxMessageOpenApiGridVOOutboxMessage defines model for OperationResponseOutboxMessageOpenApiGridVOOutboxMessage.
type OperationResponseSimQuotaSetting ¶
type OperationResponseSimQuotaSetting struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
// Result When parameter [type] is 0, parameter [content] should not be null.
Result *SimQuotaSetting `json:"result,omitempty"`
}
OperationResponseSimQuotaSetting defines model for OperationResponseSimQuotaSetting.
type OperationResponseSmaPolicySetting ¶
type OperationResponseSmaPolicySetting struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *SmaPolicySetting `json:"result,omitempty"`
}
OperationResponseSmaPolicySetting defines model for OperationResponseSmaPolicySetting.
type OperationResponseSmsRouterCommand ¶
type OperationResponseSmsRouterCommand struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *SmsRouterCommand `json:"result,omitempty"`
}
OperationResponseSmsRouterCommand defines model for OperationResponseSmsRouterCommand.
type OperationResponseSupportSmsOpenApiVO ¶
type OperationResponseSupportSmsOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *SupportSmsOpenApiVO `json:"result,omitempty"`
}
OperationResponseSupportSmsOpenApiVO defines model for OperationResponseSupportSmsOpenApiVO.
type OperationResponseWithoutResult ¶
type OperationResponseWithoutResult struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
}
OperationResponseWithoutResult defines model for OperationResponseWithoutResult.
type OswBandCtrlLimitRangeVO ¶
type OswBandCtrlLimitRangeVO struct {
// MaxEgressRate max egress rate
MaxEgressRate *int32 `json:"maxEgressRate,omitempty"`
// MaxIngressRate max ingress rate
MaxIngressRate *int32 `json:"maxIngressRate,omitempty"`
// MinEgressRate min egress rate
MinEgressRate *int32 `json:"minEgressRate,omitempty"`
// MinIngressRate min ingress rate
MinIngressRate *int32 `json:"minIngressRate,omitempty"`
// Unit unit: 1: kbps, 2: mbps
Unit *int32 `json:"unit,omitempty"`
}
OswBandCtrlLimitRangeVO The limit range of the bandwidth control
type OswBandCtrlVO ¶
type OswBandCtrlVO struct {
// EgressEnable Indicates whether egress is enabled
EgressEnable bool `json:"egressEnable"`
// EgressLimit Egress Limit, when the user-configured value is much larger than the actual maximum value, the device will process it at the maximum value
EgressLimit *int32 `json:"egressLimit,omitempty"`
// EgressUnit Egress Unit should be a value as follows: 1: Kbps; 2: Mbps
EgressUnit *int32 `json:"egressUnit,omitempty"`
// IngressEnable Indicates whether egress is enabled
IngressEnable bool `json:"ingressEnable"`
// IngressLimit Ingress Limit, when the user-configured value is much larger than the actual maximum value, the device will process it at the maximum value
IngressLimit *int32 `json:"ingressLimit,omitempty"`
// IngressUnit Ingress Unit should be a value as follows: 1: Kbps; 2: Mbps
IngressUnit *int32 `json:"ingressUnit,omitempty"`
// LimitRange The limit range of the bandwidth control
LimitRange *[]OswBandCtrlLimitRangeVO `json:"limitRange,omitempty"`
// UnitSupport The supported units of the bandwidth control, 1: Kbps; 2: Mbps
UnitSupport *[]int32 `json:"unitSupport,omitempty"`
}
OswBandCtrlVO Speed Limit
type OswDataVO ¶
type OswDataVO struct {
// DhcpSnoopPorts The ports dhcp snooping selected.
DhcpSnoopPorts *[]PortVO `json:"dhcpSnoopPorts,omitempty"`
// Lags Lag List
Lags *[]OswLagVO `json:"lags,omitempty"`
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// Name Device name,default value is the mac address of device
Name *string `json:"name,omitempty"`
// NetworkNotAssociatedLags The lags not associated with network.
NetworkNotAssociatedLags *[]int32 `json:"networkNotAssociatedLags,omitempty"`
// NetworkNotAssociatedStandardPorts The ports not associated with network.
NetworkNotAssociatedStandardPorts *[]OswStandPortVO `json:"networkNotAssociatedStandardPorts,omitempty"`
// PortNum The number of ports of one device.
PortNum *int32 `json:"portNum,omitempty"`
// Ports Port List
Ports *[]OswPortVO `json:"ports,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
// StackId Stack Id
StackId *string `json:"stackId,omitempty"`
// StackName Stack name
StackName *string `json:"stackName,omitempty"`
// StackOswData stackOswData
StackOswData *OswStackDataVOOswDataVO `json:"stackOswData,omitempty"`
// Status Status of device,status should be a value as follows: 0:Disconnected;1:Disconnected(Migrating);10:Provisioning;11:Configuring;12:Upgrading;13:Rebooting;14:Connected;15:Connected(Wireless);16:Connected(Migrating);17:Connected(Wireless,Migrating);20:Pending;21:Pending(Wireless);22:Adopting;23:Adopting(Wireless);24:Adopt Failed;25:Adopt Failed(Wireless);26:Managed By Others;27:Managed By Others(Wireless);30:Heartbeat Missed;31:Heartbeat Missed(Wireless);32:Heartbeat Missed(Migrating);33:Heartbeat Missed(Wireless,Migrating);40:Isolated;41:Isolated(Migrating);50:Slice Configuring
Status *int32 `json:"status,omitempty"`
// Type Device type:ap、gateway、switch、olt
Type *string `json:"type,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
// Unit Unit
Unit *int32 `json:"unit,omitempty"`
// Uplink Uplink Omada device
Uplink *OswUplinkVO `json:"uplink,omitempty"`
}
OswDataVO defines model for OswDataVO.
type OswDevCapVO ¶
type OswDevCapVO struct {
// ArpTableSupport Arp Table Support
ArpTableSupport *bool `json:"arpTableSupport,omitempty"`
// CableTestSupport Cable Test Support
CableTestSupport *bool `json:"cableTestSupport,omitempty"`
// CliSupport CLI Support
CliSupport *bool `json:"cliSupport,omitempty"`
// CustomDhcpOptionSupport Custom DHCP Option Support
CustomDhcpOptionSupport *bool `json:"customDhcpOptionSupport,omitempty"`
// DdmSupport DDM Support
DdmSupport *bool `json:"ddmSupport,omitempty"`
// DhcpL2RelaySupport Dhcp L2 Relay Support
DhcpL2RelaySupport *bool `json:"dhcpL2RelaySupport,omitempty"`
// DhcpManualBindNum DHCP Manual Bind Num
DhcpManualBindNum *int32 `json:"dhcpManualBindNum,omitempty"`
// DhcpRangeSupport Whether the device supports DHCP server address pool
DhcpRangeSupport *bool `json:"dhcpRangeSupport,omitempty"`
// DhcpRelayIfNum DHCP Relay Interface Num
DhcpRelayIfNum *int32 `json:"dhcpRelayIfNum,omitempty"`
// DhcpReservationSupport Whether the device supports DHCP reservation
DhcpReservationSupport *bool `json:"dhcpReservationSupport,omitempty"`
// DhcpServerPoolNum DHCP Server Pool Num
DhcpServerPoolNum *int32 `json:"dhcpServerPoolNum,omitempty"`
// DnsLoopUpSupport DNS Loop Up Support
DnsLoopUpSupport *bool `json:"dnsLoopUpSupport,omitempty"`
// DomainPingSupport Domain Ping Support
DomainPingSupport *bool `json:"domainPingSupport,omitempty"`
// DomainTraceRouteSupport Domain Trace Route Support
DomainTraceRouteSupport *bool `json:"domainTraceRouteSupport,omitempty"`
// EeeSupport eee Support
EeeSupport *bool `json:"eeeSupport,omitempty"`
// EsQosSupport Agile Series Switch QoS Support
EsQosSupport *bool `json:"esQosSupport,omitempty"`
// EsStpExtendSupport ES STP Extend Support
EsStpExtendSupport *bool `json:"esStpExtendSupport,omitempty"`
// FecSupport FEC Support
FecSupport *bool `json:"fecSupport,omitempty"`
// FlowControlSupport FlowControl Support
FlowControlSupport *bool `json:"flowControlSupport,omitempty"`
// GponSupport Gpon Support
GponSupport *bool `json:"gponSupport,omitempty"`
// IgmpFastLeaveSupport Igmp FastLeve Support
IgmpFastLeaveSupport *bool `json:"igmpFastLeaveSupport,omitempty"`
// IpcDetectSupport IPC Detect Support
IpcDetectSupport *bool `json:"ipcDetectSupport,omitempty"`
// Ipv4StaticRouteNum IPv4 Static Route Num
Ipv4StaticRouteNum *int32 `json:"ipv4StaticRouteNum,omitempty"`
// Ipv6StaticRouteNum IPv6 Static Route Num
Ipv6StaticRouteNum *int32 `json:"ipv6StaticRouteNum,omitempty"`
// JumboOddSupport Jumbo Odd Support
JumboOddSupport *bool `json:"jumboOddSupport,omitempty"`
// JumboSupport Jumbo Support
JumboSupport *bool `json:"jumboSupport,omitempty"`
// LagCap Capability of lag
LagCap *LagCapVO `json:"lagCap,omitempty"`
// LocatePortSupport Locate port Support
LocatePortSupport *bool `json:"locatePortSupport,omitempty"`
// LoopbackInterfaceCreateSupport Loopback Interface Create Support
LoopbackInterfaceCreateSupport *bool `json:"loopbackInterfaceCreateSupport,omitempty"`
// LoopbackInterfaceSupport Loopback Interface Support
LoopbackInterfaceSupport *bool `json:"loopbackInterfaceSupport,omitempty"`
// LoopbackVlanBasedSupport Loopback Detect Vlan Based Support
LoopbackVlanBasedSupport *bool `json:"loopbackVlanBasedSupport,omitempty"`
// MaxLagMember Max Lacp Member
MaxLagMember *int32 `json:"maxLagMember,omitempty"`
// MaxLagNum Max Lag Num
MaxLagNum *int32 `json:"maxLagNum,omitempty"`
// MaxMirrorGroup Max Mirror Group
MaxMirrorGroup *int32 `json:"maxMirrorGroup,omitempty"`
// MaxMirroredPort Max Mirrored Port
MaxMirroredPort *int32 `json:"maxMirroredPort,omitempty"`
// MaxRelayServerNum Max DHCP relay server num
MaxRelayServerNum *int32 `json:"maxRelayServerNum,omitempty"`
// MaxStackGroupNumber Max Stack Group Number
MaxStackGroupNumber *int32 `json:"maxStackGroupNumber,omitempty"`
// MaxStackUnitNumber Max Stack Unit Number
MaxStackUnitNumber *int32 `json:"maxStackUnitNumber,omitempty"`
// MirrorSupport Mirror Support
MirrorSupport *bool `json:"mirrorSupport,omitempty"`
// MlagGroupId MLAG Group ID
MlagGroupId *int32 `json:"mlagGroupId,omitempty"`
// MlagVersion MLAG Version
MlagVersion *string `json:"mlagVersion,omitempty"`
// MstpGetActiveSupport MSTP Get Active Support
MstpGetActiveSupport *bool `json:"mstpGetActiveSupport,omitempty"`
// MstpInsNo Mstp Max InstanceId
MstpInsNo *int32 `json:"mstpInsNo,omitempty"`
// MstpInsNum Mstp Instance Num
MstpInsNum *int32 `json:"mstpInsNum,omitempty"`
// MstpPortSupport MSTP Port Support
MstpPortSupport *bool `json:"mstpPortSupport,omitempty"`
// MtuInVlanSupport MTU In VLAN Support
MtuInVlanSupport *bool `json:"mtuInVlanSupport,omitempty"`
// NeedFullSync Need full sync
NeedFullSync *bool `json:"needFullSync,omitempty"`
// NetworkCheckSupport Network Check Support
NetworkCheckSupport *bool `json:"networkCheckSupport,omitempty"`
// OspfAutoCostRefSupport OSPF Process Auto-Cost Reference Bandwidth Support
OspfAutoCostRefSupport *bool `json:"ospfAutoCostRefSupport,omitempty"`
// OspfDeadIntervalSupport OSPF Dead Interval Support
OspfDeadIntervalSupport *bool `json:"ospfDeadIntervalSupport,omitempty"`
// OspfPassiveSupport OSPF Interface Passive Support
OspfPassiveSupport *bool `json:"ospfPassiveSupport,omitempty"`
// OspfSupport OSPF Support
OspfSupport *bool `json:"ospfSupport,omitempty"`
// OuiBasedVlanESSupport Oui Based Vlan Support
OuiBasedVlanESSupport *bool `json:"ouiBasedVlanESSupport,omitempty"`
// OuiBasedVlanSupport Oui Based Vlan Support
OuiBasedVlanSupport *bool `json:"ouiBasedVlanSupport,omitempty"`
// PacketCaptureSupport Packet Capture Support
PacketCaptureSupport *bool `json:"packetCaptureSupport,omitempty"`
// PingSupport Ping Support
PingSupport *bool `json:"pingSupport,omitempty"`
// PmtudSupport Path MTU Discovery Support
PmtudSupport *bool `json:"pmtudSupport,omitempty"`
// PoePortNum Poe Port Num
PoePortNum *int32 `json:"poePortNum,omitempty"`
// PoeSupport Poe Support
PoeSupport *bool `json:"poeSupport,omitempty"`
// QosForVlanSupport Qos for Vlan Support
QosForVlanSupport *bool `json:"qosForVlanSupport,omitempty"`
// QosSupport QoS Support
QosSupport *bool `json:"qosSupport,omitempty"`
// RpvstExtendSupport RPVST Extend Support
RpvstExtendSupport *bool `json:"rpvstExtendSupport,omitempty"`
// RpvstInsNum Max Rpvst Instance Num
RpvstInsNum *int32 `json:"rpvstInsNum,omitempty"`
// SfpBeginNum SFP Begin Num
SfpBeginNum *int32 `json:"sfpBeginNum,omitempty"`
// SfpNum SFP Num
SfpNum *int32 `json:"sfpNum,omitempty"`
// SnmpSupport SNMP Support
SnmpSupport *bool `json:"snmpSupport,omitempty"`
// StackPortCap Stack Port Capability
StackPortCap *map[string][]string `json:"stackPortCap,omitempty"`
// StaticRouteNum Static Route Num
StaticRouteNum *int32 `json:"staticRouteNum,omitempty"`
// StkVer Stack Version
StkVer *string `json:"stkVer,omitempty"`
// StkableGroupId Stackable Group ID
StkableGroupId *int32 `json:"stkableGroupId,omitempty"`
// StormRateModeSupport StormControl RateMode Support
StormRateModeSupport *bool `json:"stormRateModeSupport,omitempty"`
// StpExtendSupport STP Extend Support
StpExtendSupport *bool `json:"stpExtendSupport,omitempty"`
// StpSupport STP Support
StpSupport *bool `json:"stpSupport,omitempty"`
// SupportArpDetect Whether support arp detect
SupportArpDetect *bool `json:"supportArpDetect,omitempty"`
// SupportBt Support Poe Bt
SupportBt *bool `json:"supportBt,omitempty"`
// SupportClearCounters Whether the device supports clear counters
SupportClearCounters *bool `json:"supportClearCounters,omitempty"`
// SupportConfigSync Whether the device supports config sync
SupportConfigSync *bool `json:"supportConfigSync,omitempty"`
// SupportDhcpSnoop Whether support dhcp snoop
SupportDhcpSnoop *bool `json:"supportDhcpSnoop,omitempty"`
// SupportEsHealth Whether the device supports ES health check
SupportEsHealth *bool `json:"supportEsHealth,omitempty"`
// SupportEsMulticast Whether Agile Series Switch support multicast
SupportEsMulticast *bool `json:"supportEsMulticast,omitempty"`
// SupportFan Support Fan
SupportFan *bool `json:"supportFan,omitempty"`
// SupportGetDhcpClientTable Whether the device supports getting DHCP client table via get message
SupportGetDhcpClientTable *bool `json:"supportGetDhcpClientTable,omitempty"`
// SupportGetDhcpServerInfo Whether the device supports getting DHCP server info via get message
SupportGetDhcpServerInfo *bool `json:"supportGetDhcpServerInfo,omitempty"`
// SupportGetOspfNeighborTable Whether the device supports getting OSPF neighbor table via get message
SupportGetOspfNeighborTable *bool `json:"supportGetOspfNeighborTable,omitempty"`
// SupportGetVlanIfInfo Whether the device supports getting VLAN interface info via get message
SupportGetVlanIfInfo *bool `json:"supportGetVlanIfInfo,omitempty"`
// SupportImpb Whether support impb
SupportImpb *bool `json:"supportImpb,omitempty"`
// SupportLayout Whether the device supports reporting port layout information.
SupportLayout *bool `json:"supportLayout,omitempty"`
// SupportMad Whether the device supports MAD
SupportMad *bool `json:"supportMad,omitempty"`
// SupportMlag Whether the device supports MLAG
SupportMlag *bool `json:"supportMlag,omitempty"`
// SupportMulticast Whether support multicast
SupportMulticast *bool `json:"supportMulticast,omitempty"`
// SupportRelayMultiServer Whether the device supports DHCP relay multi Server
SupportRelayMultiServer *bool `json:"supportRelayMultiServer,omitempty"`
// SupportRunningConfig Whether the device supports showing running config
SupportRunningConfig *bool `json:"supportRunningConfig,omitempty"`
// SupportSdm Whether the device supports SDM
SupportSdm *bool `json:"supportSdm,omitempty"`
// SupportTpclResInfo Whether the device supports returning TPCL resource information
SupportTpclResInfo *bool `json:"supportTpclResInfo,omitempty"`
// SupportVrf Whether the device supports VRF
SupportVrf *bool `json:"supportVrf,omitempty"`
// TerminalSupport Terminal Support
TerminalSupport *bool `json:"terminalSupport,omitempty"`
// TracerouteSupport Traceroute Support
TracerouteSupport *bool `json:"tracerouteSupport,omitempty"`
// UplinkSupport Uplink Support
UplinkSupport *bool `json:"uplinkSupport,omitempty"`
// VlanIfNum Vlan Interface Num
VlanIfNum *int32 `json:"vlanIfNum,omitempty"`
// VoiceDscpSupport Voice DSCP Support
VoiceDscpSupport *bool `json:"voiceDscpSupport,omitempty"`
// VoiceNetworkSupport Voice Network Support
VoiceNetworkSupport *bool `json:"voiceNetworkSupport,omitempty"`
// VrfNum VRF Num
VrfNum *int32 `json:"vrfNum,omitempty"`
// VrrpSupport Vrrp Support
VrrpSupport *bool `json:"vrrpSupport,omitempty"`
}
OswDevCapVO Capability of device
type OswFecCapVO ¶
type OswFecCapVO struct {
// FecMode FEC mode, 0 - reserved, 1 - FEC-OFF, 2 - FEC-RS528, 3 - FEC-RS544, 4 - FEC-AUTO, 5 - FEC-BASER
FecMode *int32 `json:"fecMode,omitempty"`
// LinkSpeed speed of the link
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
}
OswFecCapVO All LinkSpeed&FECMode combinations supported by the port
type OswLagStatusVO ¶
type OswLagStatusVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// LagId Lag ID
LagId *int32 `json:"lagId,omitempty"`
// LagType LagType should be a value as follows: 1: static; 2: LACP
LagType *int32 `json:"lagType,omitempty"`
// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2.5G; 5: 10G
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LinkStatus Link Status should be a value as follows: 1: link up; 0: link down
LinkStatus *int32 `json:"linkStatus,omitempty"`
// Name Lag name
Name *string `json:"name,omitempty"`
// Ports Ports member
Ports *[]int32 `json:"ports,omitempty"`
// Rx Rx
Rx *int64 `json:"rx,omitempty"`
// RxRate Rx Rate
RxRate *int64 `json:"rxRate,omitempty"`
// StandardPorts Standard Ports
StandardPorts *[]OswStandPortVO `json:"standardPorts,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// TrunkState LACP state
TrunkState *int32 `json:"trunkState,omitempty"`
// Tx Tx
Tx *int64 `json:"tx,omitempty"`
// TxRate Tx Rate
TxRate *int64 `json:"txRate,omitempty"`
}
OswLagStatusVO Lag Status
type OswLagVO ¶
type OswLagVO struct {
// AllAggregatingPorts All aggregating ports of the current Switch
AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`
// AllMirroredPorts All mirrored ports on the Switch
AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`
// AllMirroringPorts All mirroring ports of the current Switch
AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`
// AllMlagDadPorts All ports configured with M-LAG DAD on the current Switch
AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`
// AllMlagPeerLinkPorts All ports configured with M-LAG PeerLink on the current Switch
AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`
// BandCtrl Speed Limit
BandCtrl *OswBandCtrlVO `json:"bandCtrl,omitempty"`
// BandWidthCtrlType BandWidthCtrlType should be a value as follows: 0: Off; 1: Rate Limit; 2: Storming Control
BandWidthCtrlType *int32 `json:"bandWidthCtrlType,omitempty"`
// DhcpL2RelaySettings Dhcp L2 Relay Setting
DhcpL2RelaySettings *OswPortDhcpL2RelayVO `json:"dhcpL2RelaySettings,omitempty"`
// Disable Indicates whether to disable
Disable *bool `json:"disable,omitempty"`
// Dot1pPriority Dot1p Priority
Dot1pPriority *int32 `json:"dot1pPriority,omitempty"`
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// EeeEnable Indicates whether EEE is enabled
EeeEnable *bool `json:"eeeEnable,omitempty"`
// EsEnableAllProfileCanAdd Indicates whether es enable of all profile can continue to add VLANs
EsEnableAllProfileCanAdd *bool `json:"esEnableAllProfileCanAdd,omitempty"`
// EsQosSupport Indicates whether the ES device port supports modification of QoS configuration
EsQosSupport *bool `json:"esQosSupport,omitempty"`
// FastLeaveEnable Indicates whether igmpSnooping fastLeave is enabled
FastLeaveEnable *bool `json:"fastLeaveEnable,omitempty"`
// FlowControlEnable Indicates whether flow control is enabled
FlowControlEnable *bool `json:"flowControlEnable,omitempty"`
// Id ID
Id *string `json:"id,omitempty"`
// IgmpFastLeaveEnable Indicates whether igmp fast leave is enabled
IgmpFastLeaveEnable *bool `json:"igmpFastLeaveEnable,omitempty"`
// IgmpSnoopingEnable Indicates whether IGMP Snooping is enabled
IgmpSnoopingEnable *bool `json:"igmpSnoopingEnable,omitempty"`
// LagId Lag ID
LagId *int32 `json:"lagId,omitempty"`
// LagStatus Lag Status
LagStatus *OswLagStatusVO `json:"lagStatus,omitempty"`
// LagType Lag Type should be a value as follows: 1: STATIC; 2: LACP; 3: LACP ACTIVE; 4: LACP PASSIVE
LagType *int32 `json:"lagType,omitempty"`
// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2.5G; 5: 10G
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LocateEnable Whether locate function is enabled
LocateEnable *bool `json:"locateEnable,omitempty"`
// LoopbackDetectEnable Indicates whether loopbackDetect port based is enabled
LoopbackDetectEnable *bool `json:"loopbackDetectEnable,omitempty"`
// LoopbackDetectVlanBasedEnable Indicates whether loopbackDetect vlan based is enabled
LoopbackDetectVlanBasedEnable *bool `json:"loopbackDetectVlanBasedEnable,omitempty"`
// MlagEnable Indicates whether M-LAG is enabled
MlagEnable *bool `json:"mlagEnable,omitempty"`
// MlagName M-LAG Name
MlagName *string `json:"mlagName,omitempty"`
// MlagPeerAllPortsConfigInfo Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
MlagPeerAllPortsConfigInfo *OswMlagPeerAllPortsConfigInfoVO `json:"mlagPeerAllPortsConfigInfo,omitempty"`
// MlagPeerSetting M-LAG group peer device setting
MlagPeerSetting *OswMlagPeerSettingVO `json:"mlagPeerSetting,omitempty"`
// MldFastLeaveEnable Indicates whether mld fast leave is enabled
MldFastLeaveEnable *bool `json:"mldFastLeaveEnable,omitempty"`
// Name Lag Name
Name *string `json:"name,omitempty"`
// NativeBridgeVlan Native Network Bridge Vlan.
NativeBridgeVlan *int32 `json:"nativeBridgeVlan,omitempty"`
// NativeNetworkId Native Network ID, Native Network cannot be selected from Tagged Networks or Untagged Networks.
NativeNetworkId *string `json:"nativeNetworkId,omitempty"`
// NetworkConflict Indicates whether the VLAN configuration activated on the port is inconsistent with the VLAN configuration in the Profile.
NetworkConflict *bool `json:"networkConflict,omitempty"`
// NetworkMode Network Mode should be a value as follows: 0: Trunk, 1: Access
NetworkMode *int32 `json:"networkMode,omitempty"`
// NetworkTagsSetting Network Tags Setting should be a value as follows: 0: Allow All; 1: Block All; 2: Custom
NetworkTagsSetting *int32 `json:"networkTagsSetting,omitempty"`
// OuiBasedVlanNetworks Vlans configured in oui based rules.
OuiBasedVlanNetworks *OswPortOuiBasedVlanVO `json:"ouiBasedVlanNetworks,omitempty"`
// PortAlertEnable Indicates whether port alert is enabled
PortAlertEnable *bool `json:"portAlertEnable,omitempty"`
// PortIsolationEnable Indicates whether port isolation is enabled
PortIsolationEnable *bool `json:"portIsolationEnable,omitempty"`
// Ports Lag Ports
Ports *[]int32 `json:"ports,omitempty"`
// ProfileId Profile ID
ProfileId *string `json:"profileId,omitempty"`
// ProfileName Lan Profile Name
ProfileName *string `json:"profileName,omitempty"`
// ProfileOverrideEnable Indicates whether to enable Profile Override before v6.2.10; Indicates the fill mode of port configuration after v6.2.10: true: custom; false: follow profile
ProfileOverrideEnable *bool `json:"profileOverrideEnable,omitempty"`
// ProfileVlanOverrideEnable Indicates the fill mode of vlan configuration: true: custom; false: follow profile
ProfileVlanOverrideEnable *bool `json:"profileVlanOverrideEnable,omitempty"`
// QosQueueEnable Indicates whether the ES device port has enabled the Qos scheduling queue configuration
QosQueueEnable *bool `json:"qosQueueEnable,omitempty"`
// QosSupport Indicates whether qos support is enabled
QosSupport *bool `json:"qosSupport,omitempty"`
// QueueId ES Qos scheduling queue ID
QueueId *int32 `json:"queueId,omitempty"`
// Resource Data Source. Resource should be a value as follows: 0: new created; 1: from template; 2: override
Resource *int32 `json:"resource,omitempty"`
// Site Site
Site *string `json:"site,omitempty"`
// SpanningTreeEnable Indicates whether SpanningTree is enabled
SpanningTreeEnable *bool `json:"spanningTreeEnable,omitempty"`
// SpanningTreeSetting SpanningTree Setting
SpanningTreeSetting *SpanningTreeSettingVO `json:"spanningTreeSetting,omitempty"`
// StPorts Lag StPorts
StPorts *[]string `json:"stPorts,omitempty"`
// StormCtrl Storm Control
StormCtrl *OswStormCtrlVO `json:"stormCtrl,omitempty"`
// SwitchId Switch ID
SwitchId *string `json:"switchId,omitempty"`
// SwitchMac Switch MAC Address
SwitchMac *string `json:"switchMac,omitempty"`
// TagBridgeVlanMap Tag Network Bridge Vlan Map
TagBridgeVlanMap *map[string][]int32 `json:"tagBridgeVlanMap,omitempty"`
// TagIds Lag label ID List
TagIds *[]string `json:"tagIds,omitempty"`
// TagName Lag label Name
TagName *string `json:"tagName,omitempty"`
// TagNetworkIds Tag Network IDs
TagNetworkIds *[]string `json:"tagNetworkIds,omitempty"`
// TrustMode TrustMode should be a value as follows: 0: Untrusted; 1: Trust 802.1p; 2: Trust DSCP
TrustMode *int32 `json:"trustMode,omitempty"`
// UntagBridgeVlanMap Untag Network Bridge Vlan Map
UntagBridgeVlanMap *map[string][]int32 `json:"untagBridgeVlanMap,omitempty"`
// UntagNetworkIds Untag Network IDs
UntagNetworkIds *[]string `json:"untagNetworkIds,omitempty"`
// VoiceBridgeVlan Voice Network Bridge Vlan
VoiceBridgeVlan *int32 `json:"voiceBridgeVlan,omitempty"`
// VoiceDscp Voice DSCP
VoiceDscp *int32 `json:"voiceDscp,omitempty"`
// VoiceDscpEnable Voice DSCP enable status
VoiceDscpEnable *bool `json:"voiceDscpEnable,omitempty"`
// VoiceNetworkEnable Voice network enable status
VoiceNetworkEnable *bool `json:"voiceNetworkEnable,omitempty"`
// VoiceNetworkId Voice Network ID
VoiceNetworkId *string `json:"voiceNetworkId,omitempty"`
}
OswLagVO Including some port configuration information and port real-time status
type OswLinkCapVO ¶
type OswLinkCapVO struct {
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
}
OswLinkCapVO Port Capability
type OswMlagPeerAllPortsConfigInfoVO ¶
type OswMlagPeerAllPortsConfigInfoVO struct {
// AllAggregatingPorts all aggregating ports of M-LAG Peer Switch
AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`
// AllMirroredPorts all mirrored ports of M-LAG Peer Switch
AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`
// AllMirroringPorts all mirroring ports of M-LAG Peer Switch
AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`
// AllMlagDadPorts all M-LAG DAD ports of M-LAG Peer Switch
AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`
// AllMlagPeerLinkPorts all M-LAG PeerLink ports of M-LAG Peer Switch
AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`
}
OswMlagPeerAllPortsConfigInfoVO Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
type OswMlagPeerSettingVO ¶
type OswMlagPeerSettingVO struct {
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// MlagPeerPorts M-LAG group peer device LAG ports
MlagPeerPorts *[]int32 `json:"mlagPeerPorts,omitempty"`
// MlagPeerStandardPorts M-LAG group peer device LAG standard ports
MlagPeerStandardPorts *[]OswStandPortVO `json:"mlagPeerStandardPorts,omitempty"`
}
OswMlagPeerSettingVO M-LAG group peer device setting
type OswPeerPortVO ¶
type OswPeerPortVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// LagId LagId. If it is not null, it indicates that the port is a LAG port
LagId *int32 `json:"lagId,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Port Port
Port *int32 `json:"port,omitempty"`
// Rx Port total rx bytes
Rx *int64 `json:"rx,omitempty"`
// RxRate Port rx Rate
RxRate *int64 `json:"rx Rate,omitempty"`
// StPort Standard Port, unit/slot/port
StPort *string `json:"stPort,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// Tx Port total tx bytes
Tx *int64 `json:"tx,omitempty"`
// TxRate Port tx Rate
TxRate *int64 `json:"tx Rate,omitempty"`
}
OswPeerPortVO Downlink Port Info
type OswPortDhcpL2RelayVO ¶
type OswPortDhcpL2RelayVO struct {
// CircuitId Circuit ID
CircuitId *string `json:"circuitId,omitempty"`
// Enable Enable
Enable *bool `json:"enable,omitempty"`
// Format Format should be a value as follows: 0: Normal; 1: Private
Format *int32 `json:"format,omitempty"`
// RemoteId Remote ID
RemoteId *string `json:"remoteId,omitempty"`
}
OswPortDhcpL2RelayVO Dhcp L2 Relay Setting
type OswPortOuiBasedVlanVO ¶
type OswPortOuiBasedVlanVO struct {
// Networks The network configured in the osw port.
Networks *[]OuiBasedVlanNetworkVO `json:"networks,omitempty"`
}
OswPortOuiBasedVlanVO Vlans configured in oui based rules.
type OswPortSpeedCapVO ¶
type OswPortSpeedCapVO struct {
// LinkSpeed Duplex
LinkSpeed *PortSpeedCapVO `json:"Link Speed,omitempty"`
// Duplex Duplex
Duplex *PortSpeedCapVO `json:"duplex,omitempty"`
}
OswPortSpeedCapVO Port Speed Capability
type OswPortStatusVO ¶
type OswPortStatusVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// ChassisId Chassis ID
ChassisId *string `json:"chassisId,omitempty"`
// ChassisIdSubtype Chassis ID Subtype
ChassisIdSubtype *string `json:"chassisIdSubtype,omitempty"`
// Duplex Duplex should be a value as follows: 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// FecMode The configured FEC Mode
FecMode *int32 `json:"fecMode,omitempty"`
// FecRealMode The actual effective FEC Mode
FecRealMode *int32 `json:"fecRealMode,omitempty"`
// LinkSpeed LinkSpeed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 10Gbps
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LinkStatus LinkStatus should be a value as follows: 0: link down; 1: link up
LinkStatus *int32 `json:"linkStatus,omitempty"`
// Poe Indicates whether PoE power supply is in use
Poe *bool `json:"poe,omitempty"`
// PoePower PoE Power
PoePower *float64 `json:"poePower,omitempty"`
// Port Port Number
Port *int32 `json:"port,omitempty"`
// PortId Port ID
PortId *string `json:"portId,omitempty"`
// PortIdSubtype Port ID Subtype
PortIdSubtype *string `json:"portIdSubtype,omitempty"`
// Rx Rx, in bytes
Rx *int64 `json:"rx,omitempty"`
// RxRate Rx rate, in bit/s
RxRate *int64 `json:"rxRate,omitempty"`
// StkStatus Stk Status
StkStatus *int32 `json:"stkStatus,omitempty"`
// Stp STP Status
Stp *string `json:"stp,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// TrunkState LACP port state
TrunkState *int32 `json:"trunkState,omitempty"`
// Tx Tx, in bytes
Tx *int64 `json:"tx,omitempty"`
// TxRate Tx rate, in bit/s
TxRate *int64 `json:"txRate,omitempty"`
}
OswPortStatusVO Port Status
type OswPortVO ¶
type OswPortVO struct {
// AggregatingPorts Aggregated ports (including this port), non-null only in aggregating mode
AggregatingPorts *[]int32 `json:"aggregatingPorts,omitempty"`
// AllAggregatingPorts All ports in the aggregating state on the Switch
AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`
// AllAggregatingStPorts All aggregating ports of the current Stack
AllAggregatingStPorts *[]OswStandPortVO `json:"allAggregatingStPorts,omitempty"`
// AllMirroredPorts All mirrored ports on the Switch
AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`
// AllMirroredStPorts All mirrored ports of the current Stack
AllMirroredStPorts *[]OswStandPortVO `json:"allMirroredStPorts,omitempty"`
// AllMirroringPorts All ports in the mirroring state on the Switch
AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`
// AllMirroringStPorts All mirroring ports of the current Stack
AllMirroringStPorts *[]OswStandPortVO `json:"allMirroringStPorts,omitempty"`
// AllMlagDadPorts All ports configured with M-LAG DAD on the Switch
AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`
// AllMlagPeerLinkPorts All ports configured with M-LAG PeerLink on the Switch
AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`
// BandCtrl Speed Limit
BandCtrl *OswBandCtrlVO `json:"bandCtrl,omitempty"`
// BandWidthCtrlType BandWidth Control should be a value as follows: 0: Off; 1: Rate Limit; 2: Storming Control
BandWidthCtrlType *int32 `json:"bandWidthCtrlType,omitempty"`
// ConfigMlagDad Indicates whether the port is configured with M-LAG DAD Link
ConfigMlagDad *bool `json:"configMlagDad,omitempty"`
// ConfigMlagPeerLink Indicates whether the port is configured with M-LAG Peer Link
ConfigMlagPeerLink *bool `json:"configMlagPeerLink,omitempty"`
// ConfigStack Indicates whether the current port is configured as a stack port (joined a stack aggregation group)
ConfigStack *bool `json:"configStack,omitempty"`
// DhcpL2RelaySettings Dhcp L2 Relay Setting
DhcpL2RelaySettings *OswPortDhcpL2RelayVO `json:"dhcpL2RelaySettings,omitempty"`
// Disable Indicates whether to disable the port
Disable *bool `json:"disable,omitempty"`
// Dot1pPriority Dot1p Priority
Dot1pPriority *int32 `json:"dot1pPriority,omitempty"`
// Dot1x Dot1x should be a value as follows: 0: Force unauthorized; 1: Force authorized; 2: Auto
Dot1x *int32 `json:"dot1x,omitempty"`
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// EeeEnable Indicates whether EEE is enabled
EeeEnable *bool `json:"eeeEnable,omitempty"`
// EsEnableAllProfileCanAdd Indicates whether es enable of all profile can continue to add VLANs
EsEnableAllProfileCanAdd *bool `json:"esEnableAllProfileCanAdd,omitempty"`
// EsQosSupport Indicates whether the ES device port supports modification of QoS configuration
EsQosSupport *bool `json:"esQosSupport,omitempty"`
// ExtendModeEnable Indicates whether extendMode is enabled
ExtendModeEnable *bool `json:"extendModeEnable,omitempty"`
// ExtendModeSupport Indicates whether extend mode is supported
ExtendModeSupport *bool `json:"extendModeSupport,omitempty"`
// FastLeaveEnable Indicates whether igmpSnooping fastLeave is enabled
FastLeaveEnable *bool `json:"fastLeaveEnable,omitempty"`
// FecCap All LinkSpeed&FECMode combinations supported by the port
FecCap *[]OswFecCapVO `json:"fecCap,omitempty"`
// FecLinkPeerApplyEnable Indicates whether the same FEC mode is applied to the link peer
FecLinkPeerApplyEnable *bool `json:"fecLinkPeerApplyEnable,omitempty"`
// FecMode FEC Mode, sourced from FecModeEnum. 0 - Reserved; 1 - FEC-OFF (Off); 2 - FEC-RS528; 3 - FEC-RS544; 4 - FEC-AUTO; 5 - FEC-BASER
FecMode *int32 `json:"fecMode,omitempty"`
// FecSupport Indicates whether the port supports FEC configuration
FecSupport *bool `json:"fecSupport,omitempty"`
// FlowControlEnable Indicates whether flow control is enabled
FlowControlEnable *bool `json:"flowControlEnable,omitempty"`
// Id ID
Id *string `json:"id,omitempty"`
// IgmpFastLeaveEnable Indicates whether IGMP fast leave is enabled
IgmpFastLeaveEnable *bool `json:"igmpFastLeaveEnable,omitempty"`
// IgmpSnoopingEnable Indicates whether IGMP Snooping is enabled
IgmpSnoopingEnable *bool `json:"igmpSnoopingEnable,omitempty"`
// IsCopper Whether the port is copper when the port is combo.
IsCopper *bool `json:"isCopper,omitempty"`
// LagSetting Including some port configuration information and port real-time status
LagSetting *OswLagVO `json:"lagSetting,omitempty"`
// LagStatus Lag Status
LagStatus *OswLagStatusVO `json:"lagStatus,omitempty"`
// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 10G
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LldpMedEnable Indicates whether LLDP MED is enabled
LldpMedEnable *bool `json:"lldpMedEnable,omitempty"`
// LocateEnable Whether locate function is enabled
LocateEnable *bool `json:"locateEnable,omitempty"`
// LoopbackDetectEnable Indicates whether loopbackDetect port based is enabled
LoopbackDetectEnable *bool `json:"loopbackDetectEnable,omitempty"`
// LoopbackDetectVlanBasedEnable Indicates whether loopbackDetect vlan based is enabled
LoopbackDetectVlanBasedEnable *bool `json:"loopbackDetectVlanBasedEnable,omitempty"`
// MadUsed Mad Used
MadUsed *bool `json:"madUsed,omitempty"`
// MaxSpeed MaxSpeed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 2.5Gbps; 5: 10Gbps
MaxSpeed *int32 `json:"maxSpeed,omitempty"`
// MirroredLags Monitored LAG
MirroredLags *[]MirroredLag `json:"mirroredLags,omitempty"`
// MirroredPorts Monitored Port
MirroredPorts *[]MirroredPort `json:"mirroredPorts,omitempty"`
// MlagPeerAllPortsConfigInfo Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
MlagPeerAllPortsConfigInfo *OswMlagPeerAllPortsConfigInfoVO `json:"mlagPeerAllPortsConfigInfo,omitempty"`
// MldFastLeaveEnable Indicates whether MLD fast leave is enabled
MldFastLeaveEnable *bool `json:"mldFastLeaveEnable,omitempty"`
// Name Port Name
Name *string `json:"name,omitempty"`
// NativeBridgeVlan Native Network Bridge Vlan.
NativeBridgeVlan *int32 `json:"nativeBridgeVlan,omitempty"`
// NativeNetworkId Native Network ID, Native Network cannot be selected from Tagged Networks or Untagged Networks.
NativeNetworkId *string `json:"nativeNetworkId,omitempty"`
// NetworkConflict Indicates whether the VLAN configuration activated on the port is inconsistent with the VLAN configuration in the Profile.
NetworkConflict *bool `json:"networkConflict,omitempty"`
// NetworkMode Network Mode should be a value as follows: 0: Trunk, 1: Access
NetworkMode *int32 `json:"networkMode,omitempty"`
// NetworkTagsSetting Network Tags Setting should be a value as follows: 0: Allow All; 1: Block All; 2: Custom
NetworkTagsSetting *int32 `json:"networkTagsSetting,omitempty"`
// Operation Operation should be a value as follows: SWITCHING; MIRRORING; AGGREGATING
Operation *string `json:"operation,omitempty"`
// OuiBasedVlanNetworks Vlans configured in oui based rules.
OuiBasedVlanNetworks *OswPortOuiBasedVlanVO `json:"ouiBasedVlanNetworks,omitempty"`
// Poe PoE switch should be a value as follows: 0: Off; 1: 802.3at/af
Poe *int32 `json:"poe,omitempty"`
// PoeDisplayType PoeDisplayType should be a value as follows: -1: Not Support POE; 0: Support POE; 1: POE(4W); 2: POE(7W); 3: POE(15.4W); 4: POE+(30W); 5: POE++(45W); 6: POE++(60W); 7: POE++(75W); 8: POE++(90W); 9: POE++(100W).
PoeDisplayType *int32 `json:"poeDisplayType,omitempty"`
// Port Port
Port *int32 `json:"port,omitempty"`
// PortAlertEnable Indicates whether Port Alert is enabled
PortAlertEnable *bool `json:"portAlertEnable,omitempty"`
// PortCap Port Capability
PortCap *[]OswLinkCapVO `json:"portCap,omitempty"`
// PortIsolationEnable Indicates whether port isolation is enabled
PortIsolationEnable *bool `json:"portIsolationEnable,omitempty"`
// PortSpeedCap Port Speed Capability
PortSpeedCap *[]OswPortSpeedCapVO `json:"portSpeedCap,omitempty"`
// PortStatus Port Status
PortStatus *OswPortStatusVO `json:"portStatus,omitempty"`
// ProfileId Lan Profile ID
ProfileId *string `json:"profileId,omitempty"`
// ProfileName Lan Profile Name
ProfileName *string `json:"profileName,omitempty"`
// ProfileOverrideEnable Indicates whether to enable Profile Override before v6.2.10; Indicates the fill mode of port configuration after v6.2.10: true: custom; false: follow profile
ProfileOverrideEnable *bool `json:"profileOverrideEnable,omitempty"`
// ProfileVlanOverrideEnable Indicates the fill mode of vlan configuration: true: custom; false: follow profile
ProfileVlanOverrideEnable *bool `json:"profileVlanOverrideEnable,omitempty"`
// QosQueueEnable Indicates whether the ES device port has enabled the Qos scheduling queue configuration
QosQueueEnable *bool `json:"qosQueueEnable,omitempty"`
// QosSupport Indicates whether the device port supports modifying qos configuration
QosSupport *bool `json:"qosSupport,omitempty"`
// QueueId ES Qos scheduling queue ID
QueueId *int32 `json:"queueId,omitempty"`
// Resource Data Source. Resource should be a value as follows: 0: new created; 1: from template; 2: override
Resource *int32 `json:"resource,omitempty"`
// Site Site to which the port belongs
Site *string `json:"site,omitempty"`
// SpanningTreeEnable Indicates whether SpanningTree is enabled
SpanningTreeEnable *bool `json:"spanningTreeEnable,omitempty"`
// SpanningTreeSetting SpanningTree Setting
SpanningTreeSetting *SpanningTreeSettingVO `json:"spanningTreeSetting,omitempty"`
// Speed Port Speed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 10Gbps
Speed *int32 `json:"speed,omitempty"`
// StackPortsGroupIndex Number of the stacking port aggregation group to join
StackPortsGroupIndex *int32 `json:"stackPortsGroupIndex,omitempty"`
// StandardPort Stack port aggregation group member port
StandardPort *OswStandPortVO `json:"standardPort,omitempty"`
// StormCtrl Storm Control
StormCtrl *OswStormCtrlVO `json:"stormCtrl,omitempty"`
// SupportLocate Whether the port support locate.
SupportLocate *bool `json:"supportLocate,omitempty"`
// SupportPoe Indicates whether PoE is supported
SupportPoe *bool `json:"supportPoe,omitempty"`
// SwitchId Switch ID to which the port belongs
SwitchId *string `json:"switchId,omitempty"`
// SwitchMac Switch Mac to which the port belongs
SwitchMac *string `json:"switchMac,omitempty"`
// TagBridgeVlanMap Tag Network Bridge Vlan Map
TagBridgeVlanMap *map[string][]int32 `json:"tagBridgeVlanMap,omitempty"`
// TagIds Port label ID List
TagIds *[]string `json:"tagIds,omitempty"`
// TagName Port label Name
TagName *string `json:"tagName,omitempty"`
// TagNetworkIds Tag Network IDs
TagNetworkIds *[]string `json:"tagNetworkIds,omitempty"`
// TopoNotifyEnable Indicates whether to enable topology change notification
TopoNotifyEnable *bool `json:"topoNotifyEnable,omitempty"`
// TrustMode TrustMode should be a value as follows: 0: Untrusted; 1: Trust 802.1p; 2: Trust DSCP
TrustMode *int32 `json:"trustMode,omitempty"`
// Type Type should be a value as follows: 1: Copper; 2: Combo; 3: SFP
Type *int32 `json:"type,omitempty"`
// UntagBridgeVlanMap Untag Network Bridge Vlan Map
UntagBridgeVlanMap *map[string][]int32 `json:"untagBridgeVlanMap,omitempty"`
// UntagNetworkIds Untag Network IDs
UntagNetworkIds *[]string `json:"untagNetworkIds,omitempty"`
// UsedFunctions List of functions that use this port
UsedFunctions *[]string `json:"usedFunctions,omitempty"`
// VoiceBridgeVlan Voice Network Bridge Vlan
VoiceBridgeVlan *int32 `json:"voiceBridgeVlan,omitempty"`
// VoiceDscp Voice DSCP
VoiceDscp *int32 `json:"voiceDscp,omitempty"`
// VoiceDscpEnable Voice DSCP enable status
VoiceDscpEnable *bool `json:"voiceDscpEnable,omitempty"`
// VoiceNetworkEnable Voice network enable status
VoiceNetworkEnable *bool `json:"voiceNetworkEnable,omitempty"`
// VoiceNetworkId Voice Network ID
VoiceNetworkId *string `json:"voiceNetworkId,omitempty"`
}
OswPortVO The infos of ports.
type OswStackDataVOOswDataVO ¶
type OswStackDataVOOswDataVO struct {
AbnormalReason *int32 `json:"abnormalReason,omitempty"`
// CustomLagIds The lag ids that has some vlan not included in port vlan.
CustomLagIds *[]int32 `json:"customLagIds,omitempty"`
// CustomStandardPorts The standard ports that has some vlan not included in port vlan.
CustomStandardPorts *[]string `json:"customStandardPorts,omitempty"`
// DevCap Capability of device
DevCap *OswDevCapVO `json:"devCap,omitempty"`
Lags *[]OswLagStatusVO `json:"lags,omitempty"`
MasterMac *string `json:"masterMac,omitempty"`
Member *[]OswDataVO `json:"member,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
StackId *string `json:"stackId,omitempty"`
StackName *string `json:"stackName,omitempty"`
StackStatus *int32 `json:"stackStatus,omitempty"`
SupportAutoAddVlan *bool `json:"supportAutoAddVlan,omitempty"`
SupportCustomDhcpOption *bool `json:"supportCustomDhcpOption,omitempty"`
SupportDhcpRange *bool `json:"supportDhcpRange,omitempty"`
// SupportLayout Whether the device supports reporting port layout information.
SupportLayout *bool `json:"supportLayout,omitempty"`
SupportVrf *bool `json:"supportVrf,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
}
OswStackDataVOOswDataVO stackOswData
type OswStackDataVOSwitchDataVO ¶
type OswStackDataVOSwitchDataVO struct {
AbnormalReason *int32 `json:"abnormalReason,omitempty"`
// CustomLagIds The lag ids that has some vlan not included in port vlan.
CustomLagIds *[]int32 `json:"customLagIds,omitempty"`
// CustomStandardPorts The standard ports that has some vlan not included in port vlan.
CustomStandardPorts *[]string `json:"customStandardPorts,omitempty"`
// DevCap Capability of device
DevCap *OswDevCapVO `json:"devCap,omitempty"`
Lags *[]OswLagStatusVO `json:"lags,omitempty"`
MasterMac *string `json:"masterMac,omitempty"`
Member *[]SwitchDataVO `json:"member,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
StackId *string `json:"stackId,omitempty"`
StackName *string `json:"stackName,omitempty"`
StackStatus *int32 `json:"stackStatus,omitempty"`
SupportAutoAddVlan *bool `json:"supportAutoAddVlan,omitempty"`
SupportCustomDhcpOption *bool `json:"supportCustomDhcpOption,omitempty"`
SupportDhcpRange *bool `json:"supportDhcpRange,omitempty"`
// SupportLayout Whether the device supports reporting port layout information.
SupportLayout *bool `json:"supportLayout,omitempty"`
SupportVrf *bool `json:"supportVrf,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
}
OswStackDataVOSwitchDataVO stackOswData
type OswStandPortVO ¶
type OswStandPortVO struct {
// Port Port
Port int32 `json:"port"`
// Slot Slot
Slot int32 `json:"slot"`
// Unit Unit
Unit int32 `json:"unit"`
}
OswStandPortVO Stack port aggregation group member port
type OswStormCtrlLimitRangeVO ¶
type OswStormCtrlLimitRangeVO struct {
// BroadcastLimitKbps The maximum rate limits for Broadcast(kbps).
BroadcastLimitKbps *int32 `json:"broadcastLimitKbps,omitempty"`
// MulticastLimitKbps The maximum rate limits for Multicast(kbps).
MulticastLimitKbps *int32 `json:"multicastLimitKbps,omitempty"`
// UnknownUnicastLimitKbps The maximum rate limits for Unknown Unicast(kbps).
UnknownUnicastLimitKbps *int32 `json:"unknownUnicastLimitKbps,omitempty"`
}
OswStormCtrlLimitRangeVO The maximum rate limits for Broadcast/Multicast/Unknown Unicast.
type OswStormCtrlVO ¶
type OswStormCtrlVO struct {
// Action Action should be a value as follows: 0: drop; 1: shutdown
Action int32 `json:"action"`
// Broadcast Broadcast
Broadcast *int32 `json:"broadcast,omitempty"`
// BroadcastEnable Indicates whether broadcast is enabled
BroadcastEnable bool `json:"broadcastEnable"`
// LimitRange The maximum rate limits for Broadcast/Multicast/Unknown Unicast.
LimitRange *OswStormCtrlLimitRangeVO `json:"limitRange,omitempty"`
// Multicast Multicast
Multicast *int32 `json:"multicast,omitempty"`
// MulticastEnable Indicates whether multicast is enabled
MulticastEnable bool `json:"multicastEnable"`
// RateMode RateMode should be a value as follows: 0: ratio; 1: kbps
RateMode *int32 `json:"rateMode,omitempty"`
// RecoverTime Recover Time
RecoverTime *int32 `json:"recoverTime,omitempty"`
// UnknownUnicast Unknown Unicast
UnknownUnicast *int32 `json:"unknownUnicast,omitempty"`
// UnknownUnicastEnable Indicates whether unknown unicast is enabled
UnknownUnicastEnable bool `json:"unknownUnicastEnable"`
}
OswStormCtrlVO Storm Control
type OswUplinkVO ¶
type OswUplinkVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// HwVersion HwVersion
HwVersion *string `json:"hwVersion,omitempty"`
Ip *string `json:"ip,omitempty"`
// LagId LagId. If it is not null, it indicates that the port is a LAG port
LagId *int32 `json:"lagId,omitempty"`
// LinkPeerPortInfo Downlink Port Info
LinkPeerPortInfo *OswPeerPortVO `json:"linkPeerPortInfo,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Mac The mac of uplink device
Mac *string `json:"mac,omitempty"`
// Model The model of uplink device
Model *string `json:"model,omitempty"`
// ModelVersion Model Version
ModelVersion *string `json:"modelVersion,omitempty"`
// Name The name of uplink device
Name *string `json:"name,omitempty"`
// Port Port
Port *int32 `json:"port,omitempty"`
// Rx Port total rx bytes
Rx *int64 `json:"rx,omitempty"`
// RxRate Rx Rate
RxRate *int64 `json:"rxRate,omitempty"`
// StPort Standard Port, unit/slot/port
StPort *string `json:"stPort,omitempty"`
// StackId The ID of uplink stack device
StackId *string `json:"stackId,omitempty"`
// StackName The name of uplink stack device
StackName *string `json:"stackName,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// Tx Port total tx bytes
Tx *int64 `json:"tx,omitempty"`
// TxRate Tx Rate
TxRate *int64 `json:"txRate,omitempty"`
// Type The type of uplink device, it should be a value as follows: ap, gateway, switch(stack)
Type *string `json:"type,omitempty"`
}
OswUplinkVO Uplink Omada device
type OuiBasedVlanNetworkVO ¶
type OuiBasedVlanNetworkVO struct {
// NetworkId The id for the network.
NetworkId *string `json:"networkId,omitempty"`
// NetworkName The name of the network.
NetworkName *string `json:"networkName,omitempty"`
// OuiBasedVlanId The id of the oui based vlan rule.
OuiBasedVlanId *string `json:"ouiBasedVlanId,omitempty"`
// OuiBasedVlanName The name of the oui based vlan rule.
OuiBasedVlanName *string `json:"ouiBasedVlanName,omitempty"`
// RuleMode The mode of the oui based vlan rule. 0 represents all device ports ,1 represents custom.
RuleMode *int32 `json:"ruleMode,omitempty"`
// Vlan The vlan of one network that multicast config used.
Vlan *int32 `json:"vlan,omitempty"`
// VlanType 0:Single, 1:Multiple(Bridge Vlan)
VlanType *int32 `json:"vlanType,omitempty"`
}
OuiBasedVlanNetworkVO The network configured in the osw port.
type OutboxMessage ¶
type OutboxMessage struct {
// Content Message content.
Content *string `json:"content,omitempty"`
// Id Item ID.
Id *int32 `json:"id,omitempty"`
// Receiver Receiver.
Receiver *string `json:"receiver,omitempty"`
// Time Time.
Time *int64 `json:"time,omitempty"`
}
OutboxMessage defines model for OutboxMessage.
type OutboxMessageOpenApiGridVOOutboxMessage ¶
type OutboxMessageOpenApiGridVOOutboxMessage struct {
// CardStatus Sim card status.
CardStatus *int32 `json:"cardStatus,omitempty"`
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]OutboxMessage `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
OutboxMessageOpenApiGridVOOutboxMessage defines model for OutboxMessageOpenApiGridVOOutboxMessage.
type PartnerLinkDTO ¶
type PartnerLinkDTO struct {
Channel *int32 `json:"channel,omitempty"`
DownRate *int64 `json:"downRate,omitempty"`
RadioId *int32 `json:"radioId,omitempty"`
Rssi *int32 `json:"rssi,omitempty"`
RssiPercent *float32 `json:"rssiPercent,omitempty"`
Rx *int32 `json:"rx,omitempty"`
RxDropPkts *int64 `json:"rxDropPkts,omitempty"`
RxErrPkts *int64 `json:"rxErrPkts,omitempty"`
RxRate *string `json:"rxRate,omitempty"`
Snr *int32 `json:"snr,omitempty"`
Tx *int32 `json:"tx,omitempty"`
TxDropPkts *int64 `json:"txDropPkts,omitempty"`
TxErrPkts *int64 `json:"txErrPkts,omitempty"`
TxRate *string `json:"txRate,omitempty"`
UpRate *int64 `json:"upRate,omitempty"`
}
PartnerLinkDTO partner link info in mlo mesh link
type PortLabelDTO ¶
type PortLabelDTO struct {
Label *string `json:"label,omitempty"`
Value *string `json:"value,omitempty"`
}
PortLabelDTO Other Device Port Labels
type PortSpeedCapVO ¶
type PortSpeedCapVO struct {
// Name Name
Name *string `json:"name,omitempty"`
// Value Value
Value *int32 `json:"value,omitempty"`
}
PortSpeedCapVO Duplex
type PortVO ¶
type PortVO struct {
// LagId (Wired) LAG ID. Exists only when the client is connected to the LAG
LagId *int32 `json:"lagId,omitempty"`
// Port The port id of the device port.
Port *int32 `json:"port,omitempty"`
// StandardPort The stand port id of the device port.
StandardPort *string `json:"standardPort,omitempty"`
}
PortVO The collection of forbidden router ports related to one device.
type QuerySimCardQuotaSettingByMacResponse ¶
func ParseQuerySimCardQuotaSettingByMacResponse ¶
func ParseQuerySimCardQuotaSettingByMacResponse(rsp *http.Response) (*QuerySimCardQuotaSettingByMacResponse, error)
ParseQuerySimCardQuotaSettingByMacResponse parses an HTTP response from a QuerySimCardQuotaSettingByMacWithResponse call
func (QuerySimCardQuotaSettingByMacResponse) ContentType ¶
func (r QuerySimCardQuotaSettingByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySimCardQuotaSettingByMacResponse) GetBody ¶
func (r QuerySimCardQuotaSettingByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySimCardQuotaSettingByMacResponse) Status ¶
func (r QuerySimCardQuotaSettingByMacResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySimCardQuotaSettingByMacResponse) StatusCode ¶
func (r QuerySimCardQuotaSettingByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuerySimCardQuotaSettingResponse ¶
func ParseQuerySimCardQuotaSettingResponse ¶
func ParseQuerySimCardQuotaSettingResponse(rsp *http.Response) (*QuerySimCardQuotaSettingResponse, error)
ParseQuerySimCardQuotaSettingResponse parses an HTTP response from a QuerySimCardQuotaSettingWithResponse call
func (QuerySimCardQuotaSettingResponse) ContentType ¶
func (r QuerySimCardQuotaSettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySimCardQuotaSettingResponse) GetBody ¶
func (r QuerySimCardQuotaSettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySimCardQuotaSettingResponse) Status ¶
func (r QuerySimCardQuotaSettingResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySimCardQuotaSettingResponse) StatusCode ¶
func (r QuerySimCardQuotaSettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuerySimCardQuotaSettingTemplateResponse ¶
func ParseQuerySimCardQuotaSettingTemplateResponse ¶
func ParseQuerySimCardQuotaSettingTemplateResponse(rsp *http.Response) (*QuerySimCardQuotaSettingTemplateResponse, error)
ParseQuerySimCardQuotaSettingTemplateResponse parses an HTTP response from a QuerySimCardQuotaSettingTemplateWithResponse call
func (QuerySimCardQuotaSettingTemplateResponse) ContentType ¶
func (r QuerySimCardQuotaSettingTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySimCardQuotaSettingTemplateResponse) GetBody ¶
func (r QuerySimCardQuotaSettingTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySimCardQuotaSettingTemplateResponse) Status ¶
func (r QuerySimCardQuotaSettingTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySimCardQuotaSettingTemplateResponse) StatusCode ¶
func (r QuerySimCardQuotaSettingTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuerySimQuotaSettingByMacResponse ¶
func ParseQuerySimQuotaSettingByMacResponse ¶
func ParseQuerySimQuotaSettingByMacResponse(rsp *http.Response) (*QuerySimQuotaSettingByMacResponse, error)
ParseQuerySimQuotaSettingByMacResponse parses an HTTP response from a QuerySimQuotaSettingByMacWithResponse call
func (QuerySimQuotaSettingByMacResponse) ContentType ¶
func (r QuerySimQuotaSettingByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySimQuotaSettingByMacResponse) GetBody ¶
func (r QuerySimQuotaSettingByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySimQuotaSettingByMacResponse) Status ¶
func (r QuerySimQuotaSettingByMacResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySimQuotaSettingByMacResponse) StatusCode ¶
func (r QuerySimQuotaSettingByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuerySimQuotaSettingResponse ¶
func ParseQuerySimQuotaSettingResponse ¶
func ParseQuerySimQuotaSettingResponse(rsp *http.Response) (*QuerySimQuotaSettingResponse, error)
ParseQuerySimQuotaSettingResponse parses an HTTP response from a QuerySimQuotaSettingWithResponse call
func (QuerySimQuotaSettingResponse) ContentType ¶
func (r QuerySimQuotaSettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySimQuotaSettingResponse) GetBody ¶
func (r QuerySimQuotaSettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySimQuotaSettingResponse) Status ¶
func (r QuerySimQuotaSettingResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySimQuotaSettingResponse) StatusCode ¶
func (r QuerySimQuotaSettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuerySmsPolicySettingByMacResponse ¶
func ParseQuerySmsPolicySettingByMacResponse ¶
func ParseQuerySmsPolicySettingByMacResponse(rsp *http.Response) (*QuerySmsPolicySettingByMacResponse, error)
ParseQuerySmsPolicySettingByMacResponse parses an HTTP response from a QuerySmsPolicySettingByMacWithResponse call
func (QuerySmsPolicySettingByMacResponse) ContentType ¶
func (r QuerySmsPolicySettingByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySmsPolicySettingByMacResponse) GetBody ¶
func (r QuerySmsPolicySettingByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySmsPolicySettingByMacResponse) Status ¶
func (r QuerySmsPolicySettingByMacResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySmsPolicySettingByMacResponse) StatusCode ¶
func (r QuerySmsPolicySettingByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuerySmsPolicySettingResponse ¶
func ParseQuerySmsPolicySettingResponse ¶
func ParseQuerySmsPolicySettingResponse(rsp *http.Response) (*QuerySmsPolicySettingResponse, error)
ParseQuerySmsPolicySettingResponse parses an HTTP response from a QuerySmsPolicySettingWithResponse call
func (QuerySmsPolicySettingResponse) ContentType ¶
func (r QuerySmsPolicySettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySmsPolicySettingResponse) GetBody ¶
func (r QuerySmsPolicySettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySmsPolicySettingResponse) Status ¶
func (r QuerySmsPolicySettingResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySmsPolicySettingResponse) StatusCode ¶
func (r QuerySmsPolicySettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuerySmsPolicySettingTemplateResponse ¶
func ParseQuerySmsPolicySettingTemplateResponse ¶
func ParseQuerySmsPolicySettingTemplateResponse(rsp *http.Response) (*QuerySmsPolicySettingTemplateResponse, error)
ParseQuerySmsPolicySettingTemplateResponse parses an HTTP response from a QuerySmsPolicySettingTemplateWithResponse call
func (QuerySmsPolicySettingTemplateResponse) ContentType ¶
func (r QuerySmsPolicySettingTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySmsPolicySettingTemplateResponse) GetBody ¶
func (r QuerySmsPolicySettingTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySmsPolicySettingTemplateResponse) Status ¶
func (r QuerySmsPolicySettingTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySmsPolicySettingTemplateResponse) StatusCode ¶
func (r QuerySmsPolicySettingTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuerySmsRouterCommandByMacResponse ¶
func ParseQuerySmsRouterCommandByMacResponse ¶
func ParseQuerySmsRouterCommandByMacResponse(rsp *http.Response) (*QuerySmsRouterCommandByMacResponse, error)
ParseQuerySmsRouterCommandByMacResponse parses an HTTP response from a QuerySmsRouterCommandByMacWithResponse call
func (QuerySmsRouterCommandByMacResponse) ContentType ¶
func (r QuerySmsRouterCommandByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySmsRouterCommandByMacResponse) GetBody ¶
func (r QuerySmsRouterCommandByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySmsRouterCommandByMacResponse) Status ¶
func (r QuerySmsRouterCommandByMacResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySmsRouterCommandByMacResponse) StatusCode ¶
func (r QuerySmsRouterCommandByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuerySmsRouterCommandResponse ¶
func ParseQuerySmsRouterCommandResponse ¶
func ParseQuerySmsRouterCommandResponse(rsp *http.Response) (*QuerySmsRouterCommandResponse, error)
ParseQuerySmsRouterCommandResponse parses an HTTP response from a QuerySmsRouterCommandWithResponse call
func (QuerySmsRouterCommandResponse) ContentType ¶
func (r QuerySmsRouterCommandResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySmsRouterCommandResponse) GetBody ¶
func (r QuerySmsRouterCommandResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySmsRouterCommandResponse) Status ¶
func (r QuerySmsRouterCommandResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySmsRouterCommandResponse) StatusCode ¶
func (r QuerySmsRouterCommandResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuerySmsRouterCommandTemplateResponse ¶
func ParseQuerySmsRouterCommandTemplateResponse ¶
func ParseQuerySmsRouterCommandTemplateResponse(rsp *http.Response) (*QuerySmsRouterCommandTemplateResponse, error)
ParseQuerySmsRouterCommandTemplateResponse parses an HTTP response from a QuerySmsRouterCommandTemplateWithResponse call
func (QuerySmsRouterCommandTemplateResponse) ContentType ¶
func (r QuerySmsRouterCommandTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QuerySmsRouterCommandTemplateResponse) GetBody ¶
func (r QuerySmsRouterCommandTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QuerySmsRouterCommandTemplateResponse) Status ¶
func (r QuerySmsRouterCommandTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (QuerySmsRouterCommandTemplateResponse) StatusCode ¶
func (r QuerySmsRouterCommandTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QuotaDataSettingOpenApiVO ¶
type QuotaDataSettingOpenApiVO struct {
// Alert SMS alert for usage is enabled/disabled.
Alert *bool `json:"alert,omitempty"`
// CallingCode Calling code should contain 2 to 5 characters. Calling code must be entered when entering the country code. For the values of Calling code, refer to section 5.4.1 of the Open API Access Guide.
CallingCode *string `json:"callingCode,omitempty"`
// CountryCode Country code should contain 2 characters. Country code must be entered when entering the calling code. For the values of Country code, refer to section 5.4.1 of the Open API Access Guide.
CountryCode *string `json:"countryCode,omitempty"`
// Credit The amount of data allowance in current billing cycle.
Credit *float32 `json:"credit,omitempty"`
// CreditUnit Unit for data allowance should be a value as follows: 2:MB; 3:GB.
CreditUnit *int32 `json:"creditUnit,omitempty"`
// Limit Quota limit is enabled/disabled.
Limit bool `json:"limit"`
// Phone The phone number to receive SMS alerts.
Phone *string `json:"phone,omitempty"`
// StartDate Start date of monthly billing cycle type, valid date should be within the range of 1–31.
StartDate *int32 `json:"startDate,omitempty"`
// Type Billing cycle type should be a value as follows: 0:total; 1:monthly.
Type int32 `json:"type"`
// Usage SMS alert for usage when reach percentage of allowance, valid date should be within the range of 0–100.
Usage *int32 `json:"usage,omitempty"`
// Used The amount of data usage (KB) in current billing cycle.
Used *float32 `json:"used,omitempty"`
}
QuotaDataSettingOpenApiVO Data quota setting.
type QuotaSmsSettingOpenApiVO ¶
type QuotaSmsSettingOpenApiVO struct {
// Alert SMS alert for usage is enabled/disabled.
Alert *bool `json:"alert,omitempty"`
// CallingCode Calling code should contain 2 to 5 characters. Calling code must be entered when entering the country code. For the values of Calling code, refer to section 5.4.1 of the Open API Access Guide.
CallingCode *string `json:"callingCode,omitempty"`
// CountryCode Country code should contain 2 characters. Country code must be entered when entering the calling code. For the values of Country code, refer to section 5.4.1 of the Open API Access Guide.
CountryCode *string `json:"countryCode,omitempty"`
// Credit The amount of data allowance in current billing cycle, valid date should be within the range of 0–100000.
Credit *int32 `json:"credit,omitempty"`
// Limit Quota limit is enabled/disabled.
Limit bool `json:"limit"`
// Phone The phone number to receive SMS alerts.
Phone *string `json:"phone,omitempty"`
// StartDate Start date of monthly billing cycle type, valid date should be within the range of 1–31.
StartDate *int32 `json:"startDate,omitempty"`
// Type Billing cycle type should be a value as follows: 0:total; 1:monthly.
Type int32 `json:"type"`
// Usage SMS alert for usage when reach percentage of allowance, valid date should be within the range of 0–100.
Usage *int32 `json:"usage,omitempty"`
// Used The amount of SMS in current billing cycle.
Used *int32 `json:"used,omitempty"`
}
QuotaSmsSettingOpenApiVO SMS quota setting.
type Reboot ¶
type Reboot struct {
// Command To reboot the router via SMS, send a message starting with "LTE Router Reboot", followed by Password/PIN(e.g. LTE Router Reboot 1234). Password is required for the control of device restart via SMS.
Command *string `json:"command,omitempty"`
}
Reboot defines model for Reboot.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SendMessage ¶
type SendMessage struct {
// CallingCode Calling code should contain 2 to 5 characters. Calling code must be entered when entering the country code. For the values of Calling code, refer to section 5.4.1 of the Open API Access Guide.
CallingCode *string `json:"callingCode,omitempty"`
// Content When parameter [type] is 0, parameter [content] should not be null.
Content *string `json:"content,omitempty"`
// Receiver Receiver number.
Receiver string `json:"receiver"`
// SimCard When the device supports Dual-SIM card, parameter [simCard] shoud not be null.1: SIM1; 2: SIM2.
SimCard *int32 `json:"simCard,omitempty"`
// Test When parameter [type] is 0, parameter [content] should not be null.
Test *SimQuotaSetting `json:"test,omitempty"`
// Type Send type. 0: formal; 1: test
Type int32 `json:"type"`
}
SendMessage defines model for SendMessage.
type SendSmsMessageByMacJSONRequestBody ¶
type SendSmsMessageByMacJSONRequestBody = SendMessage
SendSmsMessageByMacJSONRequestBody defines body for SendSmsMessageByMac for application/json ContentType.
type SendSmsMessageByMacResponse ¶
func ParseSendSmsMessageByMacResponse ¶
func ParseSendSmsMessageByMacResponse(rsp *http.Response) (*SendSmsMessageByMacResponse, error)
ParseSendSmsMessageByMacResponse parses an HTTP response from a SendSmsMessageByMacWithResponse call
func (SendSmsMessageByMacResponse) ContentType ¶
func (r SendSmsMessageByMacResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SendSmsMessageByMacResponse) GetBody ¶
func (r SendSmsMessageByMacResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SendSmsMessageByMacResponse) Status ¶
func (r SendSmsMessageByMacResponse) Status() string
Status returns HTTPResponse.Status
func (SendSmsMessageByMacResponse) StatusCode ¶
func (r SendSmsMessageByMacResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendSmsMessageJSONRequestBody ¶
type SendSmsMessageJSONRequestBody = SendMessage
SendSmsMessageJSONRequestBody defines body for SendSmsMessage for application/json ContentType.
type SendSmsMessageResponse ¶
func ParseSendSmsMessageResponse ¶
func ParseSendSmsMessageResponse(rsp *http.Response) (*SendSmsMessageResponse, error)
ParseSendSmsMessageResponse parses an HTTP response from a SendSmsMessageWithResponse call
func (SendSmsMessageResponse) ContentType ¶
func (r SendSmsMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SendSmsMessageResponse) GetBody ¶
func (r SendSmsMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SendSmsMessageResponse) Status ¶
func (r SendSmsMessageResponse) Status() string
Status returns HTTPResponse.Status
func (SendSmsMessageResponse) StatusCode ¶
func (r SendSmsMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimQuotaSetting ¶
type SimQuotaSetting struct {
// CardStatus Sim card status.
CardStatus *int32 `json:"cardStatus,omitempty"`
// DataSetting Data quota setting.
DataSetting *QuotaDataSettingOpenApiVO `json:"dataSetting,omitempty"`
// Resource Sim quota setting creation resource,such as: 0: new created, 1: from template, 2: override.
Resource *int32 `json:"resource,omitempty"`
// SimCard When device supports Dual-SIM card, using parameter [simCard] to point which card to configure. 1: SIM1; 2:SIM2.
SimCard *int32 `json:"simCard,omitempty"`
// SmsSetting SMS quota setting.
SmsSetting *QuotaSmsSettingOpenApiVO `json:"smsSetting,omitempty"`
}
SimQuotaSetting When parameter [type] is 0, parameter [content] should not be null.
type SmaPolicySetting ¶
type SmaPolicySetting struct {
// InboxPolicy Policy parameter [inboxPolicy] should be from 0 to 2. 0: If SMS inbox/outbox is full, delete the oldest read SMS; 1: If SMS inbox/outbox is full, send e-mail alert to Administrator;2: If SMS inbox/outbox is full, Forward new SMS with e-mail to Administrator.
InboxPolicy int32 `json:"inboxPolicy"`
// MailServer Mail server ID.
MailServer *string `json:"mailServer,omitempty"`
// Resource SMS policy setting creation resource, such as: 0: new created, 1: from template, 2: override.
Resource *int32 `json:"resource,omitempty"`
}
SmaPolicySetting defines model for SmaPolicySetting.
type SmsRouterCommand ¶
type SmsRouterCommand struct {
Access *Access `json:"access,omitempty"`
// AccessEnable Whether to enable the allow list of the above functions, and only allow users in the list to interact with the device.
AccessEnable bool `json:"accessEnable"`
Reboot *Reboot `json:"reboot,omitempty"`
// RebootEnable Whether to enable the control of device restart via SMS.
RebootEnable bool `json:"rebootEnable"`
// Resource The SMS router command setting creation resource, such as: 0: new created, 1: from template, 2: override.
Resource *int32 `json:"resource,omitempty"`
Status *Status `json:"status,omitempty"`
// StatusEnable Whether to enable Viewing device-related information and WAN port-related information via SMS.
StatusEnable bool `json:"statusEnable"`
}
SmsRouterCommand defines model for SmsRouterCommand.
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 Status ¶
type Status struct {
// Command To get status information from the router, send a message starting with "LTE Router Status", followed by Password/PIN(e.g. LTE Router Status 1234). The password is required for viewing device-related Information via SMS.
Command *string `json:"command,omitempty"`
Content *StatusContent `json:"content,omitempty"`
}
Status defines model for Status.
type StatusContent ¶
type StatusContent struct {
// Mac Whether to query device MAC address.
Mac *bool `json:"mac,omitempty"`
// Name Whether to query device model name.
Name *bool `json:"name,omitempty"`
Ports *[]ContentPortInfo `json:"ports,omitempty"`
// Uptime Whether to query device boot time.
Uptime *bool `json:"uptime,omitempty"`
// Version Whether to query device firmware version.
Version *bool `json:"version,omitempty"`
}
StatusContent defines model for StatusContent.
type SupportSmsOpenApiVO ¶
type SupportSmsOpenApiVO struct {
// SupportDualSim Whether the device supports Dual-SIM card.
SupportDualSim *int32 `json:"supportDualSim,omitempty"`
// SupportDualSms Whether two SIM cards support SMS. 0: SIM1 and SIM2 not support; 1: SIM1 supports, SIM2 not supports; 2: SIM1 not supports, SIM2 supports; 3: SIM1 and SIM2 support.
SupportDualSms *int32 `json:"supportDualSms,omitempty"`
// SupportLte Whether the device supports LTE.
SupportLte *bool `json:"supportLte,omitempty"`
// SupportSms Whether the using SIM card supports SMS.
SupportSms *bool `json:"supportSms,omitempty"`
}
SupportSmsOpenApiVO defines model for SupportSmsOpenApiVO.
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 TopologyFilterClientCountDTO ¶
type TopologyFilterClientCountDTO struct {
// Client2g 2g Client Count
Client2g *int32 `json:"client2g,omitempty"`
// Client2g5g 2g And 5g Client Count
Client2g5g *int32 `json:"client2g5g,omitempty"`
// Client2g5g6g 2g, 5g And 6g Client Count
Client2g5g6g *int32 `json:"client2g5g6g,omitempty"`
// Client2g6g 2g And 6g Client Count
Client2g6g *int32 `json:"client2g6g,omitempty"`
// Client5g 5g Client Count
Client5g *int32 `json:"client5g,omitempty"`
// Client5g6g 5g And 6g Client Count
Client5g6g *int32 `json:"client5g6g,omitempty"`
// Client6g 6g Client Count
Client6g *int32 `json:"client6g,omitempty"`
// WiredClient Wired Client Count
WiredClient *int32 `json:"wiredClient,omitempty"`
}
TopologyFilterClientCountDTO Each Connection Type Client Count
type TopologyOpenApiEdgeVO ¶
type TopologyOpenApiEdgeVO struct {
// Blocked Blocked Or Not
Blocked *bool `json:"blocked,omitempty"`
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// DownLinkMac DownLink Mac
DownLinkMac *string `json:"downLinkMac,omitempty"`
// Port Downlink Port
Port *WiredPortV3DTO `json:"port,omitempty"`
// RemainBlockNum Remain Block Num
RemainBlockNum *int32 `json:"remainBlockNum,omitempty"`
// RemainBlockedPortList Remain Blocked PortList
RemainBlockedPortList *[]TopologyOpenApiEdgeVO `json:"remainBlockedPortList,omitempty"`
// UpLinkMac UpLink Mac
UpLinkMac *string `json:"upLinkMac,omitempty"`
// UpLinkPort Downlink Port
UpLinkPort *WiredPortV3DTO `json:"upLinkPort,omitempty"`
}
TopologyOpenApiEdgeVO Topology Edges
type TopologyV3OpenApiNodeVO ¶
type TopologyV3OpenApiNodeVO struct {
// AbnormalReason Stack Abnormal Reason. 0: Not All Connected. 2: Not All Activated.
AbnormalReason *int32 `json:"abnormalReason,omitempty"`
// Active Whether The Device Is License Active Or Not
Active *bool `json:"active,omitempty"`
// Capability Other Device Capability
Capability *string `json:"capability,omitempty"`
// Channel2g channel2g
Channel2g *int32 `json:"channel2g,omitempty"`
// Channel5g channel5g
Channel5g *int32 `json:"channel5g,omitempty"`
// Channel5g2 channel5g2
Channel5g2 *int32 `json:"channel5g2,omitempty"`
// Channel6g channel6g
Channel6g *int32 `json:"channel6g,omitempty"`
// ChannelNum ChannelNum Of IPC/NVR
ChannelNum *int32 `json:"channelNum,omitempty"`
// ClientCount Directly Connected Client Count
ClientCount *int32 `json:"clientCount,omitempty"`
// ClientHealth Client Health
ClientHealth *ClientAggHealthDTO `json:"clientHealth,omitempty"`
// ClientType Type of Third Party Device, if type is other
ClientType *string `json:"clientType,omitempty"`
// ClientVlanId Vlan Id Of Client That Exists In Topology As Other Device
ClientVlanId *int32 `json:"clientVlanId,omitempty"`
// Compatible The Compatibility Type Of Device Firmware And Controller
Compatible *int32 `json:"compatible,omitempty"`
// ConnectedChannel Connected Channel Of IPC/NVR
ConnectedChannel *int32 `json:"connectedChannel,omitempty"`
// DadLink DadLink for mlag node
DadLink *[]WiredPortV3DTO `json:"dadLink,omitempty"`
// Description Other Device Description
Description *string `json:"description,omitempty"`
// DevRxRate Device RxRate
DevRxRate *int64 `json:"devRxRate,omitempty"`
// DevTxRate Device TxRate
DevTxRate *int64 `json:"devTxRate,omitempty"`
// DeviceSeriesType Device Series Type
DeviceSeriesType *int32 `json:"deviceSeriesType,omitempty"`
// Disconnected Whether The Device Is Disconnected Or Not
Disconnected *bool `json:"disconnected,omitempty"`
// EcspFirstVersion Device Protocol First Version
EcspFirstVersion *int32 `json:"ecspFirstVersion,omitempty"`
// ExistStpLoop Exist Stp Loop Or Not
ExistStpLoop *bool `json:"existStpLoop,omitempty"`
// FilterClientCount Each Connection Type Client Count
FilterClientCount *TopologyFilterClientCountDTO `json:"filterClientCount,omitempty"`
// FirmwareVersion FirmwareVersion Of IPC/NVR
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
// HealthScore Health Score
HealthScore *int32 `json:"healthScore,omitempty"`
// Ip Device Ip
Ip *string `json:"ip,omitempty"`
// IpcCount Directly Connected IPC Client Count
IpcCount *int32 `json:"ipcCount,omitempty"`
// Ippt If Gateway Is Ippt Mode
Ippt *bool `json:"ippt,omitempty"`
// IsAllClients Whether The Client Group Is All Clients Or Just Other Clients
IsAllClients *bool `json:"isAllClients,omitempty"`
// LanPorts Gateway Lan Port List
LanPorts *[]LanPort `json:"lanPorts,omitempty"`
// Mac Device Mac
Mac *string `json:"mac,omitempty"`
// MacList Device Macs
MacList *[]string `json:"macList,omitempty"`
// MlagId Mlag group id
MlagId *string `json:"mlagId,omitempty"`
// Model Device Model
Model *string `json:"model,omitempty"`
// ModelVersion Device ModelVersion
ModelVersion *string `json:"modelVersion,omitempty"`
// MultiSwitchDownlinkClient Mlag Or Vrrp Group All Members Client Query Parameter
MultiSwitchDownlinkClient *[]ClientsQueryMacAndFilterType `json:"multiSwitchDownlinkClient,omitempty"`
// MultiSwitchList All members for multiSwitchNode including mlag and vrrp node
MultiSwitchList *[]TopologyV3OpenApiNodeVO `json:"multiSwitchList,omitempty"`
// MultiSwitchNum Serial number for mlag and vrrp node members, which is unique
MultiSwitchNum *int32 `json:"multiSwitchNum,omitempty"`
// MultiSwitchRole Role for mlag and vrrp node members
MultiSwitchRole *int32 `json:"multiSwitchRole,omitempty"`
// Name Device Name
Name *string `json:"name,omitempty"`
// OmadaDeviceType Type of Omada Device, if type is other
OmadaDeviceType *string `json:"omadaDeviceType,omitempty"`
// PeerLink PeerLink for mlag node
PeerLink *[]WiredPortV3DTO `json:"peerLink,omitempty"`
// PortLabels Other Device Port Labels
PortLabels *PortLabelDTO `json:"portLabels,omitempty"`
// RdMode2g rdMode2g
RdMode2g *string `json:"rdMode2g,omitempty"`
// RdMode5g rdMode5g
RdMode5g *string `json:"rdMode5g,omitempty"`
// RdMode5g2 rdMode5g2
RdMode5g2 *string `json:"rdMode5g2,omitempty"`
// RdMode6g rdMode6g
RdMode6g *string `json:"rdMode6g,omitempty"`
// Role Identify Device Role In P2P Scenarios
Role *int32 `json:"role,omitempty"`
// ShowModel Device Show Model
ShowModel *string `json:"showModel,omitempty"`
// SpecialModel Special device model,for example:EAP225-Outdoor-1a20a950b8d950e8
SpecialModel *string `json:"specialModel,omitempty"`
// SpecificOtherType SpecificOtherType for other device
SpecificOtherType *string `json:"specificOtherType,omitempty"`
// SpecificType SpecificType for multiSwitchNode, 0 means mlag node and 1 means vrrp node
SpecificType *int32 `json:"specificType,omitempty"`
// StackGroup Whether The Switch Device Is Stack Group Or Not
StackGroup *bool `json:"stackGroup,omitempty"`
// StackId StackGroup Switch Device Id
StackId *string `json:"stackId,omitempty"`
// StackStatus Status of the Stack Group. 0: normal; 1: abnormal; 2: stack not ready.
StackStatus *int32 `json:"stackStatus,omitempty"`
// Status Device Status
Status *int32 `json:"status,omitempty"`
// StatusCategory Device Status Category
StatusCategory *int32 `json:"statusCategory,omitempty"`
// Successors Device Successors
Successors *[]TopologyV3OpenApiNodeVO `json:"successors,omitempty"`
// Support5g2 Whether The Device Supports 5g2 Or Not
Support5g2 *bool `json:"support5g2,omitempty"`
// Type Device Type
Type *string `json:"type,omitempty"`
// UplinkMacList Mlag Or Vrrp Group All Members Mac List
UplinkMacList *[]string `json:"uplinkMacList,omitempty"`
// VigiManaged If Vigi Is Managed By Vms
VigiManaged *bool `json:"vigiManaged,omitempty"`
// VigiWirelessUpInfo Wireless Vigi UpLink Info
VigiWirelessUpInfo *VigiWirelessUpInfoDTO `json:"vigiWirelessUpInfo,omitempty"`
// VlansAsMaster All vlans that vrrp member act as master
VlansAsMaster *string `json:"vlansAsMaster,omitempty"`
// VrrpGroupList Vrrp node member's vrrp group information
VrrpGroupList *[]VrrpGroupDTO `json:"vrrpGroupList,omitempty"`
// VrrpLink Vrrp members internal link
VrrpLink *[]VrrpLinkDTO `json:"vrrpLink,omitempty"`
// WanPorts Gateway Wan Port List
WanPorts *[]WanPort `json:"wanPorts,omitempty"`
// WarnNvrFirmware Whether IPC/NVR Needs To Upgrade Firmware To Support Lldp Feature
WarnNvrFirmware *bool `json:"warnNvrFirmware,omitempty"`
// WiredUpInfo Multi wiredUpInfo for mlag and vrrp member or downlink device
WiredUpInfo *WiredUpInfoDTO `json:"wiredUpInfo,omitempty"`
// WiredUpInfos Multi wiredUpInfo for mlag and vrrp member or downlink device
WiredUpInfos *[]WiredUpInfoDTO `json:"wiredUpInfos,omitempty"`
// WirelessUpInfo Wireless UpLink Info
WirelessUpInfo *WirelessUpInfoDTO `json:"wirelessUpInfo,omitempty"`
// WirelessUplink Whether The IPC/NVR Is Wireless Connected Or Not
WirelessUplink *bool `json:"wirelessUplink,omitempty"`
}
TopologyV3OpenApiNodeVO Topology Nodes
type VigiWirelessUpInfoDTO ¶
type VigiWirelessUpInfoDTO struct {
// Channel Wireless Vigi Channel
Channel *int32 `json:"channel,omitempty"`
// MultiLink Vigi MultiLink In MLO Mode
MultiLink *[]MultiLinkEntryDTO `json:"multiLink,omitempty"`
// Radio Wireless Vigi Radio
Radio *int32 `json:"radio,omitempty"`
// Ssid Wireless Vigi Ssid
Ssid *string `json:"ssid,omitempty"`
// Support5g2 Whether The Vigi Supports 5g2 Or Not
Support5g2 *bool `json:"support5g2,omitempty"`
}
VigiWirelessUpInfoDTO Wireless Vigi UpLink Info
type VrrpGroupDTO ¶
type VrrpGroupDTO struct {
IsMaster *bool `json:"isMaster,omitempty"`
VrrpId *int32 `json:"vrrpId,omitempty"`
VrrpName *string `json:"vrrpName,omitempty"`
}
VrrpGroupDTO Vrrp node member's vrrp group information
type VrrpLinkDTO ¶
type VrrpLinkDTO struct {
// Blocked Whether The Link Is Blocked By STP Or Not
Blocked *bool `json:"blocked,omitempty"`
// DownLink Downlink Port
DownLink *WiredPortV3DTO `json:"downLink,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// LinkSpeed LinkSpeed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// UpLink Downlink Port
UpLink *WiredPortV3DTO `json:"upLink,omitempty"`
}
VrrpLinkDTO Vrrp members internal link
type WanPort ¶
type WanPort struct {
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// HealthLevel Health Level
HealthLevel *int32 `json:"healthLevel,omitempty"`
// InternetState Port Internet State
InternetState *int32 `json:"internetState,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Name Port Name
Name *string `json:"name,omitempty"`
// OnlineDetection Port Online Detection
OnlineDetection *int32 `json:"onlineDetection,omitempty"`
// Port Port Id
Port *string `json:"port,omitempty"`
// Status Port Status
Status *int32 `json:"status,omitempty"`
// TxRate Rx Rate
TxRate *int64 `json:"txRate,omitempty"`
// Wireless Whether the port is wireless.
Wireless *bool `json:"wireless,omitempty"`
}
WanPort Wan Port List
type 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