Documentation
¶
Overview ¶
Package integration provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Index ¶
- Constants
- func NewAssociateCloudBoxDnsRouteRequest(server string, dnsRouteId openapi_types.UUID, ...) (*http.Request, error)
- func NewAssociateCloudBoxDnsRouteRequestWithBody(server string, dnsRouteId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewAssociateDeviceToRuleRequest(server string, ruleId openapi_types.UUID, ...) (*http.Request, error)
- func NewAssociateDeviceToRuleRequestWithBody(server string, ruleId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewAssociateEndPointDnsRouteRequest(server string, dnsRouteId openapi_types.UUID, ...) (*http.Request, error)
- func NewAssociateEndPointDnsRouteRequestWithBody(server string, dnsRouteId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewAssociateRouterNetworkPolicyRequest(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Request, error)
- func NewAssociateRouterNetworkPolicyRequestWithBody(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateCloudBoxDnsRouteRequest(server string, body CreateCloudBoxDnsRouteJSONRequestBody) (*http.Request, error)
- func NewCreateCloudBoxDnsRouteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDeviceRequest(server string, deviceType CreateDeviceParamsDeviceType, ...) (*http.Request, error)
- func NewCreateDeviceRequestWithBody(server string, deviceType CreateDeviceParamsDeviceType, contentType string, ...) (*http.Request, error)
- func NewCreateEndPointDnsRouteRequest(server string, body CreateEndPointDnsRouteJSONRequestBody) (*http.Request, error)
- func NewCreateEndPointDnsRouteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRouterRequest(server string, body CreateRouterJSONRequestBody) (*http.Request, error)
- func NewCreateRouterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRuleRequest(server string, body CreateRuleJSONRequestBody) (*http.Request, error)
- func NewCreateRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteCloudBoxDnsRouteRequest(server string, dnsRouteId openapi_types.UUID) (*http.Request, error)
- func NewDeleteDeviceRequest(server string, deviceType DeleteDeviceParamsDeviceType, ...) (*http.Request, error)
- func NewDeleteDnsRouteRequest(server string, dnsRouteId openapi_types.UUID) (*http.Request, error)
- func NewDeleteEndPointDnsRouteRequest(server string, dnsRouteId openapi_types.UUID) (*http.Request, error)
- func NewDeleteEndpointRequest(server string, endpointId openapi_types.UUID) (*http.Request, error)
- func NewDeleteRouterRequest(server string, routerId openapi_types.UUID) (*http.Request, error)
- func NewDeleteRuleRequest(server string, ruleId openapi_types.UUID) (*http.Request, error)
- func NewDisassociateCloudBoxDnsRouteRequest(server string, dnsRouteId openapi_types.UUID, cloudboxId openapi_types.UUID) (*http.Request, error)
- func NewDisassociateEndPointDnsRouteRequest(server string, dnsRouteId openapi_types.UUID, ...) (*http.Request, error)
- func NewDissociateDeviceFromRuleRequest(server string, ruleId openapi_types.UUID, deviceId openapi_types.UUID) (*http.Request, error)
- func NewDissociateRouterNetworkPolicyRequest(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetCloudBoxDnsRoutesRequest(server string, params *GetCloudBoxDnsRoutesParams) (*http.Request, error)
- func NewGetDeviceCredentialsRequest(server string, deviceType GetDeviceCredentialsParamsDeviceType, ...) (*http.Request, error)
- func NewGetDeviceRequest(server string, deviceType GetDeviceParamsDeviceType, ...) (*http.Request, error)
- func NewGetDevicesRequest(server string, deviceType GetDevicesParamsDeviceType, params *GetDevicesParams) (*http.Request, error)
- func NewGetEndPointDnsRoutesRequest(server string, params *GetEndPointDnsRoutesParams) (*http.Request, error)
- func NewGetEndpointByIdRequest(server string, endpointId openapi_types.UUID) (*http.Request, error)
- func NewGetEndpointPoliciesRequest(server string, params *GetEndpointPoliciesParams) (*http.Request, error)
- func NewGetEndpointPolicyByIdRequest(server string, endpointPolicyId openapi_types.UUID) (*http.Request, error)
- func NewGetEndpointsRequest(server string, params *GetEndpointsParams) (*http.Request, error)
- func NewGetPhysicalDevicesRequest(server string) (*http.Request, error)
- func NewGetRouterConfigurationScriptParametersRequest(server string, routerId openapi_types.UUID) (*http.Request, error)
- func NewGetRouterNetworksRequest(server string, routerId openapi_types.UUID) (*http.Request, error)
- func NewGetRouterPoliciesRequest(server string, routerId openapi_types.UUID) (*http.Request, error)
- func NewGetRouterRequest(server string, routerId openapi_types.UUID) (*http.Request, error)
- func NewGetRoutersRequest(server string, params *GetRoutersParams) (*http.Request, error)
- func NewGetRulesRequest(server string, params *GetRulesParams) (*http.Request, error)
- func NewUpdateDeviceCatchAllRequest(server string, deviceType UpdateDeviceCatchAllParamsDeviceType, ...) (*http.Request, error)
- func NewUpdateDeviceCatchAllRequestWithBody(server string, deviceType UpdateDeviceCatchAllParamsDeviceType, ...) (*http.Request, error)
- func NewUpdateDeviceCredentialsRequest(server string, deviceType UpdateDeviceCredentialsParamsDeviceType, ...) (*http.Request, error)
- func NewUpdateDeviceCredentialsRequestWithBody(server string, deviceType UpdateDeviceCredentialsParamsDeviceType, ...) (*http.Request, error)
- func NewUpdateDeviceRequest(server string, deviceType UpdateDeviceParamsDeviceType, ...) (*http.Request, error)
- func NewUpdateDeviceRequestWithBody(server string, deviceType UpdateDeviceParamsDeviceType, ...) (*http.Request, error)
- func NewUpdateDynamicInternalRouterNetworkRequest(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateDynamicInternalRouterNetworkRequestWithBody(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateEncryptedRouterNetworkRequest(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateEncryptedRouterNetworkRequestWithBody(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateEndpointPolicyRequest(server string, endpointPolicyId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateEndpointPolicyRequestWithBody(server string, endpointPolicyId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateEndpointRequest(server string, endpointId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateEndpointRequestWithBody(server string, endpointId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateRouterRequest(server string, routerId openapi_types.UUID, body UpdateRouterJSONRequestBody) (*http.Request, error)
- func NewUpdateRouterRequestWithBody(server string, routerId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- type AssociateCloudBoxDnsRoute201Target
- type AssociateCloudBoxDnsRouteJSONBody
- type AssociateCloudBoxDnsRouteJSONRequestBody
- type AssociateCloudBoxDnsRouteResponse
- type AssociateDeviceToRule201LocalAddress0
- type AssociateDeviceToRule201LocalAddress0Ip0
- type AssociateDeviceToRule201LocalAddress0Ip1
- type AssociateDeviceToRule201LocalAddress0Type
- type AssociateDeviceToRule201LocalAddress1
- type AssociateDeviceToRule201LocalAddress1Cidr0
- type AssociateDeviceToRule201LocalAddress1Cidr1
- type AssociateDeviceToRule201LocalAddress1Type
- type AssociateDeviceToRule201LocalAddress2
- type AssociateDeviceToRule201LocalAddress2Type
- type AssociateDeviceToRuleJSONBody
- type AssociateDeviceToRuleJSONRequestBody
- type AssociateDeviceToRuleResponse
- type AssociateDeviceToRule_201_LocalAddress
- type AssociateDeviceToRule_201_LocalAddress_0_Ip
- type AssociateDeviceToRule_201_LocalAddress_1_Cidr
- type AssociateEndPointDnsRoute201Target
- type AssociateEndPointDnsRouteJSONBody
- type AssociateEndPointDnsRouteJSONRequestBody
- type AssociateEndPointDnsRouteResponse
- type AssociateRouterNetworkPolicyJSONBody
- type AssociateRouterNetworkPolicyJSONRequestBody
- type AssociateRouterNetworkPolicyResponse
- type BadRequestResponse
- type Client
- func (c *Client) AssociateCloudBoxDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) AssociateCloudBoxDnsRouteWithBody(ctx context.Context, dnsRouteId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) AssociateDeviceToRule(ctx context.Context, ruleId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) AssociateDeviceToRuleWithBody(ctx context.Context, ruleId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) AssociateEndPointDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) AssociateEndPointDnsRouteWithBody(ctx context.Context, dnsRouteId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) AssociateRouterNetworkPolicy(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) AssociateRouterNetworkPolicyWithBody(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateCloudBoxDnsRoute(ctx context.Context, body CreateCloudBoxDnsRouteJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCloudBoxDnsRouteWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDevice(ctx context.Context, deviceType CreateDeviceParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) CreateDeviceWithBody(ctx context.Context, deviceType CreateDeviceParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) CreateEndPointDnsRoute(ctx context.Context, body CreateEndPointDnsRouteJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateEndPointDnsRouteWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateRouter(ctx context.Context, body CreateRouterJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRouterWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateRule(ctx context.Context, body CreateRuleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRuleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteCloudBoxDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteDevice(ctx context.Context, deviceType DeleteDeviceParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) DeleteDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteEndPointDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteEndpoint(ctx context.Context, endpointId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteRouter(ctx context.Context, routerId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteRule(ctx context.Context, ruleId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DisassociateCloudBoxDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DisassociateEndPointDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DissociateDeviceFromRule(ctx context.Context, ruleId openapi_types.UUID, deviceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DissociateRouterNetworkPolicy(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetCloudBoxDnsRoutes(ctx context.Context, params *GetCloudBoxDnsRoutesParams, ...) (*http.Response, error)
- func (c *Client) GetDevice(ctx context.Context, deviceType GetDeviceParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) GetDeviceCredentials(ctx context.Context, deviceType GetDeviceCredentialsParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) GetDevices(ctx context.Context, deviceType GetDevicesParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) GetEndPointDnsRoutes(ctx context.Context, params *GetEndPointDnsRoutesParams, ...) (*http.Response, error)
- func (c *Client) GetEndpointById(ctx context.Context, endpointId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetEndpointPolicies(ctx context.Context, params *GetEndpointPoliciesParams, ...) (*http.Response, error)
- func (c *Client) GetEndpointPolicyById(ctx context.Context, endpointPolicyId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetEndpoints(ctx context.Context, params *GetEndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPhysicalDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRouter(ctx context.Context, routerId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetRouterConfigurationScriptParameters(ctx context.Context, routerId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetRouterNetworks(ctx context.Context, routerId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetRouterPolicies(ctx context.Context, routerId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetRouters(ctx context.Context, params *GetRoutersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRules(ctx context.Context, params *GetRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateDevice(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) UpdateDeviceCatchAll(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) UpdateDeviceCatchAllWithBody(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) UpdateDeviceCredentials(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) UpdateDeviceCredentialsWithBody(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) UpdateDeviceWithBody(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, ...) (*http.Response, error)
- func (c *Client) UpdateDynamicInternalRouterNetwork(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateDynamicInternalRouterNetworkWithBody(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateEncryptedRouterNetwork(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateEncryptedRouterNetworkWithBody(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateEndpoint(ctx context.Context, endpointId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateEndpointPolicy(ctx context.Context, endpointPolicyId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateEndpointPolicyWithBody(ctx context.Context, endpointPolicyId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateEndpointWithBody(ctx context.Context, endpointId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateRouter(ctx context.Context, routerId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateRouterWithBody(ctx context.Context, routerId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AssociateCloudBoxDnsRouteWithBodyWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, contentType string, ...) (*AssociateCloudBoxDnsRouteResponse, error)
- func (c *ClientWithResponses) AssociateCloudBoxDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*AssociateCloudBoxDnsRouteResponse, error)
- func (c *ClientWithResponses) AssociateDeviceToRuleWithBodyWithResponse(ctx context.Context, ruleId openapi_types.UUID, contentType string, ...) (*AssociateDeviceToRuleResponse, error)
- func (c *ClientWithResponses) AssociateDeviceToRuleWithResponse(ctx context.Context, ruleId openapi_types.UUID, ...) (*AssociateDeviceToRuleResponse, error)
- func (c *ClientWithResponses) AssociateEndPointDnsRouteWithBodyWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, contentType string, ...) (*AssociateEndPointDnsRouteResponse, error)
- func (c *ClientWithResponses) AssociateEndPointDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*AssociateEndPointDnsRouteResponse, error)
- func (c *ClientWithResponses) AssociateRouterNetworkPolicyWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*AssociateRouterNetworkPolicyResponse, error)
- func (c *ClientWithResponses) AssociateRouterNetworkPolicyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*AssociateRouterNetworkPolicyResponse, error)
- func (c *ClientWithResponses) CreateCloudBoxDnsRouteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCloudBoxDnsRouteResponse, error)
- func (c *ClientWithResponses) CreateCloudBoxDnsRouteWithResponse(ctx context.Context, body CreateCloudBoxDnsRouteJSONRequestBody, ...) (*CreateCloudBoxDnsRouteResponse, error)
- func (c *ClientWithResponses) CreateDeviceWithBodyWithResponse(ctx context.Context, deviceType CreateDeviceParamsDeviceType, ...) (*CreateDeviceResponse, error)
- func (c *ClientWithResponses) CreateDeviceWithResponse(ctx context.Context, deviceType CreateDeviceParamsDeviceType, ...) (*CreateDeviceResponse, error)
- func (c *ClientWithResponses) CreateEndPointDnsRouteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateEndPointDnsRouteResponse, error)
- func (c *ClientWithResponses) CreateEndPointDnsRouteWithResponse(ctx context.Context, body CreateEndPointDnsRouteJSONRequestBody, ...) (*CreateEndPointDnsRouteResponse, error)
- func (c *ClientWithResponses) CreateRouterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateRouterResponse, error)
- func (c *ClientWithResponses) CreateRouterWithResponse(ctx context.Context, body CreateRouterJSONRequestBody, ...) (*CreateRouterResponse, error)
- func (c *ClientWithResponses) CreateRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateRuleResponse, error)
- func (c *ClientWithResponses) CreateRuleWithResponse(ctx context.Context, body CreateRuleJSONRequestBody, ...) (*CreateRuleResponse, error)
- func (c *ClientWithResponses) DeleteCloudBoxDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*DeleteCloudBoxDnsRouteResponse, error)
- func (c *ClientWithResponses) DeleteDeviceWithResponse(ctx context.Context, deviceType DeleteDeviceParamsDeviceType, ...) (*DeleteDeviceResponse, error)
- func (c *ClientWithResponses) DeleteDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*DeleteDnsRouteResponse, error)
- func (c *ClientWithResponses) DeleteEndPointDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*DeleteEndPointDnsRouteResponse, error)
- func (c *ClientWithResponses) DeleteEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, ...) (*DeleteEndpointResponse, error)
- func (c *ClientWithResponses) DeleteRouterWithResponse(ctx context.Context, routerId openapi_types.UUID, ...) (*DeleteRouterResponse, error)
- func (c *ClientWithResponses) DeleteRuleWithResponse(ctx context.Context, ruleId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteRuleResponse, error)
- func (c *ClientWithResponses) DisassociateCloudBoxDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*DisassociateCloudBoxDnsRouteResponse, error)
- func (c *ClientWithResponses) DisassociateEndPointDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, ...) (*DisassociateEndPointDnsRouteResponse, error)
- func (c *ClientWithResponses) DissociateDeviceFromRuleWithResponse(ctx context.Context, ruleId openapi_types.UUID, deviceId openapi_types.UUID, ...) (*DissociateDeviceFromRuleResponse, error)
- func (c *ClientWithResponses) DissociateRouterNetworkPolicyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*DissociateRouterNetworkPolicyResponse, error)
- func (c *ClientWithResponses) GetCloudBoxDnsRoutesWithResponse(ctx context.Context, params *GetCloudBoxDnsRoutesParams, ...) (*GetCloudBoxDnsRoutesResponse, error)
- func (c *ClientWithResponses) GetDeviceCredentialsWithResponse(ctx context.Context, deviceType GetDeviceCredentialsParamsDeviceType, ...) (*GetDeviceCredentialsResponse, error)
- func (c *ClientWithResponses) GetDeviceWithResponse(ctx context.Context, deviceType GetDeviceParamsDeviceType, ...) (*GetDeviceResponse, error)
- func (c *ClientWithResponses) GetDevicesWithResponse(ctx context.Context, deviceType GetDevicesParamsDeviceType, ...) (*GetDevicesResponse, error)
- func (c *ClientWithResponses) GetEndPointDnsRoutesWithResponse(ctx context.Context, params *GetEndPointDnsRoutesParams, ...) (*GetEndPointDnsRoutesResponse, error)
- func (c *ClientWithResponses) GetEndpointByIdWithResponse(ctx context.Context, endpointId openapi_types.UUID, ...) (*GetEndpointByIdResponse, error)
- func (c *ClientWithResponses) GetEndpointPoliciesWithResponse(ctx context.Context, params *GetEndpointPoliciesParams, ...) (*GetEndpointPoliciesResponse, error)
- func (c *ClientWithResponses) GetEndpointPolicyByIdWithResponse(ctx context.Context, endpointPolicyId openapi_types.UUID, ...) (*GetEndpointPolicyByIdResponse, error)
- func (c *ClientWithResponses) GetEndpointsWithResponse(ctx context.Context, params *GetEndpointsParams, reqEditors ...RequestEditorFn) (*GetEndpointsResponse, error)
- func (c *ClientWithResponses) GetPhysicalDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPhysicalDevicesResponse, error)
- func (c *ClientWithResponses) GetRouterConfigurationScriptParametersWithResponse(ctx context.Context, routerId openapi_types.UUID, ...) (*GetRouterConfigurationScriptParametersResponse, error)
- func (c *ClientWithResponses) GetRouterNetworksWithResponse(ctx context.Context, routerId openapi_types.UUID, ...) (*GetRouterNetworksResponse, error)
- func (c *ClientWithResponses) GetRouterPoliciesWithResponse(ctx context.Context, routerId openapi_types.UUID, ...) (*GetRouterPoliciesResponse, error)
- func (c *ClientWithResponses) GetRouterWithResponse(ctx context.Context, routerId openapi_types.UUID, ...) (*GetRouterResponse, error)
- func (c *ClientWithResponses) GetRoutersWithResponse(ctx context.Context, params *GetRoutersParams, reqEditors ...RequestEditorFn) (*GetRoutersResponse, error)
- func (c *ClientWithResponses) GetRulesWithResponse(ctx context.Context, params *GetRulesParams, reqEditors ...RequestEditorFn) (*GetRulesResponse, error)
- func (c *ClientWithResponses) UpdateDeviceCatchAllWithBodyWithResponse(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, ...) (*UpdateDeviceCatchAllResponse, error)
- func (c *ClientWithResponses) UpdateDeviceCatchAllWithResponse(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, ...) (*UpdateDeviceCatchAllResponse, error)
- func (c *ClientWithResponses) UpdateDeviceCredentialsWithBodyWithResponse(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, ...) (*UpdateDeviceCredentialsResponse, error)
- func (c *ClientWithResponses) UpdateDeviceCredentialsWithResponse(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, ...) (*UpdateDeviceCredentialsResponse, error)
- func (c *ClientWithResponses) UpdateDeviceWithBodyWithResponse(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, ...) (*UpdateDeviceResponse, error)
- func (c *ClientWithResponses) UpdateDeviceWithResponse(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, ...) (*UpdateDeviceResponse, error)
- func (c *ClientWithResponses) UpdateDynamicInternalRouterNetworkWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*UpdateDynamicInternalRouterNetworkResponse, error)
- func (c *ClientWithResponses) UpdateDynamicInternalRouterNetworkWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*UpdateDynamicInternalRouterNetworkResponse, error)
- func (c *ClientWithResponses) UpdateEncryptedRouterNetworkWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*UpdateEncryptedRouterNetworkResponse, error)
- func (c *ClientWithResponses) UpdateEncryptedRouterNetworkWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, ...) (*UpdateEncryptedRouterNetworkResponse, error)
- func (c *ClientWithResponses) UpdateEndpointPolicyWithBodyWithResponse(ctx context.Context, endpointPolicyId openapi_types.UUID, contentType string, ...) (*UpdateEndpointPolicyResponse, error)
- func (c *ClientWithResponses) UpdateEndpointPolicyWithResponse(ctx context.Context, endpointPolicyId openapi_types.UUID, ...) (*UpdateEndpointPolicyResponse, error)
- func (c *ClientWithResponses) UpdateEndpointWithBodyWithResponse(ctx context.Context, endpointId openapi_types.UUID, contentType string, ...) (*UpdateEndpointResponse, error)
- func (c *ClientWithResponses) UpdateEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, ...) (*UpdateEndpointResponse, error)
- func (c *ClientWithResponses) UpdateRouterWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, contentType string, ...) (*UpdateRouterResponse, error)
- func (c *ClientWithResponses) UpdateRouterWithResponse(ctx context.Context, routerId openapi_types.UUID, ...) (*UpdateRouterResponse, error)
- type ClientWithResponsesInterface
- type CreateCloudBoxDnsRoute201Target
- type CreateCloudBoxDnsRouteJSONBody
- type CreateCloudBoxDnsRouteJSONBodyPrimaryForwardIp0
- type CreateCloudBoxDnsRouteJSONBodyPrimaryForwardIp1
- type CreateCloudBoxDnsRouteJSONBodySecondaryForwardIp0
- type CreateCloudBoxDnsRouteJSONBodySecondaryForwardIp1
- type CreateCloudBoxDnsRouteJSONBody_PrimaryForwardIp
- type CreateCloudBoxDnsRouteJSONBody_SecondaryForwardIp
- type CreateCloudBoxDnsRouteJSONRequestBody
- type CreateCloudBoxDnsRouteResponse
- type CreateDevice201InfoLastLoginCheckTime0
- type CreateDevice201InfoLastLoginCheckTime1
- type CreateDevice201InfoLastVersionCheckTime0
- type CreateDevice201InfoLastVersionCheckTime1
- type CreateDevice201Type
- type CreateDeviceJSONBody
- type CreateDeviceJSONRequestBody
- type CreateDeviceParamsDeviceType
- type CreateDeviceResponse
- type CreateDevice_201_Info_LastLoginCheckTime
- type CreateDevice_201_Info_LastVersionCheckTime
- type CreateEndPointDnsRoute201Target
- type CreateEndPointDnsRouteJSONBody
- type CreateEndPointDnsRouteJSONBodyPrimaryForwardIp0
- type CreateEndPointDnsRouteJSONBodyPrimaryForwardIp1
- type CreateEndPointDnsRouteJSONBodySecondaryForwardIp0
- type CreateEndPointDnsRouteJSONBodySecondaryForwardIp1
- type CreateEndPointDnsRouteJSONBody_PrimaryForwardIp
- type CreateEndPointDnsRouteJSONBody_SecondaryForwardIp
- type CreateEndPointDnsRouteJSONRequestBody
- type CreateEndPointDnsRouteResponse
- type CreateRouter201NetworksPrimaryNetwork0
- type CreateRouter201NetworksPrimaryNetwork0Type
- type CreateRouter201NetworksPrimaryNetwork1
- type CreateRouter201NetworksPrimaryNetwork1Type
- type CreateRouter201NetworksSecondaryNetworks0
- type CreateRouter201NetworksSecondaryNetworks0Type
- type CreateRouter201NetworksSecondaryNetworks1
- type CreateRouter201NetworksSecondaryNetworks1Type
- type CreateRouterJSONBody
- type CreateRouterJSONBodyNetwork0
- type CreateRouterJSONBodyNetwork0Type
- type CreateRouterJSONBodyNetwork1
- type CreateRouterJSONBodyNetwork1Type0
- type CreateRouterJSONBodyNetwork1Type1
- type CreateRouterJSONBody_Network
- type CreateRouterJSONBody_Network_1_Type
- type CreateRouterJSONRequestBody
- type CreateRouterResponse
- type CreateRouter_201_Networks_PrimaryNetwork
- type CreateRouter_201_Networks_SecondaryNetworks_Item
- type CreateRule201LocalAddress0
- type CreateRule201LocalAddress0Ip0
- type CreateRule201LocalAddress0Ip1
- type CreateRule201LocalAddress0Type
- type CreateRule201LocalAddress1
- type CreateRule201LocalAddress1Cidr0
- type CreateRule201LocalAddress1Cidr1
- type CreateRule201LocalAddress1Type
- type CreateRule201LocalAddress2
- type CreateRule201LocalAddress2Type
- type CreateRuleJSONBody
- type CreateRuleJSONBodyLocalAddress0
- type CreateRuleJSONBodyLocalAddress0Ip0
- type CreateRuleJSONBodyLocalAddress0Ip1
- type CreateRuleJSONBodyLocalAddress0Type
- type CreateRuleJSONBodyLocalAddress1
- type CreateRuleJSONBodyLocalAddress1Cidr0
- type CreateRuleJSONBodyLocalAddress1Cidr1
- type CreateRuleJSONBodyLocalAddress1Type
- type CreateRuleJSONBodyLocalAddress2
- type CreateRuleJSONBodyLocalAddress2Type
- type CreateRuleJSONBody_LocalAddress
- type CreateRuleJSONBody_LocalAddress_0_Ip
- type CreateRuleJSONBody_LocalAddress_1_Cidr
- type CreateRuleJSONRequestBody
- type CreateRuleResponse
- type CreateRule_201_LocalAddress
- type CreateRule_201_LocalAddress_0_Ip
- type CreateRule_201_LocalAddress_1_Cidr
- type DeleteCloudBoxDnsRoute200Target
- type DeleteCloudBoxDnsRouteResponse
- type DeleteDevice200InfoLastLoginCheckTime0
- type DeleteDevice200InfoLastLoginCheckTime1
- type DeleteDevice200InfoLastVersionCheckTime0
- type DeleteDevice200InfoLastVersionCheckTime1
- type DeleteDevice200Type
- type DeleteDeviceParamsDeviceType
- type DeleteDeviceResponse
- type DeleteDevice_200_Info_LastLoginCheckTime
- type DeleteDevice_200_Info_LastVersionCheckTime
- type DeleteDnsRoute200Target
- type DeleteDnsRouteResponse
- type DeleteEndPointDnsRoute200Target
- type DeleteEndPointDnsRouteResponse
- type DeleteEndpointResponse
- type DeleteRouter200NetworksPrimaryNetwork0
- type DeleteRouter200NetworksPrimaryNetwork0Type
- type DeleteRouter200NetworksPrimaryNetwork1
- type DeleteRouter200NetworksPrimaryNetwork1Type
- type DeleteRouter200NetworksSecondaryNetworks0
- type DeleteRouter200NetworksSecondaryNetworks0Type
- type DeleteRouter200NetworksSecondaryNetworks1
- type DeleteRouter200NetworksSecondaryNetworks1Type
- type DeleteRouterResponse
- type DeleteRouter_200_Networks_PrimaryNetwork
- type DeleteRouter_200_Networks_SecondaryNetworks_Item
- type DeleteRule200LocalAddress0
- type DeleteRule200LocalAddress0Ip0
- type DeleteRule200LocalAddress0Ip1
- type DeleteRule200LocalAddress0Type
- type DeleteRule200LocalAddress1
- type DeleteRule200LocalAddress1Cidr0
- type DeleteRule200LocalAddress1Cidr1
- type DeleteRule200LocalAddress1Type
- type DeleteRule200LocalAddress2
- type DeleteRule200LocalAddress2Type
- type DeleteRuleResponse
- type DeleteRule_200_LocalAddress
- type DeleteRule_200_LocalAddress_0_Ip
- type DeleteRule_200_LocalAddress_1_Cidr
- type DisassociateCloudBoxDnsRoute200Target
- type DisassociateCloudBoxDnsRouteResponse
- type DisassociateEndPointDnsRoute200Target
- type DisassociateEndPointDnsRouteResponse
- type DissociateDeviceFromRule200LocalAddress0
- type DissociateDeviceFromRule200LocalAddress0Ip0
- type DissociateDeviceFromRule200LocalAddress0Ip1
- type DissociateDeviceFromRule200LocalAddress0Type
- type DissociateDeviceFromRule200LocalAddress1
- type DissociateDeviceFromRule200LocalAddress1Cidr0
- type DissociateDeviceFromRule200LocalAddress1Cidr1
- type DissociateDeviceFromRule200LocalAddress1Type
- type DissociateDeviceFromRule200LocalAddress2
- type DissociateDeviceFromRule200LocalAddress2Type
- type DissociateDeviceFromRuleResponse
- type DissociateDeviceFromRule_200_LocalAddress
- type DissociateDeviceFromRule_200_LocalAddress_0_Ip
- type DissociateDeviceFromRule_200_LocalAddress_1_Cidr
- type DissociateRouterNetworkPolicyResponse
- type FlashStartErrorBody
- type ForbiddenResponse
- type GetCloudBoxDnsRoutes200Target
- type GetCloudBoxDnsRoutesParams
- type GetCloudBoxDnsRoutesResponse
- type GetDevice200InfoLastLoginCheckTime0
- type GetDevice200InfoLastLoginCheckTime1
- type GetDevice200InfoLastVersionCheckTime0
- type GetDevice200InfoLastVersionCheckTime1
- type GetDevice200Type
- type GetDeviceCredentialsParamsDeviceType
- type GetDeviceCredentialsResponse
- type GetDeviceParamsDeviceType
- type GetDeviceResponse
- type GetDevice_200_Info_LastLoginCheckTime
- type GetDevice_200_Info_LastVersionCheckTime
- type GetDevices200InfoLastLoginCheckTime0
- type GetDevices200InfoLastLoginCheckTime1
- type GetDevices200InfoLastVersionCheckTime0
- type GetDevices200InfoLastVersionCheckTime1
- type GetDevices200Type
- type GetDevicesParams
- type GetDevicesParamsDeviceType
- type GetDevicesResponse
- type GetDevices_200_Info_LastLoginCheckTime
- type GetDevices_200_Info_LastVersionCheckTime
- type GetEndPointDnsRoutes200Target
- type GetEndPointDnsRoutesParams
- type GetEndPointDnsRoutesResponse
- type GetEndpointById200CreatedAt0
- type GetEndpointById200CreatedAt1
- type GetEndpointById200EndPointPolicyCreatedAt0
- type GetEndpointById200EndPointPolicyCreatedAt1
- type GetEndpointById200EndPointPolicyUpdatedAt0
- type GetEndpointById200EndPointPolicyUpdatedAt1
- type GetEndpointById200Flow
- type GetEndpointById200Platform
- type GetEndpointById200RuntimeStatus
- type GetEndpointById200UpdatedAt0
- type GetEndpointById200UpdatedAt1
- type GetEndpointByIdResponse
- type GetEndpointById_200_CreatedAt
- type GetEndpointById_200_EndPointPolicy_CreatedAt
- type GetEndpointById_200_EndPointPolicy_UpdatedAt
- type GetEndpointById_200_UpdatedAt
- type GetEndpointPolicies200CreatedAt0
- type GetEndpointPolicies200CreatedAt1
- type GetEndpointPolicies200UpdatedAt0
- type GetEndpointPolicies200UpdatedAt1
- type GetEndpointPoliciesParams
- type GetEndpointPoliciesResponse
- type GetEndpointPolicies_200_CreatedAt
- type GetEndpointPolicies_200_UpdatedAt
- type GetEndpointPolicyById200CreatedAt0
- type GetEndpointPolicyById200CreatedAt1
- type GetEndpointPolicyById200UpdatedAt0
- type GetEndpointPolicyById200UpdatedAt1
- type GetEndpointPolicyByIdResponse
- type GetEndpointPolicyById_200_CreatedAt
- type GetEndpointPolicyById_200_UpdatedAt
- type GetEndpoints200CreatedAt0
- type GetEndpoints200CreatedAt1
- type GetEndpoints200EndPointPolicyCreatedAt0
- type GetEndpoints200EndPointPolicyCreatedAt1
- type GetEndpoints200EndPointPolicyUpdatedAt0
- type GetEndpoints200EndPointPolicyUpdatedAt1
- type GetEndpoints200Flow
- type GetEndpoints200Platform
- type GetEndpoints200RuntimeStatus
- type GetEndpoints200UpdatedAt0
- type GetEndpoints200UpdatedAt1
- type GetEndpointsParams
- type GetEndpointsResponse
- type GetEndpoints_200_CreatedAt
- type GetEndpoints_200_EndPointPolicy_CreatedAt
- type GetEndpoints_200_EndPointPolicy_UpdatedAt
- type GetEndpoints_200_UpdatedAt
- type GetPhysicalDevices200Features
- type GetPhysicalDevicesResponse
- type GetRouter200NetworksPrimaryNetwork0
- type GetRouter200NetworksPrimaryNetwork0Type
- type GetRouter200NetworksPrimaryNetwork1
- type GetRouter200NetworksPrimaryNetwork1Type
- type GetRouter200NetworksSecondaryNetworks0
- type GetRouter200NetworksSecondaryNetworks0Type
- type GetRouter200NetworksSecondaryNetworks1
- type GetRouter200NetworksSecondaryNetworks1Type
- type GetRouterConfigurationScriptParameters2000
- type GetRouterConfigurationScriptParameters2000NetworkType
- type GetRouterConfigurationScriptParameters2000RouterCode
- type GetRouterConfigurationScriptParameters2001
- type GetRouterConfigurationScriptParameters2001NetworkType
- type GetRouterConfigurationScriptParameters2001RouterCode
- type GetRouterConfigurationScriptParametersResponse
- type GetRouterNetworks2000
- type GetRouterNetworks2000Type
- type GetRouterNetworks2001
- type GetRouterNetworks2001Type
- type GetRouterNetworksResponse
- type GetRouterNetworks_200_Item
- type GetRouterPoliciesResponse
- type GetRouterResponse
- type GetRouter_200_Networks_PrimaryNetwork
- type GetRouter_200_Networks_SecondaryNetworks_Item
- type GetRouters200NetworksPrimaryNetwork0
- type GetRouters200NetworksPrimaryNetwork0Type
- type GetRouters200NetworksPrimaryNetwork1
- type GetRouters200NetworksPrimaryNetwork1Type
- type GetRouters200NetworksSecondaryNetworks0
- type GetRouters200NetworksSecondaryNetworks0Type
- type GetRouters200NetworksSecondaryNetworks1
- type GetRouters200NetworksSecondaryNetworks1Type
- type GetRoutersParams
- type GetRoutersResponse
- type GetRouters_200_Networks_PrimaryNetwork
- type GetRouters_200_Networks_SecondaryNetworks_Item
- type GetRules200LocalAddress0
- type GetRules200LocalAddress0Ip0
- type GetRules200LocalAddress0Ip1
- type GetRules200LocalAddress0Type
- type GetRules200LocalAddress1
- type GetRules200LocalAddress1Cidr0
- type GetRules200LocalAddress1Cidr1
- type GetRules200LocalAddress1Type
- type GetRules200LocalAddress2
- type GetRules200LocalAddress2Type
- type GetRulesParams
- type GetRulesResponse
- type GetRules_200_LocalAddress
- type GetRules_200_LocalAddress_0_Ip
- type GetRules_200_LocalAddress_1_Cidr
- type HttpRequestDoer
- type MissingCredentialsErrorBody
- type NotFoundResponse
- type RequestEditorFn
- type ServerErrorResponse
- type UnauthorizedResponse
- func (t UnauthorizedResponse) AsFlashStartErrorBody() (FlashStartErrorBody, error)
- func (t UnauthorizedResponse) AsMissingCredentialsErrorBody() (MissingCredentialsErrorBody, error)
- func (t *UnauthorizedResponse) FromFlashStartErrorBody(v FlashStartErrorBody) error
- func (t *UnauthorizedResponse) FromMissingCredentialsErrorBody(v MissingCredentialsErrorBody) error
- func (t UnauthorizedResponse) MarshalJSON() ([]byte, error)
- func (t *UnauthorizedResponse) MergeFlashStartErrorBody(v FlashStartErrorBody) error
- func (t *UnauthorizedResponse) MergeMissingCredentialsErrorBody(v MissingCredentialsErrorBody) error
- func (t *UnauthorizedResponse) UnmarshalJSON(b []byte) error
- type UpdateDevice200InfoLastLoginCheckTime0
- type UpdateDevice200InfoLastLoginCheckTime1
- type UpdateDevice200InfoLastVersionCheckTime0
- type UpdateDevice200InfoLastVersionCheckTime1
- type UpdateDevice200Type
- type UpdateDeviceCatchAll200InfoLastLoginCheckTime0
- type UpdateDeviceCatchAll200InfoLastLoginCheckTime1
- type UpdateDeviceCatchAll200InfoLastVersionCheckTime0
- type UpdateDeviceCatchAll200InfoLastVersionCheckTime1
- type UpdateDeviceCatchAll200Type
- type UpdateDeviceCatchAllJSONBody
- type UpdateDeviceCatchAllJSONRequestBody
- type UpdateDeviceCatchAllParamsDeviceType
- type UpdateDeviceCatchAllResponse
- type UpdateDeviceCatchAll_200_Info_LastLoginCheckTime
- type UpdateDeviceCatchAll_200_Info_LastVersionCheckTime
- type UpdateDeviceCredentialsJSONBody
- type UpdateDeviceCredentialsJSONRequestBody
- type UpdateDeviceCredentialsParamsDeviceType
- type UpdateDeviceCredentialsResponse
- type UpdateDeviceJSONBody
- type UpdateDeviceJSONRequestBody
- type UpdateDeviceParamsDeviceType
- type UpdateDeviceResponse
- type UpdateDevice_200_Info_LastLoginCheckTime
- type UpdateDevice_200_Info_LastVersionCheckTime
- type UpdateDynamicInternalRouterNetwork2000
- type UpdateDynamicInternalRouterNetwork2000Type
- type UpdateDynamicInternalRouterNetwork2001
- type UpdateDynamicInternalRouterNetwork2001Type
- type UpdateDynamicInternalRouterNetworkJSONBody
- type UpdateDynamicInternalRouterNetworkJSONRequestBody
- type UpdateDynamicInternalRouterNetworkResponse
- type UpdateEncryptedRouterNetwork2000
- type UpdateEncryptedRouterNetwork2000Type
- type UpdateEncryptedRouterNetwork2001
- type UpdateEncryptedRouterNetwork2001Type
- type UpdateEncryptedRouterNetworkJSONBody
- type UpdateEncryptedRouterNetworkJSONRequestBody
- type UpdateEncryptedRouterNetworkResponse
- type UpdateEndpoint200CreatedAt0
- type UpdateEndpoint200CreatedAt1
- type UpdateEndpoint200EndPointPolicyCreatedAt0
- type UpdateEndpoint200EndPointPolicyCreatedAt1
- type UpdateEndpoint200EndPointPolicyUpdatedAt0
- type UpdateEndpoint200EndPointPolicyUpdatedAt1
- type UpdateEndpoint200Flow
- type UpdateEndpoint200Platform
- type UpdateEndpoint200RuntimeStatus
- type UpdateEndpoint200UpdatedAt0
- type UpdateEndpoint200UpdatedAt1
- type UpdateEndpointJSONBody
- type UpdateEndpointJSONRequestBody
- type UpdateEndpointPolicy200CreatedAt0
- type UpdateEndpointPolicy200CreatedAt1
- type UpdateEndpointPolicy200UpdatedAt0
- type UpdateEndpointPolicy200UpdatedAt1
- type UpdateEndpointPolicyJSONBody
- type UpdateEndpointPolicyJSONRequestBody
- type UpdateEndpointPolicyResponse
- type UpdateEndpointPolicy_200_CreatedAt
- type UpdateEndpointPolicy_200_UpdatedAt
- type UpdateEndpointResponse
- type UpdateEndpoint_200_CreatedAt
- type UpdateEndpoint_200_EndPointPolicy_CreatedAt
- type UpdateEndpoint_200_EndPointPolicy_UpdatedAt
- type UpdateEndpoint_200_UpdatedAt
- type UpdateRouter200NetworksPrimaryNetwork0
- type UpdateRouter200NetworksPrimaryNetwork0Type
- type UpdateRouter200NetworksPrimaryNetwork1
- type UpdateRouter200NetworksPrimaryNetwork1Type
- type UpdateRouter200NetworksSecondaryNetworks0
- type UpdateRouter200NetworksSecondaryNetworks0Type
- type UpdateRouter200NetworksSecondaryNetworks1
- type UpdateRouter200NetworksSecondaryNetworks1Type
- type UpdateRouterJSONBody
- type UpdateRouterJSONRequestBody
- type UpdateRouterResponse
- type UpdateRouter_200_Networks_PrimaryNetwork
- type UpdateRouter_200_Networks_SecondaryNetworks_Item
Constants ¶
const ( ApiKeyScopes = "apiKey.Scopes" BearerAuthScopes = "bearerAuth.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewAssociateCloudBoxDnsRouteRequest ¶
func NewAssociateCloudBoxDnsRouteRequest(server string, dnsRouteId openapi_types.UUID, body AssociateCloudBoxDnsRouteJSONRequestBody) (*http.Request, error)
NewAssociateCloudBoxDnsRouteRequest calls the generic AssociateCloudBoxDnsRoute builder with application/json body
func NewAssociateCloudBoxDnsRouteRequestWithBody ¶
func NewAssociateCloudBoxDnsRouteRequestWithBody(server string, dnsRouteId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewAssociateCloudBoxDnsRouteRequestWithBody generates requests for AssociateCloudBoxDnsRoute with any type of body
func NewAssociateDeviceToRuleRequest ¶
func NewAssociateDeviceToRuleRequest(server string, ruleId openapi_types.UUID, body AssociateDeviceToRuleJSONRequestBody) (*http.Request, error)
NewAssociateDeviceToRuleRequest calls the generic AssociateDeviceToRule builder with application/json body
func NewAssociateDeviceToRuleRequestWithBody ¶
func NewAssociateDeviceToRuleRequestWithBody(server string, ruleId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewAssociateDeviceToRuleRequestWithBody generates requests for AssociateDeviceToRule with any type of body
func NewAssociateEndPointDnsRouteRequest ¶
func NewAssociateEndPointDnsRouteRequest(server string, dnsRouteId openapi_types.UUID, body AssociateEndPointDnsRouteJSONRequestBody) (*http.Request, error)
NewAssociateEndPointDnsRouteRequest calls the generic AssociateEndPointDnsRoute builder with application/json body
func NewAssociateEndPointDnsRouteRequestWithBody ¶
func NewAssociateEndPointDnsRouteRequestWithBody(server string, dnsRouteId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewAssociateEndPointDnsRouteRequestWithBody generates requests for AssociateEndPointDnsRoute with any type of body
func NewAssociateRouterNetworkPolicyRequest ¶
func NewAssociateRouterNetworkPolicyRequest(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, body AssociateRouterNetworkPolicyJSONRequestBody) (*http.Request, error)
NewAssociateRouterNetworkPolicyRequest calls the generic AssociateRouterNetworkPolicy builder with application/json body
func NewAssociateRouterNetworkPolicyRequestWithBody ¶
func NewAssociateRouterNetworkPolicyRequestWithBody(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewAssociateRouterNetworkPolicyRequestWithBody generates requests for AssociateRouterNetworkPolicy with any type of body
func NewCreateCloudBoxDnsRouteRequest ¶
func NewCreateCloudBoxDnsRouteRequest(server string, body CreateCloudBoxDnsRouteJSONRequestBody) (*http.Request, error)
NewCreateCloudBoxDnsRouteRequest calls the generic CreateCloudBoxDnsRoute builder with application/json body
func NewCreateCloudBoxDnsRouteRequestWithBody ¶
func NewCreateCloudBoxDnsRouteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCloudBoxDnsRouteRequestWithBody generates requests for CreateCloudBoxDnsRoute with any type of body
func NewCreateDeviceRequest ¶
func NewCreateDeviceRequest(server string, deviceType CreateDeviceParamsDeviceType, body CreateDeviceJSONRequestBody) (*http.Request, error)
NewCreateDeviceRequest calls the generic CreateDevice builder with application/json body
func NewCreateDeviceRequestWithBody ¶
func NewCreateDeviceRequestWithBody(server string, deviceType CreateDeviceParamsDeviceType, contentType string, body io.Reader) (*http.Request, error)
NewCreateDeviceRequestWithBody generates requests for CreateDevice with any type of body
func NewCreateEndPointDnsRouteRequest ¶
func NewCreateEndPointDnsRouteRequest(server string, body CreateEndPointDnsRouteJSONRequestBody) (*http.Request, error)
NewCreateEndPointDnsRouteRequest calls the generic CreateEndPointDnsRoute builder with application/json body
func NewCreateEndPointDnsRouteRequestWithBody ¶
func NewCreateEndPointDnsRouteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEndPointDnsRouteRequestWithBody generates requests for CreateEndPointDnsRoute with any type of body
func NewCreateRouterRequest ¶
func NewCreateRouterRequest(server string, body CreateRouterJSONRequestBody) (*http.Request, error)
NewCreateRouterRequest calls the generic CreateRouter builder with application/json body
func NewCreateRouterRequestWithBody ¶
func NewCreateRouterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRouterRequestWithBody generates requests for CreateRouter with any type of body
func NewCreateRuleRequest ¶
func NewCreateRuleRequest(server string, body CreateRuleJSONRequestBody) (*http.Request, error)
NewCreateRuleRequest calls the generic CreateRule builder with application/json body
func NewCreateRuleRequestWithBody ¶
func NewCreateRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRuleRequestWithBody generates requests for CreateRule with any type of body
func NewDeleteCloudBoxDnsRouteRequest ¶
func NewDeleteCloudBoxDnsRouteRequest(server string, dnsRouteId openapi_types.UUID) (*http.Request, error)
NewDeleteCloudBoxDnsRouteRequest generates requests for DeleteCloudBoxDnsRoute
func NewDeleteDeviceRequest ¶
func NewDeleteDeviceRequest(server string, deviceType DeleteDeviceParamsDeviceType, deviceId openapi_types.UUID) (*http.Request, error)
NewDeleteDeviceRequest generates requests for DeleteDevice
func NewDeleteDnsRouteRequest ¶
NewDeleteDnsRouteRequest generates requests for DeleteDnsRoute
func NewDeleteEndPointDnsRouteRequest ¶
func NewDeleteEndPointDnsRouteRequest(server string, dnsRouteId openapi_types.UUID) (*http.Request, error)
NewDeleteEndPointDnsRouteRequest generates requests for DeleteEndPointDnsRoute
func NewDeleteEndpointRequest ¶
NewDeleteEndpointRequest generates requests for DeleteEndpoint
func NewDeleteRouterRequest ¶
NewDeleteRouterRequest generates requests for DeleteRouter
func NewDeleteRuleRequest ¶
NewDeleteRuleRequest generates requests for DeleteRule
func NewDisassociateCloudBoxDnsRouteRequest ¶
func NewDisassociateCloudBoxDnsRouteRequest(server string, dnsRouteId openapi_types.UUID, cloudboxId openapi_types.UUID) (*http.Request, error)
NewDisassociateCloudBoxDnsRouteRequest generates requests for DisassociateCloudBoxDnsRoute
func NewDisassociateEndPointDnsRouteRequest ¶
func NewDisassociateEndPointDnsRouteRequest(server string, dnsRouteId openapi_types.UUID, endpointPolicyId openapi_types.UUID) (*http.Request, error)
NewDisassociateEndPointDnsRouteRequest generates requests for DisassociateEndPointDnsRoute
func NewDissociateDeviceFromRuleRequest ¶
func NewDissociateDeviceFromRuleRequest(server string, ruleId openapi_types.UUID, deviceId openapi_types.UUID) (*http.Request, error)
NewDissociateDeviceFromRuleRequest generates requests for DissociateDeviceFromRule
func NewDissociateRouterNetworkPolicyRequest ¶
func NewDissociateRouterNetworkPolicyRequest(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, policyId openapi_types.UUID) (*http.Request, error)
NewDissociateRouterNetworkPolicyRequest generates requests for DissociateRouterNetworkPolicy
func NewGetCloudBoxDnsRoutesRequest ¶
func NewGetCloudBoxDnsRoutesRequest(server string, params *GetCloudBoxDnsRoutesParams) (*http.Request, error)
NewGetCloudBoxDnsRoutesRequest generates requests for GetCloudBoxDnsRoutes
func NewGetDeviceCredentialsRequest ¶
func NewGetDeviceCredentialsRequest(server string, deviceType GetDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID) (*http.Request, error)
NewGetDeviceCredentialsRequest generates requests for GetDeviceCredentials
func NewGetDeviceRequest ¶
func NewGetDeviceRequest(server string, deviceType GetDeviceParamsDeviceType, deviceId openapi_types.UUID) (*http.Request, error)
NewGetDeviceRequest generates requests for GetDevice
func NewGetDevicesRequest ¶
func NewGetDevicesRequest(server string, deviceType GetDevicesParamsDeviceType, params *GetDevicesParams) (*http.Request, error)
NewGetDevicesRequest generates requests for GetDevices
func NewGetEndPointDnsRoutesRequest ¶
func NewGetEndPointDnsRoutesRequest(server string, params *GetEndPointDnsRoutesParams) (*http.Request, error)
NewGetEndPointDnsRoutesRequest generates requests for GetEndPointDnsRoutes
func NewGetEndpointByIdRequest ¶
NewGetEndpointByIdRequest generates requests for GetEndpointById
func NewGetEndpointPoliciesRequest ¶
func NewGetEndpointPoliciesRequest(server string, params *GetEndpointPoliciesParams) (*http.Request, error)
NewGetEndpointPoliciesRequest generates requests for GetEndpointPolicies
func NewGetEndpointPolicyByIdRequest ¶
func NewGetEndpointPolicyByIdRequest(server string, endpointPolicyId openapi_types.UUID) (*http.Request, error)
NewGetEndpointPolicyByIdRequest generates requests for GetEndpointPolicyById
func NewGetEndpointsRequest ¶
func NewGetEndpointsRequest(server string, params *GetEndpointsParams) (*http.Request, error)
NewGetEndpointsRequest generates requests for GetEndpoints
func NewGetPhysicalDevicesRequest ¶
NewGetPhysicalDevicesRequest generates requests for GetPhysicalDevices
func NewGetRouterConfigurationScriptParametersRequest ¶
func NewGetRouterConfigurationScriptParametersRequest(server string, routerId openapi_types.UUID) (*http.Request, error)
NewGetRouterConfigurationScriptParametersRequest generates requests for GetRouterConfigurationScriptParameters
func NewGetRouterNetworksRequest ¶
NewGetRouterNetworksRequest generates requests for GetRouterNetworks
func NewGetRouterPoliciesRequest ¶
NewGetRouterPoliciesRequest generates requests for GetRouterPolicies
func NewGetRouterRequest ¶
NewGetRouterRequest generates requests for GetRouter
func NewGetRoutersRequest ¶
func NewGetRoutersRequest(server string, params *GetRoutersParams) (*http.Request, error)
NewGetRoutersRequest generates requests for GetRouters
func NewGetRulesRequest ¶
func NewGetRulesRequest(server string, params *GetRulesParams) (*http.Request, error)
NewGetRulesRequest generates requests for GetRules
func NewUpdateDeviceCatchAllRequest ¶
func NewUpdateDeviceCatchAllRequest(server string, deviceType UpdateDeviceCatchAllParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceCatchAllJSONRequestBody) (*http.Request, error)
NewUpdateDeviceCatchAllRequest calls the generic UpdateDeviceCatchAll builder with application/json body
func NewUpdateDeviceCatchAllRequestWithBody ¶
func NewUpdateDeviceCatchAllRequestWithBody(server string, deviceType UpdateDeviceCatchAllParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDeviceCatchAllRequestWithBody generates requests for UpdateDeviceCatchAll with any type of body
func NewUpdateDeviceCredentialsRequest ¶
func NewUpdateDeviceCredentialsRequest(server string, deviceType UpdateDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceCredentialsJSONRequestBody) (*http.Request, error)
NewUpdateDeviceCredentialsRequest calls the generic UpdateDeviceCredentials builder with application/json body
func NewUpdateDeviceCredentialsRequestWithBody ¶
func NewUpdateDeviceCredentialsRequestWithBody(server string, deviceType UpdateDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDeviceCredentialsRequestWithBody generates requests for UpdateDeviceCredentials with any type of body
func NewUpdateDeviceRequest ¶
func NewUpdateDeviceRequest(server string, deviceType UpdateDeviceParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceJSONRequestBody) (*http.Request, error)
NewUpdateDeviceRequest calls the generic UpdateDevice builder with application/json body
func NewUpdateDeviceRequestWithBody ¶
func NewUpdateDeviceRequestWithBody(server string, deviceType UpdateDeviceParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDeviceRequestWithBody generates requests for UpdateDevice with any type of body
func NewUpdateDynamicInternalRouterNetworkRequest ¶
func NewUpdateDynamicInternalRouterNetworkRequest(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, body UpdateDynamicInternalRouterNetworkJSONRequestBody) (*http.Request, error)
NewUpdateDynamicInternalRouterNetworkRequest calls the generic UpdateDynamicInternalRouterNetwork builder with application/json body
func NewUpdateDynamicInternalRouterNetworkRequestWithBody ¶
func NewUpdateDynamicInternalRouterNetworkRequestWithBody(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDynamicInternalRouterNetworkRequestWithBody generates requests for UpdateDynamicInternalRouterNetwork with any type of body
func NewUpdateEncryptedRouterNetworkRequest ¶
func NewUpdateEncryptedRouterNetworkRequest(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, body UpdateEncryptedRouterNetworkJSONRequestBody) (*http.Request, error)
NewUpdateEncryptedRouterNetworkRequest calls the generic UpdateEncryptedRouterNetwork builder with application/json body
func NewUpdateEncryptedRouterNetworkRequestWithBody ¶
func NewUpdateEncryptedRouterNetworkRequestWithBody(server string, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEncryptedRouterNetworkRequestWithBody generates requests for UpdateEncryptedRouterNetwork with any type of body
func NewUpdateEndpointPolicyRequest ¶
func NewUpdateEndpointPolicyRequest(server string, endpointPolicyId openapi_types.UUID, body UpdateEndpointPolicyJSONRequestBody) (*http.Request, error)
NewUpdateEndpointPolicyRequest calls the generic UpdateEndpointPolicy builder with application/json body
func NewUpdateEndpointPolicyRequestWithBody ¶
func NewUpdateEndpointPolicyRequestWithBody(server string, endpointPolicyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEndpointPolicyRequestWithBody generates requests for UpdateEndpointPolicy with any type of body
func NewUpdateEndpointRequest ¶
func NewUpdateEndpointRequest(server string, endpointId openapi_types.UUID, body UpdateEndpointJSONRequestBody) (*http.Request, error)
NewUpdateEndpointRequest calls the generic UpdateEndpoint builder with application/json body
func NewUpdateEndpointRequestWithBody ¶
func NewUpdateEndpointRequestWithBody(server string, endpointId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEndpointRequestWithBody generates requests for UpdateEndpoint with any type of body
func NewUpdateRouterRequest ¶
func NewUpdateRouterRequest(server string, routerId openapi_types.UUID, body UpdateRouterJSONRequestBody) (*http.Request, error)
NewUpdateRouterRequest calls the generic UpdateRouter builder with application/json body
Types ¶
type AssociateCloudBoxDnsRoute201Target ¶
type AssociateCloudBoxDnsRoute201Target string
type AssociateCloudBoxDnsRouteJSONBody ¶
type AssociateCloudBoxDnsRouteJSONBody struct {
CloudboxId openapi_types.UUID `json:"cloudboxId"`
}
AssociateCloudBoxDnsRouteJSONBody defines parameters for AssociateCloudBoxDnsRoute.
type AssociateCloudBoxDnsRouteJSONRequestBody ¶
type AssociateCloudBoxDnsRouteJSONRequestBody AssociateCloudBoxDnsRouteJSONBody
AssociateCloudBoxDnsRouteJSONRequestBody defines body for AssociateCloudBoxDnsRoute for application/json ContentType.
type AssociateCloudBoxDnsRouteResponse ¶
type AssociateCloudBoxDnsRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Domain string `json:"domain"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target AssociateCloudBoxDnsRoute201Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseAssociateCloudBoxDnsRouteResponse ¶
func ParseAssociateCloudBoxDnsRouteResponse(rsp *http.Response) (*AssociateCloudBoxDnsRouteResponse, error)
ParseAssociateCloudBoxDnsRouteResponse parses an HTTP response from a AssociateCloudBoxDnsRouteWithResponse call
func (AssociateCloudBoxDnsRouteResponse) Status ¶
func (r AssociateCloudBoxDnsRouteResponse) Status() string
Status returns HTTPResponse.Status
func (AssociateCloudBoxDnsRouteResponse) StatusCode ¶
func (r AssociateCloudBoxDnsRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssociateDeviceToRule201LocalAddress0 ¶
type AssociateDeviceToRule201LocalAddress0 struct {
Ip AssociateDeviceToRule_201_LocalAddress_0_Ip `json:"ip"`
Type AssociateDeviceToRule201LocalAddress0Type `json:"type"`
}
type AssociateDeviceToRule201LocalAddress0Ip0 ¶
type AssociateDeviceToRule201LocalAddress0Ip0 = string
type AssociateDeviceToRule201LocalAddress0Ip1 ¶
type AssociateDeviceToRule201LocalAddress0Ip1 = string
type AssociateDeviceToRule201LocalAddress0Type ¶
type AssociateDeviceToRule201LocalAddress0Type string
type AssociateDeviceToRule201LocalAddress1 ¶
type AssociateDeviceToRule201LocalAddress1 struct {
Cidr AssociateDeviceToRule_201_LocalAddress_1_Cidr `json:"cidr"`
Type AssociateDeviceToRule201LocalAddress1Type `json:"type"`
}
type AssociateDeviceToRule201LocalAddress1Cidr0 ¶
type AssociateDeviceToRule201LocalAddress1Cidr0 = string
type AssociateDeviceToRule201LocalAddress1Cidr1 ¶
type AssociateDeviceToRule201LocalAddress1Cidr1 = string
type AssociateDeviceToRule201LocalAddress1Type ¶
type AssociateDeviceToRule201LocalAddress1Type string
type AssociateDeviceToRule201LocalAddress2 ¶
type AssociateDeviceToRule201LocalAddress2 struct {
EndIp string `json:"endIp"`
StartIp string `json:"startIp"`
Type AssociateDeviceToRule201LocalAddress2Type `json:"type"`
}
type AssociateDeviceToRule201LocalAddress2Type ¶
type AssociateDeviceToRule201LocalAddress2Type string
type AssociateDeviceToRuleJSONBody ¶
type AssociateDeviceToRuleJSONBody struct {
DeviceId openapi_types.UUID `json:"deviceId"`
}
AssociateDeviceToRuleJSONBody defines parameters for AssociateDeviceToRule.
type AssociateDeviceToRuleJSONRequestBody ¶
type AssociateDeviceToRuleJSONRequestBody AssociateDeviceToRuleJSONBody
AssociateDeviceToRuleJSONRequestBody defines body for AssociateDeviceToRule for application/json ContentType.
type AssociateDeviceToRuleResponse ¶
type AssociateDeviceToRuleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Id openapi_types.UUID `json:"id"`
LocalAddress AssociateDeviceToRule_201_LocalAddress `json:"localAddress"`
OrganizationId openapi_types.UUID `json:"organizationId"`
Policy struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"policy"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseAssociateDeviceToRuleResponse ¶
func ParseAssociateDeviceToRuleResponse(rsp *http.Response) (*AssociateDeviceToRuleResponse, error)
ParseAssociateDeviceToRuleResponse parses an HTTP response from a AssociateDeviceToRuleWithResponse call
func (AssociateDeviceToRuleResponse) Status ¶
func (r AssociateDeviceToRuleResponse) Status() string
Status returns HTTPResponse.Status
func (AssociateDeviceToRuleResponse) StatusCode ¶
func (r AssociateDeviceToRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssociateDeviceToRule_201_LocalAddress ¶
type AssociateDeviceToRule_201_LocalAddress struct {
// contains filtered or unexported fields
}
type AssociateDeviceToRule_201_LocalAddress_0_Ip ¶
type AssociateDeviceToRule_201_LocalAddress_0_Ip struct {
// contains filtered or unexported fields
}
type AssociateDeviceToRule_201_LocalAddress_1_Cidr ¶
type AssociateDeviceToRule_201_LocalAddress_1_Cidr struct {
// contains filtered or unexported fields
}
type AssociateEndPointDnsRoute201Target ¶
type AssociateEndPointDnsRoute201Target string
type AssociateEndPointDnsRouteJSONBody ¶
type AssociateEndPointDnsRouteJSONBody struct {
EndpointPolicyId openapi_types.UUID `json:"endpointPolicyId"`
}
AssociateEndPointDnsRouteJSONBody defines parameters for AssociateEndPointDnsRoute.
type AssociateEndPointDnsRouteJSONRequestBody ¶
type AssociateEndPointDnsRouteJSONRequestBody AssociateEndPointDnsRouteJSONBody
AssociateEndPointDnsRouteJSONRequestBody defines body for AssociateEndPointDnsRoute for application/json ContentType.
type AssociateEndPointDnsRouteResponse ¶
type AssociateEndPointDnsRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Domain string `json:"domain"`
EndpointPolicyIds []string `json:"endpointPolicyIds"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target AssociateEndPointDnsRoute201Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseAssociateEndPointDnsRouteResponse ¶
func ParseAssociateEndPointDnsRouteResponse(rsp *http.Response) (*AssociateEndPointDnsRouteResponse, error)
ParseAssociateEndPointDnsRouteResponse parses an HTTP response from a AssociateEndPointDnsRouteWithResponse call
func (AssociateEndPointDnsRouteResponse) Status ¶
func (r AssociateEndPointDnsRouteResponse) Status() string
Status returns HTTPResponse.Status
func (AssociateEndPointDnsRouteResponse) StatusCode ¶
func (r AssociateEndPointDnsRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssociateRouterNetworkPolicyJSONBody ¶
type AssociateRouterNetworkPolicyJSONBody struct {
DnsId openapi_types.UUID `json:"dnsId"`
Note *string `json:"note,omitempty"`
PolicyId openapi_types.UUID `json:"policyId"`
}
AssociateRouterNetworkPolicyJSONBody defines parameters for AssociateRouterNetworkPolicy.
type AssociateRouterNetworkPolicyJSONRequestBody ¶
type AssociateRouterNetworkPolicyJSONRequestBody AssociateRouterNetworkPolicyJSONBody
AssociateRouterNetworkPolicyJSONRequestBody defines body for AssociateRouterNetworkPolicy for application/json ContentType.
type AssociateRouterNetworkPolicyResponse ¶
type AssociateRouterNetworkPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Dns *struct {
Id openapi_types.UUID `json:"id"`
Port float32 `json:"port"`
PrimaryDns string `json:"primaryDns"`
SecondaryDns string `json:"secondaryDns"`
} `json:"dns,omitempty"`
NetworkId openapi_types.UUID `json:"networkId"`
Note *string `json:"note,omitempty"`
Policy struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"policy"`
RouterId openapi_types.UUID `json:"routerId"`
Tag *string `json:"tag,omitempty"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseAssociateRouterNetworkPolicyResponse ¶
func ParseAssociateRouterNetworkPolicyResponse(rsp *http.Response) (*AssociateRouterNetworkPolicyResponse, error)
ParseAssociateRouterNetworkPolicyResponse parses an HTTP response from a AssociateRouterNetworkPolicyWithResponse call
func (AssociateRouterNetworkPolicyResponse) Status ¶
func (r AssociateRouterNetworkPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (AssociateRouterNetworkPolicyResponse) StatusCode ¶
func (r AssociateRouterNetworkPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BadRequestResponse ¶
type BadRequestResponse = FlashStartErrorBody
BadRequestResponse defines model for BadRequest.
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) AssociateCloudBoxDnsRoute ¶
func (c *Client) AssociateCloudBoxDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, body AssociateCloudBoxDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssociateCloudBoxDnsRouteWithBody ¶
func (*Client) AssociateDeviceToRule ¶
func (c *Client) AssociateDeviceToRule(ctx context.Context, ruleId openapi_types.UUID, body AssociateDeviceToRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssociateDeviceToRuleWithBody ¶
func (*Client) AssociateEndPointDnsRoute ¶
func (c *Client) AssociateEndPointDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, body AssociateEndPointDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssociateEndPointDnsRouteWithBody ¶
func (*Client) AssociateRouterNetworkPolicy ¶
func (c *Client) AssociateRouterNetworkPolicy(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body AssociateRouterNetworkPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssociateRouterNetworkPolicyWithBody ¶
func (c *Client) AssociateRouterNetworkPolicyWithBody(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCloudBoxDnsRoute ¶
func (c *Client) CreateCloudBoxDnsRoute(ctx context.Context, body CreateCloudBoxDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCloudBoxDnsRouteWithBody ¶
func (*Client) CreateDevice ¶
func (c *Client) CreateDevice(ctx context.Context, deviceType CreateDeviceParamsDeviceType, body CreateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDeviceWithBody ¶
func (*Client) CreateEndPointDnsRoute ¶
func (c *Client) CreateEndPointDnsRoute(ctx context.Context, body CreateEndPointDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEndPointDnsRouteWithBody ¶
func (*Client) CreateRouter ¶
func (c *Client) CreateRouter(ctx context.Context, body CreateRouterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateRouterWithBody ¶
func (*Client) CreateRule ¶
func (c *Client) CreateRule(ctx context.Context, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateRuleWithBody ¶
func (*Client) DeleteCloudBoxDnsRoute ¶
func (c *Client) DeleteCloudBoxDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteDevice ¶
func (c *Client) DeleteDevice(ctx context.Context, deviceType DeleteDeviceParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteDnsRoute ¶
func (c *Client) DeleteDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteEndPointDnsRoute ¶
func (c *Client) DeleteEndPointDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteEndpoint ¶
func (c *Client) DeleteEndpoint(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteRouter ¶
func (c *Client) DeleteRouter(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteRule ¶
func (c *Client) DeleteRule(ctx context.Context, ruleId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DisassociateCloudBoxDnsRoute ¶
func (c *Client) DisassociateCloudBoxDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, cloudboxId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DisassociateEndPointDnsRoute ¶
func (c *Client) DisassociateEndPointDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, endpointPolicyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DissociateDeviceFromRule ¶
func (c *Client) DissociateDeviceFromRule(ctx context.Context, ruleId openapi_types.UUID, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DissociateRouterNetworkPolicy ¶
func (c *Client) DissociateRouterNetworkPolicy(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCloudBoxDnsRoutes ¶
func (c *Client) GetCloudBoxDnsRoutes(ctx context.Context, params *GetCloudBoxDnsRoutesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDevice ¶
func (c *Client) GetDevice(ctx context.Context, deviceType GetDeviceParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDeviceCredentials ¶
func (c *Client) GetDeviceCredentials(ctx context.Context, deviceType GetDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDevices ¶
func (c *Client) GetDevices(ctx context.Context, deviceType GetDevicesParamsDeviceType, params *GetDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEndPointDnsRoutes ¶
func (c *Client) GetEndPointDnsRoutes(ctx context.Context, params *GetEndPointDnsRoutesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEndpointById ¶
func (c *Client) GetEndpointById(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEndpointPolicies ¶
func (c *Client) GetEndpointPolicies(ctx context.Context, params *GetEndpointPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEndpointPolicyById ¶
func (c *Client) GetEndpointPolicyById(ctx context.Context, endpointPolicyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEndpoints ¶
func (c *Client) GetEndpoints(ctx context.Context, params *GetEndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPhysicalDevices ¶
func (*Client) GetRouter ¶
func (c *Client) GetRouter(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRouterConfigurationScriptParameters ¶
func (c *Client) GetRouterConfigurationScriptParameters(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRouterNetworks ¶
func (c *Client) GetRouterNetworks(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRouterPolicies ¶
func (c *Client) GetRouterPolicies(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRouters ¶
func (c *Client) GetRouters(ctx context.Context, params *GetRoutersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRules ¶
func (c *Client) GetRules(ctx context.Context, params *GetRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDevice ¶
func (c *Client) UpdateDevice(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDeviceCatchAll ¶
func (c *Client) UpdateDeviceCatchAll(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceCatchAllJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDeviceCatchAllWithBody ¶
func (c *Client) UpdateDeviceCatchAllWithBody(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDeviceCredentials ¶
func (c *Client) UpdateDeviceCredentials(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDeviceCredentialsWithBody ¶
func (c *Client) UpdateDeviceCredentialsWithBody(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDeviceWithBody ¶
func (c *Client) UpdateDeviceWithBody(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDynamicInternalRouterNetwork ¶
func (c *Client) UpdateDynamicInternalRouterNetwork(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body UpdateDynamicInternalRouterNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDynamicInternalRouterNetworkWithBody ¶
func (c *Client) UpdateDynamicInternalRouterNetworkWithBody(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEncryptedRouterNetwork ¶
func (c *Client) UpdateEncryptedRouterNetwork(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body UpdateEncryptedRouterNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEncryptedRouterNetworkWithBody ¶
func (c *Client) UpdateEncryptedRouterNetworkWithBody(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEndpoint ¶
func (c *Client) UpdateEndpoint(ctx context.Context, endpointId openapi_types.UUID, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEndpointPolicy ¶
func (c *Client) UpdateEndpointPolicy(ctx context.Context, endpointPolicyId openapi_types.UUID, body UpdateEndpointPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEndpointPolicyWithBody ¶
func (*Client) UpdateEndpointWithBody ¶
func (*Client) UpdateRouter ¶
func (c *Client) UpdateRouter(ctx context.Context, routerId openapi_types.UUID, body UpdateRouterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateRouterWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// GetDevices request
GetDevices(ctx context.Context, deviceType GetDevicesParamsDeviceType, params *GetDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDeviceWithBody request with any body
CreateDeviceWithBody(ctx context.Context, deviceType CreateDeviceParamsDeviceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDevice(ctx context.Context, deviceType CreateDeviceParamsDeviceType, body CreateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDevice request
DeleteDevice(ctx context.Context, deviceType DeleteDeviceParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDevice request
GetDevice(ctx context.Context, deviceType GetDeviceParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDeviceWithBody request with any body
UpdateDeviceWithBody(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDevice(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDeviceCatchAllWithBody request with any body
UpdateDeviceCatchAllWithBody(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDeviceCatchAll(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceCatchAllJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeviceCredentials request
GetDeviceCredentials(ctx context.Context, deviceType GetDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDeviceCredentialsWithBody request with any body
UpdateDeviceCredentialsWithBody(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDeviceCredentials(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCloudBoxDnsRoutes request
GetCloudBoxDnsRoutes(ctx context.Context, params *GetCloudBoxDnsRoutesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCloudBoxDnsRouteWithBody request with any body
CreateCloudBoxDnsRouteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCloudBoxDnsRoute(ctx context.Context, body CreateCloudBoxDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCloudBoxDnsRoute request
DeleteCloudBoxDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndPointDnsRoutes request
GetEndPointDnsRoutes(ctx context.Context, params *GetEndPointDnsRoutesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEndPointDnsRouteWithBody request with any body
CreateEndPointDnsRouteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEndPointDnsRoute(ctx context.Context, body CreateEndPointDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEndPointDnsRoute request
DeleteEndPointDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDnsRoute request
DeleteDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AssociateCloudBoxDnsRouteWithBody request with any body
AssociateCloudBoxDnsRouteWithBody(ctx context.Context, dnsRouteId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AssociateCloudBoxDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, body AssociateCloudBoxDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DisassociateCloudBoxDnsRoute request
DisassociateCloudBoxDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, cloudboxId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AssociateEndPointDnsRouteWithBody request with any body
AssociateEndPointDnsRouteWithBody(ctx context.Context, dnsRouteId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AssociateEndPointDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, body AssociateEndPointDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DisassociateEndPointDnsRoute request
DisassociateEndPointDnsRoute(ctx context.Context, dnsRouteId openapi_types.UUID, endpointPolicyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndpoints request
GetEndpoints(ctx context.Context, params *GetEndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndpointPolicies request
GetEndpointPolicies(ctx context.Context, params *GetEndpointPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndpointPolicyById request
GetEndpointPolicyById(ctx context.Context, endpointPolicyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEndpointPolicyWithBody request with any body
UpdateEndpointPolicyWithBody(ctx context.Context, endpointPolicyId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEndpointPolicy(ctx context.Context, endpointPolicyId openapi_types.UUID, body UpdateEndpointPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEndpoint request
DeleteEndpoint(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndpointById request
GetEndpointById(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEndpointWithBody request with any body
UpdateEndpointWithBody(ctx context.Context, endpointId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEndpoint(ctx context.Context, endpointId openapi_types.UUID, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPhysicalDevices request
GetPhysicalDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRouters request
GetRouters(ctx context.Context, params *GetRoutersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRouterWithBody request with any body
CreateRouterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRouter(ctx context.Context, body CreateRouterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRouter request
DeleteRouter(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRouter request
GetRouter(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRouterWithBody request with any body
UpdateRouterWithBody(ctx context.Context, routerId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRouter(ctx context.Context, routerId openapi_types.UUID, body UpdateRouterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRouterConfigurationScriptParameters request
GetRouterConfigurationScriptParameters(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRouterNetworks request
GetRouterNetworks(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDynamicInternalRouterNetworkWithBody request with any body
UpdateDynamicInternalRouterNetworkWithBody(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDynamicInternalRouterNetwork(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body UpdateDynamicInternalRouterNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEncryptedRouterNetworkWithBody request with any body
UpdateEncryptedRouterNetworkWithBody(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEncryptedRouterNetwork(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body UpdateEncryptedRouterNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AssociateRouterNetworkPolicyWithBody request with any body
AssociateRouterNetworkPolicyWithBody(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AssociateRouterNetworkPolicy(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body AssociateRouterNetworkPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DissociateRouterNetworkPolicy request
DissociateRouterNetworkPolicy(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRouterPolicies request
GetRouterPolicies(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRules request
GetRules(ctx context.Context, params *GetRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRuleWithBody request with any body
CreateRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRule(ctx context.Context, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRule request
DeleteRule(ctx context.Context, ruleId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AssociateDeviceToRuleWithBody request with any body
AssociateDeviceToRuleWithBody(ctx context.Context, ruleId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AssociateDeviceToRule(ctx context.Context, ruleId openapi_types.UUID, body AssociateDeviceToRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DissociateDeviceFromRule request
DissociateDeviceFromRule(ctx context.Context, ruleId openapi_types.UUID, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AssociateCloudBoxDnsRouteWithBodyWithResponse ¶
func (c *ClientWithResponses) AssociateCloudBoxDnsRouteWithBodyWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssociateCloudBoxDnsRouteResponse, error)
AssociateCloudBoxDnsRouteWithBodyWithResponse request with arbitrary body returning *AssociateCloudBoxDnsRouteResponse
func (*ClientWithResponses) AssociateCloudBoxDnsRouteWithResponse ¶
func (c *ClientWithResponses) AssociateCloudBoxDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, body AssociateCloudBoxDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*AssociateCloudBoxDnsRouteResponse, error)
func (*ClientWithResponses) AssociateDeviceToRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) AssociateDeviceToRuleWithBodyWithResponse(ctx context.Context, ruleId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssociateDeviceToRuleResponse, error)
AssociateDeviceToRuleWithBodyWithResponse request with arbitrary body returning *AssociateDeviceToRuleResponse
func (*ClientWithResponses) AssociateDeviceToRuleWithResponse ¶
func (c *ClientWithResponses) AssociateDeviceToRuleWithResponse(ctx context.Context, ruleId openapi_types.UUID, body AssociateDeviceToRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*AssociateDeviceToRuleResponse, error)
func (*ClientWithResponses) AssociateEndPointDnsRouteWithBodyWithResponse ¶
func (c *ClientWithResponses) AssociateEndPointDnsRouteWithBodyWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssociateEndPointDnsRouteResponse, error)
AssociateEndPointDnsRouteWithBodyWithResponse request with arbitrary body returning *AssociateEndPointDnsRouteResponse
func (*ClientWithResponses) AssociateEndPointDnsRouteWithResponse ¶
func (c *ClientWithResponses) AssociateEndPointDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, body AssociateEndPointDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*AssociateEndPointDnsRouteResponse, error)
func (*ClientWithResponses) AssociateRouterNetworkPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) AssociateRouterNetworkPolicyWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssociateRouterNetworkPolicyResponse, error)
AssociateRouterNetworkPolicyWithBodyWithResponse request with arbitrary body returning *AssociateRouterNetworkPolicyResponse
func (*ClientWithResponses) AssociateRouterNetworkPolicyWithResponse ¶
func (c *ClientWithResponses) AssociateRouterNetworkPolicyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body AssociateRouterNetworkPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*AssociateRouterNetworkPolicyResponse, error)
func (*ClientWithResponses) CreateCloudBoxDnsRouteWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCloudBoxDnsRouteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCloudBoxDnsRouteResponse, error)
CreateCloudBoxDnsRouteWithBodyWithResponse request with arbitrary body returning *CreateCloudBoxDnsRouteResponse
func (*ClientWithResponses) CreateCloudBoxDnsRouteWithResponse ¶
func (c *ClientWithResponses) CreateCloudBoxDnsRouteWithResponse(ctx context.Context, body CreateCloudBoxDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCloudBoxDnsRouteResponse, error)
func (*ClientWithResponses) CreateDeviceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDeviceWithBodyWithResponse(ctx context.Context, deviceType CreateDeviceParamsDeviceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeviceResponse, error)
CreateDeviceWithBodyWithResponse request with arbitrary body returning *CreateDeviceResponse
func (*ClientWithResponses) CreateDeviceWithResponse ¶
func (c *ClientWithResponses) CreateDeviceWithResponse(ctx context.Context, deviceType CreateDeviceParamsDeviceType, body CreateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeviceResponse, error)
func (*ClientWithResponses) CreateEndPointDnsRouteWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEndPointDnsRouteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEndPointDnsRouteResponse, error)
CreateEndPointDnsRouteWithBodyWithResponse request with arbitrary body returning *CreateEndPointDnsRouteResponse
func (*ClientWithResponses) CreateEndPointDnsRouteWithResponse ¶
func (c *ClientWithResponses) CreateEndPointDnsRouteWithResponse(ctx context.Context, body CreateEndPointDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEndPointDnsRouteResponse, error)
func (*ClientWithResponses) CreateRouterWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRouterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRouterResponse, error)
CreateRouterWithBodyWithResponse request with arbitrary body returning *CreateRouterResponse
func (*ClientWithResponses) CreateRouterWithResponse ¶
func (c *ClientWithResponses) CreateRouterWithResponse(ctx context.Context, body CreateRouterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRouterResponse, error)
func (*ClientWithResponses) CreateRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error)
CreateRuleWithBodyWithResponse request with arbitrary body returning *CreateRuleResponse
func (*ClientWithResponses) CreateRuleWithResponse ¶
func (c *ClientWithResponses) CreateRuleWithResponse(ctx context.Context, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error)
func (*ClientWithResponses) DeleteCloudBoxDnsRouteWithResponse ¶
func (c *ClientWithResponses) DeleteCloudBoxDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCloudBoxDnsRouteResponse, error)
DeleteCloudBoxDnsRouteWithResponse request returning *DeleteCloudBoxDnsRouteResponse
func (*ClientWithResponses) DeleteDeviceWithResponse ¶
func (c *ClientWithResponses) DeleteDeviceWithResponse(ctx context.Context, deviceType DeleteDeviceParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDeviceResponse, error)
DeleteDeviceWithResponse request returning *DeleteDeviceResponse
func (*ClientWithResponses) DeleteDnsRouteWithResponse ¶
func (c *ClientWithResponses) DeleteDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDnsRouteResponse, error)
DeleteDnsRouteWithResponse request returning *DeleteDnsRouteResponse
func (*ClientWithResponses) DeleteEndPointDnsRouteWithResponse ¶
func (c *ClientWithResponses) DeleteEndPointDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEndPointDnsRouteResponse, error)
DeleteEndPointDnsRouteWithResponse request returning *DeleteEndPointDnsRouteResponse
func (*ClientWithResponses) DeleteEndpointWithResponse ¶
func (c *ClientWithResponses) DeleteEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEndpointResponse, error)
DeleteEndpointWithResponse request returning *DeleteEndpointResponse
func (*ClientWithResponses) DeleteRouterWithResponse ¶
func (c *ClientWithResponses) DeleteRouterWithResponse(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteRouterResponse, error)
DeleteRouterWithResponse request returning *DeleteRouterResponse
func (*ClientWithResponses) DeleteRuleWithResponse ¶
func (c *ClientWithResponses) DeleteRuleWithResponse(ctx context.Context, ruleId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteRuleResponse, error)
DeleteRuleWithResponse request returning *DeleteRuleResponse
func (*ClientWithResponses) DisassociateCloudBoxDnsRouteWithResponse ¶
func (c *ClientWithResponses) DisassociateCloudBoxDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, cloudboxId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DisassociateCloudBoxDnsRouteResponse, error)
DisassociateCloudBoxDnsRouteWithResponse request returning *DisassociateCloudBoxDnsRouteResponse
func (*ClientWithResponses) DisassociateEndPointDnsRouteWithResponse ¶
func (c *ClientWithResponses) DisassociateEndPointDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, endpointPolicyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DisassociateEndPointDnsRouteResponse, error)
DisassociateEndPointDnsRouteWithResponse request returning *DisassociateEndPointDnsRouteResponse
func (*ClientWithResponses) DissociateDeviceFromRuleWithResponse ¶
func (c *ClientWithResponses) DissociateDeviceFromRuleWithResponse(ctx context.Context, ruleId openapi_types.UUID, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DissociateDeviceFromRuleResponse, error)
DissociateDeviceFromRuleWithResponse request returning *DissociateDeviceFromRuleResponse
func (*ClientWithResponses) DissociateRouterNetworkPolicyWithResponse ¶
func (c *ClientWithResponses) DissociateRouterNetworkPolicyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DissociateRouterNetworkPolicyResponse, error)
DissociateRouterNetworkPolicyWithResponse request returning *DissociateRouterNetworkPolicyResponse
func (*ClientWithResponses) GetCloudBoxDnsRoutesWithResponse ¶
func (c *ClientWithResponses) GetCloudBoxDnsRoutesWithResponse(ctx context.Context, params *GetCloudBoxDnsRoutesParams, reqEditors ...RequestEditorFn) (*GetCloudBoxDnsRoutesResponse, error)
GetCloudBoxDnsRoutesWithResponse request returning *GetCloudBoxDnsRoutesResponse
func (*ClientWithResponses) GetDeviceCredentialsWithResponse ¶
func (c *ClientWithResponses) GetDeviceCredentialsWithResponse(ctx context.Context, deviceType GetDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDeviceCredentialsResponse, error)
GetDeviceCredentialsWithResponse request returning *GetDeviceCredentialsResponse
func (*ClientWithResponses) GetDeviceWithResponse ¶
func (c *ClientWithResponses) GetDeviceWithResponse(ctx context.Context, deviceType GetDeviceParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDeviceResponse, error)
GetDeviceWithResponse request returning *GetDeviceResponse
func (*ClientWithResponses) GetDevicesWithResponse ¶
func (c *ClientWithResponses) GetDevicesWithResponse(ctx context.Context, deviceType GetDevicesParamsDeviceType, params *GetDevicesParams, reqEditors ...RequestEditorFn) (*GetDevicesResponse, error)
GetDevicesWithResponse request returning *GetDevicesResponse
func (*ClientWithResponses) GetEndPointDnsRoutesWithResponse ¶
func (c *ClientWithResponses) GetEndPointDnsRoutesWithResponse(ctx context.Context, params *GetEndPointDnsRoutesParams, reqEditors ...RequestEditorFn) (*GetEndPointDnsRoutesResponse, error)
GetEndPointDnsRoutesWithResponse request returning *GetEndPointDnsRoutesResponse
func (*ClientWithResponses) GetEndpointByIdWithResponse ¶
func (c *ClientWithResponses) GetEndpointByIdWithResponse(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEndpointByIdResponse, error)
GetEndpointByIdWithResponse request returning *GetEndpointByIdResponse
func (*ClientWithResponses) GetEndpointPoliciesWithResponse ¶
func (c *ClientWithResponses) GetEndpointPoliciesWithResponse(ctx context.Context, params *GetEndpointPoliciesParams, reqEditors ...RequestEditorFn) (*GetEndpointPoliciesResponse, error)
GetEndpointPoliciesWithResponse request returning *GetEndpointPoliciesResponse
func (*ClientWithResponses) GetEndpointPolicyByIdWithResponse ¶
func (c *ClientWithResponses) GetEndpointPolicyByIdWithResponse(ctx context.Context, endpointPolicyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEndpointPolicyByIdResponse, error)
GetEndpointPolicyByIdWithResponse request returning *GetEndpointPolicyByIdResponse
func (*ClientWithResponses) GetEndpointsWithResponse ¶
func (c *ClientWithResponses) GetEndpointsWithResponse(ctx context.Context, params *GetEndpointsParams, reqEditors ...RequestEditorFn) (*GetEndpointsResponse, error)
GetEndpointsWithResponse request returning *GetEndpointsResponse
func (*ClientWithResponses) GetPhysicalDevicesWithResponse ¶
func (c *ClientWithResponses) GetPhysicalDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPhysicalDevicesResponse, error)
GetPhysicalDevicesWithResponse request returning *GetPhysicalDevicesResponse
func (*ClientWithResponses) GetRouterConfigurationScriptParametersWithResponse ¶
func (c *ClientWithResponses) GetRouterConfigurationScriptParametersWithResponse(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRouterConfigurationScriptParametersResponse, error)
GetRouterConfigurationScriptParametersWithResponse request returning *GetRouterConfigurationScriptParametersResponse
func (*ClientWithResponses) GetRouterNetworksWithResponse ¶
func (c *ClientWithResponses) GetRouterNetworksWithResponse(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRouterNetworksResponse, error)
GetRouterNetworksWithResponse request returning *GetRouterNetworksResponse
func (*ClientWithResponses) GetRouterPoliciesWithResponse ¶
func (c *ClientWithResponses) GetRouterPoliciesWithResponse(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRouterPoliciesResponse, error)
GetRouterPoliciesWithResponse request returning *GetRouterPoliciesResponse
func (*ClientWithResponses) GetRouterWithResponse ¶
func (c *ClientWithResponses) GetRouterWithResponse(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRouterResponse, error)
GetRouterWithResponse request returning *GetRouterResponse
func (*ClientWithResponses) GetRoutersWithResponse ¶
func (c *ClientWithResponses) GetRoutersWithResponse(ctx context.Context, params *GetRoutersParams, reqEditors ...RequestEditorFn) (*GetRoutersResponse, error)
GetRoutersWithResponse request returning *GetRoutersResponse
func (*ClientWithResponses) GetRulesWithResponse ¶
func (c *ClientWithResponses) GetRulesWithResponse(ctx context.Context, params *GetRulesParams, reqEditors ...RequestEditorFn) (*GetRulesResponse, error)
GetRulesWithResponse request returning *GetRulesResponse
func (*ClientWithResponses) UpdateDeviceCatchAllWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDeviceCatchAllWithBodyWithResponse(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeviceCatchAllResponse, error)
UpdateDeviceCatchAllWithBodyWithResponse request with arbitrary body returning *UpdateDeviceCatchAllResponse
func (*ClientWithResponses) UpdateDeviceCatchAllWithResponse ¶
func (c *ClientWithResponses) UpdateDeviceCatchAllWithResponse(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceCatchAllJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeviceCatchAllResponse, error)
func (*ClientWithResponses) UpdateDeviceCredentialsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDeviceCredentialsWithBodyWithResponse(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeviceCredentialsResponse, error)
UpdateDeviceCredentialsWithBodyWithResponse request with arbitrary body returning *UpdateDeviceCredentialsResponse
func (*ClientWithResponses) UpdateDeviceCredentialsWithResponse ¶
func (c *ClientWithResponses) UpdateDeviceCredentialsWithResponse(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeviceCredentialsResponse, error)
func (*ClientWithResponses) UpdateDeviceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDeviceWithBodyWithResponse(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeviceResponse, error)
UpdateDeviceWithBodyWithResponse request with arbitrary body returning *UpdateDeviceResponse
func (*ClientWithResponses) UpdateDeviceWithResponse ¶
func (c *ClientWithResponses) UpdateDeviceWithResponse(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeviceResponse, error)
func (*ClientWithResponses) UpdateDynamicInternalRouterNetworkWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDynamicInternalRouterNetworkWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDynamicInternalRouterNetworkResponse, error)
UpdateDynamicInternalRouterNetworkWithBodyWithResponse request with arbitrary body returning *UpdateDynamicInternalRouterNetworkResponse
func (*ClientWithResponses) UpdateDynamicInternalRouterNetworkWithResponse ¶
func (c *ClientWithResponses) UpdateDynamicInternalRouterNetworkWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body UpdateDynamicInternalRouterNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDynamicInternalRouterNetworkResponse, error)
func (*ClientWithResponses) UpdateEncryptedRouterNetworkWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEncryptedRouterNetworkWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEncryptedRouterNetworkResponse, error)
UpdateEncryptedRouterNetworkWithBodyWithResponse request with arbitrary body returning *UpdateEncryptedRouterNetworkResponse
func (*ClientWithResponses) UpdateEncryptedRouterNetworkWithResponse ¶
func (c *ClientWithResponses) UpdateEncryptedRouterNetworkWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body UpdateEncryptedRouterNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEncryptedRouterNetworkResponse, error)
func (*ClientWithResponses) UpdateEndpointPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEndpointPolicyWithBodyWithResponse(ctx context.Context, endpointPolicyId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEndpointPolicyResponse, error)
UpdateEndpointPolicyWithBodyWithResponse request with arbitrary body returning *UpdateEndpointPolicyResponse
func (*ClientWithResponses) UpdateEndpointPolicyWithResponse ¶
func (c *ClientWithResponses) UpdateEndpointPolicyWithResponse(ctx context.Context, endpointPolicyId openapi_types.UUID, body UpdateEndpointPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEndpointPolicyResponse, error)
func (*ClientWithResponses) UpdateEndpointWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEndpointWithBodyWithResponse(ctx context.Context, endpointId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
UpdateEndpointWithBodyWithResponse request with arbitrary body returning *UpdateEndpointResponse
func (*ClientWithResponses) UpdateEndpointWithResponse ¶
func (c *ClientWithResponses) UpdateEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
func (*ClientWithResponses) UpdateRouterWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateRouterWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRouterResponse, error)
UpdateRouterWithBodyWithResponse request with arbitrary body returning *UpdateRouterResponse
func (*ClientWithResponses) UpdateRouterWithResponse ¶
func (c *ClientWithResponses) UpdateRouterWithResponse(ctx context.Context, routerId openapi_types.UUID, body UpdateRouterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRouterResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetDevicesWithResponse request
GetDevicesWithResponse(ctx context.Context, deviceType GetDevicesParamsDeviceType, params *GetDevicesParams, reqEditors ...RequestEditorFn) (*GetDevicesResponse, error)
// CreateDeviceWithBodyWithResponse request with any body
CreateDeviceWithBodyWithResponse(ctx context.Context, deviceType CreateDeviceParamsDeviceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeviceResponse, error)
CreateDeviceWithResponse(ctx context.Context, deviceType CreateDeviceParamsDeviceType, body CreateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeviceResponse, error)
// DeleteDeviceWithResponse request
DeleteDeviceWithResponse(ctx context.Context, deviceType DeleteDeviceParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDeviceResponse, error)
// GetDeviceWithResponse request
GetDeviceWithResponse(ctx context.Context, deviceType GetDeviceParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDeviceResponse, error)
// UpdateDeviceWithBodyWithResponse request with any body
UpdateDeviceWithBodyWithResponse(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeviceResponse, error)
UpdateDeviceWithResponse(ctx context.Context, deviceType UpdateDeviceParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeviceResponse, error)
// UpdateDeviceCatchAllWithBodyWithResponse request with any body
UpdateDeviceCatchAllWithBodyWithResponse(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeviceCatchAllResponse, error)
UpdateDeviceCatchAllWithResponse(ctx context.Context, deviceType UpdateDeviceCatchAllParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceCatchAllJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeviceCatchAllResponse, error)
// GetDeviceCredentialsWithResponse request
GetDeviceCredentialsWithResponse(ctx context.Context, deviceType GetDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDeviceCredentialsResponse, error)
// UpdateDeviceCredentialsWithBodyWithResponse request with any body
UpdateDeviceCredentialsWithBodyWithResponse(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeviceCredentialsResponse, error)
UpdateDeviceCredentialsWithResponse(ctx context.Context, deviceType UpdateDeviceCredentialsParamsDeviceType, deviceId openapi_types.UUID, body UpdateDeviceCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeviceCredentialsResponse, error)
// GetCloudBoxDnsRoutesWithResponse request
GetCloudBoxDnsRoutesWithResponse(ctx context.Context, params *GetCloudBoxDnsRoutesParams, reqEditors ...RequestEditorFn) (*GetCloudBoxDnsRoutesResponse, error)
// CreateCloudBoxDnsRouteWithBodyWithResponse request with any body
CreateCloudBoxDnsRouteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCloudBoxDnsRouteResponse, error)
CreateCloudBoxDnsRouteWithResponse(ctx context.Context, body CreateCloudBoxDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCloudBoxDnsRouteResponse, error)
// DeleteCloudBoxDnsRouteWithResponse request
DeleteCloudBoxDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCloudBoxDnsRouteResponse, error)
// GetEndPointDnsRoutesWithResponse request
GetEndPointDnsRoutesWithResponse(ctx context.Context, params *GetEndPointDnsRoutesParams, reqEditors ...RequestEditorFn) (*GetEndPointDnsRoutesResponse, error)
// CreateEndPointDnsRouteWithBodyWithResponse request with any body
CreateEndPointDnsRouteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEndPointDnsRouteResponse, error)
CreateEndPointDnsRouteWithResponse(ctx context.Context, body CreateEndPointDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEndPointDnsRouteResponse, error)
// DeleteEndPointDnsRouteWithResponse request
DeleteEndPointDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEndPointDnsRouteResponse, error)
// DeleteDnsRouteWithResponse request
DeleteDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDnsRouteResponse, error)
// AssociateCloudBoxDnsRouteWithBodyWithResponse request with any body
AssociateCloudBoxDnsRouteWithBodyWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssociateCloudBoxDnsRouteResponse, error)
AssociateCloudBoxDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, body AssociateCloudBoxDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*AssociateCloudBoxDnsRouteResponse, error)
// DisassociateCloudBoxDnsRouteWithResponse request
DisassociateCloudBoxDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, cloudboxId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DisassociateCloudBoxDnsRouteResponse, error)
// AssociateEndPointDnsRouteWithBodyWithResponse request with any body
AssociateEndPointDnsRouteWithBodyWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssociateEndPointDnsRouteResponse, error)
AssociateEndPointDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, body AssociateEndPointDnsRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*AssociateEndPointDnsRouteResponse, error)
// DisassociateEndPointDnsRouteWithResponse request
DisassociateEndPointDnsRouteWithResponse(ctx context.Context, dnsRouteId openapi_types.UUID, endpointPolicyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DisassociateEndPointDnsRouteResponse, error)
// GetEndpointsWithResponse request
GetEndpointsWithResponse(ctx context.Context, params *GetEndpointsParams, reqEditors ...RequestEditorFn) (*GetEndpointsResponse, error)
// GetEndpointPoliciesWithResponse request
GetEndpointPoliciesWithResponse(ctx context.Context, params *GetEndpointPoliciesParams, reqEditors ...RequestEditorFn) (*GetEndpointPoliciesResponse, error)
// GetEndpointPolicyByIdWithResponse request
GetEndpointPolicyByIdWithResponse(ctx context.Context, endpointPolicyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEndpointPolicyByIdResponse, error)
// UpdateEndpointPolicyWithBodyWithResponse request with any body
UpdateEndpointPolicyWithBodyWithResponse(ctx context.Context, endpointPolicyId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEndpointPolicyResponse, error)
UpdateEndpointPolicyWithResponse(ctx context.Context, endpointPolicyId openapi_types.UUID, body UpdateEndpointPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEndpointPolicyResponse, error)
// DeleteEndpointWithResponse request
DeleteEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEndpointResponse, error)
// GetEndpointByIdWithResponse request
GetEndpointByIdWithResponse(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEndpointByIdResponse, error)
// UpdateEndpointWithBodyWithResponse request with any body
UpdateEndpointWithBodyWithResponse(ctx context.Context, endpointId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
UpdateEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
// GetPhysicalDevicesWithResponse request
GetPhysicalDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPhysicalDevicesResponse, error)
// GetRoutersWithResponse request
GetRoutersWithResponse(ctx context.Context, params *GetRoutersParams, reqEditors ...RequestEditorFn) (*GetRoutersResponse, error)
// CreateRouterWithBodyWithResponse request with any body
CreateRouterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRouterResponse, error)
CreateRouterWithResponse(ctx context.Context, body CreateRouterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRouterResponse, error)
// DeleteRouterWithResponse request
DeleteRouterWithResponse(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteRouterResponse, error)
// GetRouterWithResponse request
GetRouterWithResponse(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRouterResponse, error)
// UpdateRouterWithBodyWithResponse request with any body
UpdateRouterWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRouterResponse, error)
UpdateRouterWithResponse(ctx context.Context, routerId openapi_types.UUID, body UpdateRouterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRouterResponse, error)
// GetRouterConfigurationScriptParametersWithResponse request
GetRouterConfigurationScriptParametersWithResponse(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRouterConfigurationScriptParametersResponse, error)
// GetRouterNetworksWithResponse request
GetRouterNetworksWithResponse(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRouterNetworksResponse, error)
// UpdateDynamicInternalRouterNetworkWithBodyWithResponse request with any body
UpdateDynamicInternalRouterNetworkWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDynamicInternalRouterNetworkResponse, error)
UpdateDynamicInternalRouterNetworkWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body UpdateDynamicInternalRouterNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDynamicInternalRouterNetworkResponse, error)
// UpdateEncryptedRouterNetworkWithBodyWithResponse request with any body
UpdateEncryptedRouterNetworkWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEncryptedRouterNetworkResponse, error)
UpdateEncryptedRouterNetworkWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body UpdateEncryptedRouterNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEncryptedRouterNetworkResponse, error)
// AssociateRouterNetworkPolicyWithBodyWithResponse request with any body
AssociateRouterNetworkPolicyWithBodyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssociateRouterNetworkPolicyResponse, error)
AssociateRouterNetworkPolicyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, body AssociateRouterNetworkPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*AssociateRouterNetworkPolicyResponse, error)
// DissociateRouterNetworkPolicyWithResponse request
DissociateRouterNetworkPolicyWithResponse(ctx context.Context, routerId openapi_types.UUID, networkId openapi_types.UUID, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DissociateRouterNetworkPolicyResponse, error)
// GetRouterPoliciesWithResponse request
GetRouterPoliciesWithResponse(ctx context.Context, routerId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRouterPoliciesResponse, error)
// GetRulesWithResponse request
GetRulesWithResponse(ctx context.Context, params *GetRulesParams, reqEditors ...RequestEditorFn) (*GetRulesResponse, error)
// CreateRuleWithBodyWithResponse request with any body
CreateRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error)
CreateRuleWithResponse(ctx context.Context, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error)
// DeleteRuleWithResponse request
DeleteRuleWithResponse(ctx context.Context, ruleId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteRuleResponse, error)
// AssociateDeviceToRuleWithBodyWithResponse request with any body
AssociateDeviceToRuleWithBodyWithResponse(ctx context.Context, ruleId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssociateDeviceToRuleResponse, error)
AssociateDeviceToRuleWithResponse(ctx context.Context, ruleId openapi_types.UUID, body AssociateDeviceToRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*AssociateDeviceToRuleResponse, error)
// DissociateDeviceFromRuleWithResponse request
DissociateDeviceFromRuleWithResponse(ctx context.Context, ruleId openapi_types.UUID, deviceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DissociateDeviceFromRuleResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateCloudBoxDnsRoute201Target ¶
type CreateCloudBoxDnsRoute201Target string
type CreateCloudBoxDnsRouteJSONBody ¶
type CreateCloudBoxDnsRouteJSONBody struct {
Domain string `json:"domain"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp CreateCloudBoxDnsRouteJSONBody_PrimaryForwardIp `json:"primaryForwardIp"`
SecondaryForwardIp *CreateCloudBoxDnsRouteJSONBody_SecondaryForwardIp `json:"secondaryForwardIp,omitempty"`
}
CreateCloudBoxDnsRouteJSONBody defines parameters for CreateCloudBoxDnsRoute.
type CreateCloudBoxDnsRouteJSONBodyPrimaryForwardIp0 ¶
type CreateCloudBoxDnsRouteJSONBodyPrimaryForwardIp0 = string
CreateCloudBoxDnsRouteJSONBodyPrimaryForwardIp0 defines parameters for CreateCloudBoxDnsRoute.
type CreateCloudBoxDnsRouteJSONBodyPrimaryForwardIp1 ¶
type CreateCloudBoxDnsRouteJSONBodyPrimaryForwardIp1 = string
CreateCloudBoxDnsRouteJSONBodyPrimaryForwardIp1 defines parameters for CreateCloudBoxDnsRoute.
type CreateCloudBoxDnsRouteJSONBodySecondaryForwardIp0 ¶
type CreateCloudBoxDnsRouteJSONBodySecondaryForwardIp0 = string
CreateCloudBoxDnsRouteJSONBodySecondaryForwardIp0 defines parameters for CreateCloudBoxDnsRoute.
type CreateCloudBoxDnsRouteJSONBodySecondaryForwardIp1 ¶
type CreateCloudBoxDnsRouteJSONBodySecondaryForwardIp1 = string
CreateCloudBoxDnsRouteJSONBodySecondaryForwardIp1 defines parameters for CreateCloudBoxDnsRoute.
type CreateCloudBoxDnsRouteJSONBody_PrimaryForwardIp ¶
type CreateCloudBoxDnsRouteJSONBody_PrimaryForwardIp struct {
// contains filtered or unexported fields
}
CreateCloudBoxDnsRouteJSONBody_PrimaryForwardIp defines parameters for CreateCloudBoxDnsRoute.
type CreateCloudBoxDnsRouteJSONBody_SecondaryForwardIp ¶
type CreateCloudBoxDnsRouteJSONBody_SecondaryForwardIp struct {
// contains filtered or unexported fields
}
CreateCloudBoxDnsRouteJSONBody_SecondaryForwardIp defines parameters for CreateCloudBoxDnsRoute.
type CreateCloudBoxDnsRouteJSONRequestBody ¶
type CreateCloudBoxDnsRouteJSONRequestBody CreateCloudBoxDnsRouteJSONBody
CreateCloudBoxDnsRouteJSONRequestBody defines body for CreateCloudBoxDnsRoute for application/json ContentType.
type CreateCloudBoxDnsRouteResponse ¶
type CreateCloudBoxDnsRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Domain string `json:"domain"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target CreateCloudBoxDnsRoute201Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseCreateCloudBoxDnsRouteResponse ¶
func ParseCreateCloudBoxDnsRouteResponse(rsp *http.Response) (*CreateCloudBoxDnsRouteResponse, error)
ParseCreateCloudBoxDnsRouteResponse parses an HTTP response from a CreateCloudBoxDnsRouteWithResponse call
func (CreateCloudBoxDnsRouteResponse) Status ¶
func (r CreateCloudBoxDnsRouteResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCloudBoxDnsRouteResponse) StatusCode ¶
func (r CreateCloudBoxDnsRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDevice201InfoLastLoginCheckTime0 ¶
type CreateDevice201InfoLastLoginCheckTime0 = string
type CreateDevice201InfoLastVersionCheckTime0 ¶
type CreateDevice201InfoLastVersionCheckTime0 = string
type CreateDevice201Type ¶
type CreateDevice201Type string
type CreateDeviceJSONBody ¶
type CreateDeviceJSONBody struct {
CatchAllPolicyId openapi_types.UUID `json:"catchAllPolicyId"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
OrganizationId openapi_types.UUID `json:"organizationId"`
Password string `json:"password"`
Username string `json:"username"`
}
CreateDeviceJSONBody defines parameters for CreateDevice.
type CreateDeviceJSONRequestBody ¶
type CreateDeviceJSONRequestBody CreateDeviceJSONBody
CreateDeviceJSONRequestBody defines body for CreateDevice for application/json ContentType.
type CreateDeviceParamsDeviceType ¶
type CreateDeviceParamsDeviceType string
CreateDeviceParamsDeviceType defines parameters for CreateDevice.
const (
CreateDeviceParamsDeviceTypeCLOUDBOX CreateDeviceParamsDeviceType = "CLOUDBOX"
)
Defines values for CreateDeviceParamsDeviceType.
type CreateDeviceResponse ¶
type CreateDeviceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
CatchAllRule struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"catchAllRule"`
Id openapi_types.UUID `json:"id"`
Info struct {
CpuUsage *float32 `json:"cpuUsage,omitempty"`
DeviceId *openapi_types.UUID `json:"deviceId,omitempty"`
DiskUsage *float32 `json:"diskUsage,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
HardwareModel *string `json:"hardwareModel,omitempty"`
LastLoginCheckTime *CreateDevice_201_Info_LastLoginCheckTime `json:"lastLoginCheckTime,omitempty"`
LastVersionCheckTime *CreateDevice_201_Info_LastVersionCheckTime `json:"lastVersionCheckTime,omitempty"`
LocalDnsIp *string `json:"localDnsIp,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
OsVersion *string `json:"osVersion,omitempty"`
PublicDnsFallback *bool `json:"publicDnsFallback,omitempty"`
RamUsage *float32 `json:"ramUsage,omitempty"`
ReleaseVersion *string `json:"releaseVersion,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
Uptime *float32 `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"info"`
Name string `json:"name"`
NetworkId string `json:"networkId"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PublicIp string `json:"publicIp"`
Type CreateDevice201Type `json:"type"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseCreateDeviceResponse ¶
func ParseCreateDeviceResponse(rsp *http.Response) (*CreateDeviceResponse, error)
ParseCreateDeviceResponse parses an HTTP response from a CreateDeviceWithResponse call
func (CreateDeviceResponse) Status ¶
func (r CreateDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDeviceResponse) StatusCode ¶
func (r CreateDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDevice_201_Info_LastLoginCheckTime ¶
type CreateDevice_201_Info_LastLoginCheckTime struct {
// contains filtered or unexported fields
}
type CreateDevice_201_Info_LastVersionCheckTime ¶
type CreateDevice_201_Info_LastVersionCheckTime struct {
// contains filtered or unexported fields
}
type CreateEndPointDnsRoute201Target ¶
type CreateEndPointDnsRoute201Target string
type CreateEndPointDnsRouteJSONBody ¶
type CreateEndPointDnsRouteJSONBody struct {
Domain string `json:"domain"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp CreateEndPointDnsRouteJSONBody_PrimaryForwardIp `json:"primaryForwardIp"`
SecondaryForwardIp *CreateEndPointDnsRouteJSONBody_SecondaryForwardIp `json:"secondaryForwardIp,omitempty"`
}
CreateEndPointDnsRouteJSONBody defines parameters for CreateEndPointDnsRoute.
type CreateEndPointDnsRouteJSONBodyPrimaryForwardIp0 ¶
type CreateEndPointDnsRouteJSONBodyPrimaryForwardIp0 = string
CreateEndPointDnsRouteJSONBodyPrimaryForwardIp0 defines parameters for CreateEndPointDnsRoute.
type CreateEndPointDnsRouteJSONBodyPrimaryForwardIp1 ¶
type CreateEndPointDnsRouteJSONBodyPrimaryForwardIp1 = string
CreateEndPointDnsRouteJSONBodyPrimaryForwardIp1 defines parameters for CreateEndPointDnsRoute.
type CreateEndPointDnsRouteJSONBodySecondaryForwardIp0 ¶
type CreateEndPointDnsRouteJSONBodySecondaryForwardIp0 = string
CreateEndPointDnsRouteJSONBodySecondaryForwardIp0 defines parameters for CreateEndPointDnsRoute.
type CreateEndPointDnsRouteJSONBodySecondaryForwardIp1 ¶
type CreateEndPointDnsRouteJSONBodySecondaryForwardIp1 = string
CreateEndPointDnsRouteJSONBodySecondaryForwardIp1 defines parameters for CreateEndPointDnsRoute.
type CreateEndPointDnsRouteJSONBody_PrimaryForwardIp ¶
type CreateEndPointDnsRouteJSONBody_PrimaryForwardIp struct {
// contains filtered or unexported fields
}
CreateEndPointDnsRouteJSONBody_PrimaryForwardIp defines parameters for CreateEndPointDnsRoute.
type CreateEndPointDnsRouteJSONBody_SecondaryForwardIp ¶
type CreateEndPointDnsRouteJSONBody_SecondaryForwardIp struct {
// contains filtered or unexported fields
}
CreateEndPointDnsRouteJSONBody_SecondaryForwardIp defines parameters for CreateEndPointDnsRoute.
type CreateEndPointDnsRouteJSONRequestBody ¶
type CreateEndPointDnsRouteJSONRequestBody CreateEndPointDnsRouteJSONBody
CreateEndPointDnsRouteJSONRequestBody defines body for CreateEndPointDnsRoute for application/json ContentType.
type CreateEndPointDnsRouteResponse ¶
type CreateEndPointDnsRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Domain string `json:"domain"`
EndpointPolicyIds []string `json:"endpointPolicyIds"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target CreateEndPointDnsRoute201Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseCreateEndPointDnsRouteResponse ¶
func ParseCreateEndPointDnsRouteResponse(rsp *http.Response) (*CreateEndPointDnsRouteResponse, error)
ParseCreateEndPointDnsRouteResponse parses an HTTP response from a CreateEndPointDnsRouteWithResponse call
func (CreateEndPointDnsRouteResponse) Status ¶
func (r CreateEndPointDnsRouteResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEndPointDnsRouteResponse) StatusCode ¶
func (r CreateEndPointDnsRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRouter201NetworksPrimaryNetwork0 ¶
type CreateRouter201NetworksPrimaryNetwork0 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type CreateRouter201NetworksPrimaryNetwork0Type `json:"type"`
}
type CreateRouter201NetworksPrimaryNetwork0Type ¶
type CreateRouter201NetworksPrimaryNetwork0Type string
type CreateRouter201NetworksPrimaryNetwork1 ¶
type CreateRouter201NetworksPrimaryNetwork1 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type CreateRouter201NetworksPrimaryNetwork1Type `json:"type"`
}
type CreateRouter201NetworksPrimaryNetwork1Type ¶
type CreateRouter201NetworksPrimaryNetwork1Type string
type CreateRouter201NetworksSecondaryNetworks0 ¶
type CreateRouter201NetworksSecondaryNetworks0 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type CreateRouter201NetworksSecondaryNetworks0Type `json:"type"`
}
type CreateRouter201NetworksSecondaryNetworks0Type ¶
type CreateRouter201NetworksSecondaryNetworks0Type string
type CreateRouter201NetworksSecondaryNetworks1 ¶
type CreateRouter201NetworksSecondaryNetworks1 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type CreateRouter201NetworksSecondaryNetworks1Type `json:"type"`
}
type CreateRouter201NetworksSecondaryNetworks1Type ¶
type CreateRouter201NetworksSecondaryNetworks1Type string
type CreateRouterJSONBody ¶
type CreateRouterJSONBody struct {
Name string `json:"name"`
Network CreateRouterJSONBody_Network `json:"network"`
Note *string `json:"note,omitempty"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PhysicalDeviceId openapi_types.UUID `json:"physicalDeviceId"`
}
CreateRouterJSONBody defines parameters for CreateRouter.
type CreateRouterJSONBodyNetwork0 ¶
type CreateRouterJSONBodyNetwork0 struct {
MultiWan *int `json:"multiWan,omitempty"`
Password string `json:"password"`
Type CreateRouterJSONBodyNetwork0Type `json:"type"`
Username string `json:"username"`
}
CreateRouterJSONBodyNetwork0 defines parameters for CreateRouter.
type CreateRouterJSONBodyNetwork0Type ¶
type CreateRouterJSONBodyNetwork0Type string
CreateRouterJSONBodyNetwork0Type defines parameters for CreateRouter.
const (
Ddns CreateRouterJSONBodyNetwork0Type = "ddns"
)
Defines values for CreateRouterJSONBodyNetwork0Type.
type CreateRouterJSONBodyNetwork1 ¶
type CreateRouterJSONBodyNetwork1 struct {
PolicyId openapi_types.UUID `json:"policyId"`
Type CreateRouterJSONBody_Network_1_Type `json:"type"`
}
CreateRouterJSONBodyNetwork1 defines parameters for CreateRouter.
type CreateRouterJSONBodyNetwork1Type0 ¶
type CreateRouterJSONBodyNetwork1Type0 string
CreateRouterJSONBodyNetwork1Type0 defines parameters for CreateRouter.
const (
Doh CreateRouterJSONBodyNetwork1Type0 = "doh"
)
Defines values for CreateRouterJSONBodyNetwork1Type0.
type CreateRouterJSONBodyNetwork1Type1 ¶
type CreateRouterJSONBodyNetwork1Type1 string
CreateRouterJSONBodyNetwork1Type1 defines parameters for CreateRouter.
const (
Dot CreateRouterJSONBodyNetwork1Type1 = "dot"
)
Defines values for CreateRouterJSONBodyNetwork1Type1.
type CreateRouterJSONBody_Network ¶
type CreateRouterJSONBody_Network struct {
// contains filtered or unexported fields
}
CreateRouterJSONBody_Network defines parameters for CreateRouter.
type CreateRouterJSONBody_Network_1_Type ¶
type CreateRouterJSONBody_Network_1_Type struct {
// contains filtered or unexported fields
}
CreateRouterJSONBody_Network_1_Type defines parameters for CreateRouter.
type CreateRouterJSONRequestBody ¶
type CreateRouterJSONRequestBody CreateRouterJSONBody
CreateRouterJSONRequestBody defines body for CreateRouter for application/json ContentType.
type CreateRouterResponse ¶
type CreateRouterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Networks []struct {
PrimaryNetwork CreateRouter_201_Networks_PrimaryNetwork `json:"primaryNetwork"`
SecondaryNetworks []CreateRouter_201_Networks_SecondaryNetworks_Item `json:"secondaryNetworks"`
} `json:"networks"`
Note *string `json:"note,omitempty"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PhysicalDeviceId openapi_types.UUID `json:"physicalDeviceId"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseCreateRouterResponse ¶
func ParseCreateRouterResponse(rsp *http.Response) (*CreateRouterResponse, error)
ParseCreateRouterResponse parses an HTTP response from a CreateRouterWithResponse call
func (CreateRouterResponse) Status ¶
func (r CreateRouterResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRouterResponse) StatusCode ¶
func (r CreateRouterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRouter_201_Networks_PrimaryNetwork ¶
type CreateRouter_201_Networks_PrimaryNetwork struct {
// contains filtered or unexported fields
}
type CreateRouter_201_Networks_SecondaryNetworks_Item ¶
type CreateRouter_201_Networks_SecondaryNetworks_Item struct {
// contains filtered or unexported fields
}
type CreateRule201LocalAddress0 ¶
type CreateRule201LocalAddress0 struct {
Ip CreateRule_201_LocalAddress_0_Ip `json:"ip"`
Type CreateRule201LocalAddress0Type `json:"type"`
}
type CreateRule201LocalAddress0Ip0 ¶
type CreateRule201LocalAddress0Ip0 = string
type CreateRule201LocalAddress0Ip1 ¶
type CreateRule201LocalAddress0Ip1 = string
type CreateRule201LocalAddress0Type ¶
type CreateRule201LocalAddress0Type string
type CreateRule201LocalAddress1 ¶
type CreateRule201LocalAddress1 struct {
Cidr CreateRule_201_LocalAddress_1_Cidr `json:"cidr"`
Type CreateRule201LocalAddress1Type `json:"type"`
}
type CreateRule201LocalAddress1Cidr0 ¶
type CreateRule201LocalAddress1Cidr0 = string
type CreateRule201LocalAddress1Cidr1 ¶
type CreateRule201LocalAddress1Cidr1 = string
type CreateRule201LocalAddress1Type ¶
type CreateRule201LocalAddress1Type string
type CreateRule201LocalAddress2 ¶
type CreateRule201LocalAddress2 struct {
EndIp string `json:"endIp"`
StartIp string `json:"startIp"`
Type CreateRule201LocalAddress2Type `json:"type"`
}
type CreateRule201LocalAddress2Type ¶
type CreateRule201LocalAddress2Type string
type CreateRuleJSONBody ¶
type CreateRuleJSONBody struct {
LocalAddress *CreateRuleJSONBody_LocalAddress `json:"localAddress,omitempty"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PolicyId openapi_types.UUID `json:"policyId"`
}
CreateRuleJSONBody defines parameters for CreateRule.
type CreateRuleJSONBodyLocalAddress0 ¶
type CreateRuleJSONBodyLocalAddress0 struct {
Ip CreateRuleJSONBody_LocalAddress_0_Ip `json:"ip"`
Type CreateRuleJSONBodyLocalAddress0Type `json:"type"`
}
CreateRuleJSONBodyLocalAddress0 defines parameters for CreateRule.
type CreateRuleJSONBodyLocalAddress0Ip0 ¶
type CreateRuleJSONBodyLocalAddress0Ip0 = string
CreateRuleJSONBodyLocalAddress0Ip0 defines parameters for CreateRule.
type CreateRuleJSONBodyLocalAddress0Ip1 ¶
type CreateRuleJSONBodyLocalAddress0Ip1 = string
CreateRuleJSONBodyLocalAddress0Ip1 defines parameters for CreateRule.
type CreateRuleJSONBodyLocalAddress0Type ¶
type CreateRuleJSONBodyLocalAddress0Type string
CreateRuleJSONBodyLocalAddress0Type defines parameters for CreateRule.
const (
SINGLE CreateRuleJSONBodyLocalAddress0Type = "SINGLE"
)
Defines values for CreateRuleJSONBodyLocalAddress0Type.
type CreateRuleJSONBodyLocalAddress1 ¶
type CreateRuleJSONBodyLocalAddress1 struct {
Cidr CreateRuleJSONBody_LocalAddress_1_Cidr `json:"cidr"`
Type CreateRuleJSONBodyLocalAddress1Type `json:"type"`
}
CreateRuleJSONBodyLocalAddress1 defines parameters for CreateRule.
type CreateRuleJSONBodyLocalAddress1Cidr0 ¶
type CreateRuleJSONBodyLocalAddress1Cidr0 = string
CreateRuleJSONBodyLocalAddress1Cidr0 defines parameters for CreateRule.
type CreateRuleJSONBodyLocalAddress1Cidr1 ¶
type CreateRuleJSONBodyLocalAddress1Cidr1 = string
CreateRuleJSONBodyLocalAddress1Cidr1 defines parameters for CreateRule.
type CreateRuleJSONBodyLocalAddress1Type ¶
type CreateRuleJSONBodyLocalAddress1Type string
CreateRuleJSONBodyLocalAddress1Type defines parameters for CreateRule.
const (
CIDR CreateRuleJSONBodyLocalAddress1Type = "CIDR"
)
Defines values for CreateRuleJSONBodyLocalAddress1Type.
type CreateRuleJSONBodyLocalAddress2 ¶
type CreateRuleJSONBodyLocalAddress2 struct {
EndIp string `json:"endIp"`
StartIp string `json:"startIp"`
Type CreateRuleJSONBodyLocalAddress2Type `json:"type"`
}
CreateRuleJSONBodyLocalAddress2 defines parameters for CreateRule.
type CreateRuleJSONBodyLocalAddress2Type ¶
type CreateRuleJSONBodyLocalAddress2Type string
CreateRuleJSONBodyLocalAddress2Type defines parameters for CreateRule.
const (
RANGE CreateRuleJSONBodyLocalAddress2Type = "RANGE"
)
Defines values for CreateRuleJSONBodyLocalAddress2Type.
type CreateRuleJSONBody_LocalAddress ¶
type CreateRuleJSONBody_LocalAddress struct {
// contains filtered or unexported fields
}
CreateRuleJSONBody_LocalAddress defines parameters for CreateRule.
type CreateRuleJSONBody_LocalAddress_0_Ip ¶
type CreateRuleJSONBody_LocalAddress_0_Ip struct {
// contains filtered or unexported fields
}
CreateRuleJSONBody_LocalAddress_0_Ip defines parameters for CreateRule.
type CreateRuleJSONBody_LocalAddress_1_Cidr ¶
type CreateRuleJSONBody_LocalAddress_1_Cidr struct {
// contains filtered or unexported fields
}
CreateRuleJSONBody_LocalAddress_1_Cidr defines parameters for CreateRule.
type CreateRuleJSONRequestBody ¶
type CreateRuleJSONRequestBody CreateRuleJSONBody
CreateRuleJSONRequestBody defines body for CreateRule for application/json ContentType.
type CreateRuleResponse ¶
type CreateRuleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Id openapi_types.UUID `json:"id"`
LocalAddress CreateRule_201_LocalAddress `json:"localAddress"`
OrganizationId openapi_types.UUID `json:"organizationId"`
Policy struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"policy"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseCreateRuleResponse ¶
func ParseCreateRuleResponse(rsp *http.Response) (*CreateRuleResponse, error)
ParseCreateRuleResponse parses an HTTP response from a CreateRuleWithResponse call
func (CreateRuleResponse) Status ¶
func (r CreateRuleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRuleResponse) StatusCode ¶
func (r CreateRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRule_201_LocalAddress ¶
type CreateRule_201_LocalAddress struct {
// contains filtered or unexported fields
}
type CreateRule_201_LocalAddress_0_Ip ¶
type CreateRule_201_LocalAddress_0_Ip struct {
// contains filtered or unexported fields
}
type CreateRule_201_LocalAddress_1_Cidr ¶
type CreateRule_201_LocalAddress_1_Cidr struct {
// contains filtered or unexported fields
}
type DeleteCloudBoxDnsRoute200Target ¶
type DeleteCloudBoxDnsRoute200Target string
type DeleteCloudBoxDnsRouteResponse ¶
type DeleteCloudBoxDnsRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Domain string `json:"domain"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target DeleteCloudBoxDnsRoute200Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDeleteCloudBoxDnsRouteResponse ¶
func ParseDeleteCloudBoxDnsRouteResponse(rsp *http.Response) (*DeleteCloudBoxDnsRouteResponse, error)
ParseDeleteCloudBoxDnsRouteResponse parses an HTTP response from a DeleteCloudBoxDnsRouteWithResponse call
func (DeleteCloudBoxDnsRouteResponse) Status ¶
func (r DeleteCloudBoxDnsRouteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCloudBoxDnsRouteResponse) StatusCode ¶
func (r DeleteCloudBoxDnsRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDevice200InfoLastLoginCheckTime0 ¶
type DeleteDevice200InfoLastLoginCheckTime0 = string
type DeleteDevice200InfoLastVersionCheckTime0 ¶
type DeleteDevice200InfoLastVersionCheckTime0 = string
type DeleteDevice200Type ¶
type DeleteDevice200Type string
type DeleteDeviceParamsDeviceType ¶
type DeleteDeviceParamsDeviceType string
DeleteDeviceParamsDeviceType defines parameters for DeleteDevice.
const ( DeleteDeviceParamsDeviceTypeCLOUDBOX DeleteDeviceParamsDeviceType = "CLOUDBOX" DeleteDeviceParamsDeviceTypeROUTER DeleteDeviceParamsDeviceType = "ROUTER" )
Defines values for DeleteDeviceParamsDeviceType.
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CatchAllRule struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"catchAllRule"`
Id openapi_types.UUID `json:"id"`
Info struct {
CpuUsage *float32 `json:"cpuUsage,omitempty"`
DeviceId *openapi_types.UUID `json:"deviceId,omitempty"`
DiskUsage *float32 `json:"diskUsage,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
HardwareModel *string `json:"hardwareModel,omitempty"`
LastLoginCheckTime *DeleteDevice_200_Info_LastLoginCheckTime `json:"lastLoginCheckTime,omitempty"`
LastVersionCheckTime *DeleteDevice_200_Info_LastVersionCheckTime `json:"lastVersionCheckTime,omitempty"`
LocalDnsIp *string `json:"localDnsIp,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
OsVersion *string `json:"osVersion,omitempty"`
PublicDnsFallback *bool `json:"publicDnsFallback,omitempty"`
RamUsage *float32 `json:"ramUsage,omitempty"`
ReleaseVersion *string `json:"releaseVersion,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
Uptime *float32 `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"info"`
Name string `json:"name"`
NetworkId string `json:"networkId"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PublicIp string `json:"publicIp"`
Type DeleteDevice200Type `json:"type"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDeleteDeviceResponse ¶
func ParseDeleteDeviceResponse(rsp *http.Response) (*DeleteDeviceResponse, error)
ParseDeleteDeviceResponse parses an HTTP response from a DeleteDeviceWithResponse call
func (DeleteDeviceResponse) Status ¶
func (r DeleteDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDeviceResponse) StatusCode ¶
func (r DeleteDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDevice_200_Info_LastLoginCheckTime ¶
type DeleteDevice_200_Info_LastLoginCheckTime struct {
// contains filtered or unexported fields
}
type DeleteDevice_200_Info_LastVersionCheckTime ¶
type DeleteDevice_200_Info_LastVersionCheckTime struct {
// contains filtered or unexported fields
}
type DeleteDnsRoute200Target ¶
type DeleteDnsRoute200Target string
type DeleteDnsRouteResponse ¶
type DeleteDnsRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Domain string `json:"domain"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target DeleteDnsRoute200Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDeleteDnsRouteResponse ¶
func ParseDeleteDnsRouteResponse(rsp *http.Response) (*DeleteDnsRouteResponse, error)
ParseDeleteDnsRouteResponse parses an HTTP response from a DeleteDnsRouteWithResponse call
func (DeleteDnsRouteResponse) Status ¶
func (r DeleteDnsRouteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDnsRouteResponse) StatusCode ¶
func (r DeleteDnsRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEndPointDnsRoute200Target ¶
type DeleteEndPointDnsRoute200Target string
type DeleteEndPointDnsRouteResponse ¶
type DeleteEndPointDnsRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Domain string `json:"domain"`
EndpointPolicyIds []string `json:"endpointPolicyIds"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target DeleteEndPointDnsRoute200Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDeleteEndPointDnsRouteResponse ¶
func ParseDeleteEndPointDnsRouteResponse(rsp *http.Response) (*DeleteEndPointDnsRouteResponse, error)
ParseDeleteEndPointDnsRouteResponse parses an HTTP response from a DeleteEndPointDnsRouteWithResponse call
func (DeleteEndPointDnsRouteResponse) Status ¶
func (r DeleteEndPointDnsRouteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEndPointDnsRouteResponse) StatusCode ¶
func (r DeleteEndPointDnsRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEndpointResponse ¶
type DeleteEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDeleteEndpointResponse ¶
func ParseDeleteEndpointResponse(rsp *http.Response) (*DeleteEndpointResponse, error)
ParseDeleteEndpointResponse parses an HTTP response from a DeleteEndpointWithResponse call
func (DeleteEndpointResponse) Status ¶
func (r DeleteEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEndpointResponse) StatusCode ¶
func (r DeleteEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRouter200NetworksPrimaryNetwork0 ¶
type DeleteRouter200NetworksPrimaryNetwork0 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type DeleteRouter200NetworksPrimaryNetwork0Type `json:"type"`
}
type DeleteRouter200NetworksPrimaryNetwork0Type ¶
type DeleteRouter200NetworksPrimaryNetwork0Type string
type DeleteRouter200NetworksPrimaryNetwork1 ¶
type DeleteRouter200NetworksPrimaryNetwork1 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type DeleteRouter200NetworksPrimaryNetwork1Type `json:"type"`
}
type DeleteRouter200NetworksPrimaryNetwork1Type ¶
type DeleteRouter200NetworksPrimaryNetwork1Type string
type DeleteRouter200NetworksSecondaryNetworks0 ¶
type DeleteRouter200NetworksSecondaryNetworks0 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type DeleteRouter200NetworksSecondaryNetworks0Type `json:"type"`
}
type DeleteRouter200NetworksSecondaryNetworks0Type ¶
type DeleteRouter200NetworksSecondaryNetworks0Type string
type DeleteRouter200NetworksSecondaryNetworks1 ¶
type DeleteRouter200NetworksSecondaryNetworks1 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type DeleteRouter200NetworksSecondaryNetworks1Type `json:"type"`
}
type DeleteRouter200NetworksSecondaryNetworks1Type ¶
type DeleteRouter200NetworksSecondaryNetworks1Type string
type DeleteRouterResponse ¶
type DeleteRouterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Networks []struct {
PrimaryNetwork DeleteRouter_200_Networks_PrimaryNetwork `json:"primaryNetwork"`
SecondaryNetworks []DeleteRouter_200_Networks_SecondaryNetworks_Item `json:"secondaryNetworks"`
} `json:"networks"`
Note *string `json:"note,omitempty"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PhysicalDeviceId openapi_types.UUID `json:"physicalDeviceId"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDeleteRouterResponse ¶
func ParseDeleteRouterResponse(rsp *http.Response) (*DeleteRouterResponse, error)
ParseDeleteRouterResponse parses an HTTP response from a DeleteRouterWithResponse call
func (DeleteRouterResponse) Status ¶
func (r DeleteRouterResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRouterResponse) StatusCode ¶
func (r DeleteRouterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRouter_200_Networks_PrimaryNetwork ¶
type DeleteRouter_200_Networks_PrimaryNetwork struct {
// contains filtered or unexported fields
}
type DeleteRouter_200_Networks_SecondaryNetworks_Item ¶
type DeleteRouter_200_Networks_SecondaryNetworks_Item struct {
// contains filtered or unexported fields
}
type DeleteRule200LocalAddress0 ¶
type DeleteRule200LocalAddress0 struct {
Ip DeleteRule_200_LocalAddress_0_Ip `json:"ip"`
Type DeleteRule200LocalAddress0Type `json:"type"`
}
type DeleteRule200LocalAddress0Ip0 ¶
type DeleteRule200LocalAddress0Ip0 = string
type DeleteRule200LocalAddress0Ip1 ¶
type DeleteRule200LocalAddress0Ip1 = string
type DeleteRule200LocalAddress0Type ¶
type DeleteRule200LocalAddress0Type string
type DeleteRule200LocalAddress1 ¶
type DeleteRule200LocalAddress1 struct {
Cidr DeleteRule_200_LocalAddress_1_Cidr `json:"cidr"`
Type DeleteRule200LocalAddress1Type `json:"type"`
}
type DeleteRule200LocalAddress1Cidr0 ¶
type DeleteRule200LocalAddress1Cidr0 = string
type DeleteRule200LocalAddress1Cidr1 ¶
type DeleteRule200LocalAddress1Cidr1 = string
type DeleteRule200LocalAddress1Type ¶
type DeleteRule200LocalAddress1Type string
type DeleteRule200LocalAddress2 ¶
type DeleteRule200LocalAddress2 struct {
EndIp string `json:"endIp"`
StartIp string `json:"startIp"`
Type DeleteRule200LocalAddress2Type `json:"type"`
}
type DeleteRule200LocalAddress2Type ¶
type DeleteRule200LocalAddress2Type string
type DeleteRuleResponse ¶
type DeleteRuleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Id openapi_types.UUID `json:"id"`
LocalAddress DeleteRule_200_LocalAddress `json:"localAddress"`
OrganizationId openapi_types.UUID `json:"organizationId"`
Policy struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"policy"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDeleteRuleResponse ¶
func ParseDeleteRuleResponse(rsp *http.Response) (*DeleteRuleResponse, error)
ParseDeleteRuleResponse parses an HTTP response from a DeleteRuleWithResponse call
func (DeleteRuleResponse) Status ¶
func (r DeleteRuleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRuleResponse) StatusCode ¶
func (r DeleteRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRule_200_LocalAddress ¶
type DeleteRule_200_LocalAddress struct {
// contains filtered or unexported fields
}
type DeleteRule_200_LocalAddress_0_Ip ¶
type DeleteRule_200_LocalAddress_0_Ip struct {
// contains filtered or unexported fields
}
type DeleteRule_200_LocalAddress_1_Cidr ¶
type DeleteRule_200_LocalAddress_1_Cidr struct {
// contains filtered or unexported fields
}
type DisassociateCloudBoxDnsRoute200Target ¶
type DisassociateCloudBoxDnsRoute200Target string
type DisassociateCloudBoxDnsRouteResponse ¶
type DisassociateCloudBoxDnsRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Domain string `json:"domain"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target DisassociateCloudBoxDnsRoute200Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDisassociateCloudBoxDnsRouteResponse ¶
func ParseDisassociateCloudBoxDnsRouteResponse(rsp *http.Response) (*DisassociateCloudBoxDnsRouteResponse, error)
ParseDisassociateCloudBoxDnsRouteResponse parses an HTTP response from a DisassociateCloudBoxDnsRouteWithResponse call
func (DisassociateCloudBoxDnsRouteResponse) Status ¶
func (r DisassociateCloudBoxDnsRouteResponse) Status() string
Status returns HTTPResponse.Status
func (DisassociateCloudBoxDnsRouteResponse) StatusCode ¶
func (r DisassociateCloudBoxDnsRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisassociateEndPointDnsRoute200Target ¶
type DisassociateEndPointDnsRoute200Target string
type DisassociateEndPointDnsRouteResponse ¶
type DisassociateEndPointDnsRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Domain string `json:"domain"`
EndpointPolicyIds []string `json:"endpointPolicyIds"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target DisassociateEndPointDnsRoute200Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDisassociateEndPointDnsRouteResponse ¶
func ParseDisassociateEndPointDnsRouteResponse(rsp *http.Response) (*DisassociateEndPointDnsRouteResponse, error)
ParseDisassociateEndPointDnsRouteResponse parses an HTTP response from a DisassociateEndPointDnsRouteWithResponse call
func (DisassociateEndPointDnsRouteResponse) Status ¶
func (r DisassociateEndPointDnsRouteResponse) Status() string
Status returns HTTPResponse.Status
func (DisassociateEndPointDnsRouteResponse) StatusCode ¶
func (r DisassociateEndPointDnsRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DissociateDeviceFromRule200LocalAddress0 ¶
type DissociateDeviceFromRule200LocalAddress0 struct {
Ip DissociateDeviceFromRule_200_LocalAddress_0_Ip `json:"ip"`
Type DissociateDeviceFromRule200LocalAddress0Type `json:"type"`
}
type DissociateDeviceFromRule200LocalAddress0Ip0 ¶
type DissociateDeviceFromRule200LocalAddress0Ip0 = string
type DissociateDeviceFromRule200LocalAddress0Ip1 ¶
type DissociateDeviceFromRule200LocalAddress0Ip1 = string
type DissociateDeviceFromRule200LocalAddress0Type ¶
type DissociateDeviceFromRule200LocalAddress0Type string
type DissociateDeviceFromRule200LocalAddress1 ¶
type DissociateDeviceFromRule200LocalAddress1 struct {
Cidr DissociateDeviceFromRule_200_LocalAddress_1_Cidr `json:"cidr"`
Type DissociateDeviceFromRule200LocalAddress1Type `json:"type"`
}
type DissociateDeviceFromRule200LocalAddress1Cidr0 ¶
type DissociateDeviceFromRule200LocalAddress1Cidr0 = string
type DissociateDeviceFromRule200LocalAddress1Cidr1 ¶
type DissociateDeviceFromRule200LocalAddress1Cidr1 = string
type DissociateDeviceFromRule200LocalAddress1Type ¶
type DissociateDeviceFromRule200LocalAddress1Type string
type DissociateDeviceFromRule200LocalAddress2 ¶
type DissociateDeviceFromRule200LocalAddress2 struct {
EndIp string `json:"endIp"`
StartIp string `json:"startIp"`
Type DissociateDeviceFromRule200LocalAddress2Type `json:"type"`
}
type DissociateDeviceFromRule200LocalAddress2Type ¶
type DissociateDeviceFromRule200LocalAddress2Type string
type DissociateDeviceFromRuleResponse ¶
type DissociateDeviceFromRuleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Id openapi_types.UUID `json:"id"`
LocalAddress DissociateDeviceFromRule_200_LocalAddress `json:"localAddress"`
OrganizationId openapi_types.UUID `json:"organizationId"`
Policy struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"policy"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDissociateDeviceFromRuleResponse ¶
func ParseDissociateDeviceFromRuleResponse(rsp *http.Response) (*DissociateDeviceFromRuleResponse, error)
ParseDissociateDeviceFromRuleResponse parses an HTTP response from a DissociateDeviceFromRuleWithResponse call
func (DissociateDeviceFromRuleResponse) Status ¶
func (r DissociateDeviceFromRuleResponse) Status() string
Status returns HTTPResponse.Status
func (DissociateDeviceFromRuleResponse) StatusCode ¶
func (r DissociateDeviceFromRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DissociateDeviceFromRule_200_LocalAddress ¶
type DissociateDeviceFromRule_200_LocalAddress struct {
// contains filtered or unexported fields
}
type DissociateDeviceFromRule_200_LocalAddress_0_Ip ¶
type DissociateDeviceFromRule_200_LocalAddress_0_Ip struct {
// contains filtered or unexported fields
}
type DissociateDeviceFromRule_200_LocalAddress_1_Cidr ¶
type DissociateDeviceFromRule_200_LocalAddress_1_Cidr struct {
// contains filtered or unexported fields
}
type DissociateRouterNetworkPolicyResponse ¶
type DissociateRouterNetworkPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Dns *struct {
Id openapi_types.UUID `json:"id"`
Port float32 `json:"port"`
PrimaryDns string `json:"primaryDns"`
SecondaryDns string `json:"secondaryDns"`
} `json:"dns,omitempty"`
NetworkId openapi_types.UUID `json:"networkId"`
Note *string `json:"note,omitempty"`
Policy struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"policy"`
RouterId openapi_types.UUID `json:"routerId"`
Tag *string `json:"tag,omitempty"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseDissociateRouterNetworkPolicyResponse ¶
func ParseDissociateRouterNetworkPolicyResponse(rsp *http.Response) (*DissociateRouterNetworkPolicyResponse, error)
ParseDissociateRouterNetworkPolicyResponse parses an HTTP response from a DissociateRouterNetworkPolicyWithResponse call
func (DissociateRouterNetworkPolicyResponse) Status ¶
func (r DissociateRouterNetworkPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (DissociateRouterNetworkPolicyResponse) StatusCode ¶
func (r DissociateRouterNetworkPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FlashStartErrorBody ¶
type FlashStartErrorBody struct {
Code string `json:"code"`
Details *interface{} `json:"details,omitempty"`
Message *string `json:"message,omitempty"`
}
FlashStartErrorBody defines model for FlashStartErrorBody.
type ForbiddenResponse ¶
type ForbiddenResponse = FlashStartErrorBody
ForbiddenResponse defines model for Forbidden.
type GetCloudBoxDnsRoutes200Target ¶
type GetCloudBoxDnsRoutes200Target string
type GetCloudBoxDnsRoutesParams ¶
type GetCloudBoxDnsRoutesParams struct {
OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
}
GetCloudBoxDnsRoutesParams defines parameters for GetCloudBoxDnsRoutes.
type GetCloudBoxDnsRoutesResponse ¶
type GetCloudBoxDnsRoutesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Domain string `json:"domain"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target GetCloudBoxDnsRoutes200Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetCloudBoxDnsRoutesResponse ¶
func ParseGetCloudBoxDnsRoutesResponse(rsp *http.Response) (*GetCloudBoxDnsRoutesResponse, error)
ParseGetCloudBoxDnsRoutesResponse parses an HTTP response from a GetCloudBoxDnsRoutesWithResponse call
func (GetCloudBoxDnsRoutesResponse) Status ¶
func (r GetCloudBoxDnsRoutesResponse) Status() string
Status returns HTTPResponse.Status
func (GetCloudBoxDnsRoutesResponse) StatusCode ¶
func (r GetCloudBoxDnsRoutesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDevice200InfoLastLoginCheckTime0 ¶
type GetDevice200InfoLastLoginCheckTime0 = string
type GetDevice200InfoLastVersionCheckTime0 ¶
type GetDevice200InfoLastVersionCheckTime0 = string
type GetDevice200Type ¶
type GetDevice200Type string
type GetDeviceCredentialsParamsDeviceType ¶
type GetDeviceCredentialsParamsDeviceType string
GetDeviceCredentialsParamsDeviceType defines parameters for GetDeviceCredentials.
const ( GetDeviceCredentialsParamsDeviceTypeCLOUDBOX GetDeviceCredentialsParamsDeviceType = "CLOUDBOX" GetDeviceCredentialsParamsDeviceTypeROUTER GetDeviceCredentialsParamsDeviceType = "ROUTER" )
Defines values for GetDeviceCredentialsParamsDeviceType.
type GetDeviceCredentialsResponse ¶
type GetDeviceCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DeviceId openapi_types.UUID `json:"deviceId"`
Password string `json:"password"`
Username string `json:"username"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetDeviceCredentialsResponse ¶
func ParseGetDeviceCredentialsResponse(rsp *http.Response) (*GetDeviceCredentialsResponse, error)
ParseGetDeviceCredentialsResponse parses an HTTP response from a GetDeviceCredentialsWithResponse call
func (GetDeviceCredentialsResponse) Status ¶
func (r GetDeviceCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeviceCredentialsResponse) StatusCode ¶
func (r GetDeviceCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeviceParamsDeviceType ¶
type GetDeviceParamsDeviceType string
GetDeviceParamsDeviceType defines parameters for GetDevice.
const ( GetDeviceParamsDeviceTypeCLOUDBOX GetDeviceParamsDeviceType = "CLOUDBOX" GetDeviceParamsDeviceTypeROUTER GetDeviceParamsDeviceType = "ROUTER" )
Defines values for GetDeviceParamsDeviceType.
type GetDeviceResponse ¶
type GetDeviceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CatchAllRule struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"catchAllRule"`
Id openapi_types.UUID `json:"id"`
Info struct {
CpuUsage *float32 `json:"cpuUsage,omitempty"`
DeviceId *openapi_types.UUID `json:"deviceId,omitempty"`
DiskUsage *float32 `json:"diskUsage,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
HardwareModel *string `json:"hardwareModel,omitempty"`
LastLoginCheckTime *GetDevice_200_Info_LastLoginCheckTime `json:"lastLoginCheckTime,omitempty"`
LastVersionCheckTime *GetDevice_200_Info_LastVersionCheckTime `json:"lastVersionCheckTime,omitempty"`
LocalDnsIp *string `json:"localDnsIp,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
OsVersion *string `json:"osVersion,omitempty"`
PublicDnsFallback *bool `json:"publicDnsFallback,omitempty"`
RamUsage *float32 `json:"ramUsage,omitempty"`
ReleaseVersion *string `json:"releaseVersion,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
Uptime *float32 `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"info"`
Name string `json:"name"`
NetworkId string `json:"networkId"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PublicIp string `json:"publicIp"`
Type GetDevice200Type `json:"type"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetDeviceResponse ¶
func ParseGetDeviceResponse(rsp *http.Response) (*GetDeviceResponse, error)
ParseGetDeviceResponse parses an HTTP response from a GetDeviceWithResponse call
func (GetDeviceResponse) Status ¶
func (r GetDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeviceResponse) StatusCode ¶
func (r GetDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDevice_200_Info_LastLoginCheckTime ¶
type GetDevice_200_Info_LastLoginCheckTime struct {
// contains filtered or unexported fields
}
type GetDevice_200_Info_LastVersionCheckTime ¶
type GetDevice_200_Info_LastVersionCheckTime struct {
// contains filtered or unexported fields
}
type GetDevices200InfoLastLoginCheckTime0 ¶
type GetDevices200InfoLastLoginCheckTime0 = string
type GetDevices200InfoLastVersionCheckTime0 ¶
type GetDevices200InfoLastVersionCheckTime0 = string
type GetDevices200Type ¶
type GetDevices200Type string
type GetDevicesParams ¶
type GetDevicesParams struct {
OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
}
GetDevicesParams defines parameters for GetDevices.
type GetDevicesParamsDeviceType ¶
type GetDevicesParamsDeviceType string
GetDevicesParamsDeviceType defines parameters for GetDevices.
const (
GetDevicesParamsDeviceTypeCLOUDBOX GetDevicesParamsDeviceType = "CLOUDBOX"
)
Defines values for GetDevicesParamsDeviceType.
type GetDevicesResponse ¶
type GetDevicesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]struct {
CatchAllRule struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"catchAllRule"`
Id openapi_types.UUID `json:"id"`
Info struct {
CpuUsage *float32 `json:"cpuUsage,omitempty"`
DeviceId *openapi_types.UUID `json:"deviceId,omitempty"`
DiskUsage *float32 `json:"diskUsage,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
HardwareModel *string `json:"hardwareModel,omitempty"`
LastLoginCheckTime *GetDevices_200_Info_LastLoginCheckTime `json:"lastLoginCheckTime,omitempty"`
LastVersionCheckTime *GetDevices_200_Info_LastVersionCheckTime `json:"lastVersionCheckTime,omitempty"`
LocalDnsIp *string `json:"localDnsIp,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
OsVersion *string `json:"osVersion,omitempty"`
PublicDnsFallback *bool `json:"publicDnsFallback,omitempty"`
RamUsage *float32 `json:"ramUsage,omitempty"`
ReleaseVersion *string `json:"releaseVersion,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
Uptime *float32 `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"info"`
Name string `json:"name"`
NetworkId string `json:"networkId"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PublicIp string `json:"publicIp"`
Type GetDevices200Type `json:"type"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetDevicesResponse ¶
func ParseGetDevicesResponse(rsp *http.Response) (*GetDevicesResponse, error)
ParseGetDevicesResponse parses an HTTP response from a GetDevicesWithResponse call
func (GetDevicesResponse) Status ¶
func (r GetDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (GetDevicesResponse) StatusCode ¶
func (r GetDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDevices_200_Info_LastLoginCheckTime ¶
type GetDevices_200_Info_LastLoginCheckTime struct {
// contains filtered or unexported fields
}
type GetDevices_200_Info_LastVersionCheckTime ¶
type GetDevices_200_Info_LastVersionCheckTime struct {
// contains filtered or unexported fields
}
type GetEndPointDnsRoutes200Target ¶
type GetEndPointDnsRoutes200Target string
type GetEndPointDnsRoutesParams ¶
type GetEndPointDnsRoutesParams struct {
OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
}
GetEndPointDnsRoutesParams defines parameters for GetEndPointDnsRoutes.
type GetEndPointDnsRoutesResponse ¶
type GetEndPointDnsRoutesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]struct {
Domain string `json:"domain"`
EndpointPolicyIds []string `json:"endpointPolicyIds"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PrimaryForwardIp string `json:"primaryForwardIp"`
SecondaryForwardIp *string `json:"secondaryForwardIp,omitempty"`
Target GetEndPointDnsRoutes200Target `json:"target"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetEndPointDnsRoutesResponse ¶
func ParseGetEndPointDnsRoutesResponse(rsp *http.Response) (*GetEndPointDnsRoutesResponse, error)
ParseGetEndPointDnsRoutesResponse parses an HTTP response from a GetEndPointDnsRoutesWithResponse call
func (GetEndPointDnsRoutesResponse) Status ¶
func (r GetEndPointDnsRoutesResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndPointDnsRoutesResponse) StatusCode ¶
func (r GetEndPointDnsRoutesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEndpointById200CreatedAt0 ¶
type GetEndpointById200CreatedAt0 = string
type GetEndpointById200EndPointPolicyCreatedAt0 ¶
type GetEndpointById200EndPointPolicyCreatedAt0 = string
type GetEndpointById200EndPointPolicyUpdatedAt0 ¶
type GetEndpointById200EndPointPolicyUpdatedAt0 = string
type GetEndpointById200Flow ¶
type GetEndpointById200Flow string
type GetEndpointById200Platform ¶
type GetEndpointById200Platform string
type GetEndpointById200RuntimeStatus ¶
type GetEndpointById200RuntimeStatus string
type GetEndpointById200UpdatedAt0 ¶
type GetEndpointById200UpdatedAt0 = string
type GetEndpointByIdResponse ¶
type GetEndpointByIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Active bool `json:"active"`
ClientId string `json:"clientId"`
CreatedAt GetEndpointById_200_CreatedAt `json:"createdAt"`
EndPointPolicy struct {
CreatedAt GetEndpointById_200_EndPointPolicy_CreatedAt `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
ImportUserEnabled bool `json:"importUserEnabled"`
OfficeStandupEnabled bool `json:"officeStandupEnabled"`
PolicyId openapi_types.UUID `json:"policyId"`
PolicyKey string `json:"policyKey"`
SecurePin string `json:"securePin"`
UninstallPin string `json:"uninstallPin"`
UninstallPinRequired bool `json:"uninstallPinRequired"`
UpdatedAt GetEndpointById_200_EndPointPolicy_UpdatedAt `json:"updatedAt"`
} `json:"endPointPolicy"`
Flow GetEndpointById200Flow `json:"flow"`
Id openapi_types.UUID `json:"id"`
Ip string `json:"ip"`
LockedMessage *string `json:"lockedMessage,omitempty"`
LoggedUser *string `json:"loggedUser,omitempty"`
Name string `json:"name"`
NetworkId openapi_types.UUID `json:"networkId"`
OrganizationId openapi_types.UUID `json:"organizationId"`
Platform GetEndpointById200Platform `json:"platform"`
RuntimeStatus *GetEndpointById200RuntimeStatus `json:"runtimeStatus,omitempty"`
UpdatedAt GetEndpointById_200_UpdatedAt `json:"updatedAt"`
Version *string `json:"version,omitempty"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetEndpointByIdResponse ¶
func ParseGetEndpointByIdResponse(rsp *http.Response) (*GetEndpointByIdResponse, error)
ParseGetEndpointByIdResponse parses an HTTP response from a GetEndpointByIdWithResponse call
func (GetEndpointByIdResponse) Status ¶
func (r GetEndpointByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndpointByIdResponse) StatusCode ¶
func (r GetEndpointByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEndpointById_200_CreatedAt ¶
type GetEndpointById_200_CreatedAt struct {
// contains filtered or unexported fields
}
type GetEndpointById_200_EndPointPolicy_CreatedAt ¶
type GetEndpointById_200_EndPointPolicy_CreatedAt struct {
// contains filtered or unexported fields
}
type GetEndpointById_200_EndPointPolicy_UpdatedAt ¶
type GetEndpointById_200_EndPointPolicy_UpdatedAt struct {
// contains filtered or unexported fields
}
type GetEndpointById_200_UpdatedAt ¶
type GetEndpointById_200_UpdatedAt struct {
// contains filtered or unexported fields
}
type GetEndpointPolicies200CreatedAt0 ¶
type GetEndpointPolicies200CreatedAt0 = string
type GetEndpointPolicies200UpdatedAt0 ¶
type GetEndpointPolicies200UpdatedAt0 = string
type GetEndpointPoliciesParams ¶
type GetEndpointPoliciesParams struct {
OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
}
GetEndpointPoliciesParams defines parameters for GetEndpointPolicies.
type GetEndpointPoliciesResponse ¶
type GetEndpointPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]struct {
CreatedAt GetEndpointPolicies_200_CreatedAt `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
ImportUserEnabled bool `json:"importUserEnabled"`
OfficeStandupEnabled bool `json:"officeStandupEnabled"`
PolicyId openapi_types.UUID `json:"policyId"`
PolicyKey string `json:"policyKey"`
SecurePin string `json:"securePin"`
UninstallPin string `json:"uninstallPin"`
UninstallPinRequired bool `json:"uninstallPinRequired"`
UpdatedAt GetEndpointPolicies_200_UpdatedAt `json:"updatedAt"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetEndpointPoliciesResponse ¶
func ParseGetEndpointPoliciesResponse(rsp *http.Response) (*GetEndpointPoliciesResponse, error)
ParseGetEndpointPoliciesResponse parses an HTTP response from a GetEndpointPoliciesWithResponse call
func (GetEndpointPoliciesResponse) Status ¶
func (r GetEndpointPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndpointPoliciesResponse) StatusCode ¶
func (r GetEndpointPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEndpointPolicies_200_CreatedAt ¶
type GetEndpointPolicies_200_CreatedAt struct {
// contains filtered or unexported fields
}
type GetEndpointPolicies_200_UpdatedAt ¶
type GetEndpointPolicies_200_UpdatedAt struct {
// contains filtered or unexported fields
}
type GetEndpointPolicyById200CreatedAt0 ¶
type GetEndpointPolicyById200CreatedAt0 = string
type GetEndpointPolicyById200UpdatedAt0 ¶
type GetEndpointPolicyById200UpdatedAt0 = string
type GetEndpointPolicyByIdResponse ¶
type GetEndpointPolicyByIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CreatedAt GetEndpointPolicyById_200_CreatedAt `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
ImportUserEnabled bool `json:"importUserEnabled"`
OfficeStandupEnabled bool `json:"officeStandupEnabled"`
PolicyId openapi_types.UUID `json:"policyId"`
PolicyKey string `json:"policyKey"`
SecurePin string `json:"securePin"`
UninstallPin string `json:"uninstallPin"`
UninstallPinRequired bool `json:"uninstallPinRequired"`
UpdatedAt GetEndpointPolicyById_200_UpdatedAt `json:"updatedAt"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetEndpointPolicyByIdResponse ¶
func ParseGetEndpointPolicyByIdResponse(rsp *http.Response) (*GetEndpointPolicyByIdResponse, error)
ParseGetEndpointPolicyByIdResponse parses an HTTP response from a GetEndpointPolicyByIdWithResponse call
func (GetEndpointPolicyByIdResponse) Status ¶
func (r GetEndpointPolicyByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndpointPolicyByIdResponse) StatusCode ¶
func (r GetEndpointPolicyByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEndpointPolicyById_200_CreatedAt ¶
type GetEndpointPolicyById_200_CreatedAt struct {
// contains filtered or unexported fields
}
type GetEndpointPolicyById_200_UpdatedAt ¶
type GetEndpointPolicyById_200_UpdatedAt struct {
// contains filtered or unexported fields
}
type GetEndpoints200CreatedAt0 ¶
type GetEndpoints200CreatedAt0 = string
type GetEndpoints200EndPointPolicyCreatedAt0 ¶
type GetEndpoints200EndPointPolicyCreatedAt0 = string
type GetEndpoints200EndPointPolicyUpdatedAt0 ¶
type GetEndpoints200EndPointPolicyUpdatedAt0 = string
type GetEndpoints200Flow ¶
type GetEndpoints200Flow string
type GetEndpoints200Platform ¶
type GetEndpoints200Platform string
type GetEndpoints200RuntimeStatus ¶
type GetEndpoints200RuntimeStatus string
type GetEndpoints200UpdatedAt0 ¶
type GetEndpoints200UpdatedAt0 = string
type GetEndpointsParams ¶
type GetEndpointsParams struct {
OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
}
GetEndpointsParams defines parameters for GetEndpoints.
type GetEndpointsResponse ¶
type GetEndpointsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]struct {
Active bool `json:"active"`
ClientId string `json:"clientId"`
CreatedAt GetEndpoints_200_CreatedAt `json:"createdAt"`
EndPointPolicy struct {
CreatedAt GetEndpoints_200_EndPointPolicy_CreatedAt `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
ImportUserEnabled bool `json:"importUserEnabled"`
OfficeStandupEnabled bool `json:"officeStandupEnabled"`
PolicyId openapi_types.UUID `json:"policyId"`
PolicyKey string `json:"policyKey"`
SecurePin string `json:"securePin"`
UninstallPin string `json:"uninstallPin"`
UninstallPinRequired bool `json:"uninstallPinRequired"`
UpdatedAt GetEndpoints_200_EndPointPolicy_UpdatedAt `json:"updatedAt"`
} `json:"endPointPolicy"`
Flow GetEndpoints200Flow `json:"flow"`
Id openapi_types.UUID `json:"id"`
Ip string `json:"ip"`
LockedMessage *string `json:"lockedMessage,omitempty"`
LoggedUser *string `json:"loggedUser,omitempty"`
Name string `json:"name"`
NetworkId openapi_types.UUID `json:"networkId"`
OrganizationId openapi_types.UUID `json:"organizationId"`
Platform GetEndpoints200Platform `json:"platform"`
RuntimeStatus *GetEndpoints200RuntimeStatus `json:"runtimeStatus,omitempty"`
UpdatedAt GetEndpoints_200_UpdatedAt `json:"updatedAt"`
Version *string `json:"version,omitempty"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetEndpointsResponse ¶
func ParseGetEndpointsResponse(rsp *http.Response) (*GetEndpointsResponse, error)
ParseGetEndpointsResponse parses an HTTP response from a GetEndpointsWithResponse call
func (GetEndpointsResponse) Status ¶
func (r GetEndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndpointsResponse) StatusCode ¶
func (r GetEndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEndpoints_200_CreatedAt ¶
type GetEndpoints_200_CreatedAt struct {
// contains filtered or unexported fields
}
type GetEndpoints_200_EndPointPolicy_CreatedAt ¶
type GetEndpoints_200_EndPointPolicy_CreatedAt struct {
// contains filtered or unexported fields
}
type GetEndpoints_200_EndPointPolicy_UpdatedAt ¶
type GetEndpoints_200_EndPointPolicy_UpdatedAt struct {
// contains filtered or unexported fields
}
type GetEndpoints_200_UpdatedAt ¶
type GetEndpoints_200_UpdatedAt struct {
// contains filtered or unexported fields
}
type GetPhysicalDevices200Features ¶
type GetPhysicalDevices200Features string
type GetPhysicalDevicesResponse ¶
type GetPhysicalDevicesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]struct {
Brand string `json:"brand"`
Code string `json:"code"`
Features []GetPhysicalDevices200Features `json:"features"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON500 *ServerErrorResponse
}
func ParseGetPhysicalDevicesResponse ¶
func ParseGetPhysicalDevicesResponse(rsp *http.Response) (*GetPhysicalDevicesResponse, error)
ParseGetPhysicalDevicesResponse parses an HTTP response from a GetPhysicalDevicesWithResponse call
func (GetPhysicalDevicesResponse) Status ¶
func (r GetPhysicalDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (GetPhysicalDevicesResponse) StatusCode ¶
func (r GetPhysicalDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRouter200NetworksPrimaryNetwork0 ¶
type GetRouter200NetworksPrimaryNetwork0 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type GetRouter200NetworksPrimaryNetwork0Type `json:"type"`
}
type GetRouter200NetworksPrimaryNetwork0Type ¶
type GetRouter200NetworksPrimaryNetwork0Type string
type GetRouter200NetworksPrimaryNetwork1 ¶
type GetRouter200NetworksPrimaryNetwork1 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type GetRouter200NetworksPrimaryNetwork1Type `json:"type"`
}
type GetRouter200NetworksPrimaryNetwork1Type ¶
type GetRouter200NetworksPrimaryNetwork1Type string
type GetRouter200NetworksSecondaryNetworks0 ¶
type GetRouter200NetworksSecondaryNetworks0 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type GetRouter200NetworksSecondaryNetworks0Type `json:"type"`
}
type GetRouter200NetworksSecondaryNetworks0Type ¶
type GetRouter200NetworksSecondaryNetworks0Type string
type GetRouter200NetworksSecondaryNetworks1 ¶
type GetRouter200NetworksSecondaryNetworks1 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type GetRouter200NetworksSecondaryNetworks1Type `json:"type"`
}
type GetRouter200NetworksSecondaryNetworks1Type ¶
type GetRouter200NetworksSecondaryNetworks1Type string
type GetRouterConfigurationScriptParameters2000 ¶
type GetRouterConfigurationScriptParameters2000 struct {
DdnsCredentials []struct {
Password string `json:"password"`
Username string `json:"username"`
} `json:"ddnsCredentials"`
NetworkType GetRouterConfigurationScriptParameters2000NetworkType `json:"networkType"`
PolicyConnections []struct {
DnsAddress string `json:"dnsAddress"`
PolicyName string `json:"policyName"`
} `json:"policyConnections"`
RouterCode GetRouterConfigurationScriptParameters2000RouterCode `json:"routerCode"`
}
type GetRouterConfigurationScriptParameters2000NetworkType ¶
type GetRouterConfigurationScriptParameters2000NetworkType string
type GetRouterConfigurationScriptParameters2000RouterCode ¶
type GetRouterConfigurationScriptParameters2000RouterCode string
type GetRouterConfigurationScriptParameters2001 ¶
type GetRouterConfigurationScriptParameters2001 struct {
NetworkType GetRouterConfigurationScriptParameters2001NetworkType `json:"networkType"`
PolicyName string `json:"policyName"`
RouterCode GetRouterConfigurationScriptParameters2001RouterCode `json:"routerCode"`
Tag string `json:"tag"`
}
type GetRouterConfigurationScriptParameters2001NetworkType ¶
type GetRouterConfigurationScriptParameters2001NetworkType string
type GetRouterConfigurationScriptParameters2001RouterCode ¶
type GetRouterConfigurationScriptParameters2001RouterCode string
type GetRouterConfigurationScriptParametersResponse ¶
type GetRouterConfigurationScriptParametersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetRouterConfigurationScriptParametersResponse ¶
func ParseGetRouterConfigurationScriptParametersResponse(rsp *http.Response) (*GetRouterConfigurationScriptParametersResponse, error)
ParseGetRouterConfigurationScriptParametersResponse parses an HTTP response from a GetRouterConfigurationScriptParametersWithResponse call
func (GetRouterConfigurationScriptParametersResponse) Status ¶
func (r GetRouterConfigurationScriptParametersResponse) Status() string
Status returns HTTPResponse.Status
func (GetRouterConfigurationScriptParametersResponse) StatusCode ¶
func (r GetRouterConfigurationScriptParametersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRouterNetworks2000 ¶
type GetRouterNetworks2000 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type GetRouterNetworks2000Type `json:"type"`
}
type GetRouterNetworks2000Type ¶
type GetRouterNetworks2000Type string
type GetRouterNetworks2001 ¶
type GetRouterNetworks2001 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type GetRouterNetworks2001Type `json:"type"`
}
type GetRouterNetworks2001Type ¶
type GetRouterNetworks2001Type string
type GetRouterNetworksResponse ¶
type GetRouterNetworksResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]GetRouterNetworks_200_Item
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetRouterNetworksResponse ¶
func ParseGetRouterNetworksResponse(rsp *http.Response) (*GetRouterNetworksResponse, error)
ParseGetRouterNetworksResponse parses an HTTP response from a GetRouterNetworksWithResponse call
func (GetRouterNetworksResponse) Status ¶
func (r GetRouterNetworksResponse) Status() string
Status returns HTTPResponse.Status
func (GetRouterNetworksResponse) StatusCode ¶
func (r GetRouterNetworksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRouterNetworks_200_Item ¶
type GetRouterNetworks_200_Item struct {
// contains filtered or unexported fields
}
type GetRouterPoliciesResponse ¶
type GetRouterPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]struct {
Dns *struct {
Id openapi_types.UUID `json:"id"`
Port float32 `json:"port"`
PrimaryDns string `json:"primaryDns"`
SecondaryDns string `json:"secondaryDns"`
} `json:"dns,omitempty"`
NetworkId openapi_types.UUID `json:"networkId"`
Note *string `json:"note,omitempty"`
Policy struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"policy"`
RouterId openapi_types.UUID `json:"routerId"`
Tag *string `json:"tag,omitempty"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetRouterPoliciesResponse ¶
func ParseGetRouterPoliciesResponse(rsp *http.Response) (*GetRouterPoliciesResponse, error)
ParseGetRouterPoliciesResponse parses an HTTP response from a GetRouterPoliciesWithResponse call
func (GetRouterPoliciesResponse) Status ¶
func (r GetRouterPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (GetRouterPoliciesResponse) StatusCode ¶
func (r GetRouterPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRouterResponse ¶
type GetRouterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Networks []struct {
PrimaryNetwork GetRouter_200_Networks_PrimaryNetwork `json:"primaryNetwork"`
SecondaryNetworks []GetRouter_200_Networks_SecondaryNetworks_Item `json:"secondaryNetworks"`
} `json:"networks"`
Note *string `json:"note,omitempty"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PhysicalDeviceId openapi_types.UUID `json:"physicalDeviceId"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetRouterResponse ¶
func ParseGetRouterResponse(rsp *http.Response) (*GetRouterResponse, error)
ParseGetRouterResponse parses an HTTP response from a GetRouterWithResponse call
func (GetRouterResponse) Status ¶
func (r GetRouterResponse) Status() string
Status returns HTTPResponse.Status
func (GetRouterResponse) StatusCode ¶
func (r GetRouterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRouter_200_Networks_PrimaryNetwork ¶
type GetRouter_200_Networks_PrimaryNetwork struct {
// contains filtered or unexported fields
}
type GetRouter_200_Networks_SecondaryNetworks_Item ¶
type GetRouter_200_Networks_SecondaryNetworks_Item struct {
// contains filtered or unexported fields
}
type GetRouters200NetworksPrimaryNetwork0 ¶
type GetRouters200NetworksPrimaryNetwork0 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type GetRouters200NetworksPrimaryNetwork0Type `json:"type"`
}
type GetRouters200NetworksPrimaryNetwork0Type ¶
type GetRouters200NetworksPrimaryNetwork0Type string
type GetRouters200NetworksPrimaryNetwork1 ¶
type GetRouters200NetworksPrimaryNetwork1 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type GetRouters200NetworksPrimaryNetwork1Type `json:"type"`
}
type GetRouters200NetworksPrimaryNetwork1Type ¶
type GetRouters200NetworksPrimaryNetwork1Type string
type GetRouters200NetworksSecondaryNetworks0 ¶
type GetRouters200NetworksSecondaryNetworks0 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type GetRouters200NetworksSecondaryNetworks0Type `json:"type"`
}
type GetRouters200NetworksSecondaryNetworks0Type ¶
type GetRouters200NetworksSecondaryNetworks0Type string
type GetRouters200NetworksSecondaryNetworks1 ¶
type GetRouters200NetworksSecondaryNetworks1 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type GetRouters200NetworksSecondaryNetworks1Type `json:"type"`
}
type GetRouters200NetworksSecondaryNetworks1Type ¶
type GetRouters200NetworksSecondaryNetworks1Type string
type GetRoutersParams ¶
type GetRoutersParams struct {
OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
}
GetRoutersParams defines parameters for GetRouters.
type GetRoutersResponse ¶
type GetRoutersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Networks []struct {
PrimaryNetwork GetRouters_200_Networks_PrimaryNetwork `json:"primaryNetwork"`
SecondaryNetworks []GetRouters_200_Networks_SecondaryNetworks_Item `json:"secondaryNetworks"`
} `json:"networks"`
Note *string `json:"note,omitempty"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PhysicalDeviceId openapi_types.UUID `json:"physicalDeviceId"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetRoutersResponse ¶
func ParseGetRoutersResponse(rsp *http.Response) (*GetRoutersResponse, error)
ParseGetRoutersResponse parses an HTTP response from a GetRoutersWithResponse call
func (GetRoutersResponse) Status ¶
func (r GetRoutersResponse) Status() string
Status returns HTTPResponse.Status
func (GetRoutersResponse) StatusCode ¶
func (r GetRoutersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRouters_200_Networks_PrimaryNetwork ¶
type GetRouters_200_Networks_PrimaryNetwork struct {
// contains filtered or unexported fields
}
type GetRouters_200_Networks_SecondaryNetworks_Item ¶
type GetRouters_200_Networks_SecondaryNetworks_Item struct {
// contains filtered or unexported fields
}
type GetRules200LocalAddress0 ¶
type GetRules200LocalAddress0 struct {
Ip GetRules_200_LocalAddress_0_Ip `json:"ip"`
Type GetRules200LocalAddress0Type `json:"type"`
}
type GetRules200LocalAddress0Ip0 ¶
type GetRules200LocalAddress0Ip0 = string
type GetRules200LocalAddress0Ip1 ¶
type GetRules200LocalAddress0Ip1 = string
type GetRules200LocalAddress0Type ¶
type GetRules200LocalAddress0Type string
type GetRules200LocalAddress1 ¶
type GetRules200LocalAddress1 struct {
Cidr GetRules_200_LocalAddress_1_Cidr `json:"cidr"`
Type GetRules200LocalAddress1Type `json:"type"`
}
type GetRules200LocalAddress1Cidr0 ¶
type GetRules200LocalAddress1Cidr0 = string
type GetRules200LocalAddress1Cidr1 ¶
type GetRules200LocalAddress1Cidr1 = string
type GetRules200LocalAddress1Type ¶
type GetRules200LocalAddress1Type string
type GetRules200LocalAddress2 ¶
type GetRules200LocalAddress2 struct {
EndIp string `json:"endIp"`
StartIp string `json:"startIp"`
Type GetRules200LocalAddress2Type `json:"type"`
}
type GetRules200LocalAddress2Type ¶
type GetRules200LocalAddress2Type string
type GetRulesParams ¶
type GetRulesParams struct {
OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
}
GetRulesParams defines parameters for GetRules.
type GetRulesResponse ¶
type GetRulesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]struct {
DeviceIds []openapi_types.UUID `json:"deviceIds"`
Id openapi_types.UUID `json:"id"`
LocalAddress GetRules_200_LocalAddress `json:"localAddress"`
OrganizationId openapi_types.UUID `json:"organizationId"`
Policy struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"policy"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseGetRulesResponse ¶
func ParseGetRulesResponse(rsp *http.Response) (*GetRulesResponse, error)
ParseGetRulesResponse parses an HTTP response from a GetRulesWithResponse call
func (GetRulesResponse) Status ¶
func (r GetRulesResponse) Status() string
Status returns HTTPResponse.Status
func (GetRulesResponse) StatusCode ¶
func (r GetRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRules_200_LocalAddress ¶
type GetRules_200_LocalAddress struct {
// contains filtered or unexported fields
}
type GetRules_200_LocalAddress_0_Ip ¶
type GetRules_200_LocalAddress_0_Ip struct {
// contains filtered or unexported fields
}
type GetRules_200_LocalAddress_1_Cidr ¶
type GetRules_200_LocalAddress_1_Cidr struct {
// contains filtered or unexported fields
}
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type MissingCredentialsErrorBody ¶
type MissingCredentialsErrorBody struct {
Message string `json:"message"`
}
MissingCredentialsErrorBody defines model for MissingCredentialsErrorBody.
type NotFoundResponse ¶
type NotFoundResponse = FlashStartErrorBody
NotFoundResponse defines model for NotFound.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ServerErrorResponse ¶
type ServerErrorResponse = FlashStartErrorBody
ServerErrorResponse defines model for ServerError.
type UnauthorizedResponse ¶
type UnauthorizedResponse struct {
// contains filtered or unexported fields
}
UnauthorizedResponse defines model for Unauthorized.
func (UnauthorizedResponse) AsFlashStartErrorBody ¶
func (t UnauthorizedResponse) AsFlashStartErrorBody() (FlashStartErrorBody, error)
AsFlashStartErrorBody returns the union data inside the UnauthorizedResponse as a FlashStartErrorBody
func (UnauthorizedResponse) AsMissingCredentialsErrorBody ¶
func (t UnauthorizedResponse) AsMissingCredentialsErrorBody() (MissingCredentialsErrorBody, error)
AsMissingCredentialsErrorBody returns the union data inside the UnauthorizedResponse as a MissingCredentialsErrorBody
func (*UnauthorizedResponse) FromFlashStartErrorBody ¶
func (t *UnauthorizedResponse) FromFlashStartErrorBody(v FlashStartErrorBody) error
FromFlashStartErrorBody overwrites any union data inside the UnauthorizedResponse as the provided FlashStartErrorBody
func (*UnauthorizedResponse) FromMissingCredentialsErrorBody ¶
func (t *UnauthorizedResponse) FromMissingCredentialsErrorBody(v MissingCredentialsErrorBody) error
FromMissingCredentialsErrorBody overwrites any union data inside the UnauthorizedResponse as the provided MissingCredentialsErrorBody
func (UnauthorizedResponse) MarshalJSON ¶
func (t UnauthorizedResponse) MarshalJSON() ([]byte, error)
func (*UnauthorizedResponse) MergeFlashStartErrorBody ¶
func (t *UnauthorizedResponse) MergeFlashStartErrorBody(v FlashStartErrorBody) error
MergeFlashStartErrorBody performs a merge with any union data inside the UnauthorizedResponse, using the provided FlashStartErrorBody
func (*UnauthorizedResponse) MergeMissingCredentialsErrorBody ¶
func (t *UnauthorizedResponse) MergeMissingCredentialsErrorBody(v MissingCredentialsErrorBody) error
MergeMissingCredentialsErrorBody performs a merge with any union data inside the UnauthorizedResponse, using the provided MissingCredentialsErrorBody
func (*UnauthorizedResponse) UnmarshalJSON ¶
func (t *UnauthorizedResponse) UnmarshalJSON(b []byte) error
type UpdateDevice200InfoLastLoginCheckTime0 ¶
type UpdateDevice200InfoLastLoginCheckTime0 = string
type UpdateDevice200InfoLastVersionCheckTime0 ¶
type UpdateDevice200InfoLastVersionCheckTime0 = string
type UpdateDevice200Type ¶
type UpdateDevice200Type string
type UpdateDeviceCatchAll200InfoLastLoginCheckTime0 ¶
type UpdateDeviceCatchAll200InfoLastLoginCheckTime0 = string
type UpdateDeviceCatchAll200InfoLastVersionCheckTime0 ¶
type UpdateDeviceCatchAll200InfoLastVersionCheckTime0 = string
type UpdateDeviceCatchAll200Type ¶
type UpdateDeviceCatchAll200Type string
type UpdateDeviceCatchAllJSONBody ¶
type UpdateDeviceCatchAllJSONBody struct {
CatchAllPolicyId openapi_types.UUID `json:"catchAllPolicyId"`
}
UpdateDeviceCatchAllJSONBody defines parameters for UpdateDeviceCatchAll.
type UpdateDeviceCatchAllJSONRequestBody ¶
type UpdateDeviceCatchAllJSONRequestBody UpdateDeviceCatchAllJSONBody
UpdateDeviceCatchAllJSONRequestBody defines body for UpdateDeviceCatchAll for application/json ContentType.
type UpdateDeviceCatchAllParamsDeviceType ¶
type UpdateDeviceCatchAllParamsDeviceType string
UpdateDeviceCatchAllParamsDeviceType defines parameters for UpdateDeviceCatchAll.
const ( UpdateDeviceCatchAllParamsDeviceTypeCLOUDBOX UpdateDeviceCatchAllParamsDeviceType = "CLOUDBOX" UpdateDeviceCatchAllParamsDeviceTypeROUTER UpdateDeviceCatchAllParamsDeviceType = "ROUTER" )
Defines values for UpdateDeviceCatchAllParamsDeviceType.
type UpdateDeviceCatchAllResponse ¶
type UpdateDeviceCatchAllResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CatchAllRule struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"catchAllRule"`
Id openapi_types.UUID `json:"id"`
Info struct {
CpuUsage *float32 `json:"cpuUsage,omitempty"`
DeviceId *openapi_types.UUID `json:"deviceId,omitempty"`
DiskUsage *float32 `json:"diskUsage,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
HardwareModel *string `json:"hardwareModel,omitempty"`
LastLoginCheckTime *UpdateDeviceCatchAll_200_Info_LastLoginCheckTime `json:"lastLoginCheckTime,omitempty"`
LastVersionCheckTime *UpdateDeviceCatchAll_200_Info_LastVersionCheckTime `json:"lastVersionCheckTime,omitempty"`
LocalDnsIp *string `json:"localDnsIp,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
OsVersion *string `json:"osVersion,omitempty"`
PublicDnsFallback *bool `json:"publicDnsFallback,omitempty"`
RamUsage *float32 `json:"ramUsage,omitempty"`
ReleaseVersion *string `json:"releaseVersion,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
Uptime *float32 `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"info"`
Name string `json:"name"`
NetworkId string `json:"networkId"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PublicIp string `json:"publicIp"`
Type UpdateDeviceCatchAll200Type `json:"type"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseUpdateDeviceCatchAllResponse ¶
func ParseUpdateDeviceCatchAllResponse(rsp *http.Response) (*UpdateDeviceCatchAllResponse, error)
ParseUpdateDeviceCatchAllResponse parses an HTTP response from a UpdateDeviceCatchAllWithResponse call
func (UpdateDeviceCatchAllResponse) Status ¶
func (r UpdateDeviceCatchAllResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDeviceCatchAllResponse) StatusCode ¶
func (r UpdateDeviceCatchAllResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDeviceCatchAll_200_Info_LastLoginCheckTime ¶
type UpdateDeviceCatchAll_200_Info_LastLoginCheckTime struct {
// contains filtered or unexported fields
}
type UpdateDeviceCatchAll_200_Info_LastVersionCheckTime ¶
type UpdateDeviceCatchAll_200_Info_LastVersionCheckTime struct {
// contains filtered or unexported fields
}
type UpdateDeviceCredentialsJSONBody ¶
type UpdateDeviceCredentialsJSONBody struct {
Password *string `json:"password,omitempty"`
Username *string `json:"username,omitempty"`
}
UpdateDeviceCredentialsJSONBody defines parameters for UpdateDeviceCredentials.
type UpdateDeviceCredentialsJSONRequestBody ¶
type UpdateDeviceCredentialsJSONRequestBody UpdateDeviceCredentialsJSONBody
UpdateDeviceCredentialsJSONRequestBody defines body for UpdateDeviceCredentials for application/json ContentType.
type UpdateDeviceCredentialsParamsDeviceType ¶
type UpdateDeviceCredentialsParamsDeviceType string
UpdateDeviceCredentialsParamsDeviceType defines parameters for UpdateDeviceCredentials.
const ( UpdateDeviceCredentialsParamsDeviceTypeCLOUDBOX UpdateDeviceCredentialsParamsDeviceType = "CLOUDBOX" UpdateDeviceCredentialsParamsDeviceTypeROUTER UpdateDeviceCredentialsParamsDeviceType = "ROUTER" )
Defines values for UpdateDeviceCredentialsParamsDeviceType.
type UpdateDeviceCredentialsResponse ¶
type UpdateDeviceCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DeviceId openapi_types.UUID `json:"deviceId"`
Password string `json:"password"`
Username string `json:"username"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseUpdateDeviceCredentialsResponse ¶
func ParseUpdateDeviceCredentialsResponse(rsp *http.Response) (*UpdateDeviceCredentialsResponse, error)
ParseUpdateDeviceCredentialsResponse parses an HTTP response from a UpdateDeviceCredentialsWithResponse call
func (UpdateDeviceCredentialsResponse) Status ¶
func (r UpdateDeviceCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDeviceCredentialsResponse) StatusCode ¶
func (r UpdateDeviceCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDeviceJSONBody ¶
type UpdateDeviceJSONBody struct {
Name *string `json:"name,omitempty"`
Note *string `json:"note,omitempty"`
}
UpdateDeviceJSONBody defines parameters for UpdateDevice.
type UpdateDeviceJSONRequestBody ¶
type UpdateDeviceJSONRequestBody UpdateDeviceJSONBody
UpdateDeviceJSONRequestBody defines body for UpdateDevice for application/json ContentType.
type UpdateDeviceParamsDeviceType ¶
type UpdateDeviceParamsDeviceType string
UpdateDeviceParamsDeviceType defines parameters for UpdateDevice.
const ( UpdateDeviceParamsDeviceTypeCLOUDBOX UpdateDeviceParamsDeviceType = "CLOUDBOX" UpdateDeviceParamsDeviceTypeROUTER UpdateDeviceParamsDeviceType = "ROUTER" )
Defines values for UpdateDeviceParamsDeviceType.
type UpdateDeviceResponse ¶
type UpdateDeviceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CatchAllRule struct {
Id openapi_types.UUID `json:"id"`
IsLimited bool `json:"isLimited"`
IsShared bool `json:"isShared"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
} `json:"catchAllRule"`
Id openapi_types.UUID `json:"id"`
Info struct {
CpuUsage *float32 `json:"cpuUsage,omitempty"`
DeviceId *openapi_types.UUID `json:"deviceId,omitempty"`
DiskUsage *float32 `json:"diskUsage,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
HardwareModel *string `json:"hardwareModel,omitempty"`
LastLoginCheckTime *UpdateDevice_200_Info_LastLoginCheckTime `json:"lastLoginCheckTime,omitempty"`
LastVersionCheckTime *UpdateDevice_200_Info_LastVersionCheckTime `json:"lastVersionCheckTime,omitempty"`
LocalDnsIp *string `json:"localDnsIp,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
OsVersion *string `json:"osVersion,omitempty"`
PublicDnsFallback *bool `json:"publicDnsFallback,omitempty"`
RamUsage *float32 `json:"ramUsage,omitempty"`
ReleaseVersion *string `json:"releaseVersion,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
Uptime *float32 `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"info"`
Name string `json:"name"`
NetworkId string `json:"networkId"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PublicIp string `json:"publicIp"`
Type UpdateDevice200Type `json:"type"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseUpdateDeviceResponse ¶
func ParseUpdateDeviceResponse(rsp *http.Response) (*UpdateDeviceResponse, error)
ParseUpdateDeviceResponse parses an HTTP response from a UpdateDeviceWithResponse call
func (UpdateDeviceResponse) Status ¶
func (r UpdateDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDeviceResponse) StatusCode ¶
func (r UpdateDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDevice_200_Info_LastLoginCheckTime ¶
type UpdateDevice_200_Info_LastLoginCheckTime struct {
// contains filtered or unexported fields
}
type UpdateDevice_200_Info_LastVersionCheckTime ¶
type UpdateDevice_200_Info_LastVersionCheckTime struct {
// contains filtered or unexported fields
}
type UpdateDynamicInternalRouterNetwork2000 ¶
type UpdateDynamicInternalRouterNetwork2000 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type UpdateDynamicInternalRouterNetwork2000Type `json:"type"`
}
type UpdateDynamicInternalRouterNetwork2000Type ¶
type UpdateDynamicInternalRouterNetwork2000Type string
type UpdateDynamicInternalRouterNetwork2001 ¶
type UpdateDynamicInternalRouterNetwork2001 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type UpdateDynamicInternalRouterNetwork2001Type `json:"type"`
}
type UpdateDynamicInternalRouterNetwork2001Type ¶
type UpdateDynamicInternalRouterNetwork2001Type string
type UpdateDynamicInternalRouterNetworkJSONBody ¶
type UpdateDynamicInternalRouterNetworkJSONBody struct {
Ddns *struct {
Password *string `json:"password,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"ddns,omitempty"`
Name *string `json:"name,omitempty"`
Note *string `json:"note,omitempty"`
}
UpdateDynamicInternalRouterNetworkJSONBody defines parameters for UpdateDynamicInternalRouterNetwork.
type UpdateDynamicInternalRouterNetworkJSONRequestBody ¶
type UpdateDynamicInternalRouterNetworkJSONRequestBody UpdateDynamicInternalRouterNetworkJSONBody
UpdateDynamicInternalRouterNetworkJSONRequestBody defines body for UpdateDynamicInternalRouterNetwork for application/json ContentType.
type UpdateDynamicInternalRouterNetworkResponse ¶
type UpdateDynamicInternalRouterNetworkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseUpdateDynamicInternalRouterNetworkResponse ¶
func ParseUpdateDynamicInternalRouterNetworkResponse(rsp *http.Response) (*UpdateDynamicInternalRouterNetworkResponse, error)
ParseUpdateDynamicInternalRouterNetworkResponse parses an HTTP response from a UpdateDynamicInternalRouterNetworkWithResponse call
func (UpdateDynamicInternalRouterNetworkResponse) Status ¶
func (r UpdateDynamicInternalRouterNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDynamicInternalRouterNetworkResponse) StatusCode ¶
func (r UpdateDynamicInternalRouterNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEncryptedRouterNetwork2000 ¶
type UpdateEncryptedRouterNetwork2000 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type UpdateEncryptedRouterNetwork2000Type `json:"type"`
}
type UpdateEncryptedRouterNetwork2000Type ¶
type UpdateEncryptedRouterNetwork2000Type string
type UpdateEncryptedRouterNetwork2001 ¶
type UpdateEncryptedRouterNetwork2001 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type UpdateEncryptedRouterNetwork2001Type `json:"type"`
}
type UpdateEncryptedRouterNetwork2001Type ¶
type UpdateEncryptedRouterNetwork2001Type string
type UpdateEncryptedRouterNetworkJSONBody ¶
type UpdateEncryptedRouterNetworkJSONBody struct {
Name *string `json:"name,omitempty"`
Note *string `json:"note,omitempty"`
PolicyId *openapi_types.UUID `json:"policyId,omitempty"`
}
UpdateEncryptedRouterNetworkJSONBody defines parameters for UpdateEncryptedRouterNetwork.
type UpdateEncryptedRouterNetworkJSONRequestBody ¶
type UpdateEncryptedRouterNetworkJSONRequestBody UpdateEncryptedRouterNetworkJSONBody
UpdateEncryptedRouterNetworkJSONRequestBody defines body for UpdateEncryptedRouterNetwork for application/json ContentType.
type UpdateEncryptedRouterNetworkResponse ¶
type UpdateEncryptedRouterNetworkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseUpdateEncryptedRouterNetworkResponse ¶
func ParseUpdateEncryptedRouterNetworkResponse(rsp *http.Response) (*UpdateEncryptedRouterNetworkResponse, error)
ParseUpdateEncryptedRouterNetworkResponse parses an HTTP response from a UpdateEncryptedRouterNetworkWithResponse call
func (UpdateEncryptedRouterNetworkResponse) Status ¶
func (r UpdateEncryptedRouterNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEncryptedRouterNetworkResponse) StatusCode ¶
func (r UpdateEncryptedRouterNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEndpoint200CreatedAt0 ¶
type UpdateEndpoint200CreatedAt0 = string
type UpdateEndpoint200EndPointPolicyCreatedAt0 ¶
type UpdateEndpoint200EndPointPolicyCreatedAt0 = string
type UpdateEndpoint200EndPointPolicyUpdatedAt0 ¶
type UpdateEndpoint200EndPointPolicyUpdatedAt0 = string
type UpdateEndpoint200Flow ¶
type UpdateEndpoint200Flow string
type UpdateEndpoint200Platform ¶
type UpdateEndpoint200Platform string
type UpdateEndpoint200RuntimeStatus ¶
type UpdateEndpoint200RuntimeStatus string
type UpdateEndpoint200UpdatedAt0 ¶
type UpdateEndpoint200UpdatedAt0 = string
type UpdateEndpointJSONBody ¶
type UpdateEndpointJSONBody struct {
EndpointPolicyId *openapi_types.UUID `json:"endpointPolicyId,omitempty"`
Name *string `json:"name,omitempty"`
}
UpdateEndpointJSONBody defines parameters for UpdateEndpoint.
type UpdateEndpointJSONRequestBody ¶
type UpdateEndpointJSONRequestBody UpdateEndpointJSONBody
UpdateEndpointJSONRequestBody defines body for UpdateEndpoint for application/json ContentType.
type UpdateEndpointPolicy200CreatedAt0 ¶
type UpdateEndpointPolicy200CreatedAt0 = string
type UpdateEndpointPolicy200UpdatedAt0 ¶
type UpdateEndpointPolicy200UpdatedAt0 = string
type UpdateEndpointPolicyJSONBody ¶
type UpdateEndpointPolicyJSONBody struct {
ImportUserEnabled *bool `json:"importUserEnabled,omitempty"`
OfficeStandupEnabled *bool `json:"officeStandupEnabled,omitempty"`
RegenerateSecurePin *bool `json:"regenerateSecurePin,omitempty"`
RegenerateUninstallPin *bool `json:"regenerateUninstallPin,omitempty"`
UninstallPinRequired *bool `json:"uninstallPinRequired,omitempty"`
}
UpdateEndpointPolicyJSONBody defines parameters for UpdateEndpointPolicy.
type UpdateEndpointPolicyJSONRequestBody ¶
type UpdateEndpointPolicyJSONRequestBody UpdateEndpointPolicyJSONBody
UpdateEndpointPolicyJSONRequestBody defines body for UpdateEndpointPolicy for application/json ContentType.
type UpdateEndpointPolicyResponse ¶
type UpdateEndpointPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CreatedAt UpdateEndpointPolicy_200_CreatedAt `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
ImportUserEnabled bool `json:"importUserEnabled"`
OfficeStandupEnabled bool `json:"officeStandupEnabled"`
PolicyId openapi_types.UUID `json:"policyId"`
PolicyKey string `json:"policyKey"`
SecurePin string `json:"securePin"`
UninstallPin string `json:"uninstallPin"`
UninstallPinRequired bool `json:"uninstallPinRequired"`
UpdatedAt UpdateEndpointPolicy_200_UpdatedAt `json:"updatedAt"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseUpdateEndpointPolicyResponse ¶
func ParseUpdateEndpointPolicyResponse(rsp *http.Response) (*UpdateEndpointPolicyResponse, error)
ParseUpdateEndpointPolicyResponse parses an HTTP response from a UpdateEndpointPolicyWithResponse call
func (UpdateEndpointPolicyResponse) Status ¶
func (r UpdateEndpointPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEndpointPolicyResponse) StatusCode ¶
func (r UpdateEndpointPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEndpointPolicy_200_CreatedAt ¶
type UpdateEndpointPolicy_200_CreatedAt struct {
// contains filtered or unexported fields
}
type UpdateEndpointPolicy_200_UpdatedAt ¶
type UpdateEndpointPolicy_200_UpdatedAt struct {
// contains filtered or unexported fields
}
type UpdateEndpointResponse ¶
type UpdateEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Active bool `json:"active"`
ClientId string `json:"clientId"`
CreatedAt UpdateEndpoint_200_CreatedAt `json:"createdAt"`
EndPointPolicy struct {
CreatedAt UpdateEndpoint_200_EndPointPolicy_CreatedAt `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
ImportUserEnabled bool `json:"importUserEnabled"`
OfficeStandupEnabled bool `json:"officeStandupEnabled"`
PolicyId openapi_types.UUID `json:"policyId"`
PolicyKey string `json:"policyKey"`
SecurePin string `json:"securePin"`
UninstallPin string `json:"uninstallPin"`
UninstallPinRequired bool `json:"uninstallPinRequired"`
UpdatedAt UpdateEndpoint_200_EndPointPolicy_UpdatedAt `json:"updatedAt"`
} `json:"endPointPolicy"`
Flow UpdateEndpoint200Flow `json:"flow"`
Id openapi_types.UUID `json:"id"`
Ip string `json:"ip"`
LockedMessage *string `json:"lockedMessage,omitempty"`
LoggedUser *string `json:"loggedUser,omitempty"`
Name string `json:"name"`
NetworkId openapi_types.UUID `json:"networkId"`
OrganizationId openapi_types.UUID `json:"organizationId"`
Platform UpdateEndpoint200Platform `json:"platform"`
RuntimeStatus *UpdateEndpoint200RuntimeStatus `json:"runtimeStatus,omitempty"`
UpdatedAt UpdateEndpoint_200_UpdatedAt `json:"updatedAt"`
Version *string `json:"version,omitempty"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseUpdateEndpointResponse ¶
func ParseUpdateEndpointResponse(rsp *http.Response) (*UpdateEndpointResponse, error)
ParseUpdateEndpointResponse parses an HTTP response from a UpdateEndpointWithResponse call
func (UpdateEndpointResponse) Status ¶
func (r UpdateEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEndpointResponse) StatusCode ¶
func (r UpdateEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEndpoint_200_CreatedAt ¶
type UpdateEndpoint_200_CreatedAt struct {
// contains filtered or unexported fields
}
type UpdateEndpoint_200_EndPointPolicy_CreatedAt ¶
type UpdateEndpoint_200_EndPointPolicy_CreatedAt struct {
// contains filtered or unexported fields
}
type UpdateEndpoint_200_EndPointPolicy_UpdatedAt ¶
type UpdateEndpoint_200_EndPointPolicy_UpdatedAt struct {
// contains filtered or unexported fields
}
type UpdateEndpoint_200_UpdatedAt ¶
type UpdateEndpoint_200_UpdatedAt struct {
// contains filtered or unexported fields
}
type UpdateRouter200NetworksPrimaryNetwork0 ¶
type UpdateRouter200NetworksPrimaryNetwork0 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type UpdateRouter200NetworksPrimaryNetwork0Type `json:"type"`
}
type UpdateRouter200NetworksPrimaryNetwork0Type ¶
type UpdateRouter200NetworksPrimaryNetwork0Type string
type UpdateRouter200NetworksPrimaryNetwork1 ¶
type UpdateRouter200NetworksPrimaryNetwork1 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type UpdateRouter200NetworksPrimaryNetwork1Type `json:"type"`
}
type UpdateRouter200NetworksPrimaryNetwork1Type ¶
type UpdateRouter200NetworksPrimaryNetwork1Type string
type UpdateRouter200NetworksSecondaryNetworks0 ¶
type UpdateRouter200NetworksSecondaryNetworks0 struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Tag string `json:"tag"`
Type UpdateRouter200NetworksSecondaryNetworks0Type `json:"type"`
}
type UpdateRouter200NetworksSecondaryNetworks0Type ¶
type UpdateRouter200NetworksSecondaryNetworks0Type string
type UpdateRouter200NetworksSecondaryNetworks1 ¶
type UpdateRouter200NetworksSecondaryNetworks1 struct {
Ddns struct {
Domain string `json:"domain"`
Id *openapi_types.UUID `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
} `json:"ddns"`
DynamicIp string `json:"dynamicIp"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
Type UpdateRouter200NetworksSecondaryNetworks1Type `json:"type"`
}
type UpdateRouter200NetworksSecondaryNetworks1Type ¶
type UpdateRouter200NetworksSecondaryNetworks1Type string
type UpdateRouterJSONBody ¶
type UpdateRouterJSONBody struct {
Name *string `json:"name,omitempty"`
Note *string `json:"note"`
}
UpdateRouterJSONBody defines parameters for UpdateRouter.
type UpdateRouterJSONRequestBody ¶
type UpdateRouterJSONRequestBody UpdateRouterJSONBody
UpdateRouterJSONRequestBody defines body for UpdateRouter for application/json ContentType.
type UpdateRouterResponse ¶
type UpdateRouterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Networks []struct {
PrimaryNetwork UpdateRouter_200_Networks_PrimaryNetwork `json:"primaryNetwork"`
SecondaryNetworks []UpdateRouter_200_Networks_SecondaryNetworks_Item `json:"secondaryNetworks"`
} `json:"networks"`
Note *string `json:"note,omitempty"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PhysicalDeviceId openapi_types.UUID `json:"physicalDeviceId"`
}
JSON401 *UnauthorizedResponse
JSON403 *ForbiddenResponse
JSON404 *NotFoundResponse
JSON422 *BadRequestResponse
JSON500 *ServerErrorResponse
}
func ParseUpdateRouterResponse ¶
func ParseUpdateRouterResponse(rsp *http.Response) (*UpdateRouterResponse, error)
ParseUpdateRouterResponse parses an HTTP response from a UpdateRouterWithResponse call
func (UpdateRouterResponse) Status ¶
func (r UpdateRouterResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRouterResponse) StatusCode ¶
func (r UpdateRouterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRouter_200_Networks_PrimaryNetwork ¶
type UpdateRouter_200_Networks_PrimaryNetwork struct {
// contains filtered or unexported fields
}
type UpdateRouter_200_Networks_SecondaryNetworks_Item ¶
type UpdateRouter_200_Networks_SecondaryNetworks_Item struct {
// contains filtered or unexported fields
}