remote

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package remote 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

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddTunnelRequest

func NewAddTunnelRequest(server string, omadacId string, siteId string, body AddTunnelJSONRequestBody) (*http.Request, error)

NewAddTunnelRequest calls the generic AddTunnel builder with application/json body

func NewAddTunnelRequestWithBody

func NewAddTunnelRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)

NewAddTunnelRequestWithBody constructs an http.Request for the AddTunnel method, with any body, and a specified content type

func NewDeleteTunnelRequest

func NewDeleteTunnelRequest(server string, omadacId string, siteId string, tunnelId string) (*http.Request, error)

NewDeleteTunnelRequest constructs an http.Request for the DeleteTunnel method

func NewEditTunnelRequest

func NewEditTunnelRequest(server string, omadacId string, siteId string, tunnelId string, body EditTunnelJSONRequestBody) (*http.Request, error)

NewEditTunnelRequest calls the generic EditTunnel builder with application/json body

func NewEditTunnelRequestWithBody

func NewEditTunnelRequestWithBody(server string, omadacId string, siteId string, tunnelId string, contentType string, body io.Reader) (*http.Request, error)

NewEditTunnelRequestWithBody constructs an http.Request for the EditTunnel method, with any body, and a specified content type

func NewGetIgmpTemplateRequest

func NewGetIgmpTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)

NewGetIgmpTemplateRequest constructs an http.Request for the GetIgmpTemplate method

func NewGetSingleDeviceTunnelRequest

func NewGetSingleDeviceTunnelRequest(server string, omadacId string, siteId string, localMac string) (*http.Request, error)

NewGetSingleDeviceTunnelRequest constructs an http.Request for the GetSingleDeviceTunnel method

func NewGetSshSettingRequest

func NewGetSshSettingRequest(server string, omadacId string, siteId string) (*http.Request, error)

NewGetSshSettingRequest constructs an http.Request for the GetSshSetting method

func NewGetSshSettingTemplateRequest

func NewGetSshSettingTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)

NewGetSshSettingTemplateRequest constructs an http.Request for the GetSshSettingTemplate method

func NewGetTunnelRequest

func NewGetTunnelRequest(server string, omadacId string, siteId string, params *GetTunnelParams) (*http.Request, error)

NewGetTunnelRequest constructs an http.Request for the GetTunnel method

func NewGetTunnelStatusRequest

func NewGetTunnelStatusRequest(server string, omadacId string, siteId string, tunnelId string) (*http.Request, error)

NewGetTunnelStatusRequest constructs an http.Request for the GetTunnelStatus method

func NewGetTunnelsEwebInfoRequest

func NewGetTunnelsEwebInfoRequest(server string, omadacId string, siteId string, tunnelId string) (*http.Request, error)

NewGetTunnelsEwebInfoRequest constructs an http.Request for the GetTunnelsEwebInfo method

func NewGetTunnelsStatusRequest

func NewGetTunnelsStatusRequest(server string, omadacId string, siteId string) (*http.Request, error)

NewGetTunnelsStatusRequest constructs an http.Request for the GetTunnelsStatus method

func NewGetUpnpSettingRequest

func NewGetUpnpSettingRequest(server string, omadacId string, siteId string) (*http.Request, error)

NewGetUpnpSettingRequest constructs an http.Request for the GetUpnpSetting method

func NewGetUpnpSettingTemplateRequest

func NewGetUpnpSettingTemplateRequest(server string, omadacId string, siteTemplateId string) (*http.Request, error)

NewGetUpnpSettingTemplateRequest constructs an http.Request for the GetUpnpSettingTemplate method

func NewModifyIgmpTemplateRequest

func NewModifyIgmpTemplateRequest(server string, omadacId string, siteTemplateId string, body ModifyIgmpTemplateJSONRequestBody) (*http.Request, error)

NewModifyIgmpTemplateRequest calls the generic ModifyIgmpTemplate builder with application/json body

func NewModifyIgmpTemplateRequestWithBody

func NewModifyIgmpTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, body io.Reader) (*http.Request, error)

NewModifyIgmpTemplateRequestWithBody constructs an http.Request for the ModifyIgmpTemplate method, with any body, and a specified content type

func NewModifyTunnelRequest

func NewModifyTunnelRequest(server string, omadacId string, siteId string, tunnelId string, body ModifyTunnelJSONRequestBody) (*http.Request, error)

NewModifyTunnelRequest calls the generic ModifyTunnel builder with application/json body

func NewModifyTunnelRequestWithBody

func NewModifyTunnelRequestWithBody(server string, omadacId string, siteId string, tunnelId string, contentType string, body io.Reader) (*http.Request, error)

NewModifyTunnelRequestWithBody constructs an http.Request for the ModifyTunnel method, with any body, and a specified content type

func NewUpdateSshSettingRequest

func NewUpdateSshSettingRequest(server string, omadacId string, siteId string, body UpdateSshSettingJSONRequestBody) (*http.Request, error)

NewUpdateSshSettingRequest calls the generic UpdateSshSetting builder with application/json body

func NewUpdateSshSettingRequestWithBody

func NewUpdateSshSettingRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSshSettingRequestWithBody constructs an http.Request for the UpdateSshSetting method, with any body, and a specified content type

func NewUpdateSshSettingTemplateRequest

func NewUpdateSshSettingTemplateRequest(server string, omadacId string, siteTemplateId string, body UpdateSshSettingTemplateJSONRequestBody) (*http.Request, error)

NewUpdateSshSettingTemplateRequest calls the generic UpdateSshSettingTemplate builder with application/json body

func NewUpdateSshSettingTemplateRequestWithBody

func NewUpdateSshSettingTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSshSettingTemplateRequestWithBody constructs an http.Request for the UpdateSshSettingTemplate method, with any body, and a specified content type

func NewUpdateUpnpSettingRequest

func NewUpdateUpnpSettingRequest(server string, omadacId string, siteId string, body UpdateUpnpSettingJSONRequestBody) (*http.Request, error)

NewUpdateUpnpSettingRequest calls the generic UpdateUpnpSetting builder with application/json body

func NewUpdateUpnpSettingRequestWithBody

func NewUpdateUpnpSettingRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUpnpSettingRequestWithBody constructs an http.Request for the UpdateUpnpSetting method, with any body, and a specified content type

func NewUpdateUpnpSettingTemplateRequest

func NewUpdateUpnpSettingTemplateRequest(server string, omadacId string, siteTemplateId string, body UpdateUpnpSettingTemplateJSONRequestBody) (*http.Request, error)

NewUpdateUpnpSettingTemplateRequest calls the generic UpdateUpnpSettingTemplate builder with application/json body

func NewUpdateUpnpSettingTemplateRequestWithBody

func NewUpdateUpnpSettingTemplateRequestWithBody(server string, omadacId string, siteTemplateId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUpnpSettingTemplateRequestWithBody constructs an http.Request for the UpdateUpnpSettingTemplate method, with any body, and a specified content type

Types

type AddTunnelJSONRequestBody

type AddTunnelJSONRequestBody = NatTraversalTunnelOpenApiVO

AddTunnelJSONRequestBody defines body for AddTunnel for application/json ContentType.

type AddTunnelResponse

type AddTunnelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddTunnelResponse

func ParseAddTunnelResponse(rsp *http.Response) (*AddTunnelResponse, error)

ParseAddTunnelResponse parses an HTTP response from a AddTunnelWithResponse call

func (AddTunnelResponse) ContentType

func (r AddTunnelResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddTunnelResponse) GetBody

func (r AddTunnelResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AddTunnelResponse) Status

func (r AddTunnelResponse) Status() string

Status returns HTTPResponse.Status

func (AddTunnelResponse) StatusCode

func (r AddTunnelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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) AddTunnel

func (c *Client) AddTunnel(ctx context.Context, omadacId string, siteId string, body AddTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AddTunnel Create new remote access tunnel

Takes a body of the `application/json` content type.

Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel (the `AddTunnel` operationId).

func (*Client) AddTunnelWithBody

func (c *Client) AddTunnelWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

AddTunnelWithBody Create new remote access tunnel

Takes any type of body and a specified content type.

Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel (the `AddTunnel` operationId).

func (*Client) DeleteTunnel

func (c *Client) DeleteTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteTunnel Delete remote access tunnel information

Delete new remote access tunnel information.

Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId} (the `DeleteTunnel` operationId).

func (*Client) EditTunnel

func (c *Client) EditTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, body EditTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EditTunnel Modify remote access tunnel information

Takes a body of the `application/json` content type.

Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId} (the `EditTunnel` operationId).

func (*Client) EditTunnelWithBody

func (c *Client) EditTunnelWithBody(ctx context.Context, omadacId string, siteId string, tunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

EditTunnelWithBody Modify remote access tunnel information

Takes any type of body and a specified content type.

Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId} (the `EditTunnel` operationId).

func (*Client) GetIgmpTemplate

func (c *Client) GetIgmpTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetIgmpTemplate Get IGMP template setting

Get IGMP template setting of the site with the given omadacId and siteId.

Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `GetIgmpTemplate` operationId).

func (*Client) GetSingleDeviceTunnel

func (c *Client) GetSingleDeviceTunnel(ctx context.Context, omadacId string, siteId string, localMac string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSingleDeviceTunnel Get single device tunnel

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/deviceTunnel/{localMac} (the `GetSingleDeviceTunnel` operationId).

func (*Client) GetSshSetting

func (c *Client) GetSshSetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSshSetting Get SSH setting

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `GetSshSetting` operationId).

func (*Client) GetSshSettingTemplate

func (c *Client) GetSshSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSshSettingTemplate Get SSH template setting

Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `GetSshSettingTemplate` operationId).

func (*Client) GetTunnel

func (c *Client) GetTunnel(ctx context.Context, omadacId string, siteId string, params *GetTunnelParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTunnel Get remote access tunnel

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel (the `GetTunnel` operationId).

func (*Client) GetTunnelStatus

func (c *Client) GetTunnelStatus(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTunnelStatus Get remote access tunnel's status

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/status (the `GetTunnelStatus` operationId).

func (*Client) GetTunnelsEwebInfo

func (c *Client) GetTunnelsEwebInfo(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTunnelsEwebInfo Get tunnel eweb info

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/ewebInfo (the `GetTunnelsEwebInfo` operationId).

func (*Client) GetTunnelsStatus

func (c *Client) GetTunnelsStatus(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTunnelsStatus Get all remote access tunnel's status

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/status (the `GetTunnelsStatus` operationId).

func (*Client) GetUpnpSetting

func (c *Client) GetUpnpSetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUpnpSetting Get UPnP setting

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `GetUpnpSetting` operationId).

func (*Client) GetUpnpSettingTemplate

func (c *Client) GetUpnpSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUpnpSettingTemplate Get UPnP template setting

Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `GetUpnpSettingTemplate` operationId).

func (*Client) ModifyIgmpTemplate

func (c *Client) ModifyIgmpTemplate(ctx context.Context, omadacId string, siteTemplateId string, body ModifyIgmpTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ModifyIgmpTemplate Modify IGMP template setting

Modify IGMP template setting info of the site with the given params.

Takes a body of the `application/json` content type.

Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `ModifyIgmpTemplate` operationId).

func (*Client) ModifyIgmpTemplateWithBody

func (c *Client) ModifyIgmpTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ModifyIgmpTemplateWithBody Modify IGMP template setting

Modify IGMP template setting info of the site with the given params.

Takes any type of body and a specified content type.

Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `ModifyIgmpTemplate` operationId).

func (*Client) ModifyTunnel

func (c *Client) ModifyTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, body ModifyTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ModifyTunnel Enable/Disable remote access tunnel

Takes a body of the `application/json` content type.

Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/status (the `ModifyTunnel` operationId).

func (*Client) ModifyTunnelWithBody

func (c *Client) ModifyTunnelWithBody(ctx context.Context, omadacId string, siteId string, tunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ModifyTunnelWithBody Enable/Disable remote access tunnel

Takes any type of body and a specified content type.

Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/status (the `ModifyTunnel` operationId).

func (*Client) UpdateSshSetting

func (c *Client) UpdateSshSetting(ctx context.Context, omadacId string, siteId string, body UpdateSshSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSshSetting Modify SSH setting

Takes a body of the `application/json` content type.

Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `UpdateSshSetting` operationId).

func (*Client) UpdateSshSettingTemplate

func (c *Client) UpdateSshSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, body UpdateSshSettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSshSettingTemplate Modify SSH template setting

Takes a body of the `application/json` content type.

Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `UpdateSshSettingTemplate` operationId).

func (*Client) UpdateSshSettingTemplateWithBody

func (c *Client) UpdateSshSettingTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSshSettingTemplateWithBody Modify SSH template setting

Takes any type of body and a specified content type.

Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `UpdateSshSettingTemplate` operationId).

func (*Client) UpdateSshSettingWithBody

func (c *Client) UpdateSshSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSshSettingWithBody Modify SSH setting

Takes any type of body and a specified content type.

Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `UpdateSshSetting` operationId).

func (*Client) UpdateUpnpSetting

func (c *Client) UpdateUpnpSetting(ctx context.Context, omadacId string, siteId string, body UpdateUpnpSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUpnpSetting Modify UPnP setting

Takes a body of the `application/json` content type.

Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `UpdateUpnpSetting` operationId).

func (*Client) UpdateUpnpSettingTemplate

func (c *Client) UpdateUpnpSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, body UpdateUpnpSettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUpnpSettingTemplate Modify UPnP template setting

Takes a body of the `application/json` content type.

Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `UpdateUpnpSettingTemplate` operationId).

func (*Client) UpdateUpnpSettingTemplateWithBody

func (c *Client) UpdateUpnpSettingTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUpnpSettingTemplateWithBody Modify UPnP template setting

Takes any type of body and a specified content type.

Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `UpdateUpnpSettingTemplate` operationId).

func (*Client) UpdateUpnpSettingWithBody

func (c *Client) UpdateUpnpSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUpnpSettingWithBody Modify UPnP setting

Takes any type of body and a specified content type.

Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `UpdateUpnpSetting` 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 {

	// GetTunnel Get remote access tunnel
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel (the `GetTunnel` operationId).
	GetTunnel(ctx context.Context, omadacId string, siteId string, params *GetTunnelParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddTunnelWithBody Create new remote access tunnel
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel (the `AddTunnel` operationId).
	AddTunnelWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddTunnel Create new remote access tunnel
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel (the `AddTunnel` operationId).
	AddTunnel(ctx context.Context, omadacId string, siteId string, body AddTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSingleDeviceTunnel Get single device tunnel
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/deviceTunnel/{localMac} (the `GetSingleDeviceTunnel` operationId).
	GetSingleDeviceTunnel(ctx context.Context, omadacId string, siteId string, localMac string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTunnelsStatus Get all remote access tunnel's status
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/status (the `GetTunnelsStatus` operationId).
	GetTunnelsStatus(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTunnel Delete remote access tunnel information
	//
	// Delete new remote access tunnel information.
	//
	// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId} (the `DeleteTunnel` operationId).
	DeleteTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditTunnelWithBody Modify remote access tunnel information
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId} (the `EditTunnel` operationId).
	EditTunnelWithBody(ctx context.Context, omadacId string, siteId string, tunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditTunnel Modify remote access tunnel information
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId} (the `EditTunnel` operationId).
	EditTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, body EditTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTunnelsEwebInfo Get tunnel eweb info
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/ewebInfo (the `GetTunnelsEwebInfo` operationId).
	GetTunnelsEwebInfo(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTunnelStatus Get remote access tunnel's status
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/status (the `GetTunnelStatus` operationId).
	GetTunnelStatus(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyTunnelWithBody Enable/Disable remote access tunnel
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/status (the `ModifyTunnel` operationId).
	ModifyTunnelWithBody(ctx context.Context, omadacId string, siteId string, tunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyTunnel Enable/Disable remote access tunnel
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/status (the `ModifyTunnel` operationId).
	ModifyTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, body ModifyTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSshSetting Get SSH setting
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `GetSshSetting` operationId).
	GetSshSetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSshSettingWithBody Modify SSH setting
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `UpdateSshSetting` operationId).
	UpdateSshSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSshSetting Modify SSH setting
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `UpdateSshSetting` operationId).
	UpdateSshSetting(ctx context.Context, omadacId string, siteId string, body UpdateSshSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUpnpSetting Get UPnP setting
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `GetUpnpSetting` operationId).
	GetUpnpSetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUpnpSettingWithBody Modify UPnP setting
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `UpdateUpnpSetting` operationId).
	UpdateUpnpSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUpnpSetting Modify UPnP setting
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `UpdateUpnpSetting` operationId).
	UpdateUpnpSetting(ctx context.Context, omadacId string, siteId string, body UpdateUpnpSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIgmpTemplate Get IGMP template setting
	//
	// Get IGMP template setting of the site with the given omadacId and siteId.
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `GetIgmpTemplate` operationId).
	GetIgmpTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyIgmpTemplateWithBody Modify IGMP template setting
	//
	// Modify IGMP template setting info of the site with the given params.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `ModifyIgmpTemplate` operationId).
	ModifyIgmpTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyIgmpTemplate Modify IGMP template setting
	//
	// Modify IGMP template setting info of the site with the given params.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `ModifyIgmpTemplate` operationId).
	ModifyIgmpTemplate(ctx context.Context, omadacId string, siteTemplateId string, body ModifyIgmpTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSshSettingTemplate Get SSH template setting
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `GetSshSettingTemplate` operationId).
	GetSshSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSshSettingTemplateWithBody Modify SSH template setting
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `UpdateSshSettingTemplate` operationId).
	UpdateSshSettingTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSshSettingTemplate Modify SSH template setting
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `UpdateSshSettingTemplate` operationId).
	UpdateSshSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, body UpdateSshSettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUpnpSettingTemplate Get UPnP template setting
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `GetUpnpSettingTemplate` operationId).
	GetUpnpSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUpnpSettingTemplateWithBody Modify UPnP template setting
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `UpdateUpnpSettingTemplate` operationId).
	UpdateUpnpSettingTemplateWithBody(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUpnpSettingTemplate Modify UPnP template setting
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `UpdateUpnpSettingTemplate` operationId).
	UpdateUpnpSettingTemplate(ctx context.Context, omadacId string, siteTemplateId string, body UpdateUpnpSettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) AddTunnelWithBodyWithResponse

func (c *ClientWithResponses) AddTunnelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTunnelResponse, error)

AddTunnelWithBodyWithResponse Create new remote access tunnel

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}/remoteAccess/tunnel (the `AddTunnel` operationId).

func (*ClientWithResponses) AddTunnelWithResponse

func (c *ClientWithResponses) AddTunnelWithResponse(ctx context.Context, omadacId string, siteId string, body AddTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTunnelResponse, error)

AddTunnelWithResponse Create new remote access tunnel

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}/remoteAccess/tunnel (the `AddTunnel` operationId).

func (*ClientWithResponses) DeleteTunnelWithResponse

func (c *ClientWithResponses) DeleteTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*DeleteTunnelResponse, error)

DeleteTunnelWithResponse Delete remote access tunnel information

Delete new remote access tunnel information.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId} (the `DeleteTunnel` operationId).

func (*ClientWithResponses) EditTunnelWithBodyWithResponse

func (c *ClientWithResponses) EditTunnelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTunnelResponse, error)

EditTunnelWithBodyWithResponse Modify remote access tunnel information

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}/remoteAccess/tunnel/{tunnelId} (the `EditTunnel` operationId).

func (*ClientWithResponses) EditTunnelWithResponse

func (c *ClientWithResponses) EditTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, body EditTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTunnelResponse, error)

EditTunnelWithResponse Modify remote access tunnel information

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}/remoteAccess/tunnel/{tunnelId} (the `EditTunnel` operationId).

func (*ClientWithResponses) GetIgmpTemplateWithResponse

func (c *ClientWithResponses) GetIgmpTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetIgmpTemplateResponse, error)

GetIgmpTemplateWithResponse Get IGMP template setting

Get IGMP template setting of the site with the given omadacId and siteId.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `GetIgmpTemplate` operationId).

func (*ClientWithResponses) GetSingleDeviceTunnelWithResponse

func (c *ClientWithResponses) GetSingleDeviceTunnelWithResponse(ctx context.Context, omadacId string, siteId string, localMac string, reqEditors ...RequestEditorFn) (*GetSingleDeviceTunnelResponse, error)

GetSingleDeviceTunnelWithResponse Get single device tunnel

Returns a wrapper object for the known response body format(s).

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/deviceTunnel/{localMac} (the `GetSingleDeviceTunnel` operationId).

func (*ClientWithResponses) GetSshSettingTemplateWithResponse

func (c *ClientWithResponses) GetSshSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetSshSettingTemplateResponse, error)

GetSshSettingTemplateWithResponse Get SSH template setting

Returns a wrapper object for the known response body format(s).

Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `GetSshSettingTemplate` operationId).

func (*ClientWithResponses) GetSshSettingWithResponse

func (c *ClientWithResponses) GetSshSettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSshSettingResponse, error)

GetSshSettingWithResponse Get SSH setting

Returns a wrapper object for the known response body format(s).

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `GetSshSetting` operationId).

func (*ClientWithResponses) GetTunnelStatusWithResponse

func (c *ClientWithResponses) GetTunnelStatusWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*GetTunnelStatusResponse, error)

GetTunnelStatusWithResponse Get remote access tunnel's status

Returns a wrapper object for the known response body format(s).

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/status (the `GetTunnelStatus` operationId).

func (*ClientWithResponses) GetTunnelWithResponse

func (c *ClientWithResponses) GetTunnelWithResponse(ctx context.Context, omadacId string, siteId string, params *GetTunnelParams, reqEditors ...RequestEditorFn) (*GetTunnelResponse, error)

GetTunnelWithResponse Get remote access tunnel

Returns a wrapper object for the known response body format(s).

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel (the `GetTunnel` operationId).

func (*ClientWithResponses) GetTunnelsEwebInfoWithResponse

func (c *ClientWithResponses) GetTunnelsEwebInfoWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*GetTunnelsEwebInfoResponse, error)

GetTunnelsEwebInfoWithResponse Get tunnel eweb info

Returns a wrapper object for the known response body format(s).

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/ewebInfo (the `GetTunnelsEwebInfo` operationId).

func (*ClientWithResponses) GetTunnelsStatusWithResponse

func (c *ClientWithResponses) GetTunnelsStatusWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetTunnelsStatusResponse, error)

GetTunnelsStatusWithResponse Get all remote access tunnel's status

Returns a wrapper object for the known response body format(s).

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/status (the `GetTunnelsStatus` operationId).

func (*ClientWithResponses) GetUpnpSettingTemplateWithResponse

func (c *ClientWithResponses) GetUpnpSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetUpnpSettingTemplateResponse, error)

GetUpnpSettingTemplateWithResponse Get UPnP template setting

Returns a wrapper object for the known response body format(s).

Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `GetUpnpSettingTemplate` operationId).

func (*ClientWithResponses) GetUpnpSettingWithResponse

func (c *ClientWithResponses) GetUpnpSettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetUpnpSettingResponse, error)

GetUpnpSettingWithResponse Get UPnP setting

Returns a wrapper object for the known response body format(s).

Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `GetUpnpSetting` operationId).

func (*ClientWithResponses) ModifyIgmpTemplateWithBodyWithResponse

func (c *ClientWithResponses) ModifyIgmpTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyIgmpTemplateResponse, error)

ModifyIgmpTemplateWithBodyWithResponse Modify IGMP template setting

Modify IGMP template setting info of the site with the given params.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `ModifyIgmpTemplate` operationId).

func (*ClientWithResponses) ModifyIgmpTemplateWithResponse

func (c *ClientWithResponses) ModifyIgmpTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body ModifyIgmpTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyIgmpTemplateResponse, error)

ModifyIgmpTemplateWithResponse Modify IGMP template setting

Modify IGMP template setting info of the site with the given params.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `ModifyIgmpTemplate` operationId).

func (*ClientWithResponses) ModifyTunnelWithBodyWithResponse

func (c *ClientWithResponses) ModifyTunnelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyTunnelResponse, error)

ModifyTunnelWithBodyWithResponse Enable/Disable remote access tunnel

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}/remoteAccess/tunnel/{tunnelId}/status (the `ModifyTunnel` operationId).

func (*ClientWithResponses) ModifyTunnelWithResponse

func (c *ClientWithResponses) ModifyTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, body ModifyTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyTunnelResponse, error)

ModifyTunnelWithResponse Enable/Disable remote access tunnel

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}/remoteAccess/tunnel/{tunnelId}/status (the `ModifyTunnel` operationId).

func (*ClientWithResponses) UpdateSshSettingTemplateWithBodyWithResponse

func (c *ClientWithResponses) UpdateSshSettingTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSshSettingTemplateResponse, error)

UpdateSshSettingTemplateWithBodyWithResponse Modify SSH template 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 PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `UpdateSshSettingTemplate` operationId).

func (*ClientWithResponses) UpdateSshSettingTemplateWithResponse

func (c *ClientWithResponses) UpdateSshSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body UpdateSshSettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSshSettingTemplateResponse, error)

UpdateSshSettingTemplateWithResponse Modify SSH template setting

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `UpdateSshSettingTemplate` operationId).

func (*ClientWithResponses) UpdateSshSettingWithBodyWithResponse

func (c *ClientWithResponses) UpdateSshSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSshSettingResponse, error)

UpdateSshSettingWithBodyWithResponse Modify SSH 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 PUT /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `UpdateSshSetting` operationId).

func (*ClientWithResponses) UpdateSshSettingWithResponse

func (c *ClientWithResponses) UpdateSshSettingWithResponse(ctx context.Context, omadacId string, siteId string, body UpdateSshSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSshSettingResponse, error)

UpdateSshSettingWithResponse Modify SSH setting

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `UpdateSshSetting` operationId).

func (*ClientWithResponses) UpdateUpnpSettingTemplateWithBodyWithResponse

func (c *ClientWithResponses) UpdateUpnpSettingTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUpnpSettingTemplateResponse, error)

UpdateUpnpSettingTemplateWithBodyWithResponse Modify UPnP template 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 PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `UpdateUpnpSettingTemplate` operationId).

func (*ClientWithResponses) UpdateUpnpSettingTemplateWithResponse

func (c *ClientWithResponses) UpdateUpnpSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body UpdateUpnpSettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUpnpSettingTemplateResponse, error)

UpdateUpnpSettingTemplateWithResponse Modify UPnP template setting

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `UpdateUpnpSettingTemplate` operationId).

func (*ClientWithResponses) UpdateUpnpSettingWithBodyWithResponse

func (c *ClientWithResponses) UpdateUpnpSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUpnpSettingResponse, error)

UpdateUpnpSettingWithBodyWithResponse Modify UPnP 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 PUT /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `UpdateUpnpSetting` operationId).

func (*ClientWithResponses) UpdateUpnpSettingWithResponse

func (c *ClientWithResponses) UpdateUpnpSettingWithResponse(ctx context.Context, omadacId string, siteId string, body UpdateUpnpSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUpnpSettingResponse, error)

UpdateUpnpSettingWithResponse Modify UPnP setting

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `UpdateUpnpSetting` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetTunnelWithResponse Get remote access tunnel
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel (the `GetTunnel` operationId).
	GetTunnelWithResponse(ctx context.Context, omadacId string, siteId string, params *GetTunnelParams, reqEditors ...RequestEditorFn) (*GetTunnelResponse, error)

	// AddTunnelWithBodyWithResponse Create new remote access tunnel
	//
	// 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}/remoteAccess/tunnel (the `AddTunnel` operationId).
	AddTunnelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTunnelResponse, error)

	// AddTunnelWithResponse Create new remote access tunnel
	//
	// 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}/remoteAccess/tunnel (the `AddTunnel` operationId).
	AddTunnelWithResponse(ctx context.Context, omadacId string, siteId string, body AddTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTunnelResponse, error)

	// GetSingleDeviceTunnelWithResponse Get single device tunnel
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/deviceTunnel/{localMac} (the `GetSingleDeviceTunnel` operationId).
	GetSingleDeviceTunnelWithResponse(ctx context.Context, omadacId string, siteId string, localMac string, reqEditors ...RequestEditorFn) (*GetSingleDeviceTunnelResponse, error)

	// GetTunnelsStatusWithResponse Get all remote access tunnel's status
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/status (the `GetTunnelsStatus` operationId).
	GetTunnelsStatusWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetTunnelsStatusResponse, error)

	// DeleteTunnelWithResponse Delete remote access tunnel information
	//
	// Delete new remote access tunnel information.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId} (the `DeleteTunnel` operationId).
	DeleteTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*DeleteTunnelResponse, error)

	// EditTunnelWithBodyWithResponse Modify remote access tunnel information
	//
	// 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}/remoteAccess/tunnel/{tunnelId} (the `EditTunnel` operationId).
	EditTunnelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTunnelResponse, error)

	// EditTunnelWithResponse Modify remote access tunnel information
	//
	// 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}/remoteAccess/tunnel/{tunnelId} (the `EditTunnel` operationId).
	EditTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, body EditTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTunnelResponse, error)

	// GetTunnelsEwebInfoWithResponse Get tunnel eweb info
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/ewebInfo (the `GetTunnelsEwebInfo` operationId).
	GetTunnelsEwebInfoWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*GetTunnelsEwebInfoResponse, error)

	// GetTunnelStatusWithResponse Get remote access tunnel's status
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteAccess/tunnel/{tunnelId}/status (the `GetTunnelStatus` operationId).
	GetTunnelStatusWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*GetTunnelStatusResponse, error)

	// ModifyTunnelWithBodyWithResponse Enable/Disable remote access tunnel
	//
	// 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}/remoteAccess/tunnel/{tunnelId}/status (the `ModifyTunnel` operationId).
	ModifyTunnelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyTunnelResponse, error)

	// ModifyTunnelWithResponse Enable/Disable remote access tunnel
	//
	// 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}/remoteAccess/tunnel/{tunnelId}/status (the `ModifyTunnel` operationId).
	ModifyTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, body ModifyTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyTunnelResponse, error)

	// GetSshSettingWithResponse Get SSH setting
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `GetSshSetting` operationId).
	GetSshSettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSshSettingResponse, error)

	// UpdateSshSettingWithBodyWithResponse Modify SSH 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 PUT /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `UpdateSshSetting` operationId).
	UpdateSshSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSshSettingResponse, error)

	// UpdateSshSettingWithResponse Modify SSH setting
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/ssh (the `UpdateSshSetting` operationId).
	UpdateSshSettingWithResponse(ctx context.Context, omadacId string, siteId string, body UpdateSshSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSshSettingResponse, error)

	// GetUpnpSettingWithResponse Get UPnP setting
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `GetUpnpSetting` operationId).
	GetUpnpSettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetUpnpSettingResponse, error)

	// UpdateUpnpSettingWithBodyWithResponse Modify UPnP 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 PUT /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `UpdateUpnpSetting` operationId).
	UpdateUpnpSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUpnpSettingResponse, error)

	// UpdateUpnpSettingWithResponse Modify UPnP setting
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/upnp (the `UpdateUpnpSetting` operationId).
	UpdateUpnpSettingWithResponse(ctx context.Context, omadacId string, siteId string, body UpdateUpnpSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUpnpSettingResponse, error)

	// GetIgmpTemplateWithResponse Get IGMP template setting
	//
	// Get IGMP template setting of the site with the given omadacId and siteId.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `GetIgmpTemplate` operationId).
	GetIgmpTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetIgmpTemplateResponse, error)

	// ModifyIgmpTemplateWithBodyWithResponse Modify IGMP template setting
	//
	// Modify IGMP template setting info of the site with the given params.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `ModifyIgmpTemplate` operationId).
	ModifyIgmpTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyIgmpTemplateResponse, error)

	// ModifyIgmpTemplateWithResponse Modify IGMP template setting
	//
	// Modify IGMP template setting info of the site with the given params.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/setting/service/iptv/igmp (the `ModifyIgmpTemplate` operationId).
	ModifyIgmpTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body ModifyIgmpTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyIgmpTemplateResponse, error)

	// GetSshSettingTemplateWithResponse Get SSH template setting
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `GetSshSettingTemplate` operationId).
	GetSshSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetSshSettingTemplateResponse, error)

	// UpdateSshSettingTemplateWithBodyWithResponse Modify SSH template 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 PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `UpdateSshSettingTemplate` operationId).
	UpdateSshSettingTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSshSettingTemplateResponse, error)

	// UpdateSshSettingTemplateWithResponse Modify SSH template setting
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/ssh (the `UpdateSshSettingTemplate` operationId).
	UpdateSshSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body UpdateSshSettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSshSettingTemplateResponse, error)

	// GetUpnpSettingTemplateWithResponse Get UPnP template setting
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `GetUpnpSettingTemplate` operationId).
	GetUpnpSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, reqEditors ...RequestEditorFn) (*GetUpnpSettingTemplateResponse, error)

	// UpdateUpnpSettingTemplateWithBodyWithResponse Modify UPnP template 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 PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `UpdateUpnpSettingTemplate` operationId).
	UpdateUpnpSettingTemplateWithBodyWithResponse(ctx context.Context, omadacId string, siteTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUpnpSettingTemplateResponse, error)

	// UpdateUpnpSettingTemplateWithResponse Modify UPnP template setting
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/upnp (the `UpdateUpnpSettingTemplate` operationId).
	UpdateUpnpSettingTemplateWithResponse(ctx context.Context, omadacId string, siteTemplateId string, body UpdateUpnpSettingTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUpnpSettingTemplateResponse, 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 DeleteTunnelResponse

type DeleteTunnelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteTunnelResponse

func ParseDeleteTunnelResponse(rsp *http.Response) (*DeleteTunnelResponse, error)

ParseDeleteTunnelResponse parses an HTTP response from a DeleteTunnelWithResponse call

func (DeleteTunnelResponse) ContentType

func (r DeleteTunnelResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTunnelResponse) GetBody

func (r DeleteTunnelResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTunnelResponse) Status

func (r DeleteTunnelResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTunnelResponse) StatusCode

func (r DeleteTunnelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditTunnelJSONRequestBody

type EditTunnelJSONRequestBody = NatTraversalTunnelModifyOpenApiVO

EditTunnelJSONRequestBody defines body for EditTunnel for application/json ContentType.

type EditTunnelResponse

type EditTunnelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseEditTunnelResponse

func ParseEditTunnelResponse(rsp *http.Response) (*EditTunnelResponse, error)

ParseEditTunnelResponse parses an HTTP response from a EditTunnelWithResponse call

func (EditTunnelResponse) ContentType

func (r EditTunnelResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EditTunnelResponse) GetBody

func (r EditTunnelResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EditTunnelResponse) Status

func (r EditTunnelResponse) Status() string

Status returns HTTPResponse.Status

func (EditTunnelResponse) StatusCode

func (r EditTunnelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIgmpTemplateResponse

type GetIgmpTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetIgmpTemplateResponse

func ParseGetIgmpTemplateResponse(rsp *http.Response) (*GetIgmpTemplateResponse, error)

ParseGetIgmpTemplateResponse parses an HTTP response from a GetIgmpTemplateWithResponse call

func (GetIgmpTemplateResponse) ContentType

func (r GetIgmpTemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetIgmpTemplateResponse) GetBody

func (r GetIgmpTemplateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetIgmpTemplateResponse) Status

func (r GetIgmpTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (GetIgmpTemplateResponse) StatusCode

func (r GetIgmpTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSingleDeviceTunnelResponse

type GetSingleDeviceTunnelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetSingleDeviceTunnelResponse

func ParseGetSingleDeviceTunnelResponse(rsp *http.Response) (*GetSingleDeviceTunnelResponse, error)

ParseGetSingleDeviceTunnelResponse parses an HTTP response from a GetSingleDeviceTunnelWithResponse call

func (GetSingleDeviceTunnelResponse) ContentType

func (r GetSingleDeviceTunnelResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSingleDeviceTunnelResponse) GetBody

func (r GetSingleDeviceTunnelResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSingleDeviceTunnelResponse) Status

Status returns HTTPResponse.Status

func (GetSingleDeviceTunnelResponse) StatusCode

func (r GetSingleDeviceTunnelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSshSettingResponse

type GetSshSettingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetSshSettingResponse

func ParseGetSshSettingResponse(rsp *http.Response) (*GetSshSettingResponse, error)

ParseGetSshSettingResponse parses an HTTP response from a GetSshSettingWithResponse call

func (GetSshSettingResponse) ContentType

func (r GetSshSettingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSshSettingResponse) GetBody

func (r GetSshSettingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSshSettingResponse) Status

func (r GetSshSettingResponse) Status() string

Status returns HTTPResponse.Status

func (GetSshSettingResponse) StatusCode

func (r GetSshSettingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSshSettingTemplateResponse

type GetSshSettingTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetSshSettingTemplateResponse

func ParseGetSshSettingTemplateResponse(rsp *http.Response) (*GetSshSettingTemplateResponse, error)

ParseGetSshSettingTemplateResponse parses an HTTP response from a GetSshSettingTemplateWithResponse call

func (GetSshSettingTemplateResponse) ContentType

func (r GetSshSettingTemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSshSettingTemplateResponse) GetBody

func (r GetSshSettingTemplateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSshSettingTemplateResponse) Status

Status returns HTTPResponse.Status

func (GetSshSettingTemplateResponse) StatusCode

func (r GetSshSettingTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTunnelParams

type GetTunnelParams 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"`
}

GetTunnelParams defines parameters for GetTunnel.

type GetTunnelResponse

type GetTunnelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTunnelResponse

func ParseGetTunnelResponse(rsp *http.Response) (*GetTunnelResponse, error)

ParseGetTunnelResponse parses an HTTP response from a GetTunnelWithResponse call

func (GetTunnelResponse) ContentType

func (r GetTunnelResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTunnelResponse) GetBody

func (r GetTunnelResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTunnelResponse) Status

func (r GetTunnelResponse) Status() string

Status returns HTTPResponse.Status

func (GetTunnelResponse) StatusCode

func (r GetTunnelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTunnelStatusResponse

type GetTunnelStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTunnelStatusResponse

func ParseGetTunnelStatusResponse(rsp *http.Response) (*GetTunnelStatusResponse, error)

ParseGetTunnelStatusResponse parses an HTTP response from a GetTunnelStatusWithResponse call

func (GetTunnelStatusResponse) ContentType

func (r GetTunnelStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTunnelStatusResponse) GetBody

func (r GetTunnelStatusResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTunnelStatusResponse) Status

func (r GetTunnelStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetTunnelStatusResponse) StatusCode

func (r GetTunnelStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTunnelsEwebInfoResponse

type GetTunnelsEwebInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTunnelsEwebInfoResponse

func ParseGetTunnelsEwebInfoResponse(rsp *http.Response) (*GetTunnelsEwebInfoResponse, error)

ParseGetTunnelsEwebInfoResponse parses an HTTP response from a GetTunnelsEwebInfoWithResponse call

func (GetTunnelsEwebInfoResponse) ContentType

func (r GetTunnelsEwebInfoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTunnelsEwebInfoResponse) GetBody

func (r GetTunnelsEwebInfoResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTunnelsEwebInfoResponse) Status

Status returns HTTPResponse.Status

func (GetTunnelsEwebInfoResponse) StatusCode

func (r GetTunnelsEwebInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTunnelsStatusResponse

type GetTunnelsStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTunnelsStatusResponse

func ParseGetTunnelsStatusResponse(rsp *http.Response) (*GetTunnelsStatusResponse, error)

ParseGetTunnelsStatusResponse parses an HTTP response from a GetTunnelsStatusWithResponse call

func (GetTunnelsStatusResponse) ContentType

func (r GetTunnelsStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTunnelsStatusResponse) GetBody

func (r GetTunnelsStatusResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTunnelsStatusResponse) Status

func (r GetTunnelsStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetTunnelsStatusResponse) StatusCode

func (r GetTunnelsStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUpnpSettingResponse

type GetUpnpSettingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetUpnpSettingResponse

func ParseGetUpnpSettingResponse(rsp *http.Response) (*GetUpnpSettingResponse, error)

ParseGetUpnpSettingResponse parses an HTTP response from a GetUpnpSettingWithResponse call

func (GetUpnpSettingResponse) ContentType

func (r GetUpnpSettingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUpnpSettingResponse) GetBody

func (r GetUpnpSettingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUpnpSettingResponse) Status

func (r GetUpnpSettingResponse) Status() string

Status returns HTTPResponse.Status

func (GetUpnpSettingResponse) StatusCode

func (r GetUpnpSettingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUpnpSettingTemplateResponse

type GetUpnpSettingTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetUpnpSettingTemplateResponse

func ParseGetUpnpSettingTemplateResponse(rsp *http.Response) (*GetUpnpSettingTemplateResponse, error)

ParseGetUpnpSettingTemplateResponse parses an HTTP response from a GetUpnpSettingTemplateWithResponse call

func (GetUpnpSettingTemplateResponse) ContentType

func (r GetUpnpSettingTemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUpnpSettingTemplateResponse) GetBody

func (r GetUpnpSettingTemplateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUpnpSettingTemplateResponse) Status

Status returns HTTPResponse.Status

func (GetUpnpSettingTemplateResponse) StatusCode

func (r GetUpnpSettingTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IgmpTemplateOpenApiVO

type IgmpTemplateOpenApiVO struct {
	Enable bool `json:"enable"`

	// Version Version should be a value as follows: 2:v2; 3:v3.
	Version int32 `json:"version"`

	// WanPortId wan port ID, can be obtained from 'Get site template internet basic info' interface.
	WanPortId string `json:"wanPortId"`
}

IgmpTemplateOpenApiVO defines model for IgmpTemplateOpenApiVO.

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 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 ModifyIgmpTemplateJSONRequestBody

type ModifyIgmpTemplateJSONRequestBody = IgmpTemplateOpenApiVO

ModifyIgmpTemplateJSONRequestBody defines body for ModifyIgmpTemplate for application/json ContentType.

type ModifyIgmpTemplateResponse

type ModifyIgmpTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseModifyIgmpTemplateResponse

func ParseModifyIgmpTemplateResponse(rsp *http.Response) (*ModifyIgmpTemplateResponse, error)

ParseModifyIgmpTemplateResponse parses an HTTP response from a ModifyIgmpTemplateWithResponse call

func (ModifyIgmpTemplateResponse) ContentType

func (r ModifyIgmpTemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ModifyIgmpTemplateResponse) GetBody

func (r ModifyIgmpTemplateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ModifyIgmpTemplateResponse) Status

Status returns HTTPResponse.Status

func (ModifyIgmpTemplateResponse) StatusCode

func (r ModifyIgmpTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ModifyTunnelJSONRequestBody

type ModifyTunnelJSONRequestBody = NatTraversalTunnelOpenVO

ModifyTunnelJSONRequestBody defines body for ModifyTunnel for application/json ContentType.

type ModifyTunnelResponse

type ModifyTunnelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseModifyTunnelResponse

func ParseModifyTunnelResponse(rsp *http.Response) (*ModifyTunnelResponse, error)

ParseModifyTunnelResponse parses an HTTP response from a ModifyTunnelWithResponse call

func (ModifyTunnelResponse) ContentType

func (r ModifyTunnelResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ModifyTunnelResponse) GetBody

func (r ModifyTunnelResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ModifyTunnelResponse) Status

func (r ModifyTunnelResponse) Status() string

Status returns HTTPResponse.Status

func (ModifyTunnelResponse) StatusCode

func (r ModifyTunnelResponse) 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 NatTraversalEwebInfoVO

type NatTraversalEwebInfoVO struct {
	// AutoLoginToken Nat traversal tunnel auto login token
	AutoLoginToken *string `json:"autoLoginToken,omitempty"`

	// EwebHost Nat traversal tunnel eweb host
	EwebHost *string `json:"ewebHost,omitempty"`
}

NatTraversalEwebInfoVO defines model for NatTraversalEwebInfoVO.

type NatTraversalSingleTunnelStatusVO

type NatTraversalSingleTunnelStatusVO struct {
	// Name Name of the remote access tunnel.
	Name *string `json:"name,omitempty"`

	// OpenStatus The open and closed status of the remote access tunnel.
	OpenStatus *bool `json:"openStatus,omitempty"`

	// Status Status of the remote access tunnel. 0: Disconnected, 1: Connected, 2: Opening, -1: Heartbeat Missed, -2: Expired.
	Status   *int32 `json:"status,omitempty"`
	TunnelId *int32 `json:"tunnelId,omitempty"`
}

NatTraversalSingleTunnelStatusVO defines model for NatTraversalSingleTunnelStatusVO.

type NatTraversalTunnelGridVONatTraversalTunnelVO

type NatTraversalTunnelGridVONatTraversalTunnelVO struct {
	// CurrentPage Current page number.
	CurrentPage *int32 `json:"currentPage,omitempty"`

	// CurrentSize Number of entries per page.
	CurrentSize *int32                  `json:"currentSize,omitempty"`
	Data        *[]NatTraversalTunnelVO `json:"data,omitempty"`

	// SupportSshTelnetTunnel Whether to support SSH/Telnet tunnel
	SupportSshTelnetTunnel *bool `json:"supportSshTelnetTunnel,omitempty"`

	// TotalRows Total rows of all items.
	TotalRows *int64 `json:"totalRows,omitempty"`
}

NatTraversalTunnelGridVONatTraversalTunnelVO defines model for NatTraversalTunnelGridVONatTraversalTunnelVO.

type NatTraversalTunnelModifyOpenApiVO

type NatTraversalTunnelModifyOpenApiVO struct {
	// AppType App type of the remote access tunnel for the local target device. HTTP, HTTPS, SSH, TELNET.
	AppType string `json:"appType"`

	// AutoLogin If the remote access tunnel enabled auto login. true: Auto login is enabled; false: Auto login is disabled.
	AutoLogin *bool `json:"autoLogin,omitempty"`

	// ClientDeviceType Client's type of the remote access tunnel for the client.
	ClientDeviceType *string `json:"clientDeviceType,omitempty"`

	// ClientManager Client's manager of the remote access tunnel for the client.
	ClientManager *bool `json:"clientManager,omitempty"`

	// ClientModel Client's model of the remote access tunnel for the client.
	ClientModel *string `json:"clientModel,omitempty"`

	// ClientName Client's name of the remote access tunnel for the client.
	ClientName *string `json:"clientName,omitempty"`

	// Duration Valid duration time of the remote access tunnel, 1-24 hours.
	Duration *int32 `json:"duration,omitempty"`

	// LocalAddress IP address of the local target device.
	LocalAddress *string `json:"localAddress,omitempty"`

	// LocalMac Mac of the local target device.
	LocalMac *string `json:"localMac,omitempty"`

	// LocalPort Port of the local target device's service.
	LocalPort *int32 `json:"localPort,omitempty"`

	// Name Name of the remote access tunnel.
	Name *string `json:"name,omitempty"`

	// OpenStatus If open the remote access tunnel after create.
	OpenStatus *bool `json:"openStatus,omitempty"`

	// TunnelEntryType Entry of the remote access tunnel.1: custom tunnel 2: device tunnel 3:device detail 4:client detail
	TunnelEntryType *int32 `json:"tunnelEntryType,omitempty"`
}

NatTraversalTunnelModifyOpenApiVO defines model for NatTraversalTunnelModifyOpenApiVO.

type NatTraversalTunnelOpenApiVO

type NatTraversalTunnelOpenApiVO struct {
	// AppType App type of the remote access tunnel for the local target device. HTTP, HTTPS, SSH, TELNET.
	AppType string `json:"appType"`

	// AutoLogin If the remote access tunnel enabled auto login. true: Auto login is enabled; false: Auto login is disabled.
	AutoLogin *bool `json:"autoLogin,omitempty"`

	// ClientDeviceType Client's type of the remote access tunnel for the client.
	ClientDeviceType *string `json:"clientDeviceType,omitempty"`

	// ClientManager Client's manager of the remote access tunnel for the client.
	ClientManager *bool `json:"clientManager,omitempty"`

	// ClientModel Client's model of the remote access tunnel for the client.
	ClientModel *string `json:"clientModel,omitempty"`

	// ClientName Client's name of the remote access tunnel for the client.
	ClientName *string `json:"clientName,omitempty"`

	// Duration Valid duration time of the remote access tunnel, 1-24 hours.
	Duration *int32 `json:"duration,omitempty"`

	// LocalAddress IP address of the local target device.
	LocalAddress string `json:"localAddress"`

	// LocalMac Mac of the local target device.
	LocalMac *string `json:"localMac,omitempty"`

	// LocalPort Port of the local target device's service.
	LocalPort int32 `json:"localPort"`

	// Name Name of the remote access tunnel.
	Name string `json:"name"`

	// OpenStatus If open the remote access tunnel after create.
	OpenStatus *bool `json:"openStatus,omitempty"`

	// TunnelEntryType Entry of the remote access tunnel.1: custom tunnel 2: device tunnel 3:device detail 4:client detail
	TunnelEntryType *int32 `json:"tunnelEntryType,omitempty"`
}

NatTraversalTunnelOpenApiVO defines model for NatTraversalTunnelOpenApiVO.

type NatTraversalTunnelOpenVO

type NatTraversalTunnelOpenVO struct {
	// OpenStatus Enable/Disable existing remote access tunnel. True: Enable, False: Disable
	OpenStatus *bool `json:"openStatus,omitempty"`
}

NatTraversalTunnelOpenVO defines model for NatTraversalTunnelOpenVO.

type NatTraversalTunnelVO

type NatTraversalTunnelVO struct {
	// AppType App type of the remote access tunnel for the local target device. 21:HTTP, 22:HTTPS, 31:SSH, 32:TELNET.
	AppType *int32 `json:"appType,omitempty"`

	// AutoLogin If the remote access tunnel enabled auto login.
	AutoLogin *bool `json:"autoLogin,omitempty"`

	// ClientDeviceType Client's type of the remote access tunnel for the client.
	ClientDeviceType *string `json:"clientDeviceType,omitempty"`

	// ClientManager Client's manager of the remote access tunnel for the client.
	ClientManager *bool `json:"clientManager,omitempty"`

	// ClientModel Client's model of the remote access tunnel for the client.
	ClientModel *string `json:"clientModel,omitempty"`

	// ClientName Client's name of the remote access tunnel for the client.
	ClientName *string `json:"clientName,omitempty"`

	// ClosureTime Closure time of the remote access tunnel.
	ClosureTime *int64 `json:"closureTime,omitempty"`

	// CustomTunnel If the remote access tunnel is a custom tunnel.
	CustomTunnel *bool `json:"customTunnel,omitempty"`

	// Duration Valid duration time of the remote access tunnel, 1-24 hours.
	Duration *int32 `json:"duration,omitempty"`

	// EnableHttp If the HTTP Login is enabled in global settings.
	EnableHttp *bool `json:"enableHttp,omitempty"`

	// EnableHttps If the HTTPs Login is enabled in global settings.
	EnableHttps *bool `json:"enableHttps,omitempty"`

	// EnableSsh If the SSH Login is enabled in site settings.
	EnableSsh *bool `json:"enableSsh,omitempty"`

	// EwebHost Nat traversal tunnel eweb host
	EwebHost *string `json:"ewebHost,omitempty"`

	// Id ID of the remote access tunnel.
	Id *string `json:"id,omitempty"`

	// JumpMac Mac of the jumper device.
	JumpMac *string `json:"jumpMac,omitempty"`

	// LocalAddress IP address of the local target device.
	LocalAddress *string `json:"localAddress,omitempty"`

	// LocalMac Mac of the local target device.
	LocalMac *string `json:"localMac,omitempty"`

	// LocalPort Port of the local target device's service.
	LocalPort int32 `json:"localPort"`

	// Name Name of the remote access tunnel.
	Name *string `json:"name,omitempty"`

	// OpenStatus Open Status of the remote access tunnel.
	OpenStatus *bool `json:"openStatus,omitempty"`

	// Status Status of the remote access tunnel. 0: Disconnected, 1: Connected, 2: Opening, -1: Heartbeat Missed, -2: Expired.
	Status *int32 `json:"status,omitempty"`

	// SupportHttpHttpsTunnel If the remote access tunnel supports HTTP and HTTPS connections.
	SupportHttpHttpsTunnel *bool `json:"supportHttpHttpsTunnel,omitempty"`

	// SupportSshTelnetTunnel If the remote access tunnel supports SSH and telnet connections.
	SupportSshTelnetTunnel *bool `json:"supportSshTelnetTunnel,omitempty"`

	// SupportWebAutoLogin If the remote access tunnel supports web auto login.
	SupportWebAutoLogin *bool `json:"supportWebAutoLogin,omitempty"`

	// TunnelEntryType Entry of the remote access tunnel.1: custom tunnel 2: device tunnel 3:device detail 4:client detail
	TunnelEntryType *int32 `json:"tunnelEntryType,omitempty"`

	// TunnelId Tunnel ID of the remote access tunnel.
	TunnelId *int32 `json:"tunnelId,omitempty"`

	// Type Type of the remote access tunnel.
	Type *string `json:"type,omitempty"`
}

NatTraversalTunnelVO defines model for NatTraversalTunnelVO.

type NatTraversalTunnelsStatusVO

type NatTraversalTunnelsStatusVO struct {
	TunnelsStatus *[]NatTraversalSingleTunnelStatusVO `json:"tunnelsStatus,omitempty"`
}

NatTraversalTunnelsStatusVO defines model for NatTraversalTunnelsStatusVO.

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

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

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

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

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

Valid indicates whether the value is a known member of the OnuInformationConfigDTOOnlineStatus enum.

type OperationResponseIgmpTemplateOpenApiVO

type OperationResponseIgmpTemplateOpenApiVO struct {
	ErrorCode *int32                 `json:"errorCode,omitempty"`
	Msg       *string                `json:"msg,omitempty"`
	Result    *IgmpTemplateOpenApiVO `json:"result,omitempty"`
}

OperationResponseIgmpTemplateOpenApiVO defines model for OperationResponseIgmpTemplateOpenApiVO.

type OperationResponseNatTraversalEwebInfoVO

type OperationResponseNatTraversalEwebInfoVO struct {
	ErrorCode *int32                  `json:"errorCode,omitempty"`
	Msg       *string                 `json:"msg,omitempty"`
	Result    *NatTraversalEwebInfoVO `json:"result,omitempty"`
}

OperationResponseNatTraversalEwebInfoVO defines model for OperationResponseNatTraversalEwebInfoVO.

type OperationResponseNatTraversalSingleTunnelStatusVO

type OperationResponseNatTraversalSingleTunnelStatusVO struct {
	ErrorCode *int32                            `json:"errorCode,omitempty"`
	Msg       *string                           `json:"msg,omitempty"`
	Result    *NatTraversalSingleTunnelStatusVO `json:"result,omitempty"`
}

OperationResponseNatTraversalSingleTunnelStatusVO defines model for OperationResponseNatTraversalSingleTunnelStatusVO.

type OperationResponseNatTraversalTunnelGridVONatTraversalTunnelVO

type OperationResponseNatTraversalTunnelGridVONatTraversalTunnelVO struct {
	ErrorCode *int32                                        `json:"errorCode,omitempty"`
	Msg       *string                                       `json:"msg,omitempty"`
	Result    *NatTraversalTunnelGridVONatTraversalTunnelVO `json:"result,omitempty"`
}

OperationResponseNatTraversalTunnelGridVONatTraversalTunnelVO defines model for OperationResponseNatTraversalTunnelGridVONatTraversalTunnelVO.

type OperationResponseNatTraversalTunnelVO

type OperationResponseNatTraversalTunnelVO struct {
	ErrorCode *int32                `json:"errorCode,omitempty"`
	Msg       *string               `json:"msg,omitempty"`
	Result    *NatTraversalTunnelVO `json:"result,omitempty"`
}

OperationResponseNatTraversalTunnelVO defines model for OperationResponseNatTraversalTunnelVO.

type OperationResponseNatTraversalTunnelsStatusVO

type OperationResponseNatTraversalTunnelsStatusVO struct {
	ErrorCode *int32                       `json:"errorCode,omitempty"`
	Msg       *string                      `json:"msg,omitempty"`
	Result    *NatTraversalTunnelsStatusVO `json:"result,omitempty"`
}

OperationResponseNatTraversalTunnelsStatusVO defines model for OperationResponseNatTraversalTunnelsStatusVO.

type OperationResponseSSHSetting

type OperationResponseSSHSetting struct {
	ErrorCode *int32  `json:"errorCode,omitempty"`
	Msg       *string `json:"msg,omitempty"`

	// Result SSH setting
	Result *SSHSetting `json:"result,omitempty"`
}

OperationResponseSSHSetting defines model for OperationResponseSSHSetting.

type OperationResponseUpnpSettingOpenApiVO

type OperationResponseUpnpSettingOpenApiVO struct {
	ErrorCode *int32                `json:"errorCode,omitempty"`
	Msg       *string               `json:"msg,omitempty"`
	Result    *UpnpSettingOpenApiVO `json:"result,omitempty"`
}

OperationResponseUpnpSettingOpenApiVO defines model for OperationResponseUpnpSettingOpenApiVO.

type OperationResponseWithoutResult

type OperationResponseWithoutResult struct {
	ErrorCode *int32  `json:"errorCode,omitempty"`
	Msg       *string `json:"msg,omitempty"`
}

OperationResponseWithoutResult defines model for OperationResponseWithoutResult.

type OswBandCtrlLimitRangeVO

type OswBandCtrlLimitRangeVO struct {
	// MaxEgressRate max egress rate
	MaxEgressRate *int32 `json:"maxEgressRate,omitempty"`

	// MaxIngressRate max ingress rate
	MaxIngressRate *int32 `json:"maxIngressRate,omitempty"`

	// MinEgressRate min egress rate
	MinEgressRate *int32 `json:"minEgressRate,omitempty"`

	// MinIngressRate min ingress rate
	MinIngressRate *int32 `json:"minIngressRate,omitempty"`

	// Unit unit: 1: kbps, 2: mbps
	Unit *int32 `json:"unit,omitempty"`
}

OswBandCtrlLimitRangeVO The limit range of the bandwidth control

type OswBandCtrlVO

type OswBandCtrlVO struct {
	// EgressEnable Indicates whether egress is enabled
	EgressEnable bool `json:"egressEnable"`

	// EgressLimit Egress Limit, when the user-configured value is much larger than the actual maximum value, the device will process it at the maximum value
	EgressLimit *int32 `json:"egressLimit,omitempty"`

	// EgressUnit Egress Unit should be a value as follows: 1: Kbps; 2: Mbps
	EgressUnit *int32 `json:"egressUnit,omitempty"`

	// IngressEnable Indicates whether egress is enabled
	IngressEnable bool `json:"ingressEnable"`

	// IngressLimit Ingress Limit, when the user-configured value is much larger than the actual maximum value, the device will process it at the maximum value
	IngressLimit *int32 `json:"ingressLimit,omitempty"`

	// IngressUnit Ingress Unit should be a value as follows: 1: Kbps; 2: Mbps
	IngressUnit *int32 `json:"ingressUnit,omitempty"`

	// LimitRange The limit range of the bandwidth control
	LimitRange *[]OswBandCtrlLimitRangeVO `json:"limitRange,omitempty"`

	// UnitSupport The supported units of the bandwidth control, 1: Kbps; 2: Mbps
	UnitSupport *[]int32 `json:"unitSupport,omitempty"`
}

OswBandCtrlVO Speed Limit

type OswDataVO

type OswDataVO struct {
	// DhcpSnoopPorts The ports dhcp snooping selected.
	DhcpSnoopPorts *[]PortVO `json:"dhcpSnoopPorts,omitempty"`

	// Lags Lag List
	Lags *[]OswLagVO `json:"lags,omitempty"`

	// Mac Device mac
	Mac *string `json:"mac,omitempty"`

	// Model Model of device,for example:EAP225
	Model *string `json:"model,omitempty"`

	// ModelVersion Model version of device,for example:3.0
	ModelVersion *string `json:"modelVersion,omitempty"`

	// Name Device name,default value is the mac address of device
	Name *string `json:"name,omitempty"`

	// NetworkNotAssociatedLags The lags not associated with network.
	NetworkNotAssociatedLags *[]int32 `json:"networkNotAssociatedLags,omitempty"`

	// NetworkNotAssociatedStandardPorts The ports not associated with network.
	NetworkNotAssociatedStandardPorts *[]OswStandPortVO `json:"networkNotAssociatedStandardPorts,omitempty"`

	// PortNum The number of ports of one device.
	PortNum *int32 `json:"portNum,omitempty"`

	// Ports Port List
	Ports *[]OswPortVO `json:"ports,omitempty"`

	// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0  Gateway/Switch:model+modelVersion,Osg v3.0
	ShowModel *string `json:"showModel,omitempty"`

	// StackId Stack Id
	StackId *string `json:"stackId,omitempty"`

	// StackName Stack name
	StackName *string `json:"stackName,omitempty"`

	// StackOswData stackOswData
	StackOswData *OswStackDataVOOswDataVO `json:"stackOswData,omitempty"`

	// Status Status of device,status should be a value as follows: 0:Disconnected;1:Disconnected(Migrating);10:Provisioning;11:Configuring;12:Upgrading;13:Rebooting;14:Connected;15:Connected(Wireless);16:Connected(Migrating);17:Connected(Wireless,Migrating);20:Pending;21:Pending(Wireless);22:Adopting;23:Adopting(Wireless);24:Adopt Failed;25:Adopt Failed(Wireless);26:Managed By Others;27:Managed By Others(Wireless);30:Heartbeat Missed;31:Heartbeat Missed(Wireless);32:Heartbeat Missed(Migrating);33:Heartbeat Missed(Wireless,Migrating);40:Isolated;41:Isolated(Migrating);50:Slice Configuring
	Status *int32 `json:"status,omitempty"`

	// Type Device type:ap、gateway、switch、olt
	Type *string `json:"type,omitempty"`

	// UnSelectedablePorts The unSelectedable ports of the device.
	UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`

	// Unit Unit
	Unit *int32 `json:"unit,omitempty"`

	// Uplink Uplink Omada device
	Uplink *OswUplinkVO `json:"uplink,omitempty"`
}

OswDataVO defines model for OswDataVO.

type OswDevCapVO

type OswDevCapVO struct {
	// ArpTableSupport Arp Table Support
	ArpTableSupport *bool `json:"arpTableSupport,omitempty"`

	// CableTestSupport Cable Test Support
	CableTestSupport *bool `json:"cableTestSupport,omitempty"`

	// CliSupport CLI Support
	CliSupport *bool `json:"cliSupport,omitempty"`

	// CustomDhcpOptionSupport Custom DHCP Option Support
	CustomDhcpOptionSupport *bool `json:"customDhcpOptionSupport,omitempty"`

	// DdmSupport DDM Support
	DdmSupport *bool `json:"ddmSupport,omitempty"`

	// DhcpL2RelaySupport Dhcp L2 Relay Support
	DhcpL2RelaySupport *bool `json:"dhcpL2RelaySupport,omitempty"`

	// DhcpManualBindNum DHCP Manual Bind Num
	DhcpManualBindNum *int32 `json:"dhcpManualBindNum,omitempty"`

	// DhcpRangeSupport Whether the device supports DHCP server address pool
	DhcpRangeSupport *bool `json:"dhcpRangeSupport,omitempty"`

	// DhcpRelayIfNum DHCP Relay Interface Num
	DhcpRelayIfNum *int32 `json:"dhcpRelayIfNum,omitempty"`

	// DhcpReservationSupport Whether the device supports DHCP reservation
	DhcpReservationSupport *bool `json:"dhcpReservationSupport,omitempty"`

	// DhcpServerPoolNum DHCP Server Pool Num
	DhcpServerPoolNum *int32 `json:"dhcpServerPoolNum,omitempty"`

	// DnsLoopUpSupport DNS Loop Up Support
	DnsLoopUpSupport *bool `json:"dnsLoopUpSupport,omitempty"`

	// DomainPingSupport Domain Ping Support
	DomainPingSupport *bool `json:"domainPingSupport,omitempty"`

	// DomainTraceRouteSupport Domain Trace Route Support
	DomainTraceRouteSupport *bool `json:"domainTraceRouteSupport,omitempty"`

	// EeeSupport eee Support
	EeeSupport *bool `json:"eeeSupport,omitempty"`

	// EsQosSupport Agile Series Switch QoS Support
	EsQosSupport *bool `json:"esQosSupport,omitempty"`

	// EsStpExtendSupport ES STP Extend Support
	EsStpExtendSupport *bool `json:"esStpExtendSupport,omitempty"`

	// FecSupport FEC Support
	FecSupport *bool `json:"fecSupport,omitempty"`

	// FlowControlSupport FlowControl Support
	FlowControlSupport *bool `json:"flowControlSupport,omitempty"`

	// GponSupport Gpon Support
	GponSupport *bool `json:"gponSupport,omitempty"`

	// IgmpFastLeaveSupport Igmp FastLeve Support
	IgmpFastLeaveSupport *bool `json:"igmpFastLeaveSupport,omitempty"`

	// IpcDetectSupport IPC Detect Support
	IpcDetectSupport *bool `json:"ipcDetectSupport,omitempty"`

	// Ipv4StaticRouteNum IPv4 Static Route Num
	Ipv4StaticRouteNum *int32 `json:"ipv4StaticRouteNum,omitempty"`

	// Ipv6StaticRouteNum IPv6 Static Route Num
	Ipv6StaticRouteNum *int32 `json:"ipv6StaticRouteNum,omitempty"`

	// JumboOddSupport Jumbo Odd Support
	JumboOddSupport *bool `json:"jumboOddSupport,omitempty"`

	// JumboSupport Jumbo Support
	JumboSupport *bool `json:"jumboSupport,omitempty"`

	// LagCap Capability of lag
	LagCap *LagCapVO `json:"lagCap,omitempty"`

	// LocatePortSupport Locate port Support
	LocatePortSupport *bool `json:"locatePortSupport,omitempty"`

	// LoopbackInterfaceCreateSupport Loopback Interface Create Support
	LoopbackInterfaceCreateSupport *bool `json:"loopbackInterfaceCreateSupport,omitempty"`

	// LoopbackInterfaceSupport Loopback Interface Support
	LoopbackInterfaceSupport *bool `json:"loopbackInterfaceSupport,omitempty"`

	// LoopbackVlanBasedSupport Loopback Detect Vlan Based Support
	LoopbackVlanBasedSupport *bool `json:"loopbackVlanBasedSupport,omitempty"`

	// MaxLagMember Max Lacp Member
	MaxLagMember *int32 `json:"maxLagMember,omitempty"`

	// MaxLagNum Max Lag Num
	MaxLagNum *int32 `json:"maxLagNum,omitempty"`

	// MaxMirrorGroup Max Mirror Group
	MaxMirrorGroup *int32 `json:"maxMirrorGroup,omitempty"`

	// MaxMirroredPort Max Mirrored Port
	MaxMirroredPort *int32 `json:"maxMirroredPort,omitempty"`

	// MaxRelayServerNum Max DHCP relay server num
	MaxRelayServerNum *int32 `json:"maxRelayServerNum,omitempty"`

	// MaxStackGroupNumber Max Stack Group Number
	MaxStackGroupNumber *int32 `json:"maxStackGroupNumber,omitempty"`

	// MaxStackUnitNumber Max Stack Unit Number
	MaxStackUnitNumber *int32 `json:"maxStackUnitNumber,omitempty"`

	// MirrorSupport Mirror Support
	MirrorSupport *bool `json:"mirrorSupport,omitempty"`

	// MlagGroupId MLAG Group ID
	MlagGroupId *int32 `json:"mlagGroupId,omitempty"`

	// MlagVersion MLAG Version
	MlagVersion *string `json:"mlagVersion,omitempty"`

	// MstpGetActiveSupport MSTP Get Active Support
	MstpGetActiveSupport *bool `json:"mstpGetActiveSupport,omitempty"`

	// MstpInsNo Mstp Max InstanceId
	MstpInsNo *int32 `json:"mstpInsNo,omitempty"`

	// MstpInsNum Mstp Instance Num
	MstpInsNum *int32 `json:"mstpInsNum,omitempty"`

	// MstpPortSupport MSTP Port Support
	MstpPortSupport *bool `json:"mstpPortSupport,omitempty"`

	// MtuInVlanSupport MTU In VLAN Support
	MtuInVlanSupport *bool `json:"mtuInVlanSupport,omitempty"`

	// NeedFullSync Need full sync
	NeedFullSync *bool `json:"needFullSync,omitempty"`

	// NetworkCheckSupport Network Check Support
	NetworkCheckSupport *bool `json:"networkCheckSupport,omitempty"`

	// OspfAutoCostRefSupport OSPF Process Auto-Cost Reference Bandwidth Support
	OspfAutoCostRefSupport *bool `json:"ospfAutoCostRefSupport,omitempty"`

	// OspfDeadIntervalSupport OSPF Dead Interval Support
	OspfDeadIntervalSupport *bool `json:"ospfDeadIntervalSupport,omitempty"`

	// OspfPassiveSupport OSPF Interface Passive Support
	OspfPassiveSupport *bool `json:"ospfPassiveSupport,omitempty"`

	// OspfSupport OSPF Support
	OspfSupport *bool `json:"ospfSupport,omitempty"`

	// OuiBasedVlanESSupport Oui Based Vlan Support
	OuiBasedVlanESSupport *bool `json:"ouiBasedVlanESSupport,omitempty"`

	// OuiBasedVlanSupport Oui Based Vlan Support
	OuiBasedVlanSupport *bool `json:"ouiBasedVlanSupport,omitempty"`

	// PacketCaptureSupport Packet Capture Support
	PacketCaptureSupport *bool `json:"packetCaptureSupport,omitempty"`

	// PingSupport Ping Support
	PingSupport *bool `json:"pingSupport,omitempty"`

	// PmtudSupport Path MTU Discovery Support
	PmtudSupport *bool `json:"pmtudSupport,omitempty"`

	// PoePortNum Poe Port Num
	PoePortNum *int32 `json:"poePortNum,omitempty"`

	// PoeSupport Poe Support
	PoeSupport *bool `json:"poeSupport,omitempty"`

	// QosForVlanSupport Qos for Vlan Support
	QosForVlanSupport *bool `json:"qosForVlanSupport,omitempty"`

	// QosSupport QoS Support
	QosSupport *bool `json:"qosSupport,omitempty"`

	// RpvstExtendSupport RPVST Extend Support
	RpvstExtendSupport *bool `json:"rpvstExtendSupport,omitempty"`

	// RpvstInsNum Max Rpvst Instance Num
	RpvstInsNum *int32 `json:"rpvstInsNum,omitempty"`

	// SfpBeginNum SFP Begin Num
	SfpBeginNum *int32 `json:"sfpBeginNum,omitempty"`

	// SfpNum SFP Num
	SfpNum *int32 `json:"sfpNum,omitempty"`

	// SnmpSupport SNMP Support
	SnmpSupport *bool `json:"snmpSupport,omitempty"`

	// StackPortCap Stack Port Capability
	StackPortCap *map[string][]string `json:"stackPortCap,omitempty"`

	// StaticRouteNum Static Route Num
	StaticRouteNum *int32 `json:"staticRouteNum,omitempty"`

	// StkVer Stack Version
	StkVer *string `json:"stkVer,omitempty"`

	// StkableGroupId Stackable Group ID
	StkableGroupId *int32 `json:"stkableGroupId,omitempty"`

	// StormRateModeSupport StormControl RateMode Support
	StormRateModeSupport *bool `json:"stormRateModeSupport,omitempty"`

	// StpExtendSupport STP Extend Support
	StpExtendSupport *bool `json:"stpExtendSupport,omitempty"`

	// StpSupport STP Support
	StpSupport *bool `json:"stpSupport,omitempty"`

	// SupportArpDetect Whether support arp detect
	SupportArpDetect *bool `json:"supportArpDetect,omitempty"`

	// SupportBt Support Poe Bt
	SupportBt *bool `json:"supportBt,omitempty"`

	// SupportClearCounters Whether the device supports clear counters
	SupportClearCounters *bool `json:"supportClearCounters,omitempty"`

	// SupportConfigSync Whether the device supports config sync
	SupportConfigSync *bool `json:"supportConfigSync,omitempty"`

	// SupportDhcpSnoop Whether support dhcp snoop
	SupportDhcpSnoop *bool `json:"supportDhcpSnoop,omitempty"`

	// SupportEsHealth Whether the device supports ES health check
	SupportEsHealth *bool `json:"supportEsHealth,omitempty"`

	// SupportEsMulticast Whether Agile Series Switch support multicast
	SupportEsMulticast *bool `json:"supportEsMulticast,omitempty"`

	// SupportFan Support Fan
	SupportFan *bool `json:"supportFan,omitempty"`

	// SupportGetDhcpClientTable Whether the device supports getting DHCP client table via get message
	SupportGetDhcpClientTable *bool `json:"supportGetDhcpClientTable,omitempty"`

	// SupportGetDhcpServerInfo Whether the device supports getting DHCP server info via get message
	SupportGetDhcpServerInfo *bool `json:"supportGetDhcpServerInfo,omitempty"`

	// SupportGetOspfNeighborTable Whether the device supports getting OSPF neighbor table via get message
	SupportGetOspfNeighborTable *bool `json:"supportGetOspfNeighborTable,omitempty"`

	// SupportGetVlanIfInfo Whether the device supports getting VLAN interface info via get message
	SupportGetVlanIfInfo *bool `json:"supportGetVlanIfInfo,omitempty"`

	// SupportImpb Whether support impb
	SupportImpb *bool `json:"supportImpb,omitempty"`

	// SupportLayout Whether the device supports reporting port layout information.
	SupportLayout *bool `json:"supportLayout,omitempty"`

	// SupportMad Whether the device supports MAD
	SupportMad *bool `json:"supportMad,omitempty"`

	// SupportMlag Whether the device supports MLAG
	SupportMlag *bool `json:"supportMlag,omitempty"`

	// SupportMulticast Whether support multicast
	SupportMulticast *bool `json:"supportMulticast,omitempty"`

	// SupportRelayMultiServer Whether the device supports DHCP relay multi Server
	SupportRelayMultiServer *bool `json:"supportRelayMultiServer,omitempty"`

	// SupportRunningConfig Whether the device supports showing running config
	SupportRunningConfig *bool `json:"supportRunningConfig,omitempty"`

	// SupportSdm Whether the device supports SDM
	SupportSdm *bool `json:"supportSdm,omitempty"`

	// SupportTpclResInfo Whether the device supports returning TPCL resource information
	SupportTpclResInfo *bool `json:"supportTpclResInfo,omitempty"`

	// SupportVrf Whether the device supports VRF
	SupportVrf *bool `json:"supportVrf,omitempty"`

	// TerminalSupport Terminal Support
	TerminalSupport *bool `json:"terminalSupport,omitempty"`

	// TracerouteSupport Traceroute Support
	TracerouteSupport *bool `json:"tracerouteSupport,omitempty"`

	// UplinkSupport Uplink Support
	UplinkSupport *bool `json:"uplinkSupport,omitempty"`

	// VlanIfNum Vlan Interface Num
	VlanIfNum *int32 `json:"vlanIfNum,omitempty"`

	// VoiceDscpSupport Voice DSCP Support
	VoiceDscpSupport *bool `json:"voiceDscpSupport,omitempty"`

	// VoiceNetworkSupport Voice Network Support
	VoiceNetworkSupport *bool `json:"voiceNetworkSupport,omitempty"`

	// VrfNum VRF Num
	VrfNum *int32 `json:"vrfNum,omitempty"`

	// VrrpSupport Vrrp Support
	VrrpSupport *bool `json:"vrrpSupport,omitempty"`
}

OswDevCapVO Capability of device

type OswFecCapVO

type OswFecCapVO struct {
	// FecMode FEC mode, 0 - reserved, 1 - FEC-OFF, 2 - FEC-RS528, 3 - FEC-RS544, 4 - FEC-AUTO, 5 - FEC-BASER
	FecMode *int32 `json:"fecMode,omitempty"`

	// LinkSpeed speed of the link
	LinkSpeed *int32 `json:"linkSpeed,omitempty"`
}

OswFecCapVO All LinkSpeed&FECMode combinations supported by the port

type OswLagStatusVO

type OswLagStatusVO struct {
	// BlockedType Blocked Type
	BlockedType *int32 `json:"blockedType,omitempty"`

	// BlockedVlans Blocked Vlans
	BlockedVlans *string `json:"blockedVlans,omitempty"`

	// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
	Duplex *int32 `json:"duplex,omitempty"`

	// LagId Lag ID
	LagId *int32 `json:"lagId,omitempty"`

	// LagType LagType should be a value as follows: 1: static; 2: LACP
	LagType *int32 `json:"lagType,omitempty"`

	// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2.5G; 5: 10G
	LinkSpeed *int32 `json:"linkSpeed,omitempty"`

	// LinkStatus Link Status should be a value as follows: 1: link up; 0: link down
	LinkStatus *int32 `json:"linkStatus,omitempty"`

	// Name Lag name
	Name *string `json:"name,omitempty"`

	// Ports Ports member
	Ports *[]int32 `json:"ports,omitempty"`

	// Rx Rx
	Rx *int64 `json:"rx,omitempty"`

	// RxRate Rx Rate
	RxRate *int64 `json:"rxRate,omitempty"`

	// StandardPorts Standard Ports
	StandardPorts *[]OswStandPortVO `json:"standardPorts,omitempty"`

	// StpDiscarding STP Discarding
	StpDiscarding *bool `json:"stpDiscarding,omitempty"`

	// TrunkState LACP state
	TrunkState *int32 `json:"trunkState,omitempty"`

	// Tx Tx
	Tx *int64 `json:"tx,omitempty"`

	// TxRate Tx Rate
	TxRate *int64 `json:"txRate,omitempty"`
}

OswLagStatusVO Lag Status

type OswLagVO

type OswLagVO struct {
	// AllAggregatingPorts All aggregating ports of the current Switch
	AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`

	// AllMirroredPorts All mirrored ports on the Switch
	AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`

	// AllMirroringPorts All mirroring ports of the current Switch
	AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`

	// AllMlagDadPorts All ports configured with M-LAG DAD on the current Switch
	AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`

	// AllMlagPeerLinkPorts All ports configured with M-LAG PeerLink on the current Switch
	AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`

	// BandCtrl Speed Limit
	BandCtrl *OswBandCtrlVO `json:"bandCtrl,omitempty"`

	// BandWidthCtrlType BandWidthCtrlType should be a value as follows: 0: Off; 1: Rate Limit; 2: Storming Control
	BandWidthCtrlType *int32 `json:"bandWidthCtrlType,omitempty"`

	// DhcpL2RelaySettings Dhcp L2 Relay Setting
	DhcpL2RelaySettings *OswPortDhcpL2RelayVO `json:"dhcpL2RelaySettings,omitempty"`

	// Disable Indicates whether to disable
	Disable *bool `json:"disable,omitempty"`

	// Dot1pPriority Dot1p Priority
	Dot1pPriority *int32 `json:"dot1pPriority,omitempty"`

	// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
	Duplex *int32 `json:"duplex,omitempty"`

	// EeeEnable Indicates whether EEE is enabled
	EeeEnable *bool `json:"eeeEnable,omitempty"`

	// EsEnableAllProfileCanAdd Indicates whether es enable of all profile can continue to add VLANs
	EsEnableAllProfileCanAdd *bool `json:"esEnableAllProfileCanAdd,omitempty"`

	// EsQosSupport Indicates whether the ES device port supports modification of QoS configuration
	EsQosSupport *bool `json:"esQosSupport,omitempty"`

	// FastLeaveEnable Indicates whether igmpSnooping fastLeave is enabled
	FastLeaveEnable *bool `json:"fastLeaveEnable,omitempty"`

	// FlowControlEnable Indicates whether flow control is enabled
	FlowControlEnable *bool `json:"flowControlEnable,omitempty"`

	// Id ID
	Id *string `json:"id,omitempty"`

	// IgmpFastLeaveEnable Indicates whether igmp fast leave is enabled
	IgmpFastLeaveEnable *bool `json:"igmpFastLeaveEnable,omitempty"`

	// IgmpSnoopingEnable Indicates whether IGMP Snooping is enabled
	IgmpSnoopingEnable *bool `json:"igmpSnoopingEnable,omitempty"`

	// LagId Lag ID
	LagId *int32 `json:"lagId,omitempty"`

	// LagStatus Lag Status
	LagStatus *OswLagStatusVO `json:"lagStatus,omitempty"`

	// LagType Lag Type should be a value as follows: 1: STATIC; 2: LACP; 3: LACP ACTIVE; 4: LACP PASSIVE
	LagType *int32 `json:"lagType,omitempty"`

	// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2.5G; 5: 10G
	LinkSpeed *int32 `json:"linkSpeed,omitempty"`

	// LocateEnable Whether locate function is enabled
	LocateEnable *bool `json:"locateEnable,omitempty"`

	// LoopbackDetectEnable Indicates whether loopbackDetect port based is enabled
	LoopbackDetectEnable *bool `json:"loopbackDetectEnable,omitempty"`

	// LoopbackDetectVlanBasedEnable Indicates whether loopbackDetect vlan based is enabled
	LoopbackDetectVlanBasedEnable *bool `json:"loopbackDetectVlanBasedEnable,omitempty"`

	// MlagEnable Indicates whether M-LAG is enabled
	MlagEnable *bool `json:"mlagEnable,omitempty"`

	// MlagName M-LAG Name
	MlagName *string `json:"mlagName,omitempty"`

	// MlagPeerAllPortsConfigInfo Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
	MlagPeerAllPortsConfigInfo *OswMlagPeerAllPortsConfigInfoVO `json:"mlagPeerAllPortsConfigInfo,omitempty"`

	// MlagPeerSetting M-LAG group peer device setting
	MlagPeerSetting *OswMlagPeerSettingVO `json:"mlagPeerSetting,omitempty"`

	// MldFastLeaveEnable Indicates whether mld fast leave is enabled
	MldFastLeaveEnable *bool `json:"mldFastLeaveEnable,omitempty"`

	// Name Lag Name
	Name *string `json:"name,omitempty"`

	// NativeBridgeVlan Native Network Bridge Vlan.
	NativeBridgeVlan *int32 `json:"nativeBridgeVlan,omitempty"`

	// NativeNetworkId Native Network ID, Native Network cannot be selected from Tagged Networks or Untagged Networks.
	NativeNetworkId *string `json:"nativeNetworkId,omitempty"`

	// NetworkConflict Indicates whether the VLAN configuration activated on the port is inconsistent with the VLAN configuration in the Profile.
	NetworkConflict *bool `json:"networkConflict,omitempty"`

	// NetworkMode Network Mode should be a value as follows: 0: Trunk, 1: Access
	NetworkMode *int32 `json:"networkMode,omitempty"`

	// NetworkTagsSetting Network Tags Setting should be a value as follows: 0: Allow All; 1: Block All; 2: Custom
	NetworkTagsSetting *int32 `json:"networkTagsSetting,omitempty"`

	// OuiBasedVlanNetworks Vlans configured in oui based rules.
	OuiBasedVlanNetworks *OswPortOuiBasedVlanVO `json:"ouiBasedVlanNetworks,omitempty"`

	// PortAlertEnable Indicates whether port alert is enabled
	PortAlertEnable *bool `json:"portAlertEnable,omitempty"`

	// PortIsolationEnable Indicates whether port isolation is enabled
	PortIsolationEnable *bool `json:"portIsolationEnable,omitempty"`

	// Ports Lag Ports
	Ports *[]int32 `json:"ports,omitempty"`

	// ProfileId Profile ID
	ProfileId *string `json:"profileId,omitempty"`

	// ProfileName Lan Profile Name
	ProfileName *string `json:"profileName,omitempty"`

	// ProfileOverrideEnable Indicates whether to enable Profile Override before v6.2.10; Indicates the fill mode of port configuration after v6.2.10: true: custom; false: follow profile
	ProfileOverrideEnable *bool `json:"profileOverrideEnable,omitempty"`

	// ProfileVlanOverrideEnable Indicates the fill mode of vlan configuration: true: custom; false: follow profile
	ProfileVlanOverrideEnable *bool `json:"profileVlanOverrideEnable,omitempty"`

	// QosQueueEnable Indicates whether the ES device port has enabled the Qos scheduling queue configuration
	QosQueueEnable *bool `json:"qosQueueEnable,omitempty"`

	// QosSupport Indicates whether qos support is enabled
	QosSupport *bool `json:"qosSupport,omitempty"`

	// QueueId ES Qos scheduling queue ID
	QueueId *int32 `json:"queueId,omitempty"`

	// Resource Data Source. Resource should be a value as follows: 0: new created; 1: from template; 2: override
	Resource *int32 `json:"resource,omitempty"`

	// Site Site
	Site *string `json:"site,omitempty"`

	// SpanningTreeEnable Indicates whether SpanningTree is enabled
	SpanningTreeEnable *bool `json:"spanningTreeEnable,omitempty"`

	// SpanningTreeSetting SpanningTree Setting
	SpanningTreeSetting *SpanningTreeSettingVO `json:"spanningTreeSetting,omitempty"`

	// StPorts Lag StPorts
	StPorts *[]string `json:"stPorts,omitempty"`

	// StormCtrl Storm Control
	StormCtrl *OswStormCtrlVO `json:"stormCtrl,omitempty"`

	// SwitchId Switch ID
	SwitchId *string `json:"switchId,omitempty"`

	// SwitchMac Switch MAC Address
	SwitchMac *string `json:"switchMac,omitempty"`

	// TagBridgeVlanMap Tag Network Bridge Vlan Map
	TagBridgeVlanMap *map[string][]int32 `json:"tagBridgeVlanMap,omitempty"`

	// TagIds Lag label ID List
	TagIds *[]string `json:"tagIds,omitempty"`

	// TagName Lag label Name
	TagName *string `json:"tagName,omitempty"`

	// TagNetworkIds Tag Network IDs
	TagNetworkIds *[]string `json:"tagNetworkIds,omitempty"`

	// TrustMode TrustMode should be a value as follows: 0: Untrusted; 1: Trust 802.1p; 2: Trust DSCP
	TrustMode *int32 `json:"trustMode,omitempty"`

	// UntagBridgeVlanMap Untag Network Bridge Vlan Map
	UntagBridgeVlanMap *map[string][]int32 `json:"untagBridgeVlanMap,omitempty"`

	// UntagNetworkIds Untag Network IDs
	UntagNetworkIds *[]string `json:"untagNetworkIds,omitempty"`

	// VoiceBridgeVlan Voice Network Bridge Vlan
	VoiceBridgeVlan *int32 `json:"voiceBridgeVlan,omitempty"`

	// VoiceDscp Voice DSCP
	VoiceDscp *int32 `json:"voiceDscp,omitempty"`

	// VoiceDscpEnable Voice DSCP enable status
	VoiceDscpEnable *bool `json:"voiceDscpEnable,omitempty"`

	// VoiceNetworkEnable Voice network enable status
	VoiceNetworkEnable *bool `json:"voiceNetworkEnable,omitempty"`

	// VoiceNetworkId Voice Network ID
	VoiceNetworkId *string `json:"voiceNetworkId,omitempty"`
}

OswLagVO Including some port configuration information and port real-time status

type OswLinkCapVO

type OswLinkCapVO struct {
	// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
	Duplex *int32 `json:"duplex,omitempty"`

	// LinkSpeed Link Speed
	LinkSpeed *int32 `json:"linkSpeed,omitempty"`
}

OswLinkCapVO Port Capability

type OswMlagPeerAllPortsConfigInfoVO

type OswMlagPeerAllPortsConfigInfoVO struct {
	// AllAggregatingPorts all aggregating ports of M-LAG Peer Switch
	AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`

	// AllMirroredPorts all mirrored ports of M-LAG Peer Switch
	AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`

	// AllMirroringPorts all mirroring ports of M-LAG Peer Switch
	AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`

	// AllMlagDadPorts all M-LAG DAD ports of M-LAG Peer Switch
	AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`

	// AllMlagPeerLinkPorts all M-LAG PeerLink ports of M-LAG Peer Switch
	AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`
}

OswMlagPeerAllPortsConfigInfoVO Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected

type OswMlagPeerSettingVO

type OswMlagPeerSettingVO struct {
	// Mac Device mac
	Mac *string `json:"mac,omitempty"`

	// MlagPeerPorts M-LAG group peer device LAG ports
	MlagPeerPorts *[]int32 `json:"mlagPeerPorts,omitempty"`

	// MlagPeerStandardPorts M-LAG group peer device LAG standard ports
	MlagPeerStandardPorts *[]OswStandPortVO `json:"mlagPeerStandardPorts,omitempty"`
}

OswMlagPeerSettingVO M-LAG group peer device setting

type OswPeerPortVO

type OswPeerPortVO struct {
	// BlockedType Blocked Type
	BlockedType *int32 `json:"blockedType,omitempty"`

	// BlockedVlans Blocked Vlans
	BlockedVlans *string `json:"blockedVlans,omitempty"`

	// Duplex Duplex
	Duplex *int32 `json:"duplex,omitempty"`

	// LagId LagId. If it is not null, it indicates that the port is a LAG port
	LagId *int32 `json:"lagId,omitempty"`

	// LinkSpeed Link Speed
	LinkSpeed *int32 `json:"linkSpeed,omitempty"`

	// Port Port
	Port *int32 `json:"port,omitempty"`

	// Rx Port total rx bytes
	Rx *int64 `json:"rx,omitempty"`

	// RxRate Port rx Rate
	RxRate *int64 `json:"rx Rate,omitempty"`

	// StPort Standard Port, unit/slot/port
	StPort *string `json:"stPort,omitempty"`

	// StpDiscarding STP Discarding
	StpDiscarding *bool `json:"stpDiscarding,omitempty"`

	// Tx Port total tx bytes
	Tx *int64 `json:"tx,omitempty"`

	// TxRate Port tx Rate
	TxRate *int64 `json:"tx Rate,omitempty"`
}

OswPeerPortVO Downlink Port Info

type OswPortDhcpL2RelayVO

type OswPortDhcpL2RelayVO struct {
	// CircuitId Circuit ID
	CircuitId *string `json:"circuitId,omitempty"`

	// Enable Enable
	Enable *bool `json:"enable,omitempty"`

	// Format Format should be a value as follows: 0: Normal; 1: Private
	Format *int32 `json:"format,omitempty"`

	// RemoteId Remote ID
	RemoteId *string `json:"remoteId,omitempty"`
}

OswPortDhcpL2RelayVO Dhcp L2 Relay Setting

type OswPortOuiBasedVlanVO

type OswPortOuiBasedVlanVO struct {
	// Networks The network configured in the osw port.
	Networks *[]OuiBasedVlanNetworkVO `json:"networks,omitempty"`
}

OswPortOuiBasedVlanVO Vlans configured in oui based rules.

type OswPortSpeedCapVO

type OswPortSpeedCapVO struct {
	// LinkSpeed Duplex
	LinkSpeed *PortSpeedCapVO `json:"Link Speed,omitempty"`

	// Duplex Duplex
	Duplex *PortSpeedCapVO `json:"duplex,omitempty"`
}

OswPortSpeedCapVO Port Speed Capability

type OswPortStatusVO

type OswPortStatusVO struct {
	// BlockedType Blocked Type
	BlockedType *int32 `json:"blockedType,omitempty"`

	// BlockedVlans Blocked Vlans
	BlockedVlans *string `json:"blockedVlans,omitempty"`

	// ChassisId Chassis ID
	ChassisId *string `json:"chassisId,omitempty"`

	// ChassisIdSubtype Chassis ID Subtype
	ChassisIdSubtype *string `json:"chassisIdSubtype,omitempty"`

	// Duplex Duplex should be a value as follows: 1: Half; 2: Full
	Duplex *int32 `json:"duplex,omitempty"`

	// FecMode The configured FEC Mode
	FecMode *int32 `json:"fecMode,omitempty"`

	// FecRealMode The actual effective FEC Mode
	FecRealMode *int32 `json:"fecRealMode,omitempty"`

	// LinkSpeed LinkSpeed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 10Gbps
	LinkSpeed *int32 `json:"linkSpeed,omitempty"`

	// LinkStatus LinkStatus should be a value as follows: 0: link down; 1: link up
	LinkStatus *int32 `json:"linkStatus,omitempty"`

	// Poe Indicates whether PoE power supply is in use
	Poe *bool `json:"poe,omitempty"`

	// PoePower PoE Power
	PoePower *float64 `json:"poePower,omitempty"`

	// Port Port Number
	Port *int32 `json:"port,omitempty"`

	// PortId Port ID
	PortId *string `json:"portId,omitempty"`

	// PortIdSubtype Port ID Subtype
	PortIdSubtype *string `json:"portIdSubtype,omitempty"`

	// Rx Rx, in bytes
	Rx *int64 `json:"rx,omitempty"`

	// RxRate Rx rate, in bit/s
	RxRate *int64 `json:"rxRate,omitempty"`

	// StkStatus Stk Status
	StkStatus *int32 `json:"stkStatus,omitempty"`

	// Stp STP Status
	Stp *string `json:"stp,omitempty"`

	// StpDiscarding STP Discarding
	StpDiscarding *bool `json:"stpDiscarding,omitempty"`

	// TrunkState LACP port state
	TrunkState *int32 `json:"trunkState,omitempty"`

	// Tx Tx, in bytes
	Tx *int64 `json:"tx,omitempty"`

	// TxRate Tx rate, in bit/s
	TxRate *int64 `json:"txRate,omitempty"`
}

OswPortStatusVO Port Status

type OswPortVO

type OswPortVO struct {
	// AggregatingPorts Aggregated ports (including this port), non-null only in aggregating mode
	AggregatingPorts *[]int32 `json:"aggregatingPorts,omitempty"`

	// AllAggregatingPorts All ports in the aggregating state on the Switch
	AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`

	// AllAggregatingStPorts All aggregating ports of the current Stack
	AllAggregatingStPorts *[]OswStandPortVO `json:"allAggregatingStPorts,omitempty"`

	// AllMirroredPorts All mirrored ports on the Switch
	AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`

	// AllMirroredStPorts All mirrored ports of the current Stack
	AllMirroredStPorts *[]OswStandPortVO `json:"allMirroredStPorts,omitempty"`

	// AllMirroringPorts All ports in the mirroring state on the Switch
	AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`

	// AllMirroringStPorts All mirroring ports of the current Stack
	AllMirroringStPorts *[]OswStandPortVO `json:"allMirroringStPorts,omitempty"`

	// AllMlagDadPorts All ports configured with M-LAG DAD on the Switch
	AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`

	// AllMlagPeerLinkPorts All ports configured with M-LAG PeerLink on the Switch
	AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`

	// BandCtrl Speed Limit
	BandCtrl *OswBandCtrlVO `json:"bandCtrl,omitempty"`

	// BandWidthCtrlType BandWidth Control should be a value as follows: 0: Off; 1: Rate Limit; 2: Storming Control
	BandWidthCtrlType *int32 `json:"bandWidthCtrlType,omitempty"`

	// ConfigMlagDad Indicates whether the port is configured with M-LAG DAD Link
	ConfigMlagDad *bool `json:"configMlagDad,omitempty"`

	// ConfigMlagPeerLink Indicates whether the port is configured with M-LAG Peer Link
	ConfigMlagPeerLink *bool `json:"configMlagPeerLink,omitempty"`

	// ConfigStack Indicates whether the current port is configured as a stack port (joined a stack aggregation group)
	ConfigStack *bool `json:"configStack,omitempty"`

	// DhcpL2RelaySettings Dhcp L2 Relay Setting
	DhcpL2RelaySettings *OswPortDhcpL2RelayVO `json:"dhcpL2RelaySettings,omitempty"`

	// Disable Indicates whether to disable the port
	Disable *bool `json:"disable,omitempty"`

	// Dot1pPriority Dot1p Priority
	Dot1pPriority *int32 `json:"dot1pPriority,omitempty"`

	// Dot1x Dot1x should be a value as follows: 0: Force unauthorized; 1: Force authorized; 2: Auto
	Dot1x *int32 `json:"dot1x,omitempty"`

	// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
	Duplex *int32 `json:"duplex,omitempty"`

	// EeeEnable Indicates whether EEE is enabled
	EeeEnable *bool `json:"eeeEnable,omitempty"`

	// EsEnableAllProfileCanAdd Indicates whether es enable of all profile can continue to add VLANs
	EsEnableAllProfileCanAdd *bool `json:"esEnableAllProfileCanAdd,omitempty"`

	// EsQosSupport Indicates whether the ES device port supports modification of QoS configuration
	EsQosSupport *bool `json:"esQosSupport,omitempty"`

	// ExtendModeEnable Indicates whether extendMode is enabled
	ExtendModeEnable *bool `json:"extendModeEnable,omitempty"`

	// ExtendModeSupport Indicates whether extend mode is supported
	ExtendModeSupport *bool `json:"extendModeSupport,omitempty"`

	// FastLeaveEnable Indicates whether igmpSnooping fastLeave is enabled
	FastLeaveEnable *bool `json:"fastLeaveEnable,omitempty"`

	// FecCap All LinkSpeed&FECMode combinations supported by the port
	FecCap *[]OswFecCapVO `json:"fecCap,omitempty"`

	// FecLinkPeerApplyEnable Indicates whether the same FEC mode is applied to the link peer
	FecLinkPeerApplyEnable *bool `json:"fecLinkPeerApplyEnable,omitempty"`

	// FecMode FEC Mode, sourced from FecModeEnum. 0 - Reserved; 1 - FEC-OFF (Off); 2 - FEC-RS528; 3 - FEC-RS544; 4 - FEC-AUTO; 5 - FEC-BASER
	FecMode *int32 `json:"fecMode,omitempty"`

	// FecSupport Indicates whether the port supports FEC configuration
	FecSupport *bool `json:"fecSupport,omitempty"`

	// FlowControlEnable Indicates whether flow control is enabled
	FlowControlEnable *bool `json:"flowControlEnable,omitempty"`

	// Id ID
	Id *string `json:"id,omitempty"`

	// IgmpFastLeaveEnable Indicates whether IGMP fast leave is enabled
	IgmpFastLeaveEnable *bool `json:"igmpFastLeaveEnable,omitempty"`

	// IgmpSnoopingEnable Indicates whether IGMP Snooping is enabled
	IgmpSnoopingEnable *bool `json:"igmpSnoopingEnable,omitempty"`

	// IsCopper Whether the port is copper when the port is combo.
	IsCopper *bool `json:"isCopper,omitempty"`

	// LagSetting Including some port configuration information and port real-time status
	LagSetting *OswLagVO `json:"lagSetting,omitempty"`

	// LagStatus Lag Status
	LagStatus *OswLagStatusVO `json:"lagStatus,omitempty"`

	// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 10G
	LinkSpeed *int32 `json:"linkSpeed,omitempty"`

	// LldpMedEnable Indicates whether LLDP MED is enabled
	LldpMedEnable *bool `json:"lldpMedEnable,omitempty"`

	// LocateEnable Whether locate function is enabled
	LocateEnable *bool `json:"locateEnable,omitempty"`

	// LoopbackDetectEnable Indicates whether loopbackDetect port based is enabled
	LoopbackDetectEnable *bool `json:"loopbackDetectEnable,omitempty"`

	// LoopbackDetectVlanBasedEnable Indicates whether loopbackDetect vlan based is enabled
	LoopbackDetectVlanBasedEnable *bool `json:"loopbackDetectVlanBasedEnable,omitempty"`

	// MadUsed Mad Used
	MadUsed *bool `json:"madUsed,omitempty"`

	// MaxSpeed MaxSpeed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 2.5Gbps; 5: 10Gbps
	MaxSpeed *int32 `json:"maxSpeed,omitempty"`

	// MirroredLags Monitored LAG
	MirroredLags *[]MirroredLag `json:"mirroredLags,omitempty"`

	// MirroredPorts Monitored Port
	MirroredPorts *[]MirroredPort `json:"mirroredPorts,omitempty"`

	// MlagPeerAllPortsConfigInfo Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
	MlagPeerAllPortsConfigInfo *OswMlagPeerAllPortsConfigInfoVO `json:"mlagPeerAllPortsConfigInfo,omitempty"`

	// MldFastLeaveEnable Indicates whether MLD fast leave is enabled
	MldFastLeaveEnable *bool `json:"mldFastLeaveEnable,omitempty"`

	// Name Port Name
	Name *string `json:"name,omitempty"`

	// NativeBridgeVlan Native Network Bridge Vlan.
	NativeBridgeVlan *int32 `json:"nativeBridgeVlan,omitempty"`

	// NativeNetworkId Native Network ID, Native Network cannot be selected from Tagged Networks or Untagged Networks.
	NativeNetworkId *string `json:"nativeNetworkId,omitempty"`

	// NetworkConflict Indicates whether the VLAN configuration activated on the port is inconsistent with the VLAN configuration in the Profile.
	NetworkConflict *bool `json:"networkConflict,omitempty"`

	// NetworkMode Network Mode should be a value as follows: 0: Trunk, 1: Access
	NetworkMode *int32 `json:"networkMode,omitempty"`

	// NetworkTagsSetting Network Tags Setting should be a value as follows: 0: Allow All; 1: Block All; 2: Custom
	NetworkTagsSetting *int32 `json:"networkTagsSetting,omitempty"`

	// Operation Operation should be a value as follows: SWITCHING; MIRRORING; AGGREGATING
	Operation *string `json:"operation,omitempty"`

	// OuiBasedVlanNetworks Vlans configured in oui based rules.
	OuiBasedVlanNetworks *OswPortOuiBasedVlanVO `json:"ouiBasedVlanNetworks,omitempty"`

	// Poe PoE switch should be a value as follows: 0: Off; 1: 802.3at/af
	Poe *int32 `json:"poe,omitempty"`

	// PoeDisplayType PoeDisplayType should be a value as follows: -1: Not Support POE; 0: Support POE; 1: POE(4W); 2: POE(7W); 3: POE(15.4W); 4: POE+(30W); 5: POE++(45W); 6: POE++(60W); 7: POE++(75W); 8: POE++(90W); 9: POE++(100W).
	PoeDisplayType *int32 `json:"poeDisplayType,omitempty"`

	// Port Port
	Port *int32 `json:"port,omitempty"`

	// PortAlertEnable Indicates whether Port Alert is enabled
	PortAlertEnable *bool `json:"portAlertEnable,omitempty"`

	// PortCap Port Capability
	PortCap *[]OswLinkCapVO `json:"portCap,omitempty"`

	// PortIsolationEnable Indicates whether port isolation is enabled
	PortIsolationEnable *bool `json:"portIsolationEnable,omitempty"`

	// PortSpeedCap Port Speed Capability
	PortSpeedCap *[]OswPortSpeedCapVO `json:"portSpeedCap,omitempty"`

	// PortStatus Port Status
	PortStatus *OswPortStatusVO `json:"portStatus,omitempty"`

	// ProfileId Lan Profile ID
	ProfileId *string `json:"profileId,omitempty"`

	// ProfileName Lan Profile Name
	ProfileName *string `json:"profileName,omitempty"`

	// ProfileOverrideEnable Indicates whether to enable Profile Override before v6.2.10; Indicates the fill mode of port configuration after v6.2.10: true: custom; false: follow profile
	ProfileOverrideEnable *bool `json:"profileOverrideEnable,omitempty"`

	// ProfileVlanOverrideEnable Indicates the fill mode of vlan configuration: true: custom; false: follow profile
	ProfileVlanOverrideEnable *bool `json:"profileVlanOverrideEnable,omitempty"`

	// QosQueueEnable Indicates whether the ES device port has enabled the Qos scheduling queue configuration
	QosQueueEnable *bool `json:"qosQueueEnable,omitempty"`

	// QosSupport Indicates whether the device port supports modifying qos configuration
	QosSupport *bool `json:"qosSupport,omitempty"`

	// QueueId ES Qos scheduling queue ID
	QueueId *int32 `json:"queueId,omitempty"`

	// Resource Data Source. Resource should be a value as follows: 0: new created; 1: from template; 2: override
	Resource *int32 `json:"resource,omitempty"`

	// Site Site to which the port belongs
	Site *string `json:"site,omitempty"`

	// SpanningTreeEnable Indicates whether SpanningTree is enabled
	SpanningTreeEnable *bool `json:"spanningTreeEnable,omitempty"`

	// SpanningTreeSetting SpanningTree Setting
	SpanningTreeSetting *SpanningTreeSettingVO `json:"spanningTreeSetting,omitempty"`

	// Speed Port Speed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 10Gbps
	Speed *int32 `json:"speed,omitempty"`

	// StackPortsGroupIndex Number of the stacking port aggregation group to join
	StackPortsGroupIndex *int32 `json:"stackPortsGroupIndex,omitempty"`

	// StandardPort Stack port aggregation group member port
	StandardPort *OswStandPortVO `json:"standardPort,omitempty"`

	// StormCtrl Storm Control
	StormCtrl *OswStormCtrlVO `json:"stormCtrl,omitempty"`

	// SupportLocate Whether the port support locate.
	SupportLocate *bool `json:"supportLocate,omitempty"`

	// SupportPoe Indicates whether PoE is supported
	SupportPoe *bool `json:"supportPoe,omitempty"`

	// SwitchId Switch ID to which the port belongs
	SwitchId *string `json:"switchId,omitempty"`

	// SwitchMac Switch Mac to which the port belongs
	SwitchMac *string `json:"switchMac,omitempty"`

	// TagBridgeVlanMap Tag Network Bridge Vlan Map
	TagBridgeVlanMap *map[string][]int32 `json:"tagBridgeVlanMap,omitempty"`

	// TagIds Port label ID List
	TagIds *[]string `json:"tagIds,omitempty"`

	// TagName Port label Name
	TagName *string `json:"tagName,omitempty"`

	// TagNetworkIds Tag Network IDs
	TagNetworkIds *[]string `json:"tagNetworkIds,omitempty"`

	// TopoNotifyEnable Indicates whether to enable topology change notification
	TopoNotifyEnable *bool `json:"topoNotifyEnable,omitempty"`

	// TrustMode TrustMode should be a value as follows: 0: Untrusted; 1: Trust 802.1p; 2: Trust DSCP
	TrustMode *int32 `json:"trustMode,omitempty"`

	// Type Type should be a value as follows: 1: Copper; 2: Combo; 3: SFP
	Type *int32 `json:"type,omitempty"`

	// UntagBridgeVlanMap Untag Network Bridge Vlan Map
	UntagBridgeVlanMap *map[string][]int32 `json:"untagBridgeVlanMap,omitempty"`

	// UntagNetworkIds Untag Network IDs
	UntagNetworkIds *[]string `json:"untagNetworkIds,omitempty"`

	// UsedFunctions List of functions that use this port
	UsedFunctions *[]string `json:"usedFunctions,omitempty"`

	// VoiceBridgeVlan Voice Network Bridge Vlan
	VoiceBridgeVlan *int32 `json:"voiceBridgeVlan,omitempty"`

	// VoiceDscp Voice DSCP
	VoiceDscp *int32 `json:"voiceDscp,omitempty"`

	// VoiceDscpEnable Voice DSCP enable status
	VoiceDscpEnable *bool `json:"voiceDscpEnable,omitempty"`

	// VoiceNetworkEnable Voice network enable status
	VoiceNetworkEnable *bool `json:"voiceNetworkEnable,omitempty"`

	// VoiceNetworkId Voice Network ID
	VoiceNetworkId *string `json:"voiceNetworkId,omitempty"`
}

OswPortVO The infos of ports.

type OswStackDataVOOswDataVO

type OswStackDataVOOswDataVO struct {
	AbnormalReason *int32 `json:"abnormalReason,omitempty"`

	// CustomLagIds The lag ids that has some vlan not included in port vlan.
	CustomLagIds *[]int32 `json:"customLagIds,omitempty"`

	// CustomStandardPorts The standard ports that has some vlan not included in port vlan.
	CustomStandardPorts *[]string `json:"customStandardPorts,omitempty"`

	// DevCap Capability of device
	DevCap    *OswDevCapVO      `json:"devCap,omitempty"`
	Lags      *[]OswLagStatusVO `json:"lags,omitempty"`
	MasterMac *string           `json:"masterMac,omitempty"`
	Member    *[]OswDataVO      `json:"member,omitempty"`

	// Model Model of device,for example:EAP225
	Model *string `json:"model,omitempty"`

	// ModelVersion Model version of device,for example:3.0
	ModelVersion *string `json:"modelVersion,omitempty"`

	// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0  Gateway/Switch:model+modelVersion,Osg v3.0
	ShowModel               *string `json:"showModel,omitempty"`
	StackId                 *string `json:"stackId,omitempty"`
	StackName               *string `json:"stackName,omitempty"`
	StackStatus             *int32  `json:"stackStatus,omitempty"`
	SupportAutoAddVlan      *bool   `json:"supportAutoAddVlan,omitempty"`
	SupportCustomDhcpOption *bool   `json:"supportCustomDhcpOption,omitempty"`
	SupportDhcpRange        *bool   `json:"supportDhcpRange,omitempty"`

	// SupportLayout Whether the device supports reporting port layout information.
	SupportLayout *bool `json:"supportLayout,omitempty"`
	SupportVrf    *bool `json:"supportVrf,omitempty"`

	// UnSelectedablePorts The unSelectedable ports of the device.
	UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
}

OswStackDataVOOswDataVO stackOswData

type OswStackDataVOSwitchDataVO

type OswStackDataVOSwitchDataVO struct {
	AbnormalReason *int32 `json:"abnormalReason,omitempty"`

	// CustomLagIds The lag ids that has some vlan not included in port vlan.
	CustomLagIds *[]int32 `json:"customLagIds,omitempty"`

	// CustomStandardPorts The standard ports that has some vlan not included in port vlan.
	CustomStandardPorts *[]string `json:"customStandardPorts,omitempty"`

	// DevCap Capability of device
	DevCap    *OswDevCapVO      `json:"devCap,omitempty"`
	Lags      *[]OswLagStatusVO `json:"lags,omitempty"`
	MasterMac *string           `json:"masterMac,omitempty"`
	Member    *[]SwitchDataVO   `json:"member,omitempty"`

	// Model Model of device,for example:EAP225
	Model *string `json:"model,omitempty"`

	// ModelVersion Model version of device,for example:3.0
	ModelVersion *string `json:"modelVersion,omitempty"`

	// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0  Gateway/Switch:model+modelVersion,Osg v3.0
	ShowModel               *string `json:"showModel,omitempty"`
	StackId                 *string `json:"stackId,omitempty"`
	StackName               *string `json:"stackName,omitempty"`
	StackStatus             *int32  `json:"stackStatus,omitempty"`
	SupportAutoAddVlan      *bool   `json:"supportAutoAddVlan,omitempty"`
	SupportCustomDhcpOption *bool   `json:"supportCustomDhcpOption,omitempty"`
	SupportDhcpRange        *bool   `json:"supportDhcpRange,omitempty"`

	// SupportLayout Whether the device supports reporting port layout information.
	SupportLayout *bool `json:"supportLayout,omitempty"`
	SupportVrf    *bool `json:"supportVrf,omitempty"`

	// UnSelectedablePorts The unSelectedable ports of the device.
	UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
}

OswStackDataVOSwitchDataVO stackOswData

type OswStandPortVO

type OswStandPortVO struct {
	// Port Port
	Port int32 `json:"port"`

	// Slot Slot
	Slot int32 `json:"slot"`

	// Unit Unit
	Unit int32 `json:"unit"`
}

OswStandPortVO Stack port aggregation group member port

type OswStormCtrlLimitRangeVO

type OswStormCtrlLimitRangeVO struct {
	// BroadcastLimitKbps The maximum rate limits for Broadcast(kbps).
	BroadcastLimitKbps *int32 `json:"broadcastLimitKbps,omitempty"`

	// MulticastLimitKbps The maximum rate limits for Multicast(kbps).
	MulticastLimitKbps *int32 `json:"multicastLimitKbps,omitempty"`

	// UnknownUnicastLimitKbps The maximum rate limits for Unknown Unicast(kbps).
	UnknownUnicastLimitKbps *int32 `json:"unknownUnicastLimitKbps,omitempty"`
}

OswStormCtrlLimitRangeVO The maximum rate limits for Broadcast/Multicast/Unknown Unicast.

type OswStormCtrlVO

type OswStormCtrlVO struct {
	// Action Action should be a value as follows: 0: drop; 1: shutdown
	Action int32 `json:"action"`

	// Broadcast Broadcast
	Broadcast *int32 `json:"broadcast,omitempty"`

	// BroadcastEnable Indicates whether broadcast is enabled
	BroadcastEnable bool `json:"broadcastEnable"`

	// LimitRange The maximum rate limits for Broadcast/Multicast/Unknown Unicast.
	LimitRange *OswStormCtrlLimitRangeVO `json:"limitRange,omitempty"`

	// Multicast Multicast
	Multicast *int32 `json:"multicast,omitempty"`

	// MulticastEnable Indicates whether multicast is enabled
	MulticastEnable bool `json:"multicastEnable"`

	// RateMode RateMode should be a value as follows: 0: ratio; 1: kbps
	RateMode *int32 `json:"rateMode,omitempty"`

	// RecoverTime Recover Time
	RecoverTime *int32 `json:"recoverTime,omitempty"`

	// UnknownUnicast Unknown Unicast
	UnknownUnicast *int32 `json:"unknownUnicast,omitempty"`

	// UnknownUnicastEnable Indicates whether unknown unicast is enabled
	UnknownUnicastEnable bool `json:"unknownUnicastEnable"`
}

OswStormCtrlVO Storm Control

type OswUplinkVO

type OswUplinkVO struct {
	// BlockedType Blocked Type
	BlockedType *int32 `json:"blockedType,omitempty"`

	// BlockedVlans Blocked Vlans
	BlockedVlans *string `json:"blockedVlans,omitempty"`

	// Duplex Duplex
	Duplex *int32 `json:"duplex,omitempty"`

	// HwVersion HwVersion
	HwVersion *string `json:"hwVersion,omitempty"`
	Ip        *string `json:"ip,omitempty"`

	// LagId LagId. If it is not null, it indicates that the port is a LAG port
	LagId *int32 `json:"lagId,omitempty"`

	// LinkPeerPortInfo Downlink Port Info
	LinkPeerPortInfo *OswPeerPortVO `json:"linkPeerPortInfo,omitempty"`

	// LinkSpeed Link Speed
	LinkSpeed *int32 `json:"linkSpeed,omitempty"`

	// Mac The mac of uplink device
	Mac *string `json:"mac,omitempty"`

	// Model The model of uplink device
	Model *string `json:"model,omitempty"`

	// ModelVersion Model Version
	ModelVersion *string `json:"modelVersion,omitempty"`

	// Name The name of uplink device
	Name *string `json:"name,omitempty"`

	// Port Port
	Port *int32 `json:"port,omitempty"`

	// Rx Port total rx bytes
	Rx *int64 `json:"rx,omitempty"`

	// RxRate Rx Rate
	RxRate *int64 `json:"rxRate,omitempty"`

	// StPort Standard Port, unit/slot/port
	StPort *string `json:"stPort,omitempty"`

	// StackId The ID of uplink stack device
	StackId *string `json:"stackId,omitempty"`

	// StackName The name of uplink stack device
	StackName *string `json:"stackName,omitempty"`

	// StpDiscarding STP Discarding
	StpDiscarding *bool `json:"stpDiscarding,omitempty"`

	// Tx Port total tx bytes
	Tx *int64 `json:"tx,omitempty"`

	// TxRate Tx Rate
	TxRate *int64 `json:"txRate,omitempty"`

	// Type The type of uplink device, it should be a value as follows: ap, gateway, switch(stack)
	Type *string `json:"type,omitempty"`
}

OswUplinkVO Uplink Omada device

type OuiBasedVlanNetworkVO

type OuiBasedVlanNetworkVO struct {
	// NetworkId The id for the network.
	NetworkId *string `json:"networkId,omitempty"`

	// NetworkName The name of the network.
	NetworkName *string `json:"networkName,omitempty"`

	// OuiBasedVlanId The id of the oui based vlan rule.
	OuiBasedVlanId *string `json:"ouiBasedVlanId,omitempty"`

	// OuiBasedVlanName The name of the oui based vlan rule.
	OuiBasedVlanName *string `json:"ouiBasedVlanName,omitempty"`

	// RuleMode The mode of the oui based vlan rule. 0 represents all device ports ,1 represents custom.
	RuleMode *int32 `json:"ruleMode,omitempty"`

	// Vlan The vlan of one network that multicast config used.
	Vlan *int32 `json:"vlan,omitempty"`

	// VlanType 0:Single, 1:Multiple(Bridge Vlan)
	VlanType *int32 `json:"vlanType,omitempty"`
}

OuiBasedVlanNetworkVO The network configured in the osw port.

type PartnerLinkDTO

type PartnerLinkDTO struct {
	Channel     *int32   `json:"channel,omitempty"`
	DownRate    *int64   `json:"downRate,omitempty"`
	RadioId     *int32   `json:"radioId,omitempty"`
	Rssi        *int32   `json:"rssi,omitempty"`
	RssiPercent *float32 `json:"rssiPercent,omitempty"`
	Rx          *int32   `json:"rx,omitempty"`
	RxDropPkts  *int64   `json:"rxDropPkts,omitempty"`
	RxErrPkts   *int64   `json:"rxErrPkts,omitempty"`
	RxRate      *string  `json:"rxRate,omitempty"`
	Snr         *int32   `json:"snr,omitempty"`
	Tx          *int32   `json:"tx,omitempty"`
	TxDropPkts  *int64   `json:"txDropPkts,omitempty"`
	TxErrPkts   *int64   `json:"txErrPkts,omitempty"`
	TxRate      *string  `json:"txRate,omitempty"`
	UpRate      *int64   `json:"upRate,omitempty"`
}

PartnerLinkDTO partner link info in mlo mesh link

type PortLabelDTO

type PortLabelDTO struct {
	Label *string `json:"label,omitempty"`
	Value *string `json:"value,omitempty"`
}

PortLabelDTO Other Device Port Labels

type PortSpeedCapVO

type PortSpeedCapVO struct {
	// Name Name
	Name *string `json:"name,omitempty"`

	// Value Value
	Value *int32 `json:"value,omitempty"`
}

PortSpeedCapVO Duplex

type PortVO

type PortVO struct {
	// LagId (Wired) LAG ID. Exists only when the client is connected to the LAG
	LagId *int32 `json:"lagId,omitempty"`

	// Port The port id of the device port.
	Port *int32 `json:"port,omitempty"`

	// StandardPort The stand port id of the device port.
	StandardPort *string `json:"standardPort,omitempty"`
}

PortVO The collection of forbidden router ports related to one device.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type SSHSetting

type SSHSetting struct {
	// Layer3Access Whether to enable layer 3 accessibility
	Layer3Access *bool `json:"layer3Access,omitempty"`

	// SshEnable Whether to enable SSH
	SshEnable bool `json:"sshEnable"`

	// SshServerPort SSH server port should be 22 or within the range of 1025-65535.
	SshServerPort *int32 `json:"sshServerPort,omitempty"`
}

SSHSetting SSH setting

type SpanningTreeSettingVO

type SpanningTreeSettingVO struct {
	// BpduFilter Indicates whether bpdu filter is enabled
	BpduFilter *bool `json:"bpduFilter,omitempty"`

	// BpduForward Indicates whether bpdu forward is enabled
	BpduForward *bool `json:"bpduForward,omitempty"`

	// BpduProtect Indicates whether bpdu protect is enabled
	BpduProtect *bool `json:"bpduProtect,omitempty"`

	// EdgePort Indicates whether edge port is enabled
	EdgePort bool `json:"edgePort"`

	// ExtPathCost ExtPathCost should be within the range of 0–2000000
	ExtPathCost int32 `json:"extPathCost"`

	// InstanceEnable Indicates whether instance is enabled
	InstanceEnable *bool `json:"instanceEnable,omitempty"`

	// Instances Instances
	Instances *[]InstancesVO `json:"instances,omitempty"`

	// IntPathCost IntPathCost should be within the range of 0–2000000
	IntPathCost int32 `json:"intPathCost"`

	// LoopProtect Indicates whether loop protect is enabled
	LoopProtect *bool `json:"loopProtect,omitempty"`

	// Mcheck Indicates whether mcheck is enabled
	Mcheck *bool `json:"mcheck,omitempty"`

	// P2pLink P2pLink should be within the range of 0-2
	P2pLink int32 `json:"p2pLink"`

	// Priority Priority should be within the range of 0–240
	Priority int32 `json:"priority"`

	// RootProtect Indicates whether root protect is enabled
	RootProtect *bool `json:"rootProtect,omitempty"`

	// TcGuard Indicates whether tcGuard is enabled
	TcGuard *bool `json:"tcGuard,omitempty"`
}

SpanningTreeSettingVO SpanningTree Setting

type 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 UpdateSshSettingJSONRequestBody

type UpdateSshSettingJSONRequestBody = SSHSetting

UpdateSshSettingJSONRequestBody defines body for UpdateSshSetting for application/json ContentType.

type UpdateSshSettingResponse

type UpdateSshSettingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateSshSettingResponse

func ParseUpdateSshSettingResponse(rsp *http.Response) (*UpdateSshSettingResponse, error)

ParseUpdateSshSettingResponse parses an HTTP response from a UpdateSshSettingWithResponse call

func (UpdateSshSettingResponse) ContentType

func (r UpdateSshSettingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateSshSettingResponse) GetBody

func (r UpdateSshSettingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateSshSettingResponse) Status

func (r UpdateSshSettingResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSshSettingResponse) StatusCode

func (r UpdateSshSettingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSshSettingTemplateJSONRequestBody

type UpdateSshSettingTemplateJSONRequestBody = SSHSetting

UpdateSshSettingTemplateJSONRequestBody defines body for UpdateSshSettingTemplate for application/json ContentType.

type UpdateSshSettingTemplateResponse

type UpdateSshSettingTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateSshSettingTemplateResponse

func ParseUpdateSshSettingTemplateResponse(rsp *http.Response) (*UpdateSshSettingTemplateResponse, error)

ParseUpdateSshSettingTemplateResponse parses an HTTP response from a UpdateSshSettingTemplateWithResponse call

func (UpdateSshSettingTemplateResponse) ContentType

func (r UpdateSshSettingTemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateSshSettingTemplateResponse) GetBody

func (r UpdateSshSettingTemplateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateSshSettingTemplateResponse) Status

Status returns HTTPResponse.Status

func (UpdateSshSettingTemplateResponse) StatusCode

func (r UpdateSshSettingTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateUpnpSettingJSONRequestBody

type UpdateUpnpSettingJSONRequestBody = UpnpSettingOpenApiVO

UpdateUpnpSettingJSONRequestBody defines body for UpdateUpnpSetting for application/json ContentType.

type UpdateUpnpSettingResponse

type UpdateUpnpSettingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateUpnpSettingResponse

func ParseUpdateUpnpSettingResponse(rsp *http.Response) (*UpdateUpnpSettingResponse, error)

ParseUpdateUpnpSettingResponse parses an HTTP response from a UpdateUpnpSettingWithResponse call

func (UpdateUpnpSettingResponse) ContentType

func (r UpdateUpnpSettingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateUpnpSettingResponse) GetBody

func (r UpdateUpnpSettingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateUpnpSettingResponse) Status

func (r UpdateUpnpSettingResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateUpnpSettingResponse) StatusCode

func (r UpdateUpnpSettingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateUpnpSettingTemplateJSONRequestBody

type UpdateUpnpSettingTemplateJSONRequestBody = UpnpSettingOpenApiVO

UpdateUpnpSettingTemplateJSONRequestBody defines body for UpdateUpnpSettingTemplate for application/json ContentType.

type UpdateUpnpSettingTemplateResponse

type UpdateUpnpSettingTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateUpnpSettingTemplateResponse

func ParseUpdateUpnpSettingTemplateResponse(rsp *http.Response) (*UpdateUpnpSettingTemplateResponse, error)

ParseUpdateUpnpSettingTemplateResponse parses an HTTP response from a UpdateUpnpSettingTemplateWithResponse call

func (UpdateUpnpSettingTemplateResponse) ContentType

func (r UpdateUpnpSettingTemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateUpnpSettingTemplateResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateUpnpSettingTemplateResponse) Status

Status returns HTTPResponse.Status

func (UpdateUpnpSettingTemplateResponse) StatusCode

func (r UpdateUpnpSettingTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpnpSettingOpenApiVO

type UpnpSettingOpenApiVO struct {
	// Enable Whether to enable UPnP
	Enable bool `json:"enable"`

	// NetworkIds This field represents LAN Network ID. LAN Network ID can be obtained from "Get all "single"/"multi" interface lan network" interface.
	NetworkIds *[]string `json:"networkIds,omitempty"`

	// SupportByDsLiteAndMapE Whether this feature is supported for the DS-Lite or Map-E WAN connection types.
	SupportByDsLiteAndMapE *bool `json:"supportByDsLiteAndMapE,omitempty"`

	// WanPortIds This field represents WAN Port ID, WAN Port ID can be obtained from "Get internet basic info" interface.
	WanPortIds *[]string `json:"wanPortIds,omitempty"`
}

UpnpSettingOpenApiVO defines model for UpnpSettingOpenApiVO.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL