Documentation
¶
Overview ¶
Package pfsense provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Package pfsense provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- Constants
- func NewAPIAccessTokenCreateRequest(server string) (*http.Request, error)
- func NewAPIDiagnosticsCommandPromptCreateRequest(server string, body APIDiagnosticsCommandPromptCreateJSONRequestBody) (*http.Request, error)
- func NewAPIDiagnosticsCommandPromptCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallAliasAdvancedReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallAliasAdvancedUpdateRequest(server string, body APIFirewallAliasAdvancedUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallAliasAdvancedUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallAliasCreateRequest(server string, body APIFirewallAliasCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallAliasCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallAliasDeleteRequest(server string, params *APIFirewallAliasDeleteParams) (*http.Request, error)
- func NewAPIFirewallAliasEntryCreateRequest(server string, body APIFirewallAliasEntryCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallAliasEntryCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallAliasEntryDeleteRequest(server string, params *APIFirewallAliasEntryDeleteParams) (*http.Request, error)
- func NewAPIFirewallAliasReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallAliasUpdateRequest(server string, body APIFirewallAliasUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallAliasUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallApplyCreateRequest(server string, body APIFirewallApplyCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallApplyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallNATOneToOneCreateRequest(server string, body APIFirewallNATOneToOneCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallNATOneToOneCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallNATOneToOneDeleteRequest(server string, params *APIFirewallNATOneToOneDeleteParams) (*http.Request, error)
- func NewAPIFirewallNATOneToOneReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallNATOneToOneUpdateRequest(server string, body APIFirewallNATOneToOneUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallNATOneToOneUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallNATOutboundMappingCreateRequest(server string, body APIFirewallNATOutboundMappingCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallNATOutboundMappingCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallNATOutboundMappingDeleteRequest(server string, params *APIFirewallNATOutboundMappingDeleteParams) (*http.Request, error)
- func NewAPIFirewallNATOutboundMappingReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallNATOutboundMappingUpdateRequest(server string, body APIFirewallNATOutboundMappingUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallNATOutboundMappingUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallNATOutboundPortForwardCreateRequest(server string, body APIFirewallNATOutboundPortForwardCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallNATOutboundPortForwardCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallNATOutboundPortForwardDeleteRequest(server string, params *APIFirewallNATOutboundPortForwardDeleteParams) (*http.Request, error)
- func NewAPIFirewallNATOutboundPortForwardReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallNATOutboundPortForwardUpdateRequest(server string, body APIFirewallNATOutboundPortForwardUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallNATOutboundPortForwardUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallNATOutboundReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallNATOutboundUpdateRequest(server string, body APIFirewallNATOutboundUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallNATOutboundUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallRuleCreateRequest(server string, body APIFirewallRuleCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallRuleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallRuleDeleteRequest(server string, params *APIFirewallRuleDeleteParams) (*http.Request, error)
- func NewAPIFirewallRuleFlushDeleteRequest(server string) (*http.Request, error)
- func NewAPIFirewallRuleFlushUpdateRequest(server string, body APIFirewallRuleFlushUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallRuleFlushUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallRuleReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallRuleSortUpdateRequest(server string, body APIFirewallRuleSortUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallRuleSortUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallRuleUpdateRequest(server string, body APIFirewallRuleUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallRuleUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallScheduleCreateRequest(server string, body APIFirewallScheduleCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallScheduleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallScheduleDeleteRequest(server string, params *APIFirewallScheduleDeleteParams) (*http.Request, error)
- func NewAPIFirewallScheduleReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallScheduleTimeRangeCreateRequest(server string, body APIFirewallScheduleTimeRangeCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallScheduleTimeRangeCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallScheduleTimeRangeDeleteRequest(server string, params *APIFirewallScheduleTimeRangeDeleteParams) (*http.Request, error)
- func NewAPIFirewallScheduleUpdateRequest(server string, body APIFirewallScheduleUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallScheduleUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallStatesDeleteRequest(server string, params *APIFirewallStatesDeleteParams) (*http.Request, error)
- func NewAPIFirewallStatesReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallStatesSizeReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallStatesSizeUpdateRequest(server string, body APIFirewallStatesSizeUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallStatesSizeUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallTrafficShaperCreateRequest(server string, body APIFirewallTrafficShaperCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallTrafficShaperCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallTrafficShaperDeleteRequest(server string, params *APIFirewallTrafficShaperDeleteParams) (*http.Request, error)
- func NewAPIFirewallTrafficShaperLimiterBandwidthCreateRequest(server string, ...) (*http.Request, error)
- func NewAPIFirewallTrafficShaperLimiterBandwidthCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallTrafficShaperLimiterBandwidthDeleteRequest(server string, params *APIFirewallTrafficShaperLimiterBandwidthDeleteParams) (*http.Request, error)
- func NewAPIFirewallTrafficShaperLimiterCreateRequest(server string, body APIFirewallTrafficShaperLimiterCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallTrafficShaperLimiterCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallTrafficShaperLimiterDeleteRequest(server string, params *APIFirewallTrafficShaperLimiterDeleteParams) (*http.Request, error)
- func NewAPIFirewallTrafficShaperLimiterQueueCreateRequest(server string, body APIFirewallTrafficShaperLimiterQueueCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallTrafficShaperLimiterQueueCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallTrafficShaperLimiterQueueDeleteRequest(server string, params *APIFirewallTrafficShaperLimiterQueueDeleteParams) (*http.Request, error)
- func NewAPIFirewallTrafficShaperLimiterReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallTrafficShaperQueueCreateRequest(server string, body APIFirewallTrafficShaperQueueCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallTrafficShaperQueueCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallTrafficShaperQueueDeleteRequest(server string, params *APIFirewallTrafficShaperQueueDeleteParams) (*http.Request, error)
- func NewAPIFirewallTrafficShaperReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallTrafficShaperUpdateRequest(server string, body APIFirewallTrafficShaperUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallTrafficShaperUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallVirtualIPCreateRequest(server string, body APIFirewallVirtualIPCreateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallVirtualIPCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIFirewallVirtualIPDeleteRequest(server string, params *APIFirewallVirtualIPDeleteParams) (*http.Request, error)
- func NewAPIFirewallVirtualIPReadRequest(server string) (*http.Request, error)
- func NewAPIFirewallVirtualIPUpdateRequest(server string, body APIFirewallVirtualIPUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIFirewallVirtualIPUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIInterfaceApplyCreateRequest(server string, body APIInterfaceApplyCreateJSONRequestBody) (*http.Request, error)
- func NewAPIInterfaceApplyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIInterfaceApplyReadRequest(server string) (*http.Request, error)
- func NewAPIInterfaceAvailableReadRequest(server string) (*http.Request, error)
- func NewAPIInterfaceBridgeCreateRequest(server string, body APIInterfaceBridgeCreateJSONRequestBody) (*http.Request, error)
- func NewAPIInterfaceBridgeCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIInterfaceBridgeDeleteRequest(server string, params *APIInterfaceBridgeDeleteParams) (*http.Request, error)
- func NewAPIInterfaceBridgeReadRequest(server string) (*http.Request, error)
- func NewAPIInterfaceBridgeUpdateRequest(server string, body APIInterfaceBridgeUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIInterfaceBridgeUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIInterfaceCreateRequest(server string, body APIInterfaceCreateJSONRequestBody) (*http.Request, error)
- func NewAPIInterfaceCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIInterfaceDeleteRequest(server string, params *APIInterfaceDeleteParams) (*http.Request, error)
- func NewAPIInterfaceGroupCreateRequest(server string, body APIInterfaceGroupCreateJSONRequestBody) (*http.Request, error)
- func NewAPIInterfaceGroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIInterfaceGroupDeleteRequest(server string, params *APIInterfaceGroupDeleteParams) (*http.Request, error)
- func NewAPIInterfaceGroupReadRequest(server string) (*http.Request, error)
- func NewAPIInterfaceGroupUpdateRequest(server string, body APIInterfaceGroupUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIInterfaceGroupUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIInterfaceReadRequest(server string) (*http.Request, error)
- func NewAPIInterfaceUpdateRequest(server string, body APIInterfaceUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIInterfaceUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIInterfaceVLANCreateRequest(server string, body APIInterfaceVLANCreateJSONRequestBody) (*http.Request, error)
- func NewAPIInterfaceVLANCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIInterfaceVLANDeleteRequest(server string, params *APIInterfaceVLANDeleteParams) (*http.Request, error)
- func NewAPIInterfaceVLANReadRequest(server string) (*http.Request, error)
- func NewAPIInterfaceVLANUpdateRequest(server string, body APIInterfaceVLANUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIInterfaceVLANUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIRoutingApplyCreateRequest(server string) (*http.Request, error)
- func NewAPIRoutingGatewayCreateRequest(server string, body APIRoutingGatewayCreateJSONRequestBody) (*http.Request, error)
- func NewAPIRoutingGatewayCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIRoutingGatewayDefaultUpdateRequest(server string, body APIRoutingGatewayDefaultUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIRoutingGatewayDefaultUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIRoutingGatewayDeleteRequest(server string, params *APIRoutingGatewayDeleteParams) (*http.Request, error)
- func NewAPIRoutingGatewayDetailReadRequest(server string) (*http.Request, error)
- func NewAPIRoutingGatewayReadRequest(server string) (*http.Request, error)
- func NewAPIRoutingGatewayUpdateRequest(server string, body APIRoutingGatewayUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIRoutingGatewayUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIRoutingStaticRouteCreateRequest(server string, body APIRoutingStaticRouteCreateJSONRequestBody) (*http.Request, error)
- func NewAPIRoutingStaticRouteCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIRoutingStaticRouteDeleteRequest(server string, params *APIRoutingStaticRouteDeleteParams) (*http.Request, error)
- func NewAPIRoutingStaticRouteReadRequest(server string) (*http.Request, error)
- func NewAPIRoutingStaticRouteUpdateRequest(server string, body APIRoutingStaticRouteUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIRoutingStaticRouteUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesDDNSReadRequest(server string) (*http.Request, error)
- func NewAPIServicesDHCPdLeaseReadRequest(server string) (*http.Request, error)
- func NewAPIServicesDHCPdOptionsCreateRequest(server string, body APIServicesDHCPdOptionsCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesDHCPdOptionsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesDHCPdReadRequest(server string) (*http.Request, error)
- func NewAPIServicesDHCPdRestartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesDHCPdStartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesDHCPdStaticMappingCreateRequest(server string, body APIServicesDHCPdStaticMappingCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesDHCPdStaticMappingCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesDHCPdStaticMappingDeleteRequest(server string, params *APIServicesDHCPdStaticMappingDeleteParams) (*http.Request, error)
- func NewAPIServicesDHCPdStaticMappingReadRequest(server string, params *APIServicesDHCPdStaticMappingReadParams) (*http.Request, error)
- func NewAPIServicesDHCPdStaticMappingUpdateRequest(server string, body APIServicesDHCPdStaticMappingUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesDHCPdStaticMappingUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesDHCPdStopCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesDHCPdUpdateRequest(server string, body APIServicesDHCPdUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesDHCPdUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesDnsmasqApplyCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesDnsmasqHostOverrideAliasCreateRequest(server string, body APIServicesDnsmasqHostOverrideAliasCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesDnsmasqHostOverrideAliasCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesDnsmasqHostOverrideCreateRequest(server string, body APIServicesDnsmasqHostOverrideCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesDnsmasqHostOverrideCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesDnsmasqHostOverrideDeleteRequest(server string, params *APIServicesDnsmasqHostOverrideDeleteParams) (*http.Request, error)
- func NewAPIServicesDnsmasqHostOverrideReadRequest(server string) (*http.Request, error)
- func NewAPIServicesDnsmasqHostOverrideUpdateRequest(server string, body APIServicesDnsmasqHostOverrideUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesDnsmasqHostOverrideUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesDnsmasqReadRequest(server string) (*http.Request, error)
- func NewAPIServicesDnsmasqRestartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesDnsmasqStartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesDnsmasqStopCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesDpingerRestartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesDpingerStartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesDpingerStopCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesIPsecApplyCreateRequest(server string, body APIServicesIPsecApplyCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesIPsecApplyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesIPsecPhase1CreateRequest(server string, body APIServicesIPsecPhase1CreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesIPsecPhase1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesIPsecPhase1DeleteRequest(server string, params *APIServicesIPsecPhase1DeleteParams) (*http.Request, error)
- func NewAPIServicesIPsecPhase1EncryptionCreateRequest(server string, body APIServicesIPsecPhase1EncryptionCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesIPsecPhase1EncryptionCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesIPsecPhase1ReadRequest(server string) (*http.Request, error)
- func NewAPIServicesIPsecPhase1UpdateRequest(server string, body APIServicesIPsecPhase1UpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesIPsecPhase1UpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesIPsecPhase2CreateRequest(server string, body APIServicesIPsecPhase2CreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesIPsecPhase2CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesIPsecPhase2DeleteRequest(server string, params *APIServicesIPsecPhase2DeleteParams) (*http.Request, error)
- func NewAPIServicesIPsecPhase2ReadRequest(server string) (*http.Request, error)
- func NewAPIServicesIPsecPhase2UpdateRequest(server string, body APIServicesIPsecPhase2UpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesIPsecPhase2UpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesNTPdReadRequest(server string) (*http.Request, error)
- func NewAPIServicesNTPdRestartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesNTPdStartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesNTPdStopCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesNTPdTimeServerCreateRequest(server string, body APIServicesNTPdTimeServerCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesNTPdTimeServerCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesNTPdTimeServerDeleteRequest(server string, params *APIServicesNTPdTimeServerDeleteParams) (*http.Request, error)
- func NewAPIServicesNTPdUpdateRequest(server string, body APIServicesNTPdUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesNTPdUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesOpenVPNClientCreateRequest(server string, body APIServicesOpenVPNClientCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesOpenVPNClientCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesOpenVPNClientReadRequest(server string) (*http.Request, error)
- func NewAPIServicesOpenVPNClientSpecificOverridesCreateRequest(server string, ...) (*http.Request, error)
- func NewAPIServicesOpenVPNClientSpecificOverridesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesOpenVPNClientSpecificOverridesDeleteRequest(server string, params *APIServicesOpenVPNClientSpecificOverridesDeleteParams) (*http.Request, error)
- func NewAPIServicesOpenVPNClientSpecificOverridesReadRequest(server string) (*http.Request, error)
- func NewAPIServicesOpenVPNClientSpecificOverridesUpdateRequest(server string, ...) (*http.Request, error)
- func NewAPIServicesOpenVPNClientSpecificOverridesUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesOpenVPNClientUpdateRequest(server string, params *APIServicesOpenVPNClientUpdateParams, ...) (*http.Request, error)
- func NewAPIServicesOpenVPNClientUpdateRequestWithBody(server string, params *APIServicesOpenVPNClientUpdateParams, ...) (*http.Request, error)
- func NewAPIServicesOpenVPNServerCreateRequest(server string, body APIServicesOpenVPNServerCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesOpenVPNServerCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesOpenVPNServerReadRequest(server string) (*http.Request, error)
- func NewAPIServicesOpenVPNServerUpdateRequest(server string, params *APIServicesOpenVPNServerUpdateParams, ...) (*http.Request, error)
- func NewAPIServicesOpenVPNServerUpdateRequestWithBody(server string, params *APIServicesOpenVPNServerUpdateParams, ...) (*http.Request, error)
- func NewAPIServicesReadRequest(server string) (*http.Request, error)
- func NewAPIServicesRestartCreateRequest(server string, body APIServicesRestartCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesRestartCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesSSHdReadRequest(server string) (*http.Request, error)
- func NewAPIServicesSSHdRestartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesSSHdStartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesSSHdStopCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesSSHdUpdateRequest(server string, body APIServicesSSHdUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesSSHdUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesServiceWatchdogReadRequest(server string) (*http.Request, error)
- func NewAPIServicesServiceWatchdogUpdateRequest(server string, body APIServicesServiceWatchdogUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesServiceWatchdogUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesStartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesStopCreateRequest(server string, body APIServicesStopCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesStopCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesSyslogdRestartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesSyslogdStartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesSyslogdStopCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesUnboundAccessListCreateRequest(server string, body APIServicesUnboundAccessListCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesUnboundAccessListCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesUnboundAccessListDeleteRequest(server string, params *APIServicesUnboundAccessListDeleteParams) (*http.Request, error)
- func NewAPIServicesUnboundAccessListReadRequest(server string) (*http.Request, error)
- func NewAPIServicesUnboundAccessListRowCreateRequest(server string, body APIServicesUnboundAccessListRowCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesUnboundAccessListRowCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesUnboundAccessListUpdateRequest(server string, body APIServicesUnboundAccessListUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesUnboundAccessListUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesUnboundApplyCreateRequest(server string, body APIServicesUnboundApplyCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesUnboundApplyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesUnboundApplyReadRequest(server string) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideAliasCreateRequest(server string, body APIServicesUnboundHostOverrideAliasCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideAliasCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideCreateRequest(server string, body APIServicesUnboundHostOverrideCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideDeleteRequest(server string, params *APIServicesUnboundHostOverrideDeleteParams) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideFlushDeleteRequest(server string) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideFlushUpdateRequest(server string, body APIServicesUnboundHostOverrideFlushUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideFlushUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideReadRequest(server string) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideUpdateRequest(server string, body APIServicesUnboundHostOverrideUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesUnboundHostOverrideUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIServicesUnboundReadRequest(server string) (*http.Request, error)
- func NewAPIServicesUnboundRestartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesUnboundStartCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesUnboundStopCreateRequest(server string) (*http.Request, error)
- func NewAPIServicesWOLSendCreateRequest(server string, body APIServicesWOLSendCreateJSONRequestBody) (*http.Request, error)
- func NewAPIServicesWOLSendCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIStatusCARPReadRequest(server string) (*http.Request, error)
- func NewAPIStatusCARPUpdateRequest(server string, body APIStatusCARPUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIStatusCARPUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIStatusGatewayReadRequest(server string) (*http.Request, error)
- func NewAPIStatusIPsecReadRequest(server string) (*http.Request, error)
- func NewAPIStatusInterfaceReadRequest(server string) (*http.Request, error)
- func NewAPIStatusLogConfigHistoryReadRequest(server string) (*http.Request, error)
- func NewAPIStatusLogDHCPReadRequest(server string) (*http.Request, error)
- func NewAPIStatusLogFirewallReadRequest(server string) (*http.Request, error)
- func NewAPIStatusLogSettingsUpdateRequest(server string, body APIStatusLogSettingsUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIStatusLogSettingsUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIStatusLogSystemReadRequest(server string) (*http.Request, error)
- func NewAPIStatusOpenVPNReadRequest(server string) (*http.Request, error)
- func NewAPIStatusSystemReadRequest(server string) (*http.Request, error)
- func NewAPISystemAPIErrorReadRequest(server string) (*http.Request, error)
- func NewAPISystemAPIReadRequest(server string) (*http.Request, error)
- func NewAPISystemAPIUpdateRequest(server string, body APISystemAPIUpdateJSONRequestBody) (*http.Request, error)
- func NewAPISystemAPIUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemAPIVersionReadRequest(server string) (*http.Request, error)
- func NewAPISystemARPDeleteRequest(server string, params *APISystemARPDeleteParams) (*http.Request, error)
- func NewAPISystemARPReadRequest(server string) (*http.Request, error)
- func NewAPISystemCACreateRequest(server string, body APISystemCACreateJSONRequestBody) (*http.Request, error)
- func NewAPISystemCACreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemCADeleteRequest(server string, params *APISystemCADeleteParams) (*http.Request, error)
- func NewAPISystemCAReadRequest(server string) (*http.Request, error)
- func NewAPISystemCRLCreateRequest(server string, body APISystemCRLCreateJSONRequestBody) (*http.Request, error)
- func NewAPISystemCRLCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemCRLDeleteRequest(server string, params *APISystemCRLDeleteParams) (*http.Request, error)
- func NewAPISystemCRLReadRequest(server string) (*http.Request, error)
- func NewAPISystemCertificateCreateRequest(server string, body APISystemCertificateCreateJSONRequestBody) (*http.Request, error)
- func NewAPISystemCertificateCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemCertificateDeleteRequest(server string, params *APISystemCertificateDeleteParams) (*http.Request, error)
- func NewAPISystemCertificateReadRequest(server string) (*http.Request, error)
- func NewAPISystemCertificateUpdateRequest(server string, body APISystemCertificateUpdateJSONRequestBody) (*http.Request, error)
- func NewAPISystemCertificateUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemConfigReadRequest(server string) (*http.Request, error)
- func NewAPISystemConfigUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemConsoleUpdateRequest(server string, body APISystemConsoleUpdateJSONRequestBody) (*http.Request, error)
- func NewAPISystemConsoleUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemDNSReadRequest(server string) (*http.Request, error)
- func NewAPISystemDNSServerCreateRequest(server string, body APISystemDNSServerCreateJSONRequestBody) (*http.Request, error)
- func NewAPISystemDNSServerCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemDNSServerDeleteRequest(server string, params *APISystemDNSServerDeleteParams) (*http.Request, error)
- func NewAPISystemDNSUpdateRequest(server string, body APISystemDNSUpdateJSONRequestBody) (*http.Request, error)
- func NewAPISystemDNSUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemHaltCreateRequest(server string) (*http.Request, error)
- func NewAPISystemHostnameReadRequest(server string) (*http.Request, error)
- func NewAPISystemHostnameUpdateRequest(server string, body APISystemHostnameUpdateJSONRequestBody) (*http.Request, error)
- func NewAPISystemHostnameUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemNotificationsEmailReadRequest(server string) (*http.Request, error)
- func NewAPISystemNotificationsEmailUpdateRequest(server string, body APISystemNotificationsEmailUpdateJSONRequestBody) (*http.Request, error)
- func NewAPISystemNotificationsEmailUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemPackageCreateRequest(server string, body APISystemPackageCreateJSONRequestBody) (*http.Request, error)
- func NewAPISystemPackageCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemPackageDeleteRequest(server string, params *APISystemPackageDeleteParams) (*http.Request, error)
- func NewAPISystemPackageReadRequest(server string, params *APISystemPackageReadParams) (*http.Request, error)
- func NewAPISystemRebootCreateRequest(server string) (*http.Request, error)
- func NewAPISystemTableReadRequest(server string, params *APISystemTableReadParams) (*http.Request, error)
- func NewAPISystemTunableCreateRequest(server string, body APISystemTunableCreateJSONRequestBody) (*http.Request, error)
- func NewAPISystemTunableCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemTunableDeleteRequest(server string, params *APISystemTunableDeleteParams) (*http.Request, error)
- func NewAPISystemTunableReadRequest(server string) (*http.Request, error)
- func NewAPISystemTunableUpdateRequest(server string, body APISystemTunableUpdateJSONRequestBody) (*http.Request, error)
- func NewAPISystemTunableUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPISystemVersionReadRequest(server string) (*http.Request, error)
- func NewAPISystemVersionUpgradeReadRequest(server string, params *APISystemVersionUpgradeReadParams) (*http.Request, error)
- func NewAPIUserAuthServerDeleteRequest(server string, params *APIUserAuthServerDeleteParams) (*http.Request, error)
- func NewAPIUserAuthServerLDAPCreateRequest(server string, body APIUserAuthServerLDAPCreateJSONRequestBody) (*http.Request, error)
- func NewAPIUserAuthServerLDAPCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIUserAuthServerLDAPDeleteRequest(server string, params *APIUserAuthServerLDAPDeleteParams) (*http.Request, error)
- func NewAPIUserAuthServerLDAPReadRequest(server string) (*http.Request, error)
- func NewAPIUserAuthServerRADIUSCreateRequest(server string, body APIUserAuthServerRADIUSCreateJSONRequestBody) (*http.Request, error)
- func NewAPIUserAuthServerRADIUSCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIUserAuthServerRADIUSDeleteRequest(server string, params *APIUserAuthServerRADIUSDeleteParams) (*http.Request, error)
- func NewAPIUserAuthServerRADIUSReadRequest(server string) (*http.Request, error)
- func NewAPIUserAuthServerReadRequest(server string) (*http.Request, error)
- func NewAPIUserCreateRequest(server string, body APIUserCreateJSONRequestBody) (*http.Request, error)
- func NewAPIUserCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIUserDeleteRequest(server string, params *APIUserDeleteParams) (*http.Request, error)
- func NewAPIUserGroupCreateRequest(server string, body APIUserGroupCreateJSONRequestBody) (*http.Request, error)
- func NewAPIUserGroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIUserGroupDeleteRequest(server string, params *APIUserGroupDeleteParams) (*http.Request, error)
- func NewAPIUserGroupMemberCreateRequest(server string, body APIUserGroupMemberCreateJSONRequestBody) (*http.Request, error)
- func NewAPIUserGroupMemberCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIUserGroupMemberDeleteRequest(server string, params *APIUserGroupMemberDeleteParams) (*http.Request, error)
- func NewAPIUserGroupReadRequest(server string) (*http.Request, error)
- func NewAPIUserGroupUpdateRequest(server string, body APIUserGroupUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIUserGroupUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIUserPrivilegeCreateRequest(server string, body APIUserPrivilegeCreateJSONRequestBody) (*http.Request, error)
- func NewAPIUserPrivilegeCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAPIUserPrivilegeDeleteRequest(server string, params *APIUserPrivilegeDeleteParams) (*http.Request, error)
- func NewAPIUserReadRequest(server string) (*http.Request, error)
- func NewAPIUserUpdateRequest(server string, body APIUserUpdateJSONRequestBody) (*http.Request, error)
- func NewAPIUserUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type APIAccessTokenCreateResponse
- type APIDiagnosticsCommandPromptCreateJSONBody
- type APIDiagnosticsCommandPromptCreateJSONRequestBody
- type APIDiagnosticsCommandPromptCreateResponse
- type APIFirewallAliasAdvancedReadResponse
- type APIFirewallAliasAdvancedUpdateJSONBody
- type APIFirewallAliasAdvancedUpdateJSONRequestBody
- type APIFirewallAliasAdvancedUpdateResponse
- type APIFirewallAliasCreateJSONBody
- type APIFirewallAliasCreateJSONBodyType
- type APIFirewallAliasCreateJSONRequestBody
- type APIFirewallAliasCreateResponse
- type APIFirewallAliasDeleteParams
- type APIFirewallAliasDeleteResponse
- type APIFirewallAliasEntryCreateJSONBody
- type APIFirewallAliasEntryCreateJSONRequestBody
- type APIFirewallAliasEntryCreateResponse
- type APIFirewallAliasEntryDeleteParams
- type APIFirewallAliasEntryDeleteResponse
- type APIFirewallAliasReadResponse
- type APIFirewallAliasUpdateJSONBody
- type APIFirewallAliasUpdateJSONBodyType
- type APIFirewallAliasUpdateJSONRequestBody
- type APIFirewallAliasUpdateResponse
- type APIFirewallApplyCreateJSONBody
- type APIFirewallApplyCreateJSONRequestBody
- type APIFirewallApplyCreateResponse
- type APIFirewallNATOneToOneCreateJSONBody
- type APIFirewallNATOneToOneCreateJSONBodyNatreflection
- type APIFirewallNATOneToOneCreateJSONRequestBody
- type APIFirewallNATOneToOneCreateResponse
- type APIFirewallNATOneToOneDeleteParams
- type APIFirewallNATOneToOneDeleteResponse
- type APIFirewallNATOneToOneReadResponse
- type APIFirewallNATOneToOneUpdateJSONBody
- type APIFirewallNATOneToOneUpdateJSONBodyNatreflection
- type APIFirewallNATOneToOneUpdateJSONRequestBody
- type APIFirewallNATOneToOneUpdateResponse
- type APIFirewallNATOutboundMappingCreateJSONBody
- type APIFirewallNATOutboundMappingCreateJSONBodyPoolopts
- type APIFirewallNATOutboundMappingCreateJSONBodyProtocol
- type APIFirewallNATOutboundMappingCreateJSONRequestBody
- type APIFirewallNATOutboundMappingCreateResponse
- type APIFirewallNATOutboundMappingDeleteParams
- type APIFirewallNATOutboundMappingDeleteResponse
- type APIFirewallNATOutboundMappingReadResponse
- type APIFirewallNATOutboundMappingUpdateJSONBody
- type APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts
- type APIFirewallNATOutboundMappingUpdateJSONBodyProtocol
- type APIFirewallNATOutboundMappingUpdateJSONRequestBody
- type APIFirewallNATOutboundMappingUpdateResponse
- type APIFirewallNATOutboundPortForwardCreateJSONBody
- type APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflection
- type APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol
- type APIFirewallNATOutboundPortForwardCreateJSONRequestBody
- type APIFirewallNATOutboundPortForwardCreateResponse
- type APIFirewallNATOutboundPortForwardDeleteParams
- type APIFirewallNATOutboundPortForwardDeleteResponse
- type APIFirewallNATOutboundPortForwardReadResponse
- type APIFirewallNATOutboundPortForwardUpdateJSONBody
- type APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflection
- type APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol
- type APIFirewallNATOutboundPortForwardUpdateJSONRequestBody
- type APIFirewallNATOutboundPortForwardUpdateResponse
- type APIFirewallNATOutboundReadResponse
- type APIFirewallNATOutboundUpdateJSONBody
- type APIFirewallNATOutboundUpdateJSONBodyMode
- type APIFirewallNATOutboundUpdateJSONRequestBody
- type APIFirewallNATOutboundUpdateResponse
- type APIFirewallRuleCreateJSONBody
- type APIFirewallRuleCreateJSONBodyDirection
- type APIFirewallRuleCreateJSONBodyIcmptype
- type APIFirewallRuleCreateJSONBodyIpprotocol
- type APIFirewallRuleCreateJSONBodyProtocol
- type APIFirewallRuleCreateJSONBodyStatetype
- type APIFirewallRuleCreateJSONBodyTcpflags1
- type APIFirewallRuleCreateJSONBodyTcpflags2
- type APIFirewallRuleCreateJSONBodyType
- type APIFirewallRuleCreateJSONRequestBody
- type APIFirewallRuleCreateResponse
- type APIFirewallRuleDeleteParams
- type APIFirewallRuleDeleteResponse
- type APIFirewallRuleFlushDeleteResponse
- type APIFirewallRuleFlushUpdateJSONBody
- type APIFirewallRuleFlushUpdateJSONRequestBody
- type APIFirewallRuleFlushUpdateResponse
- type APIFirewallRuleReadResponse
- type APIFirewallRuleSortUpdateJSONBody
- type APIFirewallRuleSortUpdateJSONBodyOption
- type APIFirewallRuleSortUpdateJSONRequestBody
- type APIFirewallRuleSortUpdateResponse
- type APIFirewallRuleUpdateJSONBody
- type APIFirewallRuleUpdateJSONBodyDirection
- type APIFirewallRuleUpdateJSONBodyIcmptype
- type APIFirewallRuleUpdateJSONBodyIpprotocol
- type APIFirewallRuleUpdateJSONBodyProtocol
- type APIFirewallRuleUpdateJSONBodyStatetype
- type APIFirewallRuleUpdateJSONBodyTcpflags1
- type APIFirewallRuleUpdateJSONBodyTcpflags2
- type APIFirewallRuleUpdateJSONBodyType
- type APIFirewallRuleUpdateJSONRequestBody
- type APIFirewallRuleUpdateResponse
- type APIFirewallScheduleCreateJSONBody
- type APIFirewallScheduleCreateJSONRequestBody
- type APIFirewallScheduleCreateResponse
- type APIFirewallScheduleDeleteParams
- type APIFirewallScheduleDeleteResponse
- type APIFirewallScheduleReadResponse
- type APIFirewallScheduleTimeRangeCreateJSONBody
- type APIFirewallScheduleTimeRangeCreateJSONRequestBody
- type APIFirewallScheduleTimeRangeCreateResponse
- type APIFirewallScheduleTimeRangeDeleteParams
- type APIFirewallScheduleTimeRangeDeleteResponse
- type APIFirewallScheduleUpdateJSONBody
- type APIFirewallScheduleUpdateJSONRequestBody
- type APIFirewallScheduleUpdateResponse
- type APIFirewallStatesDeleteParams
- type APIFirewallStatesDeleteResponse
- type APIFirewallStatesReadResponse
- type APIFirewallStatesSizeReadResponse
- type APIFirewallStatesSizeUpdateJSONBody
- type APIFirewallStatesSizeUpdateJSONRequestBody
- type APIFirewallStatesSizeUpdateResponse
- type APIFirewallTrafficShaperCreateJSONBody
- type APIFirewallTrafficShaperCreateJSONBodyBandwidthtype
- type APIFirewallTrafficShaperCreateJSONBodyScheduler
- type APIFirewallTrafficShaperCreateJSONRequestBody
- type APIFirewallTrafficShaperCreateResponse
- type APIFirewallTrafficShaperDeleteParams
- type APIFirewallTrafficShaperDeleteResponse
- type APIFirewallTrafficShaperLimiterBandwidthCreateJSONBody
- type APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscale
- type APIFirewallTrafficShaperLimiterBandwidthCreateJSONRequestBody
- type APIFirewallTrafficShaperLimiterBandwidthCreateResponse
- type APIFirewallTrafficShaperLimiterBandwidthDeleteParams
- type APIFirewallTrafficShaperLimiterBandwidthDeleteResponse
- type APIFirewallTrafficShaperLimiterCreateJSONBody
- type APIFirewallTrafficShaperLimiterCreateJSONBodyAqm
- type APIFirewallTrafficShaperLimiterCreateJSONBodyMask
- type APIFirewallTrafficShaperLimiterCreateJSONBodySched
- type APIFirewallTrafficShaperLimiterCreateJSONRequestBody
- type APIFirewallTrafficShaperLimiterCreateResponse
- type APIFirewallTrafficShaperLimiterDeleteParams
- type APIFirewallTrafficShaperLimiterDeleteResponse
- type APIFirewallTrafficShaperLimiterQueueCreateJSONBody
- type APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm
- type APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMask
- type APIFirewallTrafficShaperLimiterQueueCreateJSONRequestBody
- type APIFirewallTrafficShaperLimiterQueueCreateResponse
- type APIFirewallTrafficShaperLimiterQueueDeleteParams
- type APIFirewallTrafficShaperLimiterQueueDeleteResponse
- type APIFirewallTrafficShaperLimiterReadResponse
- type APIFirewallTrafficShaperQueueCreateJSONBody
- type APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype
- type APIFirewallTrafficShaperQueueCreateJSONRequestBody
- type APIFirewallTrafficShaperQueueCreateResponse
- type APIFirewallTrafficShaperQueueDeleteParams
- type APIFirewallTrafficShaperQueueDeleteResponse
- type APIFirewallTrafficShaperReadResponse
- type APIFirewallTrafficShaperUpdateJSONBody
- type APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype
- type APIFirewallTrafficShaperUpdateJSONBodyScheduler
- type APIFirewallTrafficShaperUpdateJSONRequestBody
- type APIFirewallTrafficShaperUpdateResponse
- type APIFirewallVirtualIPCreateJSONBody
- type APIFirewallVirtualIPCreateJSONBodyMode
- type APIFirewallVirtualIPCreateJSONRequestBody
- type APIFirewallVirtualIPCreateResponse
- type APIFirewallVirtualIPDeleteParams
- type APIFirewallVirtualIPDeleteResponse
- type APIFirewallVirtualIPReadResponse
- type APIFirewallVirtualIPUpdateJSONBody
- type APIFirewallVirtualIPUpdateJSONBodyMode
- type APIFirewallVirtualIPUpdateJSONRequestBody
- type APIFirewallVirtualIPUpdateResponse
- type APIInterfaceApplyCreateJSONBody
- type APIInterfaceApplyCreateJSONRequestBody
- type APIInterfaceApplyCreateResponse
- type APIInterfaceApplyReadResponse
- type APIInterfaceAvailableReadResponse
- type APIInterfaceBridgeCreateJSONBody
- type APIInterfaceBridgeCreateJSONRequestBody
- type APIInterfaceBridgeCreateResponse
- type APIInterfaceBridgeDeleteParams
- type APIInterfaceBridgeDeleteResponse
- type APIInterfaceBridgeReadResponse
- type APIInterfaceBridgeUpdateJSONBody
- type APIInterfaceBridgeUpdateJSONRequestBody
- type APIInterfaceBridgeUpdateResponse
- type APIInterfaceCreateJSONBody
- type APIInterfaceCreateJSONBodyDhcpcvpt
- type APIInterfaceCreateJSONBodyType
- type APIInterfaceCreateJSONBodyType6
- type APIInterfaceCreateJSONRequestBody
- type APIInterfaceCreateResponse
- type APIInterfaceDeleteParams
- type APIInterfaceDeleteResponse
- type APIInterfaceGroupCreateJSONBody
- type APIInterfaceGroupCreateJSONRequestBody
- type APIInterfaceGroupCreateResponse
- type APIInterfaceGroupDeleteParams
- type APIInterfaceGroupDeleteResponse
- type APIInterfaceGroupReadResponse
- type APIInterfaceGroupUpdateJSONBody
- type APIInterfaceGroupUpdateJSONRequestBody
- type APIInterfaceGroupUpdateResponse
- type APIInterfaceReadResponse
- type APIInterfaceUpdateJSONBody
- type APIInterfaceUpdateJSONBodyDhcpcvpt
- type APIInterfaceUpdateJSONBodyType
- type APIInterfaceUpdateJSONBodyType6
- type APIInterfaceUpdateJSONRequestBody
- type APIInterfaceUpdateResponse
- type APIInterfaceVLANCreateJSONBody
- type APIInterfaceVLANCreateJSONRequestBody
- type APIInterfaceVLANCreateResponse
- type APIInterfaceVLANDeleteParams
- type APIInterfaceVLANDeleteResponse
- type APIInterfaceVLANReadResponse
- type APIInterfaceVLANUpdateJSONBody
- type APIInterfaceVLANUpdateJSONRequestBody
- type APIInterfaceVLANUpdateResponse
- type APIRoutingApplyCreateResponse
- type APIRoutingGatewayCreateJSONBody
- type APIRoutingGatewayCreateJSONBodyIpprotocol
- type APIRoutingGatewayCreateJSONRequestBody
- type APIRoutingGatewayCreateResponse
- type APIRoutingGatewayDefaultUpdateJSONBody
- type APIRoutingGatewayDefaultUpdateJSONRequestBody
- type APIRoutingGatewayDefaultUpdateResponse
- type APIRoutingGatewayDeleteParams
- type APIRoutingGatewayDeleteResponse
- type APIRoutingGatewayDetailReadResponse
- type APIRoutingGatewayReadResponse
- type APIRoutingGatewayUpdateJSONBody
- type APIRoutingGatewayUpdateJSONBodyIpprotocol
- type APIRoutingGatewayUpdateJSONRequestBody
- type APIRoutingGatewayUpdateResponse
- type APIRoutingStaticRouteCreateJSONBody
- type APIRoutingStaticRouteCreateJSONRequestBody
- type APIRoutingStaticRouteCreateResponse
- type APIRoutingStaticRouteDeleteParams
- type APIRoutingStaticRouteDeleteResponse
- type APIRoutingStaticRouteReadResponse
- type APIRoutingStaticRouteUpdateJSONBody
- type APIRoutingStaticRouteUpdateJSONRequestBody
- type APIRoutingStaticRouteUpdateResponse
- type APIServicesDDNSReadResponse
- type APIServicesDHCPdLeaseReadResponse
- type APIServicesDHCPdOptionsCreateJSONBody
- type APIServicesDHCPdOptionsCreateJSONBodyType
- type APIServicesDHCPdOptionsCreateJSONBodyValue0
- type APIServicesDHCPdOptionsCreateJSONBodyValue1
- type APIServicesDHCPdOptionsCreateJSONBodyValue2
- type APIServicesDHCPdOptionsCreateJSONBody_Value
- type APIServicesDHCPdOptionsCreateJSONRequestBody
- type APIServicesDHCPdOptionsCreateResponse
- type APIServicesDHCPdReadResponse
- type APIServicesDHCPdRestartCreateResponse
- type APIServicesDHCPdStartCreateResponse
- type APIServicesDHCPdStaticMappingCreateJSONBody
- type APIServicesDHCPdStaticMappingCreateJSONRequestBody
- type APIServicesDHCPdStaticMappingCreateResponse
- type APIServicesDHCPdStaticMappingDeleteParams
- type APIServicesDHCPdStaticMappingDeleteResponse
- type APIServicesDHCPdStaticMappingReadParams
- type APIServicesDHCPdStaticMappingReadResponse
- type APIServicesDHCPdStaticMappingUpdateJSONBody
- type APIServicesDHCPdStaticMappingUpdateJSONRequestBody
- type APIServicesDHCPdStaticMappingUpdateResponse
- type APIServicesDHCPdStopCreateResponse
- type APIServicesDHCPdUpdateJSONBody
- type APIServicesDHCPdUpdateJSONBodyDefaultleasetime0
- type APIServicesDHCPdUpdateJSONBodyDefaultleasetime1
- type APIServicesDHCPdUpdateJSONBodyMaxleasetime0
- type APIServicesDHCPdUpdateJSONBodyMaxleasetime1
- type APIServicesDHCPdUpdateJSONBodyNumberoptionsValue0
- type APIServicesDHCPdUpdateJSONBodyNumberoptionsValue1
- type APIServicesDHCPdUpdateJSONBodyNumberoptionsValue2
- type APIServicesDHCPdUpdateJSONBody_Defaultleasetime
- type APIServicesDHCPdUpdateJSONBody_Maxleasetime
- type APIServicesDHCPdUpdateJSONBody_Numberoptions_Value
- type APIServicesDHCPdUpdateJSONRequestBody
- type APIServicesDHCPdUpdateResponse
- type APIServicesDnsmasqApplyCreateResponse
- type APIServicesDnsmasqHostOverrideAliasCreateJSONBody
- type APIServicesDnsmasqHostOverrideAliasCreateJSONRequestBody
- type APIServicesDnsmasqHostOverrideAliasCreateResponse
- type APIServicesDnsmasqHostOverrideCreateJSONBody
- type APIServicesDnsmasqHostOverrideCreateJSONRequestBody
- type APIServicesDnsmasqHostOverrideCreateResponse
- type APIServicesDnsmasqHostOverrideDeleteParams
- type APIServicesDnsmasqHostOverrideDeleteResponse
- type APIServicesDnsmasqHostOverrideReadResponse
- type APIServicesDnsmasqHostOverrideUpdateJSONBody
- type APIServicesDnsmasqHostOverrideUpdateJSONRequestBody
- type APIServicesDnsmasqHostOverrideUpdateResponse
- type APIServicesDnsmasqReadResponse
- type APIServicesDnsmasqRestartCreateResponse
- type APIServicesDnsmasqStartCreateResponse
- type APIServicesDnsmasqStopCreateResponse
- type APIServicesDpingerRestartCreateResponse
- type APIServicesDpingerStartCreateResponse
- type APIServicesDpingerStopCreateResponse
- type APIServicesIPsecApplyCreateJSONBody
- type APIServicesIPsecApplyCreateJSONRequestBody
- type APIServicesIPsecApplyCreateResponse
- type APIServicesIPsecPhase1CreateJSONBody
- type APIServicesIPsecPhase1CreateJSONBodyAuthenticationMethod
- type APIServicesIPsecPhase1CreateJSONBodyCloseaction
- type APIServicesIPsecPhase1CreateJSONBodyIketype
- type APIServicesIPsecPhase1CreateJSONBodyMode
- type APIServicesIPsecPhase1CreateJSONBodyMyidType
- type APIServicesIPsecPhase1CreateJSONBodyNattraversal
- type APIServicesIPsecPhase1CreateJSONBodyPeeridType
- type APIServicesIPsecPhase1CreateJSONBodyProtocol
- type APIServicesIPsecPhase1CreateJSONBodyStartaction
- type APIServicesIPsecPhase1CreateJSONRequestBody
- type APIServicesIPsecPhase1CreateResponse
- type APIServicesIPsecPhase1DeleteParams
- type APIServicesIPsecPhase1DeleteResponse
- type APIServicesIPsecPhase1EncryptionCreateJSONBody
- type APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup
- type APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm
- type APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm
- type APIServicesIPsecPhase1EncryptionCreateJSONRequestBody
- type APIServicesIPsecPhase1EncryptionCreateResponse
- type APIServicesIPsecPhase1ReadResponse
- type APIServicesIPsecPhase1UpdateJSONBody
- type APIServicesIPsecPhase1UpdateJSONBodyAuthenticationMethod
- type APIServicesIPsecPhase1UpdateJSONBodyCloseaction
- type APIServicesIPsecPhase1UpdateJSONBodyIketype
- type APIServicesIPsecPhase1UpdateJSONBodyMode
- type APIServicesIPsecPhase1UpdateJSONBodyMyidType
- type APIServicesIPsecPhase1UpdateJSONBodyNattraversal
- type APIServicesIPsecPhase1UpdateJSONBodyPeeridType
- type APIServicesIPsecPhase1UpdateJSONBodyProtocol
- type APIServicesIPsecPhase1UpdateJSONBodyStartaction
- type APIServicesIPsecPhase1UpdateJSONRequestBody
- type APIServicesIPsecPhase1UpdateResponse
- type APIServicesIPsecPhase2CreateJSONBody
- type APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption
- type APIServicesIPsecPhase2CreateJSONBodyMode
- type APIServicesIPsecPhase2CreateJSONBodyPfsgroup
- type APIServicesIPsecPhase2CreateJSONBodyProtocol
- type APIServicesIPsecPhase2CreateJSONRequestBody
- type APIServicesIPsecPhase2CreateResponse
- type APIServicesIPsecPhase2DeleteParams
- type APIServicesIPsecPhase2DeleteResponse
- type APIServicesIPsecPhase2ReadResponse
- type APIServicesIPsecPhase2UpdateJSONBody
- type APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption
- type APIServicesIPsecPhase2UpdateJSONBodyMode
- type APIServicesIPsecPhase2UpdateJSONBodyPfsgroup
- type APIServicesIPsecPhase2UpdateJSONBodyProtocol
- type APIServicesIPsecPhase2UpdateJSONRequestBody
- type APIServicesIPsecPhase2UpdateResponse
- type APIServicesNTPdReadResponse
- type APIServicesNTPdRestartCreateResponse
- type APIServicesNTPdStartCreateResponse
- type APIServicesNTPdStopCreateResponse
- type APIServicesNTPdTimeServerCreateJSONBody
- type APIServicesNTPdTimeServerCreateJSONRequestBody
- type APIServicesNTPdTimeServerCreateResponse
- type APIServicesNTPdTimeServerDeleteParams
- type APIServicesNTPdTimeServerDeleteResponse
- type APIServicesNTPdUpdateJSONBody
- type APIServicesNTPdUpdateJSONRequestBody
- type APIServicesNTPdUpdateResponse
- type APIServicesOpenVPNClientCreateJSONBody
- type APIServicesOpenVPNClientCreateJSONBodyCompression
- type APIServicesOpenVPNClientCreateJSONBodyCreateGw
- type APIServicesOpenVPNClientCreateJSONBodyDevMode
- type APIServicesOpenVPNClientCreateJSONBodyDigest
- type APIServicesOpenVPNClientCreateJSONBodyExitNotify
- type APIServicesOpenVPNClientCreateJSONBodyMode
- type APIServicesOpenVPNClientCreateJSONBodyPingAction
- type APIServicesOpenVPNClientCreateJSONBodyPingMethod
- type APIServicesOpenVPNClientCreateJSONBodyProtocol
- type APIServicesOpenVPNClientCreateJSONBodySndrcvbuf
- type APIServicesOpenVPNClientCreateJSONBodyTlsType
- type APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydir
- type APIServicesOpenVPNClientCreateJSONBodyTopology
- type APIServicesOpenVPNClientCreateJSONBodyVerbosityLevel0
- type APIServicesOpenVPNClientCreateJSONBodyVerbosityLevel1
- type APIServicesOpenVPNClientCreateJSONBody_VerbosityLevel
- type APIServicesOpenVPNClientCreateJSONRequestBody
- type APIServicesOpenVPNClientCreateResponse
- type APIServicesOpenVPNClientReadResponse
- type APIServicesOpenVPNClientSpecificOverridesCreateJSONBody
- type APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeType
- type APIServicesOpenVPNClientSpecificOverridesCreateJSONRequestBody
- type APIServicesOpenVPNClientSpecificOverridesCreateResponse
- type APIServicesOpenVPNClientSpecificOverridesDeleteParams
- type APIServicesOpenVPNClientSpecificOverridesDeleteResponse
- type APIServicesOpenVPNClientSpecificOverridesReadResponse
- type APIServicesOpenVPNClientSpecificOverridesUpdateJSONBody
- type APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeType
- type APIServicesOpenVPNClientSpecificOverridesUpdateJSONRequestBody
- type APIServicesOpenVPNClientSpecificOverridesUpdateResponse
- type APIServicesOpenVPNClientUpdateJSONBody
- type APIServicesOpenVPNClientUpdateJSONBodyAllowCompression
- type APIServicesOpenVPNClientUpdateJSONBodyCertDepth
- type APIServicesOpenVPNClientUpdateJSONBodyCompression
- type APIServicesOpenVPNClientUpdateJSONBodyCreateGw
- type APIServicesOpenVPNClientUpdateJSONBodyDevMode
- type APIServicesOpenVPNClientUpdateJSONBodyDhLength0
- type APIServicesOpenVPNClientUpdateJSONBodyDhLength1
- type APIServicesOpenVPNClientUpdateJSONBodyDigest
- type APIServicesOpenVPNClientUpdateJSONBodyEcdhCurve
- type APIServicesOpenVPNClientUpdateJSONBodyExitNotify
- type APIServicesOpenVPNClientUpdateJSONBodyMode
- type APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeType
- type APIServicesOpenVPNClientUpdateJSONBodyPingAction
- type APIServicesOpenVPNClientUpdateJSONBodyPingMethod
- type APIServicesOpenVPNClientUpdateJSONBodyProtocol
- type APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterface
- type APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf
- type APIServicesOpenVPNClientUpdateJSONBodyTlsType
- type APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydir
- type APIServicesOpenVPNClientUpdateJSONBodyTopology
- type APIServicesOpenVPNClientUpdateJSONBodyVerbosityLevel0
- type APIServicesOpenVPNClientUpdateJSONBodyVerbosityLevel1
- type APIServicesOpenVPNClientUpdateJSONBody_DhLength
- type APIServicesOpenVPNClientUpdateJSONBody_VerbosityLevel
- type APIServicesOpenVPNClientUpdateJSONRequestBody
- type APIServicesOpenVPNClientUpdateParams
- type APIServicesOpenVPNClientUpdateParamsVpnid0
- type APIServicesOpenVPNClientUpdateParamsVpnid1
- type APIServicesOpenVPNClientUpdateResponse
- type APIServicesOpenVPNServerCreateJSONBody
- type APIServicesOpenVPNServerCreateJSONBodyAllowCompression
- type APIServicesOpenVPNServerCreateJSONBodyCertDepth
- type APIServicesOpenVPNServerCreateJSONBodyCompression
- type APIServicesOpenVPNServerCreateJSONBodyCreateGw
- type APIServicesOpenVPNServerCreateJSONBodyDevMode
- type APIServicesOpenVPNServerCreateJSONBodyDhLength0
- type APIServicesOpenVPNServerCreateJSONBodyDhLength1
- type APIServicesOpenVPNServerCreateJSONBodyDigest
- type APIServicesOpenVPNServerCreateJSONBodyEcdhCurve
- type APIServicesOpenVPNServerCreateJSONBodyExitNotify
- type APIServicesOpenVPNServerCreateJSONBodyMode
- type APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeType
- type APIServicesOpenVPNServerCreateJSONBodyPingAction
- type APIServicesOpenVPNServerCreateJSONBodyPingMethod
- type APIServicesOpenVPNServerCreateJSONBodyProtocol
- type APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterface
- type APIServicesOpenVPNServerCreateJSONBodySndrcvbuf
- type APIServicesOpenVPNServerCreateJSONBodyTlsType
- type APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydir
- type APIServicesOpenVPNServerCreateJSONBodyTopology
- type APIServicesOpenVPNServerCreateJSONBodyVerbosityLevel0
- type APIServicesOpenVPNServerCreateJSONBodyVerbosityLevel1
- type APIServicesOpenVPNServerCreateJSONBody_DhLength
- type APIServicesOpenVPNServerCreateJSONBody_VerbosityLevel
- type APIServicesOpenVPNServerCreateJSONRequestBody
- type APIServicesOpenVPNServerCreateResponse
- type APIServicesOpenVPNServerReadResponse
- type APIServicesOpenVPNServerUpdateJSONBody
- type APIServicesOpenVPNServerUpdateJSONBodyAllowCompression
- type APIServicesOpenVPNServerUpdateJSONBodyCertDepth
- type APIServicesOpenVPNServerUpdateJSONBodyCompression
- type APIServicesOpenVPNServerUpdateJSONBodyCreateGw
- type APIServicesOpenVPNServerUpdateJSONBodyDevMode
- type APIServicesOpenVPNServerUpdateJSONBodyDhLength0
- type APIServicesOpenVPNServerUpdateJSONBodyDhLength1
- type APIServicesOpenVPNServerUpdateJSONBodyDigest
- type APIServicesOpenVPNServerUpdateJSONBodyEcdhCurve
- type APIServicesOpenVPNServerUpdateJSONBodyExitNotify
- type APIServicesOpenVPNServerUpdateJSONBodyMode
- type APIServicesOpenVPNServerUpdateJSONBodyNetbiosNodeType
- type APIServicesOpenVPNServerUpdateJSONBodyPingAction
- type APIServicesOpenVPNServerUpdateJSONBodyPingMethod
- type APIServicesOpenVPNServerUpdateJSONBodyProtocol
- type APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterface
- type APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf
- type APIServicesOpenVPNServerUpdateJSONBodyTlsType
- type APIServicesOpenVPNServerUpdateJSONBodyTlsauthKeydir
- type APIServicesOpenVPNServerUpdateJSONBodyTopology
- type APIServicesOpenVPNServerUpdateJSONBodyVerbosityLevel0
- type APIServicesOpenVPNServerUpdateJSONBodyVerbosityLevel1
- type APIServicesOpenVPNServerUpdateJSONBody_DhLength
- type APIServicesOpenVPNServerUpdateJSONBody_VerbosityLevel
- type APIServicesOpenVPNServerUpdateJSONRequestBody
- type APIServicesOpenVPNServerUpdateParams
- type APIServicesOpenVPNServerUpdateParamsVpnid0
- type APIServicesOpenVPNServerUpdateParamsVpnid1
- type APIServicesOpenVPNServerUpdateResponse
- type APIServicesReadResponse
- type APIServicesRestartCreateJSONBody
- type APIServicesRestartCreateJSONRequestBody
- type APIServicesRestartCreateResponse
- type APIServicesSSHdReadResponse
- type APIServicesSSHdRestartCreateResponse
- type APIServicesSSHdStartCreateResponse
- type APIServicesSSHdStopCreateResponse
- type APIServicesSSHdUpdateJSONBody
- type APIServicesSSHdUpdateJSONBodySshdkeyonly
- type APIServicesSSHdUpdateJSONRequestBody
- type APIServicesSSHdUpdateResponse
- type APIServicesServiceWatchdogReadResponse
- type APIServicesServiceWatchdogUpdateJSONBody
- type APIServicesServiceWatchdogUpdateJSONRequestBody
- type APIServicesServiceWatchdogUpdateResponse
- type APIServicesStartCreateResponse
- type APIServicesStopCreateJSONBody
- type APIServicesStopCreateJSONRequestBody
- type APIServicesStopCreateResponse
- type APIServicesSyslogdRestartCreateResponse
- type APIServicesSyslogdStartCreateResponse
- type APIServicesSyslogdStopCreateResponse
- type APIServicesUnboundAccessListCreateJSONBody
- type APIServicesUnboundAccessListCreateJSONBodyAclaction
- type APIServicesUnboundAccessListCreateJSONRequestBody
- type APIServicesUnboundAccessListCreateResponse
- type APIServicesUnboundAccessListDeleteParams
- type APIServicesUnboundAccessListDeleteResponse
- type APIServicesUnboundAccessListReadResponse
- type APIServicesUnboundAccessListRowCreateJSONBody
- type APIServicesUnboundAccessListRowCreateJSONRequestBody
- type APIServicesUnboundAccessListRowCreateResponse
- type APIServicesUnboundAccessListUpdateJSONBody
- type APIServicesUnboundAccessListUpdateJSONBodyAclaction
- type APIServicesUnboundAccessListUpdateJSONRequestBody
- type APIServicesUnboundAccessListUpdateResponse
- type APIServicesUnboundApplyCreateJSONBody
- type APIServicesUnboundApplyCreateJSONRequestBody
- type APIServicesUnboundApplyCreateResponse
- type APIServicesUnboundApplyReadResponse
- type APIServicesUnboundHostOverrideAliasCreateJSONBody
- type APIServicesUnboundHostOverrideAliasCreateJSONRequestBody
- type APIServicesUnboundHostOverrideAliasCreateResponse
- type APIServicesUnboundHostOverrideCreateJSONBody
- type APIServicesUnboundHostOverrideCreateJSONRequestBody
- type APIServicesUnboundHostOverrideCreateResponse
- type APIServicesUnboundHostOverrideDeleteParams
- type APIServicesUnboundHostOverrideDeleteResponse
- type APIServicesUnboundHostOverrideFlushDeleteResponse
- type APIServicesUnboundHostOverrideFlushUpdateJSONBody
- type APIServicesUnboundHostOverrideFlushUpdateJSONRequestBody
- type APIServicesUnboundHostOverrideFlushUpdateResponse
- type APIServicesUnboundHostOverrideReadResponse
- type APIServicesUnboundHostOverrideUpdateJSONBody
- type APIServicesUnboundHostOverrideUpdateJSONRequestBody
- type APIServicesUnboundHostOverrideUpdateResponse
- type APIServicesUnboundReadResponse
- type APIServicesUnboundRestartCreateResponse
- type APIServicesUnboundStartCreateResponse
- type APIServicesUnboundStopCreateResponse
- type APIServicesWOLSendCreateJSONBody
- type APIServicesWOLSendCreateJSONRequestBody
- type APIServicesWOLSendCreateResponse
- type APIStatusCARPReadResponse
- type APIStatusCARPUpdateJSONBody
- type APIStatusCARPUpdateJSONRequestBody
- type APIStatusCARPUpdateResponse
- type APIStatusGatewayReadResponse
- type APIStatusIPsecReadResponse
- type APIStatusInterfaceReadResponse
- type APIStatusLogConfigHistoryReadResponse
- type APIStatusLogDHCPReadResponse
- type APIStatusLogFirewallReadResponse
- type APIStatusLogSettingsUpdateJSONBody
- type APIStatusLogSettingsUpdateJSONBodyFilterdescriptions
- type APIStatusLogSettingsUpdateJSONBodyFormat
- type APIStatusLogSettingsUpdateJSONBodyIpprotocol
- type APIStatusLogSettingsUpdateJSONBodyLogcompressiontype
- type APIStatusLogSettingsUpdateJSONRequestBody
- type APIStatusLogSettingsUpdateResponse
- type APIStatusLogSystemReadResponse
- type APIStatusOpenVPNReadResponse
- type APIStatusSystemReadResponse
- type APISystemAPIErrorReadResponse
- type APISystemAPIReadResponse
- type APISystemAPIUpdateJSONBody
- type APISystemAPIUpdateJSONBodyAuthmode
- type APISystemAPIUpdateJSONBodyKeybytes
- type APISystemAPIUpdateJSONBodyKeyhash
- type APISystemAPIUpdateJSONRequestBody
- type APISystemAPIUpdateResponse
- type APISystemAPIVersionReadResponse
- type APISystemARPDeleteParams
- type APISystemARPDeleteResponse
- type APISystemARPReadResponse
- type APISystemCACreateJSONBody
- type APISystemCACreateJSONBodyDigestAlg
- type APISystemCACreateJSONBodyKeylen
- type APISystemCACreateJSONBodyKeytype
- type APISystemCACreateJSONBodyMethod
- type APISystemCACreateJSONRequestBody
- type APISystemCACreateResponse
- type APISystemCADeleteParams
- type APISystemCADeleteResponse
- type APISystemCAReadResponse
- type APISystemCRLCreateJSONBody
- type APISystemCRLCreateJSONBodyMethod
- type APISystemCRLCreateJSONRequestBody
- type APISystemCRLCreateResponse
- type APISystemCRLDeleteParams
- type APISystemCRLDeleteResponse
- type APISystemCRLReadResponse
- type APISystemCertificateCreateJSONBody
- type APISystemCertificateCreateJSONBodyDigestAlg
- type APISystemCertificateCreateJSONBodyKeylen
- type APISystemCertificateCreateJSONBodyKeytype
- type APISystemCertificateCreateJSONBodyMethod
- type APISystemCertificateCreateJSONBodyType
- type APISystemCertificateCreateJSONRequestBody
- type APISystemCertificateCreateResponse
- type APISystemCertificateDeleteParams
- type APISystemCertificateDeleteResponse
- type APISystemCertificateReadResponse
- type APISystemCertificateUpdateJSONBody
- type APISystemCertificateUpdateJSONRequestBody
- type APISystemCertificateUpdateResponse
- type APISystemConfigReadResponse
- type APISystemConfigUpdateResponse
- type APISystemConsoleUpdateJSONBody
- type APISystemConsoleUpdateJSONRequestBody
- type APISystemConsoleUpdateResponse
- type APISystemDNSReadResponse
- type APISystemDNSServerCreateJSONBody
- type APISystemDNSServerCreateJSONRequestBody
- type APISystemDNSServerCreateResponse
- type APISystemDNSServerDeleteParams
- type APISystemDNSServerDeleteResponse
- type APISystemDNSUpdateJSONBody
- type APISystemDNSUpdateJSONRequestBody
- type APISystemDNSUpdateResponse
- type APISystemHaltCreateResponse
- type APISystemHostnameReadResponse
- type APISystemHostnameUpdateJSONBody
- type APISystemHostnameUpdateJSONRequestBody
- type APISystemHostnameUpdateResponse
- type APISystemNotificationsEmailReadResponse
- type APISystemNotificationsEmailUpdateJSONBody
- type APISystemNotificationsEmailUpdateJSONBodyAuthenticationMechanism
- type APISystemNotificationsEmailUpdateJSONRequestBody
- type APISystemNotificationsEmailUpdateResponse
- type APISystemPackageCreateJSONBody
- type APISystemPackageCreateJSONRequestBody
- type APISystemPackageCreateResponse
- type APISystemPackageDeleteParams
- type APISystemPackageDeleteResponse
- type APISystemPackageReadParams
- type APISystemPackageReadResponse
- type APISystemRebootCreateResponse
- type APISystemTableReadParams
- type APISystemTableReadResponse
- type APISystemTunableCreateJSONBody
- type APISystemTunableCreateJSONRequestBody
- type APISystemTunableCreateResponse
- type APISystemTunableDeleteParams
- type APISystemTunableDeleteResponse
- type APISystemTunableReadResponse
- type APISystemTunableUpdateJSONBody
- type APISystemTunableUpdateJSONRequestBody
- type APISystemTunableUpdateResponse
- type APISystemVersionReadResponse
- type APISystemVersionUpgradeReadParams
- type APISystemVersionUpgradeReadResponse
- type APIUserAuthServerDeleteParams
- type APIUserAuthServerDeleteResponse
- type APIUserAuthServerLDAPCreateJSONBody
- type APIUserAuthServerLDAPCreateJSONBodyLdapProtver
- type APIUserAuthServerLDAPCreateJSONBodyLdapScope
- type APIUserAuthServerLDAPCreateJSONBodyLdapUrltype
- type APIUserAuthServerLDAPCreateJSONRequestBody
- type APIUserAuthServerLDAPCreateResponse
- type APIUserAuthServerLDAPDeleteParams
- type APIUserAuthServerLDAPDeleteResponse
- type APIUserAuthServerLDAPReadResponse
- type APIUserAuthServerRADIUSCreateJSONBody
- type APIUserAuthServerRADIUSCreateJSONBodyRadiusProtocol
- type APIUserAuthServerRADIUSCreateJSONRequestBody
- type APIUserAuthServerRADIUSCreateResponse
- type APIUserAuthServerRADIUSDeleteParams
- type APIUserAuthServerRADIUSDeleteResponse
- type APIUserAuthServerRADIUSReadResponse
- type APIUserAuthServerReadResponse
- type APIUserCreateJSONBody
- type APIUserCreateJSONRequestBody
- type APIUserCreateResponse
- type APIUserDeleteParams
- type APIUserDeleteResponse
- type APIUserGroupCreateJSONBody
- type APIUserGroupCreateJSONBodyScope
- type APIUserGroupCreateJSONRequestBody
- type APIUserGroupCreateResponse
- type APIUserGroupDeleteParams
- type APIUserGroupDeleteResponse
- type APIUserGroupMemberCreateJSONBody
- type APIUserGroupMemberCreateJSONRequestBody
- type APIUserGroupMemberCreateResponse
- type APIUserGroupMemberDeleteParams
- type APIUserGroupMemberDeleteResponse
- type APIUserGroupReadResponse
- type APIUserGroupUpdateJSONBody
- type APIUserGroupUpdateJSONBodyScope
- type APIUserGroupUpdateJSONRequestBody
- type APIUserGroupUpdateResponse
- type APIUserPrivilegeCreateJSONBody
- type APIUserPrivilegeCreateJSONRequestBody
- type APIUserPrivilegeCreateResponse
- type APIUserPrivilegeDeleteParams
- type APIUserPrivilegeDeleteResponse
- type APIUserReadResponse
- type APIUserUpdateJSONBody
- type APIUserUpdateJSONRequestBody
- type APIUserUpdateResponse
- type AuthenticationFailed
- type Client
- func (c *Client) APIAccessTokenCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIDiagnosticsCommandPromptCreate(ctx context.Context, body APIDiagnosticsCommandPromptCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIDiagnosticsCommandPromptCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallAliasAdvancedRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallAliasAdvancedUpdate(ctx context.Context, body APIFirewallAliasAdvancedUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallAliasAdvancedUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallAliasCreate(ctx context.Context, body APIFirewallAliasCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallAliasCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallAliasDelete(ctx context.Context, params *APIFirewallAliasDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallAliasEntryCreate(ctx context.Context, body APIFirewallAliasEntryCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallAliasEntryCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallAliasEntryDelete(ctx context.Context, params *APIFirewallAliasEntryDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallAliasRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallAliasUpdate(ctx context.Context, body APIFirewallAliasUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallAliasUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallApplyCreate(ctx context.Context, body APIFirewallApplyCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallApplyCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOneToOneCreate(ctx context.Context, body APIFirewallNATOneToOneCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOneToOneCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOneToOneDelete(ctx context.Context, params *APIFirewallNATOneToOneDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOneToOneRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallNATOneToOneUpdate(ctx context.Context, body APIFirewallNATOneToOneUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOneToOneUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundMappingCreate(ctx context.Context, body APIFirewallNATOutboundMappingCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundMappingCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundMappingDelete(ctx context.Context, params *APIFirewallNATOutboundMappingDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundMappingRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundMappingUpdate(ctx context.Context, body APIFirewallNATOutboundMappingUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundMappingUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundPortForwardCreate(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundPortForwardCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundPortForwardDelete(ctx context.Context, params *APIFirewallNATOutboundPortForwardDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundPortForwardRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundPortForwardUpdate(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundPortForwardUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundUpdate(ctx context.Context, body APIFirewallNATOutboundUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallNATOutboundUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallRuleCreate(ctx context.Context, body APIFirewallRuleCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallRuleDelete(ctx context.Context, params *APIFirewallRuleDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallRuleFlushDelete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallRuleFlushUpdate(ctx context.Context, body APIFirewallRuleFlushUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallRuleFlushUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallRuleRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallRuleSortUpdate(ctx context.Context, body APIFirewallRuleSortUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallRuleSortUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallRuleUpdate(ctx context.Context, body APIFirewallRuleUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallRuleUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallScheduleCreate(ctx context.Context, body APIFirewallScheduleCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallScheduleCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallScheduleDelete(ctx context.Context, params *APIFirewallScheduleDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallScheduleRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallScheduleTimeRangeCreate(ctx context.Context, body APIFirewallScheduleTimeRangeCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallScheduleTimeRangeCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallScheduleTimeRangeDelete(ctx context.Context, params *APIFirewallScheduleTimeRangeDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallScheduleUpdate(ctx context.Context, body APIFirewallScheduleUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallScheduleUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallStatesDelete(ctx context.Context, params *APIFirewallStatesDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallStatesRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallStatesSizeRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallStatesSizeUpdate(ctx context.Context, body APIFirewallStatesSizeUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallStatesSizeUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperCreate(ctx context.Context, body APIFirewallTrafficShaperCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperDelete(ctx context.Context, params *APIFirewallTrafficShaperDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperLimiterBandwidthCreate(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperLimiterBandwidthCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperLimiterBandwidthDelete(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperLimiterCreate(ctx context.Context, body APIFirewallTrafficShaperLimiterCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperLimiterCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperLimiterDelete(ctx context.Context, params *APIFirewallTrafficShaperLimiterDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperLimiterQueueCreate(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperLimiterQueueCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperLimiterQueueDelete(ctx context.Context, params *APIFirewallTrafficShaperLimiterQueueDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperLimiterRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperQueueCreate(ctx context.Context, body APIFirewallTrafficShaperQueueCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperQueueCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperQueueDelete(ctx context.Context, params *APIFirewallTrafficShaperQueueDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperUpdate(ctx context.Context, body APIFirewallTrafficShaperUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallTrafficShaperUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallVirtualIPCreate(ctx context.Context, body APIFirewallVirtualIPCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallVirtualIPCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIFirewallVirtualIPDelete(ctx context.Context, params *APIFirewallVirtualIPDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIFirewallVirtualIPRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIFirewallVirtualIPUpdate(ctx context.Context, body APIFirewallVirtualIPUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIFirewallVirtualIPUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIInterfaceApplyCreate(ctx context.Context, body APIInterfaceApplyCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIInterfaceApplyCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIInterfaceApplyRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIInterfaceAvailableRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIInterfaceBridgeCreate(ctx context.Context, body APIInterfaceBridgeCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIInterfaceBridgeCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIInterfaceBridgeDelete(ctx context.Context, params *APIInterfaceBridgeDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIInterfaceBridgeRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIInterfaceBridgeUpdate(ctx context.Context, body APIInterfaceBridgeUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIInterfaceBridgeUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIInterfaceCreate(ctx context.Context, body APIInterfaceCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIInterfaceCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIInterfaceDelete(ctx context.Context, params *APIInterfaceDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIInterfaceGroupCreate(ctx context.Context, body APIInterfaceGroupCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIInterfaceGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIInterfaceGroupDelete(ctx context.Context, params *APIInterfaceGroupDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIInterfaceGroupRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIInterfaceGroupUpdate(ctx context.Context, body APIInterfaceGroupUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIInterfaceGroupUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIInterfaceRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIInterfaceUpdate(ctx context.Context, body APIInterfaceUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIInterfaceUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIInterfaceVLANCreate(ctx context.Context, body APIInterfaceVLANCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIInterfaceVLANCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIInterfaceVLANDelete(ctx context.Context, params *APIInterfaceVLANDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIInterfaceVLANRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIInterfaceVLANUpdate(ctx context.Context, body APIInterfaceVLANUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIInterfaceVLANUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIRoutingApplyCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIRoutingGatewayCreate(ctx context.Context, body APIRoutingGatewayCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIRoutingGatewayCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIRoutingGatewayDefaultUpdate(ctx context.Context, body APIRoutingGatewayDefaultUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIRoutingGatewayDefaultUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIRoutingGatewayDelete(ctx context.Context, params *APIRoutingGatewayDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIRoutingGatewayDetailRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIRoutingGatewayRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIRoutingGatewayUpdate(ctx context.Context, body APIRoutingGatewayUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIRoutingGatewayUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIRoutingStaticRouteCreate(ctx context.Context, body APIRoutingStaticRouteCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIRoutingStaticRouteCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIRoutingStaticRouteDelete(ctx context.Context, params *APIRoutingStaticRouteDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIRoutingStaticRouteRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIRoutingStaticRouteUpdate(ctx context.Context, body APIRoutingStaticRouteUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIRoutingStaticRouteUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesDDNSRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDHCPdLeaseRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDHCPdOptionsCreate(ctx context.Context, body APIServicesDHCPdOptionsCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesDHCPdOptionsCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesDHCPdRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDHCPdRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDHCPdStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDHCPdStaticMappingCreate(ctx context.Context, body APIServicesDHCPdStaticMappingCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesDHCPdStaticMappingCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesDHCPdStaticMappingDelete(ctx context.Context, params *APIServicesDHCPdStaticMappingDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIServicesDHCPdStaticMappingRead(ctx context.Context, params *APIServicesDHCPdStaticMappingReadParams, ...) (*http.Response, error)
- func (c *Client) APIServicesDHCPdStaticMappingUpdate(ctx context.Context, body APIServicesDHCPdStaticMappingUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesDHCPdStaticMappingUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesDHCPdStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDHCPdUpdate(ctx context.Context, body APIServicesDHCPdUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesDHCPdUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqApplyCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqHostOverrideAliasCreate(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqHostOverrideAliasCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqHostOverrideCreate(ctx context.Context, body APIServicesDnsmasqHostOverrideCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqHostOverrideCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqHostOverrideDelete(ctx context.Context, params *APIServicesDnsmasqHostOverrideDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqHostOverrideRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqHostOverrideUpdate(ctx context.Context, body APIServicesDnsmasqHostOverrideUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqHostOverrideUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDnsmasqStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDpingerRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDpingerStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesDpingerStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesIPsecApplyCreate(ctx context.Context, body APIServicesIPsecApplyCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecApplyCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase1Create(ctx context.Context, body APIServicesIPsecPhase1CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase1CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase1Delete(ctx context.Context, params *APIServicesIPsecPhase1DeleteParams, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase1EncryptionCreate(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase1EncryptionCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase1Read(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase1Update(ctx context.Context, body APIServicesIPsecPhase1UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase1UpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase2Create(ctx context.Context, body APIServicesIPsecPhase2CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase2CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase2Delete(ctx context.Context, params *APIServicesIPsecPhase2DeleteParams, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase2Read(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase2Update(ctx context.Context, body APIServicesIPsecPhase2UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesIPsecPhase2UpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesNTPdRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesNTPdRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesNTPdStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesNTPdStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesNTPdTimeServerCreate(ctx context.Context, body APIServicesNTPdTimeServerCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesNTPdTimeServerCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesNTPdTimeServerDelete(ctx context.Context, params *APIServicesNTPdTimeServerDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIServicesNTPdUpdate(ctx context.Context, body APIServicesNTPdUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesNTPdUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientCreate(ctx context.Context, body APIServicesOpenVPNClientCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientSpecificOverridesCreate(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientSpecificOverridesCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientSpecificOverridesDelete(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientSpecificOverridesRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientSpecificOverridesUpdate(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientSpecificOverridesUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientUpdate(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNClientUpdateWithBody(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNServerCreate(ctx context.Context, body APIServicesOpenVPNServerCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNServerCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNServerRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNServerUpdate(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, ...) (*http.Response, error)
- func (c *Client) APIServicesOpenVPNServerUpdateWithBody(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, ...) (*http.Response, error)
- func (c *Client) APIServicesRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesRestartCreate(ctx context.Context, body APIServicesRestartCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesRestartCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesSSHdRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesSSHdRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesSSHdStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesSSHdStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesSSHdUpdate(ctx context.Context, body APIServicesSSHdUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesSSHdUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesServiceWatchdogRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesServiceWatchdogUpdate(ctx context.Context, body APIServicesServiceWatchdogUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesServiceWatchdogUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesStopCreate(ctx context.Context, body APIServicesStopCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesStopCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesSyslogdRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesSyslogdStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesSyslogdStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesUnboundAccessListCreate(ctx context.Context, body APIServicesUnboundAccessListCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundAccessListCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundAccessListDelete(ctx context.Context, params *APIServicesUnboundAccessListDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundAccessListRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesUnboundAccessListRowCreate(ctx context.Context, body APIServicesUnboundAccessListRowCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundAccessListRowCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundAccessListUpdate(ctx context.Context, body APIServicesUnboundAccessListUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundAccessListUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundApplyCreate(ctx context.Context, body APIServicesUnboundApplyCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundApplyCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundApplyRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideAliasCreate(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideAliasCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideCreate(ctx context.Context, body APIServicesUnboundHostOverrideCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideDelete(ctx context.Context, params *APIServicesUnboundHostOverrideDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideFlushDelete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideFlushUpdate(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideFlushUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideUpdate(ctx context.Context, body APIServicesUnboundHostOverrideUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundHostOverrideUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIServicesUnboundRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesUnboundRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesUnboundStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesUnboundStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIServicesWOLSendCreate(ctx context.Context, body APIServicesWOLSendCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIServicesWOLSendCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIStatusCARPRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIStatusCARPUpdate(ctx context.Context, body APIStatusCARPUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIStatusCARPUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIStatusGatewayRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIStatusIPsecRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIStatusInterfaceRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIStatusLogConfigHistoryRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIStatusLogDHCPRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIStatusLogFirewallRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIStatusLogSettingsUpdate(ctx context.Context, body APIStatusLogSettingsUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIStatusLogSettingsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIStatusLogSystemRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIStatusOpenVPNRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIStatusSystemRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemAPIErrorRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemAPIRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemAPIUpdate(ctx context.Context, body APISystemAPIUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemAPIUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemAPIVersionRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemARPDelete(ctx context.Context, params *APISystemARPDeleteParams, ...) (*http.Response, error)
- func (c *Client) APISystemARPRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemCACreate(ctx context.Context, body APISystemCACreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemCACreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemCADelete(ctx context.Context, params *APISystemCADeleteParams, ...) (*http.Response, error)
- func (c *Client) APISystemCARead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemCRLCreate(ctx context.Context, body APISystemCRLCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemCRLCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemCRLDelete(ctx context.Context, params *APISystemCRLDeleteParams, ...) (*http.Response, error)
- func (c *Client) APISystemCRLRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemCertificateCreate(ctx context.Context, body APISystemCertificateCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemCertificateCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemCertificateDelete(ctx context.Context, params *APISystemCertificateDeleteParams, ...) (*http.Response, error)
- func (c *Client) APISystemCertificateRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemCertificateUpdate(ctx context.Context, body APISystemCertificateUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemCertificateUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemConfigRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemConfigUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemConsoleUpdate(ctx context.Context, body APISystemConsoleUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemConsoleUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemDNSRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemDNSServerCreate(ctx context.Context, body APISystemDNSServerCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemDNSServerCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemDNSServerDelete(ctx context.Context, params *APISystemDNSServerDeleteParams, ...) (*http.Response, error)
- func (c *Client) APISystemDNSUpdate(ctx context.Context, body APISystemDNSUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemDNSUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemHaltCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemHostnameRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemHostnameUpdate(ctx context.Context, body APISystemHostnameUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemHostnameUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemNotificationsEmailRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemNotificationsEmailUpdate(ctx context.Context, body APISystemNotificationsEmailUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemNotificationsEmailUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemPackageCreate(ctx context.Context, body APISystemPackageCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemPackageCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemPackageDelete(ctx context.Context, params *APISystemPackageDeleteParams, ...) (*http.Response, error)
- func (c *Client) APISystemPackageRead(ctx context.Context, params *APISystemPackageReadParams, ...) (*http.Response, error)
- func (c *Client) APISystemRebootCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemTableRead(ctx context.Context, params *APISystemTableReadParams, ...) (*http.Response, error)
- func (c *Client) APISystemTunableCreate(ctx context.Context, body APISystemTunableCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemTunableCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemTunableDelete(ctx context.Context, params *APISystemTunableDeleteParams, ...) (*http.Response, error)
- func (c *Client) APISystemTunableRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemTunableUpdate(ctx context.Context, body APISystemTunableUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APISystemTunableUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APISystemVersionRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APISystemVersionUpgradeRead(ctx context.Context, params *APISystemVersionUpgradeReadParams, ...) (*http.Response, error)
- func (c *Client) APIUserAuthServerDelete(ctx context.Context, params *APIUserAuthServerDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIUserAuthServerLDAPCreate(ctx context.Context, body APIUserAuthServerLDAPCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIUserAuthServerLDAPCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIUserAuthServerLDAPDelete(ctx context.Context, params *APIUserAuthServerLDAPDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIUserAuthServerLDAPRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIUserAuthServerRADIUSCreate(ctx context.Context, body APIUserAuthServerRADIUSCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIUserAuthServerRADIUSCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIUserAuthServerRADIUSDelete(ctx context.Context, params *APIUserAuthServerRADIUSDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIUserAuthServerRADIUSRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIUserAuthServerRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIUserCreate(ctx context.Context, body APIUserCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIUserCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIUserDelete(ctx context.Context, params *APIUserDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIUserGroupCreate(ctx context.Context, body APIUserGroupCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIUserGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIUserGroupDelete(ctx context.Context, params *APIUserGroupDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIUserGroupMemberCreate(ctx context.Context, body APIUserGroupMemberCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIUserGroupMemberCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIUserGroupMemberDelete(ctx context.Context, params *APIUserGroupMemberDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIUserGroupRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIUserGroupUpdate(ctx context.Context, body APIUserGroupUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIUserGroupUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIUserPrivilegeCreate(ctx context.Context, body APIUserPrivilegeCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIUserPrivilegeCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) APIUserPrivilegeDelete(ctx context.Context, params *APIUserPrivilegeDeleteParams, ...) (*http.Response, error)
- func (c *Client) APIUserRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) APIUserUpdate(ctx context.Context, body APIUserUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) APIUserUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) APIAccessTokenCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIAccessTokenCreateResponse, error)
- func (c *ClientWithResponses) APIDiagnosticsCommandPromptCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIDiagnosticsCommandPromptCreateResponse, error)
- func (c *ClientWithResponses) APIDiagnosticsCommandPromptCreateWithResponse(ctx context.Context, body APIDiagnosticsCommandPromptCreateJSONRequestBody, ...) (*APIDiagnosticsCommandPromptCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasAdvancedReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallAliasAdvancedReadResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasAdvancedUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallAliasAdvancedUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasAdvancedUpdateWithResponse(ctx context.Context, body APIFirewallAliasAdvancedUpdateJSONRequestBody, ...) (*APIFirewallAliasAdvancedUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallAliasCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasCreateWithResponse(ctx context.Context, body APIFirewallAliasCreateJSONRequestBody, ...) (*APIFirewallAliasCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasDeleteWithResponse(ctx context.Context, params *APIFirewallAliasDeleteParams, ...) (*APIFirewallAliasDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasEntryCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallAliasEntryCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasEntryCreateWithResponse(ctx context.Context, body APIFirewallAliasEntryCreateJSONRequestBody, ...) (*APIFirewallAliasEntryCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasEntryDeleteWithResponse(ctx context.Context, params *APIFirewallAliasEntryDeleteParams, ...) (*APIFirewallAliasEntryDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallAliasReadResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallAliasUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallAliasUpdateWithResponse(ctx context.Context, body APIFirewallAliasUpdateJSONRequestBody, ...) (*APIFirewallAliasUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallApplyCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallApplyCreateWithResponse(ctx context.Context, body APIFirewallApplyCreateJSONRequestBody, ...) (*APIFirewallApplyCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOneToOneCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallNATOneToOneCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOneToOneCreateWithResponse(ctx context.Context, body APIFirewallNATOneToOneCreateJSONRequestBody, ...) (*APIFirewallNATOneToOneCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOneToOneDeleteWithResponse(ctx context.Context, params *APIFirewallNATOneToOneDeleteParams, ...) (*APIFirewallNATOneToOneDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOneToOneReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneReadResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOneToOneUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallNATOneToOneUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOneToOneUpdateWithResponse(ctx context.Context, body APIFirewallNATOneToOneUpdateJSONRequestBody, ...) (*APIFirewallNATOneToOneUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundMappingCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallNATOutboundMappingCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundMappingCreateWithResponse(ctx context.Context, body APIFirewallNATOutboundMappingCreateJSONRequestBody, ...) (*APIFirewallNATOutboundMappingCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundMappingDeleteWithResponse(ctx context.Context, params *APIFirewallNATOutboundMappingDeleteParams, ...) (*APIFirewallNATOutboundMappingDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundMappingReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingReadResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundMappingUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallNATOutboundMappingUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundMappingUpdateWithResponse(ctx context.Context, body APIFirewallNATOutboundMappingUpdateJSONRequestBody, ...) (*APIFirewallNATOutboundMappingUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallNATOutboundPortForwardCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardCreateWithResponse(ctx context.Context, ...) (*APIFirewallNATOutboundPortForwardCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardDeleteWithResponse(ctx context.Context, params *APIFirewallNATOutboundPortForwardDeleteParams, ...) (*APIFirewallNATOutboundPortForwardDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardReadResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallNATOutboundPortForwardUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardUpdateWithResponse(ctx context.Context, ...) (*APIFirewallNATOutboundPortForwardUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundReadResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallNATOutboundUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallNATOutboundUpdateWithResponse(ctx context.Context, body APIFirewallNATOutboundUpdateJSONRequestBody, ...) (*APIFirewallNATOutboundUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallRuleCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleCreateWithResponse(ctx context.Context, body APIFirewallRuleCreateJSONRequestBody, ...) (*APIFirewallRuleCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleDeleteWithResponse(ctx context.Context, params *APIFirewallRuleDeleteParams, ...) (*APIFirewallRuleDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleFlushDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallRuleFlushDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleFlushUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallRuleFlushUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleFlushUpdateWithResponse(ctx context.Context, body APIFirewallRuleFlushUpdateJSONRequestBody, ...) (*APIFirewallRuleFlushUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallRuleReadResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleSortUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallRuleSortUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleSortUpdateWithResponse(ctx context.Context, body APIFirewallRuleSortUpdateJSONRequestBody, ...) (*APIFirewallRuleSortUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallRuleUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallRuleUpdateWithResponse(ctx context.Context, body APIFirewallRuleUpdateJSONRequestBody, ...) (*APIFirewallRuleUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallScheduleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallScheduleCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallScheduleCreateWithResponse(ctx context.Context, body APIFirewallScheduleCreateJSONRequestBody, ...) (*APIFirewallScheduleCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallScheduleDeleteWithResponse(ctx context.Context, params *APIFirewallScheduleDeleteParams, ...) (*APIFirewallScheduleDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallScheduleReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallScheduleReadResponse, error)
- func (c *ClientWithResponses) APIFirewallScheduleTimeRangeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallScheduleTimeRangeCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallScheduleTimeRangeCreateWithResponse(ctx context.Context, body APIFirewallScheduleTimeRangeCreateJSONRequestBody, ...) (*APIFirewallScheduleTimeRangeCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallScheduleTimeRangeDeleteWithResponse(ctx context.Context, params *APIFirewallScheduleTimeRangeDeleteParams, ...) (*APIFirewallScheduleTimeRangeDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallScheduleUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallScheduleUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallScheduleUpdateWithResponse(ctx context.Context, body APIFirewallScheduleUpdateJSONRequestBody, ...) (*APIFirewallScheduleUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallStatesDeleteWithResponse(ctx context.Context, params *APIFirewallStatesDeleteParams, ...) (*APIFirewallStatesDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallStatesReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallStatesReadResponse, error)
- func (c *ClientWithResponses) APIFirewallStatesSizeReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallStatesSizeReadResponse, error)
- func (c *ClientWithResponses) APIFirewallStatesSizeUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallStatesSizeUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallStatesSizeUpdateWithResponse(ctx context.Context, body APIFirewallStatesSizeUpdateJSONRequestBody, ...) (*APIFirewallStatesSizeUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallTrafficShaperCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperCreateJSONRequestBody, ...) (*APIFirewallTrafficShaperCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperDeleteParams, ...) (*APIFirewallTrafficShaperDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterBandwidthCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallTrafficShaperLimiterBandwidthCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterBandwidthCreateWithResponse(ctx context.Context, ...) (*APIFirewallTrafficShaperLimiterBandwidthCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterBandwidthDeleteWithResponse(ctx context.Context, ...) (*APIFirewallTrafficShaperLimiterBandwidthDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallTrafficShaperLimiterCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperLimiterCreateJSONRequestBody, ...) (*APIFirewallTrafficShaperLimiterCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperLimiterDeleteParams, ...) (*APIFirewallTrafficShaperLimiterDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterQueueCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallTrafficShaperLimiterQueueCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterQueueCreateWithResponse(ctx context.Context, ...) (*APIFirewallTrafficShaperLimiterQueueCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterQueueDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperLimiterQueueDeleteParams, ...) (*APIFirewallTrafficShaperLimiterQueueDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterReadResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperQueueCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallTrafficShaperQueueCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperQueueCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperQueueCreateJSONRequestBody, ...) (*APIFirewallTrafficShaperQueueCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperQueueDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperQueueDeleteParams, ...) (*APIFirewallTrafficShaperQueueDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperReadResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallTrafficShaperUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallTrafficShaperUpdateWithResponse(ctx context.Context, body APIFirewallTrafficShaperUpdateJSONRequestBody, ...) (*APIFirewallTrafficShaperUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallVirtualIPCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallVirtualIPCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallVirtualIPCreateWithResponse(ctx context.Context, body APIFirewallVirtualIPCreateJSONRequestBody, ...) (*APIFirewallVirtualIPCreateResponse, error)
- func (c *ClientWithResponses) APIFirewallVirtualIPDeleteWithResponse(ctx context.Context, params *APIFirewallVirtualIPDeleteParams, ...) (*APIFirewallVirtualIPDeleteResponse, error)
- func (c *ClientWithResponses) APIFirewallVirtualIPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPReadResponse, error)
- func (c *ClientWithResponses) APIFirewallVirtualIPUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIFirewallVirtualIPUpdateResponse, error)
- func (c *ClientWithResponses) APIFirewallVirtualIPUpdateWithResponse(ctx context.Context, body APIFirewallVirtualIPUpdateJSONRequestBody, ...) (*APIFirewallVirtualIPUpdateResponse, error)
- func (c *ClientWithResponses) APIInterfaceApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIInterfaceApplyCreateResponse, error)
- func (c *ClientWithResponses) APIInterfaceApplyCreateWithResponse(ctx context.Context, body APIInterfaceApplyCreateJSONRequestBody, ...) (*APIInterfaceApplyCreateResponse, error)
- func (c *ClientWithResponses) APIInterfaceApplyReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceApplyReadResponse, error)
- func (c *ClientWithResponses) APIInterfaceAvailableReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceAvailableReadResponse, error)
- func (c *ClientWithResponses) APIInterfaceBridgeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIInterfaceBridgeCreateResponse, error)
- func (c *ClientWithResponses) APIInterfaceBridgeCreateWithResponse(ctx context.Context, body APIInterfaceBridgeCreateJSONRequestBody, ...) (*APIInterfaceBridgeCreateResponse, error)
- func (c *ClientWithResponses) APIInterfaceBridgeDeleteWithResponse(ctx context.Context, params *APIInterfaceBridgeDeleteParams, ...) (*APIInterfaceBridgeDeleteResponse, error)
- func (c *ClientWithResponses) APIInterfaceBridgeReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeReadResponse, error)
- func (c *ClientWithResponses) APIInterfaceBridgeUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIInterfaceBridgeUpdateResponse, error)
- func (c *ClientWithResponses) APIInterfaceBridgeUpdateWithResponse(ctx context.Context, body APIInterfaceBridgeUpdateJSONRequestBody, ...) (*APIInterfaceBridgeUpdateResponse, error)
- func (c *ClientWithResponses) APIInterfaceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIInterfaceCreateResponse, error)
- func (c *ClientWithResponses) APIInterfaceCreateWithResponse(ctx context.Context, body APIInterfaceCreateJSONRequestBody, ...) (*APIInterfaceCreateResponse, error)
- func (c *ClientWithResponses) APIInterfaceDeleteWithResponse(ctx context.Context, params *APIInterfaceDeleteParams, ...) (*APIInterfaceDeleteResponse, error)
- func (c *ClientWithResponses) APIInterfaceGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIInterfaceGroupCreateResponse, error)
- func (c *ClientWithResponses) APIInterfaceGroupCreateWithResponse(ctx context.Context, body APIInterfaceGroupCreateJSONRequestBody, ...) (*APIInterfaceGroupCreateResponse, error)
- func (c *ClientWithResponses) APIInterfaceGroupDeleteWithResponse(ctx context.Context, params *APIInterfaceGroupDeleteParams, ...) (*APIInterfaceGroupDeleteResponse, error)
- func (c *ClientWithResponses) APIInterfaceGroupReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceGroupReadResponse, error)
- func (c *ClientWithResponses) APIInterfaceGroupUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIInterfaceGroupUpdateResponse, error)
- func (c *ClientWithResponses) APIInterfaceGroupUpdateWithResponse(ctx context.Context, body APIInterfaceGroupUpdateJSONRequestBody, ...) (*APIInterfaceGroupUpdateResponse, error)
- func (c *ClientWithResponses) APIInterfaceReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceReadResponse, error)
- func (c *ClientWithResponses) APIInterfaceUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIInterfaceUpdateResponse, error)
- func (c *ClientWithResponses) APIInterfaceUpdateWithResponse(ctx context.Context, body APIInterfaceUpdateJSONRequestBody, ...) (*APIInterfaceUpdateResponse, error)
- func (c *ClientWithResponses) APIInterfaceVLANCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIInterfaceVLANCreateResponse, error)
- func (c *ClientWithResponses) APIInterfaceVLANCreateWithResponse(ctx context.Context, body APIInterfaceVLANCreateJSONRequestBody, ...) (*APIInterfaceVLANCreateResponse, error)
- func (c *ClientWithResponses) APIInterfaceVLANDeleteWithResponse(ctx context.Context, params *APIInterfaceVLANDeleteParams, ...) (*APIInterfaceVLANDeleteResponse, error)
- func (c *ClientWithResponses) APIInterfaceVLANReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceVLANReadResponse, error)
- func (c *ClientWithResponses) APIInterfaceVLANUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIInterfaceVLANUpdateResponse, error)
- func (c *ClientWithResponses) APIInterfaceVLANUpdateWithResponse(ctx context.Context, body APIInterfaceVLANUpdateJSONRequestBody, ...) (*APIInterfaceVLANUpdateResponse, error)
- func (c *ClientWithResponses) APIRoutingApplyCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingApplyCreateResponse, error)
- func (c *ClientWithResponses) APIRoutingGatewayCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIRoutingGatewayCreateResponse, error)
- func (c *ClientWithResponses) APIRoutingGatewayCreateWithResponse(ctx context.Context, body APIRoutingGatewayCreateJSONRequestBody, ...) (*APIRoutingGatewayCreateResponse, error)
- func (c *ClientWithResponses) APIRoutingGatewayDefaultUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIRoutingGatewayDefaultUpdateResponse, error)
- func (c *ClientWithResponses) APIRoutingGatewayDefaultUpdateWithResponse(ctx context.Context, body APIRoutingGatewayDefaultUpdateJSONRequestBody, ...) (*APIRoutingGatewayDefaultUpdateResponse, error)
- func (c *ClientWithResponses) APIRoutingGatewayDeleteWithResponse(ctx context.Context, params *APIRoutingGatewayDeleteParams, ...) (*APIRoutingGatewayDeleteResponse, error)
- func (c *ClientWithResponses) APIRoutingGatewayDetailReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingGatewayDetailReadResponse, error)
- func (c *ClientWithResponses) APIRoutingGatewayReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingGatewayReadResponse, error)
- func (c *ClientWithResponses) APIRoutingGatewayUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIRoutingGatewayUpdateResponse, error)
- func (c *ClientWithResponses) APIRoutingGatewayUpdateWithResponse(ctx context.Context, body APIRoutingGatewayUpdateJSONRequestBody, ...) (*APIRoutingGatewayUpdateResponse, error)
- func (c *ClientWithResponses) APIRoutingStaticRouteCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIRoutingStaticRouteCreateResponse, error)
- func (c *ClientWithResponses) APIRoutingStaticRouteCreateWithResponse(ctx context.Context, body APIRoutingStaticRouteCreateJSONRequestBody, ...) (*APIRoutingStaticRouteCreateResponse, error)
- func (c *ClientWithResponses) APIRoutingStaticRouteDeleteWithResponse(ctx context.Context, params *APIRoutingStaticRouteDeleteParams, ...) (*APIRoutingStaticRouteDeleteResponse, error)
- func (c *ClientWithResponses) APIRoutingStaticRouteReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteReadResponse, error)
- func (c *ClientWithResponses) APIRoutingStaticRouteUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIRoutingStaticRouteUpdateResponse, error)
- func (c *ClientWithResponses) APIRoutingStaticRouteUpdateWithResponse(ctx context.Context, body APIRoutingStaticRouteUpdateJSONRequestBody, ...) (*APIRoutingStaticRouteUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesDDNSReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDDNSReadResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdLeaseReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdLeaseReadResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdOptionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesDHCPdOptionsCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdOptionsCreateWithResponse(ctx context.Context, body APIServicesDHCPdOptionsCreateJSONRequestBody, ...) (*APIServicesDHCPdOptionsCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdReadResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdRestartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdStaticMappingCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesDHCPdStaticMappingCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdStaticMappingCreateWithResponse(ctx context.Context, body APIServicesDHCPdStaticMappingCreateJSONRequestBody, ...) (*APIServicesDHCPdStaticMappingCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdStaticMappingDeleteWithResponse(ctx context.Context, params *APIServicesDHCPdStaticMappingDeleteParams, ...) (*APIServicesDHCPdStaticMappingDeleteResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdStaticMappingReadWithResponse(ctx context.Context, params *APIServicesDHCPdStaticMappingReadParams, ...) (*APIServicesDHCPdStaticMappingReadResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdStaticMappingUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesDHCPdStaticMappingUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdStaticMappingUpdateWithResponse(ctx context.Context, body APIServicesDHCPdStaticMappingUpdateJSONRequestBody, ...) (*APIServicesDHCPdStaticMappingUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStopCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesDHCPdUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesDHCPdUpdateWithResponse(ctx context.Context, body APIServicesDHCPdUpdateJSONRequestBody, ...) (*APIServicesDHCPdUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqApplyCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqApplyCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideAliasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesDnsmasqHostOverrideAliasCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideAliasCreateWithResponse(ctx context.Context, ...) (*APIServicesDnsmasqHostOverrideAliasCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesDnsmasqHostOverrideCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideCreateWithResponse(ctx context.Context, body APIServicesDnsmasqHostOverrideCreateJSONRequestBody, ...) (*APIServicesDnsmasqHostOverrideCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideDeleteWithResponse(ctx context.Context, params *APIServicesDnsmasqHostOverrideDeleteParams, ...) (*APIServicesDnsmasqHostOverrideDeleteResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideReadResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesDnsmasqHostOverrideUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideUpdateWithResponse(ctx context.Context, body APIServicesDnsmasqHostOverrideUpdateJSONRequestBody, ...) (*APIServicesDnsmasqHostOverrideUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqReadResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqRestartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqStartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDnsmasqStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqStopCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDpingerRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDpingerRestartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDpingerStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDpingerStartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesDpingerStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDpingerStopCreateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesIPsecApplyCreateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecApplyCreateWithResponse(ctx context.Context, body APIServicesIPsecApplyCreateJSONRequestBody, ...) (*APIServicesIPsecApplyCreateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesIPsecPhase1CreateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase1CreateWithResponse(ctx context.Context, body APIServicesIPsecPhase1CreateJSONRequestBody, ...) (*APIServicesIPsecPhase1CreateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase1DeleteWithResponse(ctx context.Context, params *APIServicesIPsecPhase1DeleteParams, ...) (*APIServicesIPsecPhase1DeleteResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase1EncryptionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesIPsecPhase1EncryptionCreateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase1EncryptionCreateWithResponse(ctx context.Context, ...) (*APIServicesIPsecPhase1EncryptionCreateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase1ReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1ReadResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase1UpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesIPsecPhase1UpdateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase1UpdateWithResponse(ctx context.Context, body APIServicesIPsecPhase1UpdateJSONRequestBody, ...) (*APIServicesIPsecPhase1UpdateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesIPsecPhase2CreateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase2CreateWithResponse(ctx context.Context, body APIServicesIPsecPhase2CreateJSONRequestBody, ...) (*APIServicesIPsecPhase2CreateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase2DeleteWithResponse(ctx context.Context, params *APIServicesIPsecPhase2DeleteParams, ...) (*APIServicesIPsecPhase2DeleteResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase2ReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2ReadResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase2UpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesIPsecPhase2UpdateResponse, error)
- func (c *ClientWithResponses) APIServicesIPsecPhase2UpdateWithResponse(ctx context.Context, body APIServicesIPsecPhase2UpdateJSONRequestBody, ...) (*APIServicesIPsecPhase2UpdateResponse, error)
- func (c *ClientWithResponses) APIServicesNTPdReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdReadResponse, error)
- func (c *ClientWithResponses) APIServicesNTPdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdRestartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesNTPdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdStartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesNTPdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdStopCreateResponse, error)
- func (c *ClientWithResponses) APIServicesNTPdTimeServerCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesNTPdTimeServerCreateResponse, error)
- func (c *ClientWithResponses) APIServicesNTPdTimeServerCreateWithResponse(ctx context.Context, body APIServicesNTPdTimeServerCreateJSONRequestBody, ...) (*APIServicesNTPdTimeServerCreateResponse, error)
- func (c *ClientWithResponses) APIServicesNTPdTimeServerDeleteWithResponse(ctx context.Context, params *APIServicesNTPdTimeServerDeleteParams, ...) (*APIServicesNTPdTimeServerDeleteResponse, error)
- func (c *ClientWithResponses) APIServicesNTPdUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesNTPdUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesNTPdUpdateWithResponse(ctx context.Context, body APIServicesNTPdUpdateJSONRequestBody, ...) (*APIServicesNTPdUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesOpenVPNClientCreateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientCreateWithResponse(ctx context.Context, body APIServicesOpenVPNClientCreateJSONRequestBody, ...) (*APIServicesOpenVPNClientCreateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientReadResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesOpenVPNClientSpecificOverridesCreateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesCreateWithResponse(ctx context.Context, ...) (*APIServicesOpenVPNClientSpecificOverridesCreateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesDeleteWithResponse(ctx context.Context, ...) (*APIServicesOpenVPNClientSpecificOverridesDeleteResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesReadResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesOpenVPNClientSpecificOverridesUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesUpdateWithResponse(ctx context.Context, ...) (*APIServicesOpenVPNClientSpecificOverridesUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientUpdateWithBodyWithResponse(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, ...) (*APIServicesOpenVPNClientUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNClientUpdateWithResponse(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, ...) (*APIServicesOpenVPNClientUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNServerCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesOpenVPNServerCreateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNServerCreateWithResponse(ctx context.Context, body APIServicesOpenVPNServerCreateJSONRequestBody, ...) (*APIServicesOpenVPNServerCreateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNServerReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerReadResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNServerUpdateWithBodyWithResponse(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, ...) (*APIServicesOpenVPNServerUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesOpenVPNServerUpdateWithResponse(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, ...) (*APIServicesOpenVPNServerUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesReadResponse, error)
- func (c *ClientWithResponses) APIServicesRestartCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesRestartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesRestartCreateWithResponse(ctx context.Context, body APIServicesRestartCreateJSONRequestBody, ...) (*APIServicesRestartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesSSHdReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdReadResponse, error)
- func (c *ClientWithResponses) APIServicesSSHdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdRestartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesSSHdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdStartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesSSHdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdStopCreateResponse, error)
- func (c *ClientWithResponses) APIServicesSSHdUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesSSHdUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesSSHdUpdateWithResponse(ctx context.Context, body APIServicesSSHdUpdateJSONRequestBody, ...) (*APIServicesSSHdUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesServiceWatchdogReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesServiceWatchdogReadResponse, error)
- func (c *ClientWithResponses) APIServicesServiceWatchdogUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesServiceWatchdogUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesServiceWatchdogUpdateWithResponse(ctx context.Context, body APIServicesServiceWatchdogUpdateJSONRequestBody, ...) (*APIServicesServiceWatchdogUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesStartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesStopCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesStopCreateResponse, error)
- func (c *ClientWithResponses) APIServicesStopCreateWithResponse(ctx context.Context, body APIServicesStopCreateJSONRequestBody, ...) (*APIServicesStopCreateResponse, error)
- func (c *ClientWithResponses) APIServicesSyslogdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSyslogdRestartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesSyslogdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSyslogdStartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesSyslogdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSyslogdStopCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundAccessListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesUnboundAccessListCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundAccessListCreateWithResponse(ctx context.Context, body APIServicesUnboundAccessListCreateJSONRequestBody, ...) (*APIServicesUnboundAccessListCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundAccessListDeleteWithResponse(ctx context.Context, params *APIServicesUnboundAccessListDeleteParams, ...) (*APIServicesUnboundAccessListDeleteResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundAccessListReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListReadResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundAccessListRowCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesUnboundAccessListRowCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundAccessListRowCreateWithResponse(ctx context.Context, body APIServicesUnboundAccessListRowCreateJSONRequestBody, ...) (*APIServicesUnboundAccessListRowCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundAccessListUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesUnboundAccessListUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundAccessListUpdateWithResponse(ctx context.Context, body APIServicesUnboundAccessListUpdateJSONRequestBody, ...) (*APIServicesUnboundAccessListUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesUnboundApplyCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundApplyCreateWithResponse(ctx context.Context, body APIServicesUnboundApplyCreateJSONRequestBody, ...) (*APIServicesUnboundApplyCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundApplyReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundApplyReadResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideAliasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesUnboundHostOverrideAliasCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideAliasCreateWithResponse(ctx context.Context, ...) (*APIServicesUnboundHostOverrideAliasCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesUnboundHostOverrideCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideCreateWithResponse(ctx context.Context, body APIServicesUnboundHostOverrideCreateJSONRequestBody, ...) (*APIServicesUnboundHostOverrideCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideDeleteWithResponse(ctx context.Context, params *APIServicesUnboundHostOverrideDeleteParams, ...) (*APIServicesUnboundHostOverrideDeleteResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideFlushDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideFlushDeleteResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideFlushUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesUnboundHostOverrideFlushUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideFlushUpdateWithResponse(ctx context.Context, ...) (*APIServicesUnboundHostOverrideFlushUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideReadResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesUnboundHostOverrideUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundHostOverrideUpdateWithResponse(ctx context.Context, body APIServicesUnboundHostOverrideUpdateJSONRequestBody, ...) (*APIServicesUnboundHostOverrideUpdateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundReadResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundRestartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundStartCreateResponse, error)
- func (c *ClientWithResponses) APIServicesUnboundStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundStopCreateResponse, error)
- func (c *ClientWithResponses) APIServicesWOLSendCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIServicesWOLSendCreateResponse, error)
- func (c *ClientWithResponses) APIServicesWOLSendCreateWithResponse(ctx context.Context, body APIServicesWOLSendCreateJSONRequestBody, ...) (*APIServicesWOLSendCreateResponse, error)
- func (c *ClientWithResponses) APIStatusCARPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusCARPReadResponse, error)
- func (c *ClientWithResponses) APIStatusCARPUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIStatusCARPUpdateResponse, error)
- func (c *ClientWithResponses) APIStatusCARPUpdateWithResponse(ctx context.Context, body APIStatusCARPUpdateJSONRequestBody, ...) (*APIStatusCARPUpdateResponse, error)
- func (c *ClientWithResponses) APIStatusGatewayReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusGatewayReadResponse, error)
- func (c *ClientWithResponses) APIStatusIPsecReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusIPsecReadResponse, error)
- func (c *ClientWithResponses) APIStatusInterfaceReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusInterfaceReadResponse, error)
- func (c *ClientWithResponses) APIStatusLogConfigHistoryReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogConfigHistoryReadResponse, error)
- func (c *ClientWithResponses) APIStatusLogDHCPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogDHCPReadResponse, error)
- func (c *ClientWithResponses) APIStatusLogFirewallReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogFirewallReadResponse, error)
- func (c *ClientWithResponses) APIStatusLogSettingsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIStatusLogSettingsUpdateResponse, error)
- func (c *ClientWithResponses) APIStatusLogSettingsUpdateWithResponse(ctx context.Context, body APIStatusLogSettingsUpdateJSONRequestBody, ...) (*APIStatusLogSettingsUpdateResponse, error)
- func (c *ClientWithResponses) APIStatusLogSystemReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogSystemReadResponse, error)
- func (c *ClientWithResponses) APIStatusOpenVPNReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusOpenVPNReadResponse, error)
- func (c *ClientWithResponses) APIStatusSystemReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusSystemReadResponse, error)
- func (c *ClientWithResponses) APISystemAPIErrorReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemAPIErrorReadResponse, error)
- func (c *ClientWithResponses) APISystemAPIReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemAPIReadResponse, error)
- func (c *ClientWithResponses) APISystemAPIUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemAPIUpdateResponse, error)
- func (c *ClientWithResponses) APISystemAPIUpdateWithResponse(ctx context.Context, body APISystemAPIUpdateJSONRequestBody, ...) (*APISystemAPIUpdateResponse, error)
- func (c *ClientWithResponses) APISystemAPIVersionReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemAPIVersionReadResponse, error)
- func (c *ClientWithResponses) APISystemARPDeleteWithResponse(ctx context.Context, params *APISystemARPDeleteParams, ...) (*APISystemARPDeleteResponse, error)
- func (c *ClientWithResponses) APISystemARPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemARPReadResponse, error)
- func (c *ClientWithResponses) APISystemCACreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemCACreateResponse, error)
- func (c *ClientWithResponses) APISystemCACreateWithResponse(ctx context.Context, body APISystemCACreateJSONRequestBody, ...) (*APISystemCACreateResponse, error)
- func (c *ClientWithResponses) APISystemCADeleteWithResponse(ctx context.Context, params *APISystemCADeleteParams, ...) (*APISystemCADeleteResponse, error)
- func (c *ClientWithResponses) APISystemCAReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemCAReadResponse, error)
- func (c *ClientWithResponses) APISystemCRLCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemCRLCreateResponse, error)
- func (c *ClientWithResponses) APISystemCRLCreateWithResponse(ctx context.Context, body APISystemCRLCreateJSONRequestBody, ...) (*APISystemCRLCreateResponse, error)
- func (c *ClientWithResponses) APISystemCRLDeleteWithResponse(ctx context.Context, params *APISystemCRLDeleteParams, ...) (*APISystemCRLDeleteResponse, error)
- func (c *ClientWithResponses) APISystemCRLReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemCRLReadResponse, error)
- func (c *ClientWithResponses) APISystemCertificateCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemCertificateCreateResponse, error)
- func (c *ClientWithResponses) APISystemCertificateCreateWithResponse(ctx context.Context, body APISystemCertificateCreateJSONRequestBody, ...) (*APISystemCertificateCreateResponse, error)
- func (c *ClientWithResponses) APISystemCertificateDeleteWithResponse(ctx context.Context, params *APISystemCertificateDeleteParams, ...) (*APISystemCertificateDeleteResponse, error)
- func (c *ClientWithResponses) APISystemCertificateReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemCertificateReadResponse, error)
- func (c *ClientWithResponses) APISystemCertificateUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemCertificateUpdateResponse, error)
- func (c *ClientWithResponses) APISystemCertificateUpdateWithResponse(ctx context.Context, body APISystemCertificateUpdateJSONRequestBody, ...) (*APISystemCertificateUpdateResponse, error)
- func (c *ClientWithResponses) APISystemConfigReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemConfigReadResponse, error)
- func (c *ClientWithResponses) APISystemConfigUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemConfigUpdateResponse, error)
- func (c *ClientWithResponses) APISystemConsoleUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemConsoleUpdateResponse, error)
- func (c *ClientWithResponses) APISystemConsoleUpdateWithResponse(ctx context.Context, body APISystemConsoleUpdateJSONRequestBody, ...) (*APISystemConsoleUpdateResponse, error)
- func (c *ClientWithResponses) APISystemDNSReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemDNSReadResponse, error)
- func (c *ClientWithResponses) APISystemDNSServerCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemDNSServerCreateResponse, error)
- func (c *ClientWithResponses) APISystemDNSServerCreateWithResponse(ctx context.Context, body APISystemDNSServerCreateJSONRequestBody, ...) (*APISystemDNSServerCreateResponse, error)
- func (c *ClientWithResponses) APISystemDNSServerDeleteWithResponse(ctx context.Context, params *APISystemDNSServerDeleteParams, ...) (*APISystemDNSServerDeleteResponse, error)
- func (c *ClientWithResponses) APISystemDNSUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemDNSUpdateResponse, error)
- func (c *ClientWithResponses) APISystemDNSUpdateWithResponse(ctx context.Context, body APISystemDNSUpdateJSONRequestBody, ...) (*APISystemDNSUpdateResponse, error)
- func (c *ClientWithResponses) APISystemHaltCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemHaltCreateResponse, error)
- func (c *ClientWithResponses) APISystemHostnameReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemHostnameReadResponse, error)
- func (c *ClientWithResponses) APISystemHostnameUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemHostnameUpdateResponse, error)
- func (c *ClientWithResponses) APISystemHostnameUpdateWithResponse(ctx context.Context, body APISystemHostnameUpdateJSONRequestBody, ...) (*APISystemHostnameUpdateResponse, error)
- func (c *ClientWithResponses) APISystemNotificationsEmailReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemNotificationsEmailReadResponse, error)
- func (c *ClientWithResponses) APISystemNotificationsEmailUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemNotificationsEmailUpdateResponse, error)
- func (c *ClientWithResponses) APISystemNotificationsEmailUpdateWithResponse(ctx context.Context, body APISystemNotificationsEmailUpdateJSONRequestBody, ...) (*APISystemNotificationsEmailUpdateResponse, error)
- func (c *ClientWithResponses) APISystemPackageCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemPackageCreateResponse, error)
- func (c *ClientWithResponses) APISystemPackageCreateWithResponse(ctx context.Context, body APISystemPackageCreateJSONRequestBody, ...) (*APISystemPackageCreateResponse, error)
- func (c *ClientWithResponses) APISystemPackageDeleteWithResponse(ctx context.Context, params *APISystemPackageDeleteParams, ...) (*APISystemPackageDeleteResponse, error)
- func (c *ClientWithResponses) APISystemPackageReadWithResponse(ctx context.Context, params *APISystemPackageReadParams, ...) (*APISystemPackageReadResponse, error)
- func (c *ClientWithResponses) APISystemRebootCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemRebootCreateResponse, error)
- func (c *ClientWithResponses) APISystemTableReadWithResponse(ctx context.Context, params *APISystemTableReadParams, ...) (*APISystemTableReadResponse, error)
- func (c *ClientWithResponses) APISystemTunableCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemTunableCreateResponse, error)
- func (c *ClientWithResponses) APISystemTunableCreateWithResponse(ctx context.Context, body APISystemTunableCreateJSONRequestBody, ...) (*APISystemTunableCreateResponse, error)
- func (c *ClientWithResponses) APISystemTunableDeleteWithResponse(ctx context.Context, params *APISystemTunableDeleteParams, ...) (*APISystemTunableDeleteResponse, error)
- func (c *ClientWithResponses) APISystemTunableReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemTunableReadResponse, error)
- func (c *ClientWithResponses) APISystemTunableUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APISystemTunableUpdateResponse, error)
- func (c *ClientWithResponses) APISystemTunableUpdateWithResponse(ctx context.Context, body APISystemTunableUpdateJSONRequestBody, ...) (*APISystemTunableUpdateResponse, error)
- func (c *ClientWithResponses) APISystemVersionReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemVersionReadResponse, error)
- func (c *ClientWithResponses) APISystemVersionUpgradeReadWithResponse(ctx context.Context, params *APISystemVersionUpgradeReadParams, ...) (*APISystemVersionUpgradeReadResponse, error)
- func (c *ClientWithResponses) APIUserAuthServerDeleteWithResponse(ctx context.Context, params *APIUserAuthServerDeleteParams, ...) (*APIUserAuthServerDeleteResponse, error)
- func (c *ClientWithResponses) APIUserAuthServerLDAPCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIUserAuthServerLDAPCreateResponse, error)
- func (c *ClientWithResponses) APIUserAuthServerLDAPCreateWithResponse(ctx context.Context, body APIUserAuthServerLDAPCreateJSONRequestBody, ...) (*APIUserAuthServerLDAPCreateResponse, error)
- func (c *ClientWithResponses) APIUserAuthServerLDAPDeleteWithResponse(ctx context.Context, params *APIUserAuthServerLDAPDeleteParams, ...) (*APIUserAuthServerLDAPDeleteResponse, error)
- func (c *ClientWithResponses) APIUserAuthServerLDAPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserAuthServerLDAPReadResponse, error)
- func (c *ClientWithResponses) APIUserAuthServerRADIUSCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIUserAuthServerRADIUSCreateResponse, error)
- func (c *ClientWithResponses) APIUserAuthServerRADIUSCreateWithResponse(ctx context.Context, body APIUserAuthServerRADIUSCreateJSONRequestBody, ...) (*APIUserAuthServerRADIUSCreateResponse, error)
- func (c *ClientWithResponses) APIUserAuthServerRADIUSDeleteWithResponse(ctx context.Context, params *APIUserAuthServerRADIUSDeleteParams, ...) (*APIUserAuthServerRADIUSDeleteResponse, error)
- func (c *ClientWithResponses) APIUserAuthServerRADIUSReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserAuthServerRADIUSReadResponse, error)
- func (c *ClientWithResponses) APIUserAuthServerReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserAuthServerReadResponse, error)
- func (c *ClientWithResponses) APIUserCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIUserCreateResponse, error)
- func (c *ClientWithResponses) APIUserCreateWithResponse(ctx context.Context, body APIUserCreateJSONRequestBody, ...) (*APIUserCreateResponse, error)
- func (c *ClientWithResponses) APIUserDeleteWithResponse(ctx context.Context, params *APIUserDeleteParams, ...) (*APIUserDeleteResponse, error)
- func (c *ClientWithResponses) APIUserGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIUserGroupCreateResponse, error)
- func (c *ClientWithResponses) APIUserGroupCreateWithResponse(ctx context.Context, body APIUserGroupCreateJSONRequestBody, ...) (*APIUserGroupCreateResponse, error)
- func (c *ClientWithResponses) APIUserGroupDeleteWithResponse(ctx context.Context, params *APIUserGroupDeleteParams, ...) (*APIUserGroupDeleteResponse, error)
- func (c *ClientWithResponses) APIUserGroupMemberCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIUserGroupMemberCreateResponse, error)
- func (c *ClientWithResponses) APIUserGroupMemberCreateWithResponse(ctx context.Context, body APIUserGroupMemberCreateJSONRequestBody, ...) (*APIUserGroupMemberCreateResponse, error)
- func (c *ClientWithResponses) APIUserGroupMemberDeleteWithResponse(ctx context.Context, params *APIUserGroupMemberDeleteParams, ...) (*APIUserGroupMemberDeleteResponse, error)
- func (c *ClientWithResponses) APIUserGroupReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserGroupReadResponse, error)
- func (c *ClientWithResponses) APIUserGroupUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIUserGroupUpdateResponse, error)
- func (c *ClientWithResponses) APIUserGroupUpdateWithResponse(ctx context.Context, body APIUserGroupUpdateJSONRequestBody, ...) (*APIUserGroupUpdateResponse, error)
- func (c *ClientWithResponses) APIUserPrivilegeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIUserPrivilegeCreateResponse, error)
- func (c *ClientWithResponses) APIUserPrivilegeCreateWithResponse(ctx context.Context, body APIUserPrivilegeCreateJSONRequestBody, ...) (*APIUserPrivilegeCreateResponse, error)
- func (c *ClientWithResponses) APIUserPrivilegeDeleteWithResponse(ctx context.Context, params *APIUserPrivilegeDeleteParams, ...) (*APIUserPrivilegeDeleteResponse, error)
- func (c *ClientWithResponses) APIUserReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserReadResponse, error)
- func (c *ClientWithResponses) APIUserUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*APIUserUpdateResponse, error)
- func (c *ClientWithResponses) APIUserUpdateWithResponse(ctx context.Context, body APIUserUpdateJSONRequestBody, ...) (*APIUserUpdateResponse, error)
- type ClientWithResponsesInterface
- type HttpRequestDoer
- type RequestEditorFn
- type Response
- type ResponseData0
- type ResponseData1
- type Response_Data
- func (t Response_Data) AsResponseData0() (ResponseData0, error)
- func (t Response_Data) AsResponseData1() (ResponseData1, error)
- func (t *Response_Data) FromResponseData0(v ResponseData0) error
- func (t *Response_Data) FromResponseData1(v ResponseData1) error
- func (t Response_Data) MarshalJSON() ([]byte, error)
- func (t *Response_Data) MergeResponseData0(v ResponseData0) error
- func (t *Response_Data) MergeResponseData1(v ResponseData1) error
- func (t *Response_Data) UnmarshalJSON(b []byte) error
- type Success
Constants ¶
const ( JwtScopes = "jwt.Scopes" LocalScopes = "local.Scopes" TokenScopes = "token.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewAPIAccessTokenCreateRequest ¶
NewAPIAccessTokenCreateRequest generates requests for APIAccessTokenCreate
func NewAPIDiagnosticsCommandPromptCreateRequest ¶
func NewAPIDiagnosticsCommandPromptCreateRequest(server string, body APIDiagnosticsCommandPromptCreateJSONRequestBody) (*http.Request, error)
NewAPIDiagnosticsCommandPromptCreateRequest calls the generic APIDiagnosticsCommandPromptCreate builder with application/json body
func NewAPIDiagnosticsCommandPromptCreateRequestWithBody ¶
func NewAPIDiagnosticsCommandPromptCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIDiagnosticsCommandPromptCreateRequestWithBody generates requests for APIDiagnosticsCommandPromptCreate with any type of body
func NewAPIFirewallAliasAdvancedReadRequest ¶
NewAPIFirewallAliasAdvancedReadRequest generates requests for APIFirewallAliasAdvancedRead
func NewAPIFirewallAliasAdvancedUpdateRequest ¶
func NewAPIFirewallAliasAdvancedUpdateRequest(server string, body APIFirewallAliasAdvancedUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallAliasAdvancedUpdateRequest calls the generic APIFirewallAliasAdvancedUpdate builder with application/json body
func NewAPIFirewallAliasAdvancedUpdateRequestWithBody ¶
func NewAPIFirewallAliasAdvancedUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallAliasAdvancedUpdateRequestWithBody generates requests for APIFirewallAliasAdvancedUpdate with any type of body
func NewAPIFirewallAliasCreateRequest ¶
func NewAPIFirewallAliasCreateRequest(server string, body APIFirewallAliasCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallAliasCreateRequest calls the generic APIFirewallAliasCreate builder with application/json body
func NewAPIFirewallAliasCreateRequestWithBody ¶
func NewAPIFirewallAliasCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallAliasCreateRequestWithBody generates requests for APIFirewallAliasCreate with any type of body
func NewAPIFirewallAliasDeleteRequest ¶
func NewAPIFirewallAliasDeleteRequest(server string, params *APIFirewallAliasDeleteParams) (*http.Request, error)
NewAPIFirewallAliasDeleteRequest generates requests for APIFirewallAliasDelete
func NewAPIFirewallAliasEntryCreateRequest ¶
func NewAPIFirewallAliasEntryCreateRequest(server string, body APIFirewallAliasEntryCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallAliasEntryCreateRequest calls the generic APIFirewallAliasEntryCreate builder with application/json body
func NewAPIFirewallAliasEntryCreateRequestWithBody ¶
func NewAPIFirewallAliasEntryCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallAliasEntryCreateRequestWithBody generates requests for APIFirewallAliasEntryCreate with any type of body
func NewAPIFirewallAliasEntryDeleteRequest ¶
func NewAPIFirewallAliasEntryDeleteRequest(server string, params *APIFirewallAliasEntryDeleteParams) (*http.Request, error)
NewAPIFirewallAliasEntryDeleteRequest generates requests for APIFirewallAliasEntryDelete
func NewAPIFirewallAliasReadRequest ¶
NewAPIFirewallAliasReadRequest generates requests for APIFirewallAliasRead
func NewAPIFirewallAliasUpdateRequest ¶
func NewAPIFirewallAliasUpdateRequest(server string, body APIFirewallAliasUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallAliasUpdateRequest calls the generic APIFirewallAliasUpdate builder with application/json body
func NewAPIFirewallAliasUpdateRequestWithBody ¶
func NewAPIFirewallAliasUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallAliasUpdateRequestWithBody generates requests for APIFirewallAliasUpdate with any type of body
func NewAPIFirewallApplyCreateRequest ¶
func NewAPIFirewallApplyCreateRequest(server string, body APIFirewallApplyCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallApplyCreateRequest calls the generic APIFirewallApplyCreate builder with application/json body
func NewAPIFirewallApplyCreateRequestWithBody ¶
func NewAPIFirewallApplyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallApplyCreateRequestWithBody generates requests for APIFirewallApplyCreate with any type of body
func NewAPIFirewallNATOneToOneCreateRequest ¶
func NewAPIFirewallNATOneToOneCreateRequest(server string, body APIFirewallNATOneToOneCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallNATOneToOneCreateRequest calls the generic APIFirewallNATOneToOneCreate builder with application/json body
func NewAPIFirewallNATOneToOneCreateRequestWithBody ¶
func NewAPIFirewallNATOneToOneCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallNATOneToOneCreateRequestWithBody generates requests for APIFirewallNATOneToOneCreate with any type of body
func NewAPIFirewallNATOneToOneDeleteRequest ¶
func NewAPIFirewallNATOneToOneDeleteRequest(server string, params *APIFirewallNATOneToOneDeleteParams) (*http.Request, error)
NewAPIFirewallNATOneToOneDeleteRequest generates requests for APIFirewallNATOneToOneDelete
func NewAPIFirewallNATOneToOneReadRequest ¶
NewAPIFirewallNATOneToOneReadRequest generates requests for APIFirewallNATOneToOneRead
func NewAPIFirewallNATOneToOneUpdateRequest ¶
func NewAPIFirewallNATOneToOneUpdateRequest(server string, body APIFirewallNATOneToOneUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallNATOneToOneUpdateRequest calls the generic APIFirewallNATOneToOneUpdate builder with application/json body
func NewAPIFirewallNATOneToOneUpdateRequestWithBody ¶
func NewAPIFirewallNATOneToOneUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallNATOneToOneUpdateRequestWithBody generates requests for APIFirewallNATOneToOneUpdate with any type of body
func NewAPIFirewallNATOutboundMappingCreateRequest ¶
func NewAPIFirewallNATOutboundMappingCreateRequest(server string, body APIFirewallNATOutboundMappingCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallNATOutboundMappingCreateRequest calls the generic APIFirewallNATOutboundMappingCreate builder with application/json body
func NewAPIFirewallNATOutboundMappingCreateRequestWithBody ¶
func NewAPIFirewallNATOutboundMappingCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallNATOutboundMappingCreateRequestWithBody generates requests for APIFirewallNATOutboundMappingCreate with any type of body
func NewAPIFirewallNATOutboundMappingDeleteRequest ¶
func NewAPIFirewallNATOutboundMappingDeleteRequest(server string, params *APIFirewallNATOutboundMappingDeleteParams) (*http.Request, error)
NewAPIFirewallNATOutboundMappingDeleteRequest generates requests for APIFirewallNATOutboundMappingDelete
func NewAPIFirewallNATOutboundMappingReadRequest ¶
NewAPIFirewallNATOutboundMappingReadRequest generates requests for APIFirewallNATOutboundMappingRead
func NewAPIFirewallNATOutboundMappingUpdateRequest ¶
func NewAPIFirewallNATOutboundMappingUpdateRequest(server string, body APIFirewallNATOutboundMappingUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallNATOutboundMappingUpdateRequest calls the generic APIFirewallNATOutboundMappingUpdate builder with application/json body
func NewAPIFirewallNATOutboundMappingUpdateRequestWithBody ¶
func NewAPIFirewallNATOutboundMappingUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallNATOutboundMappingUpdateRequestWithBody generates requests for APIFirewallNATOutboundMappingUpdate with any type of body
func NewAPIFirewallNATOutboundPortForwardCreateRequest ¶
func NewAPIFirewallNATOutboundPortForwardCreateRequest(server string, body APIFirewallNATOutboundPortForwardCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallNATOutboundPortForwardCreateRequest calls the generic APIFirewallNATOutboundPortForwardCreate builder with application/json body
func NewAPIFirewallNATOutboundPortForwardCreateRequestWithBody ¶
func NewAPIFirewallNATOutboundPortForwardCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallNATOutboundPortForwardCreateRequestWithBody generates requests for APIFirewallNATOutboundPortForwardCreate with any type of body
func NewAPIFirewallNATOutboundPortForwardDeleteRequest ¶
func NewAPIFirewallNATOutboundPortForwardDeleteRequest(server string, params *APIFirewallNATOutboundPortForwardDeleteParams) (*http.Request, error)
NewAPIFirewallNATOutboundPortForwardDeleteRequest generates requests for APIFirewallNATOutboundPortForwardDelete
func NewAPIFirewallNATOutboundPortForwardReadRequest ¶
NewAPIFirewallNATOutboundPortForwardReadRequest generates requests for APIFirewallNATOutboundPortForwardRead
func NewAPIFirewallNATOutboundPortForwardUpdateRequest ¶
func NewAPIFirewallNATOutboundPortForwardUpdateRequest(server string, body APIFirewallNATOutboundPortForwardUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallNATOutboundPortForwardUpdateRequest calls the generic APIFirewallNATOutboundPortForwardUpdate builder with application/json body
func NewAPIFirewallNATOutboundPortForwardUpdateRequestWithBody ¶
func NewAPIFirewallNATOutboundPortForwardUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallNATOutboundPortForwardUpdateRequestWithBody generates requests for APIFirewallNATOutboundPortForwardUpdate with any type of body
func NewAPIFirewallNATOutboundReadRequest ¶
NewAPIFirewallNATOutboundReadRequest generates requests for APIFirewallNATOutboundRead
func NewAPIFirewallNATOutboundUpdateRequest ¶
func NewAPIFirewallNATOutboundUpdateRequest(server string, body APIFirewallNATOutboundUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallNATOutboundUpdateRequest calls the generic APIFirewallNATOutboundUpdate builder with application/json body
func NewAPIFirewallNATOutboundUpdateRequestWithBody ¶
func NewAPIFirewallNATOutboundUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallNATOutboundUpdateRequestWithBody generates requests for APIFirewallNATOutboundUpdate with any type of body
func NewAPIFirewallRuleCreateRequest ¶
func NewAPIFirewallRuleCreateRequest(server string, body APIFirewallRuleCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallRuleCreateRequest calls the generic APIFirewallRuleCreate builder with application/json body
func NewAPIFirewallRuleCreateRequestWithBody ¶
func NewAPIFirewallRuleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallRuleCreateRequestWithBody generates requests for APIFirewallRuleCreate with any type of body
func NewAPIFirewallRuleDeleteRequest ¶
func NewAPIFirewallRuleDeleteRequest(server string, params *APIFirewallRuleDeleteParams) (*http.Request, error)
NewAPIFirewallRuleDeleteRequest generates requests for APIFirewallRuleDelete
func NewAPIFirewallRuleFlushDeleteRequest ¶
NewAPIFirewallRuleFlushDeleteRequest generates requests for APIFirewallRuleFlushDelete
func NewAPIFirewallRuleFlushUpdateRequest ¶
func NewAPIFirewallRuleFlushUpdateRequest(server string, body APIFirewallRuleFlushUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallRuleFlushUpdateRequest calls the generic APIFirewallRuleFlushUpdate builder with application/json body
func NewAPIFirewallRuleFlushUpdateRequestWithBody ¶
func NewAPIFirewallRuleFlushUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallRuleFlushUpdateRequestWithBody generates requests for APIFirewallRuleFlushUpdate with any type of body
func NewAPIFirewallRuleReadRequest ¶
NewAPIFirewallRuleReadRequest generates requests for APIFirewallRuleRead
func NewAPIFirewallRuleSortUpdateRequest ¶
func NewAPIFirewallRuleSortUpdateRequest(server string, body APIFirewallRuleSortUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallRuleSortUpdateRequest calls the generic APIFirewallRuleSortUpdate builder with application/json body
func NewAPIFirewallRuleSortUpdateRequestWithBody ¶
func NewAPIFirewallRuleSortUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallRuleSortUpdateRequestWithBody generates requests for APIFirewallRuleSortUpdate with any type of body
func NewAPIFirewallRuleUpdateRequest ¶
func NewAPIFirewallRuleUpdateRequest(server string, body APIFirewallRuleUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallRuleUpdateRequest calls the generic APIFirewallRuleUpdate builder with application/json body
func NewAPIFirewallRuleUpdateRequestWithBody ¶
func NewAPIFirewallRuleUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallRuleUpdateRequestWithBody generates requests for APIFirewallRuleUpdate with any type of body
func NewAPIFirewallScheduleCreateRequest ¶
func NewAPIFirewallScheduleCreateRequest(server string, body APIFirewallScheduleCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallScheduleCreateRequest calls the generic APIFirewallScheduleCreate builder with application/json body
func NewAPIFirewallScheduleCreateRequestWithBody ¶
func NewAPIFirewallScheduleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallScheduleCreateRequestWithBody generates requests for APIFirewallScheduleCreate with any type of body
func NewAPIFirewallScheduleDeleteRequest ¶
func NewAPIFirewallScheduleDeleteRequest(server string, params *APIFirewallScheduleDeleteParams) (*http.Request, error)
NewAPIFirewallScheduleDeleteRequest generates requests for APIFirewallScheduleDelete
func NewAPIFirewallScheduleReadRequest ¶
NewAPIFirewallScheduleReadRequest generates requests for APIFirewallScheduleRead
func NewAPIFirewallScheduleTimeRangeCreateRequest ¶
func NewAPIFirewallScheduleTimeRangeCreateRequest(server string, body APIFirewallScheduleTimeRangeCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallScheduleTimeRangeCreateRequest calls the generic APIFirewallScheduleTimeRangeCreate builder with application/json body
func NewAPIFirewallScheduleTimeRangeCreateRequestWithBody ¶
func NewAPIFirewallScheduleTimeRangeCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallScheduleTimeRangeCreateRequestWithBody generates requests for APIFirewallScheduleTimeRangeCreate with any type of body
func NewAPIFirewallScheduleTimeRangeDeleteRequest ¶
func NewAPIFirewallScheduleTimeRangeDeleteRequest(server string, params *APIFirewallScheduleTimeRangeDeleteParams) (*http.Request, error)
NewAPIFirewallScheduleTimeRangeDeleteRequest generates requests for APIFirewallScheduleTimeRangeDelete
func NewAPIFirewallScheduleUpdateRequest ¶
func NewAPIFirewallScheduleUpdateRequest(server string, body APIFirewallScheduleUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallScheduleUpdateRequest calls the generic APIFirewallScheduleUpdate builder with application/json body
func NewAPIFirewallScheduleUpdateRequestWithBody ¶
func NewAPIFirewallScheduleUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallScheduleUpdateRequestWithBody generates requests for APIFirewallScheduleUpdate with any type of body
func NewAPIFirewallStatesDeleteRequest ¶
func NewAPIFirewallStatesDeleteRequest(server string, params *APIFirewallStatesDeleteParams) (*http.Request, error)
NewAPIFirewallStatesDeleteRequest generates requests for APIFirewallStatesDelete
func NewAPIFirewallStatesReadRequest ¶
NewAPIFirewallStatesReadRequest generates requests for APIFirewallStatesRead
func NewAPIFirewallStatesSizeReadRequest ¶
NewAPIFirewallStatesSizeReadRequest generates requests for APIFirewallStatesSizeRead
func NewAPIFirewallStatesSizeUpdateRequest ¶
func NewAPIFirewallStatesSizeUpdateRequest(server string, body APIFirewallStatesSizeUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallStatesSizeUpdateRequest calls the generic APIFirewallStatesSizeUpdate builder with application/json body
func NewAPIFirewallStatesSizeUpdateRequestWithBody ¶
func NewAPIFirewallStatesSizeUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallStatesSizeUpdateRequestWithBody generates requests for APIFirewallStatesSizeUpdate with any type of body
func NewAPIFirewallTrafficShaperCreateRequest ¶
func NewAPIFirewallTrafficShaperCreateRequest(server string, body APIFirewallTrafficShaperCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallTrafficShaperCreateRequest calls the generic APIFirewallTrafficShaperCreate builder with application/json body
func NewAPIFirewallTrafficShaperCreateRequestWithBody ¶
func NewAPIFirewallTrafficShaperCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallTrafficShaperCreateRequestWithBody generates requests for APIFirewallTrafficShaperCreate with any type of body
func NewAPIFirewallTrafficShaperDeleteRequest ¶
func NewAPIFirewallTrafficShaperDeleteRequest(server string, params *APIFirewallTrafficShaperDeleteParams) (*http.Request, error)
NewAPIFirewallTrafficShaperDeleteRequest generates requests for APIFirewallTrafficShaperDelete
func NewAPIFirewallTrafficShaperLimiterBandwidthCreateRequest ¶
func NewAPIFirewallTrafficShaperLimiterBandwidthCreateRequest(server string, body APIFirewallTrafficShaperLimiterBandwidthCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallTrafficShaperLimiterBandwidthCreateRequest calls the generic APIFirewallTrafficShaperLimiterBandwidthCreate builder with application/json body
func NewAPIFirewallTrafficShaperLimiterBandwidthCreateRequestWithBody ¶
func NewAPIFirewallTrafficShaperLimiterBandwidthCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallTrafficShaperLimiterBandwidthCreateRequestWithBody generates requests for APIFirewallTrafficShaperLimiterBandwidthCreate with any type of body
func NewAPIFirewallTrafficShaperLimiterBandwidthDeleteRequest ¶
func NewAPIFirewallTrafficShaperLimiterBandwidthDeleteRequest(server string, params *APIFirewallTrafficShaperLimiterBandwidthDeleteParams) (*http.Request, error)
NewAPIFirewallTrafficShaperLimiterBandwidthDeleteRequest generates requests for APIFirewallTrafficShaperLimiterBandwidthDelete
func NewAPIFirewallTrafficShaperLimiterCreateRequest ¶
func NewAPIFirewallTrafficShaperLimiterCreateRequest(server string, body APIFirewallTrafficShaperLimiterCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallTrafficShaperLimiterCreateRequest calls the generic APIFirewallTrafficShaperLimiterCreate builder with application/json body
func NewAPIFirewallTrafficShaperLimiterCreateRequestWithBody ¶
func NewAPIFirewallTrafficShaperLimiterCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallTrafficShaperLimiterCreateRequestWithBody generates requests for APIFirewallTrafficShaperLimiterCreate with any type of body
func NewAPIFirewallTrafficShaperLimiterDeleteRequest ¶
func NewAPIFirewallTrafficShaperLimiterDeleteRequest(server string, params *APIFirewallTrafficShaperLimiterDeleteParams) (*http.Request, error)
NewAPIFirewallTrafficShaperLimiterDeleteRequest generates requests for APIFirewallTrafficShaperLimiterDelete
func NewAPIFirewallTrafficShaperLimiterQueueCreateRequest ¶
func NewAPIFirewallTrafficShaperLimiterQueueCreateRequest(server string, body APIFirewallTrafficShaperLimiterQueueCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallTrafficShaperLimiterQueueCreateRequest calls the generic APIFirewallTrafficShaperLimiterQueueCreate builder with application/json body
func NewAPIFirewallTrafficShaperLimiterQueueCreateRequestWithBody ¶
func NewAPIFirewallTrafficShaperLimiterQueueCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallTrafficShaperLimiterQueueCreateRequestWithBody generates requests for APIFirewallTrafficShaperLimiterQueueCreate with any type of body
func NewAPIFirewallTrafficShaperLimiterQueueDeleteRequest ¶
func NewAPIFirewallTrafficShaperLimiterQueueDeleteRequest(server string, params *APIFirewallTrafficShaperLimiterQueueDeleteParams) (*http.Request, error)
NewAPIFirewallTrafficShaperLimiterQueueDeleteRequest generates requests for APIFirewallTrafficShaperLimiterQueueDelete
func NewAPIFirewallTrafficShaperLimiterReadRequest ¶
NewAPIFirewallTrafficShaperLimiterReadRequest generates requests for APIFirewallTrafficShaperLimiterRead
func NewAPIFirewallTrafficShaperQueueCreateRequest ¶
func NewAPIFirewallTrafficShaperQueueCreateRequest(server string, body APIFirewallTrafficShaperQueueCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallTrafficShaperQueueCreateRequest calls the generic APIFirewallTrafficShaperQueueCreate builder with application/json body
func NewAPIFirewallTrafficShaperQueueCreateRequestWithBody ¶
func NewAPIFirewallTrafficShaperQueueCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallTrafficShaperQueueCreateRequestWithBody generates requests for APIFirewallTrafficShaperQueueCreate with any type of body
func NewAPIFirewallTrafficShaperQueueDeleteRequest ¶
func NewAPIFirewallTrafficShaperQueueDeleteRequest(server string, params *APIFirewallTrafficShaperQueueDeleteParams) (*http.Request, error)
NewAPIFirewallTrafficShaperQueueDeleteRequest generates requests for APIFirewallTrafficShaperQueueDelete
func NewAPIFirewallTrafficShaperReadRequest ¶
NewAPIFirewallTrafficShaperReadRequest generates requests for APIFirewallTrafficShaperRead
func NewAPIFirewallTrafficShaperUpdateRequest ¶
func NewAPIFirewallTrafficShaperUpdateRequest(server string, body APIFirewallTrafficShaperUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallTrafficShaperUpdateRequest calls the generic APIFirewallTrafficShaperUpdate builder with application/json body
func NewAPIFirewallTrafficShaperUpdateRequestWithBody ¶
func NewAPIFirewallTrafficShaperUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallTrafficShaperUpdateRequestWithBody generates requests for APIFirewallTrafficShaperUpdate with any type of body
func NewAPIFirewallVirtualIPCreateRequest ¶
func NewAPIFirewallVirtualIPCreateRequest(server string, body APIFirewallVirtualIPCreateJSONRequestBody) (*http.Request, error)
NewAPIFirewallVirtualIPCreateRequest calls the generic APIFirewallVirtualIPCreate builder with application/json body
func NewAPIFirewallVirtualIPCreateRequestWithBody ¶
func NewAPIFirewallVirtualIPCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallVirtualIPCreateRequestWithBody generates requests for APIFirewallVirtualIPCreate with any type of body
func NewAPIFirewallVirtualIPDeleteRequest ¶
func NewAPIFirewallVirtualIPDeleteRequest(server string, params *APIFirewallVirtualIPDeleteParams) (*http.Request, error)
NewAPIFirewallVirtualIPDeleteRequest generates requests for APIFirewallVirtualIPDelete
func NewAPIFirewallVirtualIPReadRequest ¶
NewAPIFirewallVirtualIPReadRequest generates requests for APIFirewallVirtualIPRead
func NewAPIFirewallVirtualIPUpdateRequest ¶
func NewAPIFirewallVirtualIPUpdateRequest(server string, body APIFirewallVirtualIPUpdateJSONRequestBody) (*http.Request, error)
NewAPIFirewallVirtualIPUpdateRequest calls the generic APIFirewallVirtualIPUpdate builder with application/json body
func NewAPIFirewallVirtualIPUpdateRequestWithBody ¶
func NewAPIFirewallVirtualIPUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIFirewallVirtualIPUpdateRequestWithBody generates requests for APIFirewallVirtualIPUpdate with any type of body
func NewAPIInterfaceApplyCreateRequest ¶
func NewAPIInterfaceApplyCreateRequest(server string, body APIInterfaceApplyCreateJSONRequestBody) (*http.Request, error)
NewAPIInterfaceApplyCreateRequest calls the generic APIInterfaceApplyCreate builder with application/json body
func NewAPIInterfaceApplyCreateRequestWithBody ¶
func NewAPIInterfaceApplyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIInterfaceApplyCreateRequestWithBody generates requests for APIInterfaceApplyCreate with any type of body
func NewAPIInterfaceApplyReadRequest ¶
NewAPIInterfaceApplyReadRequest generates requests for APIInterfaceApplyRead
func NewAPIInterfaceAvailableReadRequest ¶
NewAPIInterfaceAvailableReadRequest generates requests for APIInterfaceAvailableRead
func NewAPIInterfaceBridgeCreateRequest ¶
func NewAPIInterfaceBridgeCreateRequest(server string, body APIInterfaceBridgeCreateJSONRequestBody) (*http.Request, error)
NewAPIInterfaceBridgeCreateRequest calls the generic APIInterfaceBridgeCreate builder with application/json body
func NewAPIInterfaceBridgeCreateRequestWithBody ¶
func NewAPIInterfaceBridgeCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIInterfaceBridgeCreateRequestWithBody generates requests for APIInterfaceBridgeCreate with any type of body
func NewAPIInterfaceBridgeDeleteRequest ¶
func NewAPIInterfaceBridgeDeleteRequest(server string, params *APIInterfaceBridgeDeleteParams) (*http.Request, error)
NewAPIInterfaceBridgeDeleteRequest generates requests for APIInterfaceBridgeDelete
func NewAPIInterfaceBridgeReadRequest ¶
NewAPIInterfaceBridgeReadRequest generates requests for APIInterfaceBridgeRead
func NewAPIInterfaceBridgeUpdateRequest ¶
func NewAPIInterfaceBridgeUpdateRequest(server string, body APIInterfaceBridgeUpdateJSONRequestBody) (*http.Request, error)
NewAPIInterfaceBridgeUpdateRequest calls the generic APIInterfaceBridgeUpdate builder with application/json body
func NewAPIInterfaceBridgeUpdateRequestWithBody ¶
func NewAPIInterfaceBridgeUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIInterfaceBridgeUpdateRequestWithBody generates requests for APIInterfaceBridgeUpdate with any type of body
func NewAPIInterfaceCreateRequest ¶
func NewAPIInterfaceCreateRequest(server string, body APIInterfaceCreateJSONRequestBody) (*http.Request, error)
NewAPIInterfaceCreateRequest calls the generic APIInterfaceCreate builder with application/json body
func NewAPIInterfaceCreateRequestWithBody ¶
func NewAPIInterfaceCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIInterfaceCreateRequestWithBody generates requests for APIInterfaceCreate with any type of body
func NewAPIInterfaceDeleteRequest ¶
func NewAPIInterfaceDeleteRequest(server string, params *APIInterfaceDeleteParams) (*http.Request, error)
NewAPIInterfaceDeleteRequest generates requests for APIInterfaceDelete
func NewAPIInterfaceGroupCreateRequest ¶
func NewAPIInterfaceGroupCreateRequest(server string, body APIInterfaceGroupCreateJSONRequestBody) (*http.Request, error)
NewAPIInterfaceGroupCreateRequest calls the generic APIInterfaceGroupCreate builder with application/json body
func NewAPIInterfaceGroupCreateRequestWithBody ¶
func NewAPIInterfaceGroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIInterfaceGroupCreateRequestWithBody generates requests for APIInterfaceGroupCreate with any type of body
func NewAPIInterfaceGroupDeleteRequest ¶
func NewAPIInterfaceGroupDeleteRequest(server string, params *APIInterfaceGroupDeleteParams) (*http.Request, error)
NewAPIInterfaceGroupDeleteRequest generates requests for APIInterfaceGroupDelete
func NewAPIInterfaceGroupReadRequest ¶
NewAPIInterfaceGroupReadRequest generates requests for APIInterfaceGroupRead
func NewAPIInterfaceGroupUpdateRequest ¶
func NewAPIInterfaceGroupUpdateRequest(server string, body APIInterfaceGroupUpdateJSONRequestBody) (*http.Request, error)
NewAPIInterfaceGroupUpdateRequest calls the generic APIInterfaceGroupUpdate builder with application/json body
func NewAPIInterfaceGroupUpdateRequestWithBody ¶
func NewAPIInterfaceGroupUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIInterfaceGroupUpdateRequestWithBody generates requests for APIInterfaceGroupUpdate with any type of body
func NewAPIInterfaceReadRequest ¶
NewAPIInterfaceReadRequest generates requests for APIInterfaceRead
func NewAPIInterfaceUpdateRequest ¶
func NewAPIInterfaceUpdateRequest(server string, body APIInterfaceUpdateJSONRequestBody) (*http.Request, error)
NewAPIInterfaceUpdateRequest calls the generic APIInterfaceUpdate builder with application/json body
func NewAPIInterfaceUpdateRequestWithBody ¶
func NewAPIInterfaceUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIInterfaceUpdateRequestWithBody generates requests for APIInterfaceUpdate with any type of body
func NewAPIInterfaceVLANCreateRequest ¶
func NewAPIInterfaceVLANCreateRequest(server string, body APIInterfaceVLANCreateJSONRequestBody) (*http.Request, error)
NewAPIInterfaceVLANCreateRequest calls the generic APIInterfaceVLANCreate builder with application/json body
func NewAPIInterfaceVLANCreateRequestWithBody ¶
func NewAPIInterfaceVLANCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIInterfaceVLANCreateRequestWithBody generates requests for APIInterfaceVLANCreate with any type of body
func NewAPIInterfaceVLANDeleteRequest ¶
func NewAPIInterfaceVLANDeleteRequest(server string, params *APIInterfaceVLANDeleteParams) (*http.Request, error)
NewAPIInterfaceVLANDeleteRequest generates requests for APIInterfaceVLANDelete
func NewAPIInterfaceVLANReadRequest ¶
NewAPIInterfaceVLANReadRequest generates requests for APIInterfaceVLANRead
func NewAPIInterfaceVLANUpdateRequest ¶
func NewAPIInterfaceVLANUpdateRequest(server string, body APIInterfaceVLANUpdateJSONRequestBody) (*http.Request, error)
NewAPIInterfaceVLANUpdateRequest calls the generic APIInterfaceVLANUpdate builder with application/json body
func NewAPIInterfaceVLANUpdateRequestWithBody ¶
func NewAPIInterfaceVLANUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIInterfaceVLANUpdateRequestWithBody generates requests for APIInterfaceVLANUpdate with any type of body
func NewAPIRoutingApplyCreateRequest ¶
NewAPIRoutingApplyCreateRequest generates requests for APIRoutingApplyCreate
func NewAPIRoutingGatewayCreateRequest ¶
func NewAPIRoutingGatewayCreateRequest(server string, body APIRoutingGatewayCreateJSONRequestBody) (*http.Request, error)
NewAPIRoutingGatewayCreateRequest calls the generic APIRoutingGatewayCreate builder with application/json body
func NewAPIRoutingGatewayCreateRequestWithBody ¶
func NewAPIRoutingGatewayCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIRoutingGatewayCreateRequestWithBody generates requests for APIRoutingGatewayCreate with any type of body
func NewAPIRoutingGatewayDefaultUpdateRequest ¶
func NewAPIRoutingGatewayDefaultUpdateRequest(server string, body APIRoutingGatewayDefaultUpdateJSONRequestBody) (*http.Request, error)
NewAPIRoutingGatewayDefaultUpdateRequest calls the generic APIRoutingGatewayDefaultUpdate builder with application/json body
func NewAPIRoutingGatewayDefaultUpdateRequestWithBody ¶
func NewAPIRoutingGatewayDefaultUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIRoutingGatewayDefaultUpdateRequestWithBody generates requests for APIRoutingGatewayDefaultUpdate with any type of body
func NewAPIRoutingGatewayDeleteRequest ¶
func NewAPIRoutingGatewayDeleteRequest(server string, params *APIRoutingGatewayDeleteParams) (*http.Request, error)
NewAPIRoutingGatewayDeleteRequest generates requests for APIRoutingGatewayDelete
func NewAPIRoutingGatewayDetailReadRequest ¶
NewAPIRoutingGatewayDetailReadRequest generates requests for APIRoutingGatewayDetailRead
func NewAPIRoutingGatewayReadRequest ¶
NewAPIRoutingGatewayReadRequest generates requests for APIRoutingGatewayRead
func NewAPIRoutingGatewayUpdateRequest ¶
func NewAPIRoutingGatewayUpdateRequest(server string, body APIRoutingGatewayUpdateJSONRequestBody) (*http.Request, error)
NewAPIRoutingGatewayUpdateRequest calls the generic APIRoutingGatewayUpdate builder with application/json body
func NewAPIRoutingGatewayUpdateRequestWithBody ¶
func NewAPIRoutingGatewayUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIRoutingGatewayUpdateRequestWithBody generates requests for APIRoutingGatewayUpdate with any type of body
func NewAPIRoutingStaticRouteCreateRequest ¶
func NewAPIRoutingStaticRouteCreateRequest(server string, body APIRoutingStaticRouteCreateJSONRequestBody) (*http.Request, error)
NewAPIRoutingStaticRouteCreateRequest calls the generic APIRoutingStaticRouteCreate builder with application/json body
func NewAPIRoutingStaticRouteCreateRequestWithBody ¶
func NewAPIRoutingStaticRouteCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIRoutingStaticRouteCreateRequestWithBody generates requests for APIRoutingStaticRouteCreate with any type of body
func NewAPIRoutingStaticRouteDeleteRequest ¶
func NewAPIRoutingStaticRouteDeleteRequest(server string, params *APIRoutingStaticRouteDeleteParams) (*http.Request, error)
NewAPIRoutingStaticRouteDeleteRequest generates requests for APIRoutingStaticRouteDelete
func NewAPIRoutingStaticRouteReadRequest ¶
NewAPIRoutingStaticRouteReadRequest generates requests for APIRoutingStaticRouteRead
func NewAPIRoutingStaticRouteUpdateRequest ¶
func NewAPIRoutingStaticRouteUpdateRequest(server string, body APIRoutingStaticRouteUpdateJSONRequestBody) (*http.Request, error)
NewAPIRoutingStaticRouteUpdateRequest calls the generic APIRoutingStaticRouteUpdate builder with application/json body
func NewAPIRoutingStaticRouteUpdateRequestWithBody ¶
func NewAPIRoutingStaticRouteUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIRoutingStaticRouteUpdateRequestWithBody generates requests for APIRoutingStaticRouteUpdate with any type of body
func NewAPIServicesDDNSReadRequest ¶
NewAPIServicesDDNSReadRequest generates requests for APIServicesDDNSRead
func NewAPIServicesDHCPdLeaseReadRequest ¶
NewAPIServicesDHCPdLeaseReadRequest generates requests for APIServicesDHCPdLeaseRead
func NewAPIServicesDHCPdOptionsCreateRequest ¶
func NewAPIServicesDHCPdOptionsCreateRequest(server string, body APIServicesDHCPdOptionsCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesDHCPdOptionsCreateRequest calls the generic APIServicesDHCPdOptionsCreate builder with application/json body
func NewAPIServicesDHCPdOptionsCreateRequestWithBody ¶
func NewAPIServicesDHCPdOptionsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesDHCPdOptionsCreateRequestWithBody generates requests for APIServicesDHCPdOptionsCreate with any type of body
func NewAPIServicesDHCPdReadRequest ¶
NewAPIServicesDHCPdReadRequest generates requests for APIServicesDHCPdRead
func NewAPIServicesDHCPdRestartCreateRequest ¶
NewAPIServicesDHCPdRestartCreateRequest generates requests for APIServicesDHCPdRestartCreate
func NewAPIServicesDHCPdStartCreateRequest ¶
NewAPIServicesDHCPdStartCreateRequest generates requests for APIServicesDHCPdStartCreate
func NewAPIServicesDHCPdStaticMappingCreateRequest ¶
func NewAPIServicesDHCPdStaticMappingCreateRequest(server string, body APIServicesDHCPdStaticMappingCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesDHCPdStaticMappingCreateRequest calls the generic APIServicesDHCPdStaticMappingCreate builder with application/json body
func NewAPIServicesDHCPdStaticMappingCreateRequestWithBody ¶
func NewAPIServicesDHCPdStaticMappingCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesDHCPdStaticMappingCreateRequestWithBody generates requests for APIServicesDHCPdStaticMappingCreate with any type of body
func NewAPIServicesDHCPdStaticMappingDeleteRequest ¶
func NewAPIServicesDHCPdStaticMappingDeleteRequest(server string, params *APIServicesDHCPdStaticMappingDeleteParams) (*http.Request, error)
NewAPIServicesDHCPdStaticMappingDeleteRequest generates requests for APIServicesDHCPdStaticMappingDelete
func NewAPIServicesDHCPdStaticMappingReadRequest ¶
func NewAPIServicesDHCPdStaticMappingReadRequest(server string, params *APIServicesDHCPdStaticMappingReadParams) (*http.Request, error)
NewAPIServicesDHCPdStaticMappingReadRequest generates requests for APIServicesDHCPdStaticMappingRead
func NewAPIServicesDHCPdStaticMappingUpdateRequest ¶
func NewAPIServicesDHCPdStaticMappingUpdateRequest(server string, body APIServicesDHCPdStaticMappingUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesDHCPdStaticMappingUpdateRequest calls the generic APIServicesDHCPdStaticMappingUpdate builder with application/json body
func NewAPIServicesDHCPdStaticMappingUpdateRequestWithBody ¶
func NewAPIServicesDHCPdStaticMappingUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesDHCPdStaticMappingUpdateRequestWithBody generates requests for APIServicesDHCPdStaticMappingUpdate with any type of body
func NewAPIServicesDHCPdStopCreateRequest ¶
NewAPIServicesDHCPdStopCreateRequest generates requests for APIServicesDHCPdStopCreate
func NewAPIServicesDHCPdUpdateRequest ¶
func NewAPIServicesDHCPdUpdateRequest(server string, body APIServicesDHCPdUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesDHCPdUpdateRequest calls the generic APIServicesDHCPdUpdate builder with application/json body
func NewAPIServicesDHCPdUpdateRequestWithBody ¶
func NewAPIServicesDHCPdUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesDHCPdUpdateRequestWithBody generates requests for APIServicesDHCPdUpdate with any type of body
func NewAPIServicesDnsmasqApplyCreateRequest ¶
NewAPIServicesDnsmasqApplyCreateRequest generates requests for APIServicesDnsmasqApplyCreate
func NewAPIServicesDnsmasqHostOverrideAliasCreateRequest ¶
func NewAPIServicesDnsmasqHostOverrideAliasCreateRequest(server string, body APIServicesDnsmasqHostOverrideAliasCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesDnsmasqHostOverrideAliasCreateRequest calls the generic APIServicesDnsmasqHostOverrideAliasCreate builder with application/json body
func NewAPIServicesDnsmasqHostOverrideAliasCreateRequestWithBody ¶
func NewAPIServicesDnsmasqHostOverrideAliasCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesDnsmasqHostOverrideAliasCreateRequestWithBody generates requests for APIServicesDnsmasqHostOverrideAliasCreate with any type of body
func NewAPIServicesDnsmasqHostOverrideCreateRequest ¶
func NewAPIServicesDnsmasqHostOverrideCreateRequest(server string, body APIServicesDnsmasqHostOverrideCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesDnsmasqHostOverrideCreateRequest calls the generic APIServicesDnsmasqHostOverrideCreate builder with application/json body
func NewAPIServicesDnsmasqHostOverrideCreateRequestWithBody ¶
func NewAPIServicesDnsmasqHostOverrideCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesDnsmasqHostOverrideCreateRequestWithBody generates requests for APIServicesDnsmasqHostOverrideCreate with any type of body
func NewAPIServicesDnsmasqHostOverrideDeleteRequest ¶
func NewAPIServicesDnsmasqHostOverrideDeleteRequest(server string, params *APIServicesDnsmasqHostOverrideDeleteParams) (*http.Request, error)
NewAPIServicesDnsmasqHostOverrideDeleteRequest generates requests for APIServicesDnsmasqHostOverrideDelete
func NewAPIServicesDnsmasqHostOverrideReadRequest ¶
NewAPIServicesDnsmasqHostOverrideReadRequest generates requests for APIServicesDnsmasqHostOverrideRead
func NewAPIServicesDnsmasqHostOverrideUpdateRequest ¶
func NewAPIServicesDnsmasqHostOverrideUpdateRequest(server string, body APIServicesDnsmasqHostOverrideUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesDnsmasqHostOverrideUpdateRequest calls the generic APIServicesDnsmasqHostOverrideUpdate builder with application/json body
func NewAPIServicesDnsmasqHostOverrideUpdateRequestWithBody ¶
func NewAPIServicesDnsmasqHostOverrideUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesDnsmasqHostOverrideUpdateRequestWithBody generates requests for APIServicesDnsmasqHostOverrideUpdate with any type of body
func NewAPIServicesDnsmasqReadRequest ¶
NewAPIServicesDnsmasqReadRequest generates requests for APIServicesDnsmasqRead
func NewAPIServicesDnsmasqRestartCreateRequest ¶
NewAPIServicesDnsmasqRestartCreateRequest generates requests for APIServicesDnsmasqRestartCreate
func NewAPIServicesDnsmasqStartCreateRequest ¶
NewAPIServicesDnsmasqStartCreateRequest generates requests for APIServicesDnsmasqStartCreate
func NewAPIServicesDnsmasqStopCreateRequest ¶
NewAPIServicesDnsmasqStopCreateRequest generates requests for APIServicesDnsmasqStopCreate
func NewAPIServicesDpingerRestartCreateRequest ¶
NewAPIServicesDpingerRestartCreateRequest generates requests for APIServicesDpingerRestartCreate
func NewAPIServicesDpingerStartCreateRequest ¶
NewAPIServicesDpingerStartCreateRequest generates requests for APIServicesDpingerStartCreate
func NewAPIServicesDpingerStopCreateRequest ¶
NewAPIServicesDpingerStopCreateRequest generates requests for APIServicesDpingerStopCreate
func NewAPIServicesIPsecApplyCreateRequest ¶
func NewAPIServicesIPsecApplyCreateRequest(server string, body APIServicesIPsecApplyCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesIPsecApplyCreateRequest calls the generic APIServicesIPsecApplyCreate builder with application/json body
func NewAPIServicesIPsecApplyCreateRequestWithBody ¶
func NewAPIServicesIPsecApplyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesIPsecApplyCreateRequestWithBody generates requests for APIServicesIPsecApplyCreate with any type of body
func NewAPIServicesIPsecPhase1CreateRequest ¶
func NewAPIServicesIPsecPhase1CreateRequest(server string, body APIServicesIPsecPhase1CreateJSONRequestBody) (*http.Request, error)
NewAPIServicesIPsecPhase1CreateRequest calls the generic APIServicesIPsecPhase1Create builder with application/json body
func NewAPIServicesIPsecPhase1CreateRequestWithBody ¶
func NewAPIServicesIPsecPhase1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesIPsecPhase1CreateRequestWithBody generates requests for APIServicesIPsecPhase1Create with any type of body
func NewAPIServicesIPsecPhase1DeleteRequest ¶
func NewAPIServicesIPsecPhase1DeleteRequest(server string, params *APIServicesIPsecPhase1DeleteParams) (*http.Request, error)
NewAPIServicesIPsecPhase1DeleteRequest generates requests for APIServicesIPsecPhase1Delete
func NewAPIServicesIPsecPhase1EncryptionCreateRequest ¶
func NewAPIServicesIPsecPhase1EncryptionCreateRequest(server string, body APIServicesIPsecPhase1EncryptionCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesIPsecPhase1EncryptionCreateRequest calls the generic APIServicesIPsecPhase1EncryptionCreate builder with application/json body
func NewAPIServicesIPsecPhase1EncryptionCreateRequestWithBody ¶
func NewAPIServicesIPsecPhase1EncryptionCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesIPsecPhase1EncryptionCreateRequestWithBody generates requests for APIServicesIPsecPhase1EncryptionCreate with any type of body
func NewAPIServicesIPsecPhase1ReadRequest ¶
NewAPIServicesIPsecPhase1ReadRequest generates requests for APIServicesIPsecPhase1Read
func NewAPIServicesIPsecPhase1UpdateRequest ¶
func NewAPIServicesIPsecPhase1UpdateRequest(server string, body APIServicesIPsecPhase1UpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesIPsecPhase1UpdateRequest calls the generic APIServicesIPsecPhase1Update builder with application/json body
func NewAPIServicesIPsecPhase1UpdateRequestWithBody ¶
func NewAPIServicesIPsecPhase1UpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesIPsecPhase1UpdateRequestWithBody generates requests for APIServicesIPsecPhase1Update with any type of body
func NewAPIServicesIPsecPhase2CreateRequest ¶
func NewAPIServicesIPsecPhase2CreateRequest(server string, body APIServicesIPsecPhase2CreateJSONRequestBody) (*http.Request, error)
NewAPIServicesIPsecPhase2CreateRequest calls the generic APIServicesIPsecPhase2Create builder with application/json body
func NewAPIServicesIPsecPhase2CreateRequestWithBody ¶
func NewAPIServicesIPsecPhase2CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesIPsecPhase2CreateRequestWithBody generates requests for APIServicesIPsecPhase2Create with any type of body
func NewAPIServicesIPsecPhase2DeleteRequest ¶
func NewAPIServicesIPsecPhase2DeleteRequest(server string, params *APIServicesIPsecPhase2DeleteParams) (*http.Request, error)
NewAPIServicesIPsecPhase2DeleteRequest generates requests for APIServicesIPsecPhase2Delete
func NewAPIServicesIPsecPhase2ReadRequest ¶
NewAPIServicesIPsecPhase2ReadRequest generates requests for APIServicesIPsecPhase2Read
func NewAPIServicesIPsecPhase2UpdateRequest ¶
func NewAPIServicesIPsecPhase2UpdateRequest(server string, body APIServicesIPsecPhase2UpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesIPsecPhase2UpdateRequest calls the generic APIServicesIPsecPhase2Update builder with application/json body
func NewAPIServicesIPsecPhase2UpdateRequestWithBody ¶
func NewAPIServicesIPsecPhase2UpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesIPsecPhase2UpdateRequestWithBody generates requests for APIServicesIPsecPhase2Update with any type of body
func NewAPIServicesNTPdReadRequest ¶
NewAPIServicesNTPdReadRequest generates requests for APIServicesNTPdRead
func NewAPIServicesNTPdRestartCreateRequest ¶
NewAPIServicesNTPdRestartCreateRequest generates requests for APIServicesNTPdRestartCreate
func NewAPIServicesNTPdStartCreateRequest ¶
NewAPIServicesNTPdStartCreateRequest generates requests for APIServicesNTPdStartCreate
func NewAPIServicesNTPdStopCreateRequest ¶
NewAPIServicesNTPdStopCreateRequest generates requests for APIServicesNTPdStopCreate
func NewAPIServicesNTPdTimeServerCreateRequest ¶
func NewAPIServicesNTPdTimeServerCreateRequest(server string, body APIServicesNTPdTimeServerCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesNTPdTimeServerCreateRequest calls the generic APIServicesNTPdTimeServerCreate builder with application/json body
func NewAPIServicesNTPdTimeServerCreateRequestWithBody ¶
func NewAPIServicesNTPdTimeServerCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesNTPdTimeServerCreateRequestWithBody generates requests for APIServicesNTPdTimeServerCreate with any type of body
func NewAPIServicesNTPdTimeServerDeleteRequest ¶
func NewAPIServicesNTPdTimeServerDeleteRequest(server string, params *APIServicesNTPdTimeServerDeleteParams) (*http.Request, error)
NewAPIServicesNTPdTimeServerDeleteRequest generates requests for APIServicesNTPdTimeServerDelete
func NewAPIServicesNTPdUpdateRequest ¶
func NewAPIServicesNTPdUpdateRequest(server string, body APIServicesNTPdUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesNTPdUpdateRequest calls the generic APIServicesNTPdUpdate builder with application/json body
func NewAPIServicesNTPdUpdateRequestWithBody ¶
func NewAPIServicesNTPdUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesNTPdUpdateRequestWithBody generates requests for APIServicesNTPdUpdate with any type of body
func NewAPIServicesOpenVPNClientCreateRequest ¶
func NewAPIServicesOpenVPNClientCreateRequest(server string, body APIServicesOpenVPNClientCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesOpenVPNClientCreateRequest calls the generic APIServicesOpenVPNClientCreate builder with application/json body
func NewAPIServicesOpenVPNClientCreateRequestWithBody ¶
func NewAPIServicesOpenVPNClientCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesOpenVPNClientCreateRequestWithBody generates requests for APIServicesOpenVPNClientCreate with any type of body
func NewAPIServicesOpenVPNClientReadRequest ¶
NewAPIServicesOpenVPNClientReadRequest generates requests for APIServicesOpenVPNClientRead
func NewAPIServicesOpenVPNClientSpecificOverridesCreateRequest ¶
func NewAPIServicesOpenVPNClientSpecificOverridesCreateRequest(server string, body APIServicesOpenVPNClientSpecificOverridesCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesOpenVPNClientSpecificOverridesCreateRequest calls the generic APIServicesOpenVPNClientSpecificOverridesCreate builder with application/json body
func NewAPIServicesOpenVPNClientSpecificOverridesCreateRequestWithBody ¶
func NewAPIServicesOpenVPNClientSpecificOverridesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesOpenVPNClientSpecificOverridesCreateRequestWithBody generates requests for APIServicesOpenVPNClientSpecificOverridesCreate with any type of body
func NewAPIServicesOpenVPNClientSpecificOverridesDeleteRequest ¶
func NewAPIServicesOpenVPNClientSpecificOverridesDeleteRequest(server string, params *APIServicesOpenVPNClientSpecificOverridesDeleteParams) (*http.Request, error)
NewAPIServicesOpenVPNClientSpecificOverridesDeleteRequest generates requests for APIServicesOpenVPNClientSpecificOverridesDelete
func NewAPIServicesOpenVPNClientSpecificOverridesReadRequest ¶
NewAPIServicesOpenVPNClientSpecificOverridesReadRequest generates requests for APIServicesOpenVPNClientSpecificOverridesRead
func NewAPIServicesOpenVPNClientSpecificOverridesUpdateRequest ¶
func NewAPIServicesOpenVPNClientSpecificOverridesUpdateRequest(server string, body APIServicesOpenVPNClientSpecificOverridesUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesOpenVPNClientSpecificOverridesUpdateRequest calls the generic APIServicesOpenVPNClientSpecificOverridesUpdate builder with application/json body
func NewAPIServicesOpenVPNClientSpecificOverridesUpdateRequestWithBody ¶
func NewAPIServicesOpenVPNClientSpecificOverridesUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesOpenVPNClientSpecificOverridesUpdateRequestWithBody generates requests for APIServicesOpenVPNClientSpecificOverridesUpdate with any type of body
func NewAPIServicesOpenVPNClientUpdateRequest ¶
func NewAPIServicesOpenVPNClientUpdateRequest(server string, params *APIServicesOpenVPNClientUpdateParams, body APIServicesOpenVPNClientUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesOpenVPNClientUpdateRequest calls the generic APIServicesOpenVPNClientUpdate builder with application/json body
func NewAPIServicesOpenVPNClientUpdateRequestWithBody ¶
func NewAPIServicesOpenVPNClientUpdateRequestWithBody(server string, params *APIServicesOpenVPNClientUpdateParams, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesOpenVPNClientUpdateRequestWithBody generates requests for APIServicesOpenVPNClientUpdate with any type of body
func NewAPIServicesOpenVPNServerCreateRequest ¶
func NewAPIServicesOpenVPNServerCreateRequest(server string, body APIServicesOpenVPNServerCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesOpenVPNServerCreateRequest calls the generic APIServicesOpenVPNServerCreate builder with application/json body
func NewAPIServicesOpenVPNServerCreateRequestWithBody ¶
func NewAPIServicesOpenVPNServerCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesOpenVPNServerCreateRequestWithBody generates requests for APIServicesOpenVPNServerCreate with any type of body
func NewAPIServicesOpenVPNServerReadRequest ¶
NewAPIServicesOpenVPNServerReadRequest generates requests for APIServicesOpenVPNServerRead
func NewAPIServicesOpenVPNServerUpdateRequest ¶
func NewAPIServicesOpenVPNServerUpdateRequest(server string, params *APIServicesOpenVPNServerUpdateParams, body APIServicesOpenVPNServerUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesOpenVPNServerUpdateRequest calls the generic APIServicesOpenVPNServerUpdate builder with application/json body
func NewAPIServicesOpenVPNServerUpdateRequestWithBody ¶
func NewAPIServicesOpenVPNServerUpdateRequestWithBody(server string, params *APIServicesOpenVPNServerUpdateParams, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesOpenVPNServerUpdateRequestWithBody generates requests for APIServicesOpenVPNServerUpdate with any type of body
func NewAPIServicesReadRequest ¶
NewAPIServicesReadRequest generates requests for APIServicesRead
func NewAPIServicesRestartCreateRequest ¶
func NewAPIServicesRestartCreateRequest(server string, body APIServicesRestartCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesRestartCreateRequest calls the generic APIServicesRestartCreate builder with application/json body
func NewAPIServicesRestartCreateRequestWithBody ¶
func NewAPIServicesRestartCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesRestartCreateRequestWithBody generates requests for APIServicesRestartCreate with any type of body
func NewAPIServicesSSHdReadRequest ¶
NewAPIServicesSSHdReadRequest generates requests for APIServicesSSHdRead
func NewAPIServicesSSHdRestartCreateRequest ¶
NewAPIServicesSSHdRestartCreateRequest generates requests for APIServicesSSHdRestartCreate
func NewAPIServicesSSHdStartCreateRequest ¶
NewAPIServicesSSHdStartCreateRequest generates requests for APIServicesSSHdStartCreate
func NewAPIServicesSSHdStopCreateRequest ¶
NewAPIServicesSSHdStopCreateRequest generates requests for APIServicesSSHdStopCreate
func NewAPIServicesSSHdUpdateRequest ¶
func NewAPIServicesSSHdUpdateRequest(server string, body APIServicesSSHdUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesSSHdUpdateRequest calls the generic APIServicesSSHdUpdate builder with application/json body
func NewAPIServicesSSHdUpdateRequestWithBody ¶
func NewAPIServicesSSHdUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesSSHdUpdateRequestWithBody generates requests for APIServicesSSHdUpdate with any type of body
func NewAPIServicesServiceWatchdogReadRequest ¶
NewAPIServicesServiceWatchdogReadRequest generates requests for APIServicesServiceWatchdogRead
func NewAPIServicesServiceWatchdogUpdateRequest ¶
func NewAPIServicesServiceWatchdogUpdateRequest(server string, body APIServicesServiceWatchdogUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesServiceWatchdogUpdateRequest calls the generic APIServicesServiceWatchdogUpdate builder with application/json body
func NewAPIServicesServiceWatchdogUpdateRequestWithBody ¶
func NewAPIServicesServiceWatchdogUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesServiceWatchdogUpdateRequestWithBody generates requests for APIServicesServiceWatchdogUpdate with any type of body
func NewAPIServicesStartCreateRequest ¶
NewAPIServicesStartCreateRequest generates requests for APIServicesStartCreate
func NewAPIServicesStopCreateRequest ¶
func NewAPIServicesStopCreateRequest(server string, body APIServicesStopCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesStopCreateRequest calls the generic APIServicesStopCreate builder with application/json body
func NewAPIServicesStopCreateRequestWithBody ¶
func NewAPIServicesStopCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesStopCreateRequestWithBody generates requests for APIServicesStopCreate with any type of body
func NewAPIServicesSyslogdRestartCreateRequest ¶
NewAPIServicesSyslogdRestartCreateRequest generates requests for APIServicesSyslogdRestartCreate
func NewAPIServicesSyslogdStartCreateRequest ¶
NewAPIServicesSyslogdStartCreateRequest generates requests for APIServicesSyslogdStartCreate
func NewAPIServicesSyslogdStopCreateRequest ¶
NewAPIServicesSyslogdStopCreateRequest generates requests for APIServicesSyslogdStopCreate
func NewAPIServicesUnboundAccessListCreateRequest ¶
func NewAPIServicesUnboundAccessListCreateRequest(server string, body APIServicesUnboundAccessListCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesUnboundAccessListCreateRequest calls the generic APIServicesUnboundAccessListCreate builder with application/json body
func NewAPIServicesUnboundAccessListCreateRequestWithBody ¶
func NewAPIServicesUnboundAccessListCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesUnboundAccessListCreateRequestWithBody generates requests for APIServicesUnboundAccessListCreate with any type of body
func NewAPIServicesUnboundAccessListDeleteRequest ¶
func NewAPIServicesUnboundAccessListDeleteRequest(server string, params *APIServicesUnboundAccessListDeleteParams) (*http.Request, error)
NewAPIServicesUnboundAccessListDeleteRequest generates requests for APIServicesUnboundAccessListDelete
func NewAPIServicesUnboundAccessListReadRequest ¶
NewAPIServicesUnboundAccessListReadRequest generates requests for APIServicesUnboundAccessListRead
func NewAPIServicesUnboundAccessListRowCreateRequest ¶
func NewAPIServicesUnboundAccessListRowCreateRequest(server string, body APIServicesUnboundAccessListRowCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesUnboundAccessListRowCreateRequest calls the generic APIServicesUnboundAccessListRowCreate builder with application/json body
func NewAPIServicesUnboundAccessListRowCreateRequestWithBody ¶
func NewAPIServicesUnboundAccessListRowCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesUnboundAccessListRowCreateRequestWithBody generates requests for APIServicesUnboundAccessListRowCreate with any type of body
func NewAPIServicesUnboundAccessListUpdateRequest ¶
func NewAPIServicesUnboundAccessListUpdateRequest(server string, body APIServicesUnboundAccessListUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesUnboundAccessListUpdateRequest calls the generic APIServicesUnboundAccessListUpdate builder with application/json body
func NewAPIServicesUnboundAccessListUpdateRequestWithBody ¶
func NewAPIServicesUnboundAccessListUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesUnboundAccessListUpdateRequestWithBody generates requests for APIServicesUnboundAccessListUpdate with any type of body
func NewAPIServicesUnboundApplyCreateRequest ¶
func NewAPIServicesUnboundApplyCreateRequest(server string, body APIServicesUnboundApplyCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesUnboundApplyCreateRequest calls the generic APIServicesUnboundApplyCreate builder with application/json body
func NewAPIServicesUnboundApplyCreateRequestWithBody ¶
func NewAPIServicesUnboundApplyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesUnboundApplyCreateRequestWithBody generates requests for APIServicesUnboundApplyCreate with any type of body
func NewAPIServicesUnboundApplyReadRequest ¶
NewAPIServicesUnboundApplyReadRequest generates requests for APIServicesUnboundApplyRead
func NewAPIServicesUnboundHostOverrideAliasCreateRequest ¶
func NewAPIServicesUnboundHostOverrideAliasCreateRequest(server string, body APIServicesUnboundHostOverrideAliasCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesUnboundHostOverrideAliasCreateRequest calls the generic APIServicesUnboundHostOverrideAliasCreate builder with application/json body
func NewAPIServicesUnboundHostOverrideAliasCreateRequestWithBody ¶
func NewAPIServicesUnboundHostOverrideAliasCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesUnboundHostOverrideAliasCreateRequestWithBody generates requests for APIServicesUnboundHostOverrideAliasCreate with any type of body
func NewAPIServicesUnboundHostOverrideCreateRequest ¶
func NewAPIServicesUnboundHostOverrideCreateRequest(server string, body APIServicesUnboundHostOverrideCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesUnboundHostOverrideCreateRequest calls the generic APIServicesUnboundHostOverrideCreate builder with application/json body
func NewAPIServicesUnboundHostOverrideCreateRequestWithBody ¶
func NewAPIServicesUnboundHostOverrideCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesUnboundHostOverrideCreateRequestWithBody generates requests for APIServicesUnboundHostOverrideCreate with any type of body
func NewAPIServicesUnboundHostOverrideDeleteRequest ¶
func NewAPIServicesUnboundHostOverrideDeleteRequest(server string, params *APIServicesUnboundHostOverrideDeleteParams) (*http.Request, error)
NewAPIServicesUnboundHostOverrideDeleteRequest generates requests for APIServicesUnboundHostOverrideDelete
func NewAPIServicesUnboundHostOverrideFlushDeleteRequest ¶
NewAPIServicesUnboundHostOverrideFlushDeleteRequest generates requests for APIServicesUnboundHostOverrideFlushDelete
func NewAPIServicesUnboundHostOverrideFlushUpdateRequest ¶
func NewAPIServicesUnboundHostOverrideFlushUpdateRequest(server string, body APIServicesUnboundHostOverrideFlushUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesUnboundHostOverrideFlushUpdateRequest calls the generic APIServicesUnboundHostOverrideFlushUpdate builder with application/json body
func NewAPIServicesUnboundHostOverrideFlushUpdateRequestWithBody ¶
func NewAPIServicesUnboundHostOverrideFlushUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesUnboundHostOverrideFlushUpdateRequestWithBody generates requests for APIServicesUnboundHostOverrideFlushUpdate with any type of body
func NewAPIServicesUnboundHostOverrideReadRequest ¶
NewAPIServicesUnboundHostOverrideReadRequest generates requests for APIServicesUnboundHostOverrideRead
func NewAPIServicesUnboundHostOverrideUpdateRequest ¶
func NewAPIServicesUnboundHostOverrideUpdateRequest(server string, body APIServicesUnboundHostOverrideUpdateJSONRequestBody) (*http.Request, error)
NewAPIServicesUnboundHostOverrideUpdateRequest calls the generic APIServicesUnboundHostOverrideUpdate builder with application/json body
func NewAPIServicesUnboundHostOverrideUpdateRequestWithBody ¶
func NewAPIServicesUnboundHostOverrideUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesUnboundHostOverrideUpdateRequestWithBody generates requests for APIServicesUnboundHostOverrideUpdate with any type of body
func NewAPIServicesUnboundReadRequest ¶
NewAPIServicesUnboundReadRequest generates requests for APIServicesUnboundRead
func NewAPIServicesUnboundRestartCreateRequest ¶
NewAPIServicesUnboundRestartCreateRequest generates requests for APIServicesUnboundRestartCreate
func NewAPIServicesUnboundStartCreateRequest ¶
NewAPIServicesUnboundStartCreateRequest generates requests for APIServicesUnboundStartCreate
func NewAPIServicesUnboundStopCreateRequest ¶
NewAPIServicesUnboundStopCreateRequest generates requests for APIServicesUnboundStopCreate
func NewAPIServicesWOLSendCreateRequest ¶
func NewAPIServicesWOLSendCreateRequest(server string, body APIServicesWOLSendCreateJSONRequestBody) (*http.Request, error)
NewAPIServicesWOLSendCreateRequest calls the generic APIServicesWOLSendCreate builder with application/json body
func NewAPIServicesWOLSendCreateRequestWithBody ¶
func NewAPIServicesWOLSendCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIServicesWOLSendCreateRequestWithBody generates requests for APIServicesWOLSendCreate with any type of body
func NewAPIStatusCARPReadRequest ¶
NewAPIStatusCARPReadRequest generates requests for APIStatusCARPRead
func NewAPIStatusCARPUpdateRequest ¶
func NewAPIStatusCARPUpdateRequest(server string, body APIStatusCARPUpdateJSONRequestBody) (*http.Request, error)
NewAPIStatusCARPUpdateRequest calls the generic APIStatusCARPUpdate builder with application/json body
func NewAPIStatusCARPUpdateRequestWithBody ¶
func NewAPIStatusCARPUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIStatusCARPUpdateRequestWithBody generates requests for APIStatusCARPUpdate with any type of body
func NewAPIStatusGatewayReadRequest ¶
NewAPIStatusGatewayReadRequest generates requests for APIStatusGatewayRead
func NewAPIStatusIPsecReadRequest ¶
NewAPIStatusIPsecReadRequest generates requests for APIStatusIPsecRead
func NewAPIStatusInterfaceReadRequest ¶
NewAPIStatusInterfaceReadRequest generates requests for APIStatusInterfaceRead
func NewAPIStatusLogConfigHistoryReadRequest ¶
NewAPIStatusLogConfigHistoryReadRequest generates requests for APIStatusLogConfigHistoryRead
func NewAPIStatusLogDHCPReadRequest ¶
NewAPIStatusLogDHCPReadRequest generates requests for APIStatusLogDHCPRead
func NewAPIStatusLogFirewallReadRequest ¶
NewAPIStatusLogFirewallReadRequest generates requests for APIStatusLogFirewallRead
func NewAPIStatusLogSettingsUpdateRequest ¶
func NewAPIStatusLogSettingsUpdateRequest(server string, body APIStatusLogSettingsUpdateJSONRequestBody) (*http.Request, error)
NewAPIStatusLogSettingsUpdateRequest calls the generic APIStatusLogSettingsUpdate builder with application/json body
func NewAPIStatusLogSettingsUpdateRequestWithBody ¶
func NewAPIStatusLogSettingsUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIStatusLogSettingsUpdateRequestWithBody generates requests for APIStatusLogSettingsUpdate with any type of body
func NewAPIStatusLogSystemReadRequest ¶
NewAPIStatusLogSystemReadRequest generates requests for APIStatusLogSystemRead
func NewAPIStatusOpenVPNReadRequest ¶
NewAPIStatusOpenVPNReadRequest generates requests for APIStatusOpenVPNRead
func NewAPIStatusSystemReadRequest ¶
NewAPIStatusSystemReadRequest generates requests for APIStatusSystemRead
func NewAPISystemAPIErrorReadRequest ¶
NewAPISystemAPIErrorReadRequest generates requests for APISystemAPIErrorRead
func NewAPISystemAPIReadRequest ¶
NewAPISystemAPIReadRequest generates requests for APISystemAPIRead
func NewAPISystemAPIUpdateRequest ¶
func NewAPISystemAPIUpdateRequest(server string, body APISystemAPIUpdateJSONRequestBody) (*http.Request, error)
NewAPISystemAPIUpdateRequest calls the generic APISystemAPIUpdate builder with application/json body
func NewAPISystemAPIUpdateRequestWithBody ¶
func NewAPISystemAPIUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemAPIUpdateRequestWithBody generates requests for APISystemAPIUpdate with any type of body
func NewAPISystemAPIVersionReadRequest ¶
NewAPISystemAPIVersionReadRequest generates requests for APISystemAPIVersionRead
func NewAPISystemARPDeleteRequest ¶
func NewAPISystemARPDeleteRequest(server string, params *APISystemARPDeleteParams) (*http.Request, error)
NewAPISystemARPDeleteRequest generates requests for APISystemARPDelete
func NewAPISystemARPReadRequest ¶
NewAPISystemARPReadRequest generates requests for APISystemARPRead
func NewAPISystemCACreateRequest ¶
func NewAPISystemCACreateRequest(server string, body APISystemCACreateJSONRequestBody) (*http.Request, error)
NewAPISystemCACreateRequest calls the generic APISystemCACreate builder with application/json body
func NewAPISystemCACreateRequestWithBody ¶
func NewAPISystemCACreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemCACreateRequestWithBody generates requests for APISystemCACreate with any type of body
func NewAPISystemCADeleteRequest ¶
func NewAPISystemCADeleteRequest(server string, params *APISystemCADeleteParams) (*http.Request, error)
NewAPISystemCADeleteRequest generates requests for APISystemCADelete
func NewAPISystemCAReadRequest ¶
NewAPISystemCAReadRequest generates requests for APISystemCARead
func NewAPISystemCRLCreateRequest ¶
func NewAPISystemCRLCreateRequest(server string, body APISystemCRLCreateJSONRequestBody) (*http.Request, error)
NewAPISystemCRLCreateRequest calls the generic APISystemCRLCreate builder with application/json body
func NewAPISystemCRLCreateRequestWithBody ¶
func NewAPISystemCRLCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemCRLCreateRequestWithBody generates requests for APISystemCRLCreate with any type of body
func NewAPISystemCRLDeleteRequest ¶
func NewAPISystemCRLDeleteRequest(server string, params *APISystemCRLDeleteParams) (*http.Request, error)
NewAPISystemCRLDeleteRequest generates requests for APISystemCRLDelete
func NewAPISystemCRLReadRequest ¶
NewAPISystemCRLReadRequest generates requests for APISystemCRLRead
func NewAPISystemCertificateCreateRequest ¶
func NewAPISystemCertificateCreateRequest(server string, body APISystemCertificateCreateJSONRequestBody) (*http.Request, error)
NewAPISystemCertificateCreateRequest calls the generic APISystemCertificateCreate builder with application/json body
func NewAPISystemCertificateCreateRequestWithBody ¶
func NewAPISystemCertificateCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemCertificateCreateRequestWithBody generates requests for APISystemCertificateCreate with any type of body
func NewAPISystemCertificateDeleteRequest ¶
func NewAPISystemCertificateDeleteRequest(server string, params *APISystemCertificateDeleteParams) (*http.Request, error)
NewAPISystemCertificateDeleteRequest generates requests for APISystemCertificateDelete
func NewAPISystemCertificateReadRequest ¶
NewAPISystemCertificateReadRequest generates requests for APISystemCertificateRead
func NewAPISystemCertificateUpdateRequest ¶
func NewAPISystemCertificateUpdateRequest(server string, body APISystemCertificateUpdateJSONRequestBody) (*http.Request, error)
NewAPISystemCertificateUpdateRequest calls the generic APISystemCertificateUpdate builder with application/json body
func NewAPISystemCertificateUpdateRequestWithBody ¶
func NewAPISystemCertificateUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemCertificateUpdateRequestWithBody generates requests for APISystemCertificateUpdate with any type of body
func NewAPISystemConfigReadRequest ¶
NewAPISystemConfigReadRequest generates requests for APISystemConfigRead
func NewAPISystemConfigUpdateRequestWithBody ¶
func NewAPISystemConfigUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemConfigUpdateRequestWithBody generates requests for APISystemConfigUpdate with any type of body
func NewAPISystemConsoleUpdateRequest ¶
func NewAPISystemConsoleUpdateRequest(server string, body APISystemConsoleUpdateJSONRequestBody) (*http.Request, error)
NewAPISystemConsoleUpdateRequest calls the generic APISystemConsoleUpdate builder with application/json body
func NewAPISystemConsoleUpdateRequestWithBody ¶
func NewAPISystemConsoleUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemConsoleUpdateRequestWithBody generates requests for APISystemConsoleUpdate with any type of body
func NewAPISystemDNSReadRequest ¶
NewAPISystemDNSReadRequest generates requests for APISystemDNSRead
func NewAPISystemDNSServerCreateRequest ¶
func NewAPISystemDNSServerCreateRequest(server string, body APISystemDNSServerCreateJSONRequestBody) (*http.Request, error)
NewAPISystemDNSServerCreateRequest calls the generic APISystemDNSServerCreate builder with application/json body
func NewAPISystemDNSServerCreateRequestWithBody ¶
func NewAPISystemDNSServerCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemDNSServerCreateRequestWithBody generates requests for APISystemDNSServerCreate with any type of body
func NewAPISystemDNSServerDeleteRequest ¶
func NewAPISystemDNSServerDeleteRequest(server string, params *APISystemDNSServerDeleteParams) (*http.Request, error)
NewAPISystemDNSServerDeleteRequest generates requests for APISystemDNSServerDelete
func NewAPISystemDNSUpdateRequest ¶
func NewAPISystemDNSUpdateRequest(server string, body APISystemDNSUpdateJSONRequestBody) (*http.Request, error)
NewAPISystemDNSUpdateRequest calls the generic APISystemDNSUpdate builder with application/json body
func NewAPISystemDNSUpdateRequestWithBody ¶
func NewAPISystemDNSUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemDNSUpdateRequestWithBody generates requests for APISystemDNSUpdate with any type of body
func NewAPISystemHaltCreateRequest ¶
NewAPISystemHaltCreateRequest generates requests for APISystemHaltCreate
func NewAPISystemHostnameReadRequest ¶
NewAPISystemHostnameReadRequest generates requests for APISystemHostnameRead
func NewAPISystemHostnameUpdateRequest ¶
func NewAPISystemHostnameUpdateRequest(server string, body APISystemHostnameUpdateJSONRequestBody) (*http.Request, error)
NewAPISystemHostnameUpdateRequest calls the generic APISystemHostnameUpdate builder with application/json body
func NewAPISystemHostnameUpdateRequestWithBody ¶
func NewAPISystemHostnameUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemHostnameUpdateRequestWithBody generates requests for APISystemHostnameUpdate with any type of body
func NewAPISystemNotificationsEmailReadRequest ¶
NewAPISystemNotificationsEmailReadRequest generates requests for APISystemNotificationsEmailRead
func NewAPISystemNotificationsEmailUpdateRequest ¶
func NewAPISystemNotificationsEmailUpdateRequest(server string, body APISystemNotificationsEmailUpdateJSONRequestBody) (*http.Request, error)
NewAPISystemNotificationsEmailUpdateRequest calls the generic APISystemNotificationsEmailUpdate builder with application/json body
func NewAPISystemNotificationsEmailUpdateRequestWithBody ¶
func NewAPISystemNotificationsEmailUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemNotificationsEmailUpdateRequestWithBody generates requests for APISystemNotificationsEmailUpdate with any type of body
func NewAPISystemPackageCreateRequest ¶
func NewAPISystemPackageCreateRequest(server string, body APISystemPackageCreateJSONRequestBody) (*http.Request, error)
NewAPISystemPackageCreateRequest calls the generic APISystemPackageCreate builder with application/json body
func NewAPISystemPackageCreateRequestWithBody ¶
func NewAPISystemPackageCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemPackageCreateRequestWithBody generates requests for APISystemPackageCreate with any type of body
func NewAPISystemPackageDeleteRequest ¶
func NewAPISystemPackageDeleteRequest(server string, params *APISystemPackageDeleteParams) (*http.Request, error)
NewAPISystemPackageDeleteRequest generates requests for APISystemPackageDelete
func NewAPISystemPackageReadRequest ¶
func NewAPISystemPackageReadRequest(server string, params *APISystemPackageReadParams) (*http.Request, error)
NewAPISystemPackageReadRequest generates requests for APISystemPackageRead
func NewAPISystemRebootCreateRequest ¶
NewAPISystemRebootCreateRequest generates requests for APISystemRebootCreate
func NewAPISystemTableReadRequest ¶
func NewAPISystemTableReadRequest(server string, params *APISystemTableReadParams) (*http.Request, error)
NewAPISystemTableReadRequest generates requests for APISystemTableRead
func NewAPISystemTunableCreateRequest ¶
func NewAPISystemTunableCreateRequest(server string, body APISystemTunableCreateJSONRequestBody) (*http.Request, error)
NewAPISystemTunableCreateRequest calls the generic APISystemTunableCreate builder with application/json body
func NewAPISystemTunableCreateRequestWithBody ¶
func NewAPISystemTunableCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemTunableCreateRequestWithBody generates requests for APISystemTunableCreate with any type of body
func NewAPISystemTunableDeleteRequest ¶
func NewAPISystemTunableDeleteRequest(server string, params *APISystemTunableDeleteParams) (*http.Request, error)
NewAPISystemTunableDeleteRequest generates requests for APISystemTunableDelete
func NewAPISystemTunableReadRequest ¶
NewAPISystemTunableReadRequest generates requests for APISystemTunableRead
func NewAPISystemTunableUpdateRequest ¶
func NewAPISystemTunableUpdateRequest(server string, body APISystemTunableUpdateJSONRequestBody) (*http.Request, error)
NewAPISystemTunableUpdateRequest calls the generic APISystemTunableUpdate builder with application/json body
func NewAPISystemTunableUpdateRequestWithBody ¶
func NewAPISystemTunableUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPISystemTunableUpdateRequestWithBody generates requests for APISystemTunableUpdate with any type of body
func NewAPISystemVersionReadRequest ¶
NewAPISystemVersionReadRequest generates requests for APISystemVersionRead
func NewAPISystemVersionUpgradeReadRequest ¶
func NewAPISystemVersionUpgradeReadRequest(server string, params *APISystemVersionUpgradeReadParams) (*http.Request, error)
NewAPISystemVersionUpgradeReadRequest generates requests for APISystemVersionUpgradeRead
func NewAPIUserAuthServerDeleteRequest ¶
func NewAPIUserAuthServerDeleteRequest(server string, params *APIUserAuthServerDeleteParams) (*http.Request, error)
NewAPIUserAuthServerDeleteRequest generates requests for APIUserAuthServerDelete
func NewAPIUserAuthServerLDAPCreateRequest ¶
func NewAPIUserAuthServerLDAPCreateRequest(server string, body APIUserAuthServerLDAPCreateJSONRequestBody) (*http.Request, error)
NewAPIUserAuthServerLDAPCreateRequest calls the generic APIUserAuthServerLDAPCreate builder with application/json body
func NewAPIUserAuthServerLDAPCreateRequestWithBody ¶
func NewAPIUserAuthServerLDAPCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIUserAuthServerLDAPCreateRequestWithBody generates requests for APIUserAuthServerLDAPCreate with any type of body
func NewAPIUserAuthServerLDAPDeleteRequest ¶
func NewAPIUserAuthServerLDAPDeleteRequest(server string, params *APIUserAuthServerLDAPDeleteParams) (*http.Request, error)
NewAPIUserAuthServerLDAPDeleteRequest generates requests for APIUserAuthServerLDAPDelete
func NewAPIUserAuthServerLDAPReadRequest ¶
NewAPIUserAuthServerLDAPReadRequest generates requests for APIUserAuthServerLDAPRead
func NewAPIUserAuthServerRADIUSCreateRequest ¶
func NewAPIUserAuthServerRADIUSCreateRequest(server string, body APIUserAuthServerRADIUSCreateJSONRequestBody) (*http.Request, error)
NewAPIUserAuthServerRADIUSCreateRequest calls the generic APIUserAuthServerRADIUSCreate builder with application/json body
func NewAPIUserAuthServerRADIUSCreateRequestWithBody ¶
func NewAPIUserAuthServerRADIUSCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIUserAuthServerRADIUSCreateRequestWithBody generates requests for APIUserAuthServerRADIUSCreate with any type of body
func NewAPIUserAuthServerRADIUSDeleteRequest ¶
func NewAPIUserAuthServerRADIUSDeleteRequest(server string, params *APIUserAuthServerRADIUSDeleteParams) (*http.Request, error)
NewAPIUserAuthServerRADIUSDeleteRequest generates requests for APIUserAuthServerRADIUSDelete
func NewAPIUserAuthServerRADIUSReadRequest ¶
NewAPIUserAuthServerRADIUSReadRequest generates requests for APIUserAuthServerRADIUSRead
func NewAPIUserAuthServerReadRequest ¶
NewAPIUserAuthServerReadRequest generates requests for APIUserAuthServerRead
func NewAPIUserCreateRequest ¶
func NewAPIUserCreateRequest(server string, body APIUserCreateJSONRequestBody) (*http.Request, error)
NewAPIUserCreateRequest calls the generic APIUserCreate builder with application/json body
func NewAPIUserCreateRequestWithBody ¶
func NewAPIUserCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIUserCreateRequestWithBody generates requests for APIUserCreate with any type of body
func NewAPIUserDeleteRequest ¶
func NewAPIUserDeleteRequest(server string, params *APIUserDeleteParams) (*http.Request, error)
NewAPIUserDeleteRequest generates requests for APIUserDelete
func NewAPIUserGroupCreateRequest ¶
func NewAPIUserGroupCreateRequest(server string, body APIUserGroupCreateJSONRequestBody) (*http.Request, error)
NewAPIUserGroupCreateRequest calls the generic APIUserGroupCreate builder with application/json body
func NewAPIUserGroupCreateRequestWithBody ¶
func NewAPIUserGroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIUserGroupCreateRequestWithBody generates requests for APIUserGroupCreate with any type of body
func NewAPIUserGroupDeleteRequest ¶
func NewAPIUserGroupDeleteRequest(server string, params *APIUserGroupDeleteParams) (*http.Request, error)
NewAPIUserGroupDeleteRequest generates requests for APIUserGroupDelete
func NewAPIUserGroupMemberCreateRequest ¶
func NewAPIUserGroupMemberCreateRequest(server string, body APIUserGroupMemberCreateJSONRequestBody) (*http.Request, error)
NewAPIUserGroupMemberCreateRequest calls the generic APIUserGroupMemberCreate builder with application/json body
func NewAPIUserGroupMemberCreateRequestWithBody ¶
func NewAPIUserGroupMemberCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIUserGroupMemberCreateRequestWithBody generates requests for APIUserGroupMemberCreate with any type of body
func NewAPIUserGroupMemberDeleteRequest ¶
func NewAPIUserGroupMemberDeleteRequest(server string, params *APIUserGroupMemberDeleteParams) (*http.Request, error)
NewAPIUserGroupMemberDeleteRequest generates requests for APIUserGroupMemberDelete
func NewAPIUserGroupReadRequest ¶
NewAPIUserGroupReadRequest generates requests for APIUserGroupRead
func NewAPIUserGroupUpdateRequest ¶
func NewAPIUserGroupUpdateRequest(server string, body APIUserGroupUpdateJSONRequestBody) (*http.Request, error)
NewAPIUserGroupUpdateRequest calls the generic APIUserGroupUpdate builder with application/json body
func NewAPIUserGroupUpdateRequestWithBody ¶
func NewAPIUserGroupUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIUserGroupUpdateRequestWithBody generates requests for APIUserGroupUpdate with any type of body
func NewAPIUserPrivilegeCreateRequest ¶
func NewAPIUserPrivilegeCreateRequest(server string, body APIUserPrivilegeCreateJSONRequestBody) (*http.Request, error)
NewAPIUserPrivilegeCreateRequest calls the generic APIUserPrivilegeCreate builder with application/json body
func NewAPIUserPrivilegeCreateRequestWithBody ¶
func NewAPIUserPrivilegeCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAPIUserPrivilegeCreateRequestWithBody generates requests for APIUserPrivilegeCreate with any type of body
func NewAPIUserPrivilegeDeleteRequest ¶
func NewAPIUserPrivilegeDeleteRequest(server string, params *APIUserPrivilegeDeleteParams) (*http.Request, error)
NewAPIUserPrivilegeDeleteRequest generates requests for APIUserPrivilegeDelete
func NewAPIUserReadRequest ¶
NewAPIUserReadRequest generates requests for APIUserRead
func NewAPIUserUpdateRequest ¶
func NewAPIUserUpdateRequest(server string, body APIUserUpdateJSONRequestBody) (*http.Request, error)
NewAPIUserUpdateRequest calls the generic APIUserUpdate builder with application/json body
Types ¶
type APIAccessTokenCreateResponse ¶
type APIAccessTokenCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIAccessTokenCreateResponse ¶
func ParseAPIAccessTokenCreateResponse(rsp *http.Response) (*APIAccessTokenCreateResponse, error)
ParseAPIAccessTokenCreateResponse parses an HTTP response from a APIAccessTokenCreateWithResponse call
func (APIAccessTokenCreateResponse) Status ¶
func (r APIAccessTokenCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIAccessTokenCreateResponse) StatusCode ¶
func (r APIAccessTokenCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIDiagnosticsCommandPromptCreateJSONBody ¶
type APIDiagnosticsCommandPromptCreateJSONBody struct { // ShellCmd Shell command to execute on pfSense. Interactive commands are not supported and may result in the API being unable to respond to the request. ShellCmd string `json:"shell_cmd"` }
APIDiagnosticsCommandPromptCreateJSONBody defines parameters for APIDiagnosticsCommandPromptCreate.
type APIDiagnosticsCommandPromptCreateJSONRequestBody ¶
type APIDiagnosticsCommandPromptCreateJSONRequestBody APIDiagnosticsCommandPromptCreateJSONBody
APIDiagnosticsCommandPromptCreateJSONRequestBody defines body for APIDiagnosticsCommandPromptCreate for application/json ContentType.
type APIDiagnosticsCommandPromptCreateResponse ¶
type APIDiagnosticsCommandPromptCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIDiagnosticsCommandPromptCreateResponse ¶
func ParseAPIDiagnosticsCommandPromptCreateResponse(rsp *http.Response) (*APIDiagnosticsCommandPromptCreateResponse, error)
ParseAPIDiagnosticsCommandPromptCreateResponse parses an HTTP response from a APIDiagnosticsCommandPromptCreateWithResponse call
func (APIDiagnosticsCommandPromptCreateResponse) Status ¶
func (r APIDiagnosticsCommandPromptCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIDiagnosticsCommandPromptCreateResponse) StatusCode ¶
func (r APIDiagnosticsCommandPromptCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallAliasAdvancedReadResponse ¶
type APIFirewallAliasAdvancedReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallAliasAdvancedReadResponse ¶
func ParseAPIFirewallAliasAdvancedReadResponse(rsp *http.Response) (*APIFirewallAliasAdvancedReadResponse, error)
ParseAPIFirewallAliasAdvancedReadResponse parses an HTTP response from a APIFirewallAliasAdvancedReadWithResponse call
func (APIFirewallAliasAdvancedReadResponse) Status ¶
func (r APIFirewallAliasAdvancedReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallAliasAdvancedReadResponse) StatusCode ¶
func (r APIFirewallAliasAdvancedReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallAliasAdvancedUpdateJSONBody ¶
type APIFirewallAliasAdvancedUpdateJSONBody struct { // Aliasesresolveinterval Interval (in seconds) at which hostnames in firewall aliases are updated. Aliasesresolveinterval *int `json:"aliasesresolveinterval,omitempty"` // Checkaliasesurlcert Enable or disable certificate verification when updating aliases via URL. Checkaliasesurlcert *bool `json:"checkaliasesurlcert,omitempty"` }
APIFirewallAliasAdvancedUpdateJSONBody defines parameters for APIFirewallAliasAdvancedUpdate.
type APIFirewallAliasAdvancedUpdateJSONRequestBody ¶
type APIFirewallAliasAdvancedUpdateJSONRequestBody APIFirewallAliasAdvancedUpdateJSONBody
APIFirewallAliasAdvancedUpdateJSONRequestBody defines body for APIFirewallAliasAdvancedUpdate for application/json ContentType.
type APIFirewallAliasAdvancedUpdateResponse ¶
type APIFirewallAliasAdvancedUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallAliasAdvancedUpdateResponse ¶
func ParseAPIFirewallAliasAdvancedUpdateResponse(rsp *http.Response) (*APIFirewallAliasAdvancedUpdateResponse, error)
ParseAPIFirewallAliasAdvancedUpdateResponse parses an HTTP response from a APIFirewallAliasAdvancedUpdateWithResponse call
func (APIFirewallAliasAdvancedUpdateResponse) Status ¶
func (r APIFirewallAliasAdvancedUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallAliasAdvancedUpdateResponse) StatusCode ¶
func (r APIFirewallAliasAdvancedUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallAliasCreateJSONBody ¶
type APIFirewallAliasCreateJSONBody struct { // Address Host, network or port values to add to the alias. Address []string `json:"address"` // Apply Specify whether or not you would like this alias to be applied immediately, or simply written to the configuration to be applied later. If you are creating multiple aliases at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. // _Note: currently this defaults to always reload the firewall filter after in order to remain backwards compatible with previous releases, this will be changed to not reload the filter by default in a future release._ Apply *bool `json:"apply,omitempty"` // Descr Description of alias. Descr *string `json:"descr,omitempty"` // Detail Descriptions for the `address` values. Descriptions must match the order the that they are specified in the `address` array. If you pass in less `detail` values than `address` values, a default auto-created detail will be applied to the remaining values. Detail *[]string `json:"detail,omitempty"` // Name Name of the new alias. _Only alpha-numeric and underscore characters are allowed, other characters will be replaced._ Name string `json:"name"` // Type Type of alias. Type APIFirewallAliasCreateJSONBodyType `json:"type"` }
APIFirewallAliasCreateJSONBody defines parameters for APIFirewallAliasCreate.
type APIFirewallAliasCreateJSONBodyType ¶
type APIFirewallAliasCreateJSONBodyType string
APIFirewallAliasCreateJSONBodyType defines parameters for APIFirewallAliasCreate.
const ( APIFirewallAliasCreateJSONBodyTypeHost APIFirewallAliasCreateJSONBodyType = "host" APIFirewallAliasCreateJSONBodyTypeNetwork APIFirewallAliasCreateJSONBodyType = "network" APIFirewallAliasCreateJSONBodyTypePort APIFirewallAliasCreateJSONBodyType = "port" )
Defines values for APIFirewallAliasCreateJSONBodyType.
type APIFirewallAliasCreateJSONRequestBody ¶
type APIFirewallAliasCreateJSONRequestBody APIFirewallAliasCreateJSONBody
APIFirewallAliasCreateJSONRequestBody defines body for APIFirewallAliasCreate for application/json ContentType.
type APIFirewallAliasCreateResponse ¶
type APIFirewallAliasCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallAliasCreateResponse ¶
func ParseAPIFirewallAliasCreateResponse(rsp *http.Response) (*APIFirewallAliasCreateResponse, error)
ParseAPIFirewallAliasCreateResponse parses an HTTP response from a APIFirewallAliasCreateWithResponse call
func (APIFirewallAliasCreateResponse) Status ¶
func (r APIFirewallAliasCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallAliasCreateResponse) StatusCode ¶
func (r APIFirewallAliasCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallAliasDeleteParams ¶
type APIFirewallAliasDeleteParams struct { // Id Name of alias to delete. This alias cannot be in use elsewhere in configuration. Id string `form:"id" json:"id"` // Apply Specify whether or not you would like this alias to be applied immediately, or simply written to the configuration to be applied later. If you are creating modifying multiple aliases at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. // _Note: currently this defaults to always reload the firewall filter after in order to remain backwards compatible with previous releases, this will be changed to not reload the filter by default in a future release._ Apply *bool `form:"apply,omitempty" json:"apply,omitempty"` }
APIFirewallAliasDeleteParams defines parameters for APIFirewallAliasDelete.
type APIFirewallAliasDeleteResponse ¶
type APIFirewallAliasDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallAliasDeleteResponse ¶
func ParseAPIFirewallAliasDeleteResponse(rsp *http.Response) (*APIFirewallAliasDeleteResponse, error)
ParseAPIFirewallAliasDeleteResponse parses an HTTP response from a APIFirewallAliasDeleteWithResponse call
func (APIFirewallAliasDeleteResponse) Status ¶
func (r APIFirewallAliasDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallAliasDeleteResponse) StatusCode ¶
func (r APIFirewallAliasDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallAliasEntryCreateJSONBody ¶
type APIFirewallAliasEntryCreateJSONBody struct { // Address Host, network or port values to add to the alias. Address *[]string `json:"address,omitempty"` // Apply Specify whether or not you would like this alias change to be applied immediately, or simply written to the configuration to be applied later. When modifying multiple aliases it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. // _Note: currently this defaults to always reload the firewall filter after in order to remain backwards compatible with previous releases, this will be changed to not reload the filter by default in a future release._ Apply *bool `json:"apply,omitempty"` // Detail Descriptions for the `address` values. Descriptions must match the order the that they are specified in the `address` array. If you pass in less `detail` values than `address` values, a default auto-created detail will be applied to the remaining values. Detail *[]string `json:"detail,omitempty"` // Name Name of alias to add new address values to. Name string `json:"name"` }
APIFirewallAliasEntryCreateJSONBody defines parameters for APIFirewallAliasEntryCreate.
type APIFirewallAliasEntryCreateJSONRequestBody ¶
type APIFirewallAliasEntryCreateJSONRequestBody APIFirewallAliasEntryCreateJSONBody
APIFirewallAliasEntryCreateJSONRequestBody defines body for APIFirewallAliasEntryCreate for application/json ContentType.
type APIFirewallAliasEntryCreateResponse ¶
type APIFirewallAliasEntryCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallAliasEntryCreateResponse ¶
func ParseAPIFirewallAliasEntryCreateResponse(rsp *http.Response) (*APIFirewallAliasEntryCreateResponse, error)
ParseAPIFirewallAliasEntryCreateResponse parses an HTTP response from a APIFirewallAliasEntryCreateWithResponse call
func (APIFirewallAliasEntryCreateResponse) Status ¶
func (r APIFirewallAliasEntryCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallAliasEntryCreateResponse) StatusCode ¶
func (r APIFirewallAliasEntryCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallAliasEntryDeleteParams ¶
type APIFirewallAliasEntryDeleteParams struct { // Name Name of alias to delete address values from. Name string `form:"name" json:"name"` // Address Host, network or port value to remove from the alias. Address string `form:"address" json:"address"` // Apply Specify whether or not you would like this alias change to be applied immediately, or simply written to the configuration to be applied later. When modifying multiple aliases it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. // _Note: currently this defaults to always reload the firewall filter after in order to remain backwards compatible with previous releases, this will be changed to not reload the filter by default in a future release._ Apply *bool `form:"apply,omitempty" json:"apply,omitempty"` }
APIFirewallAliasEntryDeleteParams defines parameters for APIFirewallAliasEntryDelete.
type APIFirewallAliasEntryDeleteResponse ¶
type APIFirewallAliasEntryDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallAliasEntryDeleteResponse ¶
func ParseAPIFirewallAliasEntryDeleteResponse(rsp *http.Response) (*APIFirewallAliasEntryDeleteResponse, error)
ParseAPIFirewallAliasEntryDeleteResponse parses an HTTP response from a APIFirewallAliasEntryDeleteWithResponse call
func (APIFirewallAliasEntryDeleteResponse) Status ¶
func (r APIFirewallAliasEntryDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallAliasEntryDeleteResponse) StatusCode ¶
func (r APIFirewallAliasEntryDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallAliasReadResponse ¶
type APIFirewallAliasReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallAliasReadResponse ¶
func ParseAPIFirewallAliasReadResponse(rsp *http.Response) (*APIFirewallAliasReadResponse, error)
ParseAPIFirewallAliasReadResponse parses an HTTP response from a APIFirewallAliasReadWithResponse call
func (APIFirewallAliasReadResponse) Status ¶
func (r APIFirewallAliasReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallAliasReadResponse) StatusCode ¶
func (r APIFirewallAliasReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallAliasUpdateJSONBody ¶
type APIFirewallAliasUpdateJSONBody struct { // Address Host, network or port values to add to the alias. Existing values will be overwritten. Address *[]string `json:"address,omitempty"` // Apply Specify whether or not you would like this alias to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple aliases at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. // _Note: currently this defaults to always reload the firewall filter after in order to remain backwards compatible with previous releases, this will be changed to not reload the filter by default in a future release._ Apply *bool `json:"apply,omitempty"` // Descr Description of alias. Descr *string `json:"descr,omitempty"` // Detail Descriptions for the `address` values. Descriptions must match the order the that they are specified in the `address` array. If you pass in less `detail` values than `address` values, a default auto-created detail will be applied to the remaining values. Existing values will be overwritten. Detail *[]string `json:"detail,omitempty"` // Id Name of the existing alias to update. Id string `json:"id"` // Name New name of the alias. _Only alpha-numeric and underscore characters are allowed, other characters will be replaced._ Name *string `json:"name,omitempty"` // Type Type of alias. Type *APIFirewallAliasUpdateJSONBodyType `json:"type,omitempty"` }
APIFirewallAliasUpdateJSONBody defines parameters for APIFirewallAliasUpdate.
type APIFirewallAliasUpdateJSONBodyType ¶
type APIFirewallAliasUpdateJSONBodyType string
APIFirewallAliasUpdateJSONBodyType defines parameters for APIFirewallAliasUpdate.
const ( APIFirewallAliasUpdateJSONBodyTypeHost APIFirewallAliasUpdateJSONBodyType = "host" APIFirewallAliasUpdateJSONBodyTypeNetwork APIFirewallAliasUpdateJSONBodyType = "network" APIFirewallAliasUpdateJSONBodyTypePort APIFirewallAliasUpdateJSONBodyType = "port" )
Defines values for APIFirewallAliasUpdateJSONBodyType.
type APIFirewallAliasUpdateJSONRequestBody ¶
type APIFirewallAliasUpdateJSONRequestBody APIFirewallAliasUpdateJSONBody
APIFirewallAliasUpdateJSONRequestBody defines body for APIFirewallAliasUpdate for application/json ContentType.
type APIFirewallAliasUpdateResponse ¶
type APIFirewallAliasUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallAliasUpdateResponse ¶
func ParseAPIFirewallAliasUpdateResponse(rsp *http.Response) (*APIFirewallAliasUpdateResponse, error)
ParseAPIFirewallAliasUpdateResponse parses an HTTP response from a APIFirewallAliasUpdateWithResponse call
func (APIFirewallAliasUpdateResponse) Status ¶
func (r APIFirewallAliasUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallAliasUpdateResponse) StatusCode ¶
func (r APIFirewallAliasUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallApplyCreateJSONBody ¶
type APIFirewallApplyCreateJSONBody struct { // Async Apply firewall changes asynchronously. If set to `false`, the API will not respond until the firewall changes have been fully applied, this may cause excessive delays for large rulesets and in extreme cases cause the API request to timeout. Async *bool `json:"async,omitempty"` }
APIFirewallApplyCreateJSONBody defines parameters for APIFirewallApplyCreate.
type APIFirewallApplyCreateJSONRequestBody ¶
type APIFirewallApplyCreateJSONRequestBody APIFirewallApplyCreateJSONBody
APIFirewallApplyCreateJSONRequestBody defines body for APIFirewallApplyCreate for application/json ContentType.
type APIFirewallApplyCreateResponse ¶
type APIFirewallApplyCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallApplyCreateResponse ¶
func ParseAPIFirewallApplyCreateResponse(rsp *http.Response) (*APIFirewallApplyCreateResponse, error)
ParseAPIFirewallApplyCreateResponse parses an HTTP response from a APIFirewallApplyCreateWithResponse call
func (APIFirewallApplyCreateResponse) Status ¶
func (r APIFirewallApplyCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallApplyCreateResponse) StatusCode ¶
func (r APIFirewallApplyCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOneToOneCreateJSONBody ¶
type APIFirewallNATOneToOneCreateJSONBody struct { // Apply Specify whether or not you would like this mapping to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple mappings at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description for the mapping. Descr *string `json:"descr,omitempty"` // Disabled Disable this mapping. Disabled *bool `json:"disabled,omitempty"` // Dst Destination address of the mapping. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the destination address, you may prefix the value with `!`. Dst string `json:"dst"` // External External IPv4 or IPv6 address to map traffic to. External string `json:"external"` // Interface Interface the mapping will apply to. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` // Natreflection NAT reflection mode to use for this rule. Leave unspecified to use system default. Natreflection *APIFirewallNATOneToOneCreateJSONBodyNatreflection `json:"natreflection,omitempty"` // Nobinat Exclude the address from a later, more general rule. Nobinat *bool `json:"nobinat,omitempty"` // Src Source address of the mapping. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the source address, you may prefix the value with `!`. Src string `json:"src"` // Top Place this firewall rule at the top of the access control list. Top *bool `json:"top,omitempty"` }
APIFirewallNATOneToOneCreateJSONBody defines parameters for APIFirewallNATOneToOneCreate.
type APIFirewallNATOneToOneCreateJSONBodyNatreflection ¶
type APIFirewallNATOneToOneCreateJSONBodyNatreflection string
APIFirewallNATOneToOneCreateJSONBodyNatreflection defines parameters for APIFirewallNATOneToOneCreate.
const ( APIFirewallNATOneToOneCreateJSONBodyNatreflectionDisable APIFirewallNATOneToOneCreateJSONBodyNatreflection = "disable" APIFirewallNATOneToOneCreateJSONBodyNatreflectionEnable APIFirewallNATOneToOneCreateJSONBodyNatreflection = "enable" )
Defines values for APIFirewallNATOneToOneCreateJSONBodyNatreflection.
type APIFirewallNATOneToOneCreateJSONRequestBody ¶
type APIFirewallNATOneToOneCreateJSONRequestBody APIFirewallNATOneToOneCreateJSONBody
APIFirewallNATOneToOneCreateJSONRequestBody defines body for APIFirewallNATOneToOneCreate for application/json ContentType.
type APIFirewallNATOneToOneCreateResponse ¶
type APIFirewallNATOneToOneCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOneToOneCreateResponse ¶
func ParseAPIFirewallNATOneToOneCreateResponse(rsp *http.Response) (*APIFirewallNATOneToOneCreateResponse, error)
ParseAPIFirewallNATOneToOneCreateResponse parses an HTTP response from a APIFirewallNATOneToOneCreateWithResponse call
func (APIFirewallNATOneToOneCreateResponse) Status ¶
func (r APIFirewallNATOneToOneCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOneToOneCreateResponse) StatusCode ¶
func (r APIFirewallNATOneToOneCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOneToOneDeleteParams ¶
type APIFirewallNATOneToOneDeleteParams struct { // Id ID of the mapping to delete. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` // Apply Specify whether or not you would like this deletion to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple mappings at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `form:"apply,omitempty" json:"apply,omitempty"` }
APIFirewallNATOneToOneDeleteParams defines parameters for APIFirewallNATOneToOneDelete.
type APIFirewallNATOneToOneDeleteResponse ¶
type APIFirewallNATOneToOneDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOneToOneDeleteResponse ¶
func ParseAPIFirewallNATOneToOneDeleteResponse(rsp *http.Response) (*APIFirewallNATOneToOneDeleteResponse, error)
ParseAPIFirewallNATOneToOneDeleteResponse parses an HTTP response from a APIFirewallNATOneToOneDeleteWithResponse call
func (APIFirewallNATOneToOneDeleteResponse) Status ¶
func (r APIFirewallNATOneToOneDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOneToOneDeleteResponse) StatusCode ¶
func (r APIFirewallNATOneToOneDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOneToOneReadResponse ¶
type APIFirewallNATOneToOneReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOneToOneReadResponse ¶
func ParseAPIFirewallNATOneToOneReadResponse(rsp *http.Response) (*APIFirewallNATOneToOneReadResponse, error)
ParseAPIFirewallNATOneToOneReadResponse parses an HTTP response from a APIFirewallNATOneToOneReadWithResponse call
func (APIFirewallNATOneToOneReadResponse) Status ¶
func (r APIFirewallNATOneToOneReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOneToOneReadResponse) StatusCode ¶
func (r APIFirewallNATOneToOneReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOneToOneUpdateJSONBody ¶
type APIFirewallNATOneToOneUpdateJSONBody struct { // Apply Specify whether or not you would like this mapping to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple mappings at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description for the mapping. Descr *string `json:"descr,omitempty"` // Disabled Disable this mapping. Disabled *bool `json:"disabled,omitempty"` // Dst Destination address of the mapping. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the destination address, you may prefix the value with `!`. Dst *string `json:"dst,omitempty"` // External External IPv4 or IPv6 address to map traffic to. External *string `json:"external,omitempty"` // Id ID of the mapping to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Interface Interface the mapping will apply to. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface *string `json:"interface,omitempty"` // Natreflection NAT reflection mode to use for this rule. Leave unspecified to use system default. Natreflection *APIFirewallNATOneToOneUpdateJSONBodyNatreflection `json:"natreflection,omitempty"` // Nobinat Exclude the address from a later, more general rule. Nobinat *bool `json:"nobinat,omitempty"` // Src Source address of the mapping. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the source address, you may prefix the value with `!`. Src *string `json:"src,omitempty"` // Top Place this firewall rule at the top of the access control list. Top *bool `json:"top,omitempty"` }
APIFirewallNATOneToOneUpdateJSONBody defines parameters for APIFirewallNATOneToOneUpdate.
type APIFirewallNATOneToOneUpdateJSONBodyNatreflection ¶
type APIFirewallNATOneToOneUpdateJSONBodyNatreflection string
APIFirewallNATOneToOneUpdateJSONBodyNatreflection defines parameters for APIFirewallNATOneToOneUpdate.
const ( APIFirewallNATOneToOneUpdateJSONBodyNatreflectionDisable APIFirewallNATOneToOneUpdateJSONBodyNatreflection = "disable" APIFirewallNATOneToOneUpdateJSONBodyNatreflectionEnable APIFirewallNATOneToOneUpdateJSONBodyNatreflection = "enable" )
Defines values for APIFirewallNATOneToOneUpdateJSONBodyNatreflection.
type APIFirewallNATOneToOneUpdateJSONRequestBody ¶
type APIFirewallNATOneToOneUpdateJSONRequestBody APIFirewallNATOneToOneUpdateJSONBody
APIFirewallNATOneToOneUpdateJSONRequestBody defines body for APIFirewallNATOneToOneUpdate for application/json ContentType.
type APIFirewallNATOneToOneUpdateResponse ¶
type APIFirewallNATOneToOneUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOneToOneUpdateResponse ¶
func ParseAPIFirewallNATOneToOneUpdateResponse(rsp *http.Response) (*APIFirewallNATOneToOneUpdateResponse, error)
ParseAPIFirewallNATOneToOneUpdateResponse parses an HTTP response from a APIFirewallNATOneToOneUpdateWithResponse call
func (APIFirewallNATOneToOneUpdateResponse) Status ¶
func (r APIFirewallNATOneToOneUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOneToOneUpdateResponse) StatusCode ¶
func (r APIFirewallNATOneToOneUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOutboundMappingCreateJSONBody ¶
type APIFirewallNATOutboundMappingCreateJSONBody struct { // Apply Specify whether or not you would like this mapping to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple mappings at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description of this mapping. Descr *string `json:"descr,omitempty"` // Disabled Disable this mapping. Disabled *bool `json:"disabled,omitempty"` // Dst Destination address of the mapping. This may be a single IP, network CIDR, alias name or `any`. To negate the context of the address, you may prefix the address with `!` Dst string `json:"dst"` // Dstport TCP and/or UDP destination port or port range to apply to this mapping. You may specify `any` to match any destination port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Dstport *string `json:"dstport,omitempty"` // Interface Set which interface the mapping will apply to. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the physical interface id (e.g. igb0). Interface string `json:"interface"` // Natport External TCP and/or UDP source port or range used for remapping the original source port on connections matching the rule. Natport *string `json:"natport,omitempty"` // Nonat Do not NAT traffic matching this mapping. Nonat *bool `json:"nonat,omitempty"` // Poolopts Outbound NAT pool option for load balancing. This is only applicable if the `target` is a subnet that contains more than 1 IP address. Poolopts *APIFirewallNATOutboundMappingCreateJSONBodyPoolopts `json:"poolopts,omitempty"` // Protocol Transfer protocol the mapping will apply to. Protocol APIFirewallNATOutboundMappingCreateJSONBodyProtocol `json:"protocol"` // SourceHashKey Custom key hash to use when utilizing the `source-hash` NAT pool option. Value must start with `0x` following a 32 digit hex value. If this field is not specified, a random key hash will be generated. This parameter is only available when `poolopts` is set to `source-hash`. SourceHashKey *string `json:"source_hash_key,omitempty"` // Src Set the source address of the firewall rule. This must be an IP, CIDR, alias or `any`. Src string `json:"src"` // Srcport TCP and/or UDP source port, port range or port alias to apply to this mapping. You may specify `any` to match any source port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Srcport *string `json:"srcport,omitempty"` // Staticnatport Enable use of a static NAT port. Staticnatport *bool `json:"staticnatport,omitempty"` // Target External IP to map this traffic to. This may be an IP address, IP subnet, alias, or empty string to use the Interface address. Target string `json:"target"` // Top Place this mapping at the top of the access control list. Top *bool `json:"top,omitempty"` }
APIFirewallNATOutboundMappingCreateJSONBody defines parameters for APIFirewallNATOutboundMappingCreate.
type APIFirewallNATOutboundMappingCreateJSONBodyPoolopts ¶
type APIFirewallNATOutboundMappingCreateJSONBodyPoolopts string
APIFirewallNATOutboundMappingCreateJSONBodyPoolopts defines parameters for APIFirewallNATOutboundMappingCreate.
const ( APIFirewallNATOutboundMappingCreateJSONBodyPooloptsBitmask APIFirewallNATOutboundMappingCreateJSONBodyPoolopts = "bitmask" APIFirewallNATOutboundMappingCreateJSONBodyPooloptsRandom APIFirewallNATOutboundMappingCreateJSONBodyPoolopts = "random" APIFirewallNATOutboundMappingCreateJSONBodyPooloptsRandomStickyAddress APIFirewallNATOutboundMappingCreateJSONBodyPoolopts = "random sticky-address" APIFirewallNATOutboundMappingCreateJSONBodyPooloptsRoundRobin APIFirewallNATOutboundMappingCreateJSONBodyPoolopts = "round-robin" APIFirewallNATOutboundMappingCreateJSONBodyPooloptsRoundRobinStickyAddress APIFirewallNATOutboundMappingCreateJSONBodyPoolopts = "round-robin sticky-address" APIFirewallNATOutboundMappingCreateJSONBodyPooloptsSourceHash APIFirewallNATOutboundMappingCreateJSONBodyPoolopts = "source-hash" )
Defines values for APIFirewallNATOutboundMappingCreateJSONBodyPoolopts.
type APIFirewallNATOutboundMappingCreateJSONBodyProtocol ¶
type APIFirewallNATOutboundMappingCreateJSONBodyProtocol string
APIFirewallNATOutboundMappingCreateJSONBodyProtocol defines parameters for APIFirewallNATOutboundMappingCreate.
const ( APIFirewallNATOutboundMappingCreateJSONBodyProtocolAh APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "ah" APIFirewallNATOutboundMappingCreateJSONBodyProtocolAny APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "any" APIFirewallNATOutboundMappingCreateJSONBodyProtocolEsp APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "esp" APIFirewallNATOutboundMappingCreateJSONBodyProtocolGre APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "gre" APIFirewallNATOutboundMappingCreateJSONBodyProtocolIcmp APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "icmp" APIFirewallNATOutboundMappingCreateJSONBodyProtocolIgmp APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "igmp" APIFirewallNATOutboundMappingCreateJSONBodyProtocolIpv6 APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "ipv6" APIFirewallNATOutboundMappingCreateJSONBodyProtocolOspf APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "ospf" APIFirewallNATOutboundMappingCreateJSONBodyProtocolPim APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "pim" APIFirewallNATOutboundMappingCreateJSONBodyProtocolTcp APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "tcp" APIFirewallNATOutboundMappingCreateJSONBodyProtocolTcpudp APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "tcp/udp" APIFirewallNATOutboundMappingCreateJSONBodyProtocolUdp APIFirewallNATOutboundMappingCreateJSONBodyProtocol = "udp" )
Defines values for APIFirewallNATOutboundMappingCreateJSONBodyProtocol.
type APIFirewallNATOutboundMappingCreateJSONRequestBody ¶
type APIFirewallNATOutboundMappingCreateJSONRequestBody APIFirewallNATOutboundMappingCreateJSONBody
APIFirewallNATOutboundMappingCreateJSONRequestBody defines body for APIFirewallNATOutboundMappingCreate for application/json ContentType.
type APIFirewallNATOutboundMappingCreateResponse ¶
type APIFirewallNATOutboundMappingCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOutboundMappingCreateResponse ¶
func ParseAPIFirewallNATOutboundMappingCreateResponse(rsp *http.Response) (*APIFirewallNATOutboundMappingCreateResponse, error)
ParseAPIFirewallNATOutboundMappingCreateResponse parses an HTTP response from a APIFirewallNATOutboundMappingCreateWithResponse call
func (APIFirewallNATOutboundMappingCreateResponse) Status ¶
func (r APIFirewallNATOutboundMappingCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOutboundMappingCreateResponse) StatusCode ¶
func (r APIFirewallNATOutboundMappingCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOutboundMappingDeleteParams ¶
type APIFirewallNATOutboundMappingDeleteParams struct { // Id ID of the outbound NAT mapping to delete. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple mappings at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `form:"apply,omitempty" json:"apply,omitempty"` }
APIFirewallNATOutboundMappingDeleteParams defines parameters for APIFirewallNATOutboundMappingDelete.
type APIFirewallNATOutboundMappingDeleteResponse ¶
type APIFirewallNATOutboundMappingDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOutboundMappingDeleteResponse ¶
func ParseAPIFirewallNATOutboundMappingDeleteResponse(rsp *http.Response) (*APIFirewallNATOutboundMappingDeleteResponse, error)
ParseAPIFirewallNATOutboundMappingDeleteResponse parses an HTTP response from a APIFirewallNATOutboundMappingDeleteWithResponse call
func (APIFirewallNATOutboundMappingDeleteResponse) Status ¶
func (r APIFirewallNATOutboundMappingDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOutboundMappingDeleteResponse) StatusCode ¶
func (r APIFirewallNATOutboundMappingDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOutboundMappingReadResponse ¶
type APIFirewallNATOutboundMappingReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOutboundMappingReadResponse ¶
func ParseAPIFirewallNATOutboundMappingReadResponse(rsp *http.Response) (*APIFirewallNATOutboundMappingReadResponse, error)
ParseAPIFirewallNATOutboundMappingReadResponse parses an HTTP response from a APIFirewallNATOutboundMappingReadWithResponse call
func (APIFirewallNATOutboundMappingReadResponse) Status ¶
func (r APIFirewallNATOutboundMappingReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOutboundMappingReadResponse) StatusCode ¶
func (r APIFirewallNATOutboundMappingReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOutboundMappingUpdateJSONBody ¶
type APIFirewallNATOutboundMappingUpdateJSONBody struct { // Apply Specify whether or not you would like this mapping to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple mappings at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description of this mapping. Descr *string `json:"descr,omitempty"` // Disabled Disable this mapping. Disabled *bool `json:"disabled,omitempty"` // Dst Destination address of the mapping. This may be a single IP, network CIDR, alias name or `any`. To negate the context of the address, you may prefix the address with `!` Dst *string `json:"dst,omitempty"` // Dstport TCP and/or UDP destination port or port range to apply to this mapping. You may specify `any` to match any destination port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Dstport *string `json:"dstport,omitempty"` // Id ID of the outbound NAT mapping to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Interface Set which interface the mapping will apply to. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the physical interface id (e.g. igb0). Interface *string `json:"interface,omitempty"` // Natport External TCP and/or UDP source port or range used for remapping the original source port on connections matching the rule. Natport *string `json:"natport,omitempty"` // Nonat Do not NAT traffic matching this mapping. Nonat *bool `json:"nonat,omitempty"` // Poolopts Outbound NAT pool option for load balancing. This is only applicable if the `target` is a subnet that contains more than 1 IP address. Poolopts *APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts `json:"poolopts,omitempty"` // Protocol Transfer protocol the mapping will apply to. Protocol *APIFirewallNATOutboundMappingUpdateJSONBodyProtocol `json:"protocol,omitempty"` // SourceHashKey Custom key hash to use when utilizing the `source-hash` NAT pool option. Value must start with `0x` following a 32 digit hex value. If this field is not specified, a random key hash will be generated. This parameter is only available when `poolopts` is set to `source-hash`. SourceHashKey *string `json:"source_hash_key,omitempty"` // Src Set the source address of the firewall rule. This must be an IP, CIDR, alias or `any`. Src *string `json:"src,omitempty"` // Srcport TCP and/or UDP source port, port range or port alias to apply to this mapping. You may specify `any` to match any source port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Srcport *string `json:"srcport,omitempty"` // Staticnatport Enable use of a static NAT port. Staticnatport *bool `json:"staticnatport,omitempty"` // Target External IP to map this traffic to. This may be an IP address, IP subnet, alias, or empty string to use the Interface address. Target *string `json:"target,omitempty"` // Top Place this mapping at the top of the access control list. Top *bool `json:"top,omitempty"` }
APIFirewallNATOutboundMappingUpdateJSONBody defines parameters for APIFirewallNATOutboundMappingUpdate.
type APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts ¶
type APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts string
APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts defines parameters for APIFirewallNATOutboundMappingUpdate.
const ( APIFirewallNATOutboundMappingUpdateJSONBodyPooloptsBitmask APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts = "bitmask" APIFirewallNATOutboundMappingUpdateJSONBodyPooloptsRandom APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts = "random" APIFirewallNATOutboundMappingUpdateJSONBodyPooloptsRandomStickyAddress APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts = "random sticky-address" APIFirewallNATOutboundMappingUpdateJSONBodyPooloptsRoundRobin APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts = "round-robin" APIFirewallNATOutboundMappingUpdateJSONBodyPooloptsRoundRobinStickyAddress APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts = "round-robin sticky-address" APIFirewallNATOutboundMappingUpdateJSONBodyPooloptsSourceHash APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts = "source-hash" )
Defines values for APIFirewallNATOutboundMappingUpdateJSONBodyPoolopts.
type APIFirewallNATOutboundMappingUpdateJSONBodyProtocol ¶
type APIFirewallNATOutboundMappingUpdateJSONBodyProtocol string
APIFirewallNATOutboundMappingUpdateJSONBodyProtocol defines parameters for APIFirewallNATOutboundMappingUpdate.
const ( APIFirewallNATOutboundMappingUpdateJSONBodyProtocolAh APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "ah" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolAny APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "any" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolEsp APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "esp" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolGre APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "gre" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolIcmp APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "icmp" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolIgmp APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "igmp" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolIpv6 APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "ipv6" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolOspf APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "ospf" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolPim APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "pim" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolTcp APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "tcp" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolTcpudp APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "tcp/udp" APIFirewallNATOutboundMappingUpdateJSONBodyProtocolUdp APIFirewallNATOutboundMappingUpdateJSONBodyProtocol = "udp" )
Defines values for APIFirewallNATOutboundMappingUpdateJSONBodyProtocol.
type APIFirewallNATOutboundMappingUpdateJSONRequestBody ¶
type APIFirewallNATOutboundMappingUpdateJSONRequestBody APIFirewallNATOutboundMappingUpdateJSONBody
APIFirewallNATOutboundMappingUpdateJSONRequestBody defines body for APIFirewallNATOutboundMappingUpdate for application/json ContentType.
type APIFirewallNATOutboundMappingUpdateResponse ¶
type APIFirewallNATOutboundMappingUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOutboundMappingUpdateResponse ¶
func ParseAPIFirewallNATOutboundMappingUpdateResponse(rsp *http.Response) (*APIFirewallNATOutboundMappingUpdateResponse, error)
ParseAPIFirewallNATOutboundMappingUpdateResponse parses an HTTP response from a APIFirewallNATOutboundMappingUpdateWithResponse call
func (APIFirewallNATOutboundMappingUpdateResponse) Status ¶
func (r APIFirewallNATOutboundMappingUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOutboundMappingUpdateResponse) StatusCode ¶
func (r APIFirewallNATOutboundMappingUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOutboundPortForwardCreateJSONBody ¶
type APIFirewallNATOutboundPortForwardCreateJSONBody struct { // Apply Specify whether or not you would like this rule to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple rules at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description for the rule. Descr *string `json:"descr,omitempty"` // Disabled Disable this rule. Disabled *bool `json:"disabled,omitempty"` // Dst Destination address of the port forward rule. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the destination address, you may prefix the value with `!`. Dst string `json:"dst"` // Dstport TCP and/or UDP destination port, port range or port alias to apply to this rule. You may specify `any` to match any destination port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Dstport *string `json:"dstport,omitempty"` // Interface Interface the rule will apply to. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` // LocalPort TCP and/or UDP port, port range, or port alias to forward traffic to on the `target`. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. LocalPort *string `json:"local-port,omitempty"` // Natreflection NAT reflection mode to use for this rule. Leave unspecified to use system default. Natreflection *APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflection `json:"natreflection,omitempty"` // Nordr Disable redirection for traffic matching this rule. Nordr *bool `json:"nordr,omitempty"` // Nosync Prevent this rule from automatically syncing to other CARP members. Nosync *bool `json:"nosync,omitempty"` // Protocol Transfer protocol this rule will apply to. Protocol APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol `json:"protocol"` // Src Source address of the port forward rule. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the source address, you may prefix the value with `!`. Src string `json:"src"` // Srcport TCP and/or UDP source port, port range or port alias to apply to this rule. You may specify `any` to match any source port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Srcport *string `json:"srcport,omitempty"` // Target IP address or alias to forward traffic to. Target string `json:"target"` // Top Place this firewall rule at the top of the access control list. Top *bool `json:"top,omitempty"` }
APIFirewallNATOutboundPortForwardCreateJSONBody defines parameters for APIFirewallNATOutboundPortForwardCreate.
type APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflection ¶
type APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflection string
APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflection defines parameters for APIFirewallNATOutboundPortForwardCreate.
const ( APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflectionDisable APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflection = "disable" APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflectionEnable APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflection = "enable" APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflectionPurenat APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflection = "purenat" )
Defines values for APIFirewallNATOutboundPortForwardCreateJSONBodyNatreflection.
type APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol ¶
type APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol string
APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol defines parameters for APIFirewallNATOutboundPortForwardCreate.
const ( APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolAh APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "ah" APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolEsp APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "esp" APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolGre APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "gre" APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolIcmp APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "icmp" APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolIgmp APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "igmp" APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolIpv6 APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "ipv6" APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolOspf APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "ospf" APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolPim APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "pim" APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolTcp APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "tcp" APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolTcpudp APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "tcp/udp" APIFirewallNATOutboundPortForwardCreateJSONBodyProtocolUdp APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol = "udp" )
Defines values for APIFirewallNATOutboundPortForwardCreateJSONBodyProtocol.
type APIFirewallNATOutboundPortForwardCreateJSONRequestBody ¶
type APIFirewallNATOutboundPortForwardCreateJSONRequestBody APIFirewallNATOutboundPortForwardCreateJSONBody
APIFirewallNATOutboundPortForwardCreateJSONRequestBody defines body for APIFirewallNATOutboundPortForwardCreate for application/json ContentType.
type APIFirewallNATOutboundPortForwardCreateResponse ¶
type APIFirewallNATOutboundPortForwardCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOutboundPortForwardCreateResponse ¶
func ParseAPIFirewallNATOutboundPortForwardCreateResponse(rsp *http.Response) (*APIFirewallNATOutboundPortForwardCreateResponse, error)
ParseAPIFirewallNATOutboundPortForwardCreateResponse parses an HTTP response from a APIFirewallNATOutboundPortForwardCreateWithResponse call
func (APIFirewallNATOutboundPortForwardCreateResponse) Status ¶
func (r APIFirewallNATOutboundPortForwardCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOutboundPortForwardCreateResponse) StatusCode ¶
func (r APIFirewallNATOutboundPortForwardCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOutboundPortForwardDeleteParams ¶
type APIFirewallNATOutboundPortForwardDeleteParams struct { // Id ID of the port forward rule to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` // Apply Specify whether or not you would like this rule to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple rules at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `form:"apply,omitempty" json:"apply,omitempty"` }
APIFirewallNATOutboundPortForwardDeleteParams defines parameters for APIFirewallNATOutboundPortForwardDelete.
type APIFirewallNATOutboundPortForwardDeleteResponse ¶
type APIFirewallNATOutboundPortForwardDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOutboundPortForwardDeleteResponse ¶
func ParseAPIFirewallNATOutboundPortForwardDeleteResponse(rsp *http.Response) (*APIFirewallNATOutboundPortForwardDeleteResponse, error)
ParseAPIFirewallNATOutboundPortForwardDeleteResponse parses an HTTP response from a APIFirewallNATOutboundPortForwardDeleteWithResponse call
func (APIFirewallNATOutboundPortForwardDeleteResponse) Status ¶
func (r APIFirewallNATOutboundPortForwardDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOutboundPortForwardDeleteResponse) StatusCode ¶
func (r APIFirewallNATOutboundPortForwardDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOutboundPortForwardReadResponse ¶
type APIFirewallNATOutboundPortForwardReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOutboundPortForwardReadResponse ¶
func ParseAPIFirewallNATOutboundPortForwardReadResponse(rsp *http.Response) (*APIFirewallNATOutboundPortForwardReadResponse, error)
ParseAPIFirewallNATOutboundPortForwardReadResponse parses an HTTP response from a APIFirewallNATOutboundPortForwardReadWithResponse call
func (APIFirewallNATOutboundPortForwardReadResponse) Status ¶
func (r APIFirewallNATOutboundPortForwardReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOutboundPortForwardReadResponse) StatusCode ¶
func (r APIFirewallNATOutboundPortForwardReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOutboundPortForwardUpdateJSONBody ¶
type APIFirewallNATOutboundPortForwardUpdateJSONBody struct { // Apply Specify whether or not you would like this rule to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple rules at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description for the rule. Descr *string `json:"descr,omitempty"` // Disabled Disable this rule. Disabled *bool `json:"disabled,omitempty"` // Dst Destination address of the port forward rule. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the destination address, you may prefix the value with `!`. Dst *string `json:"dst,omitempty"` // Dstport TCP and/or UDP destination port, port range or port alias to apply to this rule. You may specify `any` to match any destination port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Dstport *string `json:"dstport,omitempty"` // Id ID of the port forward rule to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Interface Interface the rule will apply to. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface *string `json:"interface,omitempty"` // LocalPort TCP and/or UDP port, port range, or port alias to forward traffic to on the `target`. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. LocalPort *string `json:"local-port,omitempty"` // Natreflection NAT reflection mode to use for this rule. Natreflection *APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflection `json:"natreflection,omitempty"` // Nordr Disable redirection for traffic matching this rule. Nordr *bool `json:"nordr,omitempty"` // Nosync Prevent this rule from automatically syncing to other CARP members. Nosync *bool `json:"nosync,omitempty"` // Protocol Transfer protocol this rule will apply to. Protocol *APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol `json:"protocol,omitempty"` // Src Source address of the port forward rule. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the source address, you may prefix the value with `!`. Src *string `json:"src,omitempty"` // Srcport TCP and/or UDP source port, port range or port alias to apply to this rule. You may specify `any` to match any source port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Srcport *string `json:"srcport,omitempty"` // Target IP address or alias to forward traffic to. Target *string `json:"target,omitempty"` // Top Place this firewall rule at the top of the access control list. Top *bool `json:"top,omitempty"` }
APIFirewallNATOutboundPortForwardUpdateJSONBody defines parameters for APIFirewallNATOutboundPortForwardUpdate.
type APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflection ¶
type APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflection string
APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflection defines parameters for APIFirewallNATOutboundPortForwardUpdate.
const ( APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflectionDisable APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflection = "disable" APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflectionEnable APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflection = "enable" APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflectionPurenat APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflection = "purenat" )
Defines values for APIFirewallNATOutboundPortForwardUpdateJSONBodyNatreflection.
type APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol ¶
type APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol string
APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol defines parameters for APIFirewallNATOutboundPortForwardUpdate.
const ( APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolAh APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "ah" APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolEsp APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "esp" APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolGre APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "gre" APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolIcmp APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "icmp" APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolIgmp APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "igmp" APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolIpv6 APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "ipv6" APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolOspf APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "ospf" APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolPim APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "pim" APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolTcp APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "tcp" APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolTcpudp APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "tcp/udp" APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocolUdp APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol = "udp" )
Defines values for APIFirewallNATOutboundPortForwardUpdateJSONBodyProtocol.
type APIFirewallNATOutboundPortForwardUpdateJSONRequestBody ¶
type APIFirewallNATOutboundPortForwardUpdateJSONRequestBody APIFirewallNATOutboundPortForwardUpdateJSONBody
APIFirewallNATOutboundPortForwardUpdateJSONRequestBody defines body for APIFirewallNATOutboundPortForwardUpdate for application/json ContentType.
type APIFirewallNATOutboundPortForwardUpdateResponse ¶
type APIFirewallNATOutboundPortForwardUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOutboundPortForwardUpdateResponse ¶
func ParseAPIFirewallNATOutboundPortForwardUpdateResponse(rsp *http.Response) (*APIFirewallNATOutboundPortForwardUpdateResponse, error)
ParseAPIFirewallNATOutboundPortForwardUpdateResponse parses an HTTP response from a APIFirewallNATOutboundPortForwardUpdateWithResponse call
func (APIFirewallNATOutboundPortForwardUpdateResponse) Status ¶
func (r APIFirewallNATOutboundPortForwardUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOutboundPortForwardUpdateResponse) StatusCode ¶
func (r APIFirewallNATOutboundPortForwardUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOutboundReadResponse ¶
type APIFirewallNATOutboundReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOutboundReadResponse ¶
func ParseAPIFirewallNATOutboundReadResponse(rsp *http.Response) (*APIFirewallNATOutboundReadResponse, error)
ParseAPIFirewallNATOutboundReadResponse parses an HTTP response from a APIFirewallNATOutboundReadWithResponse call
func (APIFirewallNATOutboundReadResponse) Status ¶
func (r APIFirewallNATOutboundReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOutboundReadResponse) StatusCode ¶
func (r APIFirewallNATOutboundReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallNATOutboundUpdateJSONBody ¶
type APIFirewallNATOutboundUpdateJSONBody struct { // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple mappings at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. // _Note: currently this defaults to always reload the firewall filter after in order to remain backwards compatible with previous releases, this will be changed to not reload the filter by default in a future release._ Apply *bool `json:"apply,omitempty"` // Mode Set outbound NAT mode. Mode *APIFirewallNATOutboundUpdateJSONBodyMode `json:"mode,omitempty"` }
APIFirewallNATOutboundUpdateJSONBody defines parameters for APIFirewallNATOutboundUpdate.
type APIFirewallNATOutboundUpdateJSONBodyMode ¶
type APIFirewallNATOutboundUpdateJSONBodyMode string
APIFirewallNATOutboundUpdateJSONBodyMode defines parameters for APIFirewallNATOutboundUpdate.
const ( Advanced APIFirewallNATOutboundUpdateJSONBodyMode = "advanced" Automatic APIFirewallNATOutboundUpdateJSONBodyMode = "automatic" Hybrid APIFirewallNATOutboundUpdateJSONBodyMode = "hybrid" )
Defines values for APIFirewallNATOutboundUpdateJSONBodyMode.
type APIFirewallNATOutboundUpdateJSONRequestBody ¶
type APIFirewallNATOutboundUpdateJSONRequestBody APIFirewallNATOutboundUpdateJSONBody
APIFirewallNATOutboundUpdateJSONRequestBody defines body for APIFirewallNATOutboundUpdate for application/json ContentType.
type APIFirewallNATOutboundUpdateResponse ¶
type APIFirewallNATOutboundUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallNATOutboundUpdateResponse ¶
func ParseAPIFirewallNATOutboundUpdateResponse(rsp *http.Response) (*APIFirewallNATOutboundUpdateResponse, error)
ParseAPIFirewallNATOutboundUpdateResponse parses an HTTP response from a APIFirewallNATOutboundUpdateWithResponse call
func (APIFirewallNATOutboundUpdateResponse) Status ¶
func (r APIFirewallNATOutboundUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallNATOutboundUpdateResponse) StatusCode ¶
func (r APIFirewallNATOutboundUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallRuleCreateJSONBody ¶
type APIFirewallRuleCreateJSONBody struct { // Ackqueue Acknowledge traffic shaper queue to apply to this rule. This must be an existing traffic shaper queue and cannot match the `defaultqueue` value. Ackqueue *string `json:"ackqueue,omitempty"` // Apply Specify whether or not you would like this rule to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple rules at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Defaultqueue Default traffic shaper queue to apply to this rule. This must be an existing traffic shaper queue name. This field is required when an `ackqueue` value is provided. Defaultqueue *string `json:"defaultqueue,omitempty"` // Descr Description for the rule. Descr *string `json:"descr,omitempty"` // Direction Direction of floating firewall rule. This parameter is only avilable when `floating` is set to `true`. Direction *APIFirewallRuleCreateJSONBodyDirection `json:"direction,omitempty"` // Disabled Disable the rule. Disabled *bool `json:"disabled,omitempty"` // Dnpipe Traffic shaper limiter (in) queue for this rule. This must be an existing traffic shaper limiter or queue. This field is required if a `pdnpipe` value is provided. Dnpipe *string `json:"dnpipe,omitempty"` // Dst Destination address of the firewall rule. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the destination address, you may prefix the value with `!`. Dst string `json:"dst"` // Dstport TCP and/or UDP destination port, port range or port alias to apply to this rule. You may specify `any` to match any destination port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Dstport *string `json:"dstport,omitempty"` // Floating Set this rule as a floating firewall rule. Floating *bool `json:"floating,omitempty"` // Gateway Name of an existing gateway traffic will route over upon match. Do not specify this parameter to assume the default gateway. The gateway specified must be of the same IP type set in `ipprotocol`. Gateway *string `json:"gateway,omitempty"` // Icmptype ICMP subtypes of the firewall rule. This parameter is only available when `protocol` is set to `icmp`. If this parameter is not specified, all ICMP subtypes will be assumed. Icmptype *[]APIFirewallRuleCreateJSONBodyIcmptype `json:"icmptype,omitempty"` // Interface Interface this rule will apply to. You may specify either the interface's descriptive name, the pfSense interface ID (e.g. wan, lan, optx), or the real interface ID (e.g. igb0). If `floating` is enabled, multiple interfaces may be specified. Interface []string `json:"interface"` // Ipprotocol IP protocol(s) this rule will apply to. Ipprotocol APIFirewallRuleCreateJSONBodyIpprotocol `json:"ipprotocol"` // Log Enable logging of traffic matching this rule. Log *bool `json:"log,omitempty"` // Pdnpipe Traffic shaper limiter (out) queue for this rule. This must be an existing traffic shaper limiter or queue. This value cannot match the `dnpipe` value and must be a child queue if `dnpipe` is a child queue, or a parent limiter if `dnpipe` is a parent limiter. Pdnpipe *string `json:"pdnpipe,omitempty"` // Protocol Transfer protocol this rule will apply to. Protocol APIFirewallRuleCreateJSONBodyProtocol `json:"protocol"` // Quick Apply action immediately upon match. This field is only available for `floating` rules. Quick *bool `json:"quick,omitempty"` // Sched Firewall schedule to apply to this rule. This must be an existing firewall schedule name. Sched *string `json:"sched,omitempty"` // Src Source address of the firewall rule. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the source address, you may prefix the value with `!`. Src string `json:"src"` // Srcport TCP and/or UDP source port, port range or port alias to apply to this rule. You may specify `any` to match any source port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Srcport *string `json:"srcport,omitempty"` // Statetype State type to use when this rule is matched. Statetype *APIFirewallRuleCreateJSONBodyStatetype `json:"statetype,omitempty"` // Tcpflags1 TCP flags (set). Values specified must also be specified in `tcpflags2`. Tcpflags1 *[]APIFirewallRuleCreateJSONBodyTcpflags1 `json:"tcpflags1,omitempty"` // Tcpflags2 TCP flags (out of). Tcpflags2 *[]APIFirewallRuleCreateJSONBodyTcpflags2 `json:"tcpflags2,omitempty"` // TcpflagsAny Allow all TCP flags. This field is only relevant for TCP rules and will remove any existing values in `tcpflags1` and `tcpflags2`. TcpflagsAny *bool `json:"tcpflags_any,omitempty"` // Top Place this firewall rule at the top of the access control list. Top *bool `json:"top,omitempty"` // Type Firewall rule type. Type APIFirewallRuleCreateJSONBodyType `json:"type"` }
APIFirewallRuleCreateJSONBody defines parameters for APIFirewallRuleCreate.
type APIFirewallRuleCreateJSONBodyDirection ¶
type APIFirewallRuleCreateJSONBodyDirection string
APIFirewallRuleCreateJSONBodyDirection defines parameters for APIFirewallRuleCreate.
const ( APIFirewallRuleCreateJSONBodyDirectionAny APIFirewallRuleCreateJSONBodyDirection = "any" APIFirewallRuleCreateJSONBodyDirectionIn APIFirewallRuleCreateJSONBodyDirection = "in" APIFirewallRuleCreateJSONBodyDirectionOut APIFirewallRuleCreateJSONBodyDirection = "out" )
Defines values for APIFirewallRuleCreateJSONBodyDirection.
type APIFirewallRuleCreateJSONBodyIcmptype ¶
type APIFirewallRuleCreateJSONBodyIcmptype string
APIFirewallRuleCreateJSONBodyIcmptype defines parameters for APIFirewallRuleCreate.
const ( APIFirewallRuleCreateJSONBodyIcmptypeAlthost APIFirewallRuleCreateJSONBodyIcmptype = "althost" APIFirewallRuleCreateJSONBodyIcmptypeDataconv APIFirewallRuleCreateJSONBodyIcmptype = "dataconv" APIFirewallRuleCreateJSONBodyIcmptypeEchorep APIFirewallRuleCreateJSONBodyIcmptype = "echorep" APIFirewallRuleCreateJSONBodyIcmptypeEchoreq APIFirewallRuleCreateJSONBodyIcmptype = "echoreq" APIFirewallRuleCreateJSONBodyIcmptypeInforep APIFirewallRuleCreateJSONBodyIcmptype = "inforep" APIFirewallRuleCreateJSONBodyIcmptypeInforeq APIFirewallRuleCreateJSONBodyIcmptype = "inforeq" APIFirewallRuleCreateJSONBodyIcmptypeIpv6Here APIFirewallRuleCreateJSONBodyIcmptype = "ipv6-here" APIFirewallRuleCreateJSONBodyIcmptypeIpv6Where APIFirewallRuleCreateJSONBodyIcmptype = "ipv6-where" APIFirewallRuleCreateJSONBodyIcmptypeMaskrep APIFirewallRuleCreateJSONBodyIcmptype = "maskrep" APIFirewallRuleCreateJSONBodyIcmptypeMaskreq APIFirewallRuleCreateJSONBodyIcmptype = "maskreq" APIFirewallRuleCreateJSONBodyIcmptypeMobredir APIFirewallRuleCreateJSONBodyIcmptype = "mobredir" APIFirewallRuleCreateJSONBodyIcmptypeMobregrep APIFirewallRuleCreateJSONBodyIcmptype = "mobregrep" APIFirewallRuleCreateJSONBodyIcmptypeMobregreq APIFirewallRuleCreateJSONBodyIcmptype = "mobregreq" APIFirewallRuleCreateJSONBodyIcmptypeParamprob APIFirewallRuleCreateJSONBodyIcmptype = "paramprob" APIFirewallRuleCreateJSONBodyIcmptypePhoturis APIFirewallRuleCreateJSONBodyIcmptype = "photuris" APIFirewallRuleCreateJSONBodyIcmptypeRedir APIFirewallRuleCreateJSONBodyIcmptype = "redir" APIFirewallRuleCreateJSONBodyIcmptypeRouteradv APIFirewallRuleCreateJSONBodyIcmptype = "routeradv" APIFirewallRuleCreateJSONBodyIcmptypeRoutersol APIFirewallRuleCreateJSONBodyIcmptype = "routersol" APIFirewallRuleCreateJSONBodyIcmptypeSkip APIFirewallRuleCreateJSONBodyIcmptype = "skip" APIFirewallRuleCreateJSONBodyIcmptypeSquench APIFirewallRuleCreateJSONBodyIcmptype = "squench" APIFirewallRuleCreateJSONBodyIcmptypeTimerep APIFirewallRuleCreateJSONBodyIcmptype = "timerep" APIFirewallRuleCreateJSONBodyIcmptypeTimereq APIFirewallRuleCreateJSONBodyIcmptype = "timereq" APIFirewallRuleCreateJSONBodyIcmptypeTimex APIFirewallRuleCreateJSONBodyIcmptype = "timex" APIFirewallRuleCreateJSONBodyIcmptypeTrace APIFirewallRuleCreateJSONBodyIcmptype = "trace" APIFirewallRuleCreateJSONBodyIcmptypeUnreach APIFirewallRuleCreateJSONBodyIcmptype = "unreach" )
Defines values for APIFirewallRuleCreateJSONBodyIcmptype.
type APIFirewallRuleCreateJSONBodyIpprotocol ¶
type APIFirewallRuleCreateJSONBodyIpprotocol string
APIFirewallRuleCreateJSONBodyIpprotocol defines parameters for APIFirewallRuleCreate.
const ( APIFirewallRuleCreateJSONBodyIpprotocolInet APIFirewallRuleCreateJSONBodyIpprotocol = "inet" APIFirewallRuleCreateJSONBodyIpprotocolInet46 APIFirewallRuleCreateJSONBodyIpprotocol = "inet46" APIFirewallRuleCreateJSONBodyIpprotocolInet6 APIFirewallRuleCreateJSONBodyIpprotocol = "inet6" )
Defines values for APIFirewallRuleCreateJSONBodyIpprotocol.
type APIFirewallRuleCreateJSONBodyProtocol ¶
type APIFirewallRuleCreateJSONBodyProtocol string
APIFirewallRuleCreateJSONBodyProtocol defines parameters for APIFirewallRuleCreate.
const ( APIFirewallRuleCreateJSONBodyProtocolAh APIFirewallRuleCreateJSONBodyProtocol = "ah" APIFirewallRuleCreateJSONBodyProtocolAny APIFirewallRuleCreateJSONBodyProtocol = "any" APIFirewallRuleCreateJSONBodyProtocolCarp APIFirewallRuleCreateJSONBodyProtocol = "carp" APIFirewallRuleCreateJSONBodyProtocolEsp APIFirewallRuleCreateJSONBodyProtocol = "esp" APIFirewallRuleCreateJSONBodyProtocolGre APIFirewallRuleCreateJSONBodyProtocol = "gre" APIFirewallRuleCreateJSONBodyProtocolIcmp APIFirewallRuleCreateJSONBodyProtocol = "icmp" APIFirewallRuleCreateJSONBodyProtocolIgmp APIFirewallRuleCreateJSONBodyProtocol = "igmp" APIFirewallRuleCreateJSONBodyProtocolIpv6 APIFirewallRuleCreateJSONBodyProtocol = "ipv6" APIFirewallRuleCreateJSONBodyProtocolOspf APIFirewallRuleCreateJSONBodyProtocol = "ospf" APIFirewallRuleCreateJSONBodyProtocolPfsync APIFirewallRuleCreateJSONBodyProtocol = "pfsync" APIFirewallRuleCreateJSONBodyProtocolPim APIFirewallRuleCreateJSONBodyProtocol = "pim" APIFirewallRuleCreateJSONBodyProtocolTcp APIFirewallRuleCreateJSONBodyProtocol = "tcp" APIFirewallRuleCreateJSONBodyProtocolTcpudp APIFirewallRuleCreateJSONBodyProtocol = "tcp/udp" APIFirewallRuleCreateJSONBodyProtocolUdp APIFirewallRuleCreateJSONBodyProtocol = "udp" )
Defines values for APIFirewallRuleCreateJSONBodyProtocol.
type APIFirewallRuleCreateJSONBodyStatetype ¶
type APIFirewallRuleCreateJSONBodyStatetype string
APIFirewallRuleCreateJSONBodyStatetype defines parameters for APIFirewallRuleCreate.
const ( APIFirewallRuleCreateJSONBodyStatetypeKeepState APIFirewallRuleCreateJSONBodyStatetype = "keep state" APIFirewallRuleCreateJSONBodyStatetypeSloppyState APIFirewallRuleCreateJSONBodyStatetype = "sloppy state" APIFirewallRuleCreateJSONBodyStatetypeSynproxyState APIFirewallRuleCreateJSONBodyStatetype = "synproxy state" )
Defines values for APIFirewallRuleCreateJSONBodyStatetype.
type APIFirewallRuleCreateJSONBodyTcpflags1 ¶
type APIFirewallRuleCreateJSONBodyTcpflags1 string
APIFirewallRuleCreateJSONBodyTcpflags1 defines parameters for APIFirewallRuleCreate.
const ( APIFirewallRuleCreateJSONBodyTcpflags1Ack APIFirewallRuleCreateJSONBodyTcpflags1 = "ack" APIFirewallRuleCreateJSONBodyTcpflags1Cwr APIFirewallRuleCreateJSONBodyTcpflags1 = "cwr" APIFirewallRuleCreateJSONBodyTcpflags1Ece APIFirewallRuleCreateJSONBodyTcpflags1 = "ece" APIFirewallRuleCreateJSONBodyTcpflags1Fin APIFirewallRuleCreateJSONBodyTcpflags1 = "fin" APIFirewallRuleCreateJSONBodyTcpflags1Psh APIFirewallRuleCreateJSONBodyTcpflags1 = "psh" APIFirewallRuleCreateJSONBodyTcpflags1Rst APIFirewallRuleCreateJSONBodyTcpflags1 = "rst" APIFirewallRuleCreateJSONBodyTcpflags1Syn APIFirewallRuleCreateJSONBodyTcpflags1 = "syn" APIFirewallRuleCreateJSONBodyTcpflags1Urg APIFirewallRuleCreateJSONBodyTcpflags1 = "urg" )
Defines values for APIFirewallRuleCreateJSONBodyTcpflags1.
type APIFirewallRuleCreateJSONBodyTcpflags2 ¶
type APIFirewallRuleCreateJSONBodyTcpflags2 string
APIFirewallRuleCreateJSONBodyTcpflags2 defines parameters for APIFirewallRuleCreate.
const ( APIFirewallRuleCreateJSONBodyTcpflags2Ack APIFirewallRuleCreateJSONBodyTcpflags2 = "ack" APIFirewallRuleCreateJSONBodyTcpflags2Cwr APIFirewallRuleCreateJSONBodyTcpflags2 = "cwr" APIFirewallRuleCreateJSONBodyTcpflags2Ece APIFirewallRuleCreateJSONBodyTcpflags2 = "ece" APIFirewallRuleCreateJSONBodyTcpflags2Fin APIFirewallRuleCreateJSONBodyTcpflags2 = "fin" APIFirewallRuleCreateJSONBodyTcpflags2Psh APIFirewallRuleCreateJSONBodyTcpflags2 = "psh" APIFirewallRuleCreateJSONBodyTcpflags2Rst APIFirewallRuleCreateJSONBodyTcpflags2 = "rst" APIFirewallRuleCreateJSONBodyTcpflags2Syn APIFirewallRuleCreateJSONBodyTcpflags2 = "syn" APIFirewallRuleCreateJSONBodyTcpflags2Urg APIFirewallRuleCreateJSONBodyTcpflags2 = "urg" )
Defines values for APIFirewallRuleCreateJSONBodyTcpflags2.
type APIFirewallRuleCreateJSONBodyType ¶
type APIFirewallRuleCreateJSONBodyType string
APIFirewallRuleCreateJSONBodyType defines parameters for APIFirewallRuleCreate.
const ( APIFirewallRuleCreateJSONBodyTypeBlock APIFirewallRuleCreateJSONBodyType = "block" APIFirewallRuleCreateJSONBodyTypePass APIFirewallRuleCreateJSONBodyType = "pass" APIFirewallRuleCreateJSONBodyTypeReject APIFirewallRuleCreateJSONBodyType = "reject" )
Defines values for APIFirewallRuleCreateJSONBodyType.
type APIFirewallRuleCreateJSONRequestBody ¶
type APIFirewallRuleCreateJSONRequestBody APIFirewallRuleCreateJSONBody
APIFirewallRuleCreateJSONRequestBody defines body for APIFirewallRuleCreate for application/json ContentType.
type APIFirewallRuleCreateResponse ¶
type APIFirewallRuleCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallRuleCreateResponse ¶
func ParseAPIFirewallRuleCreateResponse(rsp *http.Response) (*APIFirewallRuleCreateResponse, error)
ParseAPIFirewallRuleCreateResponse parses an HTTP response from a APIFirewallRuleCreateWithResponse call
func (APIFirewallRuleCreateResponse) Status ¶
func (r APIFirewallRuleCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallRuleCreateResponse) StatusCode ¶
func (r APIFirewallRuleCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallRuleDeleteParams ¶
type APIFirewallRuleDeleteParams struct { // Tracker Tracker ID of the rule to delete. Tracker int `form:"tracker" json:"tracker"` // Apply Specify whether or not you would like this rule deletion to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple rules at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `form:"apply,omitempty" json:"apply,omitempty"` }
APIFirewallRuleDeleteParams defines parameters for APIFirewallRuleDelete.
type APIFirewallRuleDeleteResponse ¶
type APIFirewallRuleDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallRuleDeleteResponse ¶
func ParseAPIFirewallRuleDeleteResponse(rsp *http.Response) (*APIFirewallRuleDeleteResponse, error)
ParseAPIFirewallRuleDeleteResponse parses an HTTP response from a APIFirewallRuleDeleteWithResponse call
func (APIFirewallRuleDeleteResponse) Status ¶
func (r APIFirewallRuleDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallRuleDeleteResponse) StatusCode ¶
func (r APIFirewallRuleDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallRuleFlushDeleteResponse ¶
type APIFirewallRuleFlushDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallRuleFlushDeleteResponse ¶
func ParseAPIFirewallRuleFlushDeleteResponse(rsp *http.Response) (*APIFirewallRuleFlushDeleteResponse, error)
ParseAPIFirewallRuleFlushDeleteResponse parses an HTTP response from a APIFirewallRuleFlushDeleteWithResponse call
func (APIFirewallRuleFlushDeleteResponse) Status ¶
func (r APIFirewallRuleFlushDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallRuleFlushDeleteResponse) StatusCode ¶
func (r APIFirewallRuleFlushDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallRuleFlushUpdateJSONBody ¶
type APIFirewallRuleFlushUpdateJSONBody struct { // Apply Specify whether or not you would like these firewall rules to be applied immediately, or simply written to the configuration to be applied later using the /api/v1/firewall/apply endpoint. Apply *bool `json:"apply,omitempty"` // Rules Firewall rule objects to replace existing firewall rules with. Each object within this array can use any properties available to the /api/v1/firewall/rule endpoint. Rules []map[string]interface{} `json:"rules"` }
APIFirewallRuleFlushUpdateJSONBody defines parameters for APIFirewallRuleFlushUpdate.
type APIFirewallRuleFlushUpdateJSONRequestBody ¶
type APIFirewallRuleFlushUpdateJSONRequestBody APIFirewallRuleFlushUpdateJSONBody
APIFirewallRuleFlushUpdateJSONRequestBody defines body for APIFirewallRuleFlushUpdate for application/json ContentType.
type APIFirewallRuleFlushUpdateResponse ¶
type APIFirewallRuleFlushUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallRuleFlushUpdateResponse ¶
func ParseAPIFirewallRuleFlushUpdateResponse(rsp *http.Response) (*APIFirewallRuleFlushUpdateResponse, error)
ParseAPIFirewallRuleFlushUpdateResponse parses an HTTP response from a APIFirewallRuleFlushUpdateWithResponse call
func (APIFirewallRuleFlushUpdateResponse) Status ¶
func (r APIFirewallRuleFlushUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallRuleFlushUpdateResponse) StatusCode ¶
func (r APIFirewallRuleFlushUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallRuleReadResponse ¶
type APIFirewallRuleReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallRuleReadResponse ¶
func ParseAPIFirewallRuleReadResponse(rsp *http.Response) (*APIFirewallRuleReadResponse, error)
ParseAPIFirewallRuleReadResponse parses an HTTP response from a APIFirewallRuleReadWithResponse call
func (APIFirewallRuleReadResponse) Status ¶
func (r APIFirewallRuleReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallRuleReadResponse) StatusCode ¶
func (r APIFirewallRuleReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallRuleSortUpdateJSONBody ¶
type APIFirewallRuleSortUpdateJSONBody struct { // Apply Specify whether or not the firewall filter should be reloaded after sorting. If `true`, the firewall filter will be immediately reloaded after sorting. If `false`, the sorted configuration will be written but not applied and a separate call to /api/v1/firewall/apply will be needed to apply changes. This field has no effect when `dry_run` is set to `true`. Apply *bool `json:"apply,omitempty"` // DryRun Specify whether or not the API should write the requested sorting to configuration. If `true`, the API will not write the sorted configuration, only return a representation of what the sort will look like. This is helpful when you are unsure if a particular sort will cause issues. If `false`, the sorted firewall rules will be written to configuration. DryRun *bool `json:"dry_run,omitempty"` // Field Specify the firewall rule field to sort by. This field must be present on at least one firewall rule for any sorting to occur. In most cases, this will be set to `descr` to sort firewall rules by their descriptions. Field string `json:"field"` // Option Specify sorting option to use when sorting rules. See [https://www.php.net/manual/en/function.array-multisort.php](https://www.php.net/manual/en/function.array-multisort.php) for more information. Option *APIFirewallRuleSortUpdateJSONBodyOption `json:"option,omitempty"` }
APIFirewallRuleSortUpdateJSONBody defines parameters for APIFirewallRuleSortUpdate.
type APIFirewallRuleSortUpdateJSONBodyOption ¶
type APIFirewallRuleSortUpdateJSONBodyOption string
APIFirewallRuleSortUpdateJSONBodyOption defines parameters for APIFirewallRuleSortUpdate.
const ( APIFirewallRuleSortUpdateJSONBodyOptionAscend APIFirewallRuleSortUpdateJSONBodyOption = "ascend" APIFirewallRuleSortUpdateJSONBodyOptionDescend APIFirewallRuleSortUpdateJSONBodyOption = "descend" APIFirewallRuleSortUpdateJSONBodyOptionNatural APIFirewallRuleSortUpdateJSONBodyOption = "natural" APIFirewallRuleSortUpdateJSONBodyOptionNumeric APIFirewallRuleSortUpdateJSONBodyOption = "numeric" APIFirewallRuleSortUpdateJSONBodyOptionString APIFirewallRuleSortUpdateJSONBodyOption = "string" )
Defines values for APIFirewallRuleSortUpdateJSONBodyOption.
type APIFirewallRuleSortUpdateJSONRequestBody ¶
type APIFirewallRuleSortUpdateJSONRequestBody APIFirewallRuleSortUpdateJSONBody
APIFirewallRuleSortUpdateJSONRequestBody defines body for APIFirewallRuleSortUpdate for application/json ContentType.
type APIFirewallRuleSortUpdateResponse ¶
type APIFirewallRuleSortUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallRuleSortUpdateResponse ¶
func ParseAPIFirewallRuleSortUpdateResponse(rsp *http.Response) (*APIFirewallRuleSortUpdateResponse, error)
ParseAPIFirewallRuleSortUpdateResponse parses an HTTP response from a APIFirewallRuleSortUpdateWithResponse call
func (APIFirewallRuleSortUpdateResponse) Status ¶
func (r APIFirewallRuleSortUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallRuleSortUpdateResponse) StatusCode ¶
func (r APIFirewallRuleSortUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallRuleUpdateJSONBody ¶
type APIFirewallRuleUpdateJSONBody struct { // Ackqueue Acknowledge traffic shaper queue to apply to this rule. This must be an existing traffic shaper queue and cannot match the `defaultqueue` value. Ackqueue *string `json:"ackqueue,omitempty"` // Apply Specify whether or not you would like this rule to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple rules at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Defaultqueue Default traffic shaper queue to apply to this rule. This must be an existing traffic shaper queue name. This field is required when an `ackqueue` value is provided. Defaultqueue *string `json:"defaultqueue,omitempty"` // Descr Description for the rule. Descr *string `json:"descr,omitempty"` // Direction Direction of floating firewall rule. This parameter is only avilable when `floating` is set to `true`. Direction *APIFirewallRuleUpdateJSONBodyDirection `json:"direction,omitempty"` // Disabled Disable the rule. Disabled *bool `json:"disabled,omitempty"` // Dnpipe Traffic shaper limiter (in) queue for this rule. This must be an existing traffic shaper limiter or queue. This field is required if a `pdnpipe` value is provided. Dnpipe *string `json:"dnpipe,omitempty"` // Dst Destination address of the firewall rule. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the destination address, you may prefix the value with `!`. Dst *string `json:"dst,omitempty"` // Dstport TCP and/or UDP destination port, port range or port alias to apply to this rule. You may specify `any` to match any destination port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Dstport *string `json:"dstport,omitempty"` // Floating Set this rule as a floating firewall rule. Floating *bool `json:"floating,omitempty"` // Gateway Name of an existing gateway traffic will route over upon match. Do not specify this parameter to assume the default gateway. The gateway specified must be of the same IP type set in `ipprotocol`. Gateway *string `json:"gateway,omitempty"` // Icmptype ICMP subtypes of the firewall rule. This parameter is only available when `protocol` is set to `icmp`. If this parameter is not specified, all ICMP subtypes will be assumed. Icmptype *[]APIFirewallRuleUpdateJSONBodyIcmptype `json:"icmptype,omitempty"` // Interface Interface this rule will apply to. You may specify either the interface's descriptive name, the pfSense interface ID (e.g. wan, lan, optx), or the real interface ID (e.g. igb0). If `floating` is enabled, multiple interfaces may be specified. Interface *[]string `json:"interface,omitempty"` // Ipprotocol IP protocol(s) this rule will apply to. Ipprotocol *APIFirewallRuleUpdateJSONBodyIpprotocol `json:"ipprotocol,omitempty"` // Log Enable logging of traffic matching this rule. Log *bool `json:"log,omitempty"` // Pdnpipe Traffic shaper limiter (out) queue for this rule. This must be an existing traffic shaper limiter or queue. This value cannot match the `dnpipe` value and must be a child queue if `dnpipe` is a child queue, or a parent limiter if `dnpipe` is a parent limiter. Pdnpipe *string `json:"pdnpipe,omitempty"` // Protocol Transfer protocol this rule will apply to. Protocol *APIFirewallRuleUpdateJSONBodyProtocol `json:"protocol,omitempty"` // Quick Apply action immediately upon match. This field is only available for `floating` rules. Quick *bool `json:"quick,omitempty"` // Sched Firewall schedule to apply to this rule. This must be an existing firewall schedule name. Sched *string `json:"sched,omitempty"` // Src Source address of the firewall rule. This may be a single IP, network CIDR, alias name, or interface. When specifying an interface, you may use the real interface ID (e.g. igb0), the descriptive interface name, or the pfSense ID (e.g. wan, lan, optx). To use only the interface's assigned address, add `ip` to the end of the interface name otherwise the entire interface's subnet is implied. To negate the context of the source address, you may prefix the value with `!`. Src *string `json:"src,omitempty"` // Srcport TCP and/or UDP source port, port range or port alias to apply to this rule. You may specify `any` to match any source port. This parameter is required when `protocol` is set to `tcp`, `udp`, or `tcp/udp`. Srcport *string `json:"srcport,omitempty"` // Statetype State type to use when this rule is matched. Statetype *APIFirewallRuleUpdateJSONBodyStatetype `json:"statetype,omitempty"` // Tcpflags1 TCP flags (set). Values specified must also be specified in `tcpflags2`. Tcpflags1 *[]APIFirewallRuleUpdateJSONBodyTcpflags1 `json:"tcpflags1,omitempty"` // Tcpflags2 TCP flags (out of). Tcpflags2 *[]APIFirewallRuleUpdateJSONBodyTcpflags2 `json:"tcpflags2,omitempty"` // TcpflagsAny Allow all TCP flags. This field is only relevant for TCP rules and will remove any existing values in `tcpflags1` and `tcpflags2`. TcpflagsAny *bool `json:"tcpflags_any,omitempty"` // Top Place this firewall rule at the top of the access control list. Top *bool `json:"top,omitempty"` // Tracker Tracker ID of the rule to update. Tracker int `json:"tracker"` // Type Firewall rule type. Type *APIFirewallRuleUpdateJSONBodyType `json:"type,omitempty"` }
APIFirewallRuleUpdateJSONBody defines parameters for APIFirewallRuleUpdate.
type APIFirewallRuleUpdateJSONBodyDirection ¶
type APIFirewallRuleUpdateJSONBodyDirection string
APIFirewallRuleUpdateJSONBodyDirection defines parameters for APIFirewallRuleUpdate.
const ( APIFirewallRuleUpdateJSONBodyDirectionAny APIFirewallRuleUpdateJSONBodyDirection = "any" APIFirewallRuleUpdateJSONBodyDirectionIn APIFirewallRuleUpdateJSONBodyDirection = "in" APIFirewallRuleUpdateJSONBodyDirectionOut APIFirewallRuleUpdateJSONBodyDirection = "out" )
Defines values for APIFirewallRuleUpdateJSONBodyDirection.
type APIFirewallRuleUpdateJSONBodyIcmptype ¶
type APIFirewallRuleUpdateJSONBodyIcmptype string
APIFirewallRuleUpdateJSONBodyIcmptype defines parameters for APIFirewallRuleUpdate.
const ( APIFirewallRuleUpdateJSONBodyIcmptypeAlthost APIFirewallRuleUpdateJSONBodyIcmptype = "althost" APIFirewallRuleUpdateJSONBodyIcmptypeDataconv APIFirewallRuleUpdateJSONBodyIcmptype = "dataconv" APIFirewallRuleUpdateJSONBodyIcmptypeEchorep APIFirewallRuleUpdateJSONBodyIcmptype = "echorep" APIFirewallRuleUpdateJSONBodyIcmptypeEchoreq APIFirewallRuleUpdateJSONBodyIcmptype = "echoreq" APIFirewallRuleUpdateJSONBodyIcmptypeInforep APIFirewallRuleUpdateJSONBodyIcmptype = "inforep" APIFirewallRuleUpdateJSONBodyIcmptypeInforeq APIFirewallRuleUpdateJSONBodyIcmptype = "inforeq" APIFirewallRuleUpdateJSONBodyIcmptypeIpv6Here APIFirewallRuleUpdateJSONBodyIcmptype = "ipv6-here" APIFirewallRuleUpdateJSONBodyIcmptypeIpv6Where APIFirewallRuleUpdateJSONBodyIcmptype = "ipv6-where" APIFirewallRuleUpdateJSONBodyIcmptypeMaskrep APIFirewallRuleUpdateJSONBodyIcmptype = "maskrep" APIFirewallRuleUpdateJSONBodyIcmptypeMaskreq APIFirewallRuleUpdateJSONBodyIcmptype = "maskreq" APIFirewallRuleUpdateJSONBodyIcmptypeMobredir APIFirewallRuleUpdateJSONBodyIcmptype = "mobredir" APIFirewallRuleUpdateJSONBodyIcmptypeMobregrep APIFirewallRuleUpdateJSONBodyIcmptype = "mobregrep" APIFirewallRuleUpdateJSONBodyIcmptypeMobregreq APIFirewallRuleUpdateJSONBodyIcmptype = "mobregreq" APIFirewallRuleUpdateJSONBodyIcmptypeParamprob APIFirewallRuleUpdateJSONBodyIcmptype = "paramprob" APIFirewallRuleUpdateJSONBodyIcmptypePhoturis APIFirewallRuleUpdateJSONBodyIcmptype = "photuris" APIFirewallRuleUpdateJSONBodyIcmptypeRedir APIFirewallRuleUpdateJSONBodyIcmptype = "redir" APIFirewallRuleUpdateJSONBodyIcmptypeRouteradv APIFirewallRuleUpdateJSONBodyIcmptype = "routeradv" APIFirewallRuleUpdateJSONBodyIcmptypeRoutersol APIFirewallRuleUpdateJSONBodyIcmptype = "routersol" APIFirewallRuleUpdateJSONBodyIcmptypeSkip APIFirewallRuleUpdateJSONBodyIcmptype = "skip" APIFirewallRuleUpdateJSONBodyIcmptypeSquench APIFirewallRuleUpdateJSONBodyIcmptype = "squench" APIFirewallRuleUpdateJSONBodyIcmptypeTimerep APIFirewallRuleUpdateJSONBodyIcmptype = "timerep" APIFirewallRuleUpdateJSONBodyIcmptypeTimereq APIFirewallRuleUpdateJSONBodyIcmptype = "timereq" APIFirewallRuleUpdateJSONBodyIcmptypeTimex APIFirewallRuleUpdateJSONBodyIcmptype = "timex" APIFirewallRuleUpdateJSONBodyIcmptypeTrace APIFirewallRuleUpdateJSONBodyIcmptype = "trace" APIFirewallRuleUpdateJSONBodyIcmptypeUnreach APIFirewallRuleUpdateJSONBodyIcmptype = "unreach" )
Defines values for APIFirewallRuleUpdateJSONBodyIcmptype.
type APIFirewallRuleUpdateJSONBodyIpprotocol ¶
type APIFirewallRuleUpdateJSONBodyIpprotocol string
APIFirewallRuleUpdateJSONBodyIpprotocol defines parameters for APIFirewallRuleUpdate.
const ( APIFirewallRuleUpdateJSONBodyIpprotocolInet APIFirewallRuleUpdateJSONBodyIpprotocol = "inet" APIFirewallRuleUpdateJSONBodyIpprotocolInet46 APIFirewallRuleUpdateJSONBodyIpprotocol = "inet46" APIFirewallRuleUpdateJSONBodyIpprotocolInet6 APIFirewallRuleUpdateJSONBodyIpprotocol = "inet6" )
Defines values for APIFirewallRuleUpdateJSONBodyIpprotocol.
type APIFirewallRuleUpdateJSONBodyProtocol ¶
type APIFirewallRuleUpdateJSONBodyProtocol string
APIFirewallRuleUpdateJSONBodyProtocol defines parameters for APIFirewallRuleUpdate.
const ( APIFirewallRuleUpdateJSONBodyProtocolAh APIFirewallRuleUpdateJSONBodyProtocol = "ah" APIFirewallRuleUpdateJSONBodyProtocolAny APIFirewallRuleUpdateJSONBodyProtocol = "any" APIFirewallRuleUpdateJSONBodyProtocolCarp APIFirewallRuleUpdateJSONBodyProtocol = "carp" APIFirewallRuleUpdateJSONBodyProtocolEsp APIFirewallRuleUpdateJSONBodyProtocol = "esp" APIFirewallRuleUpdateJSONBodyProtocolGre APIFirewallRuleUpdateJSONBodyProtocol = "gre" APIFirewallRuleUpdateJSONBodyProtocolIcmp APIFirewallRuleUpdateJSONBodyProtocol = "icmp" APIFirewallRuleUpdateJSONBodyProtocolIgmp APIFirewallRuleUpdateJSONBodyProtocol = "igmp" APIFirewallRuleUpdateJSONBodyProtocolIpv6 APIFirewallRuleUpdateJSONBodyProtocol = "ipv6" APIFirewallRuleUpdateJSONBodyProtocolOspf APIFirewallRuleUpdateJSONBodyProtocol = "ospf" APIFirewallRuleUpdateJSONBodyProtocolPfsync APIFirewallRuleUpdateJSONBodyProtocol = "pfsync" APIFirewallRuleUpdateJSONBodyProtocolPim APIFirewallRuleUpdateJSONBodyProtocol = "pim" APIFirewallRuleUpdateJSONBodyProtocolTcp APIFirewallRuleUpdateJSONBodyProtocol = "tcp" APIFirewallRuleUpdateJSONBodyProtocolTcpudp APIFirewallRuleUpdateJSONBodyProtocol = "tcp/udp" APIFirewallRuleUpdateJSONBodyProtocolUdp APIFirewallRuleUpdateJSONBodyProtocol = "udp" )
Defines values for APIFirewallRuleUpdateJSONBodyProtocol.
type APIFirewallRuleUpdateJSONBodyStatetype ¶
type APIFirewallRuleUpdateJSONBodyStatetype string
APIFirewallRuleUpdateJSONBodyStatetype defines parameters for APIFirewallRuleUpdate.
const ( APIFirewallRuleUpdateJSONBodyStatetypeKeepState APIFirewallRuleUpdateJSONBodyStatetype = "keep state" APIFirewallRuleUpdateJSONBodyStatetypeSloppyState APIFirewallRuleUpdateJSONBodyStatetype = "sloppy state" APIFirewallRuleUpdateJSONBodyStatetypeSynproxyState APIFirewallRuleUpdateJSONBodyStatetype = "synproxy state" )
Defines values for APIFirewallRuleUpdateJSONBodyStatetype.
type APIFirewallRuleUpdateJSONBodyTcpflags1 ¶
type APIFirewallRuleUpdateJSONBodyTcpflags1 string
APIFirewallRuleUpdateJSONBodyTcpflags1 defines parameters for APIFirewallRuleUpdate.
const ( APIFirewallRuleUpdateJSONBodyTcpflags1Ack APIFirewallRuleUpdateJSONBodyTcpflags1 = "ack" APIFirewallRuleUpdateJSONBodyTcpflags1Cwr APIFirewallRuleUpdateJSONBodyTcpflags1 = "cwr" APIFirewallRuleUpdateJSONBodyTcpflags1Ece APIFirewallRuleUpdateJSONBodyTcpflags1 = "ece" APIFirewallRuleUpdateJSONBodyTcpflags1Fin APIFirewallRuleUpdateJSONBodyTcpflags1 = "fin" APIFirewallRuleUpdateJSONBodyTcpflags1Psh APIFirewallRuleUpdateJSONBodyTcpflags1 = "psh" APIFirewallRuleUpdateJSONBodyTcpflags1Rst APIFirewallRuleUpdateJSONBodyTcpflags1 = "rst" APIFirewallRuleUpdateJSONBodyTcpflags1Syn APIFirewallRuleUpdateJSONBodyTcpflags1 = "syn" APIFirewallRuleUpdateJSONBodyTcpflags1Urg APIFirewallRuleUpdateJSONBodyTcpflags1 = "urg" )
Defines values for APIFirewallRuleUpdateJSONBodyTcpflags1.
type APIFirewallRuleUpdateJSONBodyTcpflags2 ¶
type APIFirewallRuleUpdateJSONBodyTcpflags2 string
APIFirewallRuleUpdateJSONBodyTcpflags2 defines parameters for APIFirewallRuleUpdate.
const ( APIFirewallRuleUpdateJSONBodyTcpflags2Ack APIFirewallRuleUpdateJSONBodyTcpflags2 = "ack" APIFirewallRuleUpdateJSONBodyTcpflags2Cwr APIFirewallRuleUpdateJSONBodyTcpflags2 = "cwr" APIFirewallRuleUpdateJSONBodyTcpflags2Ece APIFirewallRuleUpdateJSONBodyTcpflags2 = "ece" APIFirewallRuleUpdateJSONBodyTcpflags2Fin APIFirewallRuleUpdateJSONBodyTcpflags2 = "fin" APIFirewallRuleUpdateJSONBodyTcpflags2Psh APIFirewallRuleUpdateJSONBodyTcpflags2 = "psh" APIFirewallRuleUpdateJSONBodyTcpflags2Rst APIFirewallRuleUpdateJSONBodyTcpflags2 = "rst" APIFirewallRuleUpdateJSONBodyTcpflags2Syn APIFirewallRuleUpdateJSONBodyTcpflags2 = "syn" APIFirewallRuleUpdateJSONBodyTcpflags2Urg APIFirewallRuleUpdateJSONBodyTcpflags2 = "urg" )
Defines values for APIFirewallRuleUpdateJSONBodyTcpflags2.
type APIFirewallRuleUpdateJSONBodyType ¶
type APIFirewallRuleUpdateJSONBodyType string
APIFirewallRuleUpdateJSONBodyType defines parameters for APIFirewallRuleUpdate.
const ( APIFirewallRuleUpdateJSONBodyTypeBlock APIFirewallRuleUpdateJSONBodyType = "block" APIFirewallRuleUpdateJSONBodyTypePass APIFirewallRuleUpdateJSONBodyType = "pass" APIFirewallRuleUpdateJSONBodyTypeReject APIFirewallRuleUpdateJSONBodyType = "reject" )
Defines values for APIFirewallRuleUpdateJSONBodyType.
type APIFirewallRuleUpdateJSONRequestBody ¶
type APIFirewallRuleUpdateJSONRequestBody APIFirewallRuleUpdateJSONBody
APIFirewallRuleUpdateJSONRequestBody defines body for APIFirewallRuleUpdate for application/json ContentType.
type APIFirewallRuleUpdateResponse ¶
type APIFirewallRuleUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallRuleUpdateResponse ¶
func ParseAPIFirewallRuleUpdateResponse(rsp *http.Response) (*APIFirewallRuleUpdateResponse, error)
ParseAPIFirewallRuleUpdateResponse parses an HTTP response from a APIFirewallRuleUpdateWithResponse call
func (APIFirewallRuleUpdateResponse) Status ¶
func (r APIFirewallRuleUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallRuleUpdateResponse) StatusCode ¶
func (r APIFirewallRuleUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallScheduleCreateJSONBody ¶
type APIFirewallScheduleCreateJSONBody struct { // Descr Description for this firewall schedule. Descr *string `json:"descr,omitempty"` // Name Name of the firewall schedule. This value must be between 1 and 32 characters, and can only contain alphanumerics, underscores and hyphens. This value must be unique from all other firewall schedules. Name string `json:"name"` // Timerange Array of time range objects for this schedule. Each object must contain fields as specified in the /api/v1/firewall/schedule/time_range endpoint. At least 1 time range object must be specified. Timerange []struct { Day *string `json:"day,omitempty"` Month *string `json:"month,omitempty"` Position *string `json:"position,omitempty"` Rangedescr *string `json:"rangedescr,omitempty"` } `json:"timerange"` }
APIFirewallScheduleCreateJSONBody defines parameters for APIFirewallScheduleCreate.
type APIFirewallScheduleCreateJSONRequestBody ¶
type APIFirewallScheduleCreateJSONRequestBody APIFirewallScheduleCreateJSONBody
APIFirewallScheduleCreateJSONRequestBody defines body for APIFirewallScheduleCreate for application/json ContentType.
type APIFirewallScheduleCreateResponse ¶
type APIFirewallScheduleCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallScheduleCreateResponse ¶
func ParseAPIFirewallScheduleCreateResponse(rsp *http.Response) (*APIFirewallScheduleCreateResponse, error)
ParseAPIFirewallScheduleCreateResponse parses an HTTP response from a APIFirewallScheduleCreateWithResponse call
func (APIFirewallScheduleCreateResponse) Status ¶
func (r APIFirewallScheduleCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallScheduleCreateResponse) StatusCode ¶
func (r APIFirewallScheduleCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallScheduleDeleteParams ¶
type APIFirewallScheduleDeleteParams struct { // Name Name of the existing firewall schedule to delete. Name string `form:"name" json:"name"` }
APIFirewallScheduleDeleteParams defines parameters for APIFirewallScheduleDelete.
type APIFirewallScheduleDeleteResponse ¶
type APIFirewallScheduleDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallScheduleDeleteResponse ¶
func ParseAPIFirewallScheduleDeleteResponse(rsp *http.Response) (*APIFirewallScheduleDeleteResponse, error)
ParseAPIFirewallScheduleDeleteResponse parses an HTTP response from a APIFirewallScheduleDeleteWithResponse call
func (APIFirewallScheduleDeleteResponse) Status ¶
func (r APIFirewallScheduleDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallScheduleDeleteResponse) StatusCode ¶
func (r APIFirewallScheduleDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallScheduleReadResponse ¶
type APIFirewallScheduleReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallScheduleReadResponse ¶
func ParseAPIFirewallScheduleReadResponse(rsp *http.Response) (*APIFirewallScheduleReadResponse, error)
ParseAPIFirewallScheduleReadResponse parses an HTTP response from a APIFirewallScheduleReadWithResponse call
func (APIFirewallScheduleReadResponse) Status ¶
func (r APIFirewallScheduleReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallScheduleReadResponse) StatusCode ¶
func (r APIFirewallScheduleReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallScheduleTimeRangeCreateJSONBody ¶
type APIFirewallScheduleTimeRangeCreateJSONBody struct { // Day Comma-separated list of days the schedule will be enabled for. This will directly correspond with each value in the `month` field. For example, to enable this schedule on March 1st, and August 26th, the `month` field should be formatted as `"3,8"` and the `day` field should be formatted as `"1,26"`. This parameter is required if a `position` value was not specified. This parameter has no effect if the `position` field was specified. Day *string `json:"day,omitempty"` // Hour Hour range this schedule will be enabled at. This must be two 24-hour time strings formatted as either HH:MM or H:MM separated by `-` (e.g. `9:00-17:00`). The first time range must be less than the second time range. The minutes portion of the time range must be either `00`, `15`, `30`, `45`, or `59`. Hour string `json:"hour"` // Month Comma-separated list of months the schedule will be enabled on. This will directly correspond with each value in the `day` field. For example, to enable this schedule on March 1st, and August 26th, the `month` field should be formatted as `"3,8"` and the `day` field should be formatted as `"1,26"`. This parameter is required if a `position` value was not specified. This parameter has no effect if the `position` field was specified. Month *string `json:"month,omitempty"` // Name Name of the existing schedule to add this time range to. Name string `json:"name"` // Position Comma-separated list of week days the schedule will be enabled on. Options are `1` for Monday, `2` for Tuesday, `3` for Wednesday, `4` for Thursday, `5` for Friday, `6` for Saturday, and `7` for Sunday. Position *string `json:"position,omitempty"` // Rangedescr Description for this time range. Rangedescr *string `json:"rangedescr,omitempty"` }
APIFirewallScheduleTimeRangeCreateJSONBody defines parameters for APIFirewallScheduleTimeRangeCreate.
type APIFirewallScheduleTimeRangeCreateJSONRequestBody ¶
type APIFirewallScheduleTimeRangeCreateJSONRequestBody APIFirewallScheduleTimeRangeCreateJSONBody
APIFirewallScheduleTimeRangeCreateJSONRequestBody defines body for APIFirewallScheduleTimeRangeCreate for application/json ContentType.
type APIFirewallScheduleTimeRangeCreateResponse ¶
type APIFirewallScheduleTimeRangeCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallScheduleTimeRangeCreateResponse ¶
func ParseAPIFirewallScheduleTimeRangeCreateResponse(rsp *http.Response) (*APIFirewallScheduleTimeRangeCreateResponse, error)
ParseAPIFirewallScheduleTimeRangeCreateResponse parses an HTTP response from a APIFirewallScheduleTimeRangeCreateWithResponse call
func (APIFirewallScheduleTimeRangeCreateResponse) Status ¶
func (r APIFirewallScheduleTimeRangeCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallScheduleTimeRangeCreateResponse) StatusCode ¶
func (r APIFirewallScheduleTimeRangeCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallScheduleTimeRangeDeleteParams ¶
type APIFirewallScheduleTimeRangeDeleteParams struct { // Name Name of the existing schedule to delete this time range from. Name string `form:"name" json:"name"` // Id Specify the ID of the time range to delete. This will be the configuration array index of the `timerange` object within the `schedule` object. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` }
APIFirewallScheduleTimeRangeDeleteParams defines parameters for APIFirewallScheduleTimeRangeDelete.
type APIFirewallScheduleTimeRangeDeleteResponse ¶
type APIFirewallScheduleTimeRangeDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallScheduleTimeRangeDeleteResponse ¶
func ParseAPIFirewallScheduleTimeRangeDeleteResponse(rsp *http.Response) (*APIFirewallScheduleTimeRangeDeleteResponse, error)
ParseAPIFirewallScheduleTimeRangeDeleteResponse parses an HTTP response from a APIFirewallScheduleTimeRangeDeleteWithResponse call
func (APIFirewallScheduleTimeRangeDeleteResponse) Status ¶
func (r APIFirewallScheduleTimeRangeDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallScheduleTimeRangeDeleteResponse) StatusCode ¶
func (r APIFirewallScheduleTimeRangeDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallScheduleUpdateJSONBody ¶
type APIFirewallScheduleUpdateJSONBody struct { // Descr Description for this firewall schedule. Descr *string `json:"descr,omitempty"` // Name Name of the existing firewall schedule to update. Name string `json:"name"` // Timerange Array of time range objects for this schedule. Each object must contain fields as specified in the /api/v1/firewall/schedule/time_range endpoint. At least 1 time range object must be specified. Any existing values will be overwritten. Timerange *[]struct { Day *string `json:"day,omitempty"` Month *string `json:"month,omitempty"` Position *string `json:"position,omitempty"` Rangedescr *string `json:"rangedescr,omitempty"` } `json:"timerange,omitempty"` }
APIFirewallScheduleUpdateJSONBody defines parameters for APIFirewallScheduleUpdate.
type APIFirewallScheduleUpdateJSONRequestBody ¶
type APIFirewallScheduleUpdateJSONRequestBody APIFirewallScheduleUpdateJSONBody
APIFirewallScheduleUpdateJSONRequestBody defines body for APIFirewallScheduleUpdate for application/json ContentType.
type APIFirewallScheduleUpdateResponse ¶
type APIFirewallScheduleUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallScheduleUpdateResponse ¶
func ParseAPIFirewallScheduleUpdateResponse(rsp *http.Response) (*APIFirewallScheduleUpdateResponse, error)
ParseAPIFirewallScheduleUpdateResponse parses an HTTP response from a APIFirewallScheduleUpdateWithResponse call
func (APIFirewallScheduleUpdateResponse) Status ¶
func (r APIFirewallScheduleUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallScheduleUpdateResponse) StatusCode ¶
func (r APIFirewallScheduleUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallStatesDeleteParams ¶
type APIFirewallStatesDeleteParams struct { // Source Source IP address or CIDR of the firewall states to kill. This parameter is required unless `reset` is set to `true`. Source *string `form:"source,omitempty" json:"source,omitempty"` // Destination Destination IP address or CIDR of the firewall states to kill. This field has no effect when `reset` is set to `true`. Destination *string `form:"destination,omitempty" json:"destination,omitempty"` // Reset Reset the entire firewall states table instead of specific states. If `true`, all firewall states will be killed and the `source` and `destination` fields will have no effect. Defaults to `false`. _Note: setting this field to `true` when the `async` field is set to `false` OR the `sleep` field is set too low may prevent the API from sending a response._ Reset *bool `form:"reset,omitempty" json:"reset,omitempty"` // Async Kill states in the background. In most cases, this is required to prevent the state that allows the API to respond from being killed prematurely. Async *bool `form:"async,omitempty" json:"async,omitempty"` // Sleep Amount of time (in seconds) to wait before killing the targeted firewall states. Only applicable when `async` is set to `true`. Sleep *int `form:"sleep,omitempty" json:"sleep,omitempty"` }
APIFirewallStatesDeleteParams defines parameters for APIFirewallStatesDelete.
type APIFirewallStatesDeleteResponse ¶
type APIFirewallStatesDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallStatesDeleteResponse ¶
func ParseAPIFirewallStatesDeleteResponse(rsp *http.Response) (*APIFirewallStatesDeleteResponse, error)
ParseAPIFirewallStatesDeleteResponse parses an HTTP response from a APIFirewallStatesDeleteWithResponse call
func (APIFirewallStatesDeleteResponse) Status ¶
func (r APIFirewallStatesDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallStatesDeleteResponse) StatusCode ¶
func (r APIFirewallStatesDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallStatesReadResponse ¶
type APIFirewallStatesReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallStatesReadResponse ¶
func ParseAPIFirewallStatesReadResponse(rsp *http.Response) (*APIFirewallStatesReadResponse, error)
ParseAPIFirewallStatesReadResponse parses an HTTP response from a APIFirewallStatesReadWithResponse call
func (APIFirewallStatesReadResponse) Status ¶
func (r APIFirewallStatesReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallStatesReadResponse) StatusCode ¶
func (r APIFirewallStatesReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallStatesSizeReadResponse ¶
type APIFirewallStatesSizeReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallStatesSizeReadResponse ¶
func ParseAPIFirewallStatesSizeReadResponse(rsp *http.Response) (*APIFirewallStatesSizeReadResponse, error)
ParseAPIFirewallStatesSizeReadResponse parses an HTTP response from a APIFirewallStatesSizeReadWithResponse call
func (APIFirewallStatesSizeReadResponse) Status ¶
func (r APIFirewallStatesSizeReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallStatesSizeReadResponse) StatusCode ¶
func (r APIFirewallStatesSizeReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallStatesSizeUpdateJSONBody ¶
type APIFirewallStatesSizeUpdateJSONBody struct { // Maximumstates Set the maximum number of firewall state entries. Specify a numeric value with a minimum of `10`, or the string `default` to revert to the system default size. Maximumstates string `json:"maximumstates"` }
APIFirewallStatesSizeUpdateJSONBody defines parameters for APIFirewallStatesSizeUpdate.
type APIFirewallStatesSizeUpdateJSONRequestBody ¶
type APIFirewallStatesSizeUpdateJSONRequestBody APIFirewallStatesSizeUpdateJSONBody
APIFirewallStatesSizeUpdateJSONRequestBody defines body for APIFirewallStatesSizeUpdate for application/json ContentType.
type APIFirewallStatesSizeUpdateResponse ¶
type APIFirewallStatesSizeUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallStatesSizeUpdateResponse ¶
func ParseAPIFirewallStatesSizeUpdateResponse(rsp *http.Response) (*APIFirewallStatesSizeUpdateResponse, error)
ParseAPIFirewallStatesSizeUpdateResponse parses an HTTP response from a APIFirewallStatesSizeUpdateWithResponse call
func (APIFirewallStatesSizeUpdateResponse) Status ¶
func (r APIFirewallStatesSizeUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallStatesSizeUpdateResponse) StatusCode ¶
func (r APIFirewallStatesSizeUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperCreateJSONBody ¶
type APIFirewallTrafficShaperCreateJSONBody struct { // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple firewall items at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Bandwidth Bandwidth limit of this traffic shaper. This must be a numeric value of `1` or greater. If you have set the `bandwidthtype` to `%`, this value must be `100` or less. Bandwidth int `json:"bandwidth"` // Bandwidthtype Bandwidth type to use when setting the bandwidth. Choices are `%` for percentage based bandwidth, `b` for bits, `Kb` for kilobits, `Mb` for megabits, and `Gb` for gigabits. Bandwidthtype APIFirewallTrafficShaperCreateJSONBodyBandwidthtype `json:"bandwidthtype"` // Enabled Enable this traffic shaper policy. Enabled *bool `json:"enabled,omitempty"` // Interface Interface the traffic shaper policy will apply to. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` // Qlimit Queue limit value for this traffic shaper policy. Do not specify this field to assume no limits. Qlimit *int `json:"qlimit,omitempty"` // Scheduler Scheduler type for this traffic shaper. Scheduler APIFirewallTrafficShaperCreateJSONBodyScheduler `json:"scheduler"` // Tbrconfig TBR size for this traffic shaper. Tbrconfig *int `json:"tbrconfig,omitempty"` }
APIFirewallTrafficShaperCreateJSONBody defines parameters for APIFirewallTrafficShaperCreate.
type APIFirewallTrafficShaperCreateJSONBodyBandwidthtype ¶
type APIFirewallTrafficShaperCreateJSONBodyBandwidthtype string
APIFirewallTrafficShaperCreateJSONBodyBandwidthtype defines parameters for APIFirewallTrafficShaperCreate.
const ( APIFirewallTrafficShaperCreateJSONBodyBandwidthtypeB APIFirewallTrafficShaperCreateJSONBodyBandwidthtype = "b" APIFirewallTrafficShaperCreateJSONBodyBandwidthtypeGb APIFirewallTrafficShaperCreateJSONBodyBandwidthtype = "Gb" APIFirewallTrafficShaperCreateJSONBodyBandwidthtypeKb APIFirewallTrafficShaperCreateJSONBodyBandwidthtype = "Kb" APIFirewallTrafficShaperCreateJSONBodyBandwidthtypeMb APIFirewallTrafficShaperCreateJSONBodyBandwidthtype = "Mb" APIFirewallTrafficShaperCreateJSONBodyBandwidthtypePercent APIFirewallTrafficShaperCreateJSONBodyBandwidthtype = "%" )
Defines values for APIFirewallTrafficShaperCreateJSONBodyBandwidthtype.
type APIFirewallTrafficShaperCreateJSONBodyScheduler ¶
type APIFirewallTrafficShaperCreateJSONBodyScheduler string
APIFirewallTrafficShaperCreateJSONBodyScheduler defines parameters for APIFirewallTrafficShaperCreate.
const ( APIFirewallTrafficShaperCreateJSONBodySchedulerCBQ APIFirewallTrafficShaperCreateJSONBodyScheduler = "CBQ" APIFirewallTrafficShaperCreateJSONBodySchedulerCODELQ APIFirewallTrafficShaperCreateJSONBodyScheduler = "CODELQ" APIFirewallTrafficShaperCreateJSONBodySchedulerFAIRQ APIFirewallTrafficShaperCreateJSONBodyScheduler = "FAIRQ" APIFirewallTrafficShaperCreateJSONBodySchedulerHFSC APIFirewallTrafficShaperCreateJSONBodyScheduler = "HFSC" APIFirewallTrafficShaperCreateJSONBodySchedulerPRIQ APIFirewallTrafficShaperCreateJSONBodyScheduler = "PRIQ" )
Defines values for APIFirewallTrafficShaperCreateJSONBodyScheduler.
type APIFirewallTrafficShaperCreateJSONRequestBody ¶
type APIFirewallTrafficShaperCreateJSONRequestBody APIFirewallTrafficShaperCreateJSONBody
APIFirewallTrafficShaperCreateJSONRequestBody defines body for APIFirewallTrafficShaperCreate for application/json ContentType.
type APIFirewallTrafficShaperCreateResponse ¶
type APIFirewallTrafficShaperCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperCreateResponse ¶
func ParseAPIFirewallTrafficShaperCreateResponse(rsp *http.Response) (*APIFirewallTrafficShaperCreateResponse, error)
ParseAPIFirewallTrafficShaperCreateResponse parses an HTTP response from a APIFirewallTrafficShaperCreateWithResponse call
func (APIFirewallTrafficShaperCreateResponse) Status ¶
func (r APIFirewallTrafficShaperCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperCreateResponse) StatusCode ¶
func (r APIFirewallTrafficShaperCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperDeleteParams ¶
type APIFirewallTrafficShaperDeleteParams struct { // Interface Interface of the traffic shaper policy to delete. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `form:"interface" json:"interface"` // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple firewall items at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `form:"apply,omitempty" json:"apply,omitempty"` }
APIFirewallTrafficShaperDeleteParams defines parameters for APIFirewallTrafficShaperDelete.
type APIFirewallTrafficShaperDeleteResponse ¶
type APIFirewallTrafficShaperDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperDeleteResponse ¶
func ParseAPIFirewallTrafficShaperDeleteResponse(rsp *http.Response) (*APIFirewallTrafficShaperDeleteResponse, error)
ParseAPIFirewallTrafficShaperDeleteResponse parses an HTTP response from a APIFirewallTrafficShaperDeleteWithResponse call
func (APIFirewallTrafficShaperDeleteResponse) Status ¶
func (r APIFirewallTrafficShaperDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperDeleteResponse) StatusCode ¶
func (r APIFirewallTrafficShaperDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperLimiterBandwidthCreateJSONBody ¶
type APIFirewallTrafficShaperLimiterBandwidthCreateJSONBody struct { // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple firewall items at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Bw Amount of bandwidth allotted to the parent limiter. Bw int `json:"bw"` // Bwscale Bandwidth scale type. Bwscale APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscale `json:"bwscale"` // Bwsched Assign a schedule for this bandwidth setting. This must be an existing firewall schedule name. Bwsched *string `json:"bwsched,omitempty"` // Name Name of the existing parent limiter to add this bandwidth object to. Name string `json:"name"` }
APIFirewallTrafficShaperLimiterBandwidthCreateJSONBody defines parameters for APIFirewallTrafficShaperLimiterBandwidthCreate.
type APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscale ¶
type APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscale string
APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscale defines parameters for APIFirewallTrafficShaperLimiterBandwidthCreate.
const ( APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscaleB APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscale = "b" APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscaleKb APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscale = "Kb" APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscaleMb APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscale = "Mb" )
Defines values for APIFirewallTrafficShaperLimiterBandwidthCreateJSONBodyBwscale.
type APIFirewallTrafficShaperLimiterBandwidthCreateJSONRequestBody ¶
type APIFirewallTrafficShaperLimiterBandwidthCreateJSONRequestBody APIFirewallTrafficShaperLimiterBandwidthCreateJSONBody
APIFirewallTrafficShaperLimiterBandwidthCreateJSONRequestBody defines body for APIFirewallTrafficShaperLimiterBandwidthCreate for application/json ContentType.
type APIFirewallTrafficShaperLimiterBandwidthCreateResponse ¶
type APIFirewallTrafficShaperLimiterBandwidthCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperLimiterBandwidthCreateResponse ¶
func ParseAPIFirewallTrafficShaperLimiterBandwidthCreateResponse(rsp *http.Response) (*APIFirewallTrafficShaperLimiterBandwidthCreateResponse, error)
ParseAPIFirewallTrafficShaperLimiterBandwidthCreateResponse parses an HTTP response from a APIFirewallTrafficShaperLimiterBandwidthCreateWithResponse call
func (APIFirewallTrafficShaperLimiterBandwidthCreateResponse) Status ¶
func (r APIFirewallTrafficShaperLimiterBandwidthCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperLimiterBandwidthCreateResponse) StatusCode ¶
func (r APIFirewallTrafficShaperLimiterBandwidthCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperLimiterBandwidthDeleteParams ¶
type APIFirewallTrafficShaperLimiterBandwidthDeleteParams struct { // Name Name of the parent limiter to delete this bandwidth object from. Name string `form:"name" json:"name"` // Id Specify the ID of the bandwidth object to delete. The ID will be the array index of the object to delete within the limiter's bandwith-items array. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple firewall items at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `form:"apply,omitempty" json:"apply,omitempty"` }
APIFirewallTrafficShaperLimiterBandwidthDeleteParams defines parameters for APIFirewallTrafficShaperLimiterBandwidthDelete.
type APIFirewallTrafficShaperLimiterBandwidthDeleteResponse ¶
type APIFirewallTrafficShaperLimiterBandwidthDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperLimiterBandwidthDeleteResponse ¶
func ParseAPIFirewallTrafficShaperLimiterBandwidthDeleteResponse(rsp *http.Response) (*APIFirewallTrafficShaperLimiterBandwidthDeleteResponse, error)
ParseAPIFirewallTrafficShaperLimiterBandwidthDeleteResponse parses an HTTP response from a APIFirewallTrafficShaperLimiterBandwidthDeleteWithResponse call
func (APIFirewallTrafficShaperLimiterBandwidthDeleteResponse) Status ¶
func (r APIFirewallTrafficShaperLimiterBandwidthDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperLimiterBandwidthDeleteResponse) StatusCode ¶
func (r APIFirewallTrafficShaperLimiterBandwidthDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperLimiterCreateJSONBody ¶
type APIFirewallTrafficShaperLimiterCreateJSONBody struct { // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple firewall items at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Aqm Queue Management Algorithm for this limiter to use. Aqm APIFirewallTrafficShaperLimiterCreateJSONBodyAqm `json:"aqm"` // Bandwidth Bandwidth objects to assign to this limiter. Each object will require fields as specified by the /api/v1/firewall/traffic_shaper/limiter/bandwidth endpoint documentation. At least one bandwidth object must be specified to create the limiter. Bandwidth []struct { Bw *int `json:"bw,omitempty"` Bwscale *string `json:"bwscale,omitempty"` Bwsched *string `json:"bwsched,omitempty"` } `json:"bandwidth"` // Buckets Buckets for this limiter. Buckets *int `json:"buckets,omitempty"` // Delay Delay value for this limiter. Delay *int `json:"delay,omitempty"` // Description Description for this limiter. Description *string `json:"description,omitempty"` // Ecn Enable Explicit Congestion Notification (ECN). Not every AQM and/or scheduler supports ECN. Ecn *bool `json:"ecn,omitempty"` // Enabled Enable this limiter. Enabled *bool `json:"enabled,omitempty"` // Mask Limiter address mask type. Mask *APIFirewallTrafficShaperLimiterCreateJSONBodyMask `json:"mask,omitempty"` // Maskbits IPv4 subnet bitmask to apply the limiter to. This parameter is only available when `mask` is set to `srcaddress` or `dstaddress`. Maskbits *int `json:"maskbits,omitempty"` // Maskbitsv6 IPv6 subnet bitmask to apply the limiter to. This parameter is only available when `mask` is set to `srcaddress` or `dstaddress`. Maskbitsv6 *int `json:"maskbitsv6,omitempty"` // Name Name for this limiter. This value must only contain alphanumerics, underscore and/or hyphens, must be 32 characters or less, and must be unique from all other limiters Including child queues. Name string `json:"name"` // ParamCodelInterval CoDel interval parameter for this limiter. This parameter is only available when `aqm` is set to `codel`. ParamCodelInterval *int `json:"param_codel_interval,omitempty"` // ParamCodelTarget CoDel target parameter for this limiter. This parameter is only available when `aqm` is set to `codel`. ParamCodelTarget *int `json:"param_codel_target,omitempty"` // ParamFqCodelFlow Specify the FQ_CoDel flow parameter for this limiter. This parameter is only available when `sched` is set to `fq_codel`. ParamFqCodelFlow *int `json:"param_fq_codel_flow,omitempty"` // ParamFqCodelInterval FQ_CoDel interval parameter for this limiter. This parameter is only available when `sched` is set to `fq_codel`. ParamFqCodelInterval *int `json:"param_fq_codel_interval,omitempty"` // ParamFqCodelLimit FQ_CoDel limit parameter for this limiter. This parameter is only available when `sched` is set to `fq_codel`. ParamFqCodelLimit *int `json:"param_fq_codel_limit,omitempty"` // ParamFqCodelQuantum FQ_CoDel quantum parameter for this limiter. This parameter is only available when `sched` is set to `fq_codel`. ParamFqCodelQuantum *int `json:"param_fq_codel_quantum,omitempty"` // ParamFqCodelTarget FQ_CoDel target parameter for this limiter. This parameter is only available when `sched` is set to `fq_codel`. ParamFqCodelTarget *int `json:"param_fq_codel_target,omitempty"` // ParamFqPieAlpha FQ_PIE alpha parameter for this limiter. This parameter is only available when `sched` is set to `fq_pie`. ParamFqPieAlpha *int `json:"param_fq_pie_alpha,omitempty"` // ParamFqPieBeta FQ_PIE beta parameter for this limiter. This parameter is only available when `sched` is set to `fq_pie`. ParamFqPieBeta *int `json:"param_fq_pie_beta,omitempty"` // ParamFqPieMaxBurst FQ_PIE max burst parameter for this limiter. This parameter is only available when `sched` is set to `fq_pie`. ParamFqPieMaxBurst *int `json:"param_fq_pie_max_burst,omitempty"` // ParamFqPieMaxEcnth FQ_PIE max ecnth parameter for this limiter. This parameter is only available when `sched` is set to `fq_pie`. ParamFqPieMaxEcnth *int `json:"param_fq_pie_max_ecnth,omitempty"` // ParamFqPieTarget FQ_PIE target parameter for this limiter. This parameter is only available when `sched` is set to `fq_pie`. ParamFqPieTarget *int `json:"param_fq_pie_target,omitempty"` // ParamFqPieTupdate FQ_PIE tupdate parameter for this limiter. This parameter is only available when `sched` is set to `fq_pie`. ParamFqPieTupdate *int `json:"param_fq_pie_tupdate,omitempty"` // ParamGredMaxP GRED max_p parameter for this limiter. This parameter is only available when `aqm` is set to `gred`. ParamGredMaxP *int `json:"param_gred_max_p,omitempty"` // ParamGredMaxTh GRED max_th parameter for this limiter. This parameter is only available when `aqm` is set to `gred`. ParamGredMaxTh *int `json:"param_gred_max_th,omitempty"` // ParamGredMinTh GRED min_th parameter for this limiter. This parameter is only available when `aqm` is set to `gred`. ParamGredMinTh *int `json:"param_gred_min_th,omitempty"` // ParamGredWQ GRED w_q parameter for this limiter. This parameter is only available when `aqm` is set to `gred`. ParamGredWQ *int `json:"param_gred_w_q,omitempty"` // ParamPieAlpha PIE alpha parameter for this limiter. This parameter is only available when `aqm` is set to `pie`. ParamPieAlpha *int `json:"param_pie_alpha,omitempty"` // ParamPieBeta PIE beta parameter for this limiter. This parameter is only available when `aqm` is set to `pie`. ParamPieBeta *int `json:"param_pie_beta,omitempty"` // ParamPieMaxBurst PIE max burst parameter for this limiter. This parameter is only available when `aqm` is set to `pie`. ParamPieMaxBurst *int `json:"param_pie_max_burst,omitempty"` // ParamPieMaxEcnth PIE max ecnth parameter for this limiter. This parameter is only available when `aqm` is set to `pie`. ParamPieMaxEcnth *int `json:"param_pie_max_ecnth,omitempty"` // ParamPieTarget PIE target parameter for this limiter. This parameter is only available when `aqm` is set to `pie`. ParamPieTarget *int `json:"param_pie_target,omitempty"` // ParamPieTupdate PIE tupdate parameter for this limiter. This parameter is only available when `aqm` is set to `pie`. ParamPieTupdate *int `json:"param_pie_tupdate,omitempty"` // ParamRedMaxP RED max_p parameter for this limiter. This parameter is only available when `aqm` is set to `red`. ParamRedMaxP *int `json:"param_red_max_p,omitempty"` // ParamRedMaxTh RED max_th parameter for this limiter. This parameter is only available when `aqm` is set to `red`. ParamRedMaxTh *int `json:"param_red_max_th,omitempty"` // ParamRedMinTh RED min_th parameter for this limiter. This parameter is only available when `aqm` is set to `red`. ParamRedMinTh *int `json:"param_red_min_th,omitempty"` // ParamRedWQ RED w_q parameter for this limiter. This parameter is only available when `aqm` is set to `red`. ParamRedWQ *int `json:"param_red_w_q,omitempty"` // Plr Packet loss rate value for this limiter. Plr *float32 `json:"plr,omitempty"` // Qlimit Queue limit value for this limiter. Qlimit *int `json:"qlimit,omitempty"` // Sched Scheduler type for this limiter to use. Sched APIFirewallTrafficShaperLimiterCreateJSONBodySched `json:"sched"` }
APIFirewallTrafficShaperLimiterCreateJSONBody defines parameters for APIFirewallTrafficShaperLimiterCreate.
type APIFirewallTrafficShaperLimiterCreateJSONBodyAqm ¶
type APIFirewallTrafficShaperLimiterCreateJSONBodyAqm string
APIFirewallTrafficShaperLimiterCreateJSONBodyAqm defines parameters for APIFirewallTrafficShaperLimiterCreate.
const ( APIFirewallTrafficShaperLimiterCreateJSONBodyAqmCodel APIFirewallTrafficShaperLimiterCreateJSONBodyAqm = "codel" APIFirewallTrafficShaperLimiterCreateJSONBodyAqmDroptail APIFirewallTrafficShaperLimiterCreateJSONBodyAqm = "droptail" APIFirewallTrafficShaperLimiterCreateJSONBodyAqmGred APIFirewallTrafficShaperLimiterCreateJSONBodyAqm = "gred" APIFirewallTrafficShaperLimiterCreateJSONBodyAqmPie APIFirewallTrafficShaperLimiterCreateJSONBodyAqm = "pie" APIFirewallTrafficShaperLimiterCreateJSONBodyAqmRed APIFirewallTrafficShaperLimiterCreateJSONBodyAqm = "red" )
Defines values for APIFirewallTrafficShaperLimiterCreateJSONBodyAqm.
type APIFirewallTrafficShaperLimiterCreateJSONBodyMask ¶
type APIFirewallTrafficShaperLimiterCreateJSONBodyMask string
APIFirewallTrafficShaperLimiterCreateJSONBodyMask defines parameters for APIFirewallTrafficShaperLimiterCreate.
const ( APIFirewallTrafficShaperLimiterCreateJSONBodyMaskDstaddress APIFirewallTrafficShaperLimiterCreateJSONBodyMask = "dstaddress" APIFirewallTrafficShaperLimiterCreateJSONBodyMaskNone APIFirewallTrafficShaperLimiterCreateJSONBodyMask = "none" APIFirewallTrafficShaperLimiterCreateJSONBodyMaskSrcaddress APIFirewallTrafficShaperLimiterCreateJSONBodyMask = "srcaddress" )
Defines values for APIFirewallTrafficShaperLimiterCreateJSONBodyMask.
type APIFirewallTrafficShaperLimiterCreateJSONBodySched ¶
type APIFirewallTrafficShaperLimiterCreateJSONBodySched string
APIFirewallTrafficShaperLimiterCreateJSONBodySched defines parameters for APIFirewallTrafficShaperLimiterCreate.
const ( Fifo APIFirewallTrafficShaperLimiterCreateJSONBodySched = "fifo" FqCodel APIFirewallTrafficShaperLimiterCreateJSONBodySched = "fq_codel" FqPie APIFirewallTrafficShaperLimiterCreateJSONBodySched = "fq_pie" Prio APIFirewallTrafficShaperLimiterCreateJSONBodySched = "prio" Qfq APIFirewallTrafficShaperLimiterCreateJSONBodySched = "qfq" Rr APIFirewallTrafficShaperLimiterCreateJSONBodySched = "rr" Wf2q APIFirewallTrafficShaperLimiterCreateJSONBodySched = "wf2q+" )
Defines values for APIFirewallTrafficShaperLimiterCreateJSONBodySched.
type APIFirewallTrafficShaperLimiterCreateJSONRequestBody ¶
type APIFirewallTrafficShaperLimiterCreateJSONRequestBody APIFirewallTrafficShaperLimiterCreateJSONBody
APIFirewallTrafficShaperLimiterCreateJSONRequestBody defines body for APIFirewallTrafficShaperLimiterCreate for application/json ContentType.
type APIFirewallTrafficShaperLimiterCreateResponse ¶
type APIFirewallTrafficShaperLimiterCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperLimiterCreateResponse ¶
func ParseAPIFirewallTrafficShaperLimiterCreateResponse(rsp *http.Response) (*APIFirewallTrafficShaperLimiterCreateResponse, error)
ParseAPIFirewallTrafficShaperLimiterCreateResponse parses an HTTP response from a APIFirewallTrafficShaperLimiterCreateWithResponse call
func (APIFirewallTrafficShaperLimiterCreateResponse) Status ¶
func (r APIFirewallTrafficShaperLimiterCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperLimiterCreateResponse) StatusCode ¶
func (r APIFirewallTrafficShaperLimiterCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperLimiterDeleteParams ¶
type APIFirewallTrafficShaperLimiterDeleteParams struct { // Name Name of the limiter to delete. Name string `form:"name" json:"name"` // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple firewall items at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *string `form:"apply,omitempty" json:"apply,omitempty"` }
APIFirewallTrafficShaperLimiterDeleteParams defines parameters for APIFirewallTrafficShaperLimiterDelete.
type APIFirewallTrafficShaperLimiterDeleteResponse ¶
type APIFirewallTrafficShaperLimiterDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperLimiterDeleteResponse ¶
func ParseAPIFirewallTrafficShaperLimiterDeleteResponse(rsp *http.Response) (*APIFirewallTrafficShaperLimiterDeleteResponse, error)
ParseAPIFirewallTrafficShaperLimiterDeleteResponse parses an HTTP response from a APIFirewallTrafficShaperLimiterDeleteWithResponse call
func (APIFirewallTrafficShaperLimiterDeleteResponse) Status ¶
func (r APIFirewallTrafficShaperLimiterDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperLimiterDeleteResponse) StatusCode ¶
func (r APIFirewallTrafficShaperLimiterDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperLimiterQueueCreateJSONBody ¶
type APIFirewallTrafficShaperLimiterQueueCreateJSONBody struct { // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple firewall items at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Aqm Queue Management Algorithm for this limiter queue to use. Aqm APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm `json:"aqm"` // Buckets Buckets for this limiter queue. Buckets *int `json:"buckets,omitempty"` // Description Description for this limiter queue. Description *string `json:"description,omitempty"` // Ecn Enable Explicit Congestion Notification (ECN). This parameter is only available when `aqm` is set to `codel`, `pie`, `red` or `gred`. Ecn *bool `json:"ecn,omitempty"` // Enabled Enable this limiter queue. Enabled *bool `json:"enabled,omitempty"` // Limiter Name of the parent limiter to add this queue to. Limiter string `json:"limiter"` // Mask Limiter address mask type. Mask *APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMask `json:"mask,omitempty"` // Maskbits IPv4 subnet bitmask to apply the limiter queue to. This parameter is only available when `mask` is set to `srcaddress` or `dstaddress`. Maskbits *int `json:"maskbits,omitempty"` // Maskbitsv6 IPv6 subnet bitmask to apply the limiter queue to. This parameter is only available when `mask` is set to `srcaddress` or `dstaddress`. Maskbitsv6 *int `json:"maskbitsv6,omitempty"` // Name Name for this limiter queue. This value must only contain alphanumerics, underscore and/or hyphens, must be 32 characters or less, and must be unique from all other limiters including child queues. Name string `json:"name"` // ParamCodelInterval CoDel interval parameter for this limiter queue. This parameter is only available when `aqm` is set to `codel`. ParamCodelInterval *int `json:"param_codel_interval,omitempty"` // ParamCodelTarget CoDel target parameter for this limiter queue. This parameter is only available when `aqm` is set to `codel`. ParamCodelTarget *int `json:"param_codel_target,omitempty"` // ParamGredMaxP GRED max_p parameter for this limiter queue. This parameter is only available when `aqm` is set to `gred`. ParamGredMaxP *int `json:"param_gred_max_p,omitempty"` // ParamGredMaxTh GRED max_th parameter for this limiter queue. This parameter is only available when `aqm` is set to `gred`. ParamGredMaxTh *int `json:"param_gred_max_th,omitempty"` // ParamGredMinTh GRED min_th parameter for this limiter queue. This parameter is only available when `aqm` is set to `gred`. ParamGredMinTh *int `json:"param_gred_min_th,omitempty"` // ParamGredWQ GRED w_q parameter for this limiter queue. This parameter is only available when `aqm` is set to `gred`. ParamGredWQ *int `json:"param_gred_w_q,omitempty"` // ParamPieAlpha PIE alpha parameter for this limiter queue. This parameter is only available when `aqm` is set to `pie`. ParamPieAlpha *int `json:"param_pie_alpha,omitempty"` // ParamPieBeta PIE beta parameter for this limiter queue. This parameter is only available when `aqm` is set to `pie`. ParamPieBeta *int `json:"param_pie_beta,omitempty"` // ParamPieMaxBurst PIE max burst parameter for this limiter queue. This parameter is only available when `aqm` is set to `pie`. ParamPieMaxBurst *int `json:"param_pie_max_burst,omitempty"` // ParamPieMaxEcnth PIE max ecnth parameter for this limiter queue. This parameter is only available when `aqm` is set to `pie`. ParamPieMaxEcnth *int `json:"param_pie_max_ecnth,omitempty"` // ParamPieTarget PIE target parameter for this limiter queue. This parameter is only available when `aqm` is set to `pie`. ParamPieTarget *int `json:"param_pie_target,omitempty"` // ParamPieTupdate Specify the PIE tupdate parameter for this limiter queue. This parameter is only available when `aqm` is set to `pie`. ParamPieTupdate *int `json:"param_pie_tupdate,omitempty"` // ParamRedMaxP RED max_p parameter for this limiter queue. This parameter is only available when `aqm` is set to `red`. ParamRedMaxP *int `json:"param_red_max_p,omitempty"` // ParamRedMaxTh RED max_th parameter for this limiter queue. This parameter is only available when `aqm` is set to `red`. ParamRedMaxTh *int `json:"param_red_max_th,omitempty"` // ParamRedMinTh RED min_th parameter for this limiter queue. This parameter is only available when `aqm` is set to `red`. ParamRedMinTh *int `json:"param_red_min_th,omitempty"` // ParamRedWQ RED w_q parameter for this limiter queue. This parameter is only available when `aqm` is set to `red`. ParamRedWQ *int `json:"param_red_w_q,omitempty"` // Plr Packet loss rate value for this limiter queue. Plr *float32 `json:"plr,omitempty"` // Qlimit Queue limit value for this limiter queue. Qlimit *int `json:"qlimit,omitempty"` // Weight Weight value of this limiter queue. Weight *int `json:"weight,omitempty"` }
APIFirewallTrafficShaperLimiterQueueCreateJSONBody defines parameters for APIFirewallTrafficShaperLimiterQueueCreate.
type APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm ¶
type APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm string
APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm defines parameters for APIFirewallTrafficShaperLimiterQueueCreate.
const ( APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqmCodel APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm = "codel" APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqmDroptail APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm = "droptail" APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqmGred APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm = "gred" APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqmPie APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm = "pie" APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqmRed APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm = "red" )
Defines values for APIFirewallTrafficShaperLimiterQueueCreateJSONBodyAqm.
type APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMask ¶
type APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMask string
APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMask defines parameters for APIFirewallTrafficShaperLimiterQueueCreate.
const ( APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMaskDstaddress APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMask = "dstaddress" APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMaskNone APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMask = "none" APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMaskSrcaddress APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMask = "srcaddress" )
Defines values for APIFirewallTrafficShaperLimiterQueueCreateJSONBodyMask.
type APIFirewallTrafficShaperLimiterQueueCreateJSONRequestBody ¶
type APIFirewallTrafficShaperLimiterQueueCreateJSONRequestBody APIFirewallTrafficShaperLimiterQueueCreateJSONBody
APIFirewallTrafficShaperLimiterQueueCreateJSONRequestBody defines body for APIFirewallTrafficShaperLimiterQueueCreate for application/json ContentType.
type APIFirewallTrafficShaperLimiterQueueCreateResponse ¶
type APIFirewallTrafficShaperLimiterQueueCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperLimiterQueueCreateResponse ¶
func ParseAPIFirewallTrafficShaperLimiterQueueCreateResponse(rsp *http.Response) (*APIFirewallTrafficShaperLimiterQueueCreateResponse, error)
ParseAPIFirewallTrafficShaperLimiterQueueCreateResponse parses an HTTP response from a APIFirewallTrafficShaperLimiterQueueCreateWithResponse call
func (APIFirewallTrafficShaperLimiterQueueCreateResponse) Status ¶
func (r APIFirewallTrafficShaperLimiterQueueCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperLimiterQueueCreateResponse) StatusCode ¶
func (r APIFirewallTrafficShaperLimiterQueueCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperLimiterQueueDeleteParams ¶
type APIFirewallTrafficShaperLimiterQueueDeleteParams struct { // Limiter Name of the parent limiter to delete this queue from. Limiter string `form:"limiter" json:"limiter"` // Name Name of the queue to delete. Name string `form:"name" json:"name"` // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple firewall items at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *string `form:"apply,omitempty" json:"apply,omitempty"` }
APIFirewallTrafficShaperLimiterQueueDeleteParams defines parameters for APIFirewallTrafficShaperLimiterQueueDelete.
type APIFirewallTrafficShaperLimiterQueueDeleteResponse ¶
type APIFirewallTrafficShaperLimiterQueueDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperLimiterQueueDeleteResponse ¶
func ParseAPIFirewallTrafficShaperLimiterQueueDeleteResponse(rsp *http.Response) (*APIFirewallTrafficShaperLimiterQueueDeleteResponse, error)
ParseAPIFirewallTrafficShaperLimiterQueueDeleteResponse parses an HTTP response from a APIFirewallTrafficShaperLimiterQueueDeleteWithResponse call
func (APIFirewallTrafficShaperLimiterQueueDeleteResponse) Status ¶
func (r APIFirewallTrafficShaperLimiterQueueDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperLimiterQueueDeleteResponse) StatusCode ¶
func (r APIFirewallTrafficShaperLimiterQueueDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperLimiterReadResponse ¶
type APIFirewallTrafficShaperLimiterReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperLimiterReadResponse ¶
func ParseAPIFirewallTrafficShaperLimiterReadResponse(rsp *http.Response) (*APIFirewallTrafficShaperLimiterReadResponse, error)
ParseAPIFirewallTrafficShaperLimiterReadResponse parses an HTTP response from a APIFirewallTrafficShaperLimiterReadWithResponse call
func (APIFirewallTrafficShaperLimiterReadResponse) Status ¶
func (r APIFirewallTrafficShaperLimiterReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperLimiterReadResponse) StatusCode ¶
func (r APIFirewallTrafficShaperLimiterReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperQueueCreateJSONBody ¶
type APIFirewallTrafficShaperQueueCreateJSONBody struct { // Apply Specify whether or not you would like this queue to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple firewall items at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Bandwidth Bandwidth limits of this traffic shaper. This must be a numeric value of `1` or greater. If you have set the `bandwidthtype` to `%`, this value must be `100` or less. This parameter is only available when the parent traffic shaper's `scheduler` value is set to `HFSC`, `CBQ`, or `FAIRQ`. The sum of this value and all other child queues must be less than the parent traffic shaper's `bandwidth` value. Bandwidth *int `json:"bandwidth,omitempty"` // Bandwidthtype Bandwidth type to use when setting the `bandwidth` value. Choices are `%` for percentage based bandwidth, `b` for bits, `Kb` for kilobits, `Mb` for megabits, and `Gb` for gigabits. This parameter is only available when the parent traffic shaper's `scheduler` value is set to `HFSC`, `CBQ`, or `FAIRQ`. Bandwidthtype *APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype `json:"bandwidthtype,omitempty"` // Borrow Allow queue to borrow bandwidth from other queues when available. This parameter is only available when the parent traffic shaper's `scheduler` value is set to `CBQ`. Borrow *bool `json:"borrow,omitempty"` // Buckets Bandwidth buckets value for this queue. This parameter is only available when the parent traffic shaper's `scheduler` value is set to `FAIRQ`. Buckets *string `json:"buckets,omitempty"` // Codel Set the Codel Active Queue option for this queue. Codel *bool `json:"codel,omitempty"` // Default Set queue as the default for the parent interface. Default *bool `json:"default,omitempty"` // Description Description for this queue. Description *string `json:"description,omitempty"` // Ecn Set the Explicit Congestion Notification option for this queue. Ecn *bool `json:"ecn,omitempty"` // Enabled Enable this traffic queue. Enabled *bool `json:"enabled,omitempty"` // Hogs Bandwidth hogs value for this queue. This parameter is only available when the parent traffic shaper's `scheduler` value is set to `FAIRQ`. Hogs *string `json:"hogs,omitempty"` // Interface Parent interface to create the traffic shaper queue for. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` Linkshare *bool `json:"linkshare,omitempty"` Linkshare1 *string `json:"linkshare1,omitempty"` Linkshare2 *int `json:"linkshare2,omitempty"` Linkshare3 *string `json:"linkshare3,omitempty"` // Name Name for this queue. This name's length must be 15 characters or less, and unique from all other queues on the parent interface. Name string `json:"name"` // Priority Priority of this queue. This parameter is only available when the parent's `scheduler` value is set to `FAIRQ`, `CBQ` or `PRIQ`. Priority *int `json:"priority,omitempty"` // Qlimit Specify the queue limit value for this queue. If set, this must be a value of `1` or greater. Do not specify this parameter to assume no limits. Qlimit *int `json:"qlimit,omitempty"` // Realtime Enable the realtime (minimum bandwidth) option for this queue. This parameter is only available when parent traffic shaper's `scheduler` is set to `HFSC`. Realtime *bool `json:"realtime,omitempty"` // Realtime1 First realtime value (m1). This value must be a bandwidth formatted string (e.g. `100Mb`, `1Gb`, etc.). This parameter is only available when the parent traffic shaper's `scheduler` is set to `HFSC` and the `realtime` value is set to `true`. Realtime1 *string `json:"realtime1,omitempty"` // Realtime2 Second realtime value (d). This value must be an integer of 1 or greater. This parameter is required if a `realtime1` value was specified. This parameter is only available when the parent traffic shaper's `scheduler` value is set to `HFSC` and the `realtime` value is set to `true`. Realtime2 *int `json:"realtime2,omitempty"` // Realtime3 Third realtime value (m2). This value must be a bandwidth formatted string (e.g. `100Mb`, `1Gb`, etc.). This parameter is only required when the parent traffic shaper's `scheduler` value is set to `HFSC` and the `realtime` value is set to `true`. Realtime3 *string `json:"realtime3,omitempty"` // Red Set the Random Early Detection option for this queue. Red *bool `json:"red,omitempty"` // Rio Set the Random Early Detection In and Out option for this queue. Rio *bool `json:"rio,omitempty"` // Upperlimit Enable the upperlimit (max bandwidth) option for this queue. This parameter is only available when the parent's traffic shaper's `scheduler` value is set to `HFSC`. Upperlimit *bool `json:"upperlimit,omitempty"` // Upperlimit1 First upper limit value (m1). This value must be a bandwidth formatted string (e.g. `100Mb`, `1Gb`, etc.). This parameter is only available when the parent traffic shaper's `scheduler` value is set to `HFSC` and `upperlimit` value is set to `true`. Upperlimit1 *string `json:"upperlimit1,omitempty"` // Upperlimit2 Second upper limit value (d). This value must be an integer of `1` or greater. This value is required if an `upperlimit1` value was specified. This parameter is only available when the parent traffic shaper's `scheduler` value is set to `HFSC` and `upperlimit` value is set to `true`. Upperlimit2 *int `json:"upperlimit2,omitempty"` // Upperlimit3 Third upper limit value (m2). This value must be a bandwidth formatted string (e.g. `100Mb`, `1Gb`, etc.). This parameter is only available when the parent traffic shaper's `scheduler` value is set to `HFSC` and `upperlimit` value is set to `true`. This parameter is required if the`upperlimit` value is set to `true`. Upperlimit3 *string `json:"upperlimit3,omitempty"` }
APIFirewallTrafficShaperQueueCreateJSONBody defines parameters for APIFirewallTrafficShaperQueueCreate.
type APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype ¶
type APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype string
APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype defines parameters for APIFirewallTrafficShaperQueueCreate.
const ( APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtypeB APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype = "b" APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtypeGb APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype = "Gb" APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtypeKb APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype = "Kb" APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtypeMb APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype = "Mb" APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtypePercent APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype = "%" )
Defines values for APIFirewallTrafficShaperQueueCreateJSONBodyBandwidthtype.
type APIFirewallTrafficShaperQueueCreateJSONRequestBody ¶
type APIFirewallTrafficShaperQueueCreateJSONRequestBody APIFirewallTrafficShaperQueueCreateJSONBody
APIFirewallTrafficShaperQueueCreateJSONRequestBody defines body for APIFirewallTrafficShaperQueueCreate for application/json ContentType.
type APIFirewallTrafficShaperQueueCreateResponse ¶
type APIFirewallTrafficShaperQueueCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperQueueCreateResponse ¶
func ParseAPIFirewallTrafficShaperQueueCreateResponse(rsp *http.Response) (*APIFirewallTrafficShaperQueueCreateResponse, error)
ParseAPIFirewallTrafficShaperQueueCreateResponse parses an HTTP response from a APIFirewallTrafficShaperQueueCreateWithResponse call
func (APIFirewallTrafficShaperQueueCreateResponse) Status ¶
func (r APIFirewallTrafficShaperQueueCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperQueueCreateResponse) StatusCode ¶
func (r APIFirewallTrafficShaperQueueCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperQueueDeleteParams ¶
type APIFirewallTrafficShaperQueueDeleteParams struct { // Interface Parent interface to delete the traffic shaper queue from. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `form:"interface" json:"interface"` // Name Name of the queue to delete. This must be an existing queue name configured on the parent traffic shaper. Name string `form:"name" json:"name"` }
APIFirewallTrafficShaperQueueDeleteParams defines parameters for APIFirewallTrafficShaperQueueDelete.
type APIFirewallTrafficShaperQueueDeleteResponse ¶
type APIFirewallTrafficShaperQueueDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperQueueDeleteResponse ¶
func ParseAPIFirewallTrafficShaperQueueDeleteResponse(rsp *http.Response) (*APIFirewallTrafficShaperQueueDeleteResponse, error)
ParseAPIFirewallTrafficShaperQueueDeleteResponse parses an HTTP response from a APIFirewallTrafficShaperQueueDeleteWithResponse call
func (APIFirewallTrafficShaperQueueDeleteResponse) Status ¶
func (r APIFirewallTrafficShaperQueueDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperQueueDeleteResponse) StatusCode ¶
func (r APIFirewallTrafficShaperQueueDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperReadResponse ¶
type APIFirewallTrafficShaperReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperReadResponse ¶
func ParseAPIFirewallTrafficShaperReadResponse(rsp *http.Response) (*APIFirewallTrafficShaperReadResponse, error)
ParseAPIFirewallTrafficShaperReadResponse parses an HTTP response from a APIFirewallTrafficShaperReadWithResponse call
func (APIFirewallTrafficShaperReadResponse) Status ¶
func (r APIFirewallTrafficShaperReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperReadResponse) StatusCode ¶
func (r APIFirewallTrafficShaperReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallTrafficShaperUpdateJSONBody ¶
type APIFirewallTrafficShaperUpdateJSONBody struct { // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If you are modifying multiple firewall items at once it is best to set this to false and apply the changes afterwards using the `/api/v1/firewall/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Bandwidth Bandwidth limit of this traffic shaper. This must be a numeric value of `1` or greater. If you have set the `bandwidthtype` to `%`, this value must be `100` or less. This parameter is required when a new `bandwidthtype` value is specified. Bandwidth *int `json:"bandwidth,omitempty"` // Bandwidthtype Bandwidth type to use when setting the bandwidth. Choices are `%` for percentage based bandwidth, `b` for bits, `Kb` for kilobits, `Mb` for megabits, and `Gb` for gigabits. If this value is updated, a new `bandwidth` value will also be required. Bandwidthtype *APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype `json:"bandwidthtype,omitempty"` // Enabled Enable this traffic shaper policy. Enabled *bool `json:"enabled,omitempty"` // Interface Interface of the traffic shaper policy to update. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` // Qlimit Queue limit value for this traffic shaper policy. Do not specify this field to assume no limits. Qlimit *int `json:"qlimit,omitempty"` // Scheduler Scheduler type for this traffic shaper. Scheduler *APIFirewallTrafficShaperUpdateJSONBodyScheduler `json:"scheduler,omitempty"` // Tbrconfig TBR size for this traffic shaper. Tbrconfig *int `json:"tbrconfig,omitempty"` }
APIFirewallTrafficShaperUpdateJSONBody defines parameters for APIFirewallTrafficShaperUpdate.
type APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype ¶
type APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype string
APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype defines parameters for APIFirewallTrafficShaperUpdate.
const ( APIFirewallTrafficShaperUpdateJSONBodyBandwidthtypeB APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype = "b" APIFirewallTrafficShaperUpdateJSONBodyBandwidthtypeGb APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype = "Gb" APIFirewallTrafficShaperUpdateJSONBodyBandwidthtypeKb APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype = "Kb" APIFirewallTrafficShaperUpdateJSONBodyBandwidthtypeMb APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype = "Mb" APIFirewallTrafficShaperUpdateJSONBodyBandwidthtypePercent APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype = "%" )
Defines values for APIFirewallTrafficShaperUpdateJSONBodyBandwidthtype.
type APIFirewallTrafficShaperUpdateJSONBodyScheduler ¶
type APIFirewallTrafficShaperUpdateJSONBodyScheduler string
APIFirewallTrafficShaperUpdateJSONBodyScheduler defines parameters for APIFirewallTrafficShaperUpdate.
const ( APIFirewallTrafficShaperUpdateJSONBodySchedulerCBQ APIFirewallTrafficShaperUpdateJSONBodyScheduler = "CBQ" APIFirewallTrafficShaperUpdateJSONBodySchedulerCODELQ APIFirewallTrafficShaperUpdateJSONBodyScheduler = "CODELQ" APIFirewallTrafficShaperUpdateJSONBodySchedulerFAIRQ APIFirewallTrafficShaperUpdateJSONBodyScheduler = "FAIRQ" APIFirewallTrafficShaperUpdateJSONBodySchedulerHFSC APIFirewallTrafficShaperUpdateJSONBodyScheduler = "HFSC" APIFirewallTrafficShaperUpdateJSONBodySchedulerPRIQ APIFirewallTrafficShaperUpdateJSONBodyScheduler = "PRIQ" )
Defines values for APIFirewallTrafficShaperUpdateJSONBodyScheduler.
type APIFirewallTrafficShaperUpdateJSONRequestBody ¶
type APIFirewallTrafficShaperUpdateJSONRequestBody APIFirewallTrafficShaperUpdateJSONBody
APIFirewallTrafficShaperUpdateJSONRequestBody defines body for APIFirewallTrafficShaperUpdate for application/json ContentType.
type APIFirewallTrafficShaperUpdateResponse ¶
type APIFirewallTrafficShaperUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallTrafficShaperUpdateResponse ¶
func ParseAPIFirewallTrafficShaperUpdateResponse(rsp *http.Response) (*APIFirewallTrafficShaperUpdateResponse, error)
ParseAPIFirewallTrafficShaperUpdateResponse parses an HTTP response from a APIFirewallTrafficShaperUpdateWithResponse call
func (APIFirewallTrafficShaperUpdateResponse) Status ¶
func (r APIFirewallTrafficShaperUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallTrafficShaperUpdateResponse) StatusCode ¶
func (r APIFirewallTrafficShaperUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallVirtualIPCreateJSONBody ¶
type APIFirewallVirtualIPCreateJSONBody struct { // Advbase Advertisement base for the CARP virtual IP. This parameter is only available when `type` is set to `carp`. Advbase *int `json:"advbase,omitempty"` // Advskew Advertisement skew for the new CARP virtual IP. This parameter is only available when `type` is set to `carp`. Advskew *int `json:"advskew,omitempty"` // Descr Description of the virtual IP. Descr *string `json:"descr,omitempty"` // Interface Interface that will be assigned the virtual IP. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` // Mode Set the virtual IP mode. Mode APIFirewallVirtualIPCreateJSONBodyMode `json:"mode"` // Noexpand Disable IP expansion for the virtual IP address. This parameter is only available when `type` is set to `proxyarp` or `other`. Noexpand *bool `json:"noexpand,omitempty"` // Password Password for CARP virtual IP. This parameter is required when `type` is set to `carp`. Password *string `json:"password,omitempty"` // Subnet IP or CIDR of the virtual IP. Subnet string `json:"subnet"` // Vhid VHID for the CARP virtual IP. Only available for `carp` mode. Leave unspecified to automatically detect the next available VHID. This parameter is only available when `type` is set to `carp`. Vhid *int `json:"vhid,omitempty"` }
APIFirewallVirtualIPCreateJSONBody defines parameters for APIFirewallVirtualIPCreate.
type APIFirewallVirtualIPCreateJSONBodyMode ¶
type APIFirewallVirtualIPCreateJSONBodyMode string
APIFirewallVirtualIPCreateJSONBodyMode defines parameters for APIFirewallVirtualIPCreate.
const ( APIFirewallVirtualIPCreateJSONBodyModeCarp APIFirewallVirtualIPCreateJSONBodyMode = "carp" APIFirewallVirtualIPCreateJSONBodyModeIpalias APIFirewallVirtualIPCreateJSONBodyMode = "ipalias" APIFirewallVirtualIPCreateJSONBodyModeOther APIFirewallVirtualIPCreateJSONBodyMode = "other" APIFirewallVirtualIPCreateJSONBodyModeProxyarp APIFirewallVirtualIPCreateJSONBodyMode = "proxyarp" )
Defines values for APIFirewallVirtualIPCreateJSONBodyMode.
type APIFirewallVirtualIPCreateJSONRequestBody ¶
type APIFirewallVirtualIPCreateJSONRequestBody APIFirewallVirtualIPCreateJSONBody
APIFirewallVirtualIPCreateJSONRequestBody defines body for APIFirewallVirtualIPCreate for application/json ContentType.
type APIFirewallVirtualIPCreateResponse ¶
type APIFirewallVirtualIPCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallVirtualIPCreateResponse ¶
func ParseAPIFirewallVirtualIPCreateResponse(rsp *http.Response) (*APIFirewallVirtualIPCreateResponse, error)
ParseAPIFirewallVirtualIPCreateResponse parses an HTTP response from a APIFirewallVirtualIPCreateWithResponse call
func (APIFirewallVirtualIPCreateResponse) Status ¶
func (r APIFirewallVirtualIPCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallVirtualIPCreateResponse) StatusCode ¶
func (r APIFirewallVirtualIPCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallVirtualIPDeleteParams ¶
type APIFirewallVirtualIPDeleteParams struct { // Id ID of the virtual IP to delete. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` }
APIFirewallVirtualIPDeleteParams defines parameters for APIFirewallVirtualIPDelete.
type APIFirewallVirtualIPDeleteResponse ¶
type APIFirewallVirtualIPDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallVirtualIPDeleteResponse ¶
func ParseAPIFirewallVirtualIPDeleteResponse(rsp *http.Response) (*APIFirewallVirtualIPDeleteResponse, error)
ParseAPIFirewallVirtualIPDeleteResponse parses an HTTP response from a APIFirewallVirtualIPDeleteWithResponse call
func (APIFirewallVirtualIPDeleteResponse) Status ¶
func (r APIFirewallVirtualIPDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallVirtualIPDeleteResponse) StatusCode ¶
func (r APIFirewallVirtualIPDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallVirtualIPReadResponse ¶
type APIFirewallVirtualIPReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallVirtualIPReadResponse ¶
func ParseAPIFirewallVirtualIPReadResponse(rsp *http.Response) (*APIFirewallVirtualIPReadResponse, error)
ParseAPIFirewallVirtualIPReadResponse parses an HTTP response from a APIFirewallVirtualIPReadWithResponse call
func (APIFirewallVirtualIPReadResponse) Status ¶
func (r APIFirewallVirtualIPReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallVirtualIPReadResponse) StatusCode ¶
func (r APIFirewallVirtualIPReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIFirewallVirtualIPUpdateJSONBody ¶
type APIFirewallVirtualIPUpdateJSONBody struct { // Advbase Advertisement base for the CARP virtual IP. This parameter is only available when `type` is set to `carp`. Advbase *int `json:"advbase,omitempty"` // Advskew Advertisement skew for the new CARP virtual IP. This parameter is only available when `type` is set to `carp`. Advskew *int `json:"advskew,omitempty"` // Descr Description of the virtual IP. Descr *string `json:"descr,omitempty"` // Id ID of the virtual IP to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Interface Interface that will be assigned the virtual IP. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface *string `json:"interface,omitempty"` // Mode Set the virtual IP mode. Mode *APIFirewallVirtualIPUpdateJSONBodyMode `json:"mode,omitempty"` // Noexpand Disable IP expansion for the virtual IP address. This parameter is only available when `type` is set to `proxyarp` or `other`. Noexpand *bool `json:"noexpand,omitempty"` // Password Password for CARP virtual IP. This parameter is required when `type` is set to `carp` and no password is set. Password *string `json:"password,omitempty"` // Subnet IP or CIDR of the virtual IP. Subnet *string `json:"subnet,omitempty"` // Vhid VHID for the CARP virtual IP. Only available for `carp` mode. Leave unspecified to automatically detect the next available VHID. This parameter is only available when `type` is set to `carp`. Vhid *int `json:"vhid,omitempty"` }
APIFirewallVirtualIPUpdateJSONBody defines parameters for APIFirewallVirtualIPUpdate.
type APIFirewallVirtualIPUpdateJSONBodyMode ¶
type APIFirewallVirtualIPUpdateJSONBodyMode string
APIFirewallVirtualIPUpdateJSONBodyMode defines parameters for APIFirewallVirtualIPUpdate.
const ( APIFirewallVirtualIPUpdateJSONBodyModeCarp APIFirewallVirtualIPUpdateJSONBodyMode = "carp" APIFirewallVirtualIPUpdateJSONBodyModeIpalias APIFirewallVirtualIPUpdateJSONBodyMode = "ipalias" APIFirewallVirtualIPUpdateJSONBodyModeOther APIFirewallVirtualIPUpdateJSONBodyMode = "other" APIFirewallVirtualIPUpdateJSONBodyModeProxyarp APIFirewallVirtualIPUpdateJSONBodyMode = "proxyarp" )
Defines values for APIFirewallVirtualIPUpdateJSONBodyMode.
type APIFirewallVirtualIPUpdateJSONRequestBody ¶
type APIFirewallVirtualIPUpdateJSONRequestBody APIFirewallVirtualIPUpdateJSONBody
APIFirewallVirtualIPUpdateJSONRequestBody defines body for APIFirewallVirtualIPUpdate for application/json ContentType.
type APIFirewallVirtualIPUpdateResponse ¶
type APIFirewallVirtualIPUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIFirewallVirtualIPUpdateResponse ¶
func ParseAPIFirewallVirtualIPUpdateResponse(rsp *http.Response) (*APIFirewallVirtualIPUpdateResponse, error)
ParseAPIFirewallVirtualIPUpdateResponse parses an HTTP response from a APIFirewallVirtualIPUpdateWithResponse call
func (APIFirewallVirtualIPUpdateResponse) Status ¶
func (r APIFirewallVirtualIPUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIFirewallVirtualIPUpdateResponse) StatusCode ¶
func (r APIFirewallVirtualIPUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceApplyCreateJSONBody ¶
type APIInterfaceApplyCreateJSONBody struct { // Async Apply pending interface changes in the background. This is sometimes necessary to prevent gateway timeouts when many interfaces are being applied. The status of the interface application can be polled with a GET request to the /api/v1/interface/apply endpoint. Async *bool `json:"async,omitempty"` }
APIInterfaceApplyCreateJSONBody defines parameters for APIInterfaceApplyCreate.
type APIInterfaceApplyCreateJSONRequestBody ¶
type APIInterfaceApplyCreateJSONRequestBody APIInterfaceApplyCreateJSONBody
APIInterfaceApplyCreateJSONRequestBody defines body for APIInterfaceApplyCreate for application/json ContentType.
type APIInterfaceApplyCreateResponse ¶
type APIInterfaceApplyCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceApplyCreateResponse ¶
func ParseAPIInterfaceApplyCreateResponse(rsp *http.Response) (*APIInterfaceApplyCreateResponse, error)
ParseAPIInterfaceApplyCreateResponse parses an HTTP response from a APIInterfaceApplyCreateWithResponse call
func (APIInterfaceApplyCreateResponse) Status ¶
func (r APIInterfaceApplyCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceApplyCreateResponse) StatusCode ¶
func (r APIInterfaceApplyCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceApplyReadResponse ¶
type APIInterfaceApplyReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceApplyReadResponse ¶
func ParseAPIInterfaceApplyReadResponse(rsp *http.Response) (*APIInterfaceApplyReadResponse, error)
ParseAPIInterfaceApplyReadResponse parses an HTTP response from a APIInterfaceApplyReadWithResponse call
func (APIInterfaceApplyReadResponse) Status ¶
func (r APIInterfaceApplyReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceApplyReadResponse) StatusCode ¶
func (r APIInterfaceApplyReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceAvailableReadResponse ¶
type APIInterfaceAvailableReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceAvailableReadResponse ¶
func ParseAPIInterfaceAvailableReadResponse(rsp *http.Response) (*APIInterfaceAvailableReadResponse, error)
ParseAPIInterfaceAvailableReadResponse parses an HTTP response from a APIInterfaceAvailableReadWithResponse call
func (APIInterfaceAvailableReadResponse) Status ¶
func (r APIInterfaceAvailableReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceAvailableReadResponse) StatusCode ¶
func (r APIInterfaceAvailableReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceBridgeCreateJSONBody ¶
type APIInterfaceBridgeCreateJSONBody struct { // Descr Description for the new bridge. Descr *string `json:"descr,omitempty"` // Members Interface members to add to this bridge. This can be the physical interface ID (e.g. em0), the pfSense interface ID (e.g. wan, lan, optx) or the interface description (e.g. WAN, LAN). Members []string `json:"members"` }
APIInterfaceBridgeCreateJSONBody defines parameters for APIInterfaceBridgeCreate.
type APIInterfaceBridgeCreateJSONRequestBody ¶
type APIInterfaceBridgeCreateJSONRequestBody APIInterfaceBridgeCreateJSONBody
APIInterfaceBridgeCreateJSONRequestBody defines body for APIInterfaceBridgeCreate for application/json ContentType.
type APIInterfaceBridgeCreateResponse ¶
type APIInterfaceBridgeCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceBridgeCreateResponse ¶
func ParseAPIInterfaceBridgeCreateResponse(rsp *http.Response) (*APIInterfaceBridgeCreateResponse, error)
ParseAPIInterfaceBridgeCreateResponse parses an HTTP response from a APIInterfaceBridgeCreateWithResponse call
func (APIInterfaceBridgeCreateResponse) Status ¶
func (r APIInterfaceBridgeCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceBridgeCreateResponse) StatusCode ¶
func (r APIInterfaceBridgeCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceBridgeDeleteParams ¶
type APIInterfaceBridgeDeleteParams struct { // Id Bridge ID of bridge to delete. Bridges cannot be deleted while in use. _Note: This uses the `bridgeif` value (e.g. bridge0, bridge2, etc.) NOT the configuration array index like other objects._ Id string `form:"id" json:"id"` }
APIInterfaceBridgeDeleteParams defines parameters for APIInterfaceBridgeDelete.
type APIInterfaceBridgeDeleteResponse ¶
type APIInterfaceBridgeDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceBridgeDeleteResponse ¶
func ParseAPIInterfaceBridgeDeleteResponse(rsp *http.Response) (*APIInterfaceBridgeDeleteResponse, error)
ParseAPIInterfaceBridgeDeleteResponse parses an HTTP response from a APIInterfaceBridgeDeleteWithResponse call
func (APIInterfaceBridgeDeleteResponse) Status ¶
func (r APIInterfaceBridgeDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceBridgeDeleteResponse) StatusCode ¶
func (r APIInterfaceBridgeDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceBridgeReadResponse ¶
type APIInterfaceBridgeReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceBridgeReadResponse ¶
func ParseAPIInterfaceBridgeReadResponse(rsp *http.Response) (*APIInterfaceBridgeReadResponse, error)
ParseAPIInterfaceBridgeReadResponse parses an HTTP response from a APIInterfaceBridgeReadWithResponse call
func (APIInterfaceBridgeReadResponse) Status ¶
func (r APIInterfaceBridgeReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceBridgeReadResponse) StatusCode ¶
func (r APIInterfaceBridgeReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceBridgeUpdateJSONBody ¶
type APIInterfaceBridgeUpdateJSONBody struct { // Descr New description for the bridge. Descr *string `json:"descr,omitempty"` // Id Bridge ID of bridge to update. _Note: This uses the `bridgeif` value (e.g. bridge0, bridge2, etc.) NOT the configuration array index like other objects._ Id string `json:"id"` // Members Interface members to assign to this bridge. This can be the physical interface ID (e.g. em0), the pfSense interface ID (e.g. wan, lan, optx) or the interface description (e.g. WAN, LAN). Any existing values will be overwritten. Members *[]string `json:"members,omitempty"` }
APIInterfaceBridgeUpdateJSONBody defines parameters for APIInterfaceBridgeUpdate.
type APIInterfaceBridgeUpdateJSONRequestBody ¶
type APIInterfaceBridgeUpdateJSONRequestBody APIInterfaceBridgeUpdateJSONBody
APIInterfaceBridgeUpdateJSONRequestBody defines body for APIInterfaceBridgeUpdate for application/json ContentType.
type APIInterfaceBridgeUpdateResponse ¶
type APIInterfaceBridgeUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceBridgeUpdateResponse ¶
func ParseAPIInterfaceBridgeUpdateResponse(rsp *http.Response) (*APIInterfaceBridgeUpdateResponse, error)
ParseAPIInterfaceBridgeUpdateResponse parses an HTTP response from a APIInterfaceBridgeUpdateWithResponse call
func (APIInterfaceBridgeUpdateResponse) Status ¶
func (r APIInterfaceBridgeUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceBridgeUpdateResponse) StatusCode ¶
func (r APIInterfaceBridgeUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceCreateJSONBody ¶
type APIInterfaceCreateJSONBody struct { // AdvDhcpConfigAdvanced Enable the IPv4 DHCP advanced configuration options. This enables the DHCP options: `adv_dhcp_send_options`, `adv_dhcp_request_options`, `adv_dhcp_required_options`, `adv_dhcp_option_modifiers`. This parameter is only available when `type` is set to `dhcp`. AdvDhcpConfigAdvanced *bool `json:"adv_dhcp_config_advanced,omitempty"` // AdvDhcpConfigFileOverride Enable local DHCP configuration file override. This parameter is only available when `type` is set to `dhcp`. AdvDhcpConfigFileOverride *bool `json:"adv_dhcp_config_file_override,omitempty"` // AdvDhcpConfigFileOverrideFile Set the custom DHCP configuration file's absolute path. This file must exist beforehand. This parameter is only available when `type` is set to `dhcp` and `adv_dhcp_config_file_override` is set to `true`. AdvDhcpConfigFileOverrideFile *string `json:"adv_dhcp_config_file_override_file,omitempty"` // AdvDhcpOptionModifiers Set a custom IPv4 option modifier. This parameter is only available when `type` is set to `dhcp` and `adv_dhcp_config_advanced` is set to `true`. AdvDhcpOptionModifiers *string `json:"adv_dhcp_option_modifiers,omitempty"` // AdvDhcpPtBackoffCutoff Set the IPv4 DHCP protocol backoff cutoff interval. Must be numeric value greater than 1. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtBackoffCutoff *int `json:"adv_dhcp_pt_backoff_cutoff,omitempty"` // AdvDhcpPtInitialInterval Set the IPv4 DHCP protocol initial interval. Must be numeric value greater than 1. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtInitialInterval *int `json:"adv_dhcp_pt_initial_interval,omitempty"` // AdvDhcpPtReboot Set the IPv4 DHCP protocol reboot interval. Must be numeric value greater than 1. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtReboot *int `json:"adv_dhcp_pt_reboot,omitempty"` // AdvDhcpPtRetry Set the IPv4 DHCP protocol retry interval. Must be numeric value greater than 1. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtRetry *int `json:"adv_dhcp_pt_retry,omitempty"` // AdvDhcpPtSelectTimeout Set the IPv4 DHCP protocol select timeout interval. Must be numeric value greater than 0. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtSelectTimeout *int `json:"adv_dhcp_pt_select_timeout,omitempty"` // AdvDhcpPtTimeout Set the IPv4 DHCP protocol timeout interval. Must be numeric value greater than 1. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtTimeout *int `json:"adv_dhcp_pt_timeout,omitempty"` // AdvDhcpRequestOptions Set a custom IPv4 request option. This parameter is only available when `type` is set to `dhcp` and `adv_dhcp_config_advanced` is set to `true`. AdvDhcpRequestOptions *string `json:"adv_dhcp_request_options,omitempty"` // AdvDhcpRequiredOptions Set a custom IPv4 required option. This parameter is only available when `type` is set to `dhcp` and `adv_dhcp_config_advanced` is set to `true`. AdvDhcpRequiredOptions *string `json:"adv_dhcp_required_options,omitempty"` // AdvDhcpSendOptions Set a custom IPv4 send option. This parameter is only available when `type` is set to `dhcp` and `adv_dhcp_config_advanced` is set to `true`. AdvDhcpSendOptions *string `json:"adv_dhcp_send_options,omitempty"` // AliasAddress Set the IPv4 DHCP address alias. The value in this field is used as a fixed alias IPv4 address by the DHCP client. This parameter is only available when `type` is set to `dhcp`. AliasAddress *string `json:"alias-address,omitempty"` // AliasSubnet Set the IPv4 DHCP address aliases subnet. This parameter is only available when `type` is set to `dhcp`. AliasSubnet *int `json:"alias-subnet,omitempty"` // Apply Specify whether or not you would like this interface to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are creating multiple interfaces at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/interface/apply` endpoint. Otherwise, If you are only creating a single interface, you may set this true to apply it immediately. Apply *bool `json:"apply,omitempty"` // Blockbogons Block bogon networks from routing over this interface. Blockbogons *bool `json:"blockbogons,omitempty"` // Blockpriv Block RFC1918 traffic from routing over this interface. Blockpriv *bool `json:"blockpriv,omitempty"` // Descr Descriptive name for the new interface. Descr string `json:"descr"` // Dhcpcvpt Set the DHCP VLAN priority. This parameter is only available when `type` is set to `dhcp` and `dhcpvlanenable` is set to `true`. Dhcpcvpt *APIInterfaceCreateJSONBodyDhcpcvpt `json:"dhcpcvpt,omitempty"` // Dhcphostname Assign IPv4 DHCP hostname. This parameter is only available when `type` is set to `dhcp`. Dhcphostname *string `json:"dhcphostname,omitempty"` // Dhcprejectfrom Assign IPv4 DHCP rejected servers by IP. This parameter is only available when `type` is set to `dhcp`. Dhcprejectfrom *[]string `json:"dhcprejectfrom,omitempty"` // Dhcpvlanenable Enable DHCP VLAN prioritization. This parameter is only available when `type` is set to `dhcp`. Dhcpvlanenable *bool `json:"dhcpvlanenable,omitempty"` // Enable Enable interface upon creation. Enable *bool `json:"enable,omitempty"` // Gateway Name of upstream IPv4 gateway for this interface. This is only necessary on WAN/UPLINK interfaces. This parameter is only available when `type` is set to `staticv4`. Gateway *string `json:"gateway,omitempty"` // Gateway6rd Set the 6RD interface IPv4 gateway address. This parameter is only required when `type6` is set to `6rd` Gateway6rd *string `json:"gateway-6rd,omitempty"` // Gatewayv6 Name of upstream IPv6 gateway for this interface. This is only necessary for WAN/UPLINK interfaces. This parameter is only available when `type6` is set to `staticv6`. Gatewayv6 *string `json:"gatewayv6,omitempty"` // If Real interface ID to configure. If string `json:"if"` // Ipaddr Interface's static IPv4 address. Required if `type` is set to `staticv4`. Ipaddr *string `json:"ipaddr,omitempty"` // Ipaddrv6 Interface's static IPv6 address. Required if `type6` is set to `staticv6`. Ipaddrv6 *string `json:"ipaddrv6,omitempty"` // Ipv6usev4iface Allow IPv6 to use IPv4 uplink connection. Ipv6usev4iface *bool `json:"ipv6usev4iface,omitempty"` // Media Speed/duplex setting for this interface. Options are dependent on physical interface capabilities. Media *string `json:"media,omitempty"` // Mss MSS for this interface. Mss *string `json:"mss,omitempty"` // Mtu MTU for this interface. If a VLAN interface, this value must be greater than parent. Mtu *int `json:"mtu,omitempty"` // Prefix6rd Set the 6RD IPv6 prefix assigned by the ISP. This parameter is only required when `type6` is set to `6rd` Prefix6rd *string `json:"prefix-6rd,omitempty"` // Prefix6rdV4plen Set the 6RD IPv4 prefix length. This is typically assigned by the ISP. This parameter is only available when `type6` is set to `6rd`. Prefix6rdV4plen *int `json:"prefix-6rd-v4plen,omitempty"` // Spoofmac Custom MAC address to assign to the interface. Spoofmac *string `json:"spoofmac,omitempty"` // Subnet Interface's static IPv4 address's subnet bitmask. Required if `type` is set to `staticv4`. Subnet *int `json:"subnet,omitempty"` // Subnetv6 Interface's static IPv6 address's subnet bitmask. Required if `type6` is set to `staticv6`. Subnetv6 *string `json:"subnetv6,omitempty"` // Track6Interface Set the Track6 dynamic IPv6 interface. This must be a dynamically configured IPv6 interface. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the physical interface id (e.g. igb0). This parameter is only required with `type6` is set to `track6` Track6Interface *string `json:"track6-interface,omitempty"` // Track6PrefixIdHex Set the IPv6 prefix ID. The value in this field is the (Delegated) IPv6 prefix ID. This determines the configurable network ID based on the dynamic IPv6 connection. The default value is 0. This parameter is only available when `type6` is set to `track6` Track6PrefixIdHex *int `json:"track6-prefix-id-hex,omitempty"` // Type IPv4 configuration type. Type *APIInterfaceCreateJSONBodyType `json:"type,omitempty"` // Type6 IPv6 configuration type. Type6 *APIInterfaceCreateJSONBodyType6 `json:"type6,omitempty"` }
APIInterfaceCreateJSONBody defines parameters for APIInterfaceCreate.
type APIInterfaceCreateJSONBodyDhcpcvpt ¶
type APIInterfaceCreateJSONBodyDhcpcvpt int
APIInterfaceCreateJSONBodyDhcpcvpt defines parameters for APIInterfaceCreate.
const ( APIInterfaceCreateJSONBodyDhcpcvptN0 APIInterfaceCreateJSONBodyDhcpcvpt = 0 APIInterfaceCreateJSONBodyDhcpcvptN1 APIInterfaceCreateJSONBodyDhcpcvpt = 1 APIInterfaceCreateJSONBodyDhcpcvptN2 APIInterfaceCreateJSONBodyDhcpcvpt = 2 APIInterfaceCreateJSONBodyDhcpcvptN3 APIInterfaceCreateJSONBodyDhcpcvpt = 3 APIInterfaceCreateJSONBodyDhcpcvptN4 APIInterfaceCreateJSONBodyDhcpcvpt = 4 APIInterfaceCreateJSONBodyDhcpcvptN5 APIInterfaceCreateJSONBodyDhcpcvpt = 5 APIInterfaceCreateJSONBodyDhcpcvptN6 APIInterfaceCreateJSONBodyDhcpcvpt = 6 APIInterfaceCreateJSONBodyDhcpcvptN7 APIInterfaceCreateJSONBodyDhcpcvpt = 7 )
Defines values for APIInterfaceCreateJSONBodyDhcpcvpt.
type APIInterfaceCreateJSONBodyType ¶
type APIInterfaceCreateJSONBodyType string
APIInterfaceCreateJSONBodyType defines parameters for APIInterfaceCreate.
const ( APIInterfaceCreateJSONBodyTypeDhcp APIInterfaceCreateJSONBodyType = "dhcp" APIInterfaceCreateJSONBodyTypeStaticv4 APIInterfaceCreateJSONBodyType = "staticv4" )
Defines values for APIInterfaceCreateJSONBodyType.
type APIInterfaceCreateJSONBodyType6 ¶
type APIInterfaceCreateJSONBodyType6 string
APIInterfaceCreateJSONBodyType6 defines parameters for APIInterfaceCreate.
const ( APIInterfaceCreateJSONBodyType6Dhcp6 APIInterfaceCreateJSONBodyType6 = "dhcp6" APIInterfaceCreateJSONBodyType6N6rd APIInterfaceCreateJSONBodyType6 = "6rd" APIInterfaceCreateJSONBodyType6N6to4 APIInterfaceCreateJSONBodyType6 = "6to4" APIInterfaceCreateJSONBodyType6Slaac APIInterfaceCreateJSONBodyType6 = "slaac" APIInterfaceCreateJSONBodyType6Staticv6 APIInterfaceCreateJSONBodyType6 = "staticv6" APIInterfaceCreateJSONBodyType6Track6 APIInterfaceCreateJSONBodyType6 = "track6" )
Defines values for APIInterfaceCreateJSONBodyType6.
type APIInterfaceCreateJSONRequestBody ¶
type APIInterfaceCreateJSONRequestBody APIInterfaceCreateJSONBody
APIInterfaceCreateJSONRequestBody defines body for APIInterfaceCreate for application/json ContentType.
type APIInterfaceCreateResponse ¶
type APIInterfaceCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceCreateResponse ¶
func ParseAPIInterfaceCreateResponse(rsp *http.Response) (*APIInterfaceCreateResponse, error)
ParseAPIInterfaceCreateResponse parses an HTTP response from a APIInterfaceCreateWithResponse call
func (APIInterfaceCreateResponse) Status ¶
func (r APIInterfaceCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceCreateResponse) StatusCode ¶
func (r APIInterfaceCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceDeleteParams ¶
type APIInterfaceDeleteParams struct { // If Interface ID of interface to delete. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the physical interface id (e.g. igb0). If string `form:"if" json:"if"` }
APIInterfaceDeleteParams defines parameters for APIInterfaceDelete.
type APIInterfaceDeleteResponse ¶
type APIInterfaceDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceDeleteResponse ¶
func ParseAPIInterfaceDeleteResponse(rsp *http.Response) (*APIInterfaceDeleteResponse, error)
ParseAPIInterfaceDeleteResponse parses an HTTP response from a APIInterfaceDeleteWithResponse call
func (APIInterfaceDeleteResponse) Status ¶
func (r APIInterfaceDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceDeleteResponse) StatusCode ¶
func (r APIInterfaceDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceGroupCreateJSONBody ¶
type APIInterfaceGroupCreateJSONBody struct { // Descr Description for the new interface gropup. Descr *string `json:"descr,omitempty"` // Ifname Name of the new interface group. Ifname string `json:"ifname"` // Members Interface members to add to this group. This can be the physical interface ID (e.g. em0), the pfSense interface ID (e.g. wan, lan, optx) or the interface description (e.g. WAN, LAN). Members *[]string `json:"members,omitempty"` }
APIInterfaceGroupCreateJSONBody defines parameters for APIInterfaceGroupCreate.
type APIInterfaceGroupCreateJSONRequestBody ¶
type APIInterfaceGroupCreateJSONRequestBody APIInterfaceGroupCreateJSONBody
APIInterfaceGroupCreateJSONRequestBody defines body for APIInterfaceGroupCreate for application/json ContentType.
type APIInterfaceGroupCreateResponse ¶
type APIInterfaceGroupCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceGroupCreateResponse ¶
func ParseAPIInterfaceGroupCreateResponse(rsp *http.Response) (*APIInterfaceGroupCreateResponse, error)
ParseAPIInterfaceGroupCreateResponse parses an HTTP response from a APIInterfaceGroupCreateWithResponse call
func (APIInterfaceGroupCreateResponse) Status ¶
func (r APIInterfaceGroupCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceGroupCreateResponse) StatusCode ¶
func (r APIInterfaceGroupCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceGroupDeleteParams ¶
type APIInterfaceGroupDeleteParams struct { // Id Group ID of group to delete. Id string `form:"id" json:"id"` }
APIInterfaceGroupDeleteParams defines parameters for APIInterfaceGroupDelete.
type APIInterfaceGroupDeleteResponse ¶
type APIInterfaceGroupDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceGroupDeleteResponse ¶
func ParseAPIInterfaceGroupDeleteResponse(rsp *http.Response) (*APIInterfaceGroupDeleteResponse, error)
ParseAPIInterfaceGroupDeleteResponse parses an HTTP response from a APIInterfaceGroupDeleteWithResponse call
func (APIInterfaceGroupDeleteResponse) Status ¶
func (r APIInterfaceGroupDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceGroupDeleteResponse) StatusCode ¶
func (r APIInterfaceGroupDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceGroupReadResponse ¶
type APIInterfaceGroupReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceGroupReadResponse ¶
func ParseAPIInterfaceGroupReadResponse(rsp *http.Response) (*APIInterfaceGroupReadResponse, error)
ParseAPIInterfaceGroupReadResponse parses an HTTP response from a APIInterfaceGroupReadWithResponse call
func (APIInterfaceGroupReadResponse) Status ¶
func (r APIInterfaceGroupReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceGroupReadResponse) StatusCode ¶
func (r APIInterfaceGroupReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceGroupUpdateJSONBody ¶
type APIInterfaceGroupUpdateJSONBody struct { // Descr New description for the interface group. Descr *string `json:"descr,omitempty"` // Id Group ID of interface group to update. Id string `json:"id"` // Members Interface members to assign to this group. This can be the physical interface ID (e.g. em0), the pfSense interface ID (e.g. wan, lan, optx) or the interface description (e.g. WAN, LAN). Any existing values will be overwritten. Members *[]string `json:"members,omitempty"` }
APIInterfaceGroupUpdateJSONBody defines parameters for APIInterfaceGroupUpdate.
type APIInterfaceGroupUpdateJSONRequestBody ¶
type APIInterfaceGroupUpdateJSONRequestBody APIInterfaceGroupUpdateJSONBody
APIInterfaceGroupUpdateJSONRequestBody defines body for APIInterfaceGroupUpdate for application/json ContentType.
type APIInterfaceGroupUpdateResponse ¶
type APIInterfaceGroupUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceGroupUpdateResponse ¶
func ParseAPIInterfaceGroupUpdateResponse(rsp *http.Response) (*APIInterfaceGroupUpdateResponse, error)
ParseAPIInterfaceGroupUpdateResponse parses an HTTP response from a APIInterfaceGroupUpdateWithResponse call
func (APIInterfaceGroupUpdateResponse) Status ¶
func (r APIInterfaceGroupUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceGroupUpdateResponse) StatusCode ¶
func (r APIInterfaceGroupUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceReadResponse ¶
type APIInterfaceReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceReadResponse ¶
func ParseAPIInterfaceReadResponse(rsp *http.Response) (*APIInterfaceReadResponse, error)
ParseAPIInterfaceReadResponse parses an HTTP response from a APIInterfaceReadWithResponse call
func (APIInterfaceReadResponse) Status ¶
func (r APIInterfaceReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceReadResponse) StatusCode ¶
func (r APIInterfaceReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceUpdateJSONBody ¶
type APIInterfaceUpdateJSONBody struct { // AdvDhcpConfigAdvanced Enable the IPv4 DHCP advanced configuration options. This enables the DHCP options: `adv_dhcp_send_options`, `adv_dhcp_request_options`, `adv_dhcp_required_options`, `adv_dhcp_option_modifiers`. This parameter is only available when `type` is set to `dhcp`. AdvDhcpConfigAdvanced *bool `json:"adv_dhcp_config_advanced,omitempty"` // AdvDhcpConfigFileOverride Enable local DHCP configuration file override. This parameter is only available when `type` is set to `dhcp`. AdvDhcpConfigFileOverride *bool `json:"adv_dhcp_config_file_override,omitempty"` // AdvDhcpConfigFileOverrideFile Set the custom DHCP configuration file's absolute path. This file must exist beforehand. This parameter is only available when `type` is set to `dhcp` and `adv_dhcp_config_file_override` is set to `true`. AdvDhcpConfigFileOverrideFile *string `json:"adv_dhcp_config_file_override_file,omitempty"` // AdvDhcpOptionModifiers Set a custom IPv4 option modifier. This parameter is only available when `type` is set to `dhcp` and `adv_dhcp_config_advanced` is set to `true`. AdvDhcpOptionModifiers *string `json:"adv_dhcp_option_modifiers,omitempty"` // AdvDhcpPtBackoffCutoff Set the IPv4 DHCP protocol backoff cutoff interval. Must be numeric value greater than 1. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtBackoffCutoff *int `json:"adv_dhcp_pt_backoff_cutoff,omitempty"` // AdvDhcpPtInitialInterval Set the IPv4 DHCP protocol initial interval. Must be numeric value greater than 1. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtInitialInterval *int `json:"adv_dhcp_pt_initial_interval,omitempty"` // AdvDhcpPtReboot Set the IPv4 DHCP protocol reboot interval. Must be numeric value greater than 1. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtReboot *int `json:"adv_dhcp_pt_reboot,omitempty"` // AdvDhcpPtRetry Set the IPv4 DHCP protocol retry interval. Must be numeric value greater than 1. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtRetry *int `json:"adv_dhcp_pt_retry,omitempty"` // AdvDhcpPtSelectTimeout Set the IPv4 DHCP protocol select timeout interval. Must be numeric value greater than 0. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtSelectTimeout *int `json:"adv_dhcp_pt_select_timeout,omitempty"` // AdvDhcpPtTimeout Set the IPv4 DHCP protocol timeout interval. Must be numeric value greater than 1. This parameter is only available when `type` is set to `dhcp`. AdvDhcpPtTimeout *int `json:"adv_dhcp_pt_timeout,omitempty"` // AdvDhcpRequestOptions Set a custom IPv4 request option. This parameter is only available when `type` is set to `dhcp` and `adv_dhcp_config_advanced` is set to `true`. AdvDhcpRequestOptions *string `json:"adv_dhcp_request_options,omitempty"` // AdvDhcpRequiredOptions Set a custom IPv4 required option. This parameter is only available when `type` is set to `dhcp` and `adv_dhcp_config_advanced` is set to `true`. AdvDhcpRequiredOptions *string `json:"adv_dhcp_required_options,omitempty"` // AdvDhcpSendOptions Set a custom IPv4 send option. This parameter is only available when `type` is set to `dhcp` and `adv_dhcp_config_advanced` is set to `true`. AdvDhcpSendOptions *string `json:"adv_dhcp_send_options,omitempty"` // AliasAddress Set the IPv4 DHCP address alias. The value in this field is used as a fixed alias IPv4 address by the DHCP client. This parameter is only available when `type` is set to `dhcp`. AliasAddress *string `json:"alias-address,omitempty"` // AliasSubnet Set the IPv4 DHCP address aliases subnet. This parameter is only available when `type` is set to `dhcp`. AliasSubnet *int `json:"alias-subnet,omitempty"` // Apply Specify whether or not you would like this interface to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are creating multiple interfaces at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/interface/apply` endpoint. Otherwise, If you are only creating a single interface, you may set this true to apply it immediately. Apply *bool `json:"apply,omitempty"` // Blockbogons Block bogon networks from routing over this interface. Blockbogons *bool `json:"blockbogons,omitempty"` // Blockpriv Block RFC1918 traffic from routing over this interface. Blockpriv *bool `json:"blockpriv,omitempty"` // Descr Descriptive name for the interface. Descr *string `json:"descr,omitempty"` // Dhcpcvpt Set the DHCP VLAN priority. This parameter is only available when `type` is set to `dhcp` and `dhcpvlanenable` is set to `true`. Dhcpcvpt *APIInterfaceUpdateJSONBodyDhcpcvpt `json:"dhcpcvpt,omitempty"` // Dhcphostname Assign IPv4 DHCP hostname. This parameter is only available when `type` is set to `dhcp`. Dhcphostname *string `json:"dhcphostname,omitempty"` // Dhcprejectfrom Assign IPv4 DHCP rejected servers by IP. This parameter is only available when `type` is set to `dhcp`. Dhcprejectfrom *[]string `json:"dhcprejectfrom,omitempty"` // Dhcpvlanenable Enable DHCP VLAN prioritization. This parameter is only available when `type` is set to `dhcp`. Dhcpvlanenable *bool `json:"dhcpvlanenable,omitempty"` // Enable Enable or disable interface upon update. Enable *bool `json:"enable,omitempty"` // Gateway Name of upstream IPv4 gateway for this interface. This is only necessary on WAN/UPLINK interfaces. This parameter is only available when `type` is set to `staticv4`. Gateway *string `json:"gateway,omitempty"` // Gateway6rd Set the 6RD interface IPv4 gateway address. This parameter is only required when `type6` is set to `6rd` Gateway6rd *string `json:"gateway-6rd,omitempty"` // Gatewayv6 Name of upstream IPv6 gateway for this interface. This is only necessary for WAN/UPLINK interfaces. This parameter is only available when `type6` is set to `staticv6`. Gatewayv6 *string `json:"gatewayv6,omitempty"` // Id Interface ID to update. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the physical interface id (e.g. igb0). Id string `json:"id"` // If Real interface ID to assign this configuration to. If *string `json:"if,omitempty"` // Ipaddr Interface's static IPv4 address. Required if `type` is set to `staticv4`. Ipaddr *string `json:"ipaddr,omitempty"` // Ipaddrv6 Interface's static IPv6 address. Required if `type6` is set to `staticv6`. Ipaddrv6 *string `json:"ipaddrv6,omitempty"` // Ipv6usev4iface Allow IPv6 to use IPv4 uplink connection. Ipv6usev4iface *bool `json:"ipv6usev4iface,omitempty"` // Media Speed/duplex setting for this interface. Options are dependent on physical interface capabilities. Media *string `json:"media,omitempty"` // Mss MSS for this interface. Mss *string `json:"mss,omitempty"` // Mtu MTU for this interface. If a VLAN interface, this value must be greater than parent. Mtu *int `json:"mtu,omitempty"` // Prefix6rd Set the 6RD IPv6 prefix assigned by the ISP. This parameter is only required when `type6` is set to `6rd` Prefix6rd *string `json:"prefix-6rd,omitempty"` // Prefix6rdV4plen Set the 6RD IPv4 prefix length. This is typically assigned by the ISP. This parameter is only available when `type6` is set to `6rd`. Prefix6rdV4plen *int `json:"prefix-6rd-v4plen,omitempty"` // Spoofmac Custom MAC address to assign to the interface. Spoofmac *string `json:"spoofmac,omitempty"` // Subnet Interface's static IPv4 address's subnet bitmask. Required if `type` is set to `staticv4`. Subnet *int `json:"subnet,omitempty"` // Subnetv6 Interface's static IPv6 address's subnet bitmask. Required if `type6` is set to `staticv6`. Subnetv6 *string `json:"subnetv6,omitempty"` // Track6Interface Set the Track6 dynamic IPv6 interface. This must be a dynamically configured IPv6 interface. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the physical interface id (e.g. igb0). This parameter is only required with `type6` is set to `track6` Track6Interface *string `json:"track6-interface,omitempty"` // Track6PrefixIdHex Set the IPv6 prefix ID. The value in this field is the (Delegated) IPv6 prefix ID. This determines the configurable network ID based on the dynamic IPv6 connection. The default value is 0. This parameter is only available when `type6` is set to `track6` Track6PrefixIdHex *int `json:"track6-prefix-id-hex,omitempty"` // Type IPv4 configuration type. This parameter may be required in order to update specific parameters. For example, this parameter must be set to `staticv4` in order to update the `gateway` parameter. Type *APIInterfaceUpdateJSONBodyType `json:"type,omitempty"` // Type6 IPv6 configuration type. This parameter may be required in order to update specific parameters. For example, this parameter must be set to `staticv6` in order to update the `gatewayv6` parameter. Type6 *APIInterfaceUpdateJSONBodyType6 `json:"type6,omitempty"` }
APIInterfaceUpdateJSONBody defines parameters for APIInterfaceUpdate.
type APIInterfaceUpdateJSONBodyDhcpcvpt ¶
type APIInterfaceUpdateJSONBodyDhcpcvpt int
APIInterfaceUpdateJSONBodyDhcpcvpt defines parameters for APIInterfaceUpdate.
const ( APIInterfaceUpdateJSONBodyDhcpcvptN0 APIInterfaceUpdateJSONBodyDhcpcvpt = 0 APIInterfaceUpdateJSONBodyDhcpcvptN1 APIInterfaceUpdateJSONBodyDhcpcvpt = 1 APIInterfaceUpdateJSONBodyDhcpcvptN2 APIInterfaceUpdateJSONBodyDhcpcvpt = 2 APIInterfaceUpdateJSONBodyDhcpcvptN3 APIInterfaceUpdateJSONBodyDhcpcvpt = 3 APIInterfaceUpdateJSONBodyDhcpcvptN4 APIInterfaceUpdateJSONBodyDhcpcvpt = 4 APIInterfaceUpdateJSONBodyDhcpcvptN5 APIInterfaceUpdateJSONBodyDhcpcvpt = 5 APIInterfaceUpdateJSONBodyDhcpcvptN6 APIInterfaceUpdateJSONBodyDhcpcvpt = 6 APIInterfaceUpdateJSONBodyDhcpcvptN7 APIInterfaceUpdateJSONBodyDhcpcvpt = 7 )
Defines values for APIInterfaceUpdateJSONBodyDhcpcvpt.
type APIInterfaceUpdateJSONBodyType ¶
type APIInterfaceUpdateJSONBodyType string
APIInterfaceUpdateJSONBodyType defines parameters for APIInterfaceUpdate.
const ( APIInterfaceUpdateJSONBodyTypeDhcp APIInterfaceUpdateJSONBodyType = "dhcp" APIInterfaceUpdateJSONBodyTypeStaticv4 APIInterfaceUpdateJSONBodyType = "staticv4" )
Defines values for APIInterfaceUpdateJSONBodyType.
type APIInterfaceUpdateJSONBodyType6 ¶
type APIInterfaceUpdateJSONBodyType6 string
APIInterfaceUpdateJSONBodyType6 defines parameters for APIInterfaceUpdate.
const ( APIInterfaceUpdateJSONBodyType6Dhcp6 APIInterfaceUpdateJSONBodyType6 = "dhcp6" APIInterfaceUpdateJSONBodyType6N6rd APIInterfaceUpdateJSONBodyType6 = "6rd" APIInterfaceUpdateJSONBodyType6N6to4 APIInterfaceUpdateJSONBodyType6 = "6to4" APIInterfaceUpdateJSONBodyType6Slaac APIInterfaceUpdateJSONBodyType6 = "slaac" APIInterfaceUpdateJSONBodyType6Staticv6 APIInterfaceUpdateJSONBodyType6 = "staticv6" APIInterfaceUpdateJSONBodyType6Track6 APIInterfaceUpdateJSONBodyType6 = "track6" )
Defines values for APIInterfaceUpdateJSONBodyType6.
type APIInterfaceUpdateJSONRequestBody ¶
type APIInterfaceUpdateJSONRequestBody APIInterfaceUpdateJSONBody
APIInterfaceUpdateJSONRequestBody defines body for APIInterfaceUpdate for application/json ContentType.
type APIInterfaceUpdateResponse ¶
type APIInterfaceUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceUpdateResponse ¶
func ParseAPIInterfaceUpdateResponse(rsp *http.Response) (*APIInterfaceUpdateResponse, error)
ParseAPIInterfaceUpdateResponse parses an HTTP response from a APIInterfaceUpdateWithResponse call
func (APIInterfaceUpdateResponse) Status ¶
func (r APIInterfaceUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceUpdateResponse) StatusCode ¶
func (r APIInterfaceUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceVLANCreateJSONBody ¶
type APIInterfaceVLANCreateJSONBody struct { // Descr Description of the new VLAN interface. Descr *string `json:"descr,omitempty"` // If Parent interface to add the new VLAN to. If string `json:"if"` // Pcp 802.1q VLAN priority. Pcp *int `json:"pcp,omitempty"` // Tag VLAN tag to add to the parent interface. Tag int `json:"tag"` }
APIInterfaceVLANCreateJSONBody defines parameters for APIInterfaceVLANCreate.
type APIInterfaceVLANCreateJSONRequestBody ¶
type APIInterfaceVLANCreateJSONRequestBody APIInterfaceVLANCreateJSONBody
APIInterfaceVLANCreateJSONRequestBody defines body for APIInterfaceVLANCreate for application/json ContentType.
type APIInterfaceVLANCreateResponse ¶
type APIInterfaceVLANCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceVLANCreateResponse ¶
func ParseAPIInterfaceVLANCreateResponse(rsp *http.Response) (*APIInterfaceVLANCreateResponse, error)
ParseAPIInterfaceVLANCreateResponse parses an HTTP response from a APIInterfaceVLANCreateWithResponse call
func (APIInterfaceVLANCreateResponse) Status ¶
func (r APIInterfaceVLANCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceVLANCreateResponse) StatusCode ¶
func (r APIInterfaceVLANCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceVLANDeleteParams ¶
type APIInterfaceVLANDeleteParams struct { // Id ID associated with the VLAN to Delete. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` }
APIInterfaceVLANDeleteParams defines parameters for APIInterfaceVLANDelete.
type APIInterfaceVLANDeleteResponse ¶
type APIInterfaceVLANDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceVLANDeleteResponse ¶
func ParseAPIInterfaceVLANDeleteResponse(rsp *http.Response) (*APIInterfaceVLANDeleteResponse, error)
ParseAPIInterfaceVLANDeleteResponse parses an HTTP response from a APIInterfaceVLANDeleteWithResponse call
func (APIInterfaceVLANDeleteResponse) Status ¶
func (r APIInterfaceVLANDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceVLANDeleteResponse) StatusCode ¶
func (r APIInterfaceVLANDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceVLANReadResponse ¶
type APIInterfaceVLANReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceVLANReadResponse ¶
func ParseAPIInterfaceVLANReadResponse(rsp *http.Response) (*APIInterfaceVLANReadResponse, error)
ParseAPIInterfaceVLANReadResponse parses an HTTP response from a APIInterfaceVLANReadWithResponse call
func (APIInterfaceVLANReadResponse) Status ¶
func (r APIInterfaceVLANReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceVLANReadResponse) StatusCode ¶
func (r APIInterfaceVLANReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIInterfaceVLANUpdateJSONBody ¶
type APIInterfaceVLANUpdateJSONBody struct { // Descr Description of the new VLAN interface. Descr *string `json:"descr,omitempty"` // Id ID associated with the VLAN to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // If Parent interface to change the VLAN to. If *string `json:"if,omitempty"` // Pcp 802.1q VLAN priority. Pcp *int `json:"pcp,omitempty"` // Tag VLAN tag to change on the parent interface. Tag *int `json:"tag,omitempty"` }
APIInterfaceVLANUpdateJSONBody defines parameters for APIInterfaceVLANUpdate.
type APIInterfaceVLANUpdateJSONRequestBody ¶
type APIInterfaceVLANUpdateJSONRequestBody APIInterfaceVLANUpdateJSONBody
APIInterfaceVLANUpdateJSONRequestBody defines body for APIInterfaceVLANUpdate for application/json ContentType.
type APIInterfaceVLANUpdateResponse ¶
type APIInterfaceVLANUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIInterfaceVLANUpdateResponse ¶
func ParseAPIInterfaceVLANUpdateResponse(rsp *http.Response) (*APIInterfaceVLANUpdateResponse, error)
ParseAPIInterfaceVLANUpdateResponse parses an HTTP response from a APIInterfaceVLANUpdateWithResponse call
func (APIInterfaceVLANUpdateResponse) Status ¶
func (r APIInterfaceVLANUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIInterfaceVLANUpdateResponse) StatusCode ¶
func (r APIInterfaceVLANUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingApplyCreateResponse ¶
type APIRoutingApplyCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingApplyCreateResponse ¶
func ParseAPIRoutingApplyCreateResponse(rsp *http.Response) (*APIRoutingApplyCreateResponse, error)
ParseAPIRoutingApplyCreateResponse parses an HTTP response from a APIRoutingApplyCreateWithResponse call
func (APIRoutingApplyCreateResponse) Status ¶
func (r APIRoutingApplyCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingApplyCreateResponse) StatusCode ¶
func (r APIRoutingApplyCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingGatewayCreateJSONBody ¶
type APIRoutingGatewayCreateJSONBody struct { // ActionDisable Disable any action taken on gateway events for this gateway. This will consider the gateway as always up. ActionDisable *bool `json:"action_disable,omitempty"` // AlertInterval Time interval (in milliseconds) which alert conditions will be checked. This value must be greater than or equal to the `interval` value. AlertInterval *int `json:"alert_interval,omitempty"` // Apply Specify whether or not you would like this gateway to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are creating multiple gateways at once it is best to set this to false and apply the changes afterwards using the `/api/v1/routing/apply` endpoint. Apply *bool `json:"apply,omitempty"` // DataPayload Data payload to send in ICMP packets sent to the gateway monitor IP. DataPayload *int `json:"data_payload,omitempty"` // Descr Description for this gateway. Descr *string `json:"descr,omitempty"` // Disabled Disable this gateway. Disabled *bool `json:"disabled,omitempty"` // ForceDown Force this gateway to always be considered down. ForceDown *bool `json:"force_down,omitempty"` // Gateway IP address of the gateway. This value must be a valid IPv4 address if `ipprotocol` is set to `inet`, or a valid IPv6 address if `ipprotocol` is set to `inet6`. Gateway string `json:"gateway"` // Interface Interface the gateway will apply to. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` // Interval How often (in milliseconds) gateway monitor ICMP probes will be sent. Interval *int `json:"interval,omitempty"` // Ipprotocol IP protocol this gateway will apply to. Ipprotocol APIRoutingGatewayCreateJSONBodyIpprotocol `json:"ipprotocol"` // Latencyhigh High threshold (in milliseconds) for latency. Any packet that exceeds this threshold will trigger a major latency gateway event. This value must be greater than the `latencylow` value. Latencyhigh *int `json:"latencyhigh,omitempty"` // Latencylow Low threshold (in milliseconds) for latency. Any packet that exceeds this threshold will trigger a minor latency gateway event. Latencylow *int `json:"latencylow,omitempty"` // LossInterval How long (in milliseconds) the gateway monitor will wait for response packets before considering the packet lost. This value must be greater than or equal to the `latencyhigh` value. LossInterval *int `json:"loss_interval,omitempty"` // Losshigh High threshold (in %) for packet loss. If total packet loss exceeds this percentage, a major packet loss gateway event will be triggered. This value must be greater than the `losslow` value. Losshigh *int `json:"losshigh,omitempty"` // Losslow Low threshold (in %) for packet loss. If total packet loss exceeds this percentage, a minor packet loss gateway event will be triggered. Losslow *int `json:"losslow,omitempty"` // Monitor IP address used to monitor this gateway. This is only necessary if the `gateway` IP does not accept ICMP probes. Defaults to the `gateway` value. Monitor *string `json:"monitor,omitempty"` // MonitorDisable Disable gateway monitoring for this gateway. MonitorDisable *bool `json:"monitor_disable,omitempty"` // Name Descriptive name for this gateway. This name must be unique, and can only contain alphanumeric characters and underscores. Name string `json:"name"` // TimePeriod Time period (in milliseconds) for gateway monitor metrics to be averaged. This value must be greater than twice the `interval` value plus the `loss_interval` value. TimePeriod *int `json:"time_period,omitempty"` // Weight Gateway's weight when utilizing gateway load balancing within a gateway group. Weight *int `json:"weight,omitempty"` }
APIRoutingGatewayCreateJSONBody defines parameters for APIRoutingGatewayCreate.
type APIRoutingGatewayCreateJSONBodyIpprotocol ¶
type APIRoutingGatewayCreateJSONBodyIpprotocol string
APIRoutingGatewayCreateJSONBodyIpprotocol defines parameters for APIRoutingGatewayCreate.
const ( APIRoutingGatewayCreateJSONBodyIpprotocolInet APIRoutingGatewayCreateJSONBodyIpprotocol = "inet" APIRoutingGatewayCreateJSONBodyIpprotocolInet6 APIRoutingGatewayCreateJSONBodyIpprotocol = "inet6" )
Defines values for APIRoutingGatewayCreateJSONBodyIpprotocol.
type APIRoutingGatewayCreateJSONRequestBody ¶
type APIRoutingGatewayCreateJSONRequestBody APIRoutingGatewayCreateJSONBody
APIRoutingGatewayCreateJSONRequestBody defines body for APIRoutingGatewayCreate for application/json ContentType.
type APIRoutingGatewayCreateResponse ¶
type APIRoutingGatewayCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingGatewayCreateResponse ¶
func ParseAPIRoutingGatewayCreateResponse(rsp *http.Response) (*APIRoutingGatewayCreateResponse, error)
ParseAPIRoutingGatewayCreateResponse parses an HTTP response from a APIRoutingGatewayCreateWithResponse call
func (APIRoutingGatewayCreateResponse) Status ¶
func (r APIRoutingGatewayCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingGatewayCreateResponse) StatusCode ¶
func (r APIRoutingGatewayCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingGatewayDefaultUpdateJSONBody ¶
type APIRoutingGatewayDefaultUpdateJSONBody struct { // Apply Specify whether or not you would like this change to be applied immediately, or simply written to the configuration to be applied later. If set to `false` you must apply the changes afterwards using the `/api/v1/routing/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Defaultgw4 Set the IPv4 default gateway. This must be an existing IPv4 gateway name, `automatic` for automatic gateway selection, or `none` for no default gateway selection for IPv4. Defaultgw4 *string `json:"defaultgw4,omitempty"` // Defaultgw6 Set the IPv6 default gateway. This must be an existing IPv6 gateway name, `automatic` for automatic gateway selection, or `none` for no default gateway selection for IPv6. Defaultgw6 *string `json:"defaultgw6,omitempty"` }
APIRoutingGatewayDefaultUpdateJSONBody defines parameters for APIRoutingGatewayDefaultUpdate.
type APIRoutingGatewayDefaultUpdateJSONRequestBody ¶
type APIRoutingGatewayDefaultUpdateJSONRequestBody APIRoutingGatewayDefaultUpdateJSONBody
APIRoutingGatewayDefaultUpdateJSONRequestBody defines body for APIRoutingGatewayDefaultUpdate for application/json ContentType.
type APIRoutingGatewayDefaultUpdateResponse ¶
type APIRoutingGatewayDefaultUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingGatewayDefaultUpdateResponse ¶
func ParseAPIRoutingGatewayDefaultUpdateResponse(rsp *http.Response) (*APIRoutingGatewayDefaultUpdateResponse, error)
ParseAPIRoutingGatewayDefaultUpdateResponse parses an HTTP response from a APIRoutingGatewayDefaultUpdateWithResponse call
func (APIRoutingGatewayDefaultUpdateResponse) Status ¶
func (r APIRoutingGatewayDefaultUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingGatewayDefaultUpdateResponse) StatusCode ¶
func (r APIRoutingGatewayDefaultUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingGatewayDeleteParams ¶
type APIRoutingGatewayDeleteParams struct { // Id ID of the gateway to delete. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` }
APIRoutingGatewayDeleteParams defines parameters for APIRoutingGatewayDelete.
type APIRoutingGatewayDeleteResponse ¶
type APIRoutingGatewayDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingGatewayDeleteResponse ¶
func ParseAPIRoutingGatewayDeleteResponse(rsp *http.Response) (*APIRoutingGatewayDeleteResponse, error)
ParseAPIRoutingGatewayDeleteResponse parses an HTTP response from a APIRoutingGatewayDeleteWithResponse call
func (APIRoutingGatewayDeleteResponse) Status ¶
func (r APIRoutingGatewayDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingGatewayDeleteResponse) StatusCode ¶
func (r APIRoutingGatewayDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingGatewayDetailReadResponse ¶
type APIRoutingGatewayDetailReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingGatewayDetailReadResponse ¶
func ParseAPIRoutingGatewayDetailReadResponse(rsp *http.Response) (*APIRoutingGatewayDetailReadResponse, error)
ParseAPIRoutingGatewayDetailReadResponse parses an HTTP response from a APIRoutingGatewayDetailReadWithResponse call
func (APIRoutingGatewayDetailReadResponse) Status ¶
func (r APIRoutingGatewayDetailReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingGatewayDetailReadResponse) StatusCode ¶
func (r APIRoutingGatewayDetailReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingGatewayReadResponse ¶
type APIRoutingGatewayReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingGatewayReadResponse ¶
func ParseAPIRoutingGatewayReadResponse(rsp *http.Response) (*APIRoutingGatewayReadResponse, error)
ParseAPIRoutingGatewayReadResponse parses an HTTP response from a APIRoutingGatewayReadWithResponse call
func (APIRoutingGatewayReadResponse) Status ¶
func (r APIRoutingGatewayReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingGatewayReadResponse) StatusCode ¶
func (r APIRoutingGatewayReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingGatewayUpdateJSONBody ¶
type APIRoutingGatewayUpdateJSONBody struct { // ActionDisable Disable any action taken on gateway events for this gateway. This will consider the gateway as always up. ActionDisable *bool `json:"action_disable,omitempty"` // AlertInterval Time interval (in milliseconds) which alert conditions will be checked. This value must be greater than or equal to the `interval` value. AlertInterval *int `json:"alert_interval,omitempty"` // Apply Specify whether or not you would like this gateway to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are creating multiple gateways at once it is best to set this to false and apply the changes afterwards using the `/api/v1/routing/apply` endpoint. Apply *bool `json:"apply,omitempty"` // DataPayload Data payload to send in ICMP packets sent to the gateway monitor IP. DataPayload *int `json:"data_payload,omitempty"` // Descr Description for this gateway. Descr *string `json:"descr,omitempty"` // Disabled Disable this gateway. Disabled *bool `json:"disabled,omitempty"` // ForceDown Force this gateway to always be considered down. ForceDown *bool `json:"force_down,omitempty"` // Gateway IP address of the gateway. This value must be a valid IPv4 address if `ipprotocol` is set to `inet`, or a valid IPv6 address if `ipprotocol` is set to `inet6`. Gateway *string `json:"gateway,omitempty"` // Id ID of the gateway to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Interface Interface the gateway will apply to. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface *string `json:"interface,omitempty"` // Interval How often (in milliseconds) gateway monitor ICMP probes will be sent. Interval *int `json:"interval,omitempty"` // Ipprotocol IP protocol this gateway will apply to. Ipprotocol *APIRoutingGatewayUpdateJSONBodyIpprotocol `json:"ipprotocol,omitempty"` // Latencyhigh High threshold (in milliseconds) for latency. Any packet that exceeds this threshold will trigger a major latency gateway event. This value must be greater than the `latencylow` value. Latencyhigh *int `json:"latencyhigh,omitempty"` // Latencylow Low threshold (in milliseconds) for latency. Any packet that exceeds this threshold will trigger a minor latency gateway event. Latencylow *int `json:"latencylow,omitempty"` // LossInterval How long (in milliseconds) the gateway monitor will wait for response packets before considering the packet lost. This value must be greater than or equal to the `latencyhigh` value. LossInterval *int `json:"loss_interval,omitempty"` // Losshigh High threshold (in %) for packet loss. If total packet loss exceeds this percentage, a major packet loss gateway event will be triggered. This value must be greater than the `losslow` value. Losshigh *int `json:"losshigh,omitempty"` // Losslow Low threshold (in %) for packet loss. If total packet loss exceeds this percentage, a minor packet loss gateway event will be triggered. Losslow *int `json:"losslow,omitempty"` // Monitor IP address used to monitor this gateway. This is only necessary if the `gateway` IP does not accept ICMP probes. Defaults to the `gateway` value. Monitor *string `json:"monitor,omitempty"` // MonitorDisable Disable gateway monitoring for this gateway. MonitorDisable *bool `json:"monitor_disable,omitempty"` // Name Descriptive name for this gateway. This name must be unique, and can only contain alphanumeric characters and underscores. Name *string `json:"name,omitempty"` // TimePeriod Time period (in milliseconds) for gateway monitor metrics to be averaged. This value must be greater than twice the `interval` value plus the `loss_interval` value. TimePeriod *int `json:"time_period,omitempty"` // Weight Gateway's weight when utilizing gateway load balancing within a gateway group. Weight *int `json:"weight,omitempty"` }
APIRoutingGatewayUpdateJSONBody defines parameters for APIRoutingGatewayUpdate.
type APIRoutingGatewayUpdateJSONBodyIpprotocol ¶
type APIRoutingGatewayUpdateJSONBodyIpprotocol string
APIRoutingGatewayUpdateJSONBodyIpprotocol defines parameters for APIRoutingGatewayUpdate.
const ( APIRoutingGatewayUpdateJSONBodyIpprotocolInet APIRoutingGatewayUpdateJSONBodyIpprotocol = "inet" APIRoutingGatewayUpdateJSONBodyIpprotocolInet6 APIRoutingGatewayUpdateJSONBodyIpprotocol = "inet6" )
Defines values for APIRoutingGatewayUpdateJSONBodyIpprotocol.
type APIRoutingGatewayUpdateJSONRequestBody ¶
type APIRoutingGatewayUpdateJSONRequestBody APIRoutingGatewayUpdateJSONBody
APIRoutingGatewayUpdateJSONRequestBody defines body for APIRoutingGatewayUpdate for application/json ContentType.
type APIRoutingGatewayUpdateResponse ¶
type APIRoutingGatewayUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingGatewayUpdateResponse ¶
func ParseAPIRoutingGatewayUpdateResponse(rsp *http.Response) (*APIRoutingGatewayUpdateResponse, error)
ParseAPIRoutingGatewayUpdateResponse parses an HTTP response from a APIRoutingGatewayUpdateWithResponse call
func (APIRoutingGatewayUpdateResponse) Status ¶
func (r APIRoutingGatewayUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingGatewayUpdateResponse) StatusCode ¶
func (r APIRoutingGatewayUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingStaticRouteCreateJSONBody ¶
type APIRoutingStaticRouteCreateJSONBody struct { // Apply Specify whether or not you would like this route to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are creating multiple routes at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/routing/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description for this route. Descr *string `json:"descr,omitempty"` // Disabled Disable this route. Disabled *bool `json:"disabled,omitempty"` // Gateway Name of the gateway traffic matching this route will use. Gateway string `json:"gateway"` // Network IPv4 CIDR, IPv6 CIDR or network alias this route will apply to. Network string `json:"network"` }
APIRoutingStaticRouteCreateJSONBody defines parameters for APIRoutingStaticRouteCreate.
type APIRoutingStaticRouteCreateJSONRequestBody ¶
type APIRoutingStaticRouteCreateJSONRequestBody APIRoutingStaticRouteCreateJSONBody
APIRoutingStaticRouteCreateJSONRequestBody defines body for APIRoutingStaticRouteCreate for application/json ContentType.
type APIRoutingStaticRouteCreateResponse ¶
type APIRoutingStaticRouteCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingStaticRouteCreateResponse ¶
func ParseAPIRoutingStaticRouteCreateResponse(rsp *http.Response) (*APIRoutingStaticRouteCreateResponse, error)
ParseAPIRoutingStaticRouteCreateResponse parses an HTTP response from a APIRoutingStaticRouteCreateWithResponse call
func (APIRoutingStaticRouteCreateResponse) Status ¶
func (r APIRoutingStaticRouteCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingStaticRouteCreateResponse) StatusCode ¶
func (r APIRoutingStaticRouteCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingStaticRouteDeleteParams ¶
type APIRoutingStaticRouteDeleteParams struct { // Id ID of the static route to delete. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` }
APIRoutingStaticRouteDeleteParams defines parameters for APIRoutingStaticRouteDelete.
type APIRoutingStaticRouteDeleteResponse ¶
type APIRoutingStaticRouteDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingStaticRouteDeleteResponse ¶
func ParseAPIRoutingStaticRouteDeleteResponse(rsp *http.Response) (*APIRoutingStaticRouteDeleteResponse, error)
ParseAPIRoutingStaticRouteDeleteResponse parses an HTTP response from a APIRoutingStaticRouteDeleteWithResponse call
func (APIRoutingStaticRouteDeleteResponse) Status ¶
func (r APIRoutingStaticRouteDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingStaticRouteDeleteResponse) StatusCode ¶
func (r APIRoutingStaticRouteDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingStaticRouteReadResponse ¶
type APIRoutingStaticRouteReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingStaticRouteReadResponse ¶
func ParseAPIRoutingStaticRouteReadResponse(rsp *http.Response) (*APIRoutingStaticRouteReadResponse, error)
ParseAPIRoutingStaticRouteReadResponse parses an HTTP response from a APIRoutingStaticRouteReadWithResponse call
func (APIRoutingStaticRouteReadResponse) Status ¶
func (r APIRoutingStaticRouteReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingStaticRouteReadResponse) StatusCode ¶
func (r APIRoutingStaticRouteReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIRoutingStaticRouteUpdateJSONBody ¶
type APIRoutingStaticRouteUpdateJSONBody struct { // Apply Specify whether or not you would like this route to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are creating multiple routes at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/routing/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description for this route. Descr *string `json:"descr,omitempty"` // Disabled Disable this route. Disabled *bool `json:"disabled,omitempty"` // Gateway Name of the gateway traffic matching this route will use. Gateway *string `json:"gateway,omitempty"` // Id ID of the static route to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Network IPv4 CIDR, IPv6 CIDR or network alias this route will apply to. Network *string `json:"network,omitempty"` }
APIRoutingStaticRouteUpdateJSONBody defines parameters for APIRoutingStaticRouteUpdate.
type APIRoutingStaticRouteUpdateJSONRequestBody ¶
type APIRoutingStaticRouteUpdateJSONRequestBody APIRoutingStaticRouteUpdateJSONBody
APIRoutingStaticRouteUpdateJSONRequestBody defines body for APIRoutingStaticRouteUpdate for application/json ContentType.
type APIRoutingStaticRouteUpdateResponse ¶
type APIRoutingStaticRouteUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIRoutingStaticRouteUpdateResponse ¶
func ParseAPIRoutingStaticRouteUpdateResponse(rsp *http.Response) (*APIRoutingStaticRouteUpdateResponse, error)
ParseAPIRoutingStaticRouteUpdateResponse parses an HTTP response from a APIRoutingStaticRouteUpdateWithResponse call
func (APIRoutingStaticRouteUpdateResponse) Status ¶
func (r APIRoutingStaticRouteUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIRoutingStaticRouteUpdateResponse) StatusCode ¶
func (r APIRoutingStaticRouteUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDDNSReadResponse ¶
type APIServicesDDNSReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDDNSReadResponse ¶
func ParseAPIServicesDDNSReadResponse(rsp *http.Response) (*APIServicesDDNSReadResponse, error)
ParseAPIServicesDDNSReadResponse parses an HTTP response from a APIServicesDDNSReadWithResponse call
func (APIServicesDDNSReadResponse) Status ¶
func (r APIServicesDDNSReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDDNSReadResponse) StatusCode ¶
func (r APIServicesDDNSReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdLeaseReadResponse ¶
type APIServicesDHCPdLeaseReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdLeaseReadResponse ¶
func ParseAPIServicesDHCPdLeaseReadResponse(rsp *http.Response) (*APIServicesDHCPdLeaseReadResponse, error)
ParseAPIServicesDHCPdLeaseReadResponse parses an HTTP response from a APIServicesDHCPdLeaseReadWithResponse call
func (APIServicesDHCPdLeaseReadResponse) Status ¶
func (r APIServicesDHCPdLeaseReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdLeaseReadResponse) StatusCode ¶
func (r APIServicesDHCPdLeaseReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdOptionsCreateJSONBody ¶
type APIServicesDHCPdOptionsCreateJSONBody struct { // Interface Interface to create the DHCP option for. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` // Number DHCP option number to set. This must be a value between 1 and 254. Number int `json:"number"` // Type DHCP option type. Type APIServicesDHCPdOptionsCreateJSONBodyType `json:"type"` // Value DHCP option's value. If `type` is set to `text`, this field must be string that does not contain quotations marks. If `type` is set to `string`, this field must be string enclosed in quotes or is a hexadecimal value. If `type` is set to `boolean`, this value must be `true` or `false` as a boolean OR `true`, `false`, `on` or `off` as a string. If `type` is set to `unsigned integer 8`, this field must be an integer between `1` and `255`. If `type` is set to `unsigned integer 16`, this field must be an integer between `1` and `65535`. If `type` is set to `unsigned integer 32`, this field must be an integer between `1` and `4294967295`. If `type` is set to `signed integer 8`, this field must be an integer between `-128` and `127`. If `type` is set to `signed integer 16`, this field must be an integer between `-32768` and `32767`. If `type` is set to `signed integer 32`, this field must be an integer between `-2147483648` and `2147483647`. If `type` is set to `ip-address`, this field must be a string containing a valid IPv4 address or hostname. Value APIServicesDHCPdOptionsCreateJSONBody_Value `json:"value"` }
APIServicesDHCPdOptionsCreateJSONBody defines parameters for APIServicesDHCPdOptionsCreate.
type APIServicesDHCPdOptionsCreateJSONBodyType ¶
type APIServicesDHCPdOptionsCreateJSONBodyType string
APIServicesDHCPdOptionsCreateJSONBodyType defines parameters for APIServicesDHCPdOptionsCreate.
const ( APIServicesDHCPdOptionsCreateJSONBodyTypeBoolean APIServicesDHCPdOptionsCreateJSONBodyType = "boolean" APIServicesDHCPdOptionsCreateJSONBodyTypeIpAddress APIServicesDHCPdOptionsCreateJSONBodyType = "ip-address" APIServicesDHCPdOptionsCreateJSONBodyTypeSignedInteger16 APIServicesDHCPdOptionsCreateJSONBodyType = "signed integer 16" APIServicesDHCPdOptionsCreateJSONBodyTypeSignedInteger32 APIServicesDHCPdOptionsCreateJSONBodyType = "signed integer 32" APIServicesDHCPdOptionsCreateJSONBodyTypeSignedInteger8 APIServicesDHCPdOptionsCreateJSONBodyType = "signed integer 8" APIServicesDHCPdOptionsCreateJSONBodyTypeString APIServicesDHCPdOptionsCreateJSONBodyType = "string" APIServicesDHCPdOptionsCreateJSONBodyTypeText APIServicesDHCPdOptionsCreateJSONBodyType = "text" APIServicesDHCPdOptionsCreateJSONBodyTypeUnsignedInteger16 APIServicesDHCPdOptionsCreateJSONBodyType = "unsigned integer 16" APIServicesDHCPdOptionsCreateJSONBodyTypeUnsignedInteger32 APIServicesDHCPdOptionsCreateJSONBodyType = "unsigned integer 32" APIServicesDHCPdOptionsCreateJSONBodyTypeUnsignedInteger8 APIServicesDHCPdOptionsCreateJSONBodyType = "unsigned integer 8" )
Defines values for APIServicesDHCPdOptionsCreateJSONBodyType.
type APIServicesDHCPdOptionsCreateJSONBodyValue0 ¶
type APIServicesDHCPdOptionsCreateJSONBodyValue0 = string
APIServicesDHCPdOptionsCreateJSONBodyValue0 defines parameters for APIServicesDHCPdOptionsCreate.
type APIServicesDHCPdOptionsCreateJSONBodyValue1 ¶
type APIServicesDHCPdOptionsCreateJSONBodyValue1 = int
APIServicesDHCPdOptionsCreateJSONBodyValue1 defines parameters for APIServicesDHCPdOptionsCreate.
type APIServicesDHCPdOptionsCreateJSONBodyValue2 ¶
type APIServicesDHCPdOptionsCreateJSONBodyValue2 = bool
APIServicesDHCPdOptionsCreateJSONBodyValue2 defines parameters for APIServicesDHCPdOptionsCreate.
type APIServicesDHCPdOptionsCreateJSONBody_Value ¶
type APIServicesDHCPdOptionsCreateJSONBody_Value struct {
// contains filtered or unexported fields
}
APIServicesDHCPdOptionsCreateJSONBody_Value defines parameters for APIServicesDHCPdOptionsCreate.
type APIServicesDHCPdOptionsCreateJSONRequestBody ¶
type APIServicesDHCPdOptionsCreateJSONRequestBody APIServicesDHCPdOptionsCreateJSONBody
APIServicesDHCPdOptionsCreateJSONRequestBody defines body for APIServicesDHCPdOptionsCreate for application/json ContentType.
type APIServicesDHCPdOptionsCreateResponse ¶
type APIServicesDHCPdOptionsCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdOptionsCreateResponse ¶
func ParseAPIServicesDHCPdOptionsCreateResponse(rsp *http.Response) (*APIServicesDHCPdOptionsCreateResponse, error)
ParseAPIServicesDHCPdOptionsCreateResponse parses an HTTP response from a APIServicesDHCPdOptionsCreateWithResponse call
func (APIServicesDHCPdOptionsCreateResponse) Status ¶
func (r APIServicesDHCPdOptionsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdOptionsCreateResponse) StatusCode ¶
func (r APIServicesDHCPdOptionsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdReadResponse ¶
type APIServicesDHCPdReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdReadResponse ¶
func ParseAPIServicesDHCPdReadResponse(rsp *http.Response) (*APIServicesDHCPdReadResponse, error)
ParseAPIServicesDHCPdReadResponse parses an HTTP response from a APIServicesDHCPdReadWithResponse call
func (APIServicesDHCPdReadResponse) Status ¶
func (r APIServicesDHCPdReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdReadResponse) StatusCode ¶
func (r APIServicesDHCPdReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdRestartCreateResponse ¶
type APIServicesDHCPdRestartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdRestartCreateResponse ¶
func ParseAPIServicesDHCPdRestartCreateResponse(rsp *http.Response) (*APIServicesDHCPdRestartCreateResponse, error)
ParseAPIServicesDHCPdRestartCreateResponse parses an HTTP response from a APIServicesDHCPdRestartCreateWithResponse call
func (APIServicesDHCPdRestartCreateResponse) Status ¶
func (r APIServicesDHCPdRestartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdRestartCreateResponse) StatusCode ¶
func (r APIServicesDHCPdRestartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdStartCreateResponse ¶
type APIServicesDHCPdStartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdStartCreateResponse ¶
func ParseAPIServicesDHCPdStartCreateResponse(rsp *http.Response) (*APIServicesDHCPdStartCreateResponse, error)
ParseAPIServicesDHCPdStartCreateResponse parses an HTTP response from a APIServicesDHCPdStartCreateWithResponse call
func (APIServicesDHCPdStartCreateResponse) Status ¶
func (r APIServicesDHCPdStartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdStartCreateResponse) StatusCode ¶
func (r APIServicesDHCPdStartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdStaticMappingCreateJSONBody ¶
type APIServicesDHCPdStaticMappingCreateJSONBody struct { // ArpTableStaticEntry Create a static ARP entry for this static mapping. ArpTableStaticEntry *bool `json:"arp_table_static_entry,omitempty"` // Cid Set a client identifier. Cid *string `json:"cid,omitempty"` // Descr Description for this mapping. Descr *string `json:"descr,omitempty"` // Dnsserver DNS servers to assign this client. Each value must be a valid IPv4 address. Dnsserver *[]string `json:"dnsserver,omitempty"` // Domain Domain for this host. Domain *string `json:"domain,omitempty"` // Domainsearchlist Search domains to assign to this host. Each value must be a valid domain name. Domainsearchlist *[]string `json:"domainsearchlist,omitempty"` // Gateway Gateway to assign this host. This value must be a valid IPv4 address within the interface's subnet. Gateway *string `json:"gateway,omitempty"` // Hostname Hostname for this host. Hostname *string `json:"hostname,omitempty"` // Interface Interface to assign this static mapping to. You may specify either the interface's descriptive name, the pfSense interface ID (e.g. wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` // Ipaddr IPv4 address the MAC address will be assigned. Ipaddr string `json:"ipaddr"` // Mac MAC address of the host this mapping will apply to. Mac string `json:"mac"` }
APIServicesDHCPdStaticMappingCreateJSONBody defines parameters for APIServicesDHCPdStaticMappingCreate.
type APIServicesDHCPdStaticMappingCreateJSONRequestBody ¶
type APIServicesDHCPdStaticMappingCreateJSONRequestBody APIServicesDHCPdStaticMappingCreateJSONBody
APIServicesDHCPdStaticMappingCreateJSONRequestBody defines body for APIServicesDHCPdStaticMappingCreate for application/json ContentType.
type APIServicesDHCPdStaticMappingCreateResponse ¶
type APIServicesDHCPdStaticMappingCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdStaticMappingCreateResponse ¶
func ParseAPIServicesDHCPdStaticMappingCreateResponse(rsp *http.Response) (*APIServicesDHCPdStaticMappingCreateResponse, error)
ParseAPIServicesDHCPdStaticMappingCreateResponse parses an HTTP response from a APIServicesDHCPdStaticMappingCreateWithResponse call
func (APIServicesDHCPdStaticMappingCreateResponse) Status ¶
func (r APIServicesDHCPdStaticMappingCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdStaticMappingCreateResponse) StatusCode ¶
func (r APIServicesDHCPdStaticMappingCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdStaticMappingDeleteParams ¶
type APIServicesDHCPdStaticMappingDeleteParams struct { // Id ID of the static mapping to delete. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` // Interface Interface of the static mapping to delete. You may specify either the interface's descriptive name, the pfSense interface ID (e.g. wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `form:"interface" json:"interface"` }
APIServicesDHCPdStaticMappingDeleteParams defines parameters for APIServicesDHCPdStaticMappingDelete.
type APIServicesDHCPdStaticMappingDeleteResponse ¶
type APIServicesDHCPdStaticMappingDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdStaticMappingDeleteResponse ¶
func ParseAPIServicesDHCPdStaticMappingDeleteResponse(rsp *http.Response) (*APIServicesDHCPdStaticMappingDeleteResponse, error)
ParseAPIServicesDHCPdStaticMappingDeleteResponse parses an HTTP response from a APIServicesDHCPdStaticMappingDeleteWithResponse call
func (APIServicesDHCPdStaticMappingDeleteResponse) Status ¶
func (r APIServicesDHCPdStaticMappingDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdStaticMappingDeleteResponse) StatusCode ¶
func (r APIServicesDHCPdStaticMappingDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdStaticMappingReadParams ¶
type APIServicesDHCPdStaticMappingReadParams struct { // Interface Interface to read static mappings from. You may specify either the interface's descriptive name, the pfSense interface ID (e.g. wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `form:"interface" json:"interface"` }
APIServicesDHCPdStaticMappingReadParams defines parameters for APIServicesDHCPdStaticMappingRead.
type APIServicesDHCPdStaticMappingReadResponse ¶
type APIServicesDHCPdStaticMappingReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdStaticMappingReadResponse ¶
func ParseAPIServicesDHCPdStaticMappingReadResponse(rsp *http.Response) (*APIServicesDHCPdStaticMappingReadResponse, error)
ParseAPIServicesDHCPdStaticMappingReadResponse parses an HTTP response from a APIServicesDHCPdStaticMappingReadWithResponse call
func (APIServicesDHCPdStaticMappingReadResponse) Status ¶
func (r APIServicesDHCPdStaticMappingReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdStaticMappingReadResponse) StatusCode ¶
func (r APIServicesDHCPdStaticMappingReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdStaticMappingUpdateJSONBody ¶
type APIServicesDHCPdStaticMappingUpdateJSONBody struct { // ArpTableStaticEntry Create a static ARP entry for this static mapping. ArpTableStaticEntry *bool `json:"arp_table_static_entry,omitempty"` // Cid Set a client identifier. Cid *string `json:"cid,omitempty"` // Descr Description for this mapping. Descr *string `json:"descr,omitempty"` // Dnsserver DNS servers to assign this client. Each value must be a valid IPv4 address. Dnsserver *[]string `json:"dnsserver,omitempty"` // Domain Domain for this host. Domain *string `json:"domain,omitempty"` // Domainsearchlist Search domains to assign to this host. Each value must be a valid domain name. Domainsearchlist *[]string `json:"domainsearchlist,omitempty"` // Gateway Gateway to assign this host. This value must be a valid IPv4 address within the interface's subnet. You may pass in an empty string to revert to the default gateway. Gateway *string `json:"gateway,omitempty"` // Hostname Hostname for this host. Hostname *string `json:"hostname,omitempty"` // Id ID of the static mapping to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Interface Interface of the static mapping to update. You may specify either the interface's descriptive name, the pfSense interface ID (e.g. wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` // Ipaddr IPv4 address the MAC address will be assigned. Ipaddr *string `json:"ipaddr,omitempty"` // Mac MAC address of the host this mapping will apply to. Mac *string `json:"mac,omitempty"` }
APIServicesDHCPdStaticMappingUpdateJSONBody defines parameters for APIServicesDHCPdStaticMappingUpdate.
type APIServicesDHCPdStaticMappingUpdateJSONRequestBody ¶
type APIServicesDHCPdStaticMappingUpdateJSONRequestBody APIServicesDHCPdStaticMappingUpdateJSONBody
APIServicesDHCPdStaticMappingUpdateJSONRequestBody defines body for APIServicesDHCPdStaticMappingUpdate for application/json ContentType.
type APIServicesDHCPdStaticMappingUpdateResponse ¶
type APIServicesDHCPdStaticMappingUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdStaticMappingUpdateResponse ¶
func ParseAPIServicesDHCPdStaticMappingUpdateResponse(rsp *http.Response) (*APIServicesDHCPdStaticMappingUpdateResponse, error)
ParseAPIServicesDHCPdStaticMappingUpdateResponse parses an HTTP response from a APIServicesDHCPdStaticMappingUpdateWithResponse call
func (APIServicesDHCPdStaticMappingUpdateResponse) Status ¶
func (r APIServicesDHCPdStaticMappingUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdStaticMappingUpdateResponse) StatusCode ¶
func (r APIServicesDHCPdStaticMappingUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdStopCreateResponse ¶
type APIServicesDHCPdStopCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdStopCreateResponse ¶
func ParseAPIServicesDHCPdStopCreateResponse(rsp *http.Response) (*APIServicesDHCPdStopCreateResponse, error)
ParseAPIServicesDHCPdStopCreateResponse parses an HTTP response from a APIServicesDHCPdStopCreateWithResponse call
func (APIServicesDHCPdStopCreateResponse) Status ¶
func (r APIServicesDHCPdStopCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdStopCreateResponse) StatusCode ¶
func (r APIServicesDHCPdStopCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDHCPdUpdateJSONBody ¶
type APIServicesDHCPdUpdateJSONBody struct { // Defaultleasetime Default DHCP lease time. This must be a value of `60` or greater and must be less than `maxleasetime`. This field can be unset to the system default by passing in an empty string. Defaultleasetime *APIServicesDHCPdUpdateJSONBody_Defaultleasetime `json:"defaultleasetime,omitempty"` // Denyunknown Deny unknown MAC addresses. If true, you must specify MAC addresses in the `mac_allow` field or add a static DHCP entry to receive DHCP requests. Denyunknown *bool `json:"denyunknown,omitempty"` // Dnsserver DNS servers to hand out in DHCP leases. Dnsserver *[]string `json:"dnsserver,omitempty"` // Domain Domain name to include in DHCP leass. This must be a valid domain name or an empty string to assume the system default. Domain *string `json:"domain,omitempty"` // Domainsearchlist Search domains to include in DHCP leases. Each entry must be a valid domain name. Domainsearchlist *[]string `json:"domainsearchlist,omitempty"` // Enable Enable the DHCP server for this interface. Enable *bool `json:"enable,omitempty"` // Gateway Gateway to hand out in DHCP leases. This value must be a valid IPv4 address within the interface's subnet. This field can be unset to the system default by passing in an empty string. Gateway *string `json:"gateway,omitempty"` // Ignorebootp Ignore BOOTP requests. Ignorebootp *bool `json:"ignorebootp,omitempty"` // Interface Interface of DHCP server configuration to update. You may specify either the interface's descriptive name, the pfSense ID (wan, lan, optx), or the real interface ID (e.g. igb0). This interface must host a static IPv4 subnet that has more than one available within the subnet. Interface string `json:"interface"` // MacAllow MAC addresses allowed to register DHCP leases. MacAllow *[]string `json:"mac_allow,omitempty"` // MacDeny MAC addresses denied from registering DHCP leases. MacDeny *[]string `json:"mac_deny,omitempty"` // Maxleasetime Maximum DHCP lease time. This must be a value of `60` or greater and must be greater than `defaultleasetime`. This field can be unset to the system default by passing in an empty string. Maxleasetime *APIServicesDHCPdUpdateJSONBody_Maxleasetime `json:"maxleasetime,omitempty"` // Numberoptions Set DHCP options. This must be an array of option objects. See documentation for the /api/v1/services/dhcpd/options endpoint to object fields. To unset DHCP options, pass in an empty array. Numberoptions *struct { Number *int `json:"number,omitempty"` Type *string `json:"type,omitempty"` Value *APIServicesDHCPdUpdateJSONBody_Numberoptions_Value `json:"value,omitempty"` } `json:"numberoptions,omitempty"` // RangeFrom DHCP pool's starting IPv4 address. This must be an available address within the interface's subnet and be less than the `range_to` value. This field is required if no `range_from` value has been set previously. RangeFrom *string `json:"range_from,omitempty"` // RangeTo DHCP pool's ending IPv4 address. This must be an available address within the interface's subnet and be greater than the `range_from` value. This field is required if no `range_to` has been set previously. RangeTo *string `json:"range_to,omitempty"` // Staticarp Create a static ARP entry for DHCP leases on this interface. Staticarp *bool `json:"staticarp,omitempty"` }
APIServicesDHCPdUpdateJSONBody defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONBodyDefaultleasetime0 ¶
type APIServicesDHCPdUpdateJSONBodyDefaultleasetime0 = string
APIServicesDHCPdUpdateJSONBodyDefaultleasetime0 defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONBodyDefaultleasetime1 ¶
type APIServicesDHCPdUpdateJSONBodyDefaultleasetime1 = int
APIServicesDHCPdUpdateJSONBodyDefaultleasetime1 defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONBodyMaxleasetime0 ¶
type APIServicesDHCPdUpdateJSONBodyMaxleasetime0 = string
APIServicesDHCPdUpdateJSONBodyMaxleasetime0 defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONBodyMaxleasetime1 ¶
type APIServicesDHCPdUpdateJSONBodyMaxleasetime1 = int
APIServicesDHCPdUpdateJSONBodyMaxleasetime1 defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONBodyNumberoptionsValue0 ¶
type APIServicesDHCPdUpdateJSONBodyNumberoptionsValue0 = string
APIServicesDHCPdUpdateJSONBodyNumberoptionsValue0 defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONBodyNumberoptionsValue1 ¶
type APIServicesDHCPdUpdateJSONBodyNumberoptionsValue1 = int
APIServicesDHCPdUpdateJSONBodyNumberoptionsValue1 defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONBodyNumberoptionsValue2 ¶
type APIServicesDHCPdUpdateJSONBodyNumberoptionsValue2 = bool
APIServicesDHCPdUpdateJSONBodyNumberoptionsValue2 defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONBody_Defaultleasetime ¶
type APIServicesDHCPdUpdateJSONBody_Defaultleasetime struct {
// contains filtered or unexported fields
}
APIServicesDHCPdUpdateJSONBody_Defaultleasetime defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONBody_Maxleasetime ¶
type APIServicesDHCPdUpdateJSONBody_Maxleasetime struct {
// contains filtered or unexported fields
}
APIServicesDHCPdUpdateJSONBody_Maxleasetime defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONBody_Numberoptions_Value ¶
type APIServicesDHCPdUpdateJSONBody_Numberoptions_Value struct {
// contains filtered or unexported fields
}
APIServicesDHCPdUpdateJSONBody_Numberoptions_Value defines parameters for APIServicesDHCPdUpdate.
type APIServicesDHCPdUpdateJSONRequestBody ¶
type APIServicesDHCPdUpdateJSONRequestBody APIServicesDHCPdUpdateJSONBody
APIServicesDHCPdUpdateJSONRequestBody defines body for APIServicesDHCPdUpdate for application/json ContentType.
type APIServicesDHCPdUpdateResponse ¶
type APIServicesDHCPdUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDHCPdUpdateResponse ¶
func ParseAPIServicesDHCPdUpdateResponse(rsp *http.Response) (*APIServicesDHCPdUpdateResponse, error)
ParseAPIServicesDHCPdUpdateResponse parses an HTTP response from a APIServicesDHCPdUpdateWithResponse call
func (APIServicesDHCPdUpdateResponse) Status ¶
func (r APIServicesDHCPdUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDHCPdUpdateResponse) StatusCode ¶
func (r APIServicesDHCPdUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDnsmasqApplyCreateResponse ¶
type APIServicesDnsmasqApplyCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDnsmasqApplyCreateResponse ¶
func ParseAPIServicesDnsmasqApplyCreateResponse(rsp *http.Response) (*APIServicesDnsmasqApplyCreateResponse, error)
ParseAPIServicesDnsmasqApplyCreateResponse parses an HTTP response from a APIServicesDnsmasqApplyCreateWithResponse call
func (APIServicesDnsmasqApplyCreateResponse) Status ¶
func (r APIServicesDnsmasqApplyCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDnsmasqApplyCreateResponse) StatusCode ¶
func (r APIServicesDnsmasqApplyCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDnsmasqHostOverrideAliasCreateJSONBody ¶
type APIServicesDnsmasqHostOverrideAliasCreateJSONBody struct { // Apply Specify whether or not you would like this host override alias to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are creating multiple host override aliases at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/services/dnsmasq/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Description Description for the alias. Description *string `json:"description,omitempty"` // Domain Domain of the alias Domain string `json:"domain"` // Host Hostname of the alias. Host string `json:"host"` // Id ID of the host override to apply this alias to. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` }
APIServicesDnsmasqHostOverrideAliasCreateJSONBody defines parameters for APIServicesDnsmasqHostOverrideAliasCreate.
type APIServicesDnsmasqHostOverrideAliasCreateJSONRequestBody ¶
type APIServicesDnsmasqHostOverrideAliasCreateJSONRequestBody APIServicesDnsmasqHostOverrideAliasCreateJSONBody
APIServicesDnsmasqHostOverrideAliasCreateJSONRequestBody defines body for APIServicesDnsmasqHostOverrideAliasCreate for application/json ContentType.
type APIServicesDnsmasqHostOverrideAliasCreateResponse ¶
type APIServicesDnsmasqHostOverrideAliasCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDnsmasqHostOverrideAliasCreateResponse ¶
func ParseAPIServicesDnsmasqHostOverrideAliasCreateResponse(rsp *http.Response) (*APIServicesDnsmasqHostOverrideAliasCreateResponse, error)
ParseAPIServicesDnsmasqHostOverrideAliasCreateResponse parses an HTTP response from a APIServicesDnsmasqHostOverrideAliasCreateWithResponse call
func (APIServicesDnsmasqHostOverrideAliasCreateResponse) Status ¶
func (r APIServicesDnsmasqHostOverrideAliasCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDnsmasqHostOverrideAliasCreateResponse) StatusCode ¶
func (r APIServicesDnsmasqHostOverrideAliasCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDnsmasqHostOverrideCreateJSONBody ¶
type APIServicesDnsmasqHostOverrideCreateJSONBody struct { // Aliases Host override aliases to associate with this host override. For more information on alias object fields, see documentation for /api/v1/services/dnsmasq/host_override/alias. Aliases *[]map[string]interface{} `json:"aliases,omitempty"` // Apply Specify whether or not you would like this host override to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are modifying multiple host overrides at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/services/dnsmasq/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description of the host override. Descr *string `json:"descr,omitempty"` // Domain Domain of the host override. Domain string `json:"domain"` // Host Hostname of the host override. Host string `json:"host"` // Ip IPv4 or IPv6 of the host override. Ip string `json:"ip"` }
APIServicesDnsmasqHostOverrideCreateJSONBody defines parameters for APIServicesDnsmasqHostOverrideCreate.
type APIServicesDnsmasqHostOverrideCreateJSONRequestBody ¶
type APIServicesDnsmasqHostOverrideCreateJSONRequestBody APIServicesDnsmasqHostOverrideCreateJSONBody
APIServicesDnsmasqHostOverrideCreateJSONRequestBody defines body for APIServicesDnsmasqHostOverrideCreate for application/json ContentType.
type APIServicesDnsmasqHostOverrideCreateResponse ¶
type APIServicesDnsmasqHostOverrideCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDnsmasqHostOverrideCreateResponse ¶
func ParseAPIServicesDnsmasqHostOverrideCreateResponse(rsp *http.Response) (*APIServicesDnsmasqHostOverrideCreateResponse, error)
ParseAPIServicesDnsmasqHostOverrideCreateResponse parses an HTTP response from a APIServicesDnsmasqHostOverrideCreateWithResponse call
func (APIServicesDnsmasqHostOverrideCreateResponse) Status ¶
func (r APIServicesDnsmasqHostOverrideCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDnsmasqHostOverrideCreateResponse) StatusCode ¶
func (r APIServicesDnsmasqHostOverrideCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDnsmasqHostOverrideDeleteParams ¶
type APIServicesDnsmasqHostOverrideDeleteParams struct { // Id ID of the host override to delete. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` // Apply Specify whether or not you would like this host override to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are modifying multiple host overrides at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/services/dnsmasq/apply` endpoint. Apply *bool `form:"apply,omitempty" json:"apply,omitempty"` }
APIServicesDnsmasqHostOverrideDeleteParams defines parameters for APIServicesDnsmasqHostOverrideDelete.
type APIServicesDnsmasqHostOverrideDeleteResponse ¶
type APIServicesDnsmasqHostOverrideDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDnsmasqHostOverrideDeleteResponse ¶
func ParseAPIServicesDnsmasqHostOverrideDeleteResponse(rsp *http.Response) (*APIServicesDnsmasqHostOverrideDeleteResponse, error)
ParseAPIServicesDnsmasqHostOverrideDeleteResponse parses an HTTP response from a APIServicesDnsmasqHostOverrideDeleteWithResponse call
func (APIServicesDnsmasqHostOverrideDeleteResponse) Status ¶
func (r APIServicesDnsmasqHostOverrideDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDnsmasqHostOverrideDeleteResponse) StatusCode ¶
func (r APIServicesDnsmasqHostOverrideDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDnsmasqHostOverrideReadResponse ¶
type APIServicesDnsmasqHostOverrideReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDnsmasqHostOverrideReadResponse ¶
func ParseAPIServicesDnsmasqHostOverrideReadResponse(rsp *http.Response) (*APIServicesDnsmasqHostOverrideReadResponse, error)
ParseAPIServicesDnsmasqHostOverrideReadResponse parses an HTTP response from a APIServicesDnsmasqHostOverrideReadWithResponse call
func (APIServicesDnsmasqHostOverrideReadResponse) Status ¶
func (r APIServicesDnsmasqHostOverrideReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDnsmasqHostOverrideReadResponse) StatusCode ¶
func (r APIServicesDnsmasqHostOverrideReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDnsmasqHostOverrideUpdateJSONBody ¶
type APIServicesDnsmasqHostOverrideUpdateJSONBody struct { // Aliases Host override aliases to associate with this host override. For more information on alias object fields, see documentation for /api/v1/services/dnsmasq/host_override/alias. Existing entries will be overwritten. Aliases *[]map[string]interface{} `json:"aliases,omitempty"` // Apply Specify whether or not you would like this host override to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are modifying multiple host overrides at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/services/dnsmasq/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description of the host override. Descr *string `json:"descr,omitempty"` // Domain Domain of the host override. Domain *string `json:"domain,omitempty"` // Host Hostname of the host override. Host *string `json:"host,omitempty"` // Id ID of the host override to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Ip IPv4 or IPv6 of the host override. Ip *string `json:"ip,omitempty"` }
APIServicesDnsmasqHostOverrideUpdateJSONBody defines parameters for APIServicesDnsmasqHostOverrideUpdate.
type APIServicesDnsmasqHostOverrideUpdateJSONRequestBody ¶
type APIServicesDnsmasqHostOverrideUpdateJSONRequestBody APIServicesDnsmasqHostOverrideUpdateJSONBody
APIServicesDnsmasqHostOverrideUpdateJSONRequestBody defines body for APIServicesDnsmasqHostOverrideUpdate for application/json ContentType.
type APIServicesDnsmasqHostOverrideUpdateResponse ¶
type APIServicesDnsmasqHostOverrideUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDnsmasqHostOverrideUpdateResponse ¶
func ParseAPIServicesDnsmasqHostOverrideUpdateResponse(rsp *http.Response) (*APIServicesDnsmasqHostOverrideUpdateResponse, error)
ParseAPIServicesDnsmasqHostOverrideUpdateResponse parses an HTTP response from a APIServicesDnsmasqHostOverrideUpdateWithResponse call
func (APIServicesDnsmasqHostOverrideUpdateResponse) Status ¶
func (r APIServicesDnsmasqHostOverrideUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDnsmasqHostOverrideUpdateResponse) StatusCode ¶
func (r APIServicesDnsmasqHostOverrideUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDnsmasqReadResponse ¶
type APIServicesDnsmasqReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDnsmasqReadResponse ¶
func ParseAPIServicesDnsmasqReadResponse(rsp *http.Response) (*APIServicesDnsmasqReadResponse, error)
ParseAPIServicesDnsmasqReadResponse parses an HTTP response from a APIServicesDnsmasqReadWithResponse call
func (APIServicesDnsmasqReadResponse) Status ¶
func (r APIServicesDnsmasqReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDnsmasqReadResponse) StatusCode ¶
func (r APIServicesDnsmasqReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDnsmasqRestartCreateResponse ¶
type APIServicesDnsmasqRestartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDnsmasqRestartCreateResponse ¶
func ParseAPIServicesDnsmasqRestartCreateResponse(rsp *http.Response) (*APIServicesDnsmasqRestartCreateResponse, error)
ParseAPIServicesDnsmasqRestartCreateResponse parses an HTTP response from a APIServicesDnsmasqRestartCreateWithResponse call
func (APIServicesDnsmasqRestartCreateResponse) Status ¶
func (r APIServicesDnsmasqRestartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDnsmasqRestartCreateResponse) StatusCode ¶
func (r APIServicesDnsmasqRestartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDnsmasqStartCreateResponse ¶
type APIServicesDnsmasqStartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDnsmasqStartCreateResponse ¶
func ParseAPIServicesDnsmasqStartCreateResponse(rsp *http.Response) (*APIServicesDnsmasqStartCreateResponse, error)
ParseAPIServicesDnsmasqStartCreateResponse parses an HTTP response from a APIServicesDnsmasqStartCreateWithResponse call
func (APIServicesDnsmasqStartCreateResponse) Status ¶
func (r APIServicesDnsmasqStartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDnsmasqStartCreateResponse) StatusCode ¶
func (r APIServicesDnsmasqStartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDnsmasqStopCreateResponse ¶
type APIServicesDnsmasqStopCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDnsmasqStopCreateResponse ¶
func ParseAPIServicesDnsmasqStopCreateResponse(rsp *http.Response) (*APIServicesDnsmasqStopCreateResponse, error)
ParseAPIServicesDnsmasqStopCreateResponse parses an HTTP response from a APIServicesDnsmasqStopCreateWithResponse call
func (APIServicesDnsmasqStopCreateResponse) Status ¶
func (r APIServicesDnsmasqStopCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDnsmasqStopCreateResponse) StatusCode ¶
func (r APIServicesDnsmasqStopCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDpingerRestartCreateResponse ¶
type APIServicesDpingerRestartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDpingerRestartCreateResponse ¶
func ParseAPIServicesDpingerRestartCreateResponse(rsp *http.Response) (*APIServicesDpingerRestartCreateResponse, error)
ParseAPIServicesDpingerRestartCreateResponse parses an HTTP response from a APIServicesDpingerRestartCreateWithResponse call
func (APIServicesDpingerRestartCreateResponse) Status ¶
func (r APIServicesDpingerRestartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDpingerRestartCreateResponse) StatusCode ¶
func (r APIServicesDpingerRestartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDpingerStartCreateResponse ¶
type APIServicesDpingerStartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDpingerStartCreateResponse ¶
func ParseAPIServicesDpingerStartCreateResponse(rsp *http.Response) (*APIServicesDpingerStartCreateResponse, error)
ParseAPIServicesDpingerStartCreateResponse parses an HTTP response from a APIServicesDpingerStartCreateWithResponse call
func (APIServicesDpingerStartCreateResponse) Status ¶
func (r APIServicesDpingerStartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDpingerStartCreateResponse) StatusCode ¶
func (r APIServicesDpingerStartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesDpingerStopCreateResponse ¶
type APIServicesDpingerStopCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesDpingerStopCreateResponse ¶
func ParseAPIServicesDpingerStopCreateResponse(rsp *http.Response) (*APIServicesDpingerStopCreateResponse, error)
ParseAPIServicesDpingerStopCreateResponse parses an HTTP response from a APIServicesDpingerStopCreateWithResponse call
func (APIServicesDpingerStopCreateResponse) Status ¶
func (r APIServicesDpingerStopCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesDpingerStopCreateResponse) StatusCode ¶
func (r APIServicesDpingerStopCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesIPsecApplyCreateJSONBody ¶
type APIServicesIPsecApplyCreateJSONBody struct { // Initiate Initiate all tunnels (phase 1 and 2) with the newly applied configuration. This field is only available on pfSense 2.6+ and pfSense Plus 22.05+. Initiate *bool `json:"initiate,omitempty"` }
APIServicesIPsecApplyCreateJSONBody defines parameters for APIServicesIPsecApplyCreate.
type APIServicesIPsecApplyCreateJSONRequestBody ¶
type APIServicesIPsecApplyCreateJSONRequestBody APIServicesIPsecApplyCreateJSONBody
APIServicesIPsecApplyCreateJSONRequestBody defines body for APIServicesIPsecApplyCreate for application/json ContentType.
type APIServicesIPsecApplyCreateResponse ¶
type APIServicesIPsecApplyCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesIPsecApplyCreateResponse ¶
func ParseAPIServicesIPsecApplyCreateResponse(rsp *http.Response) (*APIServicesIPsecApplyCreateResponse, error)
ParseAPIServicesIPsecApplyCreateResponse parses an HTTP response from a APIServicesIPsecApplyCreateWithResponse call
func (APIServicesIPsecApplyCreateResponse) Status ¶
func (r APIServicesIPsecApplyCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesIPsecApplyCreateResponse) StatusCode ¶
func (r APIServicesIPsecApplyCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesIPsecPhase1CreateJSONBody ¶
type APIServicesIPsecPhase1CreateJSONBody struct { // Apply Apply the IPsec configuration immediately after writing this configuration. If you are making multiple IPsec modifications, it is typically best to set this value to `false` and call the /api/v1/services/ipsec/apply endpoint once you are ready to apply the configuration. Apply *bool `json:"apply,omitempty"` // AuthenticationMethod Authentication method used for this IPsec phase 1 entry. AuthenticationMethod APIServicesIPsecPhase1CreateJSONBodyAuthenticationMethod `json:"authentication_method"` // Caref Certificate authority to use for authentication between peers. This field is required if `authentication_method` is set to `cert`. This value must be an existing certificate authority object's `refid`. Caref *string `json:"caref,omitempty"` // Certref Certificate to use for authentication between peers. This field is required if `authentication_method` is set to `cert`. This value must be an existing certificate object's `refid`. Certref *string `json:"certref,omitempty"` // Closeaction Option to to control the behavior when the remote peer unexpectedly closes a child SA (P2). Options for this field are set by pfSense itself. These options may vary based on your pfSense version. Closeaction *APIServicesIPsecPhase1CreateJSONBodyCloseaction `json:"closeaction,omitempty"` // Descr Description for this IPsec phase 1 entry. Descr *string `json:"descr,omitempty"` // Disabled Disable this IPsec phase 1 entry. Disabled *bool `json:"disabled,omitempty"` // DpdDelay Delay between sending peer acknowledgement messages. DpdDelay *int `json:"dpd_delay,omitempty"` // DpdEnable Enable dead-peer detection for this IPsec phase 1 entry. DpdEnable *bool `json:"dpd_enable,omitempty"` // DpdMaxfail Number of consecutive failures allowed before disconnecting. DpdMaxfail *int `json:"dpd_maxfail,omitempty"` // Encryption Encryption options available to this IPsec phase 1 entry. This must be a list of encryption objects. For more information on encryption object fields, see documentation for the /api/v1/services/ipsec/phase1/encryption endpoint. Encryption []map[string]interface{} `json:"encryption"` // GwDuplicates Allow phase 1 entries with duplicate `remote-gateway` values. GwDuplicates *bool `json:"gw_duplicates,omitempty"` // Ikeport Port used by IKE. This value cannot match the value set in `nattport`. Ikeport *int `json:"ikeport,omitempty"` // Iketype IKE version this IPsec phase 1 entry will use. Iketype APIServicesIPsecPhase1CreateJSONBodyIketype `json:"iketype"` // Interface Interface to enable this IPsec phase1 entry on. You may specify either the interface's descriptive name, the pfSense interface ID (e.g. wan, lan, optx), or the real interface ID (e.g. igb0). Interface string `json:"interface"` // Lifetime Hard IKE SA life time, in seconds, after which the IKE SA will be expired. This value must be greater than `rekey_time` and `reauth_time`. Lifetime *int `json:"lifetime,omitempty"` // Mobike Enable the use of MOBIKE. Mobike *bool `json:"mobike,omitempty"` // Mode IKE mode to use for this IPsec phase 1 entry. This field is not available if `iketype` is set to `ikev2`. Mode *APIServicesIPsecPhase1CreateJSONBodyMode `json:"mode,omitempty"` // MyidData Identifier value for the local (my) side of the IPsec connection. This field is required unless `myid_type` is set to `myaddress`. MyidData *string `json:"myid_data,omitempty"` // MyidType Identifier for the local (my) side of the IPsec connection. Options for this field are set by pfSense itself. These options may vary based on your pfSense version. MyidType APIServicesIPsecPhase1CreateJSONBodyMyidType `json:"myid_type"` // Nattport Port used by NAT-T. This value cannot match the value set in `ikeport`. Nattport *int `json:"nattport,omitempty"` // Nattraversal Enables the use of NAT-T which can help with clients that are behind restrictive firewalls. Nattraversal *APIServicesIPsecPhase1CreateJSONBodyNattraversal `json:"nattraversal,omitempty"` // PeeridData Identifier value for the peer (remote) side of the IPsec connection. This field is required unless `peerid_type` is set to `peeraddress`. PeeridData *string `json:"peerid_data,omitempty"` // PeeridType Identifier for the peer (remote) side of the IPsec connection. Options for this field are set by pfSense itself. These options may vary based on your pfSense version. PeeridType APIServicesIPsecPhase1CreateJSONBodyPeeridType `json:"peerid_type"` PreSharedKey *string `json:"pre-shared-key,omitempty"` // PrfselectEnable Enable the use of pseudo-random function selection. PrfselectEnable *bool `json:"prfselect_enable,omitempty"` // Protocol IP protocol this IPsec phase 1 entry will use. Protocol APIServicesIPsecPhase1CreateJSONBodyProtocol `json:"protocol"` // RandTime Random value up to this amount will be subtracted from `rekey_time`/`reauth_time` to avoid simultaneous renegotiation. This value must be less than the `lifetime` value. If not specified, this field will default to 10% of the `lifetime` value. RandTime *int `json:"rand_time,omitempty"` // ReauthTime Time, in seconds, before an IKE SA is torn down and recreated from scratch, including authentication. This value must be less than the `lifetime` value. If not specified, this field will default to 90% of the `lifetime` value. ReauthTime *int `json:"reauth_time,omitempty"` // RekeyTime Time, in seconds, before an IKE SA establishes new keys. This value must be less than the `lifetime` value. If not specified, this field will default to 90% of the `lifetime` value. RekeyTime *int `json:"rekey_time,omitempty"` // RemoteGateway IP address or hostname of the remote IPsec gateway. RemoteGateway string `json:"remote-gateway"` // Splitconn Enable split connections between multiple IPsec phase 2 entries. Splitconn *bool `json:"splitconn,omitempty"` // Startaction Option to force specific initiation/responder behavior for child SA (P2) entries. Options for this field are set by pfSense itself. These options may vary based on your pfSense version. This field is not supported on pfSense 2.5.1 or pfSense 2.5.0. Startaction *APIServicesIPsecPhase1CreateJSONBodyStartaction `json:"startaction,omitempty"` }
APIServicesIPsecPhase1CreateJSONBody defines parameters for APIServicesIPsecPhase1Create.
type APIServicesIPsecPhase1CreateJSONBodyAuthenticationMethod ¶
type APIServicesIPsecPhase1CreateJSONBodyAuthenticationMethod string
APIServicesIPsecPhase1CreateJSONBodyAuthenticationMethod defines parameters for APIServicesIPsecPhase1Create.
const ( APIServicesIPsecPhase1CreateJSONBodyAuthenticationMethodCert APIServicesIPsecPhase1CreateJSONBodyAuthenticationMethod = "cert" )
Defines values for APIServicesIPsecPhase1CreateJSONBodyAuthenticationMethod.
type APIServicesIPsecPhase1CreateJSONBodyCloseaction ¶
type APIServicesIPsecPhase1CreateJSONBodyCloseaction string
APIServicesIPsecPhase1CreateJSONBodyCloseaction defines parameters for APIServicesIPsecPhase1Create.
const ( APIServicesIPsecPhase1CreateJSONBodyCloseactionEmpty APIServicesIPsecPhase1CreateJSONBodyCloseaction = "" APIServicesIPsecPhase1CreateJSONBodyCloseactionNone APIServicesIPsecPhase1CreateJSONBodyCloseaction = "none" APIServicesIPsecPhase1CreateJSONBodyCloseactionStart APIServicesIPsecPhase1CreateJSONBodyCloseaction = "start" APIServicesIPsecPhase1CreateJSONBodyCloseactionTrap APIServicesIPsecPhase1CreateJSONBodyCloseaction = "trap" )
Defines values for APIServicesIPsecPhase1CreateJSONBodyCloseaction.
type APIServicesIPsecPhase1CreateJSONBodyIketype ¶
type APIServicesIPsecPhase1CreateJSONBodyIketype string
APIServicesIPsecPhase1CreateJSONBodyIketype defines parameters for APIServicesIPsecPhase1Create.
const ( APIServicesIPsecPhase1CreateJSONBodyIketypeAuto APIServicesIPsecPhase1CreateJSONBodyIketype = "auto" APIServicesIPsecPhase1CreateJSONBodyIketypeIkev1 APIServicesIPsecPhase1CreateJSONBodyIketype = "ikev1" APIServicesIPsecPhase1CreateJSONBodyIketypeIkev2 APIServicesIPsecPhase1CreateJSONBodyIketype = "ikev2" )
Defines values for APIServicesIPsecPhase1CreateJSONBodyIketype.
type APIServicesIPsecPhase1CreateJSONBodyMode ¶
type APIServicesIPsecPhase1CreateJSONBodyMode string
APIServicesIPsecPhase1CreateJSONBodyMode defines parameters for APIServicesIPsecPhase1Create.
const ( APIServicesIPsecPhase1CreateJSONBodyModeAggressive APIServicesIPsecPhase1CreateJSONBodyMode = "aggressive" APIServicesIPsecPhase1CreateJSONBodyModeMain APIServicesIPsecPhase1CreateJSONBodyMode = "main" )
Defines values for APIServicesIPsecPhase1CreateJSONBodyMode.
type APIServicesIPsecPhase1CreateJSONBodyMyidType ¶
type APIServicesIPsecPhase1CreateJSONBodyMyidType string
APIServicesIPsecPhase1CreateJSONBodyMyidType defines parameters for APIServicesIPsecPhase1Create.
const ( APIServicesIPsecPhase1CreateJSONBodyMyidTypeAddress APIServicesIPsecPhase1CreateJSONBodyMyidType = "address" APIServicesIPsecPhase1CreateJSONBodyMyidTypeAsn1dn APIServicesIPsecPhase1CreateJSONBodyMyidType = "asn1dn" APIServicesIPsecPhase1CreateJSONBodyMyidTypeAuto APIServicesIPsecPhase1CreateJSONBodyMyidType = "auto" APIServicesIPsecPhase1CreateJSONBodyMyidTypeDynDns APIServicesIPsecPhase1CreateJSONBodyMyidType = "dyn_dns" APIServicesIPsecPhase1CreateJSONBodyMyidTypeFqdn APIServicesIPsecPhase1CreateJSONBodyMyidType = "fqdn" APIServicesIPsecPhase1CreateJSONBodyMyidTypeKeyidTag APIServicesIPsecPhase1CreateJSONBodyMyidType = "keyid tag" APIServicesIPsecPhase1CreateJSONBodyMyidTypeMyaddress APIServicesIPsecPhase1CreateJSONBodyMyidType = "myaddress" APIServicesIPsecPhase1CreateJSONBodyMyidTypeUserFqdn APIServicesIPsecPhase1CreateJSONBodyMyidType = "user_fqdn" )
Defines values for APIServicesIPsecPhase1CreateJSONBodyMyidType.
type APIServicesIPsecPhase1CreateJSONBodyNattraversal ¶
type APIServicesIPsecPhase1CreateJSONBodyNattraversal string
APIServicesIPsecPhase1CreateJSONBodyNattraversal defines parameters for APIServicesIPsecPhase1Create.
const ( APIServicesIPsecPhase1CreateJSONBodyNattraversalForce APIServicesIPsecPhase1CreateJSONBodyNattraversal = "force" APIServicesIPsecPhase1CreateJSONBodyNattraversalOn APIServicesIPsecPhase1CreateJSONBodyNattraversal = "on" )
Defines values for APIServicesIPsecPhase1CreateJSONBodyNattraversal.
type APIServicesIPsecPhase1CreateJSONBodyPeeridType ¶
type APIServicesIPsecPhase1CreateJSONBodyPeeridType string
APIServicesIPsecPhase1CreateJSONBodyPeeridType defines parameters for APIServicesIPsecPhase1Create.
const ( APIServicesIPsecPhase1CreateJSONBodyPeeridTypeAddress APIServicesIPsecPhase1CreateJSONBodyPeeridType = "address" APIServicesIPsecPhase1CreateJSONBodyPeeridTypeAny APIServicesIPsecPhase1CreateJSONBodyPeeridType = "any" APIServicesIPsecPhase1CreateJSONBodyPeeridTypeAsn1dn APIServicesIPsecPhase1CreateJSONBodyPeeridType = "asn1dn" APIServicesIPsecPhase1CreateJSONBodyPeeridTypeAuto APIServicesIPsecPhase1CreateJSONBodyPeeridType = "auto" APIServicesIPsecPhase1CreateJSONBodyPeeridTypeFqdn APIServicesIPsecPhase1CreateJSONBodyPeeridType = "fqdn" APIServicesIPsecPhase1CreateJSONBodyPeeridTypeKeyidTag APIServicesIPsecPhase1CreateJSONBodyPeeridType = "keyid tag" APIServicesIPsecPhase1CreateJSONBodyPeeridTypePeeraddress APIServicesIPsecPhase1CreateJSONBodyPeeridType = "peeraddress" APIServicesIPsecPhase1CreateJSONBodyPeeridTypeUserFqdn APIServicesIPsecPhase1CreateJSONBodyPeeridType = "user_fqdn" )
Defines values for APIServicesIPsecPhase1CreateJSONBodyPeeridType.
type APIServicesIPsecPhase1CreateJSONBodyProtocol ¶
type APIServicesIPsecPhase1CreateJSONBodyProtocol string
APIServicesIPsecPhase1CreateJSONBodyProtocol defines parameters for APIServicesIPsecPhase1Create.
const ( APIServicesIPsecPhase1CreateJSONBodyProtocolBoth APIServicesIPsecPhase1CreateJSONBodyProtocol = "both" APIServicesIPsecPhase1CreateJSONBodyProtocolInet APIServicesIPsecPhase1CreateJSONBodyProtocol = "inet" APIServicesIPsecPhase1CreateJSONBodyProtocolInet6 APIServicesIPsecPhase1CreateJSONBodyProtocol = "inet6" )
Defines values for APIServicesIPsecPhase1CreateJSONBodyProtocol.
type APIServicesIPsecPhase1CreateJSONBodyStartaction ¶
type APIServicesIPsecPhase1CreateJSONBodyStartaction string
APIServicesIPsecPhase1CreateJSONBodyStartaction defines parameters for APIServicesIPsecPhase1Create.
const ( APIServicesIPsecPhase1CreateJSONBodyStartactionEmpty APIServicesIPsecPhase1CreateJSONBodyStartaction = "" APIServicesIPsecPhase1CreateJSONBodyStartactionNone APIServicesIPsecPhase1CreateJSONBodyStartaction = "none" APIServicesIPsecPhase1CreateJSONBodyStartactionStart APIServicesIPsecPhase1CreateJSONBodyStartaction = "start" APIServicesIPsecPhase1CreateJSONBodyStartactionTrap APIServicesIPsecPhase1CreateJSONBodyStartaction = "trap" )
Defines values for APIServicesIPsecPhase1CreateJSONBodyStartaction.
type APIServicesIPsecPhase1CreateJSONRequestBody ¶
type APIServicesIPsecPhase1CreateJSONRequestBody APIServicesIPsecPhase1CreateJSONBody
APIServicesIPsecPhase1CreateJSONRequestBody defines body for APIServicesIPsecPhase1Create for application/json ContentType.
type APIServicesIPsecPhase1CreateResponse ¶
type APIServicesIPsecPhase1CreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesIPsecPhase1CreateResponse ¶
func ParseAPIServicesIPsecPhase1CreateResponse(rsp *http.Response) (*APIServicesIPsecPhase1CreateResponse, error)
ParseAPIServicesIPsecPhase1CreateResponse parses an HTTP response from a APIServicesIPsecPhase1CreateWithResponse call
func (APIServicesIPsecPhase1CreateResponse) Status ¶
func (r APIServicesIPsecPhase1CreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesIPsecPhase1CreateResponse) StatusCode ¶
func (r APIServicesIPsecPhase1CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesIPsecPhase1DeleteParams ¶
type APIServicesIPsecPhase1DeleteParams struct { // Ikeid IKE ID of the phase 1 entry to delete. Ikeid string `form:"ikeid" json:"ikeid"` }
APIServicesIPsecPhase1DeleteParams defines parameters for APIServicesIPsecPhase1Delete.
type APIServicesIPsecPhase1DeleteResponse ¶
type APIServicesIPsecPhase1DeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesIPsecPhase1DeleteResponse ¶
func ParseAPIServicesIPsecPhase1DeleteResponse(rsp *http.Response) (*APIServicesIPsecPhase1DeleteResponse, error)
ParseAPIServicesIPsecPhase1DeleteResponse parses an HTTP response from a APIServicesIPsecPhase1DeleteWithResponse call
func (APIServicesIPsecPhase1DeleteResponse) Status ¶
func (r APIServicesIPsecPhase1DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesIPsecPhase1DeleteResponse) StatusCode ¶
func (r APIServicesIPsecPhase1DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesIPsecPhase1EncryptionCreateJSONBody ¶
type APIServicesIPsecPhase1EncryptionCreateJSONBody struct { // Dhgroup Diffie-Hellman group to use. Options for this field are set by pfSense itself and may vary based on your version of pfSense. Dhgroup APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup `json:"dhgroup"` // EncryptionAlgorithm 'Encryption algorithm to use. Options for this field are set by pfSense itself and may vary based on your version of pfSense. Options are: // `{ "name": "aes","keylen": 128 }`, `{ "name": "aes","keylen": 192 }`, `{ "name": "aes","keylen": 256 }`, `{ "name": "aes128gcm","keylen": 64 }`, `{ "name": "aes128gcm","keylen": 96 }`, `{ "name": "aes128gcm","keylen": 128 }`, `{ "name": "aes192gcm","keylen": 64 }`, `{ "name": "aes192gcm","keylen": 96 }`, `{ "name": "aes192gcm","keylen": 128 }`, `{ "name": "aes256gcm","keylen": 64 }`, `{ "name": "aes256gcm","keylen": 96 }`, `{ "name": "aes256gcm","keylen": 128 }`, `{ "name": "blowfish","keylen": 128 }`, `{ "name": "blowfish","keylen": 192 }`, `{ "name": "blowfish","keylen": 256 }`, `{ "name": "3des" }`, `{ "name": "cast128" }` EncryptionAlgorithm map[string]interface{} `json:"encryption-algorithm"` // HashAlgorithm Hashing algorithm to use. Options for this field are set by pfSense itself and may vary based on your version of pfSense. HashAlgorithm APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm `json:"hash-algorithm"` // Ikeid IKE ID of the existing IPsec phase 1 entry to add this encryption item to. Ikeid int `json:"ikeid"` // PrfAlgorithm PRF algorithm group to use. Options for this field are set by pfSense itself and may vary based on your version of pfSense. This field is required if the parent phase 1 entry has `prfselect_enable` enabled. PrfAlgorithm *APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm `json:"prf_algorithm,omitempty"` }
APIServicesIPsecPhase1EncryptionCreateJSONBody defines parameters for APIServicesIPsecPhase1EncryptionCreate.
type APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup ¶
type APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup int
APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup defines parameters for APIServicesIPsecPhase1EncryptionCreate.
const ( APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN1 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 1 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN14 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 14 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN15 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 15 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN16 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 16 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN17 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 17 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN18 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 18 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN19 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 19 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN2 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 2 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN20 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 20 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN21 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 21 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN22 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 22 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN23 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 23 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN24 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 24 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN25 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 25 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN26 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 26 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN27 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 27 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN28 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 28 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN29 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 29 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN30 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 30 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN31 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 31 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN32 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 32 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroupN5 APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup = 5 )
Defines values for APIServicesIPsecPhase1EncryptionCreateJSONBodyDhgroup.
type APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm ¶
type APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm string
APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm defines parameters for APIServicesIPsecPhase1EncryptionCreate.
const ( APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithmAesxcbc APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm = "aesxcbc" APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithmMd5 APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm = "md5" APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithmSha1 APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm = "sha1" APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithmSha256 APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm = "sha256" APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithmSha384 APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm = "sha384" APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithmSha512 APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm = "sha512" )
Defines values for APIServicesIPsecPhase1EncryptionCreateJSONBodyHashAlgorithm.
type APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm ¶
type APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm string
APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm defines parameters for APIServicesIPsecPhase1EncryptionCreate.
const ( APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithmAesxcbc APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm = "aesxcbc" APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithmMd5 APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm = "md5" APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithmSha1 APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm = "sha1" APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithmSha256 APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm = "sha256" APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithmSha384 APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm = "sha384" APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithmSha512 APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm = "sha512" )
Defines values for APIServicesIPsecPhase1EncryptionCreateJSONBodyPrfAlgorithm.
type APIServicesIPsecPhase1EncryptionCreateJSONRequestBody ¶
type APIServicesIPsecPhase1EncryptionCreateJSONRequestBody APIServicesIPsecPhase1EncryptionCreateJSONBody
APIServicesIPsecPhase1EncryptionCreateJSONRequestBody defines body for APIServicesIPsecPhase1EncryptionCreate for application/json ContentType.
type APIServicesIPsecPhase1EncryptionCreateResponse ¶
type APIServicesIPsecPhase1EncryptionCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesIPsecPhase1EncryptionCreateResponse ¶
func ParseAPIServicesIPsecPhase1EncryptionCreateResponse(rsp *http.Response) (*APIServicesIPsecPhase1EncryptionCreateResponse, error)
ParseAPIServicesIPsecPhase1EncryptionCreateResponse parses an HTTP response from a APIServicesIPsecPhase1EncryptionCreateWithResponse call
func (APIServicesIPsecPhase1EncryptionCreateResponse) Status ¶
func (r APIServicesIPsecPhase1EncryptionCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesIPsecPhase1EncryptionCreateResponse) StatusCode ¶
func (r APIServicesIPsecPhase1EncryptionCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesIPsecPhase1ReadResponse ¶
type APIServicesIPsecPhase1ReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesIPsecPhase1ReadResponse ¶
func ParseAPIServicesIPsecPhase1ReadResponse(rsp *http.Response) (*APIServicesIPsecPhase1ReadResponse, error)
ParseAPIServicesIPsecPhase1ReadResponse parses an HTTP response from a APIServicesIPsecPhase1ReadWithResponse call
func (APIServicesIPsecPhase1ReadResponse) Status ¶
func (r APIServicesIPsecPhase1ReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesIPsecPhase1ReadResponse) StatusCode ¶
func (r APIServicesIPsecPhase1ReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesIPsecPhase1UpdateJSONBody ¶
type APIServicesIPsecPhase1UpdateJSONBody struct { // Apply Apply the IPsec configuration immediately after writing this configuration. If you are making multiple IPsec modifications, it is typically best to set this value to `false` and call the /api/v1/services/ipsec/apply endpoint once you are ready to apply the configuration. Apply *bool `json:"apply,omitempty"` // AuthenticationMethod Authentication method used for this IPsec phase 1 entry. AuthenticationMethod *APIServicesIPsecPhase1UpdateJSONBodyAuthenticationMethod `json:"authentication_method,omitempty"` // Caref Certificate authority to use for authentication between peers. This field is required if `authentication_method` is changed to `cert`. This value must be an existing certificate authority object's `refid`. Caref *string `json:"caref,omitempty"` // Certref Certificate to use for authentication between peers. This field is required if `authentication_method` is changed to `cert`. This value must be an existing certificate object's `refid`. Certref *string `json:"certref,omitempty"` // Closeaction Option to to control the behavior when the remote peer unexpectedly closes a child SA (P2). Options for this field are set by pfSense itself. These options may vary based on your pfSense version. Closeaction *APIServicesIPsecPhase1UpdateJSONBodyCloseaction `json:"closeaction,omitempty"` // Descr Description for this IPsec phase 1 entry. Descr *string `json:"descr,omitempty"` // Disabled Disable this IPsec phase 1 entry. Disabled *bool `json:"disabled,omitempty"` // DpdDelay Delay between sending peer acknowledgement messages. DpdDelay *int `json:"dpd_delay,omitempty"` // DpdEnable Enable dead-peer detection for this IPsec phase 1 entry. DpdEnable *bool `json:"dpd_enable,omitempty"` // DpdMaxfail Number of consecutive failures allowed before disconnecting. DpdMaxfail *int `json:"dpd_maxfail,omitempty"` // Encryption Encryption options available to this IPsec phase 1 entry. This must be a list of encryption objects. For more information on encryption object fields, see documentation for the /api/v1/services/ipsec/phase1/encryption endpoint. Encryption *[]map[string]interface{} `json:"encryption,omitempty"` // GwDuplicates Allow phase 1 entries with duplicate `remote-gateway` values. GwDuplicates *bool `json:"gw_duplicates,omitempty"` // Ikeid IKE ID of the phase 1 entry to delete. Ikeid int `json:"ikeid"` // Ikeport Port used by IKE. This value cannot match the value set in `nattport`. Ikeport *int `json:"ikeport,omitempty"` // Iketype IKE version this IPsec phase 1 entry will use. Iketype *APIServicesIPsecPhase1UpdateJSONBodyIketype `json:"iketype,omitempty"` // Interface Interface to enable this IPsec phase1 entry on. You may specify either the interface's descriptive name, the pfSense interface ID (e.g. wan, lan, optx), or the real interface ID (e.g. igb0). Interface *string `json:"interface,omitempty"` // Lifetime Hard IKE SA life time, in seconds, after which the IKE SA will be expired. This value must be greater than `rekey_time` and `reauth_time`. Lifetime *int `json:"lifetime,omitempty"` // Mobike Enable the use of MOBIKE. Mobike *bool `json:"mobike,omitempty"` // Mode IKE mode to use for this IPsec phase 1 entry. This field is not available if `iketype` is set to `ikev2`. Mode *APIServicesIPsecPhase1UpdateJSONBodyMode `json:"mode,omitempty"` // MyidData Identifier value for the local (my) side of the IPsec connection. MyidData *string `json:"myid_data,omitempty"` // MyidType Identifier for the local (my) side of the IPsec connection. Options for this field are set by pfSense itself. These options may vary based on your pfSense version. MyidType *APIServicesIPsecPhase1UpdateJSONBodyMyidType `json:"myid_type,omitempty"` // Nattport Port used by NAT-T. This value cannot match the value set in `ikeport`. Nattport *int `json:"nattport,omitempty"` // Nattraversal Enables the use of NAT-T which can help with clients that are behind restrictive firewalls. Nattraversal *APIServicesIPsecPhase1UpdateJSONBodyNattraversal `json:"nattraversal,omitempty"` // PeeridData Identifier value for the peer (remote) side of the IPsec connection. PeeridData *string `json:"peerid_data,omitempty"` // PeeridType Identifier for the peer (remote) side of the IPsec connection. Options for this field are set by pfSense itself. These options may vary based on your pfSense version. PeeridType *APIServicesIPsecPhase1UpdateJSONBodyPeeridType `json:"peerid_type,omitempty"` PreSharedKey *string `json:"pre-shared-key,omitempty"` // PrfselectEnable Enable the use of pseudo-random function selection. PrfselectEnable *bool `json:"prfselect_enable,omitempty"` // Protocol IP protocol this IPsec phase 1 entry will use. Protocol *APIServicesIPsecPhase1UpdateJSONBodyProtocol `json:"protocol,omitempty"` // RandTime Random value up to this amount will be subtracted from `rekey_time`/`reauth_time` to avoid simultaneous renegotiation. This value must be less than the `lifetime` value. RandTime *int `json:"rand_time,omitempty"` // ReauthTime Time, in seconds, before an IKE SA is torn down and recreated from scratch, including authentication. This value must be less than the `lifetime` value. ReauthTime *int `json:"reauth_time,omitempty"` // RekeyTime Time, in seconds, before an IKE SA establishes new keys. This value must be less than the `lifetime` value. RekeyTime *int `json:"rekey_time,omitempty"` // RemoteGateway IP address or hostname of the remote IPsec gateway. RemoteGateway *string `json:"remote-gateway,omitempty"` // Splitconn Enable split connections between multiple IPsec phase 2 entries. Splitconn *bool `json:"splitconn,omitempty"` // Startaction Option to force specific initiation/responder behavior for child SA (P2) entries. Options for this field are set by pfSense itself. These options may vary based on your pfSense version. This field is not supported on pfSense 2.5.1 or pfSense 2.5.0. Startaction *APIServicesIPsecPhase1UpdateJSONBodyStartaction `json:"startaction,omitempty"` }
APIServicesIPsecPhase1UpdateJSONBody defines parameters for APIServicesIPsecPhase1Update.
type APIServicesIPsecPhase1UpdateJSONBodyAuthenticationMethod ¶
type APIServicesIPsecPhase1UpdateJSONBodyAuthenticationMethod string
APIServicesIPsecPhase1UpdateJSONBodyAuthenticationMethod defines parameters for APIServicesIPsecPhase1Update.
const ( APIServicesIPsecPhase1UpdateJSONBodyAuthenticationMethodCert APIServicesIPsecPhase1UpdateJSONBodyAuthenticationMethod = "cert" )
Defines values for APIServicesIPsecPhase1UpdateJSONBodyAuthenticationMethod.
type APIServicesIPsecPhase1UpdateJSONBodyCloseaction ¶
type APIServicesIPsecPhase1UpdateJSONBodyCloseaction string
APIServicesIPsecPhase1UpdateJSONBodyCloseaction defines parameters for APIServicesIPsecPhase1Update.
const ( APIServicesIPsecPhase1UpdateJSONBodyCloseactionEmpty APIServicesIPsecPhase1UpdateJSONBodyCloseaction = "" APIServicesIPsecPhase1UpdateJSONBodyCloseactionNone APIServicesIPsecPhase1UpdateJSONBodyCloseaction = "none" APIServicesIPsecPhase1UpdateJSONBodyCloseactionStart APIServicesIPsecPhase1UpdateJSONBodyCloseaction = "start" APIServicesIPsecPhase1UpdateJSONBodyCloseactionTrap APIServicesIPsecPhase1UpdateJSONBodyCloseaction = "trap" )
Defines values for APIServicesIPsecPhase1UpdateJSONBodyCloseaction.
type APIServicesIPsecPhase1UpdateJSONBodyIketype ¶
type APIServicesIPsecPhase1UpdateJSONBodyIketype string
APIServicesIPsecPhase1UpdateJSONBodyIketype defines parameters for APIServicesIPsecPhase1Update.
const ( APIServicesIPsecPhase1UpdateJSONBodyIketypeAuto APIServicesIPsecPhase1UpdateJSONBodyIketype = "auto" APIServicesIPsecPhase1UpdateJSONBodyIketypeIkev1 APIServicesIPsecPhase1UpdateJSONBodyIketype = "ikev1" APIServicesIPsecPhase1UpdateJSONBodyIketypeIkev2 APIServicesIPsecPhase1UpdateJSONBodyIketype = "ikev2" )
Defines values for APIServicesIPsecPhase1UpdateJSONBodyIketype.
type APIServicesIPsecPhase1UpdateJSONBodyMode ¶
type APIServicesIPsecPhase1UpdateJSONBodyMode string
APIServicesIPsecPhase1UpdateJSONBodyMode defines parameters for APIServicesIPsecPhase1Update.
const ( APIServicesIPsecPhase1UpdateJSONBodyModeAggressive APIServicesIPsecPhase1UpdateJSONBodyMode = "aggressive" APIServicesIPsecPhase1UpdateJSONBodyModeMain APIServicesIPsecPhase1UpdateJSONBodyMode = "main" )
Defines values for APIServicesIPsecPhase1UpdateJSONBodyMode.
type APIServicesIPsecPhase1UpdateJSONBodyMyidType ¶
type APIServicesIPsecPhase1UpdateJSONBodyMyidType string
APIServicesIPsecPhase1UpdateJSONBodyMyidType defines parameters for APIServicesIPsecPhase1Update.
const ( APIServicesIPsecPhase1UpdateJSONBodyMyidTypeAddress APIServicesIPsecPhase1UpdateJSONBodyMyidType = "address" APIServicesIPsecPhase1UpdateJSONBodyMyidTypeAsn1dn APIServicesIPsecPhase1UpdateJSONBodyMyidType = "asn1dn" APIServicesIPsecPhase1UpdateJSONBodyMyidTypeAuto APIServicesIPsecPhase1UpdateJSONBodyMyidType = "auto" APIServicesIPsecPhase1UpdateJSONBodyMyidTypeDynDns APIServicesIPsecPhase1UpdateJSONBodyMyidType = "dyn_dns" APIServicesIPsecPhase1UpdateJSONBodyMyidTypeFqdn APIServicesIPsecPhase1UpdateJSONBodyMyidType = "fqdn" APIServicesIPsecPhase1UpdateJSONBodyMyidTypeKeyidTag APIServicesIPsecPhase1UpdateJSONBodyMyidType = "keyid tag" APIServicesIPsecPhase1UpdateJSONBodyMyidTypeMyaddress APIServicesIPsecPhase1UpdateJSONBodyMyidType = "myaddress" APIServicesIPsecPhase1UpdateJSONBodyMyidTypeUserFqdn APIServicesIPsecPhase1UpdateJSONBodyMyidType = "user_fqdn" )
Defines values for APIServicesIPsecPhase1UpdateJSONBodyMyidType.
type APIServicesIPsecPhase1UpdateJSONBodyNattraversal ¶
type APIServicesIPsecPhase1UpdateJSONBodyNattraversal string
APIServicesIPsecPhase1UpdateJSONBodyNattraversal defines parameters for APIServicesIPsecPhase1Update.
const ( APIServicesIPsecPhase1UpdateJSONBodyNattraversalForce APIServicesIPsecPhase1UpdateJSONBodyNattraversal = "force" APIServicesIPsecPhase1UpdateJSONBodyNattraversalOn APIServicesIPsecPhase1UpdateJSONBodyNattraversal = "on" )
Defines values for APIServicesIPsecPhase1UpdateJSONBodyNattraversal.
type APIServicesIPsecPhase1UpdateJSONBodyPeeridType ¶
type APIServicesIPsecPhase1UpdateJSONBodyPeeridType string
APIServicesIPsecPhase1UpdateJSONBodyPeeridType defines parameters for APIServicesIPsecPhase1Update.
const ( APIServicesIPsecPhase1UpdateJSONBodyPeeridTypeAddress APIServicesIPsecPhase1UpdateJSONBodyPeeridType = "address" APIServicesIPsecPhase1UpdateJSONBodyPeeridTypeAny APIServicesIPsecPhase1UpdateJSONBodyPeeridType = "any" APIServicesIPsecPhase1UpdateJSONBodyPeeridTypeAsn1dn APIServicesIPsecPhase1UpdateJSONBodyPeeridType = "asn1dn" APIServicesIPsecPhase1UpdateJSONBodyPeeridTypeAuto APIServicesIPsecPhase1UpdateJSONBodyPeeridType = "auto" APIServicesIPsecPhase1UpdateJSONBodyPeeridTypeFqdn APIServicesIPsecPhase1UpdateJSONBodyPeeridType = "fqdn" APIServicesIPsecPhase1UpdateJSONBodyPeeridTypeKeyidTag APIServicesIPsecPhase1UpdateJSONBodyPeeridType = "keyid tag" APIServicesIPsecPhase1UpdateJSONBodyPeeridTypePeeraddress APIServicesIPsecPhase1UpdateJSONBodyPeeridType = "peeraddress" APIServicesIPsecPhase1UpdateJSONBodyPeeridTypeUserFqdn APIServicesIPsecPhase1UpdateJSONBodyPeeridType = "user_fqdn" )
Defines values for APIServicesIPsecPhase1UpdateJSONBodyPeeridType.
type APIServicesIPsecPhase1UpdateJSONBodyProtocol ¶
type APIServicesIPsecPhase1UpdateJSONBodyProtocol string
APIServicesIPsecPhase1UpdateJSONBodyProtocol defines parameters for APIServicesIPsecPhase1Update.
const ( APIServicesIPsecPhase1UpdateJSONBodyProtocolBoth APIServicesIPsecPhase1UpdateJSONBodyProtocol = "both" APIServicesIPsecPhase1UpdateJSONBodyProtocolInet APIServicesIPsecPhase1UpdateJSONBodyProtocol = "inet" APIServicesIPsecPhase1UpdateJSONBodyProtocolInet6 APIServicesIPsecPhase1UpdateJSONBodyProtocol = "inet6" )
Defines values for APIServicesIPsecPhase1UpdateJSONBodyProtocol.
type APIServicesIPsecPhase1UpdateJSONBodyStartaction ¶
type APIServicesIPsecPhase1UpdateJSONBodyStartaction string
APIServicesIPsecPhase1UpdateJSONBodyStartaction defines parameters for APIServicesIPsecPhase1Update.
const ( APIServicesIPsecPhase1UpdateJSONBodyStartactionEmpty APIServicesIPsecPhase1UpdateJSONBodyStartaction = "" APIServicesIPsecPhase1UpdateJSONBodyStartactionNone APIServicesIPsecPhase1UpdateJSONBodyStartaction = "none" APIServicesIPsecPhase1UpdateJSONBodyStartactionStart APIServicesIPsecPhase1UpdateJSONBodyStartaction = "start" APIServicesIPsecPhase1UpdateJSONBodyStartactionTrap APIServicesIPsecPhase1UpdateJSONBodyStartaction = "trap" )
Defines values for APIServicesIPsecPhase1UpdateJSONBodyStartaction.
type APIServicesIPsecPhase1UpdateJSONRequestBody ¶
type APIServicesIPsecPhase1UpdateJSONRequestBody APIServicesIPsecPhase1UpdateJSONBody
APIServicesIPsecPhase1UpdateJSONRequestBody defines body for APIServicesIPsecPhase1Update for application/json ContentType.
type APIServicesIPsecPhase1UpdateResponse ¶
type APIServicesIPsecPhase1UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesIPsecPhase1UpdateResponse ¶
func ParseAPIServicesIPsecPhase1UpdateResponse(rsp *http.Response) (*APIServicesIPsecPhase1UpdateResponse, error)
ParseAPIServicesIPsecPhase1UpdateResponse parses an HTTP response from a APIServicesIPsecPhase1UpdateWithResponse call
func (APIServicesIPsecPhase1UpdateResponse) Status ¶
func (r APIServicesIPsecPhase1UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesIPsecPhase1UpdateResponse) StatusCode ¶
func (r APIServicesIPsecPhase1UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesIPsecPhase2CreateJSONBody ¶
type APIServicesIPsecPhase2CreateJSONBody struct { // Apply Apply the IPsec configuration immediately after writing this configuration. If you are making multiple IPsec modifications, it is typically best to set this value to `false` and call the /api/v1/services/ipsec/apply endpoint once you are ready to apply the configuration. Apply *bool `json:"apply,omitempty"` // Descr Description for this IPsec phase 2 entry. Descr *string `json:"descr,omitempty"` // Disabled Disable this IPsec phase 2 entry. Disabled *bool `json:"disabled,omitempty"` // EncryptionAlgorithmOption Encryption algorithms available to this IPsec phase 2 entry. This must be a list of encryption objects. For more information on encryption object fields, see documentation for the /api/v1/services/ipsec/phase1/encryption endpoint's `encryption-algorithm` field. EncryptionAlgorithmOption *[]map[string]interface{} `json:"encryption-algorithm-option,omitempty"` // HashAlgorithmOption Hash algorithms supported by this IPsec phase 2 entry. HashAlgorithmOption []APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption `json:"hash-algorithm-option"` // Ikeid IKE ID of the parent phase 1 entry to link this phase 2 entry to. Ikeid *int `json:"ikeid,omitempty"` // Keepalive Enable keep alive for this IPsec phase 2 entry. Keepalive *bool `json:"keepalive,omitempty"` // Lifetime Hard child SA life time, in seconds, after which the child SA will be expired. This value must be greater than `rekey_time`. Lifetime *int `json:"lifetime,omitempty"` // Localid Local network parameters. This field is not available if `mode` is set to `transport`. Localid *struct { // Address Address portion of local network. This must be a valid IPv4 or IPv6 address (depending on the specified `mode`). Address *string `json:"address,omitempty"` // Netbits Subnet bit count of the local network. This field is only available when `type` is set to `network`. Netbits *int `json:"netbits,omitempty"` // Type Local ID type. This sets the scope of the local network. Options are `address` for a single IP address, `network` for a subnet or an existing interface. Type *string `json:"type,omitempty"` } `json:"localid,omitempty"` // Mode IPsec phase2 tunnel mode to use. Mode APIServicesIPsecPhase2CreateJSONBodyMode `json:"mode"` // Natlocalid NAT/BINAT translation parameters. This field is not available if `mode` is set to `transport` or `vti`. Natlocalid *struct { // Address Address portion of NAT network. This must be a valid IPv4 or IPv6 address (depending on the specified `mode`). Address *string `json:"address,omitempty"` // Netbits Subnet bit count of the NAT network. This field is only available when `type` is set to `network`. Netbits *int `json:"netbits,omitempty"` // Type NAT ID type. This sets the scope of the NAT network. Options are `address` for a single IP address, `network` for a subnet or an existing interface. Type *string `json:"type,omitempty"` } `json:"natlocalid,omitempty"` // Pfsgroup PFS group this IPsec phase 2 entry will use. Pfsgroup APIServicesIPsecPhase2CreateJSONBodyPfsgroup `json:"pfsgroup"` // Pinghost IP address to send ICMP echo requests inside the tunnel. Pinghost *string `json:"pinghost,omitempty"` // Protocol IPsec phase 2 protocol to use. Protocol APIServicesIPsecPhase2CreateJSONBodyProtocol `json:"protocol"` // RandTime Random value up to this amount will be subtracted from `rekey_time` to avoid simultaneous renegotiation. This value must be less than the `lifetime` value. If not specified, this field will default to 10% of the `lifetime` value. RandTime *int `json:"rand_time,omitempty"` // RekeyTime Time, in seconds, before a child SA establishes new keys. This value must be less than the `lifetime` value. If not specified, this field will default to 90% of the `lifetime` value. RekeyTime *int `json:"rekey_time,omitempty"` // Remoteid Remote network parameters. This field is not available if `mode` is set to `transport`. Remoteid *struct { // Address Address portion of remote network. This must be a valid IPv4 or IPv6 address (depending on the specified `mode`). Address *string `json:"address,omitempty"` // Netbits Subnet bit count of the remote network. This field is only available when `type` is set to `network`. Netbits *int `json:"netbits,omitempty"` // Type Remote ID type. This sets the scope of the remote network. Options are `address` for a single IP address, or `network` for a subnet. Type *string `json:"type,omitempty"` } `json:"remoteid,omitempty"` }
APIServicesIPsecPhase2CreateJSONBody defines parameters for APIServicesIPsecPhase2Create.
type APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption ¶
type APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption string
APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption defines parameters for APIServicesIPsecPhase2Create.
const ( APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOptionAesxcbc APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption = "aesxcbc" APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOptionHmacMd5 APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption = "hmac_md5" APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOptionHmacSha1 APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption = "hmac_sha1" APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOptionHmacSha256 APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption = "hmac_sha256" APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOptionHmacSha384 APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption = "hmac_sha384" APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOptionHmacSha512 APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption = "hmac_sha512" )
Defines values for APIServicesIPsecPhase2CreateJSONBodyHashAlgorithmOption.
type APIServicesIPsecPhase2CreateJSONBodyMode ¶
type APIServicesIPsecPhase2CreateJSONBodyMode string
APIServicesIPsecPhase2CreateJSONBodyMode defines parameters for APIServicesIPsecPhase2Create.
const ( APIServicesIPsecPhase2CreateJSONBodyModeTransport APIServicesIPsecPhase2CreateJSONBodyMode = "transport" APIServicesIPsecPhase2CreateJSONBodyModeTunnel APIServicesIPsecPhase2CreateJSONBodyMode = "tunnel" APIServicesIPsecPhase2CreateJSONBodyModeTunnel6 APIServicesIPsecPhase2CreateJSONBodyMode = "tunnel6" APIServicesIPsecPhase2CreateJSONBodyModeVti APIServicesIPsecPhase2CreateJSONBodyMode = "vti" )
Defines values for APIServicesIPsecPhase2CreateJSONBodyMode.
type APIServicesIPsecPhase2CreateJSONBodyPfsgroup ¶
type APIServicesIPsecPhase2CreateJSONBodyPfsgroup int
APIServicesIPsecPhase2CreateJSONBodyPfsgroup defines parameters for APIServicesIPsecPhase2Create.
const ( APIServicesIPsecPhase2CreateJSONBodyPfsgroupN1 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 1 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN14 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 14 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN15 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 15 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN16 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 16 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN17 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 17 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN18 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 18 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN19 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 19 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN2 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 2 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN20 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 20 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN21 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 21 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN22 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 22 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN23 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 23 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN24 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 24 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN25 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 25 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN26 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 26 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN27 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 27 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN28 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 28 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN29 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 29 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN30 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 30 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN31 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 31 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN32 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 32 APIServicesIPsecPhase2CreateJSONBodyPfsgroupN5 APIServicesIPsecPhase2CreateJSONBodyPfsgroup = 5 )
Defines values for APIServicesIPsecPhase2CreateJSONBodyPfsgroup.
type APIServicesIPsecPhase2CreateJSONBodyProtocol ¶
type APIServicesIPsecPhase2CreateJSONBodyProtocol string
APIServicesIPsecPhase2CreateJSONBodyProtocol defines parameters for APIServicesIPsecPhase2Create.
const ( APIServicesIPsecPhase2CreateJSONBodyProtocolAh APIServicesIPsecPhase2CreateJSONBodyProtocol = "ah" APIServicesIPsecPhase2CreateJSONBodyProtocolEsp APIServicesIPsecPhase2CreateJSONBodyProtocol = "esp" )
Defines values for APIServicesIPsecPhase2CreateJSONBodyProtocol.
type APIServicesIPsecPhase2CreateJSONRequestBody ¶
type APIServicesIPsecPhase2CreateJSONRequestBody APIServicesIPsecPhase2CreateJSONBody
APIServicesIPsecPhase2CreateJSONRequestBody defines body for APIServicesIPsecPhase2Create for application/json ContentType.
type APIServicesIPsecPhase2CreateResponse ¶
type APIServicesIPsecPhase2CreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesIPsecPhase2CreateResponse ¶
func ParseAPIServicesIPsecPhase2CreateResponse(rsp *http.Response) (*APIServicesIPsecPhase2CreateResponse, error)
ParseAPIServicesIPsecPhase2CreateResponse parses an HTTP response from a APIServicesIPsecPhase2CreateWithResponse call
func (APIServicesIPsecPhase2CreateResponse) Status ¶
func (r APIServicesIPsecPhase2CreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesIPsecPhase2CreateResponse) StatusCode ¶
func (r APIServicesIPsecPhase2CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesIPsecPhase2DeleteParams ¶
type APIServicesIPsecPhase2DeleteParams struct { // Uniqid Unique ID of the phase 2 entry to delete. Uniqid string `form:"uniqid" json:"uniqid"` }
APIServicesIPsecPhase2DeleteParams defines parameters for APIServicesIPsecPhase2Delete.
type APIServicesIPsecPhase2DeleteResponse ¶
type APIServicesIPsecPhase2DeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesIPsecPhase2DeleteResponse ¶
func ParseAPIServicesIPsecPhase2DeleteResponse(rsp *http.Response) (*APIServicesIPsecPhase2DeleteResponse, error)
ParseAPIServicesIPsecPhase2DeleteResponse parses an HTTP response from a APIServicesIPsecPhase2DeleteWithResponse call
func (APIServicesIPsecPhase2DeleteResponse) Status ¶
func (r APIServicesIPsecPhase2DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesIPsecPhase2DeleteResponse) StatusCode ¶
func (r APIServicesIPsecPhase2DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesIPsecPhase2ReadResponse ¶
type APIServicesIPsecPhase2ReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesIPsecPhase2ReadResponse ¶
func ParseAPIServicesIPsecPhase2ReadResponse(rsp *http.Response) (*APIServicesIPsecPhase2ReadResponse, error)
ParseAPIServicesIPsecPhase2ReadResponse parses an HTTP response from a APIServicesIPsecPhase2ReadWithResponse call
func (APIServicesIPsecPhase2ReadResponse) Status ¶
func (r APIServicesIPsecPhase2ReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesIPsecPhase2ReadResponse) StatusCode ¶
func (r APIServicesIPsecPhase2ReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesIPsecPhase2UpdateJSONBody ¶
type APIServicesIPsecPhase2UpdateJSONBody struct { // Apply Apply the IPsec configuration immediately after writing this configuration. If you are making multiple IPsec modifications, it is typically best to set this value to `false` and call the /api/v1/services/ipsec/apply endpoint once you are ready to apply the configuration. Apply *bool `json:"apply,omitempty"` // Descr Description for this IPsec phase 2 entry. Descr *string `json:"descr,omitempty"` // Disabled Disable this IPsec phase 2 entry. Disabled *bool `json:"disabled,omitempty"` // EncryptionAlgorithmOption Encryption algorithms available to this IPsec phase 2 entry. This must be a list of encryption objects. For more information on encryption object fields, see documentation for the /api/v1/services/ipsec/phase1/encryption endpoint's `encryption-algorithm` field. EncryptionAlgorithmOption *[]map[string]interface{} `json:"encryption-algorithm-option,omitempty"` // HashAlgorithmOption Hash algorithms supported by this IPsec phase 2 entry. HashAlgorithmOption *[]APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption `json:"hash-algorithm-option,omitempty"` // Ikeid IKE ID of the parent phase 1 entry to link this phase 2 entry to. Ikeid *int `json:"ikeid,omitempty"` // Keepalive Enable keep alive for this IPsec phase 2 entry. Keepalive *bool `json:"keepalive,omitempty"` // Lifetime Hard child SA life time, in seconds, after which the child SA will be expired. This value must be greater than `rekey_time`. Lifetime *int `json:"lifetime,omitempty"` // Localid Local network parameters. This field is not available if `mode` is set to `transport`. Localid *struct { // Address Address portion of local network. This must be a valid IPv4 or IPv6 address (depending on the specified `mode`). Address *string `json:"address,omitempty"` // Netbits Subnet bit count of the local network. This field is only available when `type` is set to `network`. Netbits *int `json:"netbits,omitempty"` // Type Local ID type. This sets the scope of the local network. Options are `address` for a single IP address, `network` for a subnet or an existing interface. Type *string `json:"type,omitempty"` } `json:"localid,omitempty"` // Mode IPsec phase2 tunnel mode to use. Mode *APIServicesIPsecPhase2UpdateJSONBodyMode `json:"mode,omitempty"` // Natlocalid NAT/BINAT translation parameters. This field is not available if `mode` is set to `transport` or `vti`. Natlocalid *struct { // Address Address portion of NAT network. This must be a valid IPv4 or IPv6 address (depending on the specified `mode`). Address *string `json:"address,omitempty"` // Netbits Subnet bit count of the NAT network. This field is only available when `type` is set to `network`. Netbits *int `json:"netbits,omitempty"` // Type NAT ID type. This sets the scope of the NAT network. Options are `address` for a single IP address, `network` for a subnet or an existing interface. Type *string `json:"type,omitempty"` } `json:"natlocalid,omitempty"` // Pfsgroup PFS group this IPsec phase 2 entry will use. Pfsgroup *APIServicesIPsecPhase2UpdateJSONBodyPfsgroup `json:"pfsgroup,omitempty"` // Pinghost IP address to send ICMP echo requests inside the tunnel. Pinghost *string `json:"pinghost,omitempty"` // Protocol IPsec phase 2 protocol to use. Protocol *APIServicesIPsecPhase2UpdateJSONBodyProtocol `json:"protocol,omitempty"` // RandTime Random value up to this amount will be subtracted from `rekey_time` to avoid simultaneous renegotiation. This value must be less than the `lifetime` value. If not specified, this field will default to 10% of the `lifetime` value. RandTime *int `json:"rand_time,omitempty"` // RekeyTime Time, in seconds, before a child SA establishes new keys. This value must be less than the `lifetime` value. If not specified, this field will default to 90% of the `lifetime` value. RekeyTime *int `json:"rekey_time,omitempty"` // Remoteid Remote network parameters. This field is not available if `mode` is set to `transport`. Remoteid *struct { // Address Address portion of remote network. This must be a valid IPv4 or IPv6 address (depending on the specified `mode`). Address *string `json:"address,omitempty"` // Netbits Subnet bit count of the remote network. This field is only available when `type` is set to `network`. Netbits *int `json:"netbits,omitempty"` // Type Remote ID type. This sets the scope of the remote network. Options are `address` for a single IP address, or `network` for a subnet. Type *string `json:"type,omitempty"` } `json:"remoteid,omitempty"` // Uniqid Unique ID of the IPsec phase 2 entry to update. Uniqid string `json:"uniqid"` }
APIServicesIPsecPhase2UpdateJSONBody defines parameters for APIServicesIPsecPhase2Update.
type APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption ¶
type APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption string
APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption defines parameters for APIServicesIPsecPhase2Update.
const ( APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOptionAesxcbc APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption = "aesxcbc" APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOptionHmacMd5 APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption = "hmac_md5" APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOptionHmacSha1 APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption = "hmac_sha1" APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOptionHmacSha256 APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption = "hmac_sha256" APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOptionHmacSha384 APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption = "hmac_sha384" APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOptionHmacSha512 APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption = "hmac_sha512" )
Defines values for APIServicesIPsecPhase2UpdateJSONBodyHashAlgorithmOption.
type APIServicesIPsecPhase2UpdateJSONBodyMode ¶
type APIServicesIPsecPhase2UpdateJSONBodyMode string
APIServicesIPsecPhase2UpdateJSONBodyMode defines parameters for APIServicesIPsecPhase2Update.
const ( APIServicesIPsecPhase2UpdateJSONBodyModeTransport APIServicesIPsecPhase2UpdateJSONBodyMode = "transport" APIServicesIPsecPhase2UpdateJSONBodyModeTunnel APIServicesIPsecPhase2UpdateJSONBodyMode = "tunnel" APIServicesIPsecPhase2UpdateJSONBodyModeTunnel6 APIServicesIPsecPhase2UpdateJSONBodyMode = "tunnel6" APIServicesIPsecPhase2UpdateJSONBodyModeVti APIServicesIPsecPhase2UpdateJSONBodyMode = "vti" )
Defines values for APIServicesIPsecPhase2UpdateJSONBodyMode.
type APIServicesIPsecPhase2UpdateJSONBodyPfsgroup ¶
type APIServicesIPsecPhase2UpdateJSONBodyPfsgroup int
APIServicesIPsecPhase2UpdateJSONBodyPfsgroup defines parameters for APIServicesIPsecPhase2Update.
const ( APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN1 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 1 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN14 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 14 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN15 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 15 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN16 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 16 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN17 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 17 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN18 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 18 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN19 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 19 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN2 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 2 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN20 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 20 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN21 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 21 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN22 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 22 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN23 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 23 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN24 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 24 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN25 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 25 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN26 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 26 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN27 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 27 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN28 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 28 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN29 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 29 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN30 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 30 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN31 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 31 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN32 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 32 APIServicesIPsecPhase2UpdateJSONBodyPfsgroupN5 APIServicesIPsecPhase2UpdateJSONBodyPfsgroup = 5 )
Defines values for APIServicesIPsecPhase2UpdateJSONBodyPfsgroup.
type APIServicesIPsecPhase2UpdateJSONBodyProtocol ¶
type APIServicesIPsecPhase2UpdateJSONBodyProtocol string
APIServicesIPsecPhase2UpdateJSONBodyProtocol defines parameters for APIServicesIPsecPhase2Update.
const ( APIServicesIPsecPhase2UpdateJSONBodyProtocolAh APIServicesIPsecPhase2UpdateJSONBodyProtocol = "ah" APIServicesIPsecPhase2UpdateJSONBodyProtocolEsp APIServicesIPsecPhase2UpdateJSONBodyProtocol = "esp" )
Defines values for APIServicesIPsecPhase2UpdateJSONBodyProtocol.
type APIServicesIPsecPhase2UpdateJSONRequestBody ¶
type APIServicesIPsecPhase2UpdateJSONRequestBody APIServicesIPsecPhase2UpdateJSONBody
APIServicesIPsecPhase2UpdateJSONRequestBody defines body for APIServicesIPsecPhase2Update for application/json ContentType.
type APIServicesIPsecPhase2UpdateResponse ¶
type APIServicesIPsecPhase2UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesIPsecPhase2UpdateResponse ¶
func ParseAPIServicesIPsecPhase2UpdateResponse(rsp *http.Response) (*APIServicesIPsecPhase2UpdateResponse, error)
ParseAPIServicesIPsecPhase2UpdateResponse parses an HTTP response from a APIServicesIPsecPhase2UpdateWithResponse call
func (APIServicesIPsecPhase2UpdateResponse) Status ¶
func (r APIServicesIPsecPhase2UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesIPsecPhase2UpdateResponse) StatusCode ¶
func (r APIServicesIPsecPhase2UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesNTPdReadResponse ¶
type APIServicesNTPdReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesNTPdReadResponse ¶
func ParseAPIServicesNTPdReadResponse(rsp *http.Response) (*APIServicesNTPdReadResponse, error)
ParseAPIServicesNTPdReadResponse parses an HTTP response from a APIServicesNTPdReadWithResponse call
func (APIServicesNTPdReadResponse) Status ¶
func (r APIServicesNTPdReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesNTPdReadResponse) StatusCode ¶
func (r APIServicesNTPdReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesNTPdRestartCreateResponse ¶
type APIServicesNTPdRestartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesNTPdRestartCreateResponse ¶
func ParseAPIServicesNTPdRestartCreateResponse(rsp *http.Response) (*APIServicesNTPdRestartCreateResponse, error)
ParseAPIServicesNTPdRestartCreateResponse parses an HTTP response from a APIServicesNTPdRestartCreateWithResponse call
func (APIServicesNTPdRestartCreateResponse) Status ¶
func (r APIServicesNTPdRestartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesNTPdRestartCreateResponse) StatusCode ¶
func (r APIServicesNTPdRestartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesNTPdStartCreateResponse ¶
type APIServicesNTPdStartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesNTPdStartCreateResponse ¶
func ParseAPIServicesNTPdStartCreateResponse(rsp *http.Response) (*APIServicesNTPdStartCreateResponse, error)
ParseAPIServicesNTPdStartCreateResponse parses an HTTP response from a APIServicesNTPdStartCreateWithResponse call
func (APIServicesNTPdStartCreateResponse) Status ¶
func (r APIServicesNTPdStartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesNTPdStartCreateResponse) StatusCode ¶
func (r APIServicesNTPdStartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesNTPdStopCreateResponse ¶
type APIServicesNTPdStopCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesNTPdStopCreateResponse ¶
func ParseAPIServicesNTPdStopCreateResponse(rsp *http.Response) (*APIServicesNTPdStopCreateResponse, error)
ParseAPIServicesNTPdStopCreateResponse parses an HTTP response from a APIServicesNTPdStopCreateWithResponse call
func (APIServicesNTPdStopCreateResponse) Status ¶
func (r APIServicesNTPdStopCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesNTPdStopCreateResponse) StatusCode ¶
func (r APIServicesNTPdStopCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesNTPdTimeServerCreateJSONBody ¶
type APIServicesNTPdTimeServerCreateJSONBody struct { // Ispool Specify whether or not this time server represents an NTP server pool or a single NTP server. Ispool *bool `json:"ispool,omitempty"` // Noselect Prevent this NTP server from being selected for time. Noselect *bool `json:"noselect,omitempty"` // Prefer Set this NTP time server as a preferred NTP time server. If `true`, this time server will take preference over other time servers. Prefer *bool `json:"prefer,omitempty"` // Timeserver IP or hostname of the NTP time server to add. Timeserver string `json:"timeserver"` }
APIServicesNTPdTimeServerCreateJSONBody defines parameters for APIServicesNTPdTimeServerCreate.
type APIServicesNTPdTimeServerCreateJSONRequestBody ¶
type APIServicesNTPdTimeServerCreateJSONRequestBody APIServicesNTPdTimeServerCreateJSONBody
APIServicesNTPdTimeServerCreateJSONRequestBody defines body for APIServicesNTPdTimeServerCreate for application/json ContentType.
type APIServicesNTPdTimeServerCreateResponse ¶
type APIServicesNTPdTimeServerCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesNTPdTimeServerCreateResponse ¶
func ParseAPIServicesNTPdTimeServerCreateResponse(rsp *http.Response) (*APIServicesNTPdTimeServerCreateResponse, error)
ParseAPIServicesNTPdTimeServerCreateResponse parses an HTTP response from a APIServicesNTPdTimeServerCreateWithResponse call
func (APIServicesNTPdTimeServerCreateResponse) Status ¶
func (r APIServicesNTPdTimeServerCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesNTPdTimeServerCreateResponse) StatusCode ¶
func (r APIServicesNTPdTimeServerCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesNTPdTimeServerDeleteParams ¶
type APIServicesNTPdTimeServerDeleteParams struct { // Timeserver IP or hostname of the NTP time server to delete. If more than one time server exists with this value, only the first match will be deleted. In the case that the last remaining time server was deleted, the default time server `pool.ntp.org` will be written. Timeserver string `form:"timeserver" json:"timeserver"` }
APIServicesNTPdTimeServerDeleteParams defines parameters for APIServicesNTPdTimeServerDelete.
type APIServicesNTPdTimeServerDeleteResponse ¶
type APIServicesNTPdTimeServerDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesNTPdTimeServerDeleteResponse ¶
func ParseAPIServicesNTPdTimeServerDeleteResponse(rsp *http.Response) (*APIServicesNTPdTimeServerDeleteResponse, error)
ParseAPIServicesNTPdTimeServerDeleteResponse parses an HTTP response from a APIServicesNTPdTimeServerDeleteWithResponse call
func (APIServicesNTPdTimeServerDeleteResponse) Status ¶
func (r APIServicesNTPdTimeServerDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesNTPdTimeServerDeleteResponse) StatusCode ¶
func (r APIServicesNTPdTimeServerDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesNTPdUpdateJSONBody ¶
type APIServicesNTPdUpdateJSONBody struct { // Clockstats Enable logging of reference clock statistics. Clockstats *bool `json:"clockstats,omitempty"` // Interface Update the interfaces NTP will listen on. You may specify either the physical Interface ID, the pfSense Interface ID or the descriptive Interface name. To match any interface, you may pass in an empty array. Interface *[]string `json:"interface,omitempty"` // Leapsec Update the leap seconds configuration. This should be the contents of the leap seconds file received from the IERS. Leapsec *string `json:"leapsec,omitempty"` // Logpeer Enable logging of peer messages. Logpeer *bool `json:"logpeer,omitempty"` // Logsys Enable logging of system messages. Logsys *bool `json:"logsys,omitempty"` // Loopstats Enable logging of clock discipline statistics. Loopstats *bool `json:"loopstats,omitempty"` // Orphan Update the orphan mode value. This must be a value between `1` and `15`. Orphan mode allows the system clock to be used when no other clocks are available. The number here specifies the stratum reported during orphan mode and should normally be set to a number high enough to insure that any other servers available to clients are preferred over this server. Orphan *int `json:"orphan,omitempty"` // Peerstats Enable logging of NTP peer statistics. Peerstats *bool `json:"peerstats,omitempty"` // Statsgraph Enable RRD graphs of NTP metrics. Statsgraph *bool `json:"statsgraph,omitempty"` // TimeServers Update the time servers used by the system. Each object may use the parameters available in the /api/v1/services/ntpd/time_server endpoint. To revert to the default timeserver, you may pass in an empty array. Existing values will be overwritten. TimeServers *[]map[string]interface{} `json:"time_servers,omitempty"` }
APIServicesNTPdUpdateJSONBody defines parameters for APIServicesNTPdUpdate.
type APIServicesNTPdUpdateJSONRequestBody ¶
type APIServicesNTPdUpdateJSONRequestBody APIServicesNTPdUpdateJSONBody
APIServicesNTPdUpdateJSONRequestBody defines body for APIServicesNTPdUpdate for application/json ContentType.
type APIServicesNTPdUpdateResponse ¶
type APIServicesNTPdUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesNTPdUpdateResponse ¶
func ParseAPIServicesNTPdUpdateResponse(rsp *http.Response) (*APIServicesNTPdUpdateResponse, error)
ParseAPIServicesNTPdUpdateResponse parses an HTTP response from a APIServicesNTPdUpdateWithResponse call
func (APIServicesNTPdUpdateResponse) Status ¶
func (r APIServicesNTPdUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesNTPdUpdateResponse) StatusCode ¶
func (r APIServicesNTPdUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesOpenVPNClientCreateJSONBody ¶
type APIServicesOpenVPNClientCreateJSONBody struct { // Caref Specify the unique reference ID of the certificate signing authority. Caref *string `json:"caref,omitempty"` // Certref The certificate used by the VPN instance to identify itself to peers. This certificate must contain appropriate properties marking it as a server certificate and not a user or client certificate. // Specify the unique reference ID of the certificate revocation list. Certref *string `json:"certref,omitempty"` // Compression Compression to be used with this VPN instance. This is only necessary for `allow_compression` set to `yes` or `asym`. Compression can potentially dangerous and insecure. Deprecated. Compress tunnel packets using the LZO algorithm. Compression *APIServicesOpenVPNClientCreateJSONBodyCompression `json:"compression,omitempty"` // CreateGw If you assign a virtual interface to this OpenVPN server, this setting controls which gateway types will be created. CreateGw *APIServicesOpenVPNClientCreateJSONBodyCreateGw `json:"create_gw,omitempty"` // Crlref This optional field is for the Certificate Revocation List (CRL) this tunnel will use to check the validity of peer certificates. // A CRL is a list of certificates signed by a CA which are no longer valid. This could be due to a certificate being compromised or lost, such as from a stolen laptop, spyware infection, etc. // Specify the unique reference ID of the certificate. Crlref *string `json:"crlref,omitempty"` // CustomOptions Custom options may be added in using the Custom option box separated by a semicolon (;) and the firewall will pass the custom directives to OpenVPN. CustomOptions *string `json:"custom_options,omitempty"` // DataCiphers These options define the cryptographic ciphers OpenVPN will use for this VPN. Enter comma sepereted data encryption algorithms (e.g. `AES-256-GCM,AES-128-GCM,CHACHA20-POLY1305`). Data encryption algorithms will be truncated to 19. DataCiphers *string `json:"data_ciphers,omitempty"` // DataCiphersFallback Enter fallback data encryption algorithm. DataCiphersFallback *string `json:"data_ciphers_fallback,omitempty"` // Description Enter a description for this VPN instance, for reference. Description *string `json:"description,omitempty"` // DevMode OpenVPN can run in one of two device modes. DevMode *APIServicesOpenVPNClientCreateJSONBodyDevMode `json:"dev_mode,omitempty"` // Digest Selects the message digest algorithm OpenVPN uses for HMAC authentication of incoming packets. This is used for the data channel and if also for the control channel when the tunnel uses a TLS key. The GUI default of SHA256 is a good balance of security and speed. // When using AEAD ciphers such as AES-GCM, OpenVPN ignores this value for the data channel since AEAD ciphers already perform authentication. Even with an AEAD cipher, OpenVPN still uses this algorithm to authenticate the control channel when the tunnel uses a TLS key. Digest *APIServicesOpenVPNClientCreateJSONBodyDigest `json:"digest,omitempty"` // Disable Disable this override without removing it. Disable *bool `json:"disable,omitempty"` // Engine If available, this option controls which hardware cryptographic accelerator will be used by OpenVPN. When left unspecified, OpenVPN will choose automatically based on what is available in the operating system to accelerate ciphers OpenVPN wants to use. // Some hardware acceleration, such as AES-NI, happens automatically in OpenVPN via OpenSSL and cannot be enabled or disabled by this option. // Enter Hardware crypto. Options are `none` and any enabled hardware crypto. Engine *string `json:"engine,omitempty"` // ExitNotify Controls whether or not OpenVPN will send an explicit exit notification to connected UDP clients or peers when restarting or shutting down. This notification allows peers to immediately disconnect rather than wait for a timeout. This is only relevant to UDP modes as TCP natively supports closing connections. ExitNotify *APIServicesOpenVPNClientCreateJSONBodyExitNotify `json:"exit_notify,omitempty"` // InactiveSeconds The amount of time, in seconds, which a client can be inactive before OpenVPN disconnects it for inactivity. OpenVPN bases activity on the last incoming or outgoing data channel packet, not control channel packets. // `0` disables this feature. InactiveSeconds *int `json:"inactive_seconds,omitempty"` // Interface Selects the interface, VIP, or failover group that the OpenVPN instance will use when communicating with peers. This also controls which interface the traffic from the instance will exit. VIP can be provided as description, subnet or uniqid. Failover group can be provided as group name. // _Note: If you are using a failover group, the failover group must be configured to use the same_. Interface *string `json:"interface,omitempty"` // KeepaliveInterval Enter keepalive interval. KeepaliveInterval *int `json:"keepalive_interval,omitempty"` // KeepaliveTimeout Enter keepalive timeout. KeepaliveTimeout *int `json:"keepalive_timeout,omitempty"` // LocalPort For clients, the local port should be blank in nearly every case so that OpenVPN will use a randomized local port. This behavior is more secure, but some server configurations may require a specific source port. LocalPort *int `json:"local_port,omitempty"` // Mode The role for the client, which specifies how peers connect to a server instance. Changing this also affects which options the GUI displays on the rest of the page. Mode *APIServicesOpenVPNClientCreateJSONBodyMode `json:"mode,omitempty"` // NcpEnable Enable Data Encryption Negotiation. Disabling this feature is deprecated. Omitting will enable. NcpEnable *bool `json:"ncp_enable,omitempty"` // Passtos When this option is enabled OpenVPN sets the Type-of-Service (TOS) IP header value of tunnel packets to match the encapsulated packet value. This may cause important traffic to be handled faster over the tunnel by intermediate hops at the cost of minor information disclosure. Passtos *bool `json:"passtos,omitempty"` // PingAction Exit or restart OpenVPN after timeout from remote. This is only necessary for `ping` method. PingAction *APIServicesOpenVPNClientCreateJSONBodyPingAction `json:"ping_action,omitempty"` // PingActionPush Push ping-restart/ping-exit to VPN client. This is only necessary for `ping` method. PingActionPush *bool `json:"ping_action_push,omitempty"` // PingActionSeconds Enter ping action seconds. This is only necessary for `ping` method. PingActionSeconds *int `json:"ping_action_seconds,omitempty"` // PingMethod The Ping Method controls OpenVPN monitoring of peers through the control channel and how it deals with unresponsive peers. PingMethod *APIServicesOpenVPNClientCreateJSONBodyPingMethod `json:"ping_method,omitempty"` // PingPush Push ping to VPN client. This is only necessary for `ping` method. PingPush *bool `json:"ping_push,omitempty"` // PingSeconds Enter ping seconds. This is only necessary for `ping` method. PingSeconds *int `json:"ping_seconds,omitempty"` // Protocol The IP protocol clients will use to connect to this VPN. Protocol *APIServicesOpenVPNClientCreateJSONBodyProtocol `json:"protocol,omitempty"` // RemoteNetwork IPv4 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more CIDR ranges. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv4 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetwork *string `json:"remote_network,omitempty"` // RemoteNetworkv6 IPv6 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more IP/PREFIX networks. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv6 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetworkv6 *string `json:"remote_networkv6,omitempty"` SharedKey *string `json:"shared_key,omitempty"` // Sndrcvbuf Configures a Send and Receive Buffer size for OpenVPN. The default buffer size can be too small in many cases, depending on hardware and network uplink speeds. Finding the best buffer size can take experimentation. To test the best value for a site, start at 512KiB and test higher and lower values until testing results in peak performance. Sndrcvbuf *APIServicesOpenVPNClientCreateJSONBodySndrcvbuf `json:"sndrcvbuf,omitempty"` // Tls TLS, or Transport Layer Security, can provide session authentication and encryption to ensure the validity of peers and to protect the control channel. Paste the TLS key. This is not necessary for mode `p2p_shared_key`. Options are `""` or `true` for automatic TLS key generation, `false` to disable TLS or a raw TLS key as a string. Omitting disable TLS configuration. Tls *string `json:"tls,omitempty"` // TlsType Enter TLS Key Usage Mode. This is not necessary for mode `p2p_shared_key`. TlsType *APIServicesOpenVPNClientCreateJSONBodyTlsType `json:"tls_type,omitempty"` // TlsauthKeydir The direction in which this VPN endpoint uses the TLS key. The TLS Key Direction must be set to complementary values on the server and clients. The default behavior uses 0 on server instances and 1 on client instances. // Enter TLS keydir direction. This is not necessary for mode `p2p_shared_key`. TlsauthKeydir *APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydir `json:"tlsauth_keydir,omitempty"` // Topology Sets the method OpenVPN uses to allocate addresses for clients in a client/server setup on tun device mode VPNs. The Topology option is relevant only when supplying a virtual adapter IP address to clients using tun mode on IPv4. Some clients may require this even for IPv6, such as OpenVPN Connect, though in reality IPv6 always runs with a subnet topology even when IPv4 uses net30. OpenVPN instances using tap mode always use subnet topology as well. Topology *APIServicesOpenVPNClientCreateJSONBodyTopology `json:"topology,omitempty"` // TunnelNetwork Virtual IPv4 network used for private communications between this client and the server expressed using CIDR (e.g. 10.0.8.5/24). // With subnet topology, enter the client IP address and the subnet mask must match the IPv4 Tunnel Network on the server. // With net30 topology, the first network address of the /30 is assumed to be the server address and the second network address will be assigned to the client. TunnelNetwork *string `json:"tunnel_network,omitempty"` // TunnelNetworkv6 Virtual IPv6 network used for private communications between this client and the server expressed using prefix (e.g. 2001:db9:1:1::100/64). // Enter the client IPv6 address and prefix. The prefix must match the IPv6 Tunnel Network prefix on the server. TunnelNetworkv6 *string `json:"tunnel_networkv6,omitempty"` // UdpFastIo Controls whether or not OpenVPN will use fast I/O operations with UDP writes to its tun or tap device. This behavior optimizes the packet write event loop, improving CPU efficiency by 5% to 10%. Experimental. UdpFastIo *bool `json:"udp_fast_io,omitempty"` // VerbosityLevel Configures the amount of detail OpenVPN will log for this instance, which is useful for troubleshooting problems. Higher numbers will result in higher amounts of detail in the log. During normal operation the default selection is ideal. Level `3` is recommended for a good summary of what's happening without being swamped by output. Maximum level `11`. The `default` setting is equivalent to level `1`. VerbosityLevel *APIServicesOpenVPNClientCreateJSONBody_VerbosityLevel `json:"verbosity_level,omitempty"` }
APIServicesOpenVPNClientCreateJSONBody defines parameters for APIServicesOpenVPNClientCreate.
type APIServicesOpenVPNClientCreateJSONBodyCompression ¶
type APIServicesOpenVPNClientCreateJSONBodyCompression string
APIServicesOpenVPNClientCreateJSONBodyCompression defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyCompressionAdaptive APIServicesOpenVPNClientCreateJSONBodyCompression = "adaptive" APIServicesOpenVPNClientCreateJSONBodyCompressionLz4 APIServicesOpenVPNClientCreateJSONBodyCompression = "lz4" APIServicesOpenVPNClientCreateJSONBodyCompressionLz4V2 APIServicesOpenVPNClientCreateJSONBodyCompression = "lz4-v2" APIServicesOpenVPNClientCreateJSONBodyCompressionLzo APIServicesOpenVPNClientCreateJSONBodyCompression = "lzo" APIServicesOpenVPNClientCreateJSONBodyCompressionNo APIServicesOpenVPNClientCreateJSONBodyCompression = "no" APIServicesOpenVPNClientCreateJSONBodyCompressionNoadapt APIServicesOpenVPNClientCreateJSONBodyCompression = "noadapt" APIServicesOpenVPNClientCreateJSONBodyCompressionNone APIServicesOpenVPNClientCreateJSONBodyCompression = "none" APIServicesOpenVPNClientCreateJSONBodyCompressionStub APIServicesOpenVPNClientCreateJSONBodyCompression = "stub" APIServicesOpenVPNClientCreateJSONBodyCompressionStubV2 APIServicesOpenVPNClientCreateJSONBodyCompression = "stub-v2" APIServicesOpenVPNClientCreateJSONBodyCompressionYes APIServicesOpenVPNClientCreateJSONBodyCompression = "yes" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyCompression.
type APIServicesOpenVPNClientCreateJSONBodyCreateGw ¶
type APIServicesOpenVPNClientCreateJSONBodyCreateGw string
APIServicesOpenVPNClientCreateJSONBodyCreateGw defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyCreateGwBoth APIServicesOpenVPNClientCreateJSONBodyCreateGw = "both" APIServicesOpenVPNClientCreateJSONBodyCreateGwV4only APIServicesOpenVPNClientCreateJSONBodyCreateGw = "v4only" APIServicesOpenVPNClientCreateJSONBodyCreateGwV6only APIServicesOpenVPNClientCreateJSONBodyCreateGw = "v6only" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyCreateGw.
type APIServicesOpenVPNClientCreateJSONBodyDevMode ¶
type APIServicesOpenVPNClientCreateJSONBodyDevMode string
APIServicesOpenVPNClientCreateJSONBodyDevMode defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyDevModeTap APIServicesOpenVPNClientCreateJSONBodyDevMode = "tap" APIServicesOpenVPNClientCreateJSONBodyDevModeTun APIServicesOpenVPNClientCreateJSONBodyDevMode = "tun" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyDevMode.
type APIServicesOpenVPNClientCreateJSONBodyDigest ¶
type APIServicesOpenVPNClientCreateJSONBodyDigest string
APIServicesOpenVPNClientCreateJSONBodyDigest defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyDigestBLAKE2b256 APIServicesOpenVPNClientCreateJSONBodyDigest = "BLAKE2b256" APIServicesOpenVPNClientCreateJSONBodyDigestBLAKE2b512 APIServicesOpenVPNClientCreateJSONBodyDigest = "BLAKE2b512" APIServicesOpenVPNClientCreateJSONBodyDigestMD4 APIServicesOpenVPNClientCreateJSONBodyDigest = "MD4" APIServicesOpenVPNClientCreateJSONBodyDigestMD5 APIServicesOpenVPNClientCreateJSONBodyDigest = "MD5" APIServicesOpenVPNClientCreateJSONBodyDigestMD5SHA1 APIServicesOpenVPNClientCreateJSONBodyDigest = "MD5-SHA1" APIServicesOpenVPNClientCreateJSONBodyDigestMDC2 APIServicesOpenVPNClientCreateJSONBodyDigest = "MDC2" APIServicesOpenVPNClientCreateJSONBodyDigestNone APIServicesOpenVPNClientCreateJSONBodyDigest = "none" APIServicesOpenVPNClientCreateJSONBodyDigestRIPEMD160 APIServicesOpenVPNClientCreateJSONBodyDigest = "RIPEMD160" APIServicesOpenVPNClientCreateJSONBodyDigestSHA1 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA1" APIServicesOpenVPNClientCreateJSONBodyDigestSHA224 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA224" APIServicesOpenVPNClientCreateJSONBodyDigestSHA256 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA256" APIServicesOpenVPNClientCreateJSONBodyDigestSHA3224 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA3-224" APIServicesOpenVPNClientCreateJSONBodyDigestSHA3256 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA3-256" APIServicesOpenVPNClientCreateJSONBodyDigestSHA3384 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA3-384" APIServicesOpenVPNClientCreateJSONBodyDigestSHA3512 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA3-512" APIServicesOpenVPNClientCreateJSONBodyDigestSHA384 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA384" APIServicesOpenVPNClientCreateJSONBodyDigestSHA512 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA512" APIServicesOpenVPNClientCreateJSONBodyDigestSHA512224 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA512-224" APIServicesOpenVPNClientCreateJSONBodyDigestSHA512256 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHA512-256" APIServicesOpenVPNClientCreateJSONBodyDigestSHAKE128 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHAKE128" APIServicesOpenVPNClientCreateJSONBodyDigestSHAKE256 APIServicesOpenVPNClientCreateJSONBodyDigest = "SHAKE256" APIServicesOpenVPNClientCreateJSONBodyDigestSM3 APIServicesOpenVPNClientCreateJSONBodyDigest = "SM3" APIServicesOpenVPNClientCreateJSONBodyDigestWhirlpool APIServicesOpenVPNClientCreateJSONBodyDigest = "whirlpool" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyDigest.
type APIServicesOpenVPNClientCreateJSONBodyExitNotify ¶
type APIServicesOpenVPNClientCreateJSONBodyExitNotify string
APIServicesOpenVPNClientCreateJSONBodyExitNotify defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyExitNotifyEmpty APIServicesOpenVPNClientCreateJSONBodyExitNotify = "" APIServicesOpenVPNClientCreateJSONBodyExitNotifyNone APIServicesOpenVPNClientCreateJSONBodyExitNotify = "none" APIServicesOpenVPNClientCreateJSONBodyExitNotifyOnce APIServicesOpenVPNClientCreateJSONBodyExitNotify = "once" APIServicesOpenVPNClientCreateJSONBodyExitNotifyTwice APIServicesOpenVPNClientCreateJSONBodyExitNotify = "twice" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyExitNotify.
type APIServicesOpenVPNClientCreateJSONBodyMode ¶
type APIServicesOpenVPNClientCreateJSONBodyMode string
APIServicesOpenVPNClientCreateJSONBodyMode defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyModeP2pTls APIServicesOpenVPNClientCreateJSONBodyMode = "p2p_tls" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyMode.
type APIServicesOpenVPNClientCreateJSONBodyPingAction ¶
type APIServicesOpenVPNClientCreateJSONBodyPingAction string
APIServicesOpenVPNClientCreateJSONBodyPingAction defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyPingActionPingExit APIServicesOpenVPNClientCreateJSONBodyPingAction = "ping_exit" APIServicesOpenVPNClientCreateJSONBodyPingActionPingRestart APIServicesOpenVPNClientCreateJSONBodyPingAction = "ping_restart" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyPingAction.
type APIServicesOpenVPNClientCreateJSONBodyPingMethod ¶
type APIServicesOpenVPNClientCreateJSONBodyPingMethod string
APIServicesOpenVPNClientCreateJSONBodyPingMethod defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyPingMethodKeepalive APIServicesOpenVPNClientCreateJSONBodyPingMethod = "keepalive" APIServicesOpenVPNClientCreateJSONBodyPingMethodPing APIServicesOpenVPNClientCreateJSONBodyPingMethod = "ping" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyPingMethod.
type APIServicesOpenVPNClientCreateJSONBodyProtocol ¶
type APIServicesOpenVPNClientCreateJSONBodyProtocol string
APIServicesOpenVPNClientCreateJSONBodyProtocol defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyProtocolTcp APIServicesOpenVPNClientCreateJSONBodyProtocol = "tcp" APIServicesOpenVPNClientCreateJSONBodyProtocolTcp4 APIServicesOpenVPNClientCreateJSONBodyProtocol = "tcp4" APIServicesOpenVPNClientCreateJSONBodyProtocolTcp6 APIServicesOpenVPNClientCreateJSONBodyProtocol = "tcp6" APIServicesOpenVPNClientCreateJSONBodyProtocolUdp APIServicesOpenVPNClientCreateJSONBodyProtocol = "udp" APIServicesOpenVPNClientCreateJSONBodyProtocolUdp4 APIServicesOpenVPNClientCreateJSONBodyProtocol = "udp4" APIServicesOpenVPNClientCreateJSONBodyProtocolUdp6 APIServicesOpenVPNClientCreateJSONBodyProtocol = "udp6" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyProtocol.
type APIServicesOpenVPNClientCreateJSONBodySndrcvbuf ¶
type APIServicesOpenVPNClientCreateJSONBodySndrcvbuf string
APIServicesOpenVPNClientCreateJSONBodySndrcvbuf defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodySndrcvbufDefault APIServicesOpenVPNClientCreateJSONBodySndrcvbuf = "default" APIServicesOpenVPNClientCreateJSONBodySndrcvbufN128KiB APIServicesOpenVPNClientCreateJSONBodySndrcvbuf = "128KiB" APIServicesOpenVPNClientCreateJSONBodySndrcvbufN1MiB APIServicesOpenVPNClientCreateJSONBodySndrcvbuf = "1MiB" APIServicesOpenVPNClientCreateJSONBodySndrcvbufN256KiB APIServicesOpenVPNClientCreateJSONBodySndrcvbuf = "256KiB" APIServicesOpenVPNClientCreateJSONBodySndrcvbufN2MiB APIServicesOpenVPNClientCreateJSONBodySndrcvbuf = "2MiB" APIServicesOpenVPNClientCreateJSONBodySndrcvbufN512KiB APIServicesOpenVPNClientCreateJSONBodySndrcvbuf = "512KiB" APIServicesOpenVPNClientCreateJSONBodySndrcvbufN64KiB APIServicesOpenVPNClientCreateJSONBodySndrcvbuf = "64KiB" APIServicesOpenVPNClientCreateJSONBodySndrcvbufNone APIServicesOpenVPNClientCreateJSONBodySndrcvbuf = "none" )
Defines values for APIServicesOpenVPNClientCreateJSONBodySndrcvbuf.
type APIServicesOpenVPNClientCreateJSONBodyTlsType ¶
type APIServicesOpenVPNClientCreateJSONBodyTlsType string
APIServicesOpenVPNClientCreateJSONBodyTlsType defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyTlsTypeAuth APIServicesOpenVPNClientCreateJSONBodyTlsType = "auth" APIServicesOpenVPNClientCreateJSONBodyTlsTypeCrypt APIServicesOpenVPNClientCreateJSONBodyTlsType = "crypt" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyTlsType.
type APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydir ¶
type APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydir string
APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydir defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydirBothDirections APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydir = "both-directions" APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydirDefault APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydir = "default" APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydirDirection0 APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydir = "direction-0" APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydirDirection1 APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydir = "direction-1" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyTlsauthKeydir.
type APIServicesOpenVPNClientCreateJSONBodyTopology ¶
type APIServicesOpenVPNClientCreateJSONBodyTopology string
APIServicesOpenVPNClientCreateJSONBodyTopology defines parameters for APIServicesOpenVPNClientCreate.
const ( APIServicesOpenVPNClientCreateJSONBodyTopologyNet30 APIServicesOpenVPNClientCreateJSONBodyTopology = "net30" APIServicesOpenVPNClientCreateJSONBodyTopologySubnet APIServicesOpenVPNClientCreateJSONBodyTopology = "subnet" )
Defines values for APIServicesOpenVPNClientCreateJSONBodyTopology.
type APIServicesOpenVPNClientCreateJSONBodyVerbosityLevel0 ¶
type APIServicesOpenVPNClientCreateJSONBodyVerbosityLevel0 = string
APIServicesOpenVPNClientCreateJSONBodyVerbosityLevel0 defines parameters for APIServicesOpenVPNClientCreate.
type APIServicesOpenVPNClientCreateJSONBodyVerbosityLevel1 ¶
type APIServicesOpenVPNClientCreateJSONBodyVerbosityLevel1 = int
APIServicesOpenVPNClientCreateJSONBodyVerbosityLevel1 defines parameters for APIServicesOpenVPNClientCreate.
type APIServicesOpenVPNClientCreateJSONBody_VerbosityLevel ¶
type APIServicesOpenVPNClientCreateJSONBody_VerbosityLevel struct {
// contains filtered or unexported fields
}
APIServicesOpenVPNClientCreateJSONBody_VerbosityLevel defines parameters for APIServicesOpenVPNClientCreate.
type APIServicesOpenVPNClientCreateJSONRequestBody ¶
type APIServicesOpenVPNClientCreateJSONRequestBody APIServicesOpenVPNClientCreateJSONBody
APIServicesOpenVPNClientCreateJSONRequestBody defines body for APIServicesOpenVPNClientCreate for application/json ContentType.
type APIServicesOpenVPNClientCreateResponse ¶
type APIServicesOpenVPNClientCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesOpenVPNClientCreateResponse ¶
func ParseAPIServicesOpenVPNClientCreateResponse(rsp *http.Response) (*APIServicesOpenVPNClientCreateResponse, error)
ParseAPIServicesOpenVPNClientCreateResponse parses an HTTP response from a APIServicesOpenVPNClientCreateWithResponse call
func (APIServicesOpenVPNClientCreateResponse) Status ¶
func (r APIServicesOpenVPNClientCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesOpenVPNClientCreateResponse) StatusCode ¶
func (r APIServicesOpenVPNClientCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesOpenVPNClientReadResponse ¶
type APIServicesOpenVPNClientReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesOpenVPNClientReadResponse ¶
func ParseAPIServicesOpenVPNClientReadResponse(rsp *http.Response) (*APIServicesOpenVPNClientReadResponse, error)
ParseAPIServicesOpenVPNClientReadResponse parses an HTTP response from a APIServicesOpenVPNClientReadWithResponse call
func (APIServicesOpenVPNClientReadResponse) Status ¶
func (r APIServicesOpenVPNClientReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesOpenVPNClientReadResponse) StatusCode ¶
func (r APIServicesOpenVPNClientReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesOpenVPNClientSpecificOverridesCreateJSONBody ¶
type APIServicesOpenVPNClientSpecificOverridesCreateJSONBody struct { // Block Prevents the client from connecting to this server. Do not use this option to permanently disable a client due to a compromised key or password. Use a CRL (certificate revocation list) instead. Block *bool `json:"block,omitempty"` // CommonName X.509 common name for the client certificate, or the username for VPNs utilizing password authentication. This match is case sensitive. CommonName string `json:"common_name"` // CustomOptions Additional options to add for this client specific override, separated by a semicolon. CustomOptions *string `json:"custom_options,omitempty"` // Description Description for administrative reference. Description *string `json:"description,omitempty"` // Disable Disable this override without removing it. Disable *bool `json:"disable,omitempty"` // DnsDomain Domain name for DNS to provide to the client. DnsDomain *string `json:"dns_domain,omitempty"` // DnsServers Comma-separated list of no more than 4 DNS server IP addresses (i.e. 8.8.8.8). Any more than the first four are ignored. This list is provided to the clent. DnsServers *string `json:"dns_servers,omitempty"` // LocalNetwork IPv4 server-side networks that will be accessible from this particular client. Expressed as a comma-separated list of one or more CIDR networks. // NOTE: Networks do not need to be specified here if they have already been defined on the main server configuration. LocalNetwork *string `json:"local_network,omitempty"` // LocalNetworkv6 IPv6 server-side networks that will be accessible from this particular client. Expressed as a comma-separated list of one or more IP/PREFIX networks. // NOTE: Networks do not need to be specified here if they have already been defined on the main server configuration. LocalNetworkv6 *string `json:"local_networkv6,omitempty"` // NetbiosEnable Enable NetBIOS over TCP/IP. If this option is not set, all NetBIOS-over-TCP/IP options (including WINS) will be disabled. NetbiosEnable *bool `json:"netbios_enable,omitempty"` // NetbiosNodeType Possible options: b (broadcasts), p (point-to-point name queries to a WINS server), m (broadcast then query name server), and h (query name server, then broadcast). This parameter takes a single letter either b, p, m, or h. Any other string will result in this option being set to none. NetbiosNodeType *APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeType `json:"netbios_node_type,omitempty"` // NetbiosScope NetBIOS Scope ID provides an extended naming service for NetBIOS over TCP/IP. The NetBIOS scope ID isolates NetBIOS traffic on a single network to only those nodes with the same NetBIOS scope ID. NetbiosScope *string `json:"netbios_scope,omitempty"` // NtpServers Comma-separated list of no more than 2 NTP server IP addresses. Any more than the first two are ignored. NtpServers *string `json:"ntp_servers,omitempty"` // PreventServerDefinitions Prevent this client from receiving any server-defined client settings. PreventServerDefinitions *bool `json:"prevent_server_definitions,omitempty"` // RedirectGateway Force all client generated traffic through the tunnel. RedirectGateway *bool `json:"redirect_gateway,omitempty"` // RemoteNetwork IPv4 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more CIDR ranges. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv4 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetwork *string `json:"remote_network,omitempty"` // RemoteNetworkv6 IPv6 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more IP/PREFIX networks. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv6 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetworkv6 *string `json:"remote_networkv6,omitempty"` // RemoveServerRoutes Prevent this client from receiving any server-defined routes without removing any other options. RemoveServerRoutes *bool `json:"remove_server_routes,omitempty"` // ServerList Comma separated string containing the ids of the OpenVPN servers that use this override. Omitting this activates the override for all servers. ServerList *string `json:"server_list,omitempty"` // TunnelNetwork Virtual IPv4 network used for private communications between this client and the server expressed using CIDR (e.g. 10.0.8.5/24). // With subnet topology, enter the client IP address and the subnet mask must match the IPv4 Tunnel Network on the server. // With net30 topology, the first network address of the /30 is assumed to be the server address and the second network address will be assigned to the client. TunnelNetwork *string `json:"tunnel_network,omitempty"` // TunnelNetworkv6 Virtual IPv6 network used for private communications between this client and the server expressed using prefix (e.g. 2001:db9:1:1::100/64). // Enter the client IPv6 address and prefix. The prefix must match the IPv6 Tunnel Network prefix on the server. TunnelNetworkv6 *string `json:"tunnel_networkv6,omitempty"` // WinsServers Comma-separated list of no more than 2 WINS server IP addresses. Any more than the first two are ignored. WinsServers *string `json:"wins_servers,omitempty"` }
APIServicesOpenVPNClientSpecificOverridesCreateJSONBody defines parameters for APIServicesOpenVPNClientSpecificOverridesCreate.
type APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeType ¶
type APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeType string
APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeType defines parameters for APIServicesOpenVPNClientSpecificOverridesCreate.
const ( APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeTypeB APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeType = "b" APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeTypeH APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeType = "h" APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeTypeM APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeType = "m" APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeTypeP APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeType = "p" )
Defines values for APIServicesOpenVPNClientSpecificOverridesCreateJSONBodyNetbiosNodeType.
type APIServicesOpenVPNClientSpecificOverridesCreateJSONRequestBody ¶
type APIServicesOpenVPNClientSpecificOverridesCreateJSONRequestBody APIServicesOpenVPNClientSpecificOverridesCreateJSONBody
APIServicesOpenVPNClientSpecificOverridesCreateJSONRequestBody defines body for APIServicesOpenVPNClientSpecificOverridesCreate for application/json ContentType.
type APIServicesOpenVPNClientSpecificOverridesCreateResponse ¶
type APIServicesOpenVPNClientSpecificOverridesCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesOpenVPNClientSpecificOverridesCreateResponse ¶
func ParseAPIServicesOpenVPNClientSpecificOverridesCreateResponse(rsp *http.Response) (*APIServicesOpenVPNClientSpecificOverridesCreateResponse, error)
ParseAPIServicesOpenVPNClientSpecificOverridesCreateResponse parses an HTTP response from a APIServicesOpenVPNClientSpecificOverridesCreateWithResponse call
func (APIServicesOpenVPNClientSpecificOverridesCreateResponse) Status ¶
func (r APIServicesOpenVPNClientSpecificOverridesCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesOpenVPNClientSpecificOverridesCreateResponse) StatusCode ¶
func (r APIServicesOpenVPNClientSpecificOverridesCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesOpenVPNClientSpecificOverridesDeleteParams ¶
type APIServicesOpenVPNClientSpecificOverridesDeleteParams struct { // Id ID of the client specific override to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id string `form:"id" json:"id"` }
APIServicesOpenVPNClientSpecificOverridesDeleteParams defines parameters for APIServicesOpenVPNClientSpecificOverridesDelete.
type APIServicesOpenVPNClientSpecificOverridesDeleteResponse ¶
type APIServicesOpenVPNClientSpecificOverridesDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesOpenVPNClientSpecificOverridesDeleteResponse ¶
func ParseAPIServicesOpenVPNClientSpecificOverridesDeleteResponse(rsp *http.Response) (*APIServicesOpenVPNClientSpecificOverridesDeleteResponse, error)
ParseAPIServicesOpenVPNClientSpecificOverridesDeleteResponse parses an HTTP response from a APIServicesOpenVPNClientSpecificOverridesDeleteWithResponse call
func (APIServicesOpenVPNClientSpecificOverridesDeleteResponse) Status ¶
func (r APIServicesOpenVPNClientSpecificOverridesDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesOpenVPNClientSpecificOverridesDeleteResponse) StatusCode ¶
func (r APIServicesOpenVPNClientSpecificOverridesDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesOpenVPNClientSpecificOverridesReadResponse ¶
type APIServicesOpenVPNClientSpecificOverridesReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesOpenVPNClientSpecificOverridesReadResponse ¶
func ParseAPIServicesOpenVPNClientSpecificOverridesReadResponse(rsp *http.Response) (*APIServicesOpenVPNClientSpecificOverridesReadResponse, error)
ParseAPIServicesOpenVPNClientSpecificOverridesReadResponse parses an HTTP response from a APIServicesOpenVPNClientSpecificOverridesReadWithResponse call
func (APIServicesOpenVPNClientSpecificOverridesReadResponse) Status ¶
func (r APIServicesOpenVPNClientSpecificOverridesReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesOpenVPNClientSpecificOverridesReadResponse) StatusCode ¶
func (r APIServicesOpenVPNClientSpecificOverridesReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesOpenVPNClientSpecificOverridesUpdateJSONBody ¶
type APIServicesOpenVPNClientSpecificOverridesUpdateJSONBody struct { // Block Prevents the client from connecting to this server. Do not use this option to permanently disable a client due to a compromised key or password. Use a CRL (certificate revocation list) instead. Block *bool `json:"block,omitempty"` // CommonName X.509 common name for the client certificate, or the username for VPNs utilizing password authentication. This match is case sensitive. CommonName *string `json:"common_name,omitempty"` // CustomOptions Additional options to add for this client specific override, separated by a semicolon. CustomOptions *string `json:"custom_options,omitempty"` // Description Description for administrative reference. Description *string `json:"description,omitempty"` // Disable Disable this override without removing it. Disable *bool `json:"disable,omitempty"` // DnsDomain Domain name for DNS to provide to the client. DnsDomain *string `json:"dns_domain,omitempty"` // DnsServers Comma-separated list of no more than 4 DNS server IP addresses (i.e. 8.8.8.8). Any more than the first four are ignored. This list is provided to the clent. DnsServers *string `json:"dns_servers,omitempty"` // Id ID of the client specific override to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id string `json:"id"` // LocalNetwork IPv4 server-side networks that will be accessible from this particular client. Expressed as a comma-separated list of one or more CIDR networks. // NOTE: Networks do not need to be specified here if they have already been defined on the main server configuration. LocalNetwork *string `json:"local_network,omitempty"` // LocalNetworkv6 IPv6 server-side networks that will be accessible from this particular client. Expressed as a comma-separated list of one or more IP/PREFIX networks. // NOTE: Networks do not need to be specified here if they have already been defined on the main server configuration. LocalNetworkv6 *string `json:"local_networkv6,omitempty"` // NetbiosEnable Enable NetBIOS over TCP/IP. If this option is not set, all NetBIOS-over-TCP/IP options (including WINS) will be disabled. NetbiosEnable *bool `json:"netbios_enable,omitempty"` // NetbiosNodeType Possible options: b (broadcasts), p (point-to-point name queries to a WINS server), m (broadcast then query name server), and h (query name server, then broadcast). This parameter takes a single letter either b, p, m, or h. Any other string will result in this option being set to none. NetbiosNodeType *APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeType `json:"netbios_node_type,omitempty"` // NetbiosScope NetBIOS Scope ID provides an extended naming service for NetBIOS over TCP/IP. The NetBIOS scope ID isolates NetBIOS traffic on a single network to only those nodes with the same NetBIOS scope ID. NetbiosScope *string `json:"netbios_scope,omitempty"` // NtpServers Comma-separated list of no more than 2 NTP server IP addresses. Any more than the first two are ignored. NtpServers *string `json:"ntp_servers,omitempty"` // PreventServerDefinitions Prevent this client from receiving any server-defined client settings. PreventServerDefinitions *bool `json:"prevent_server_definitions,omitempty"` // RedirectGateway Force all client generated traffic through the tunnel. RedirectGateway *bool `json:"redirect_gateway,omitempty"` // RemoteNetwork IPv4 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more CIDR ranges. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv4 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetwork *string `json:"remote_network,omitempty"` // RemoteNetworkv6 IPv6 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more IP/PREFIX networks. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv6 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetworkv6 *string `json:"remote_networkv6,omitempty"` // RemoveServerRoutes Prevent this client from receiving any server-defined routes without removing any other options. RemoveServerRoutes *bool `json:"remove_server_routes,omitempty"` // ServerList Comma separated string containing the ids of the OpenVPN servers that use this override. Omitting this activates the override for all servers. ServerList *string `json:"server_list,omitempty"` // TunnelNetwork Virtual IPv4 network used for private communications between this client and the server expressed using CIDR (e.g. 10.0.8.5/24). // With subnet topology, enter the client IP address and the subnet mask must match the IPv4 Tunnel Network on the server. // With net30 topology, the first network address of the /30 is assumed to be the server address and the second network address will be assigned to the client. TunnelNetwork *string `json:"tunnel_network,omitempty"` // TunnelNetworkv6 Virtual IPv6 network used for private communications between this client and the server expressed using prefix (e.g. 2001:db9:1:1::100/64). // Enter the client IPv6 address and prefix. The prefix must match the IPv6 Tunnel Network prefix on the server. TunnelNetworkv6 *string `json:"tunnel_networkv6,omitempty"` // WinsServers Comma-separated list of no more than 2 WINS server IP addresses. Any more than the first two are ignored. WinsServers *string `json:"wins_servers,omitempty"` }
APIServicesOpenVPNClientSpecificOverridesUpdateJSONBody defines parameters for APIServicesOpenVPNClientSpecificOverridesUpdate.
type APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeType ¶
type APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeType string
APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeType defines parameters for APIServicesOpenVPNClientSpecificOverridesUpdate.
const ( APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeTypeB APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeType = "b" APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeTypeH APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeType = "h" APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeTypeM APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeType = "m" APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeTypeP APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeType = "p" )
Defines values for APIServicesOpenVPNClientSpecificOverridesUpdateJSONBodyNetbiosNodeType.
type APIServicesOpenVPNClientSpecificOverridesUpdateJSONRequestBody ¶
type APIServicesOpenVPNClientSpecificOverridesUpdateJSONRequestBody APIServicesOpenVPNClientSpecificOverridesUpdateJSONBody
APIServicesOpenVPNClientSpecificOverridesUpdateJSONRequestBody defines body for APIServicesOpenVPNClientSpecificOverridesUpdate for application/json ContentType.
type APIServicesOpenVPNClientSpecificOverridesUpdateResponse ¶
type APIServicesOpenVPNClientSpecificOverridesUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesOpenVPNClientSpecificOverridesUpdateResponse ¶
func ParseAPIServicesOpenVPNClientSpecificOverridesUpdateResponse(rsp *http.Response) (*APIServicesOpenVPNClientSpecificOverridesUpdateResponse, error)
ParseAPIServicesOpenVPNClientSpecificOverridesUpdateResponse parses an HTTP response from a APIServicesOpenVPNClientSpecificOverridesUpdateWithResponse call
func (APIServicesOpenVPNClientSpecificOverridesUpdateResponse) Status ¶
func (r APIServicesOpenVPNClientSpecificOverridesUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesOpenVPNClientSpecificOverridesUpdateResponse) StatusCode ¶
func (r APIServicesOpenVPNClientSpecificOverridesUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesOpenVPNClientUpdateJSONBody ¶
type APIServicesOpenVPNClientUpdateJSONBody struct { // AllowCompression Controls whether or not compression is allowed on the VPN, and how it is handled. AllowCompression *APIServicesOpenVPNClientUpdateJSONBodyAllowCompression `json:"allow_compression,omitempty"` // Authmode One or more authentication servers to use when checking user credentials. This can be the Local Database (user manager) or it can be a RADIUS or LDAP server configured in the user manager. // Selecting multiple entries will use each one in turn. If authentication against an entry fails, the VPN will try the next server. It will continue this process until it has tried all selected entries. // This field is only present when using a Server Mode (`server_user` or `server_tls_user`) which requires user authentication. Authmode *string `json:"authmode,omitempty"` // Caref Specify the unique reference ID of the certificate signing authority. Caref *string `json:"caref,omitempty"` // CertDepth This option limits the valid length of a certificate chain. The default value limits a chain to One (Client+Server). With that value, if an unauthorized intermediate CA signs a certificate, certificates signed by the rogue intermediate would fail validation. In cases when the certificate stricture requires chaining with intermediates, raise this limit to accommodate the longest allowed chain. CertDepth *APIServicesOpenVPNClientUpdateJSONBodyCertDepth `json:"cert_depth,omitempty"` // Certref The certificate used by the VPN instance to identify itself to peers. This certificate must contain appropriate properties marking it as a server certificate and not a user or client certificate. // Specify the unique reference ID of the certificate revocation list. Certref *string `json:"certref,omitempty"` // Client2client This option controls whether or not connected clients are able to communicate with one another. To allow this behavior, check the option. When unchecked, clients can only send traffic to the server or destinations beyond the server such as routed networks or the Internet. Client2client *bool `json:"client2client,omitempty"` // Compression Compression to be used with this VPN instance. This is only necessary for `allow_compression` set to `yes` or `asym`. Compression can potentially dangerous and insecure. Deprecated. Compress tunnel packets using the LZO algorithm. Compression *APIServicesOpenVPNClientUpdateJSONBodyCompression `json:"compression,omitempty"` // CompressionPush Push the selected Compression setting to connecting clients. This is only necessary for `allow_compression` set to `yes` or `asym`. CompressionPush *bool `json:"compression_push,omitempty"` // ConcurrentConnections Specifies the number of clients that may be simultaneously connected to this OpenVPN server instance at any given time. ConcurrentConnections *int `json:"concurrent_connections,omitempty"` // CreateGw If you assign a virtual interface to this OpenVPN server, this setting controls which gateway types will be created. CreateGw *APIServicesOpenVPNClientUpdateJSONBodyCreateGw `json:"create_gw,omitempty"` // Crlref This optional field is for the Certificate Revocation List (CRL) this tunnel will use to check the validity of peer certificates. // A CRL is a list of certificates signed by a CA which are no longer valid. This could be due to a certificate being compromised or lost, such as from a stolen laptop, spyware infection, etc. // Specify the unique reference ID of the certificate. Crlref *string `json:"crlref,omitempty"` // CustomOptions Custom options may be added in using the Custom option box separated by a semicolon (;) and the firewall will pass the custom directives to OpenVPN. CustomOptions *string `json:"custom_options,omitempty"` // DataCiphers These options define the cryptographic ciphers OpenVPN will use for this VPN. Enter comma sepereted data encryption algorithms (e.g. `AES-256-GCM,AES-128-GCM,CHACHA20-POLY1305`). Data encryption algorithms will be truncated to 19. DataCiphers *string `json:"data_ciphers,omitempty"` // DataCiphersFallback Enter fallback data encryption algorithm. DataCiphersFallback *string `json:"data_ciphers_fallback,omitempty"` // Description Enter a description for this VPN instance, for reference. Description *string `json:"description,omitempty"` // DevMode OpenVPN can run in one of two device modes. DevMode *APIServicesOpenVPNClientUpdateJSONBodyDevMode `json:"dev_mode,omitempty"` // DhLength The Diffie-Hellman (DH) key exchange parameters are used for establishing a secure communications channel. They may be regenerated at any time, and they are not specific to an OpenVPN instance. When importing an existing OpenVPN configuration these parameters do not need to be copied from the previous server nor does it require generating new parameters. The length of the desired DH parameters may be chosen from the drop-down box, either 1024, 2048, or 4096. There is an additional choice for ECDH Only which disables traditional DH parameters and uses only ECDH. DhLength *APIServicesOpenVPNClientUpdateJSONBody_DhLength `json:"dh_length,omitempty"` // Digest Selects the message digest algorithm OpenVPN uses for HMAC authentication of incoming packets. This is used for the data channel and if also for the control channel when the tunnel uses a TLS key. The GUI default of SHA256 is a good balance of security and speed. // When using AEAD ciphers such as AES-GCM, OpenVPN ignores this value for the data channel since AEAD ciphers already perform authentication. Even with an AEAD cipher, OpenVPN still uses this algorithm to authenticate the control channel when the tunnel uses a TLS key. Digest *APIServicesOpenVPNClientUpdateJSONBodyDigest `json:"digest,omitempty"` // Disable Disable this override without removing it. Disable *bool `json:"disable,omitempty"` // DnsDomain Configures a default domain name which clients will append to DNS requests. This can be helpful to ensure name resolution works properly for hosts on the local network where DNS name resolution is used. DnsDomain *string `json:"dns_domain,omitempty"` // DnsServers Comma-separated list of no more than 4 DNS server IP addresses (i.e. 8.8.8.8). Any more than the first four are ignored. This list is provided to the clent. DnsServers *string `json:"dns_servers,omitempty"` // DuplicateCn Controls whether or not OpenVPN will allow multiple connections from the same user to work simultaneously. This is only necessary for mode `p2p_shared_key`. DuplicateCn *bool `json:"duplicate_cn,omitempty"` // DynamicIp For clients on Internet connections where the IP address changes frequently, or mobile users who commonly move between different Internet connections, check this option for more stable connectivity. Where the client IP address is static or rarely changes, not using this option offers a small security improvement. DynamicIp *bool `json:"dynamic_ip,omitempty"` // EcdhCurve Configures a specific elliptic curve to use for Elliptic Curve Diffie-Hellman key exchanges. This is only for use with ECDH TLS encryption. EcdhCurve *APIServicesOpenVPNClientUpdateJSONBodyEcdhCurve `json:"ecdh_curve,omitempty"` // Engine If available, this option controls which hardware cryptographic accelerator will be used by OpenVPN. When left unspecified, OpenVPN will choose automatically based on what is available in the operating system to accelerate ciphers OpenVPN wants to use. // Some hardware acceleration, such as AES-NI, happens automatically in OpenVPN via OpenSSL and cannot be enabled or disabled by this option. // Enter Hardware crypto. Options are `none` and any enabled hardware crypto. Engine *string `json:"engine,omitempty"` // ExitNotify Controls whether or not OpenVPN will send an explicit exit notification to connected UDP clients or peers when restarting or shutting down. This notification allows peers to immediately disconnect rather than wait for a timeout. This is only relevant to UDP modes as TCP natively supports closing connections. ExitNotify *APIServicesOpenVPNClientUpdateJSONBodyExitNotify `json:"exit_notify,omitempty"` // InactiveSeconds The amount of time, in seconds, which a client can be inactive before OpenVPN disconnects it for inactivity. OpenVPN bases activity on the last incoming or outgoing data channel packet, not control channel packets. // `0` disables this feature. InactiveSeconds *int `json:"inactive_seconds,omitempty"` // Interface Selects the interface, VIP, or failover group that the OpenVPN instance will use when communicating with peers. This also controls which interface the traffic from the instance will exit. VIP can be provided as description, subnet or uniqid. Failover group can be provided as group name. // _Note: If you are using a failover group, the failover group must be configured to use the same_. Interface *string `json:"interface,omitempty"` // KeepaliveInterval Enter keepalive interval. KeepaliveInterval *int `json:"keepalive_interval,omitempty"` // KeepaliveTimeout Enter keepalive timeout. KeepaliveTimeout *int `json:"keepalive_timeout,omitempty"` // LocalNetwork IPv4 server-side networks that will be accessible from this particular client. Expressed as a comma-separated list of one or more CIDR networks. // NOTE: Networks do not need to be specified here if they have already been defined on the main server configuration. LocalNetwork *string `json:"local_network,omitempty"` // LocalNetworkv6 IPv6 server-side networks that will be accessible from this particular client. Expressed as a comma-separated list of one or more IP/PREFIX networks. // NOTE: Networks do not need to be specified here if they have already been defined on the main server configuration. LocalNetworkv6 *string `json:"local_networkv6,omitempty"` // LocalPort The port number upon which OpenVPN will listen for incoming connections from peers. Firewall rules must allow traffic to this port and this port must be specified in the client configuration. // The port for each server must be unique for each interface when using a standard UDP or TCP Protocol choice and must be globally unique if using a multihome Protocol. // Omitting this will default to next available port. LocalPort *int `json:"local_port,omitempty"` // Mode The role for the server, which specifies how peers connect to a server instance. Changing this also affects which options the GUI displays on the rest of the page. Mode *APIServicesOpenVPNClientUpdateJSONBodyMode `json:"mode,omitempty"` // NcpEnable Enable Data Encryption Negotiation. Disabling this feature is deprecated. Omitting will enable. NcpEnable *bool `json:"ncp_enable,omitempty"` // NetbiosEnable Enable NetBIOS over TCP/IP. If this option is not set, all NetBIOS-over-TCP/IP options (including WINS) will be disabled. NetbiosEnable *bool `json:"netbios_enable,omitempty"` // NetbiosNodeType Possible options: b (broadcasts), p (point-to-point name queries to a WINS server), m (broadcast then query name server), and h (query name server, then broadcast). This parameter takes a single letter either b, p, m, or h. Any other string will result in this option being set to none. NetbiosNodeType *APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeType `json:"netbios_node_type,omitempty"` // NetbiosScope NetBIOS Scope ID provides an extended naming service for NetBIOS over TCP/IP. The NetBIOS scope ID isolates NetBIOS traffic on a single network to only those nodes with the same NetBIOS scope ID. NetbiosScope *string `json:"netbios_scope,omitempty"` // NtpServers Comma-separated list of no more than 2 NTP server IP addresses. Any more than the first two are ignored. NtpServers *string `json:"ntp_servers,omitempty"` // Ocspcheck When set, OpenVPN will attempt to confirm client certificate validity using Online Certificate Status Protocol (OCSP) against the site listed in the OCSP URL field. Ocspcheck *bool `json:"ocspcheck,omitempty"` // Ocspurl Enter OCSP URL. This is only necessary for `ocspcheck`. Ocspurl *string `json:"ocspurl,omitempty"` // Passtos When this option is enabled OpenVPN sets the Type-of-Service (TOS) IP header value of tunnel packets to match the encapsulated packet value. This may cause important traffic to be handled faster over the tunnel by intermediate hops at the cost of minor information disclosure. Passtos *bool `json:"passtos,omitempty"` // PingAction Exit or restart OpenVPN after timeout from remote. This is only necessary for `ping` method. PingAction *APIServicesOpenVPNClientUpdateJSONBodyPingAction `json:"ping_action,omitempty"` // PingActionPush Push ping-restart/ping-exit to VPN client. This is only necessary for `ping` method. PingActionPush *bool `json:"ping_action_push,omitempty"` // PingActionSeconds Enter ping action seconds. This is only necessary for `ping` method. PingActionSeconds *int `json:"ping_action_seconds,omitempty"` // PingMethod The Ping Method controls OpenVPN monitoring of peers through the control channel and how it deals with unresponsive peers. PingMethod *APIServicesOpenVPNClientUpdateJSONBodyPingMethod `json:"ping_method,omitempty"` // PingPush Push ping to VPN client. This is only necessary for `ping` method. PingPush *bool `json:"ping_push,omitempty"` // PingSeconds Enter ping seconds. This is only necessary for `ping` method. PingSeconds *int `json:"ping_seconds,omitempty"` // Protocol The IP protocol clients will use to connect to this VPN. Protocol *APIServicesOpenVPNClientUpdateJSONBodyProtocol `json:"protocol,omitempty"` // PushBlockoutsidedns Make Windows 10 Clients Block access to DNS servers except across OpenVPN while connected, forcing clients to use only VPN DNS servers. PushBlockoutsidedns *bool `json:"push_blockoutsidedns,omitempty"` // PushRegisterDns Run "net stop dnscache", "net start dnscache", "ipconfig /flushdns" and "ipconfig /registerdns" on connection initiation. PushRegisterDns *bool `json:"push_register_dns,omitempty"` // RedirectGateway When a Redirect IPv4 Gateway option is selected the server pushes a message to clients instructing them to forward all traffic for that address family, including Internet traffic, over the VPN tunnel. RedirectGateway *bool `json:"redirect_gateway,omitempty"` // RedirectGateway6 When a Redirect IPv6 Gateway option is selected the server pushes a message to clients instructing them to forward all traffic for that address family, including Internet traffic, over the VPN tunnel. RedirectGateway6 *bool `json:"redirect_gateway6,omitempty"` // RemoteNetwork IPv4 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more CIDR ranges. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv4 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetwork *string `json:"remote_network,omitempty"` // RemoteNetworkv6 IPv6 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more IP/PREFIX networks. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv6 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetworkv6 *string `json:"remote_networkv6,omitempty"` // ServerbridgeDhcp When using `tap` mode for a remote access SSL/TLS VPN, (`server_tls`, `server_user`, `server_tls_user`), additional options to control bridging behavior in OpenVPN and client address assignment. // When selected, OpenVPN passes through DHCP to the bridged. In the most common scenario, this is LAN. // Using this method connecting clients receive IP addresses from the same DHCP pool used by clients on the LAN. ServerbridgeDhcp *string `json:"serverbridge_dhcp,omitempty"` // ServerbridgeDhcpEnd Defines a DHCP range from which OpenVPN can assign addresses to clients. If these settings are left blank, OpenVPN passes DHCP through to the bridge interface and it ignores the interface setting above. // When set, this range should be within the same subnet as the Bridge Interface (`serverbridge_interface`) but it should not overlap an existing in-use portion of the subnet, such as the current DHCP pool. // This allows a range of IP addresses to be set aside for use only by OpenVPN clients so they may be contained within a portion of the internal network rather than consuming IP addresses from the existing DHCP pool. ServerbridgeDhcpEnd *string `json:"serverbridge_dhcp_end,omitempty"` // ServerbridgeDhcpStart Defines a DHCP range from which OpenVPN can assign addresses to clients. If these settings are left blank, OpenVPN passes DHCP through to the bridge interface and it ignores the interface setting above. // When set, this range should be within the same subnet as the Bridge Interface (`serverbridge_interface`) but it should not overlap an existing in-use portion of the subnet, such as the current DHCP pool. // This allows a range of IP addresses to be set aside for use only by OpenVPN clients so they may be contained within a portion of the internal network rather than consuming IP addresses from the existing DHCP pool. ServerbridgeDhcpStart *string `json:"serverbridge_dhcp_start,omitempty"` // ServerbridgeInterface This setting indicates to OpenVPN which interface will be used for the bridge. In most cases this is LAN. This option controls which existing IP address and subnet mask are used by OpenVPN for the bridge. Setting this to none will cause the Server Bridge DHCP (`serverbridge_dhcp_start`, `serverbridge_dhcp_end`) settings below to be ignored. ServerbridgeInterface *APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterface `json:"serverbridge_interface,omitempty"` // ServerbridgeRoutegateway Makes OpenVPN push the Bridge Interface IPv4 address to connecting clients as a route gateway. // When the IPv4 Tunnel Network in OpenVPN is empty for a bridged VPN, connecting clients cannot automatically determine a server-side gateway for use with routes pushed to clients by the server. ServerbridgeRoutegateway *bool `json:"serverbridge_routegateway,omitempty"` SharedKey *string `json:"shared_key,omitempty"` // Sndrcvbuf Configures a Send and Receive Buffer size for OpenVPN. The default buffer size can be too small in many cases, depending on hardware and network uplink speeds. Finding the best buffer size can take experimentation. To test the best value for a site, start at 512KiB and test higher and lower values until testing results in peak performance. Sndrcvbuf *APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf `json:"sndrcvbuf,omitempty"` // Strictusercn Controls whether the firewall will enforce a strict match between the username supplied by the user and the Common Name of their user certificate when the firewall authenticates a user. When enabled, authentication fails if the two values do not match. // This prevents users from using their own credentials with the certificate from a different user and vice versa. // This is only necessary for mode `server_tls_user`. Omitting will disable. Strictusercn *bool `json:"strictusercn,omitempty"` // Tls TLS, or Transport Layer Security, can provide session authentication and encryption to ensure the validity of peers and to protect the control channel. Paste the TLS key. This is not necessary for mode `p2p_shared_key`. Options are `""` or `true` for automatic TLS key generation, `false` to disable TLS or a raw TLS key as a string. Omitting disable TLS configuration. Tls *string `json:"tls,omitempty"` // TlsType Enter TLS Key Usage Mode. This is not necessary for mode `p2p_shared_key`. TlsType *APIServicesOpenVPNClientUpdateJSONBodyTlsType `json:"tls_type,omitempty"` // TlsauthKeydir The direction in which this VPN endpoint uses the TLS key. The TLS Key Direction must be set to complementary values on the server and clients. The default behavior uses 0 on server instances and 1 on client instances. // Enter TLS keydir direction. This is not necessary for mode `p2p_shared_key`. TlsauthKeydir *APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydir `json:"tlsauth_keydir,omitempty"` // Topology Sets the method OpenVPN uses to allocate addresses for clients in a client/server setup on tun device mode VPNs. The Topology option is relevant only when supplying a virtual adapter IP address to clients using tun mode on IPv4. Some clients may require this even for IPv6, such as OpenVPN Connect, though in reality IPv6 always runs with a subnet topology even when IPv4 uses net30. OpenVPN instances using tap mode always use subnet topology as well. Topology *APIServicesOpenVPNClientUpdateJSONBodyTopology `json:"topology,omitempty"` // TunnelNetwork Virtual IPv4 network used for private communications between this client and the server expressed using CIDR (e.g. 10.0.8.5/24). // With subnet topology, enter the client IP address and the subnet mask must match the IPv4 Tunnel Network on the server. // With net30 topology, the first network address of the /30 is assumed to be the server address and the second network address will be assigned to the client. TunnelNetwork *string `json:"tunnel_network,omitempty"` // TunnelNetworkv6 Virtual IPv6 network used for private communications between this client and the server expressed using prefix (e.g. 2001:db9:1:1::100/64). // Enter the client IPv6 address and prefix. The prefix must match the IPv6 Tunnel Network prefix on the server. TunnelNetworkv6 *string `json:"tunnel_networkv6,omitempty"` // UdpFastIo Controls whether or not OpenVPN will use fast I/O operations with UDP writes to its tun or tap device. This behavior optimizes the packet write event loop, improving CPU efficiency by 5% to 10%. Experimental. UdpFastIo *bool `json:"udp_fast_io,omitempty"` // UsernameAsCommonName Controls whether or not OpenVPN will use the username given by the client in place of the certificate common name (CN) for purposes such as determining Client Specific Overrides. This is only relevant when user authentication is enabled. This is typically the best practice, but not a requirement. // This is only necessary for mode `server_user` or `server_tls_user`. UsernameAsCommonName *bool `json:"username_as_common_name,omitempty"` // VerbosityLevel Configures the amount of detail OpenVPN will log for this instance, which is useful for troubleshooting problems. Higher numbers will result in higher amounts of detail in the log. During normal operation the default selection is ideal. Level `3` is recommended for a good summary of what's happening without being swamped by output. Maximum level `11`. The `default` setting is equivalent to level `1`. VerbosityLevel *APIServicesOpenVPNClientUpdateJSONBody_VerbosityLevel `json:"verbosity_level,omitempty"` // Vpnid This id indicates the id of the client you want to delete. This id is static and not an index of an entry in the config array. Best to first get all clients and get the id of the one you want to delete before calling this endpoint. Vpnid string `json:"vpnid"` // WinsServers Comma-separated list of no more than 2 WINS server IP addresses. Any more than the first two are ignored. WinsServers *string `json:"wins_servers,omitempty"` }
APIServicesOpenVPNClientUpdateJSONBody defines parameters for APIServicesOpenVPNClientUpdate.
type APIServicesOpenVPNClientUpdateJSONBodyAllowCompression ¶
type APIServicesOpenVPNClientUpdateJSONBodyAllowCompression string
APIServicesOpenVPNClientUpdateJSONBodyAllowCompression defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyAllowCompressionAsym APIServicesOpenVPNClientUpdateJSONBodyAllowCompression = "asym" APIServicesOpenVPNClientUpdateJSONBodyAllowCompressionNo APIServicesOpenVPNClientUpdateJSONBodyAllowCompression = "no" APIServicesOpenVPNClientUpdateJSONBodyAllowCompressionYes APIServicesOpenVPNClientUpdateJSONBodyAllowCompression = "yes" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyAllowCompression.
type APIServicesOpenVPNClientUpdateJSONBodyCertDepth ¶
type APIServicesOpenVPNClientUpdateJSONBodyCertDepth string
APIServicesOpenVPNClientUpdateJSONBodyCertDepth defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyCertDepthFive APIServicesOpenVPNClientUpdateJSONBodyCertDepth = "five" APIServicesOpenVPNClientUpdateJSONBodyCertDepthFour APIServicesOpenVPNClientUpdateJSONBodyCertDepth = "four" APIServicesOpenVPNClientUpdateJSONBodyCertDepthNone APIServicesOpenVPNClientUpdateJSONBodyCertDepth = "none" APIServicesOpenVPNClientUpdateJSONBodyCertDepthOne APIServicesOpenVPNClientUpdateJSONBodyCertDepth = "one" APIServicesOpenVPNClientUpdateJSONBodyCertDepthThree APIServicesOpenVPNClientUpdateJSONBodyCertDepth = "three" APIServicesOpenVPNClientUpdateJSONBodyCertDepthTwo APIServicesOpenVPNClientUpdateJSONBodyCertDepth = "two" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyCertDepth.
type APIServicesOpenVPNClientUpdateJSONBodyCompression ¶
type APIServicesOpenVPNClientUpdateJSONBodyCompression string
APIServicesOpenVPNClientUpdateJSONBodyCompression defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyCompressionAdaptive APIServicesOpenVPNClientUpdateJSONBodyCompression = "adaptive" APIServicesOpenVPNClientUpdateJSONBodyCompressionLz4 APIServicesOpenVPNClientUpdateJSONBodyCompression = "lz4" APIServicesOpenVPNClientUpdateJSONBodyCompressionLz4V2 APIServicesOpenVPNClientUpdateJSONBodyCompression = "lz4-v2" APIServicesOpenVPNClientUpdateJSONBodyCompressionLzo APIServicesOpenVPNClientUpdateJSONBodyCompression = "lzo" APIServicesOpenVPNClientUpdateJSONBodyCompressionNo APIServicesOpenVPNClientUpdateJSONBodyCompression = "no" APIServicesOpenVPNClientUpdateJSONBodyCompressionNoadapt APIServicesOpenVPNClientUpdateJSONBodyCompression = "noadapt" APIServicesOpenVPNClientUpdateJSONBodyCompressionNone APIServicesOpenVPNClientUpdateJSONBodyCompression = "none" APIServicesOpenVPNClientUpdateJSONBodyCompressionStub APIServicesOpenVPNClientUpdateJSONBodyCompression = "stub" APIServicesOpenVPNClientUpdateJSONBodyCompressionStubV2 APIServicesOpenVPNClientUpdateJSONBodyCompression = "stub-v2" APIServicesOpenVPNClientUpdateJSONBodyCompressionYes APIServicesOpenVPNClientUpdateJSONBodyCompression = "yes" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyCompression.
type APIServicesOpenVPNClientUpdateJSONBodyCreateGw ¶
type APIServicesOpenVPNClientUpdateJSONBodyCreateGw string
APIServicesOpenVPNClientUpdateJSONBodyCreateGw defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyCreateGwBoth APIServicesOpenVPNClientUpdateJSONBodyCreateGw = "both" APIServicesOpenVPNClientUpdateJSONBodyCreateGwV4only APIServicesOpenVPNClientUpdateJSONBodyCreateGw = "v4only" APIServicesOpenVPNClientUpdateJSONBodyCreateGwV6only APIServicesOpenVPNClientUpdateJSONBodyCreateGw = "v6only" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyCreateGw.
type APIServicesOpenVPNClientUpdateJSONBodyDevMode ¶
type APIServicesOpenVPNClientUpdateJSONBodyDevMode string
APIServicesOpenVPNClientUpdateJSONBodyDevMode defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyDevModeTap APIServicesOpenVPNClientUpdateJSONBodyDevMode = "tap" APIServicesOpenVPNClientUpdateJSONBodyDevModeTun APIServicesOpenVPNClientUpdateJSONBodyDevMode = "tun" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyDevMode.
type APIServicesOpenVPNClientUpdateJSONBodyDhLength0 ¶
type APIServicesOpenVPNClientUpdateJSONBodyDhLength0 = string
APIServicesOpenVPNClientUpdateJSONBodyDhLength0 defines parameters for APIServicesOpenVPNClientUpdate.
type APIServicesOpenVPNClientUpdateJSONBodyDhLength1 ¶
type APIServicesOpenVPNClientUpdateJSONBodyDhLength1 = int
APIServicesOpenVPNClientUpdateJSONBodyDhLength1 defines parameters for APIServicesOpenVPNClientUpdate.
type APIServicesOpenVPNClientUpdateJSONBodyDigest ¶
type APIServicesOpenVPNClientUpdateJSONBodyDigest string
APIServicesOpenVPNClientUpdateJSONBodyDigest defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyDigestBLAKE2b256 APIServicesOpenVPNClientUpdateJSONBodyDigest = "BLAKE2b256" APIServicesOpenVPNClientUpdateJSONBodyDigestBLAKE2b512 APIServicesOpenVPNClientUpdateJSONBodyDigest = "BLAKE2b512" APIServicesOpenVPNClientUpdateJSONBodyDigestMD4 APIServicesOpenVPNClientUpdateJSONBodyDigest = "MD4" APIServicesOpenVPNClientUpdateJSONBodyDigestMD5 APIServicesOpenVPNClientUpdateJSONBodyDigest = "MD5" APIServicesOpenVPNClientUpdateJSONBodyDigestMD5SHA1 APIServicesOpenVPNClientUpdateJSONBodyDigest = "MD5-SHA1" APIServicesOpenVPNClientUpdateJSONBodyDigestMDC2 APIServicesOpenVPNClientUpdateJSONBodyDigest = "MDC2" APIServicesOpenVPNClientUpdateJSONBodyDigestNone APIServicesOpenVPNClientUpdateJSONBodyDigest = "none" APIServicesOpenVPNClientUpdateJSONBodyDigestRIPEMD160 APIServicesOpenVPNClientUpdateJSONBodyDigest = "RIPEMD160" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA1 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA1" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA224 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA224" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA256 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA256" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA3224 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA3-224" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA3256 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA3-256" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA3384 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA3-384" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA3512 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA3-512" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA384 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA384" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA512 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA512" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA512224 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA512-224" APIServicesOpenVPNClientUpdateJSONBodyDigestSHA512256 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHA512-256" APIServicesOpenVPNClientUpdateJSONBodyDigestSHAKE128 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHAKE128" APIServicesOpenVPNClientUpdateJSONBodyDigestSHAKE256 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SHAKE256" APIServicesOpenVPNClientUpdateJSONBodyDigestSM3 APIServicesOpenVPNClientUpdateJSONBodyDigest = "SM3" APIServicesOpenVPNClientUpdateJSONBodyDigestWhirlpool APIServicesOpenVPNClientUpdateJSONBodyDigest = "whirlpool" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyDigest.
type APIServicesOpenVPNClientUpdateJSONBodyEcdhCurve ¶
type APIServicesOpenVPNClientUpdateJSONBodyEcdhCurve string
APIServicesOpenVPNClientUpdateJSONBodyEcdhCurve defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyEcdhCurveNone APIServicesOpenVPNClientUpdateJSONBodyEcdhCurve = "none" APIServicesOpenVPNClientUpdateJSONBodyEcdhCurvePrime256v1 APIServicesOpenVPNClientUpdateJSONBodyEcdhCurve = "prime256v1" APIServicesOpenVPNClientUpdateJSONBodyEcdhCurveSecp384r1 APIServicesOpenVPNClientUpdateJSONBodyEcdhCurve = "secp384r1" APIServicesOpenVPNClientUpdateJSONBodyEcdhCurveSecp521r1 APIServicesOpenVPNClientUpdateJSONBodyEcdhCurve = "secp521r1" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyEcdhCurve.
type APIServicesOpenVPNClientUpdateJSONBodyExitNotify ¶
type APIServicesOpenVPNClientUpdateJSONBodyExitNotify string
APIServicesOpenVPNClientUpdateJSONBodyExitNotify defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyExitNotifyEmpty APIServicesOpenVPNClientUpdateJSONBodyExitNotify = "" APIServicesOpenVPNClientUpdateJSONBodyExitNotifyNone APIServicesOpenVPNClientUpdateJSONBodyExitNotify = "none" APIServicesOpenVPNClientUpdateJSONBodyExitNotifyOnce APIServicesOpenVPNClientUpdateJSONBodyExitNotify = "once" APIServicesOpenVPNClientUpdateJSONBodyExitNotifyTwice APIServicesOpenVPNClientUpdateJSONBodyExitNotify = "twice" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyExitNotify.
type APIServicesOpenVPNClientUpdateJSONBodyMode ¶
type APIServicesOpenVPNClientUpdateJSONBodyMode string
APIServicesOpenVPNClientUpdateJSONBodyMode defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyModeP2pTls APIServicesOpenVPNClientUpdateJSONBodyMode = "p2p_tls" APIServicesOpenVPNClientUpdateJSONBodyModeServerTls APIServicesOpenVPNClientUpdateJSONBodyMode = "server_tls" APIServicesOpenVPNClientUpdateJSONBodyModeServerTlsUser APIServicesOpenVPNClientUpdateJSONBodyMode = "server_tls_user" APIServicesOpenVPNClientUpdateJSONBodyModeServerUser APIServicesOpenVPNClientUpdateJSONBodyMode = "server_user" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyMode.
type APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeType ¶
type APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeType string
APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeType defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeTypeB APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeType = "b" APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeTypeH APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeType = "h" APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeTypeM APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeType = "m" APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeTypeP APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeType = "p" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyNetbiosNodeType.
type APIServicesOpenVPNClientUpdateJSONBodyPingAction ¶
type APIServicesOpenVPNClientUpdateJSONBodyPingAction string
APIServicesOpenVPNClientUpdateJSONBodyPingAction defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyPingActionPingExit APIServicesOpenVPNClientUpdateJSONBodyPingAction = "ping_exit" APIServicesOpenVPNClientUpdateJSONBodyPingActionPingRestart APIServicesOpenVPNClientUpdateJSONBodyPingAction = "ping_restart" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyPingAction.
type APIServicesOpenVPNClientUpdateJSONBodyPingMethod ¶
type APIServicesOpenVPNClientUpdateJSONBodyPingMethod string
APIServicesOpenVPNClientUpdateJSONBodyPingMethod defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyPingMethodKeepalive APIServicesOpenVPNClientUpdateJSONBodyPingMethod = "keepalive" APIServicesOpenVPNClientUpdateJSONBodyPingMethodPing APIServicesOpenVPNClientUpdateJSONBodyPingMethod = "ping" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyPingMethod.
type APIServicesOpenVPNClientUpdateJSONBodyProtocol ¶
type APIServicesOpenVPNClientUpdateJSONBodyProtocol string
APIServicesOpenVPNClientUpdateJSONBodyProtocol defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyProtocolTcp APIServicesOpenVPNClientUpdateJSONBodyProtocol = "tcp" APIServicesOpenVPNClientUpdateJSONBodyProtocolTcp4 APIServicesOpenVPNClientUpdateJSONBodyProtocol = "tcp4" APIServicesOpenVPNClientUpdateJSONBodyProtocolTcp6 APIServicesOpenVPNClientUpdateJSONBodyProtocol = "tcp6" APIServicesOpenVPNClientUpdateJSONBodyProtocolUdp APIServicesOpenVPNClientUpdateJSONBodyProtocol = "udp" APIServicesOpenVPNClientUpdateJSONBodyProtocolUdp4 APIServicesOpenVPNClientUpdateJSONBodyProtocol = "udp4" APIServicesOpenVPNClientUpdateJSONBodyProtocolUdp6 APIServicesOpenVPNClientUpdateJSONBodyProtocol = "udp6" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyProtocol.
type APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterface ¶
type APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterface string
APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterface defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterfaceLan APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterface = "lan" APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterfaceNone APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterface = "none" APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterfaceWan APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterface = "wan" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyServerbridgeInterface.
type APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf ¶
type APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf string
APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodySndrcvbufDefault APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf = "default" APIServicesOpenVPNClientUpdateJSONBodySndrcvbufN128KiB APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf = "128KiB" APIServicesOpenVPNClientUpdateJSONBodySndrcvbufN1MiB APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf = "1MiB" APIServicesOpenVPNClientUpdateJSONBodySndrcvbufN256KiB APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf = "256KiB" APIServicesOpenVPNClientUpdateJSONBodySndrcvbufN2MiB APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf = "2MiB" APIServicesOpenVPNClientUpdateJSONBodySndrcvbufN512KiB APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf = "512KiB" APIServicesOpenVPNClientUpdateJSONBodySndrcvbufN64KiB APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf = "64KiB" APIServicesOpenVPNClientUpdateJSONBodySndrcvbufNone APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf = "none" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodySndrcvbuf.
type APIServicesOpenVPNClientUpdateJSONBodyTlsType ¶
type APIServicesOpenVPNClientUpdateJSONBodyTlsType string
APIServicesOpenVPNClientUpdateJSONBodyTlsType defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyTlsTypeAuth APIServicesOpenVPNClientUpdateJSONBodyTlsType = "auth" APIServicesOpenVPNClientUpdateJSONBodyTlsTypeCrypt APIServicesOpenVPNClientUpdateJSONBodyTlsType = "crypt" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyTlsType.
type APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydir ¶
type APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydir string
APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydir defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydirBothDirections APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydir = "both-directions" APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydirDefault APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydir = "default" APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydirDirection0 APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydir = "direction-0" APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydirDirection1 APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydir = "direction-1" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyTlsauthKeydir.
type APIServicesOpenVPNClientUpdateJSONBodyTopology ¶
type APIServicesOpenVPNClientUpdateJSONBodyTopology string
APIServicesOpenVPNClientUpdateJSONBodyTopology defines parameters for APIServicesOpenVPNClientUpdate.
const ( APIServicesOpenVPNClientUpdateJSONBodyTopologyNet30 APIServicesOpenVPNClientUpdateJSONBodyTopology = "net30" APIServicesOpenVPNClientUpdateJSONBodyTopologySubnet APIServicesOpenVPNClientUpdateJSONBodyTopology = "subnet" )
Defines values for APIServicesOpenVPNClientUpdateJSONBodyTopology.
type APIServicesOpenVPNClientUpdateJSONBodyVerbosityLevel0 ¶
type APIServicesOpenVPNClientUpdateJSONBodyVerbosityLevel0 = string
APIServicesOpenVPNClientUpdateJSONBodyVerbosityLevel0 defines parameters for APIServicesOpenVPNClientUpdate.
type APIServicesOpenVPNClientUpdateJSONBodyVerbosityLevel1 ¶
type APIServicesOpenVPNClientUpdateJSONBodyVerbosityLevel1 = int
APIServicesOpenVPNClientUpdateJSONBodyVerbosityLevel1 defines parameters for APIServicesOpenVPNClientUpdate.
type APIServicesOpenVPNClientUpdateJSONBody_DhLength ¶
type APIServicesOpenVPNClientUpdateJSONBody_DhLength struct {
// contains filtered or unexported fields
}
APIServicesOpenVPNClientUpdateJSONBody_DhLength defines parameters for APIServicesOpenVPNClientUpdate.
type APIServicesOpenVPNClientUpdateJSONBody_VerbosityLevel ¶
type APIServicesOpenVPNClientUpdateJSONBody_VerbosityLevel struct {
// contains filtered or unexported fields
}
APIServicesOpenVPNClientUpdateJSONBody_VerbosityLevel defines parameters for APIServicesOpenVPNClientUpdate.
type APIServicesOpenVPNClientUpdateJSONRequestBody ¶
type APIServicesOpenVPNClientUpdateJSONRequestBody APIServicesOpenVPNClientUpdateJSONBody
APIServicesOpenVPNClientUpdateJSONRequestBody defines body for APIServicesOpenVPNClientUpdate for application/json ContentType.
type APIServicesOpenVPNClientUpdateParams ¶
type APIServicesOpenVPNClientUpdateParams struct { // Vpnid This id indicates the id of the client you want to delete. This id is static and not an index of an entry in the config array. Best to first get all clients and get the id of the one you want to delete before calling this endpoint. Vpnid struct { // contains filtered or unexported fields } `form:"vpnid" json:"vpnid"` }
APIServicesOpenVPNClientUpdateParams defines parameters for APIServicesOpenVPNClientUpdate.
type APIServicesOpenVPNClientUpdateParamsVpnid0 ¶
type APIServicesOpenVPNClientUpdateParamsVpnid0 = int
APIServicesOpenVPNClientUpdateParamsVpnid0 defines parameters for APIServicesOpenVPNClientUpdate.
type APIServicesOpenVPNClientUpdateParamsVpnid1 ¶
type APIServicesOpenVPNClientUpdateParamsVpnid1 = string
APIServicesOpenVPNClientUpdateParamsVpnid1 defines parameters for APIServicesOpenVPNClientUpdate.
type APIServicesOpenVPNClientUpdateResponse ¶
type APIServicesOpenVPNClientUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesOpenVPNClientUpdateResponse ¶
func ParseAPIServicesOpenVPNClientUpdateResponse(rsp *http.Response) (*APIServicesOpenVPNClientUpdateResponse, error)
ParseAPIServicesOpenVPNClientUpdateResponse parses an HTTP response from a APIServicesOpenVPNClientUpdateWithResponse call
func (APIServicesOpenVPNClientUpdateResponse) Status ¶
func (r APIServicesOpenVPNClientUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesOpenVPNClientUpdateResponse) StatusCode ¶
func (r APIServicesOpenVPNClientUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesOpenVPNServerCreateJSONBody ¶
type APIServicesOpenVPNServerCreateJSONBody struct { // AllowCompression Controls whether or not compression is allowed on the VPN, and how it is handled. AllowCompression *APIServicesOpenVPNServerCreateJSONBodyAllowCompression `json:"allow_compression,omitempty"` // Authmode One or more authentication servers to use when checking user credentials. This can be the Local Database (user manager) or it can be a RADIUS or LDAP server configured in the user manager. // Selecting multiple entries will use each one in turn. If authentication against an entry fails, the VPN will try the next server. It will continue this process until it has tried all selected entries. // This field is only present when using a Server Mode (`server_user` or `server_tls_user`) which requires user authentication. Authmode *string `json:"authmode,omitempty"` // Caref Specify the unique reference ID of the certificate signing authority. Caref *string `json:"caref,omitempty"` // CertDepth This option limits the valid length of a certificate chain. The default value limits a chain to One (Client+Server). With that value, if an unauthorized intermediate CA signs a certificate, certificates signed by the rogue intermediate would fail validation. In cases when the certificate stricture requires chaining with intermediates, raise this limit to accommodate the longest allowed chain. CertDepth *APIServicesOpenVPNServerCreateJSONBodyCertDepth `json:"cert_depth,omitempty"` // Certref The certificate used by the VPN instance to identify itself to peers. This certificate must contain appropriate properties marking it as a server certificate and not a user or client certificate. // Specify the unique reference ID of the certificate revocation list. Certref *string `json:"certref,omitempty"` // Client2client This option controls whether or not connected clients are able to communicate with one another. To allow this behavior, check the option. When unchecked, clients can only send traffic to the server or destinations beyond the server such as routed networks or the Internet. Client2client *bool `json:"client2client,omitempty"` // Compression Compression to be used with this VPN instance. This is only necessary for `allow_compression` set to `yes` or `asym`. Compression can potentially dangerous and insecure. Deprecated. Compress tunnel packets using the LZO algorithm. Compression *APIServicesOpenVPNServerCreateJSONBodyCompression `json:"compression,omitempty"` // CompressionPush Push the selected Compression setting to connecting clients. This is only necessary for `allow_compression` set to `yes` or `asym`. CompressionPush *bool `json:"compression_push,omitempty"` // ConcurrentConnections Specifies the number of clients that may be simultaneously connected to this OpenVPN server instance at any given time. ConcurrentConnections *int `json:"concurrent_connections,omitempty"` // CreateGw If you assign a virtual interface to this OpenVPN server, this setting controls which gateway types will be created. CreateGw *APIServicesOpenVPNServerCreateJSONBodyCreateGw `json:"create_gw,omitempty"` // Crlref This optional field is for the Certificate Revocation List (CRL) this tunnel will use to check the validity of peer certificates. // A CRL is a list of certificates signed by a CA which are no longer valid. This could be due to a certificate being compromised or lost, such as from a stolen laptop, spyware infection, etc. // Specify the unique reference ID of the certificate. Crlref *string `json:"crlref,omitempty"` // CustomOptions Custom options may be added in using the Custom option box separated by a semicolon (;) and the firewall will pass the custom directives to OpenVPN. CustomOptions *string `json:"custom_options,omitempty"` // DataCiphers These options define the cryptographic ciphers OpenVPN will use for this VPN. Enter comma sepereted data encryption algorithms (e.g. `AES-256-GCM,AES-128-GCM,CHACHA20-POLY1305`). Data encryption algorithms will be truncated to 19. DataCiphers *string `json:"data_ciphers,omitempty"` // DataCiphersFallback Enter fallback data encryption algorithm. DataCiphersFallback *string `json:"data_ciphers_fallback,omitempty"` // Description Enter a description for this VPN instance, for reference. Description *string `json:"description,omitempty"` // DevMode OpenVPN can run in one of two device modes. DevMode *APIServicesOpenVPNServerCreateJSONBodyDevMode `json:"dev_mode,omitempty"` // DhLength The Diffie-Hellman (DH) key exchange parameters are used for establishing a secure communications channel. They may be regenerated at any time, and they are not specific to an OpenVPN instance. When importing an existing OpenVPN configuration these parameters do not need to be copied from the previous server nor does it require generating new parameters. The length of the desired DH parameters may be chosen from the drop-down box, either 1024, 2048, or 4096. There is an additional choice for ECDH Only which disables traditional DH parameters and uses only ECDH. DhLength *APIServicesOpenVPNServerCreateJSONBody_DhLength `json:"dh_length,omitempty"` // Digest Selects the message digest algorithm OpenVPN uses for HMAC authentication of incoming packets. This is used for the data channel and if also for the control channel when the tunnel uses a TLS key. The GUI default of SHA256 is a good balance of security and speed. // When using AEAD ciphers such as AES-GCM, OpenVPN ignores this value for the data channel since AEAD ciphers already perform authentication. Even with an AEAD cipher, OpenVPN still uses this algorithm to authenticate the control channel when the tunnel uses a TLS key. Digest *APIServicesOpenVPNServerCreateJSONBodyDigest `json:"digest,omitempty"` // Disable Disable this override without removing it. Disable *bool `json:"disable,omitempty"` // DnsDomain Configures a default domain name which clients will append to DNS requests. This can be helpful to ensure name resolution works properly for hosts on the local network where DNS name resolution is used. DnsDomain *string `json:"dns_domain,omitempty"` // DnsServers Comma-separated list of no more than 4 DNS server IP addresses (i.e. 8.8.8.8). Any more than the first four are ignored. This list is provided to the clent. DnsServers *string `json:"dns_servers,omitempty"` // DuplicateCn Controls whether or not OpenVPN will allow multiple connections from the same user to work simultaneously. This is only necessary for mode `p2p_shared_key`. DuplicateCn *bool `json:"duplicate_cn,omitempty"` // DynamicIp For clients on Internet connections where the IP address changes frequently, or mobile users who commonly move between different Internet connections, check this option for more stable connectivity. Where the client IP address is static or rarely changes, not using this option offers a small security improvement. DynamicIp *bool `json:"dynamic_ip,omitempty"` // EcdhCurve Configures a specific elliptic curve to use for Elliptic Curve Diffie-Hellman key exchanges. This is only for use with ECDH TLS encryption. EcdhCurve *APIServicesOpenVPNServerCreateJSONBodyEcdhCurve `json:"ecdh_curve,omitempty"` // Engine If available, this option controls which hardware cryptographic accelerator will be used by OpenVPN. When left unspecified, OpenVPN will choose automatically based on what is available in the operating system to accelerate ciphers OpenVPN wants to use. // Some hardware acceleration, such as AES-NI, happens automatically in OpenVPN via OpenSSL and cannot be enabled or disabled by this option. // Enter Hardware crypto. Options are `none` and any enabled hardware crypto. Engine *string `json:"engine,omitempty"` // ExitNotify Controls whether or not OpenVPN will send an explicit exit notification to connected UDP clients or peers when restarting or shutting down. This notification allows peers to immediately disconnect rather than wait for a timeout. This is only relevant to UDP modes as TCP natively supports closing connections. ExitNotify *APIServicesOpenVPNServerCreateJSONBodyExitNotify `json:"exit_notify,omitempty"` // InactiveSeconds The amount of time, in seconds, which a client can be inactive before OpenVPN disconnects it for inactivity. OpenVPN bases activity on the last incoming or outgoing data channel packet, not control channel packets. // `0` disables this feature. InactiveSeconds *int `json:"inactive_seconds,omitempty"` // Interface Selects the interface, VIP, or failover group that the OpenVPN instance will use when communicating with peers. This also controls which interface the traffic from the instance will exit. Interface can be provided as Interface ID (e.g. `wan`, `lan`, `opt1`, etc.), Interface physical name (e.g. `igb0`, `vtnet`, etc.) or Interface descriptive name (e.g. `MY_LAN`, `MY_WAN`, etc.). VIP can be provided as description, subnet or uniqid. Failover group can be provided as group name. // _Note: If you are using a failover group, the failover group must be configured to use the same_. Interface *string `json:"interface,omitempty"` // KeepaliveInterval Enter keepalive interval. KeepaliveInterval *int `json:"keepalive_interval,omitempty"` // KeepaliveTimeout Enter keepalive timeout. KeepaliveTimeout *int `json:"keepalive_timeout,omitempty"` // LocalNetwork IPv4 server-side networks that will be accessible from this particular client. Expressed as a comma-separated list of one or more CIDR networks. // NOTE: Networks do not need to be specified here if they have already been defined on the main server configuration. LocalNetwork *string `json:"local_network,omitempty"` // LocalNetworkv6 IPv6 server-side networks that will be accessible from this particular client. Expressed as a comma-separated list of one or more IP/PREFIX networks. // NOTE: Networks do not need to be specified here if they have already been defined on the main server configuration. LocalNetworkv6 *string `json:"local_networkv6,omitempty"` // LocalPort The port number upon which OpenVPN will listen for incoming connections from peers. Firewall rules must allow traffic to this port and this port must be specified in the client configuration. // The port for each server must be unique for each interface when using a standard UDP or TCP Protocol choice and must be globally unique if using a multihome Protocol. // Omitting this will default to next available port. LocalPort *int `json:"local_port,omitempty"` // Mode The role for the server, which specifies how peers connect to a server instance. Changing this also affects which options the GUI displays on the rest of the page. Mode *APIServicesOpenVPNServerCreateJSONBodyMode `json:"mode,omitempty"` // NcpEnable Enable Data Encryption Negotiation. Disabling this feature is deprecated. Omitting will enable. NcpEnable *bool `json:"ncp_enable,omitempty"` // NetbiosEnable Enable NetBIOS over TCP/IP. If this option is not set, all NetBIOS-over-TCP/IP options (including WINS) will be disabled. NetbiosEnable *bool `json:"netbios_enable,omitempty"` // NetbiosNodeType Possible options: b (broadcasts), p (point-to-point name queries to a WINS server), m (broadcast then query name server), and h (query name server, then broadcast). This parameter takes a single letter either b, p, m, or h. Any other string will result in this option being set to none. NetbiosNodeType *APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeType `json:"netbios_node_type,omitempty"` // NetbiosScope NetBIOS Scope ID provides an extended naming service for NetBIOS over TCP/IP. The NetBIOS scope ID isolates NetBIOS traffic on a single network to only those nodes with the same NetBIOS scope ID. NetbiosScope *string `json:"netbios_scope,omitempty"` // NtpServers Comma-separated list of no more than 2 NTP server IP addresses. Any more than the first two are ignored. NtpServers *string `json:"ntp_servers,omitempty"` // Ocspcheck When set, OpenVPN will attempt to confirm client certificate validity using Online Certificate Status Protocol (OCSP) against the site listed in the OCSP URL field. Ocspcheck *bool `json:"ocspcheck,omitempty"` // Ocspurl Enter OCSP URL. This is only necessary for `ocspcheck`. Ocspurl *string `json:"ocspurl,omitempty"` // Passtos When this option is enabled OpenVPN sets the Type-of-Service (TOS) IP header value of tunnel packets to match the encapsulated packet value. This may cause important traffic to be handled faster over the tunnel by intermediate hops at the cost of minor information disclosure. Passtos *bool `json:"passtos,omitempty"` // PingAction Exit or restart OpenVPN after timeout from remote. This is only necessary for `ping` method. PingAction *APIServicesOpenVPNServerCreateJSONBodyPingAction `json:"ping_action,omitempty"` // PingActionPush Push ping-restart/ping-exit to VPN client. This is only necessary for `ping` method. PingActionPush *bool `json:"ping_action_push,omitempty"` // PingActionSeconds Enter ping action seconds. This is only necessary for `ping` method. PingActionSeconds *int `json:"ping_action_seconds,omitempty"` // PingMethod The Ping Method controls OpenVPN monitoring of peers through the control channel and how it deals with unresponsive peers. PingMethod *APIServicesOpenVPNServerCreateJSONBodyPingMethod `json:"ping_method,omitempty"` // PingPush Push ping to VPN client. This is only necessary for `ping` method. PingPush *bool `json:"ping_push,omitempty"` // PingSeconds Enter ping seconds. This is only necessary for `ping` method. PingSeconds *int `json:"ping_seconds,omitempty"` // Protocol The IP protocol clients will use to connect to this VPN. Protocol *APIServicesOpenVPNServerCreateJSONBodyProtocol `json:"protocol,omitempty"` // PushBlockoutsidedns Make Windows 10 Clients Block access to DNS servers except across OpenVPN while connected, forcing clients to use only VPN DNS servers. PushBlockoutsidedns *bool `json:"push_blockoutsidedns,omitempty"` // PushRegisterDns Run "net stop dnscache", "net start dnscache", "ipconfig /flushdns" and "ipconfig /registerdns" on connection initiation. PushRegisterDns *bool `json:"push_register_dns,omitempty"` // RedirectGateway When a Redirect IPv4 Gateway option is selected the server pushes a message to clients instructing them to forward all traffic for that address family, including Internet traffic, over the VPN tunnel. RedirectGateway *bool `json:"redirect_gateway,omitempty"` // RedirectGateway6 When a Redirect IPv6 Gateway option is selected the server pushes a message to clients instructing them to forward all traffic for that address family, including Internet traffic, over the VPN tunnel. RedirectGateway6 *bool `json:"redirect_gateway6,omitempty"` // RemoteNetwork IPv4 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more CIDR ranges. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv4 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetwork *string `json:"remote_network,omitempty"` // RemoteNetworkv6 IPv6 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more IP/PREFIX networks. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv6 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetworkv6 *string `json:"remote_networkv6,omitempty"` // ServerbridgeDhcp When using `tap` mode for a remote access SSL/TLS VPN, (`server_tls`, `server_user`, `server_tls_user`), additional options to control bridging behavior in OpenVPN and client address assignment. // When selected, OpenVPN passes through DHCP to the bridged. In the most common scenario, this is LAN. // Using this method connecting clients receive IP addresses from the same DHCP pool used by clients on the LAN. ServerbridgeDhcp *string `json:"serverbridge_dhcp,omitempty"` // ServerbridgeDhcpEnd Defines a DHCP range from which OpenVPN can assign addresses to clients. If these settings are left blank, OpenVPN passes DHCP through to the bridge interface and it ignores the interface setting above. // When set, this range should be within the same subnet as the Bridge Interface (`serverbridge_interface`) but it should not overlap an existing in-use portion of the subnet, such as the current DHCP pool. // This allows a range of IP addresses to be set aside for use only by OpenVPN clients so they may be contained within a portion of the internal network rather than consuming IP addresses from the existing DHCP pool. ServerbridgeDhcpEnd *string `json:"serverbridge_dhcp_end,omitempty"` // ServerbridgeDhcpStart Defines a DHCP range from which OpenVPN can assign addresses to clients. If these settings are left blank, OpenVPN passes DHCP through to the bridge interface and it ignores the interface setting above. // When set, this range should be within the same subnet as the Bridge Interface (`serverbridge_interface`) but it should not overlap an existing in-use portion of the subnet, such as the current DHCP pool. // This allows a range of IP addresses to be set aside for use only by OpenVPN clients so they may be contained within a portion of the internal network rather than consuming IP addresses from the existing DHCP pool. ServerbridgeDhcpStart *string `json:"serverbridge_dhcp_start,omitempty"` // ServerbridgeInterface This setting indicates to OpenVPN which interface will be used for the bridge. In most cases this is LAN. This option controls which existing IP address and subnet mask are used by OpenVPN for the bridge. Setting this to none will cause the Server Bridge DHCP (`serverbridge_dhcp_start`, `serverbridge_dhcp_end`) settings below to be ignored. ServerbridgeInterface *APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterface `json:"serverbridge_interface,omitempty"` // ServerbridgeRoutegateway Makes OpenVPN push the Bridge Interface IPv4 address to connecting clients as a route gateway. // When the IPv4 Tunnel Network in OpenVPN is empty for a bridged VPN, connecting clients cannot automatically determine a server-side gateway for use with routes pushed to clients by the server. ServerbridgeRoutegateway *bool `json:"serverbridge_routegateway,omitempty"` SharedKey *string `json:"shared_key,omitempty"` // Sndrcvbuf Configures a Send and Receive Buffer size for OpenVPN. The default buffer size can be too small in many cases, depending on hardware and network uplink speeds. Finding the best buffer size can take experimentation. To test the best value for a site, start at 512KiB and test higher and lower values until testing results in peak performance. Sndrcvbuf *APIServicesOpenVPNServerCreateJSONBodySndrcvbuf `json:"sndrcvbuf,omitempty"` // Strictusercn Controls whether the firewall will enforce a strict match between the username supplied by the user and the Common Name of their user certificate when the firewall authenticates a user. When enabled, authentication fails if the two values do not match. // This prevents users from using their own credentials with the certificate from a different user and vice versa. // This is only necessary for mode `server_tls_user`. Omitting will disable. Strictusercn *bool `json:"strictusercn,omitempty"` // Tls TLS, or Transport Layer Security, can provide session authentication and encryption to ensure the validity of peers and to protect the control channel. Paste the TLS key. This is not necessary for mode `p2p_shared_key`. Options are `""` or `true` for automatic TLS key generation, `false` to disable TLS or a raw TLS key as a string. Omitting disable TLS configuration. Tls *string `json:"tls,omitempty"` // TlsType Enter TLS Key Usage Mode. This is not necessary for mode `p2p_shared_key`. TlsType *APIServicesOpenVPNServerCreateJSONBodyTlsType `json:"tls_type,omitempty"` // TlsauthKeydir The direction in which this VPN endpoint uses the TLS key. The TLS Key Direction must be set to complementary values on the server and clients. The default behavior uses 0 on server instances and 1 on client instances. // Enter TLS keydir direction. This is not necessary for mode `p2p_shared_key`. TlsauthKeydir *APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydir `json:"tlsauth_keydir,omitempty"` // Topology Sets the method OpenVPN uses to allocate addresses for clients in a client/server setup on tun device mode VPNs. The Topology option is relevant only when supplying a virtual adapter IP address to clients using tun mode on IPv4. Some clients may require this even for IPv6, such as OpenVPN Connect, though in reality IPv6 always runs with a subnet topology even when IPv4 uses net30. OpenVPN instances using tap mode always use subnet topology as well. Topology *APIServicesOpenVPNServerCreateJSONBodyTopology `json:"topology,omitempty"` // TunnelNetwork Virtual IPv4 network used for private communications between this client and the server expressed using CIDR (e.g. 10.0.8.5/24). // With subnet topology, enter the client IP address and the subnet mask must match the IPv4 Tunnel Network on the server. // With net30 topology, the first network address of the /30 is assumed to be the server address and the second network address will be assigned to the client. TunnelNetwork *string `json:"tunnel_network,omitempty"` // TunnelNetworkv6 Virtual IPv6 network used for private communications between this client and the server expressed using prefix (e.g. 2001:db9:1:1::100/64). // Enter the client IPv6 address and prefix. The prefix must match the IPv6 Tunnel Network prefix on the server. TunnelNetworkv6 *string `json:"tunnel_networkv6,omitempty"` // UdpFastIo Controls whether or not OpenVPN will use fast I/O operations with UDP writes to its tun or tap device. This behavior optimizes the packet write event loop, improving CPU efficiency by 5% to 10%. Experimental. UdpFastIo *bool `json:"udp_fast_io,omitempty"` // UsernameAsCommonName Controls whether or not OpenVPN will use the username given by the client in place of the certificate common name (CN) for purposes such as determining Client Specific Overrides. This is only relevant when user authentication is enabled. This is typically the best practice, but not a requirement. // This is only necessary for mode `server_user` or `server_tls_user`. UsernameAsCommonName *bool `json:"username_as_common_name,omitempty"` // VerbosityLevel Configures the amount of detail OpenVPN will log for this instance, which is useful for troubleshooting problems. Higher numbers will result in higher amounts of detail in the log. During normal operation the default selection is ideal. Level `3` is recommended for a good summary of what's happening without being swamped by output. Maximum level `11`. The `default` setting is equivalent to level `1`. VerbosityLevel *APIServicesOpenVPNServerCreateJSONBody_VerbosityLevel `json:"verbosity_level,omitempty"` // WinsServers Comma-separated list of no more than 2 WINS server IP addresses. Any more than the first two are ignored. WinsServers *string `json:"wins_servers,omitempty"` }
APIServicesOpenVPNServerCreateJSONBody defines parameters for APIServicesOpenVPNServerCreate.
type APIServicesOpenVPNServerCreateJSONBodyAllowCompression ¶
type APIServicesOpenVPNServerCreateJSONBodyAllowCompression string
APIServicesOpenVPNServerCreateJSONBodyAllowCompression defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyAllowCompressionAsym APIServicesOpenVPNServerCreateJSONBodyAllowCompression = "asym" APIServicesOpenVPNServerCreateJSONBodyAllowCompressionNo APIServicesOpenVPNServerCreateJSONBodyAllowCompression = "no" APIServicesOpenVPNServerCreateJSONBodyAllowCompressionYes APIServicesOpenVPNServerCreateJSONBodyAllowCompression = "yes" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyAllowCompression.
type APIServicesOpenVPNServerCreateJSONBodyCertDepth ¶
type APIServicesOpenVPNServerCreateJSONBodyCertDepth string
APIServicesOpenVPNServerCreateJSONBodyCertDepth defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyCertDepthFive APIServicesOpenVPNServerCreateJSONBodyCertDepth = "five" APIServicesOpenVPNServerCreateJSONBodyCertDepthFour APIServicesOpenVPNServerCreateJSONBodyCertDepth = "four" APIServicesOpenVPNServerCreateJSONBodyCertDepthNone APIServicesOpenVPNServerCreateJSONBodyCertDepth = "none" APIServicesOpenVPNServerCreateJSONBodyCertDepthOne APIServicesOpenVPNServerCreateJSONBodyCertDepth = "one" APIServicesOpenVPNServerCreateJSONBodyCertDepthThree APIServicesOpenVPNServerCreateJSONBodyCertDepth = "three" APIServicesOpenVPNServerCreateJSONBodyCertDepthTwo APIServicesOpenVPNServerCreateJSONBodyCertDepth = "two" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyCertDepth.
type APIServicesOpenVPNServerCreateJSONBodyCompression ¶
type APIServicesOpenVPNServerCreateJSONBodyCompression string
APIServicesOpenVPNServerCreateJSONBodyCompression defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyCompressionAdaptive APIServicesOpenVPNServerCreateJSONBodyCompression = "adaptive" APIServicesOpenVPNServerCreateJSONBodyCompressionLz4 APIServicesOpenVPNServerCreateJSONBodyCompression = "lz4" APIServicesOpenVPNServerCreateJSONBodyCompressionLz4V2 APIServicesOpenVPNServerCreateJSONBodyCompression = "lz4-v2" APIServicesOpenVPNServerCreateJSONBodyCompressionLzo APIServicesOpenVPNServerCreateJSONBodyCompression = "lzo" APIServicesOpenVPNServerCreateJSONBodyCompressionNo APIServicesOpenVPNServerCreateJSONBodyCompression = "no" APIServicesOpenVPNServerCreateJSONBodyCompressionNoadapt APIServicesOpenVPNServerCreateJSONBodyCompression = "noadapt" APIServicesOpenVPNServerCreateJSONBodyCompressionNone APIServicesOpenVPNServerCreateJSONBodyCompression = "none" APIServicesOpenVPNServerCreateJSONBodyCompressionStub APIServicesOpenVPNServerCreateJSONBodyCompression = "stub" APIServicesOpenVPNServerCreateJSONBodyCompressionStubV2 APIServicesOpenVPNServerCreateJSONBodyCompression = "stub-v2" APIServicesOpenVPNServerCreateJSONBodyCompressionYes APIServicesOpenVPNServerCreateJSONBodyCompression = "yes" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyCompression.
type APIServicesOpenVPNServerCreateJSONBodyCreateGw ¶
type APIServicesOpenVPNServerCreateJSONBodyCreateGw string
APIServicesOpenVPNServerCreateJSONBodyCreateGw defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyCreateGwBoth APIServicesOpenVPNServerCreateJSONBodyCreateGw = "both" APIServicesOpenVPNServerCreateJSONBodyCreateGwV4only APIServicesOpenVPNServerCreateJSONBodyCreateGw = "v4only" APIServicesOpenVPNServerCreateJSONBodyCreateGwV6only APIServicesOpenVPNServerCreateJSONBodyCreateGw = "v6only" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyCreateGw.
type APIServicesOpenVPNServerCreateJSONBodyDevMode ¶
type APIServicesOpenVPNServerCreateJSONBodyDevMode string
APIServicesOpenVPNServerCreateJSONBodyDevMode defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyDevModeTap APIServicesOpenVPNServerCreateJSONBodyDevMode = "tap" APIServicesOpenVPNServerCreateJSONBodyDevModeTun APIServicesOpenVPNServerCreateJSONBodyDevMode = "tun" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyDevMode.
type APIServicesOpenVPNServerCreateJSONBodyDhLength0 ¶
type APIServicesOpenVPNServerCreateJSONBodyDhLength0 = string
APIServicesOpenVPNServerCreateJSONBodyDhLength0 defines parameters for APIServicesOpenVPNServerCreate.
type APIServicesOpenVPNServerCreateJSONBodyDhLength1 ¶
type APIServicesOpenVPNServerCreateJSONBodyDhLength1 = int
APIServicesOpenVPNServerCreateJSONBodyDhLength1 defines parameters for APIServicesOpenVPNServerCreate.
type APIServicesOpenVPNServerCreateJSONBodyDigest ¶
type APIServicesOpenVPNServerCreateJSONBodyDigest string
APIServicesOpenVPNServerCreateJSONBodyDigest defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyDigestBLAKE2b256 APIServicesOpenVPNServerCreateJSONBodyDigest = "BLAKE2b256" APIServicesOpenVPNServerCreateJSONBodyDigestBLAKE2b512 APIServicesOpenVPNServerCreateJSONBodyDigest = "BLAKE2b512" APIServicesOpenVPNServerCreateJSONBodyDigestMD4 APIServicesOpenVPNServerCreateJSONBodyDigest = "MD4" APIServicesOpenVPNServerCreateJSONBodyDigestMD5 APIServicesOpenVPNServerCreateJSONBodyDigest = "MD5" APIServicesOpenVPNServerCreateJSONBodyDigestMD5SHA1 APIServicesOpenVPNServerCreateJSONBodyDigest = "MD5-SHA1" APIServicesOpenVPNServerCreateJSONBodyDigestMDC2 APIServicesOpenVPNServerCreateJSONBodyDigest = "MDC2" APIServicesOpenVPNServerCreateJSONBodyDigestNone APIServicesOpenVPNServerCreateJSONBodyDigest = "none" APIServicesOpenVPNServerCreateJSONBodyDigestRIPEMD160 APIServicesOpenVPNServerCreateJSONBodyDigest = "RIPEMD160" APIServicesOpenVPNServerCreateJSONBodyDigestSHA1 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA1" APIServicesOpenVPNServerCreateJSONBodyDigestSHA224 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA224" APIServicesOpenVPNServerCreateJSONBodyDigestSHA256 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA256" APIServicesOpenVPNServerCreateJSONBodyDigestSHA3224 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA3-224" APIServicesOpenVPNServerCreateJSONBodyDigestSHA3256 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA3-256" APIServicesOpenVPNServerCreateJSONBodyDigestSHA3384 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA3-384" APIServicesOpenVPNServerCreateJSONBodyDigestSHA3512 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA3-512" APIServicesOpenVPNServerCreateJSONBodyDigestSHA384 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA384" APIServicesOpenVPNServerCreateJSONBodyDigestSHA512 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA512" APIServicesOpenVPNServerCreateJSONBodyDigestSHA512224 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA512-224" APIServicesOpenVPNServerCreateJSONBodyDigestSHA512256 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHA512-256" APIServicesOpenVPNServerCreateJSONBodyDigestSHAKE128 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHAKE128" APIServicesOpenVPNServerCreateJSONBodyDigestSHAKE256 APIServicesOpenVPNServerCreateJSONBodyDigest = "SHAKE256" APIServicesOpenVPNServerCreateJSONBodyDigestSM3 APIServicesOpenVPNServerCreateJSONBodyDigest = "SM3" APIServicesOpenVPNServerCreateJSONBodyDigestWhirlpool APIServicesOpenVPNServerCreateJSONBodyDigest = "whirlpool" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyDigest.
type APIServicesOpenVPNServerCreateJSONBodyEcdhCurve ¶
type APIServicesOpenVPNServerCreateJSONBodyEcdhCurve string
APIServicesOpenVPNServerCreateJSONBodyEcdhCurve defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyEcdhCurveNone APIServicesOpenVPNServerCreateJSONBodyEcdhCurve = "none" APIServicesOpenVPNServerCreateJSONBodyEcdhCurvePrime256v1 APIServicesOpenVPNServerCreateJSONBodyEcdhCurve = "prime256v1" APIServicesOpenVPNServerCreateJSONBodyEcdhCurveSecp384r1 APIServicesOpenVPNServerCreateJSONBodyEcdhCurve = "secp384r1" APIServicesOpenVPNServerCreateJSONBodyEcdhCurveSecp521r1 APIServicesOpenVPNServerCreateJSONBodyEcdhCurve = "secp521r1" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyEcdhCurve.
type APIServicesOpenVPNServerCreateJSONBodyExitNotify ¶
type APIServicesOpenVPNServerCreateJSONBodyExitNotify string
APIServicesOpenVPNServerCreateJSONBodyExitNotify defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyExitNotifyEmpty APIServicesOpenVPNServerCreateJSONBodyExitNotify = "" APIServicesOpenVPNServerCreateJSONBodyExitNotifyNone APIServicesOpenVPNServerCreateJSONBodyExitNotify = "none" APIServicesOpenVPNServerCreateJSONBodyExitNotifyOnce APIServicesOpenVPNServerCreateJSONBodyExitNotify = "once" APIServicesOpenVPNServerCreateJSONBodyExitNotifyTwice APIServicesOpenVPNServerCreateJSONBodyExitNotify = "twice" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyExitNotify.
type APIServicesOpenVPNServerCreateJSONBodyMode ¶
type APIServicesOpenVPNServerCreateJSONBodyMode string
APIServicesOpenVPNServerCreateJSONBodyMode defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyModeP2pTls APIServicesOpenVPNServerCreateJSONBodyMode = "p2p_tls" APIServicesOpenVPNServerCreateJSONBodyModeServerTls APIServicesOpenVPNServerCreateJSONBodyMode = "server_tls" APIServicesOpenVPNServerCreateJSONBodyModeServerTlsUser APIServicesOpenVPNServerCreateJSONBodyMode = "server_tls_user" APIServicesOpenVPNServerCreateJSONBodyModeServerUser APIServicesOpenVPNServerCreateJSONBodyMode = "server_user" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyMode.
type APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeType ¶
type APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeType string
APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeType defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeTypeB APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeType = "b" APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeTypeH APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeType = "h" APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeTypeM APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeType = "m" APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeTypeP APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeType = "p" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyNetbiosNodeType.
type APIServicesOpenVPNServerCreateJSONBodyPingAction ¶
type APIServicesOpenVPNServerCreateJSONBodyPingAction string
APIServicesOpenVPNServerCreateJSONBodyPingAction defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyPingActionPingExit APIServicesOpenVPNServerCreateJSONBodyPingAction = "ping_exit" APIServicesOpenVPNServerCreateJSONBodyPingActionPingRestart APIServicesOpenVPNServerCreateJSONBodyPingAction = "ping_restart" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyPingAction.
type APIServicesOpenVPNServerCreateJSONBodyPingMethod ¶
type APIServicesOpenVPNServerCreateJSONBodyPingMethod string
APIServicesOpenVPNServerCreateJSONBodyPingMethod defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyPingMethodKeepalive APIServicesOpenVPNServerCreateJSONBodyPingMethod = "keepalive" APIServicesOpenVPNServerCreateJSONBodyPingMethodPing APIServicesOpenVPNServerCreateJSONBodyPingMethod = "ping" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyPingMethod.
type APIServicesOpenVPNServerCreateJSONBodyProtocol ¶
type APIServicesOpenVPNServerCreateJSONBodyProtocol string
APIServicesOpenVPNServerCreateJSONBodyProtocol defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyProtocolTcp APIServicesOpenVPNServerCreateJSONBodyProtocol = "tcp" APIServicesOpenVPNServerCreateJSONBodyProtocolTcp4 APIServicesOpenVPNServerCreateJSONBodyProtocol = "tcp4" APIServicesOpenVPNServerCreateJSONBodyProtocolTcp6 APIServicesOpenVPNServerCreateJSONBodyProtocol = "tcp6" APIServicesOpenVPNServerCreateJSONBodyProtocolUdp APIServicesOpenVPNServerCreateJSONBodyProtocol = "udp" APIServicesOpenVPNServerCreateJSONBodyProtocolUdp4 APIServicesOpenVPNServerCreateJSONBodyProtocol = "udp4" APIServicesOpenVPNServerCreateJSONBodyProtocolUdp6 APIServicesOpenVPNServerCreateJSONBodyProtocol = "udp6" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyProtocol.
type APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterface ¶
type APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterface string
APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterface defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterfaceLan APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterface = "lan" APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterfaceNone APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterface = "none" APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterfaceWan APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterface = "wan" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyServerbridgeInterface.
type APIServicesOpenVPNServerCreateJSONBodySndrcvbuf ¶
type APIServicesOpenVPNServerCreateJSONBodySndrcvbuf string
APIServicesOpenVPNServerCreateJSONBodySndrcvbuf defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodySndrcvbufDefault APIServicesOpenVPNServerCreateJSONBodySndrcvbuf = "default" APIServicesOpenVPNServerCreateJSONBodySndrcvbufN128KiB APIServicesOpenVPNServerCreateJSONBodySndrcvbuf = "128KiB" APIServicesOpenVPNServerCreateJSONBodySndrcvbufN1MiB APIServicesOpenVPNServerCreateJSONBodySndrcvbuf = "1MiB" APIServicesOpenVPNServerCreateJSONBodySndrcvbufN256KiB APIServicesOpenVPNServerCreateJSONBodySndrcvbuf = "256KiB" APIServicesOpenVPNServerCreateJSONBodySndrcvbufN2MiB APIServicesOpenVPNServerCreateJSONBodySndrcvbuf = "2MiB" APIServicesOpenVPNServerCreateJSONBodySndrcvbufN512KiB APIServicesOpenVPNServerCreateJSONBodySndrcvbuf = "512KiB" APIServicesOpenVPNServerCreateJSONBodySndrcvbufN64KiB APIServicesOpenVPNServerCreateJSONBodySndrcvbuf = "64KiB" APIServicesOpenVPNServerCreateJSONBodySndrcvbufNone APIServicesOpenVPNServerCreateJSONBodySndrcvbuf = "none" )
Defines values for APIServicesOpenVPNServerCreateJSONBodySndrcvbuf.
type APIServicesOpenVPNServerCreateJSONBodyTlsType ¶
type APIServicesOpenVPNServerCreateJSONBodyTlsType string
APIServicesOpenVPNServerCreateJSONBodyTlsType defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyTlsTypeAuth APIServicesOpenVPNServerCreateJSONBodyTlsType = "auth" APIServicesOpenVPNServerCreateJSONBodyTlsTypeCrypt APIServicesOpenVPNServerCreateJSONBodyTlsType = "crypt" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyTlsType.
type APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydir ¶
type APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydir string
APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydir defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydirBothDirections APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydir = "both-directions" APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydirDefault APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydir = "default" APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydirDirection0 APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydir = "direction-0" APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydirDirection1 APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydir = "direction-1" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyTlsauthKeydir.
type APIServicesOpenVPNServerCreateJSONBodyTopology ¶
type APIServicesOpenVPNServerCreateJSONBodyTopology string
APIServicesOpenVPNServerCreateJSONBodyTopology defines parameters for APIServicesOpenVPNServerCreate.
const ( APIServicesOpenVPNServerCreateJSONBodyTopologyNet30 APIServicesOpenVPNServerCreateJSONBodyTopology = "net30" APIServicesOpenVPNServerCreateJSONBodyTopologySubnet APIServicesOpenVPNServerCreateJSONBodyTopology = "subnet" )
Defines values for APIServicesOpenVPNServerCreateJSONBodyTopology.
type APIServicesOpenVPNServerCreateJSONBodyVerbosityLevel0 ¶
type APIServicesOpenVPNServerCreateJSONBodyVerbosityLevel0 = string
APIServicesOpenVPNServerCreateJSONBodyVerbosityLevel0 defines parameters for APIServicesOpenVPNServerCreate.
type APIServicesOpenVPNServerCreateJSONBodyVerbosityLevel1 ¶
type APIServicesOpenVPNServerCreateJSONBodyVerbosityLevel1 = int
APIServicesOpenVPNServerCreateJSONBodyVerbosityLevel1 defines parameters for APIServicesOpenVPNServerCreate.
type APIServicesOpenVPNServerCreateJSONBody_DhLength ¶
type APIServicesOpenVPNServerCreateJSONBody_DhLength struct {
// contains filtered or unexported fields
}
APIServicesOpenVPNServerCreateJSONBody_DhLength defines parameters for APIServicesOpenVPNServerCreate.
type APIServicesOpenVPNServerCreateJSONBody_VerbosityLevel ¶
type APIServicesOpenVPNServerCreateJSONBody_VerbosityLevel struct {
// contains filtered or unexported fields
}
APIServicesOpenVPNServerCreateJSONBody_VerbosityLevel defines parameters for APIServicesOpenVPNServerCreate.
type APIServicesOpenVPNServerCreateJSONRequestBody ¶
type APIServicesOpenVPNServerCreateJSONRequestBody APIServicesOpenVPNServerCreateJSONBody
APIServicesOpenVPNServerCreateJSONRequestBody defines body for APIServicesOpenVPNServerCreate for application/json ContentType.
type APIServicesOpenVPNServerCreateResponse ¶
type APIServicesOpenVPNServerCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesOpenVPNServerCreateResponse ¶
func ParseAPIServicesOpenVPNServerCreateResponse(rsp *http.Response) (*APIServicesOpenVPNServerCreateResponse, error)
ParseAPIServicesOpenVPNServerCreateResponse parses an HTTP response from a APIServicesOpenVPNServerCreateWithResponse call
func (APIServicesOpenVPNServerCreateResponse) Status ¶
func (r APIServicesOpenVPNServerCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesOpenVPNServerCreateResponse) StatusCode ¶
func (r APIServicesOpenVPNServerCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesOpenVPNServerReadResponse ¶
type APIServicesOpenVPNServerReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesOpenVPNServerReadResponse ¶
func ParseAPIServicesOpenVPNServerReadResponse(rsp *http.Response) (*APIServicesOpenVPNServerReadResponse, error)
ParseAPIServicesOpenVPNServerReadResponse parses an HTTP response from a APIServicesOpenVPNServerReadWithResponse call
func (APIServicesOpenVPNServerReadResponse) Status ¶
func (r APIServicesOpenVPNServerReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesOpenVPNServerReadResponse) StatusCode ¶
func (r APIServicesOpenVPNServerReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesOpenVPNServerUpdateJSONBody ¶
type APIServicesOpenVPNServerUpdateJSONBody struct { // AllowCompression Controls whether or not compression is allowed on the VPN, and how it is handled. AllowCompression *APIServicesOpenVPNServerUpdateJSONBodyAllowCompression `json:"allow_compression,omitempty"` // Authmode One or more authentication servers to use when checking user credentials. This can be the Local Database (user manager) or it can be a RADIUS or LDAP server configured in the user manager. // Selecting multiple entries will use each one in turn. If authentication against an entry fails, the VPN will try the next server. It will continue this process until it has tried all selected entries. // This field is only present when using a Server Mode (`server_user` or `server_tls_user`) which requires user authentication. Authmode *string `json:"authmode,omitempty"` // Caref Specify the unique reference ID of the certificate signing authority. Caref *string `json:"caref,omitempty"` // CertDepth This option limits the valid length of a certificate chain. The default value limits a chain to One (Client+Server). With that value, if an unauthorized intermediate CA signs a certificate, certificates signed by the rogue intermediate would fail validation. In cases when the certificate stricture requires chaining with intermediates, raise this limit to accommodate the longest allowed chain. CertDepth *APIServicesOpenVPNServerUpdateJSONBodyCertDepth `json:"cert_depth,omitempty"` // Certref The certificate used by the VPN instance to identify itself to peers. This certificate must contain appropriate properties marking it as a server certificate and not a user or client certificate. // Specify the unique reference ID of the certificate revocation list. Certref *string `json:"certref,omitempty"` // Client2client This option controls whether or not connected clients are able to communicate with one another. To allow this behavior, check the option. When unchecked, clients can only send traffic to the server or destinations beyond the server such as routed networks or the Internet. Client2client *bool `json:"client2client,omitempty"` // Compression Compression to be used with this VPN instance. This is only necessary for `allow_compression` set to `yes` or `asym`. Compression can potentially dangerous and insecure. Deprecated. Compress tunnel packets using the LZO algorithm. Compression *APIServicesOpenVPNServerUpdateJSONBodyCompression `json:"compression,omitempty"` // CompressionPush Push the selected Compression setting to connecting clients. This is only necessary for `allow_compression` set to `yes` or `asym`. CompressionPush *bool `json:"compression_push,omitempty"` // ConcurrentConnections Specifies the number of clients that may be simultaneously connected to this OpenVPN server instance at any given time. ConcurrentConnections *int `json:"concurrent_connections,omitempty"` // CreateGw If you assign a virtual interface to this OpenVPN server, this setting controls which gateway types will be created. CreateGw *APIServicesOpenVPNServerUpdateJSONBodyCreateGw `json:"create_gw,omitempty"` // Crlref This optional field is for the Certificate Revocation List (CRL) this tunnel will use to check the validity of peer certificates. // A CRL is a list of certificates signed by a CA which are no longer valid. This could be due to a certificate being compromised or lost, such as from a stolen laptop, spyware infection, etc. // Specify the unique reference ID of the certificate. Crlref *string `json:"crlref,omitempty"` // CustomOptions Custom options may be added in using the Custom option box separated by a semicolon (;) and the firewall will pass the custom directives to OpenVPN. CustomOptions *string `json:"custom_options,omitempty"` // DataCiphers These options define the cryptographic ciphers OpenVPN will use for this VPN. Enter comma sepereted data encryption algorithms (e.g. `AES-256-GCM,AES-128-GCM,CHACHA20-POLY1305`). Data encryption algorithms will be truncated to 19. DataCiphers *string `json:"data_ciphers,omitempty"` // DataCiphersFallback Enter fallback data encryption algorithm. DataCiphersFallback *string `json:"data_ciphers_fallback,omitempty"` // Description Enter a description for this VPN instance, for reference. Description *string `json:"description,omitempty"` // DevMode OpenVPN can run in one of two device modes. DevMode *APIServicesOpenVPNServerUpdateJSONBodyDevMode `json:"dev_mode,omitempty"` // DhLength The Diffie-Hellman (DH) key exchange parameters are used for establishing a secure communications channel. They may be regenerated at any time, and they are not specific to an OpenVPN instance. When importing an existing OpenVPN configuration these parameters do not need to be copied from the previous server nor does it require generating new parameters. The length of the desired DH parameters may be chosen from the drop-down box, either 1024, 2048, or 4096. There is an additional choice for ECDH Only which disables traditional DH parameters and uses only ECDH. DhLength *APIServicesOpenVPNServerUpdateJSONBody_DhLength `json:"dh_length,omitempty"` // Digest Selects the message digest algorithm OpenVPN uses for HMAC authentication of incoming packets. This is used for the data channel and if also for the control channel when the tunnel uses a TLS key. The GUI default of SHA256 is a good balance of security and speed. // When using AEAD ciphers such as AES-GCM, OpenVPN ignores this value for the data channel since AEAD ciphers already perform authentication. Even with an AEAD cipher, OpenVPN still uses this algorithm to authenticate the control channel when the tunnel uses a TLS key. Digest *APIServicesOpenVPNServerUpdateJSONBodyDigest `json:"digest,omitempty"` // Disable Disable this override without removing it. Disable *bool `json:"disable,omitempty"` // DnsDomain Configures a default domain name which clients will append to DNS requests. This can be helpful to ensure name resolution works properly for hosts on the local network where DNS name resolution is used. DnsDomain *string `json:"dns_domain,omitempty"` // DnsServers Comma-separated list of no more than 4 DNS server IP addresses (i.e. 8.8.8.8). Any more than the first four are ignored. This list is provided to the clent. DnsServers *string `json:"dns_servers,omitempty"` // DuplicateCn Controls whether or not OpenVPN will allow multiple connections from the same user to work simultaneously. This is only necessary for mode `p2p_shared_key`. DuplicateCn *bool `json:"duplicate_cn,omitempty"` // DynamicIp For clients on Internet connections where the IP address changes frequently, or mobile users who commonly move between different Internet connections, check this option for more stable connectivity. Where the client IP address is static or rarely changes, not using this option offers a small security improvement. DynamicIp *bool `json:"dynamic_ip,omitempty"` // EcdhCurve Configures a specific elliptic curve to use for Elliptic Curve Diffie-Hellman key exchanges. This is only for use with ECDH TLS encryption. EcdhCurve *APIServicesOpenVPNServerUpdateJSONBodyEcdhCurve `json:"ecdh_curve,omitempty"` // Engine If available, this option controls which hardware cryptographic accelerator will be used by OpenVPN. When left unspecified, OpenVPN will choose automatically based on what is available in the operating system to accelerate ciphers OpenVPN wants to use. // Some hardware acceleration, such as AES-NI, happens automatically in OpenVPN via OpenSSL and cannot be enabled or disabled by this option. // Enter Hardware crypto. Options are `none` and any enabled hardware crypto. Engine *string `json:"engine,omitempty"` // ExitNotify Controls whether or not OpenVPN will send an explicit exit notification to connected UDP clients or peers when restarting or shutting down. This notification allows peers to immediately disconnect rather than wait for a timeout. This is only relevant to UDP modes as TCP natively supports closing connections. ExitNotify *APIServicesOpenVPNServerUpdateJSONBodyExitNotify `json:"exit_notify,omitempty"` // InactiveSeconds The amount of time, in seconds, which a client can be inactive before OpenVPN disconnects it for inactivity. OpenVPN bases activity on the last incoming or outgoing data channel packet, not control channel packets. // `0` disables this feature. InactiveSeconds *int `json:"inactive_seconds,omitempty"` // Interface Selects the interface, VIP, or failover group that the OpenVPN instance will use when communicating with peers. This also controls which interface the traffic from the instance will exit. Interface can be provided as Interface ID (e.g. `wan`, `lan`, `opt1`, etc.), Interface physical name (e.g. `igb0`, `vtnet`, etc.) or Interface descriptive name (e.g. `MY_LAN`, `MY_WAN`, etc.). VIP can be provided as description, subnet or uniqid. Failover group can be provided as group name. // _Note: If you are using a failover group, the failover group must be configured to use the same_. Interface *string `json:"interface,omitempty"` // KeepaliveInterval Enter keepalive interval. KeepaliveInterval *int `json:"keepalive_interval,omitempty"` // KeepaliveTimeout Enter keepalive timeout. KeepaliveTimeout *int `json:"keepalive_timeout,omitempty"` // LocalNetwork IPv4 server-side networks that will be accessible from this particular client. Expressed as a comma-separated list of one or more CIDR networks. // NOTE: Networks do not need to be specified here if they have already been defined on the main server configuration. LocalNetwork *string `json:"local_network,omitempty"` // LocalNetworkv6 IPv6 server-side networks that will be accessible from this particular client. Expressed as a comma-separated list of one or more IP/PREFIX networks. // NOTE: Networks do not need to be specified here if they have already been defined on the main server configuration. LocalNetworkv6 *string `json:"local_networkv6,omitempty"` // LocalPort The port number upon which OpenVPN will listen for incoming connections from peers. Firewall rules must allow traffic to this port and this port must be specified in the client configuration. // The port for each server must be unique for each interface when using a standard UDP or TCP Protocol choice and must be globally unique if using a multihome Protocol. // Omitting this will default to next available port. LocalPort *int `json:"local_port,omitempty"` // Mode The role for the server, which specifies how peers connect to a server instance. Changing this also affects which options the GUI displays on the rest of the page. Mode *APIServicesOpenVPNServerUpdateJSONBodyMode `json:"mode,omitempty"` // NcpEnable Enable Data Encryption Negotiation. Disabling this feature is deprecated. Omitting will enable. NcpEnable *bool `json:"ncp_enable,omitempty"` // NetbiosEnable Enable NetBIOS over TCP/IP. If this option is not set, all NetBIOS-over-TCP/IP options (including WINS) will be disabled. NetbiosEnable *bool `json:"netbios_enable,omitempty"` // NetbiosNodeType Possible options: b (broadcasts), p (point-to-point name queries to a WINS server), m (broadcast then query name server), and h (query name server, then broadcast). This parameter takes a single letter either b, p, m, or h. Any other string will result in this option being set to none. NetbiosNodeType *APIServicesOpenVPNServerUpdateJSONBodyNetbiosNodeType `json:"netbios_node_type,omitempty"` // NetbiosScope NetBIOS Scope ID provides an extended naming service for NetBIOS over TCP/IP. The NetBIOS scope ID isolates NetBIOS traffic on a single network to only those nodes with the same NetBIOS scope ID. NetbiosScope *string `json:"netbios_scope,omitempty"` // NtpServers Comma-separated list of no more than 2 NTP server IP addresses. Any more than the first two are ignored. NtpServers *string `json:"ntp_servers,omitempty"` // Ocspcheck When set, OpenVPN will attempt to confirm client certificate validity using Online Certificate Status Protocol (OCSP) against the site listed in the OCSP URL field. Ocspcheck *bool `json:"ocspcheck,omitempty"` // Ocspurl Enter OCSP URL. This is only necessary for `ocspcheck`. Ocspurl *string `json:"ocspurl,omitempty"` // Passtos When this option is enabled OpenVPN sets the Type-of-Service (TOS) IP header value of tunnel packets to match the encapsulated packet value. This may cause important traffic to be handled faster over the tunnel by intermediate hops at the cost of minor information disclosure. Passtos *bool `json:"passtos,omitempty"` // PingAction Exit or restart OpenVPN after timeout from remote. This is only necessary for `ping` method. PingAction *APIServicesOpenVPNServerUpdateJSONBodyPingAction `json:"ping_action,omitempty"` // PingActionPush Push ping-restart/ping-exit to VPN client. This is only necessary for `ping` method. PingActionPush *bool `json:"ping_action_push,omitempty"` // PingActionSeconds Enter ping action seconds. This is only necessary for `ping` method. PingActionSeconds *int `json:"ping_action_seconds,omitempty"` // PingMethod The Ping Method controls OpenVPN monitoring of peers through the control channel and how it deals with unresponsive peers. PingMethod *APIServicesOpenVPNServerUpdateJSONBodyPingMethod `json:"ping_method,omitempty"` // PingPush Push ping to VPN client. This is only necessary for `ping` method. PingPush *bool `json:"ping_push,omitempty"` // PingSeconds Enter ping seconds. This is only necessary for `ping` method. PingSeconds *int `json:"ping_seconds,omitempty"` // Protocol The IP protocol clients will use to connect to this VPN. Protocol *APIServicesOpenVPNServerUpdateJSONBodyProtocol `json:"protocol,omitempty"` // PushBlockoutsidedns Make Windows 10 Clients Block access to DNS servers except across OpenVPN while connected, forcing clients to use only VPN DNS servers. PushBlockoutsidedns *bool `json:"push_blockoutsidedns,omitempty"` // PushRegisterDns Run "net stop dnscache", "net start dnscache", "ipconfig /flushdns" and "ipconfig /registerdns" on connection initiation. PushRegisterDns *bool `json:"push_register_dns,omitempty"` // RedirectGateway When a Redirect IPv4 Gateway option is selected the server pushes a message to clients instructing them to forward all traffic for that address family, including Internet traffic, over the VPN tunnel. RedirectGateway *bool `json:"redirect_gateway,omitempty"` // RedirectGateway6 When a Redirect IPv6 Gateway option is selected the server pushes a message to clients instructing them to forward all traffic for that address family, including Internet traffic, over the VPN tunnel. RedirectGateway6 *bool `json:"redirect_gateway6,omitempty"` // RemoteNetwork IPv4 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more CIDR ranges. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv4 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetwork *string `json:"remote_network,omitempty"` // RemoteNetworkv6 IPv6 client-side networks that will be routed to this client specifically using iroute, so that a site-to-site VPN can be established. Expressed as a comma-separated list of one or more IP/PREFIX networks. May be left blank if there are no client-side networks to be routed. // NOTE: Remember to add these subnets to the IPv6 Remote Networks list on the corresponding OpenVPN server settings. RemoteNetworkv6 *string `json:"remote_networkv6,omitempty"` // ServerbridgeDhcp When using `tap` mode for a remote access SSL/TLS VPN, (`server_tls`, `server_user`, `server_tls_user`), additional options to control bridging behavior in OpenVPN and client address assignment. // When selected, OpenVPN passes through DHCP to the bridged. In the most common scenario, this is LAN. // Using this method connecting clients receive IP addresses from the same DHCP pool used by clients on the LAN. ServerbridgeDhcp *string `json:"serverbridge_dhcp,omitempty"` // ServerbridgeDhcpEnd Defines a DHCP range from which OpenVPN can assign addresses to clients. If these settings are left blank, OpenVPN passes DHCP through to the bridge interface and it ignores the interface setting above. // When set, this range should be within the same subnet as the Bridge Interface (`serverbridge_interface`) but it should not overlap an existing in-use portion of the subnet, such as the current DHCP pool. // This allows a range of IP addresses to be set aside for use only by OpenVPN clients so they may be contained within a portion of the internal network rather than consuming IP addresses from the existing DHCP pool. ServerbridgeDhcpEnd *string `json:"serverbridge_dhcp_end,omitempty"` // ServerbridgeDhcpStart Defines a DHCP range from which OpenVPN can assign addresses to clients. If these settings are left blank, OpenVPN passes DHCP through to the bridge interface and it ignores the interface setting above. // When set, this range should be within the same subnet as the Bridge Interface (`serverbridge_interface`) but it should not overlap an existing in-use portion of the subnet, such as the current DHCP pool. // This allows a range of IP addresses to be set aside for use only by OpenVPN clients so they may be contained within a portion of the internal network rather than consuming IP addresses from the existing DHCP pool. ServerbridgeDhcpStart *string `json:"serverbridge_dhcp_start,omitempty"` // ServerbridgeInterface This setting indicates to OpenVPN which interface will be used for the bridge. In most cases this is LAN. This option controls which existing IP address and subnet mask are used by OpenVPN for the bridge. Setting this to none will cause the Server Bridge DHCP (`serverbridge_dhcp_start`, `serverbridge_dhcp_end`) settings below to be ignored. ServerbridgeInterface *APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterface `json:"serverbridge_interface,omitempty"` // ServerbridgeRoutegateway Makes OpenVPN push the Bridge Interface IPv4 address to connecting clients as a route gateway. // When the IPv4 Tunnel Network in OpenVPN is empty for a bridged VPN, connecting clients cannot automatically determine a server-side gateway for use with routes pushed to clients by the server. ServerbridgeRoutegateway *bool `json:"serverbridge_routegateway,omitempty"` SharedKey *string `json:"shared_key,omitempty"` // Sndrcvbuf Configures a Send and Receive Buffer size for OpenVPN. The default buffer size can be too small in many cases, depending on hardware and network uplink speeds. Finding the best buffer size can take experimentation. To test the best value for a site, start at 512KiB and test higher and lower values until testing results in peak performance. Sndrcvbuf *APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf `json:"sndrcvbuf,omitempty"` // Strictusercn Controls whether the firewall will enforce a strict match between the username supplied by the user and the Common Name of their user certificate when the firewall authenticates a user. When enabled, authentication fails if the two values do not match. // This prevents users from using their own credentials with the certificate from a different user and vice versa. // This is only necessary for mode `server_tls_user`. Omitting will disable. Strictusercn *bool `json:"strictusercn,omitempty"` // Tls TLS, or Transport Layer Security, can provide session authentication and encryption to ensure the validity of peers and to protect the control channel. Paste the TLS key. This is not necessary for mode `p2p_shared_key`. Options are `""` or `true` for automatic TLS key generation, `false` to disable TLS or a raw TLS key as a string. Omitting disable TLS configuration. Tls *string `json:"tls,omitempty"` // TlsType Enter TLS Key Usage Mode. This is not necessary for mode `p2p_shared_key`. TlsType *APIServicesOpenVPNServerUpdateJSONBodyTlsType `json:"tls_type,omitempty"` // TlsauthKeydir The direction in which this VPN endpoint uses the TLS key. The TLS Key Direction must be set to complementary values on the server and clients. The default behavior uses 0 on server instances and 1 on client instances. // Enter TLS keydir direction. This is not necessary for mode `p2p_shared_key`. TlsauthKeydir *APIServicesOpenVPNServerUpdateJSONBodyTlsauthKeydir `json:"tlsauth_keydir,omitempty"` // Topology Sets the method OpenVPN uses to allocate addresses for clients in a client/server setup on tun device mode VPNs. The Topology option is relevant only when supplying a virtual adapter IP address to clients using tun mode on IPv4. Some clients may require this even for IPv6, such as OpenVPN Connect, though in reality IPv6 always runs with a subnet topology even when IPv4 uses net30. OpenVPN instances using tap mode always use subnet topology as well. Topology *APIServicesOpenVPNServerUpdateJSONBodyTopology `json:"topology,omitempty"` // TunnelNetwork Virtual IPv4 network used for private communications between this client and the server expressed using CIDR (e.g. 10.0.8.5/24). // With subnet topology, enter the client IP address and the subnet mask must match the IPv4 Tunnel Network on the server. // With net30 topology, the first network address of the /30 is assumed to be the server address and the second network address will be assigned to the client. TunnelNetwork *string `json:"tunnel_network,omitempty"` // TunnelNetworkv6 Virtual IPv6 network used for private communications between this client and the server expressed using prefix (e.g. 2001:db9:1:1::100/64). // Enter the client IPv6 address and prefix. The prefix must match the IPv6 Tunnel Network prefix on the server. TunnelNetworkv6 *string `json:"tunnel_networkv6,omitempty"` // UdpFastIo Controls whether or not OpenVPN will use fast I/O operations with UDP writes to its tun or tap device. This behavior optimizes the packet write event loop, improving CPU efficiency by 5% to 10%. Experimental. UdpFastIo *bool `json:"udp_fast_io,omitempty"` // UsernameAsCommonName Controls whether or not OpenVPN will use the username given by the client in place of the certificate common name (CN) for purposes such as determining Client Specific Overrides. This is only relevant when user authentication is enabled. This is typically the best practice, but not a requirement. // This is only necessary for mode `server_user` or `server_tls_user`. UsernameAsCommonName *bool `json:"username_as_common_name,omitempty"` // VerbosityLevel Configures the amount of detail OpenVPN will log for this instance, which is useful for troubleshooting problems. Higher numbers will result in higher amounts of detail in the log. During normal operation the default selection is ideal. Level `3` is recommended for a good summary of what's happening without being swamped by output. Maximum level `11`. The `default` setting is equivalent to level `1`. VerbosityLevel *APIServicesOpenVPNServerUpdateJSONBody_VerbosityLevel `json:"verbosity_level,omitempty"` // Vpnid This id indicates the id of the server you want to delete. This id is static and not an index of an entry in the config array. Best to first get all servers and get the id of the one you want to delete before calling this endpoint. Vpnid string `json:"vpnid"` // WinsServers Comma-separated list of no more than 2 WINS server IP addresses. Any more than the first two are ignored. WinsServers *string `json:"wins_servers,omitempty"` }
APIServicesOpenVPNServerUpdateJSONBody defines parameters for APIServicesOpenVPNServerUpdate.
type APIServicesOpenVPNServerUpdateJSONBodyAllowCompression ¶
type APIServicesOpenVPNServerUpdateJSONBodyAllowCompression string
APIServicesOpenVPNServerUpdateJSONBodyAllowCompression defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyAllowCompressionAsym APIServicesOpenVPNServerUpdateJSONBodyAllowCompression = "asym" APIServicesOpenVPNServerUpdateJSONBodyAllowCompressionNo APIServicesOpenVPNServerUpdateJSONBodyAllowCompression = "no" APIServicesOpenVPNServerUpdateJSONBodyAllowCompressionYes APIServicesOpenVPNServerUpdateJSONBodyAllowCompression = "yes" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyAllowCompression.
type APIServicesOpenVPNServerUpdateJSONBodyCertDepth ¶
type APIServicesOpenVPNServerUpdateJSONBodyCertDepth string
APIServicesOpenVPNServerUpdateJSONBodyCertDepth defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyCertDepthFive APIServicesOpenVPNServerUpdateJSONBodyCertDepth = "five" APIServicesOpenVPNServerUpdateJSONBodyCertDepthFour APIServicesOpenVPNServerUpdateJSONBodyCertDepth = "four" APIServicesOpenVPNServerUpdateJSONBodyCertDepthNone APIServicesOpenVPNServerUpdateJSONBodyCertDepth = "none" APIServicesOpenVPNServerUpdateJSONBodyCertDepthOne APIServicesOpenVPNServerUpdateJSONBodyCertDepth = "one" APIServicesOpenVPNServerUpdateJSONBodyCertDepthThree APIServicesOpenVPNServerUpdateJSONBodyCertDepth = "three" APIServicesOpenVPNServerUpdateJSONBodyCertDepthTwo APIServicesOpenVPNServerUpdateJSONBodyCertDepth = "two" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyCertDepth.
type APIServicesOpenVPNServerUpdateJSONBodyCompression ¶
type APIServicesOpenVPNServerUpdateJSONBodyCompression string
APIServicesOpenVPNServerUpdateJSONBodyCompression defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyCompressionAdaptive APIServicesOpenVPNServerUpdateJSONBodyCompression = "adaptive" APIServicesOpenVPNServerUpdateJSONBodyCompressionLz4 APIServicesOpenVPNServerUpdateJSONBodyCompression = "lz4" APIServicesOpenVPNServerUpdateJSONBodyCompressionLz4V2 APIServicesOpenVPNServerUpdateJSONBodyCompression = "lz4-v2" APIServicesOpenVPNServerUpdateJSONBodyCompressionLzo APIServicesOpenVPNServerUpdateJSONBodyCompression = "lzo" APIServicesOpenVPNServerUpdateJSONBodyCompressionNo APIServicesOpenVPNServerUpdateJSONBodyCompression = "no" APIServicesOpenVPNServerUpdateJSONBodyCompressionNoadapt APIServicesOpenVPNServerUpdateJSONBodyCompression = "noadapt" APIServicesOpenVPNServerUpdateJSONBodyCompressionNone APIServicesOpenVPNServerUpdateJSONBodyCompression = "none" APIServicesOpenVPNServerUpdateJSONBodyCompressionStub APIServicesOpenVPNServerUpdateJSONBodyCompression = "stub" APIServicesOpenVPNServerUpdateJSONBodyCompressionStubV2 APIServicesOpenVPNServerUpdateJSONBodyCompression = "stub-v2" APIServicesOpenVPNServerUpdateJSONBodyCompressionYes APIServicesOpenVPNServerUpdateJSONBodyCompression = "yes" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyCompression.
type APIServicesOpenVPNServerUpdateJSONBodyCreateGw ¶
type APIServicesOpenVPNServerUpdateJSONBodyCreateGw string
APIServicesOpenVPNServerUpdateJSONBodyCreateGw defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyCreateGwBoth APIServicesOpenVPNServerUpdateJSONBodyCreateGw = "both" APIServicesOpenVPNServerUpdateJSONBodyCreateGwV4only APIServicesOpenVPNServerUpdateJSONBodyCreateGw = "v4only" APIServicesOpenVPNServerUpdateJSONBodyCreateGwV6only APIServicesOpenVPNServerUpdateJSONBodyCreateGw = "v6only" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyCreateGw.
type APIServicesOpenVPNServerUpdateJSONBodyDevMode ¶
type APIServicesOpenVPNServerUpdateJSONBodyDevMode string
APIServicesOpenVPNServerUpdateJSONBodyDevMode defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyDevModeTap APIServicesOpenVPNServerUpdateJSONBodyDevMode = "tap" APIServicesOpenVPNServerUpdateJSONBodyDevModeTun APIServicesOpenVPNServerUpdateJSONBodyDevMode = "tun" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyDevMode.
type APIServicesOpenVPNServerUpdateJSONBodyDhLength0 ¶
type APIServicesOpenVPNServerUpdateJSONBodyDhLength0 = string
APIServicesOpenVPNServerUpdateJSONBodyDhLength0 defines parameters for APIServicesOpenVPNServerUpdate.
type APIServicesOpenVPNServerUpdateJSONBodyDhLength1 ¶
type APIServicesOpenVPNServerUpdateJSONBodyDhLength1 = int
APIServicesOpenVPNServerUpdateJSONBodyDhLength1 defines parameters for APIServicesOpenVPNServerUpdate.
type APIServicesOpenVPNServerUpdateJSONBodyDigest ¶
type APIServicesOpenVPNServerUpdateJSONBodyDigest string
APIServicesOpenVPNServerUpdateJSONBodyDigest defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyDigestBLAKE2b256 APIServicesOpenVPNServerUpdateJSONBodyDigest = "BLAKE2b256" APIServicesOpenVPNServerUpdateJSONBodyDigestBLAKE2b512 APIServicesOpenVPNServerUpdateJSONBodyDigest = "BLAKE2b512" APIServicesOpenVPNServerUpdateJSONBodyDigestMD4 APIServicesOpenVPNServerUpdateJSONBodyDigest = "MD4" APIServicesOpenVPNServerUpdateJSONBodyDigestMD5 APIServicesOpenVPNServerUpdateJSONBodyDigest = "MD5" APIServicesOpenVPNServerUpdateJSONBodyDigestMD5SHA1 APIServicesOpenVPNServerUpdateJSONBodyDigest = "MD5-SHA1" APIServicesOpenVPNServerUpdateJSONBodyDigestMDC2 APIServicesOpenVPNServerUpdateJSONBodyDigest = "MDC2" APIServicesOpenVPNServerUpdateJSONBodyDigestNone APIServicesOpenVPNServerUpdateJSONBodyDigest = "none" APIServicesOpenVPNServerUpdateJSONBodyDigestRIPEMD160 APIServicesOpenVPNServerUpdateJSONBodyDigest = "RIPEMD160" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA1 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA1" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA224 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA224" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA256 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA256" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA3224 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA3-224" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA3256 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA3-256" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA3384 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA3-384" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA3512 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA3-512" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA384 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA384" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA512 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA512" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA512224 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA512-224" APIServicesOpenVPNServerUpdateJSONBodyDigestSHA512256 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHA512-256" APIServicesOpenVPNServerUpdateJSONBodyDigestSHAKE128 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHAKE128" APIServicesOpenVPNServerUpdateJSONBodyDigestSHAKE256 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SHAKE256" APIServicesOpenVPNServerUpdateJSONBodyDigestSM3 APIServicesOpenVPNServerUpdateJSONBodyDigest = "SM3" APIServicesOpenVPNServerUpdateJSONBodyDigestWhirlpool APIServicesOpenVPNServerUpdateJSONBodyDigest = "whirlpool" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyDigest.
type APIServicesOpenVPNServerUpdateJSONBodyEcdhCurve ¶
type APIServicesOpenVPNServerUpdateJSONBodyEcdhCurve string
APIServicesOpenVPNServerUpdateJSONBodyEcdhCurve defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyEcdhCurveNone APIServicesOpenVPNServerUpdateJSONBodyEcdhCurve = "none" APIServicesOpenVPNServerUpdateJSONBodyEcdhCurvePrime256v1 APIServicesOpenVPNServerUpdateJSONBodyEcdhCurve = "prime256v1" APIServicesOpenVPNServerUpdateJSONBodyEcdhCurveSecp384r1 APIServicesOpenVPNServerUpdateJSONBodyEcdhCurve = "secp384r1" APIServicesOpenVPNServerUpdateJSONBodyEcdhCurveSecp521r1 APIServicesOpenVPNServerUpdateJSONBodyEcdhCurve = "secp521r1" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyEcdhCurve.
type APIServicesOpenVPNServerUpdateJSONBodyExitNotify ¶
type APIServicesOpenVPNServerUpdateJSONBodyExitNotify string
APIServicesOpenVPNServerUpdateJSONBodyExitNotify defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyExitNotifyEmpty APIServicesOpenVPNServerUpdateJSONBodyExitNotify = "" APIServicesOpenVPNServerUpdateJSONBodyExitNotifyNone APIServicesOpenVPNServerUpdateJSONBodyExitNotify = "none" APIServicesOpenVPNServerUpdateJSONBodyExitNotifyOnce APIServicesOpenVPNServerUpdateJSONBodyExitNotify = "once" APIServicesOpenVPNServerUpdateJSONBodyExitNotifyTwice APIServicesOpenVPNServerUpdateJSONBodyExitNotify = "twice" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyExitNotify.
type APIServicesOpenVPNServerUpdateJSONBodyMode ¶
type APIServicesOpenVPNServerUpdateJSONBodyMode string
APIServicesOpenVPNServerUpdateJSONBodyMode defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyModeP2pTls APIServicesOpenVPNServerUpdateJSONBodyMode = "p2p_tls" APIServicesOpenVPNServerUpdateJSONBodyModeServerTls APIServicesOpenVPNServerUpdateJSONBodyMode = "server_tls" APIServicesOpenVPNServerUpdateJSONBodyModeServerTlsUser APIServicesOpenVPNServerUpdateJSONBodyMode = "server_tls_user" APIServicesOpenVPNServerUpdateJSONBodyModeServerUser APIServicesOpenVPNServerUpdateJSONBodyMode = "server_user" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyMode.
type APIServicesOpenVPNServerUpdateJSONBodyNetbiosNodeType ¶
type APIServicesOpenVPNServerUpdateJSONBodyNetbiosNodeType string
APIServicesOpenVPNServerUpdateJSONBodyNetbiosNodeType defines parameters for APIServicesOpenVPNServerUpdate.
const ( B APIServicesOpenVPNServerUpdateJSONBodyNetbiosNodeType = "b" H APIServicesOpenVPNServerUpdateJSONBodyNetbiosNodeType = "h" M APIServicesOpenVPNServerUpdateJSONBodyNetbiosNodeType = "m" P APIServicesOpenVPNServerUpdateJSONBodyNetbiosNodeType = "p" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyNetbiosNodeType.
type APIServicesOpenVPNServerUpdateJSONBodyPingAction ¶
type APIServicesOpenVPNServerUpdateJSONBodyPingAction string
APIServicesOpenVPNServerUpdateJSONBodyPingAction defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyPingActionPingExit APIServicesOpenVPNServerUpdateJSONBodyPingAction = "ping_exit" APIServicesOpenVPNServerUpdateJSONBodyPingActionPingRestart APIServicesOpenVPNServerUpdateJSONBodyPingAction = "ping_restart" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyPingAction.
type APIServicesOpenVPNServerUpdateJSONBodyPingMethod ¶
type APIServicesOpenVPNServerUpdateJSONBodyPingMethod string
APIServicesOpenVPNServerUpdateJSONBodyPingMethod defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyPingMethodKeepalive APIServicesOpenVPNServerUpdateJSONBodyPingMethod = "keepalive" APIServicesOpenVPNServerUpdateJSONBodyPingMethodPing APIServicesOpenVPNServerUpdateJSONBodyPingMethod = "ping" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyPingMethod.
type APIServicesOpenVPNServerUpdateJSONBodyProtocol ¶
type APIServicesOpenVPNServerUpdateJSONBodyProtocol string
APIServicesOpenVPNServerUpdateJSONBodyProtocol defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyProtocolTcp APIServicesOpenVPNServerUpdateJSONBodyProtocol = "tcp" APIServicesOpenVPNServerUpdateJSONBodyProtocolTcp4 APIServicesOpenVPNServerUpdateJSONBodyProtocol = "tcp4" APIServicesOpenVPNServerUpdateJSONBodyProtocolTcp6 APIServicesOpenVPNServerUpdateJSONBodyProtocol = "tcp6" APIServicesOpenVPNServerUpdateJSONBodyProtocolUdp APIServicesOpenVPNServerUpdateJSONBodyProtocol = "udp" APIServicesOpenVPNServerUpdateJSONBodyProtocolUdp4 APIServicesOpenVPNServerUpdateJSONBodyProtocol = "udp4" APIServicesOpenVPNServerUpdateJSONBodyProtocolUdp6 APIServicesOpenVPNServerUpdateJSONBodyProtocol = "udp6" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyProtocol.
type APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterface ¶
type APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterface string
APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterface defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterfaceLan APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterface = "lan" APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterfaceNone APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterface = "none" APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterfaceWan APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterface = "wan" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyServerbridgeInterface.
type APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf ¶
type APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf string
APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodySndrcvbufDefault APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf = "default" APIServicesOpenVPNServerUpdateJSONBodySndrcvbufN128KiB APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf = "128KiB" APIServicesOpenVPNServerUpdateJSONBodySndrcvbufN1MiB APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf = "1MiB" APIServicesOpenVPNServerUpdateJSONBodySndrcvbufN256KiB APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf = "256KiB" APIServicesOpenVPNServerUpdateJSONBodySndrcvbufN2MiB APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf = "2MiB" APIServicesOpenVPNServerUpdateJSONBodySndrcvbufN512KiB APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf = "512KiB" APIServicesOpenVPNServerUpdateJSONBodySndrcvbufN64KiB APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf = "64KiB" APIServicesOpenVPNServerUpdateJSONBodySndrcvbufNone APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf = "none" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodySndrcvbuf.
type APIServicesOpenVPNServerUpdateJSONBodyTlsType ¶
type APIServicesOpenVPNServerUpdateJSONBodyTlsType string
APIServicesOpenVPNServerUpdateJSONBodyTlsType defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyTlsTypeAuth APIServicesOpenVPNServerUpdateJSONBodyTlsType = "auth" APIServicesOpenVPNServerUpdateJSONBodyTlsTypeCrypt APIServicesOpenVPNServerUpdateJSONBodyTlsType = "crypt" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyTlsType.
type APIServicesOpenVPNServerUpdateJSONBodyTlsauthKeydir ¶
type APIServicesOpenVPNServerUpdateJSONBodyTlsauthKeydir string
APIServicesOpenVPNServerUpdateJSONBodyTlsauthKeydir defines parameters for APIServicesOpenVPNServerUpdate.
const ( BothDirections APIServicesOpenVPNServerUpdateJSONBodyTlsauthKeydir = "both-directions" Default APIServicesOpenVPNServerUpdateJSONBodyTlsauthKeydir = "default" Direction0 APIServicesOpenVPNServerUpdateJSONBodyTlsauthKeydir = "direction-0" Direction1 APIServicesOpenVPNServerUpdateJSONBodyTlsauthKeydir = "direction-1" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyTlsauthKeydir.
type APIServicesOpenVPNServerUpdateJSONBodyTopology ¶
type APIServicesOpenVPNServerUpdateJSONBodyTopology string
APIServicesOpenVPNServerUpdateJSONBodyTopology defines parameters for APIServicesOpenVPNServerUpdate.
const ( APIServicesOpenVPNServerUpdateJSONBodyTopologyNet30 APIServicesOpenVPNServerUpdateJSONBodyTopology = "net30" APIServicesOpenVPNServerUpdateJSONBodyTopologySubnet APIServicesOpenVPNServerUpdateJSONBodyTopology = "subnet" )
Defines values for APIServicesOpenVPNServerUpdateJSONBodyTopology.
type APIServicesOpenVPNServerUpdateJSONBodyVerbosityLevel0 ¶
type APIServicesOpenVPNServerUpdateJSONBodyVerbosityLevel0 = string
APIServicesOpenVPNServerUpdateJSONBodyVerbosityLevel0 defines parameters for APIServicesOpenVPNServerUpdate.
type APIServicesOpenVPNServerUpdateJSONBodyVerbosityLevel1 ¶
type APIServicesOpenVPNServerUpdateJSONBodyVerbosityLevel1 = int
APIServicesOpenVPNServerUpdateJSONBodyVerbosityLevel1 defines parameters for APIServicesOpenVPNServerUpdate.
type APIServicesOpenVPNServerUpdateJSONBody_DhLength ¶
type APIServicesOpenVPNServerUpdateJSONBody_DhLength struct {
// contains filtered or unexported fields
}
APIServicesOpenVPNServerUpdateJSONBody_DhLength defines parameters for APIServicesOpenVPNServerUpdate.
type APIServicesOpenVPNServerUpdateJSONBody_VerbosityLevel ¶
type APIServicesOpenVPNServerUpdateJSONBody_VerbosityLevel struct {
// contains filtered or unexported fields
}
APIServicesOpenVPNServerUpdateJSONBody_VerbosityLevel defines parameters for APIServicesOpenVPNServerUpdate.
type APIServicesOpenVPNServerUpdateJSONRequestBody ¶
type APIServicesOpenVPNServerUpdateJSONRequestBody APIServicesOpenVPNServerUpdateJSONBody
APIServicesOpenVPNServerUpdateJSONRequestBody defines body for APIServicesOpenVPNServerUpdate for application/json ContentType.
type APIServicesOpenVPNServerUpdateParams ¶
type APIServicesOpenVPNServerUpdateParams struct { // Vpnid This id indicates the id of the server you want to delete. This id is static and not an index of an entry in the config array. Best to first get all servers and get the id of the one you want to delete before calling this endpoint. Vpnid struct { // contains filtered or unexported fields } `form:"vpnid" json:"vpnid"` }
APIServicesOpenVPNServerUpdateParams defines parameters for APIServicesOpenVPNServerUpdate.
type APIServicesOpenVPNServerUpdateParamsVpnid0 ¶
type APIServicesOpenVPNServerUpdateParamsVpnid0 = int
APIServicesOpenVPNServerUpdateParamsVpnid0 defines parameters for APIServicesOpenVPNServerUpdate.
type APIServicesOpenVPNServerUpdateParamsVpnid1 ¶
type APIServicesOpenVPNServerUpdateParamsVpnid1 = string
APIServicesOpenVPNServerUpdateParamsVpnid1 defines parameters for APIServicesOpenVPNServerUpdate.
type APIServicesOpenVPNServerUpdateResponse ¶
type APIServicesOpenVPNServerUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesOpenVPNServerUpdateResponse ¶
func ParseAPIServicesOpenVPNServerUpdateResponse(rsp *http.Response) (*APIServicesOpenVPNServerUpdateResponse, error)
ParseAPIServicesOpenVPNServerUpdateResponse parses an HTTP response from a APIServicesOpenVPNServerUpdateWithResponse call
func (APIServicesOpenVPNServerUpdateResponse) Status ¶
func (r APIServicesOpenVPNServerUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesOpenVPNServerUpdateResponse) StatusCode ¶
func (r APIServicesOpenVPNServerUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesReadResponse ¶
type APIServicesReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesReadResponse ¶
func ParseAPIServicesReadResponse(rsp *http.Response) (*APIServicesReadResponse, error)
ParseAPIServicesReadResponse parses an HTTP response from a APIServicesReadWithResponse call
func (APIServicesReadResponse) Status ¶
func (r APIServicesReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesReadResponse) StatusCode ¶
func (r APIServicesReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesRestartCreateJSONBody ¶
type APIServicesRestartCreateJSONBody struct { // Service Specify the name of a single service to restart. If this field is not specified, all services will be restarted. Service *string `json:"service,omitempty"` }
APIServicesRestartCreateJSONBody defines parameters for APIServicesRestartCreate.
type APIServicesRestartCreateJSONRequestBody ¶
type APIServicesRestartCreateJSONRequestBody APIServicesRestartCreateJSONBody
APIServicesRestartCreateJSONRequestBody defines body for APIServicesRestartCreate for application/json ContentType.
type APIServicesRestartCreateResponse ¶
type APIServicesRestartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesRestartCreateResponse ¶
func ParseAPIServicesRestartCreateResponse(rsp *http.Response) (*APIServicesRestartCreateResponse, error)
ParseAPIServicesRestartCreateResponse parses an HTTP response from a APIServicesRestartCreateWithResponse call
func (APIServicesRestartCreateResponse) Status ¶
func (r APIServicesRestartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesRestartCreateResponse) StatusCode ¶
func (r APIServicesRestartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesSSHdReadResponse ¶
type APIServicesSSHdReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesSSHdReadResponse ¶
func ParseAPIServicesSSHdReadResponse(rsp *http.Response) (*APIServicesSSHdReadResponse, error)
ParseAPIServicesSSHdReadResponse parses an HTTP response from a APIServicesSSHdReadWithResponse call
func (APIServicesSSHdReadResponse) Status ¶
func (r APIServicesSSHdReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesSSHdReadResponse) StatusCode ¶
func (r APIServicesSSHdReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesSSHdRestartCreateResponse ¶
type APIServicesSSHdRestartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesSSHdRestartCreateResponse ¶
func ParseAPIServicesSSHdRestartCreateResponse(rsp *http.Response) (*APIServicesSSHdRestartCreateResponse, error)
ParseAPIServicesSSHdRestartCreateResponse parses an HTTP response from a APIServicesSSHdRestartCreateWithResponse call
func (APIServicesSSHdRestartCreateResponse) Status ¶
func (r APIServicesSSHdRestartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesSSHdRestartCreateResponse) StatusCode ¶
func (r APIServicesSSHdRestartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesSSHdStartCreateResponse ¶
type APIServicesSSHdStartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesSSHdStartCreateResponse ¶
func ParseAPIServicesSSHdStartCreateResponse(rsp *http.Response) (*APIServicesSSHdStartCreateResponse, error)
ParseAPIServicesSSHdStartCreateResponse parses an HTTP response from a APIServicesSSHdStartCreateWithResponse call
func (APIServicesSSHdStartCreateResponse) Status ¶
func (r APIServicesSSHdStartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesSSHdStartCreateResponse) StatusCode ¶
func (r APIServicesSSHdStartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesSSHdStopCreateResponse ¶
type APIServicesSSHdStopCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesSSHdStopCreateResponse ¶
func ParseAPIServicesSSHdStopCreateResponse(rsp *http.Response) (*APIServicesSSHdStopCreateResponse, error)
ParseAPIServicesSSHdStopCreateResponse parses an HTTP response from a APIServicesSSHdStopCreateWithResponse call
func (APIServicesSSHdStopCreateResponse) Status ¶
func (r APIServicesSSHdStopCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesSSHdStopCreateResponse) StatusCode ¶
func (r APIServicesSSHdStopCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesSSHdUpdateJSONBody ¶
type APIServicesSSHdUpdateJSONBody struct { // Enable Enable the Secure Shell (sshd) service. Enable *bool `json:"enable,omitempty"` // Port Port the Secure Shell server will bind to. Port *int `json:"port,omitempty"` // Sshdagentforwarding Enable Secure Shell agent forwarding. Sshdagentforwarding *bool `json:"sshdagentforwarding,omitempty"` // Sshdkeyonly Secure Shell authentication type. Use `disabled` for password OR public key, `enabled` for public key only, or `both` to require both a password AND public key. Sshdkeyonly *APIServicesSSHdUpdateJSONBodySshdkeyonly `json:"sshdkeyonly,omitempty"` }
APIServicesSSHdUpdateJSONBody defines parameters for APIServicesSSHdUpdate.
type APIServicesSSHdUpdateJSONBodySshdkeyonly ¶
type APIServicesSSHdUpdateJSONBodySshdkeyonly string
APIServicesSSHdUpdateJSONBodySshdkeyonly defines parameters for APIServicesSSHdUpdate.
const ( Both APIServicesSSHdUpdateJSONBodySshdkeyonly = "both" Disabled APIServicesSSHdUpdateJSONBodySshdkeyonly = "disabled" Enabled APIServicesSSHdUpdateJSONBodySshdkeyonly = "enabled" )
Defines values for APIServicesSSHdUpdateJSONBodySshdkeyonly.
type APIServicesSSHdUpdateJSONRequestBody ¶
type APIServicesSSHdUpdateJSONRequestBody APIServicesSSHdUpdateJSONBody
APIServicesSSHdUpdateJSONRequestBody defines body for APIServicesSSHdUpdate for application/json ContentType.
type APIServicesSSHdUpdateResponse ¶
type APIServicesSSHdUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesSSHdUpdateResponse ¶
func ParseAPIServicesSSHdUpdateResponse(rsp *http.Response) (*APIServicesSSHdUpdateResponse, error)
ParseAPIServicesSSHdUpdateResponse parses an HTTP response from a APIServicesSSHdUpdateWithResponse call
func (APIServicesSSHdUpdateResponse) Status ¶
func (r APIServicesSSHdUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesSSHdUpdateResponse) StatusCode ¶
func (r APIServicesSSHdUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesServiceWatchdogReadResponse ¶
type APIServicesServiceWatchdogReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesServiceWatchdogReadResponse ¶
func ParseAPIServicesServiceWatchdogReadResponse(rsp *http.Response) (*APIServicesServiceWatchdogReadResponse, error)
ParseAPIServicesServiceWatchdogReadResponse parses an HTTP response from a APIServicesServiceWatchdogReadWithResponse call
func (APIServicesServiceWatchdogReadResponse) Status ¶
func (r APIServicesServiceWatchdogReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesServiceWatchdogReadResponse) StatusCode ¶
func (r APIServicesServiceWatchdogReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesServiceWatchdogUpdateJSONBody ¶
type APIServicesServiceWatchdogUpdateJSONBody struct { // Services Services that Service Watchdog will monitor and automatically restart upon crash. Services *[]struct { // Name Name of the service that Service Watchdog will monitor. Name string `json:"name"` // Notify Send a notification when Service Watchdog restarts this service. Notify *bool `json:"notify,omitempty"` } `json:"services,omitempty"` }
APIServicesServiceWatchdogUpdateJSONBody defines parameters for APIServicesServiceWatchdogUpdate.
type APIServicesServiceWatchdogUpdateJSONRequestBody ¶
type APIServicesServiceWatchdogUpdateJSONRequestBody APIServicesServiceWatchdogUpdateJSONBody
APIServicesServiceWatchdogUpdateJSONRequestBody defines body for APIServicesServiceWatchdogUpdate for application/json ContentType.
type APIServicesServiceWatchdogUpdateResponse ¶
type APIServicesServiceWatchdogUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesServiceWatchdogUpdateResponse ¶
func ParseAPIServicesServiceWatchdogUpdateResponse(rsp *http.Response) (*APIServicesServiceWatchdogUpdateResponse, error)
ParseAPIServicesServiceWatchdogUpdateResponse parses an HTTP response from a APIServicesServiceWatchdogUpdateWithResponse call
func (APIServicesServiceWatchdogUpdateResponse) Status ¶
func (r APIServicesServiceWatchdogUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesServiceWatchdogUpdateResponse) StatusCode ¶
func (r APIServicesServiceWatchdogUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesStartCreateResponse ¶
type APIServicesStartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesStartCreateResponse ¶
func ParseAPIServicesStartCreateResponse(rsp *http.Response) (*APIServicesStartCreateResponse, error)
ParseAPIServicesStartCreateResponse parses an HTTP response from a APIServicesStartCreateWithResponse call
func (APIServicesStartCreateResponse) Status ¶
func (r APIServicesStartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesStartCreateResponse) StatusCode ¶
func (r APIServicesStartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesStopCreateJSONBody ¶
type APIServicesStopCreateJSONBody = map[string]interface{}
APIServicesStopCreateJSONBody defines parameters for APIServicesStopCreate.
type APIServicesStopCreateJSONRequestBody ¶
type APIServicesStopCreateJSONRequestBody = APIServicesStopCreateJSONBody
APIServicesStopCreateJSONRequestBody defines body for APIServicesStopCreate for application/json ContentType.
type APIServicesStopCreateResponse ¶
type APIServicesStopCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesStopCreateResponse ¶
func ParseAPIServicesStopCreateResponse(rsp *http.Response) (*APIServicesStopCreateResponse, error)
ParseAPIServicesStopCreateResponse parses an HTTP response from a APIServicesStopCreateWithResponse call
func (APIServicesStopCreateResponse) Status ¶
func (r APIServicesStopCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesStopCreateResponse) StatusCode ¶
func (r APIServicesStopCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesSyslogdRestartCreateResponse ¶
type APIServicesSyslogdRestartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesSyslogdRestartCreateResponse ¶
func ParseAPIServicesSyslogdRestartCreateResponse(rsp *http.Response) (*APIServicesSyslogdRestartCreateResponse, error)
ParseAPIServicesSyslogdRestartCreateResponse parses an HTTP response from a APIServicesSyslogdRestartCreateWithResponse call
func (APIServicesSyslogdRestartCreateResponse) Status ¶
func (r APIServicesSyslogdRestartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesSyslogdRestartCreateResponse) StatusCode ¶
func (r APIServicesSyslogdRestartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesSyslogdStartCreateResponse ¶
type APIServicesSyslogdStartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesSyslogdStartCreateResponse ¶
func ParseAPIServicesSyslogdStartCreateResponse(rsp *http.Response) (*APIServicesSyslogdStartCreateResponse, error)
ParseAPIServicesSyslogdStartCreateResponse parses an HTTP response from a APIServicesSyslogdStartCreateWithResponse call
func (APIServicesSyslogdStartCreateResponse) Status ¶
func (r APIServicesSyslogdStartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesSyslogdStartCreateResponse) StatusCode ¶
func (r APIServicesSyslogdStartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesSyslogdStopCreateResponse ¶
type APIServicesSyslogdStopCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesSyslogdStopCreateResponse ¶
func ParseAPIServicesSyslogdStopCreateResponse(rsp *http.Response) (*APIServicesSyslogdStopCreateResponse, error)
ParseAPIServicesSyslogdStopCreateResponse parses an HTTP response from a APIServicesSyslogdStopCreateWithResponse call
func (APIServicesSyslogdStopCreateResponse) Status ¶
func (r APIServicesSyslogdStopCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesSyslogdStopCreateResponse) StatusCode ¶
func (r APIServicesSyslogdStopCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundAccessListCreateJSONBody ¶
type APIServicesUnboundAccessListCreateJSONBody struct { // Aclaction Action this access list will enforce. Aclaction APIServicesUnboundAccessListCreateJSONBodyAclaction `json:"aclaction"` // Aclname Name for this access list. Aclname *string `json:"aclname,omitempty"` // Apply Specify whether or not the DNS Resolver (Unbound) configuration should be reloaded immediately after. `true` to apply immediately, `false` to keep the changes pending. If `false`, the DNS Resolver (Unbound) configuration must be reloaded manually by calling the /api/v1/services/unbound/apply endpoint. Apply *bool `json:"apply,omitempty"` // Description Detailed description for this access list. Description *string `json:"description,omitempty"` // Row Set networks to match for this access list. This must be an array of access list row objects and must contain at least one object. For more information on access list object fields, see documentation for /api/v1/services/unbound/access_list/row. Row []map[string]interface{} `json:"row"` }
APIServicesUnboundAccessListCreateJSONBody defines parameters for APIServicesUnboundAccessListCreate.
type APIServicesUnboundAccessListCreateJSONBodyAclaction ¶
type APIServicesUnboundAccessListCreateJSONBodyAclaction string
APIServicesUnboundAccessListCreateJSONBodyAclaction defines parameters for APIServicesUnboundAccessListCreate.
const ( APIServicesUnboundAccessListCreateJSONBodyAclactionAllow APIServicesUnboundAccessListCreateJSONBodyAclaction = "allow" APIServicesUnboundAccessListCreateJSONBodyAclactionAllowSnoop APIServicesUnboundAccessListCreateJSONBodyAclaction = "allow snoop" APIServicesUnboundAccessListCreateJSONBodyAclactionDeny APIServicesUnboundAccessListCreateJSONBodyAclaction = "deny" APIServicesUnboundAccessListCreateJSONBodyAclactionDenyNonlocal APIServicesUnboundAccessListCreateJSONBodyAclaction = "deny nonlocal" APIServicesUnboundAccessListCreateJSONBodyAclactionRefuse APIServicesUnboundAccessListCreateJSONBodyAclaction = "refuse" APIServicesUnboundAccessListCreateJSONBodyAclactionRefuseNonlocal APIServicesUnboundAccessListCreateJSONBodyAclaction = "refuse nonlocal" )
Defines values for APIServicesUnboundAccessListCreateJSONBodyAclaction.
type APIServicesUnboundAccessListCreateJSONRequestBody ¶
type APIServicesUnboundAccessListCreateJSONRequestBody APIServicesUnboundAccessListCreateJSONBody
APIServicesUnboundAccessListCreateJSONRequestBody defines body for APIServicesUnboundAccessListCreate for application/json ContentType.
type APIServicesUnboundAccessListCreateResponse ¶
type APIServicesUnboundAccessListCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundAccessListCreateResponse ¶
func ParseAPIServicesUnboundAccessListCreateResponse(rsp *http.Response) (*APIServicesUnboundAccessListCreateResponse, error)
ParseAPIServicesUnboundAccessListCreateResponse parses an HTTP response from a APIServicesUnboundAccessListCreateWithResponse call
func (APIServicesUnboundAccessListCreateResponse) Status ¶
func (r APIServicesUnboundAccessListCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundAccessListCreateResponse) StatusCode ¶
func (r APIServicesUnboundAccessListCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundAccessListDeleteParams ¶
type APIServicesUnboundAccessListDeleteParams struct { // Id ID of the access list to delete. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` // Apply Specify whether or not the DNS Resolver (Unbound) configuration should be reloaded immediately after. `true` to apply immediately, `false` to keep the changes pending. If `false`, the DNS Resolver (Unbound) configuration must be reloaded manually by calling the /api/v1/services/unbound/apply endpoint. Apply *bool `form:"apply,omitempty" json:"apply,omitempty"` }
APIServicesUnboundAccessListDeleteParams defines parameters for APIServicesUnboundAccessListDelete.
type APIServicesUnboundAccessListDeleteResponse ¶
type APIServicesUnboundAccessListDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundAccessListDeleteResponse ¶
func ParseAPIServicesUnboundAccessListDeleteResponse(rsp *http.Response) (*APIServicesUnboundAccessListDeleteResponse, error)
ParseAPIServicesUnboundAccessListDeleteResponse parses an HTTP response from a APIServicesUnboundAccessListDeleteWithResponse call
func (APIServicesUnboundAccessListDeleteResponse) Status ¶
func (r APIServicesUnboundAccessListDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundAccessListDeleteResponse) StatusCode ¶
func (r APIServicesUnboundAccessListDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundAccessListReadResponse ¶
type APIServicesUnboundAccessListReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundAccessListReadResponse ¶
func ParseAPIServicesUnboundAccessListReadResponse(rsp *http.Response) (*APIServicesUnboundAccessListReadResponse, error)
ParseAPIServicesUnboundAccessListReadResponse parses an HTTP response from a APIServicesUnboundAccessListReadWithResponse call
func (APIServicesUnboundAccessListReadResponse) Status ¶
func (r APIServicesUnboundAccessListReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundAccessListReadResponse) StatusCode ¶
func (r APIServicesUnboundAccessListReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundAccessListRowCreateJSONBody ¶
type APIServicesUnboundAccessListRowCreateJSONBody struct { // AclNetwork IPv4 or IPv6 address of the network to add to the access list. AclNetwork string `json:"acl_network"` // Apply Specify whether or not you would like this access list row to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are creating multiple access list rows at once it Is best to set this to false and apply the changes afterwards using the /api/v1/services/unbound/apply endpoint. Apply *bool `json:"apply,omitempty"` // Description Description of the access list row (optional) Description *string `json:"description,omitempty"` // Id ID of the access list to apply this row to. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Mask Subnet mask of the `acl_network`. This must be a value between `0` and `32` for IPv4 addresses or `0` and `128` or IPv6 addresses. Mask int `json:"mask"` }
APIServicesUnboundAccessListRowCreateJSONBody defines parameters for APIServicesUnboundAccessListRowCreate.
type APIServicesUnboundAccessListRowCreateJSONRequestBody ¶
type APIServicesUnboundAccessListRowCreateJSONRequestBody APIServicesUnboundAccessListRowCreateJSONBody
APIServicesUnboundAccessListRowCreateJSONRequestBody defines body for APIServicesUnboundAccessListRowCreate for application/json ContentType.
type APIServicesUnboundAccessListRowCreateResponse ¶
type APIServicesUnboundAccessListRowCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundAccessListRowCreateResponse ¶
func ParseAPIServicesUnboundAccessListRowCreateResponse(rsp *http.Response) (*APIServicesUnboundAccessListRowCreateResponse, error)
ParseAPIServicesUnboundAccessListRowCreateResponse parses an HTTP response from a APIServicesUnboundAccessListRowCreateWithResponse call
func (APIServicesUnboundAccessListRowCreateResponse) Status ¶
func (r APIServicesUnboundAccessListRowCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundAccessListRowCreateResponse) StatusCode ¶
func (r APIServicesUnboundAccessListRowCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundAccessListUpdateJSONBody ¶
type APIServicesUnboundAccessListUpdateJSONBody struct { // Aclaction Action this access list will enforce. Aclaction *APIServicesUnboundAccessListUpdateJSONBodyAclaction `json:"aclaction,omitempty"` // Aclname Name for this access list. Aclname *string `json:"aclname,omitempty"` // Apply Specify whether or not the DNS Resolver (Unbound) configuration should be reloaded immediately after. `true` to apply immediately, `false` to keep the changes pending. If `false`, the DNS Resolver (Unbound) configuration must be reloaded manually by calling the /api/v1/services/unbound/apply endpoint. Apply *bool `json:"apply,omitempty"` // Description Detailed description for this access list. Description *string `json:"description,omitempty"` // Id ID of the access list to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Row Set networks to match for this access list. This must be an array of access list row objects and must contain at least one object. For more information on access list object fields, see documentation for /api/v1/services/unbound/access_list/row. Existing values will be overwritten. Row *[]map[string]interface{} `json:"row,omitempty"` }
APIServicesUnboundAccessListUpdateJSONBody defines parameters for APIServicesUnboundAccessListUpdate.
type APIServicesUnboundAccessListUpdateJSONBodyAclaction ¶
type APIServicesUnboundAccessListUpdateJSONBodyAclaction string
APIServicesUnboundAccessListUpdateJSONBodyAclaction defines parameters for APIServicesUnboundAccessListUpdate.
const ( APIServicesUnboundAccessListUpdateJSONBodyAclactionAllow APIServicesUnboundAccessListUpdateJSONBodyAclaction = "allow" APIServicesUnboundAccessListUpdateJSONBodyAclactionAllowSnoop APIServicesUnboundAccessListUpdateJSONBodyAclaction = "allow snoop" APIServicesUnboundAccessListUpdateJSONBodyAclactionDeny APIServicesUnboundAccessListUpdateJSONBodyAclaction = "deny" APIServicesUnboundAccessListUpdateJSONBodyAclactionDenyNonlocal APIServicesUnboundAccessListUpdateJSONBodyAclaction = "deny nonlocal" APIServicesUnboundAccessListUpdateJSONBodyAclactionRefuse APIServicesUnboundAccessListUpdateJSONBodyAclaction = "refuse" APIServicesUnboundAccessListUpdateJSONBodyAclactionRefuseNonlocal APIServicesUnboundAccessListUpdateJSONBodyAclaction = "refuse nonlocal" )
Defines values for APIServicesUnboundAccessListUpdateJSONBodyAclaction.
type APIServicesUnboundAccessListUpdateJSONRequestBody ¶
type APIServicesUnboundAccessListUpdateJSONRequestBody APIServicesUnboundAccessListUpdateJSONBody
APIServicesUnboundAccessListUpdateJSONRequestBody defines body for APIServicesUnboundAccessListUpdate for application/json ContentType.
type APIServicesUnboundAccessListUpdateResponse ¶
type APIServicesUnboundAccessListUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundAccessListUpdateResponse ¶
func ParseAPIServicesUnboundAccessListUpdateResponse(rsp *http.Response) (*APIServicesUnboundAccessListUpdateResponse, error)
ParseAPIServicesUnboundAccessListUpdateResponse parses an HTTP response from a APIServicesUnboundAccessListUpdateWithResponse call
func (APIServicesUnboundAccessListUpdateResponse) Status ¶
func (r APIServicesUnboundAccessListUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundAccessListUpdateResponse) StatusCode ¶
func (r APIServicesUnboundAccessListUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundApplyCreateJSONBody ¶
type APIServicesUnboundApplyCreateJSONBody struct { // Async Apply Unbound changes in the background. The Unbound reload status can be polled using a GET request to /api/v1/services/unbound/apply. Async *bool `json:"async,omitempty"` }
APIServicesUnboundApplyCreateJSONBody defines parameters for APIServicesUnboundApplyCreate.
type APIServicesUnboundApplyCreateJSONRequestBody ¶
type APIServicesUnboundApplyCreateJSONRequestBody APIServicesUnboundApplyCreateJSONBody
APIServicesUnboundApplyCreateJSONRequestBody defines body for APIServicesUnboundApplyCreate for application/json ContentType.
type APIServicesUnboundApplyCreateResponse ¶
type APIServicesUnboundApplyCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundApplyCreateResponse ¶
func ParseAPIServicesUnboundApplyCreateResponse(rsp *http.Response) (*APIServicesUnboundApplyCreateResponse, error)
ParseAPIServicesUnboundApplyCreateResponse parses an HTTP response from a APIServicesUnboundApplyCreateWithResponse call
func (APIServicesUnboundApplyCreateResponse) Status ¶
func (r APIServicesUnboundApplyCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundApplyCreateResponse) StatusCode ¶
func (r APIServicesUnboundApplyCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundApplyReadResponse ¶
type APIServicesUnboundApplyReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundApplyReadResponse ¶
func ParseAPIServicesUnboundApplyReadResponse(rsp *http.Response) (*APIServicesUnboundApplyReadResponse, error)
ParseAPIServicesUnboundApplyReadResponse parses an HTTP response from a APIServicesUnboundApplyReadWithResponse call
func (APIServicesUnboundApplyReadResponse) Status ¶
func (r APIServicesUnboundApplyReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundApplyReadResponse) StatusCode ¶
func (r APIServicesUnboundApplyReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundHostOverrideAliasCreateJSONBody ¶
type APIServicesUnboundHostOverrideAliasCreateJSONBody struct { // Apply Specify whether or not you would like this host override alias to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are creating multiple host override aliases at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/services/unbound/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Description Description of the alias. Description *string `json:"description,omitempty"` // Domain Domain of the alias. Domain string `json:"domain"` // Host Hostname of the alias. Host string `json:"host"` // Id ID of the host override to apply this alias to. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` }
APIServicesUnboundHostOverrideAliasCreateJSONBody defines parameters for APIServicesUnboundHostOverrideAliasCreate.
type APIServicesUnboundHostOverrideAliasCreateJSONRequestBody ¶
type APIServicesUnboundHostOverrideAliasCreateJSONRequestBody APIServicesUnboundHostOverrideAliasCreateJSONBody
APIServicesUnboundHostOverrideAliasCreateJSONRequestBody defines body for APIServicesUnboundHostOverrideAliasCreate for application/json ContentType.
type APIServicesUnboundHostOverrideAliasCreateResponse ¶
type APIServicesUnboundHostOverrideAliasCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundHostOverrideAliasCreateResponse ¶
func ParseAPIServicesUnboundHostOverrideAliasCreateResponse(rsp *http.Response) (*APIServicesUnboundHostOverrideAliasCreateResponse, error)
ParseAPIServicesUnboundHostOverrideAliasCreateResponse parses an HTTP response from a APIServicesUnboundHostOverrideAliasCreateWithResponse call
func (APIServicesUnboundHostOverrideAliasCreateResponse) Status ¶
func (r APIServicesUnboundHostOverrideAliasCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundHostOverrideAliasCreateResponse) StatusCode ¶
func (r APIServicesUnboundHostOverrideAliasCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundHostOverrideCreateJSONBody ¶
type APIServicesUnboundHostOverrideCreateJSONBody struct { // Aliases Host override aliases to associate with this host override. For more information on alias object fields, see documentation for /api/v1/services/unbound/host_override/alias. Aliases *[]map[string]interface{} `json:"aliases,omitempty"` // Apply Specify whether or not you would like this host override to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are modifying multiple host overrides at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/services/unbound/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description of the host override. Descr *string `json:"descr,omitempty"` // Domain Domain portion of the host override. Domain string `json:"domain"` // Host Hostname portion of the host override. Host string `json:"host"` // Ip IPv4 or IPv6 address this entry will resolve. This can be passed in as a string to resolve a single IP, or an array of strings to resolve multiple IPs. At least 1 value is required. Ip []string `json:"ip"` }
APIServicesUnboundHostOverrideCreateJSONBody defines parameters for APIServicesUnboundHostOverrideCreate.
type APIServicesUnboundHostOverrideCreateJSONRequestBody ¶
type APIServicesUnboundHostOverrideCreateJSONRequestBody APIServicesUnboundHostOverrideCreateJSONBody
APIServicesUnboundHostOverrideCreateJSONRequestBody defines body for APIServicesUnboundHostOverrideCreate for application/json ContentType.
type APIServicesUnboundHostOverrideCreateResponse ¶
type APIServicesUnboundHostOverrideCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundHostOverrideCreateResponse ¶
func ParseAPIServicesUnboundHostOverrideCreateResponse(rsp *http.Response) (*APIServicesUnboundHostOverrideCreateResponse, error)
ParseAPIServicesUnboundHostOverrideCreateResponse parses an HTTP response from a APIServicesUnboundHostOverrideCreateWithResponse call
func (APIServicesUnboundHostOverrideCreateResponse) Status ¶
func (r APIServicesUnboundHostOverrideCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundHostOverrideCreateResponse) StatusCode ¶
func (r APIServicesUnboundHostOverrideCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundHostOverrideDeleteParams ¶
type APIServicesUnboundHostOverrideDeleteParams struct { // Id ID of the host override to delete. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `form:"id" json:"id"` // Apply Specify whether or not you would like this deletion to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are modifying multiple host overrides at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/services/unbound/apply` endpoint. Apply *string `form:"apply,omitempty" json:"apply,omitempty"` }
APIServicesUnboundHostOverrideDeleteParams defines parameters for APIServicesUnboundHostOverrideDelete.
type APIServicesUnboundHostOverrideDeleteResponse ¶
type APIServicesUnboundHostOverrideDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundHostOverrideDeleteResponse ¶
func ParseAPIServicesUnboundHostOverrideDeleteResponse(rsp *http.Response) (*APIServicesUnboundHostOverrideDeleteResponse, error)
ParseAPIServicesUnboundHostOverrideDeleteResponse parses an HTTP response from a APIServicesUnboundHostOverrideDeleteWithResponse call
func (APIServicesUnboundHostOverrideDeleteResponse) Status ¶
func (r APIServicesUnboundHostOverrideDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundHostOverrideDeleteResponse) StatusCode ¶
func (r APIServicesUnboundHostOverrideDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundHostOverrideFlushDeleteResponse ¶
type APIServicesUnboundHostOverrideFlushDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundHostOverrideFlushDeleteResponse ¶
func ParseAPIServicesUnboundHostOverrideFlushDeleteResponse(rsp *http.Response) (*APIServicesUnboundHostOverrideFlushDeleteResponse, error)
ParseAPIServicesUnboundHostOverrideFlushDeleteResponse parses an HTTP response from a APIServicesUnboundHostOverrideFlushDeleteWithResponse call
func (APIServicesUnboundHostOverrideFlushDeleteResponse) Status ¶
func (r APIServicesUnboundHostOverrideFlushDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundHostOverrideFlushDeleteResponse) StatusCode ¶
func (r APIServicesUnboundHostOverrideFlushDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundHostOverrideFlushUpdateJSONBody ¶
type APIServicesUnboundHostOverrideFlushUpdateJSONBody struct { // Apply Specify whether or not you would like these host overrides to be applied immediately, or simply written to the configuration to be applied later using the /api/v1/services/unbound/apply endpoint. Apply *bool `json:"apply,omitempty"` // HostOverrides Host override objects to replace existing host overrides with. Specifying an empty array will remove all existing host overrides. Each object within this array can use any properties available to the /api/v1/services/unbound/host_override endpoint. HostOverrides []map[string]interface{} `json:"host_overrides"` }
APIServicesUnboundHostOverrideFlushUpdateJSONBody defines parameters for APIServicesUnboundHostOverrideFlushUpdate.
type APIServicesUnboundHostOverrideFlushUpdateJSONRequestBody ¶
type APIServicesUnboundHostOverrideFlushUpdateJSONRequestBody APIServicesUnboundHostOverrideFlushUpdateJSONBody
APIServicesUnboundHostOverrideFlushUpdateJSONRequestBody defines body for APIServicesUnboundHostOverrideFlushUpdate for application/json ContentType.
type APIServicesUnboundHostOverrideFlushUpdateResponse ¶
type APIServicesUnboundHostOverrideFlushUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundHostOverrideFlushUpdateResponse ¶
func ParseAPIServicesUnboundHostOverrideFlushUpdateResponse(rsp *http.Response) (*APIServicesUnboundHostOverrideFlushUpdateResponse, error)
ParseAPIServicesUnboundHostOverrideFlushUpdateResponse parses an HTTP response from a APIServicesUnboundHostOverrideFlushUpdateWithResponse call
func (APIServicesUnboundHostOverrideFlushUpdateResponse) Status ¶
func (r APIServicesUnboundHostOverrideFlushUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundHostOverrideFlushUpdateResponse) StatusCode ¶
func (r APIServicesUnboundHostOverrideFlushUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundHostOverrideReadResponse ¶
type APIServicesUnboundHostOverrideReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundHostOverrideReadResponse ¶
func ParseAPIServicesUnboundHostOverrideReadResponse(rsp *http.Response) (*APIServicesUnboundHostOverrideReadResponse, error)
ParseAPIServicesUnboundHostOverrideReadResponse parses an HTTP response from a APIServicesUnboundHostOverrideReadWithResponse call
func (APIServicesUnboundHostOverrideReadResponse) Status ¶
func (r APIServicesUnboundHostOverrideReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundHostOverrideReadResponse) StatusCode ¶
func (r APIServicesUnboundHostOverrideReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundHostOverrideUpdateJSONBody ¶
type APIServicesUnboundHostOverrideUpdateJSONBody struct { // Aliases Host override aliases to associate with this host override. For more information on alias object fields, see documentation for /api/v1/services/unbound/host_override/alias. Existing entries will be overwritten. Aliases *[]map[string]interface{} `json:"aliases,omitempty"` // Apply Specify whether or not you would like this host override to be applied immediately, or simply written to the configuration to be applied later. Typically, if you are modifying multiple host overrides at once it Is best to set this to false and apply the changes afterwards using the `/api/v1/services/unbound/apply` endpoint. Apply *bool `json:"apply,omitempty"` // Descr Description of the host override. Descr *string `json:"descr,omitempty"` // Domain Domain portion of the host override. Domain *string `json:"domain,omitempty"` // Host Hostname portion of the host override. Host *string `json:"host,omitempty"` // Id ID of the host override to update. Refer to the 'Obtaining Object IDs' section in the documentation intro for help obtaining this ID. Id int `json:"id"` // Ip IPv4 or IPv6 address this entry will resolve. This can be passed in as a string to resolve a single IP, or an array of strings to resolve multiple IPs. At least 1 value is required. Any existing values will be overwritten. Ip *[]string `json:"ip,omitempty"` }
APIServicesUnboundHostOverrideUpdateJSONBody defines parameters for APIServicesUnboundHostOverrideUpdate.
type APIServicesUnboundHostOverrideUpdateJSONRequestBody ¶
type APIServicesUnboundHostOverrideUpdateJSONRequestBody APIServicesUnboundHostOverrideUpdateJSONBody
APIServicesUnboundHostOverrideUpdateJSONRequestBody defines body for APIServicesUnboundHostOverrideUpdate for application/json ContentType.
type APIServicesUnboundHostOverrideUpdateResponse ¶
type APIServicesUnboundHostOverrideUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundHostOverrideUpdateResponse ¶
func ParseAPIServicesUnboundHostOverrideUpdateResponse(rsp *http.Response) (*APIServicesUnboundHostOverrideUpdateResponse, error)
ParseAPIServicesUnboundHostOverrideUpdateResponse parses an HTTP response from a APIServicesUnboundHostOverrideUpdateWithResponse call
func (APIServicesUnboundHostOverrideUpdateResponse) Status ¶
func (r APIServicesUnboundHostOverrideUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundHostOverrideUpdateResponse) StatusCode ¶
func (r APIServicesUnboundHostOverrideUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundReadResponse ¶
type APIServicesUnboundReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundReadResponse ¶
func ParseAPIServicesUnboundReadResponse(rsp *http.Response) (*APIServicesUnboundReadResponse, error)
ParseAPIServicesUnboundReadResponse parses an HTTP response from a APIServicesUnboundReadWithResponse call
func (APIServicesUnboundReadResponse) Status ¶
func (r APIServicesUnboundReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundReadResponse) StatusCode ¶
func (r APIServicesUnboundReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundRestartCreateResponse ¶
type APIServicesUnboundRestartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundRestartCreateResponse ¶
func ParseAPIServicesUnboundRestartCreateResponse(rsp *http.Response) (*APIServicesUnboundRestartCreateResponse, error)
ParseAPIServicesUnboundRestartCreateResponse parses an HTTP response from a APIServicesUnboundRestartCreateWithResponse call
func (APIServicesUnboundRestartCreateResponse) Status ¶
func (r APIServicesUnboundRestartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundRestartCreateResponse) StatusCode ¶
func (r APIServicesUnboundRestartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundStartCreateResponse ¶
type APIServicesUnboundStartCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundStartCreateResponse ¶
func ParseAPIServicesUnboundStartCreateResponse(rsp *http.Response) (*APIServicesUnboundStartCreateResponse, error)
ParseAPIServicesUnboundStartCreateResponse parses an HTTP response from a APIServicesUnboundStartCreateWithResponse call
func (APIServicesUnboundStartCreateResponse) Status ¶
func (r APIServicesUnboundStartCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundStartCreateResponse) StatusCode ¶
func (r APIServicesUnboundStartCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesUnboundStopCreateResponse ¶
type APIServicesUnboundStopCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesUnboundStopCreateResponse ¶
func ParseAPIServicesUnboundStopCreateResponse(rsp *http.Response) (*APIServicesUnboundStopCreateResponse, error)
ParseAPIServicesUnboundStopCreateResponse parses an HTTP response from a APIServicesUnboundStopCreateWithResponse call
func (APIServicesUnboundStopCreateResponse) Status ¶
func (r APIServicesUnboundStopCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesUnboundStopCreateResponse) StatusCode ¶
func (r APIServicesUnboundStopCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIServicesWOLSendCreateJSONBody ¶
type APIServicesWOLSendCreateJSONBody struct { // Interface Interface to which the host to be woken is connected. Interface string `json:"interface"` // Mac MAC address of the host to be woken. Mac string `json:"mac"` }
APIServicesWOLSendCreateJSONBody defines parameters for APIServicesWOLSendCreate.
type APIServicesWOLSendCreateJSONRequestBody ¶
type APIServicesWOLSendCreateJSONRequestBody APIServicesWOLSendCreateJSONBody
APIServicesWOLSendCreateJSONRequestBody defines body for APIServicesWOLSendCreate for application/json ContentType.
type APIServicesWOLSendCreateResponse ¶
type APIServicesWOLSendCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIServicesWOLSendCreateResponse ¶
func ParseAPIServicesWOLSendCreateResponse(rsp *http.Response) (*APIServicesWOLSendCreateResponse, error)
ParseAPIServicesWOLSendCreateResponse parses an HTTP response from a APIServicesWOLSendCreateWithResponse call
func (APIServicesWOLSendCreateResponse) Status ¶
func (r APIServicesWOLSendCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIServicesWOLSendCreateResponse) StatusCode ¶
func (r APIServicesWOLSendCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusCARPReadResponse ¶
type APIStatusCARPReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusCARPReadResponse ¶
func ParseAPIStatusCARPReadResponse(rsp *http.Response) (*APIStatusCARPReadResponse, error)
ParseAPIStatusCARPReadResponse parses an HTTP response from a APIStatusCARPReadWithResponse call
func (APIStatusCARPReadResponse) Status ¶
func (r APIStatusCARPReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusCARPReadResponse) StatusCode ¶
func (r APIStatusCARPReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusCARPUpdateJSONBody ¶
type APIStatusCARPUpdateJSONBody struct { // Enable Enable or disable CARP. Enable *bool `json:"enable,omitempty"` // MaintenanceMode Enable or disable CARP maintenance mode. MaintenanceMode *bool `json:"maintenance_mode,omitempty"` }
APIStatusCARPUpdateJSONBody defines parameters for APIStatusCARPUpdate.
type APIStatusCARPUpdateJSONRequestBody ¶
type APIStatusCARPUpdateJSONRequestBody APIStatusCARPUpdateJSONBody
APIStatusCARPUpdateJSONRequestBody defines body for APIStatusCARPUpdate for application/json ContentType.
type APIStatusCARPUpdateResponse ¶
type APIStatusCARPUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusCARPUpdateResponse ¶
func ParseAPIStatusCARPUpdateResponse(rsp *http.Response) (*APIStatusCARPUpdateResponse, error)
ParseAPIStatusCARPUpdateResponse parses an HTTP response from a APIStatusCARPUpdateWithResponse call
func (APIStatusCARPUpdateResponse) Status ¶
func (r APIStatusCARPUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusCARPUpdateResponse) StatusCode ¶
func (r APIStatusCARPUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusGatewayReadResponse ¶
type APIStatusGatewayReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusGatewayReadResponse ¶
func ParseAPIStatusGatewayReadResponse(rsp *http.Response) (*APIStatusGatewayReadResponse, error)
ParseAPIStatusGatewayReadResponse parses an HTTP response from a APIStatusGatewayReadWithResponse call
func (APIStatusGatewayReadResponse) Status ¶
func (r APIStatusGatewayReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusGatewayReadResponse) StatusCode ¶
func (r APIStatusGatewayReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusIPsecReadResponse ¶
type APIStatusIPsecReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusIPsecReadResponse ¶
func ParseAPIStatusIPsecReadResponse(rsp *http.Response) (*APIStatusIPsecReadResponse, error)
ParseAPIStatusIPsecReadResponse parses an HTTP response from a APIStatusIPsecReadWithResponse call
func (APIStatusIPsecReadResponse) Status ¶
func (r APIStatusIPsecReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusIPsecReadResponse) StatusCode ¶
func (r APIStatusIPsecReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusInterfaceReadResponse ¶
type APIStatusInterfaceReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusInterfaceReadResponse ¶
func ParseAPIStatusInterfaceReadResponse(rsp *http.Response) (*APIStatusInterfaceReadResponse, error)
ParseAPIStatusInterfaceReadResponse parses an HTTP response from a APIStatusInterfaceReadWithResponse call
func (APIStatusInterfaceReadResponse) Status ¶
func (r APIStatusInterfaceReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusInterfaceReadResponse) StatusCode ¶
func (r APIStatusInterfaceReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusLogConfigHistoryReadResponse ¶
type APIStatusLogConfigHistoryReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusLogConfigHistoryReadResponse ¶
func ParseAPIStatusLogConfigHistoryReadResponse(rsp *http.Response) (*APIStatusLogConfigHistoryReadResponse, error)
ParseAPIStatusLogConfigHistoryReadResponse parses an HTTP response from a APIStatusLogConfigHistoryReadWithResponse call
func (APIStatusLogConfigHistoryReadResponse) Status ¶
func (r APIStatusLogConfigHistoryReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusLogConfigHistoryReadResponse) StatusCode ¶
func (r APIStatusLogConfigHistoryReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusLogDHCPReadResponse ¶
type APIStatusLogDHCPReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusLogDHCPReadResponse ¶
func ParseAPIStatusLogDHCPReadResponse(rsp *http.Response) (*APIStatusLogDHCPReadResponse, error)
ParseAPIStatusLogDHCPReadResponse parses an HTTP response from a APIStatusLogDHCPReadWithResponse call
func (APIStatusLogDHCPReadResponse) Status ¶
func (r APIStatusLogDHCPReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusLogDHCPReadResponse) StatusCode ¶
func (r APIStatusLogDHCPReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusLogFirewallReadResponse ¶
type APIStatusLogFirewallReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusLogFirewallReadResponse ¶
func ParseAPIStatusLogFirewallReadResponse(rsp *http.Response) (*APIStatusLogFirewallReadResponse, error)
ParseAPIStatusLogFirewallReadResponse parses an HTTP response from a APIStatusLogFirewallReadWithResponse call
func (APIStatusLogFirewallReadResponse) Status ¶
func (r APIStatusLogFirewallReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusLogFirewallReadResponse) StatusCode ¶
func (r APIStatusLogFirewallReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusLogSettingsUpdateJSONBody ¶
type APIStatusLogSettingsUpdateJSONBody struct { // Auth Send authentication logs to the remote log server. This field is only available if `enable` is set to `True`. Auth *bool `json:"auth,omitempty"` // Dhcp Send DHCP logs to the remote log server. This field is only available if `enable` is set to `True`. Dhcp *bool `json:"dhcp,omitempty"` // Disablelocallogging Disable writing log files to the local disk. This will also disable Login Protection! Disablelocallogging *bool `json:"disablelocallogging,omitempty"` // Dpinger Send gateway logs to the remote log server. This field is only available if `enable` is set to `True`. Dpinger *bool `json:"dpinger,omitempty"` // Enable Send logs to remote syslog servers. Enable *bool `json:"enable,omitempty"` // Filter Send firewall logs to the remote log server. This field is only available if `enable` is set to `True`. Filter *bool `json:"filter,omitempty"` // Filterdescriptions Show the applied rule description below or in the firewall log rows. `0` to not display descriptions, `1` to display as a column, or `2` to display as a separate row. Filterdescriptions *APIStatusLogSettingsUpdateJSONBodyFilterdescriptions `json:"filterdescriptions,omitempty"` // Format The logging format for syslog to use. Format *APIStatusLogSettingsUpdateJSONBodyFormat `json:"format,omitempty"` // Hostapd Send wireless logs to the remote log server. This field is only available if `enable` is set to `True`. Hostapd *bool `json:"hostapd,omitempty"` // Ipprotocol Selects either the IPv4 or IPv6 address of the interface specified in `sourceip`. Ipprotocol *APIStatusLogSettingsUpdateJSONBodyIpprotocol `json:"ipprotocol,omitempty"` // Logall Send all logs to the remote log server. This field is only available if `enable` is set to `True`. Logall *bool `json:"logall,omitempty"` // Logcompressiontype Type of compression to use when rotating log files. Logcompressiontype *APIStatusLogSettingsUpdateJSONBodyLogcompressiontype `json:"logcompressiontype,omitempty"` // Logconfigchanges Generate log entries when making changes to the configuration. Logconfigchanges *bool `json:"logconfigchanges,omitempty"` // Logfilesize Size (in bytes) at which logs will be rotated. Logfilesize *int `json:"logfilesize,omitempty"` // Nentries Number of log entries to display in the webConfigurator. Nentries *int `json:"nentries,omitempty"` // Nologbogons Disable logging packets blocked by 'Block Bogon Networks' rules. Nologbogons *bool `json:"nologbogons,omitempty"` // Nologdefaultblock Disable logging packets blocked by default firewall rules. Nologdefaultblock *bool `json:"nologdefaultblock,omitempty"` // Nologdefaultpass Disable logging packets passed by default firewall rules. Nologdefaultpass *bool `json:"nologdefaultpass,omitempty"` // Nolognginx Disable logging errors from the web server process. Nolognginx *bool `json:"nolognginx,omitempty"` // Nologprivatenets Disable logging packets blocked by 'Block Private Networks' rules. Nologprivatenets *bool `json:"nologprivatenets,omitempty"` // Ntpd Send NTP logs to the remote log server. This field is only available if `enable` is set to `True`. Ntpd *bool `json:"ntpd,omitempty"` // Portalauth Send captive portal logs to the remote log server. This field is only available if `enable` is set to `True`. Portalauth *bool `json:"portalauth,omitempty"` // Ppp Send PPP logs to the remote log server. This field is only available if `enable` is set to `True`. Ppp *bool `json:"ppp,omitempty"` // Rawfilter Show logs generated by the packet filter without any formatting. Rawfilter *bool `json:"rawfilter,omitempty"` // Remoteserver The remote server to send logs to. This field is only available if `enable` is set to `True`. Remoteserver *string `json:"remoteserver,omitempty"` // Remoteserver2 An additional remote server to send logs to. This field is only available if a `remoteserver` value is set. Remoteserver2 *string `json:"remoteserver2,omitempty"` // Remoteserver3 An additional remote server to send logs to. This field is only available if a `remoteserver2` value is set. Remoteserver3 *string `json:"remoteserver3,omitempty"` // Resolver Send DNS logs to the remote log server. This field is only available if `enable` is set to `True`. Resolver *bool `json:"resolver,omitempty"` // Reverse View logs in reverse order. Reverse *bool `json:"reverse,omitempty"` // Rotatecount Number of log files to keep before the oldest copy is removed on rotation. Rotatecount *int `json:"rotatecount,omitempty"` // Routing Send routing logs to the remote log server. This field is only available if `enable` is set to `True`. Routing *bool `json:"routing,omitempty"` // Sourceip Interface to send remote logs from. You may use the real interface ID (e.g. igb0), the descriptive interface name, the pfSense ID (e.g. wan, lan, optx) or `any` to use any interface. Sourceip *string `json:"sourceip,omitempty"` // System Send system logs to the remote log server. This field is only available if `enable` is set to `True`. System *bool `json:"system,omitempty"` // Vpn Send VPN logs to the remote log server. This field is only available if `enable` is set to `True`. Vpn *bool `json:"vpn,omitempty"` }
APIStatusLogSettingsUpdateJSONBody defines parameters for APIStatusLogSettingsUpdate.
type APIStatusLogSettingsUpdateJSONBodyFilterdescriptions ¶
type APIStatusLogSettingsUpdateJSONBodyFilterdescriptions int
APIStatusLogSettingsUpdateJSONBodyFilterdescriptions defines parameters for APIStatusLogSettingsUpdate.
const ( APIStatusLogSettingsUpdateJSONBodyFilterdescriptionsN0 APIStatusLogSettingsUpdateJSONBodyFilterdescriptions = 0 APIStatusLogSettingsUpdateJSONBodyFilterdescriptionsN1 APIStatusLogSettingsUpdateJSONBodyFilterdescriptions = 1 APIStatusLogSettingsUpdateJSONBodyFilterdescriptionsN2 APIStatusLogSettingsUpdateJSONBodyFilterdescriptions = 2 )
Defines values for APIStatusLogSettingsUpdateJSONBodyFilterdescriptions.
type APIStatusLogSettingsUpdateJSONBodyFormat ¶
type APIStatusLogSettingsUpdateJSONBodyFormat string
APIStatusLogSettingsUpdateJSONBodyFormat defines parameters for APIStatusLogSettingsUpdate.
const ( Rfc3164 APIStatusLogSettingsUpdateJSONBodyFormat = "rfc3164" Rfc5424 APIStatusLogSettingsUpdateJSONBodyFormat = "rfc5424" )
Defines values for APIStatusLogSettingsUpdateJSONBodyFormat.
type APIStatusLogSettingsUpdateJSONBodyIpprotocol ¶
type APIStatusLogSettingsUpdateJSONBodyIpprotocol string
APIStatusLogSettingsUpdateJSONBodyIpprotocol defines parameters for APIStatusLogSettingsUpdate.
const ( Ipv4 APIStatusLogSettingsUpdateJSONBodyIpprotocol = "ipv4" Ipv6 APIStatusLogSettingsUpdateJSONBodyIpprotocol = "ipv6" )
Defines values for APIStatusLogSettingsUpdateJSONBodyIpprotocol.
type APIStatusLogSettingsUpdateJSONBodyLogcompressiontype ¶
type APIStatusLogSettingsUpdateJSONBodyLogcompressiontype string
APIStatusLogSettingsUpdateJSONBodyLogcompressiontype defines parameters for APIStatusLogSettingsUpdate.
const ( APIStatusLogSettingsUpdateJSONBodyLogcompressiontypeBzip2 APIStatusLogSettingsUpdateJSONBodyLogcompressiontype = "bzip2" APIStatusLogSettingsUpdateJSONBodyLogcompressiontypeGzip APIStatusLogSettingsUpdateJSONBodyLogcompressiontype = "gzip" APIStatusLogSettingsUpdateJSONBodyLogcompressiontypeNone APIStatusLogSettingsUpdateJSONBodyLogcompressiontype = "none" APIStatusLogSettingsUpdateJSONBodyLogcompressiontypeXz APIStatusLogSettingsUpdateJSONBodyLogcompressiontype = "xz" APIStatusLogSettingsUpdateJSONBodyLogcompressiontypeZstd APIStatusLogSettingsUpdateJSONBodyLogcompressiontype = "zstd" )
Defines values for APIStatusLogSettingsUpdateJSONBodyLogcompressiontype.
type APIStatusLogSettingsUpdateJSONRequestBody ¶
type APIStatusLogSettingsUpdateJSONRequestBody APIStatusLogSettingsUpdateJSONBody
APIStatusLogSettingsUpdateJSONRequestBody defines body for APIStatusLogSettingsUpdate for application/json ContentType.
type APIStatusLogSettingsUpdateResponse ¶
type APIStatusLogSettingsUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusLogSettingsUpdateResponse ¶
func ParseAPIStatusLogSettingsUpdateResponse(rsp *http.Response) (*APIStatusLogSettingsUpdateResponse, error)
ParseAPIStatusLogSettingsUpdateResponse parses an HTTP response from a APIStatusLogSettingsUpdateWithResponse call
func (APIStatusLogSettingsUpdateResponse) Status ¶
func (r APIStatusLogSettingsUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusLogSettingsUpdateResponse) StatusCode ¶
func (r APIStatusLogSettingsUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusLogSystemReadResponse ¶
type APIStatusLogSystemReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusLogSystemReadResponse ¶
func ParseAPIStatusLogSystemReadResponse(rsp *http.Response) (*APIStatusLogSystemReadResponse, error)
ParseAPIStatusLogSystemReadResponse parses an HTTP response from a APIStatusLogSystemReadWithResponse call
func (APIStatusLogSystemReadResponse) Status ¶
func (r APIStatusLogSystemReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusLogSystemReadResponse) StatusCode ¶
func (r APIStatusLogSystemReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusOpenVPNReadResponse ¶
type APIStatusOpenVPNReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusOpenVPNReadResponse ¶
func ParseAPIStatusOpenVPNReadResponse(rsp *http.Response) (*APIStatusOpenVPNReadResponse, error)
ParseAPIStatusOpenVPNReadResponse parses an HTTP response from a APIStatusOpenVPNReadWithResponse call
func (APIStatusOpenVPNReadResponse) Status ¶
func (r APIStatusOpenVPNReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusOpenVPNReadResponse) StatusCode ¶
func (r APIStatusOpenVPNReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIStatusSystemReadResponse ¶
type APIStatusSystemReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIStatusSystemReadResponse ¶
func ParseAPIStatusSystemReadResponse(rsp *http.Response) (*APIStatusSystemReadResponse, error)
ParseAPIStatusSystemReadResponse parses an HTTP response from a APIStatusSystemReadWithResponse call
func (APIStatusSystemReadResponse) Status ¶
func (r APIStatusSystemReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIStatusSystemReadResponse) StatusCode ¶
func (r APIStatusSystemReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemAPIErrorReadResponse ¶
type APISystemAPIErrorReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemAPIErrorReadResponse ¶
func ParseAPISystemAPIErrorReadResponse(rsp *http.Response) (*APISystemAPIErrorReadResponse, error)
ParseAPISystemAPIErrorReadResponse parses an HTTP response from a APISystemAPIErrorReadWithResponse call
func (APISystemAPIErrorReadResponse) Status ¶
func (r APISystemAPIErrorReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemAPIErrorReadResponse) StatusCode ¶
func (r APISystemAPIErrorReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemAPIReadResponse ¶
type APISystemAPIReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemAPIReadResponse ¶
func ParseAPISystemAPIReadResponse(rsp *http.Response) (*APISystemAPIReadResponse, error)
ParseAPISystemAPIReadResponse parses an HTTP response from a APISystemAPIReadWithResponse call
func (APISystemAPIReadResponse) Status ¶
func (r APISystemAPIReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemAPIReadResponse) StatusCode ¶
func (r APISystemAPIReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemAPIUpdateJSONBody ¶
type APISystemAPIUpdateJSONBody struct { // AccessList Set the API access list. This must be an array of IPv4 or IPv6 subnets in CIDR notation. If left blank, all subnets will be allowed. AccessList *[]string `json:"access_list,omitempty"` // AllowOptions Enable or disable the Options request method from API responses. If set to `true`, the API will answer Options requests. If set to `false`, the API will return a 405 Method Not Allowed response. AllowOptions *bool `json:"allow_options,omitempty"` // AllowedInterfaces Interfaces that are allowed to answer API requests. Each item in the array must be a valid real interface ID (e.g. `em0`), pfSense interface ID, (e.g. `opt1`), or descriptive interface name (e.g. `"WAN"`). Additionally you may add `localhost` to allow local API requests, or add `any` to allow any interface to answer API requests. It is best practice to only allow inside interfaces to answer API requests, or use firewall rules to filter requests made to outside interfaces. AllowedInterfaces *[]string `json:"allowed_interfaces,omitempty"` // Authmode Update the API authentication mode. Authmode *APISystemAPIUpdateJSONBodyAuthmode `json:"authmode,omitempty"` // CustomHeaders Custom response headers for the API to return in API responses. To revert custom headers to the default state, simply pass in an empty array. In most cases, custom headers are not necessary. An example use case for custom headers is setting CORS policy headers required by some frontend web applications. CustomHeaders *[]map[string]interface{} `json:"custom_headers,omitempty"` // Enable Enable or disable the API. If set to `false`, the API will be disabled and you will no longer be able to API requests until the API enabled via the webConfigurator. Enable *bool `json:"enable,omitempty"` // EnableLoginProtection Enable or disable Login Protection for API authentication requests. EnableLoginProtection *bool `json:"enable_login_protection,omitempty"` // Hasync Enable or disable HA sync for API configurations. Hasync *bool `json:"hasync,omitempty"` // HasyncHosts Hosts to sync API configurations to. This must be an array of IP addresses or FQDN strings. At least one host must be specified when `hasync` is set to `true`. HasyncHosts *[]string `json:"hasync_hosts,omitempty"` // HasyncPassword Password of the username to authenticate as for HA synchronization. This parameter is required when `hasync` is set to `true`. HasyncPassword *string `json:"hasync_password,omitempty"` // HasyncUsername Username to authenticate as for HA synchronization. This user must be present on ALL hosts specified in the `hasync_hosts` value and must hold the `page-system-api` privilege. This parameter is required when `hasync` is set to `true`. HasyncUsername *string `json:"hasync_username,omitempty"` // JwtExp JWT expiration interval (in seconds). This parameter is only available when `authmode` is set to `jwt`. JwtExp *int `json:"jwt_exp,omitempty"` // Keybytes Key byte strength to use when generating API tokens. This parameter is only available when `authmode` is set to `token`. Keybytes *APISystemAPIUpdateJSONBodyKeybytes `json:"keybytes,omitempty"` // Keyhash Hashing algorithm to use when generating API tokens. This parameter is only available when `authmode` is set to `token`. Keyhash *APISystemAPIUpdateJSONBodyKeyhash `json:"keyhash,omitempty"` // LogSuccessfulAuth Enable or disable logging successful API authentication requests in syslog. This field is only applicable if `enable_login_protection` is set to `true`. LogSuccessfulAuth *bool `json:"log_successful_auth,omitempty"` // Persist Enable or disable persistent API configuration. If set to `true`, the API will store a copy of the API configuration in the case a system update or package update is needed and/or the API configuration must be restored. If set to `false`, all API configuration will be lost whenever the system updates, the package is updated, or the package is deleted. It is recommended to keep this feature enabled. Persist *bool `json:"persist,omitempty"` // Readonly Enable or disable read-only API mode. If `true`, the API will only respond to read requests and modifications to configuration will not be allowed. Readonly *bool `json:"readonly,omitempty"` }
APISystemAPIUpdateJSONBody defines parameters for APISystemAPIUpdate.
type APISystemAPIUpdateJSONBodyAuthmode ¶
type APISystemAPIUpdateJSONBodyAuthmode string
APISystemAPIUpdateJSONBodyAuthmode defines parameters for APISystemAPIUpdate.
const ( APISystemAPIUpdateJSONBodyAuthmodeJwt APISystemAPIUpdateJSONBodyAuthmode = "jwt" APISystemAPIUpdateJSONBodyAuthmodeLocal APISystemAPIUpdateJSONBodyAuthmode = "local" APISystemAPIUpdateJSONBodyAuthmodeToken APISystemAPIUpdateJSONBodyAuthmode = "token" )
Defines values for APISystemAPIUpdateJSONBodyAuthmode.
type APISystemAPIUpdateJSONBodyKeybytes ¶
type APISystemAPIUpdateJSONBodyKeybytes int
APISystemAPIUpdateJSONBodyKeybytes defines parameters for APISystemAPIUpdate.
const ( N16 APISystemAPIUpdateJSONBodyKeybytes = 16 N32 APISystemAPIUpdateJSONBodyKeybytes = 32 N64 APISystemAPIUpdateJSONBodyKeybytes = 64 )
Defines values for APISystemAPIUpdateJSONBodyKeybytes.
type APISystemAPIUpdateJSONBodyKeyhash ¶
type APISystemAPIUpdateJSONBodyKeyhash string
APISystemAPIUpdateJSONBodyKeyhash defines parameters for APISystemAPIUpdate.
const ( APISystemAPIUpdateJSONBodyKeyhashMd5 APISystemAPIUpdateJSONBodyKeyhash = "md5" APISystemAPIUpdateJSONBodyKeyhashSha256 APISystemAPIUpdateJSONBodyKeyhash = "sha256" APISystemAPIUpdateJSONBodyKeyhashSha384 APISystemAPIUpdateJSONBodyKeyhash = "sha384" APISystemAPIUpdateJSONBodyKeyhashSha512 APISystemAPIUpdateJSONBodyKeyhash = "sha512" )
Defines values for APISystemAPIUpdateJSONBodyKeyhash.
type APISystemAPIUpdateJSONRequestBody ¶
type APISystemAPIUpdateJSONRequestBody APISystemAPIUpdateJSONBody
APISystemAPIUpdateJSONRequestBody defines body for APISystemAPIUpdate for application/json ContentType.
type APISystemAPIUpdateResponse ¶
type APISystemAPIUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemAPIUpdateResponse ¶
func ParseAPISystemAPIUpdateResponse(rsp *http.Response) (*APISystemAPIUpdateResponse, error)
ParseAPISystemAPIUpdateResponse parses an HTTP response from a APISystemAPIUpdateWithResponse call
func (APISystemAPIUpdateResponse) Status ¶
func (r APISystemAPIUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemAPIUpdateResponse) StatusCode ¶
func (r APISystemAPIUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemAPIVersionReadResponse ¶
type APISystemAPIVersionReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemAPIVersionReadResponse ¶
func ParseAPISystemAPIVersionReadResponse(rsp *http.Response) (*APISystemAPIVersionReadResponse, error)
ParseAPISystemAPIVersionReadResponse parses an HTTP response from a APISystemAPIVersionReadWithResponse call
func (APISystemAPIVersionReadResponse) Status ¶
func (r APISystemAPIVersionReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemAPIVersionReadResponse) StatusCode ¶
func (r APISystemAPIVersionReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemARPDeleteParams ¶
type APISystemARPDeleteParams struct { // Ip IPv4 address to delete from the ARP table. Ip string `form:"ip" json:"ip"` }
APISystemARPDeleteParams defines parameters for APISystemARPDelete.
type APISystemARPDeleteResponse ¶
type APISystemARPDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemARPDeleteResponse ¶
func ParseAPISystemARPDeleteResponse(rsp *http.Response) (*APISystemARPDeleteResponse, error)
ParseAPISystemARPDeleteResponse parses an HTTP response from a APISystemARPDeleteWithResponse call
func (APISystemARPDeleteResponse) Status ¶
func (r APISystemARPDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemARPDeleteResponse) StatusCode ¶
func (r APISystemARPDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemARPReadResponse ¶
type APISystemARPReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemARPReadResponse ¶
func ParseAPISystemARPReadResponse(rsp *http.Response) (*APISystemARPReadResponse, error)
ParseAPISystemARPReadResponse parses an HTTP response from a APISystemARPReadWithResponse call
func (APISystemARPReadResponse) Status ¶
func (r APISystemARPReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemARPReadResponse) StatusCode ¶
func (r APISystemARPReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemCACreateJSONBody ¶
type APISystemCACreateJSONBody struct { // Caref Specify the unique reference ID of the root certificate signing authority for the intermediate CA certificate. This parameter is required when `method` is set to `intermediate`. Caref *string `json:"caref,omitempty"` // Crt Base64 encoded PEM CA certificate to import. This parameter is required when `method` is set to `existing`. Crt *string `json:"crt,omitempty"` // Descr Descriptive name for the CA. Descr string `json:"descr"` // DigestAlg Digest algorithm to use. This parameter is required when `method` is set to `internal` or `intermediate`. _Note: options are subject to change, when in doubt, check the pfSense webConfigurator options for this field._ DigestAlg *APISystemCACreateJSONBodyDigestAlg `json:"digest_alg,omitempty"` // DnCity City or locale for this CA. This parameter is only available when `method` is set to `internal` or `intermediate`. DnCity *string `json:"dn_city,omitempty"` // DnCommonname Common name of this CA. In mose cases, this will be a hostname. This parameter is required when `method` is set to `internal` or `intermediate`. DnCommonname *string `json:"dn_commonname,omitempty"` // DnCountry Country code for this CA. This must be a known 2-digit country code. This parameter is only available when `method` is set to `internal` or `intermediate`. DnCountry *string `json:"dn_country,omitempty"` // DnOrganization The managing organization for this CA. This parameter is only available when `method` is set to `internal` or `intermediate`. DnOrganization *string `json:"dn_organization,omitempty"` // DnOrganizationalunit The managing organizational unit or team for this CA. This parameter is only available when `method` is set to `internal` or `intermediate`. DnOrganizationalunit *string `json:"dn_organizationalunit,omitempty"` // DnState State or province for this CA. This parameter is only available when `method` is set to `internal` or `intermediate`. DnState *string `json:"dn_state,omitempty"` // Ecname Elliptic curve name to use when generating the private key. It is recommended to view options and compatibility within the pfSense webConfigurator or manually through OpenSSL as certain curves are not compatible in some circumstances. This parameter is required when `method` is set to `internal` or `intermediate` AND `keytype` is set to `ECDSA`. _Note: options are subject to change, when in doubt, check the pfSense webConfigurator options for this field._ Ecname *string `json:"ecname,omitempty"` // Keylen Private key length to generate. This parameter is required when `method` is set to `internal` or `intermediate` AND `keytype` is set to `RSA`. Keylen *APISystemCACreateJSONBodyKeylen `json:"keylen,omitempty"` // Keytype Specify the private key type to generate. This parameter is required when `method` is set to `internal` or `intermediate`. Keytype *APISystemCACreateJSONBodyKeytype `json:"keytype,omitempty"` // Lifetime Number of days you would like this CA to be valid for. This must be below OpenSSL's maximum lifetime value (around `12000` days). This parameter is required when `method` is set to `internal` or `intermediate`. _Note: maximum value is subject to change, when in doubt, check the pfSense webConfigurator options for this field._ Lifetime *int `json:"lifetime,omitempty"` // Method Method used to add the CA. _Note: previous releases referred to the `existing` method as `import`. You may use `existing` or `import` interchangeably._ Method APISystemCACreateJSONBodyMethod `json:"method"` // Prv Corresponding Base64 encoded CA certificate key. This parameter is only available when `method` is set to `existing`. Prv *string `json:"prv,omitempty"` // Randomserial Use randomized serial numbers for certificates signed by this CA. Randomserial *bool `json:"randomserial,omitempty"` // Serial Set the serial number to be assigned to the next certificate signed by this CA. This field is only available when `method` is set to `existing`. Serial *int `json:"serial,omitempty"` // Trust Trust this CA across the entire system. Trust *bool `json:"trust,omitempty"` }
APISystemCACreateJSONBody defines parameters for APISystemCACreate.
type APISystemCACreateJSONBodyDigestAlg ¶
type APISystemCACreateJSONBodyDigestAlg string
APISystemCACreateJSONBodyDigestAlg defines parameters for APISystemCACreate.
const ( APISystemCACreateJSONBodyDigestAlgSha1 APISystemCACreateJSONBodyDigestAlg = "sha1" APISystemCACreateJSONBodyDigestAlgSha224 APISystemCACreateJSONBodyDigestAlg = "sha224" APISystemCACreateJSONBodyDigestAlgSha256 APISystemCACreateJSONBodyDigestAlg = "sha256" APISystemCACreateJSONBodyDigestAlgSha384 APISystemCACreateJSONBodyDigestAlg = "sha384" APISystemCACreateJSONBodyDigestAlgSha512 APISystemCACreateJSONBodyDigestAlg = "sha512" )
Defines values for APISystemCACreateJSONBodyDigestAlg.
type APISystemCACreateJSONBodyKeylen ¶
type APISystemCACreateJSONBodyKeylen int
APISystemCACreateJSONBodyKeylen defines parameters for APISystemCACreate.
const ( APISystemCACreateJSONBodyKeylenN1024 APISystemCACreateJSONBodyKeylen = 1024 APISystemCACreateJSONBodyKeylenN15360 APISystemCACreateJSONBodyKeylen = 15360 APISystemCACreateJSONBodyKeylenN16384 APISystemCACreateJSONBodyKeylen = 16384 APISystemCACreateJSONBodyKeylenN2048 APISystemCACreateJSONBodyKeylen = 2048 APISystemCACreateJSONBodyKeylenN3072 APISystemCACreateJSONBodyKeylen = 3072 APISystemCACreateJSONBodyKeylenN4096 APISystemCACreateJSONBodyKeylen = 4096 APISystemCACreateJSONBodyKeylenN6144 APISystemCACreateJSONBodyKeylen = 6144 APISystemCACreateJSONBodyKeylenN7680 APISystemCACreateJSONBodyKeylen = 7680 APISystemCACreateJSONBodyKeylenN8192 APISystemCACreateJSONBodyKeylen = 8192 )
Defines values for APISystemCACreateJSONBodyKeylen.
type APISystemCACreateJSONBodyKeytype ¶
type APISystemCACreateJSONBodyKeytype string
APISystemCACreateJSONBodyKeytype defines parameters for APISystemCACreate.
const ( APISystemCACreateJSONBodyKeytypeECDSA APISystemCACreateJSONBodyKeytype = "ECDSA" APISystemCACreateJSONBodyKeytypeRSA APISystemCACreateJSONBodyKeytype = "RSA" )
Defines values for APISystemCACreateJSONBodyKeytype.
type APISystemCACreateJSONBodyMethod ¶
type APISystemCACreateJSONBodyMethod string
APISystemCACreateJSONBodyMethod defines parameters for APISystemCACreate.
const ( APISystemCACreateJSONBodyMethodExisting APISystemCACreateJSONBodyMethod = "existing" APISystemCACreateJSONBodyMethodImport APISystemCACreateJSONBodyMethod = "import" APISystemCACreateJSONBodyMethodIntermediate APISystemCACreateJSONBodyMethod = "intermediate" APISystemCACreateJSONBodyMethodInternal APISystemCACreateJSONBodyMethod = "internal" )
Defines values for APISystemCACreateJSONBodyMethod.
type APISystemCACreateJSONRequestBody ¶
type APISystemCACreateJSONRequestBody APISystemCACreateJSONBody
APISystemCACreateJSONRequestBody defines body for APISystemCACreate for application/json ContentType.
type APISystemCACreateResponse ¶
type APISystemCACreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemCACreateResponse ¶
func ParseAPISystemCACreateResponse(rsp *http.Response) (*APISystemCACreateResponse, error)
ParseAPISystemCACreateResponse parses an HTTP response from a APISystemCACreateWithResponse call
func (APISystemCACreateResponse) Status ¶
func (r APISystemCACreateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemCACreateResponse) StatusCode ¶
func (r APISystemCACreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemCADeleteParams ¶
type APISystemCADeleteParams struct { // Refid The `refid` of the existing CA to delete. Refid string `form:"refid" json:"refid"` }
APISystemCADeleteParams defines parameters for APISystemCADelete.
type APISystemCADeleteResponse ¶
type APISystemCADeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemCADeleteResponse ¶
func ParseAPISystemCADeleteResponse(rsp *http.Response) (*APISystemCADeleteResponse, error)
ParseAPISystemCADeleteResponse parses an HTTP response from a APISystemCADeleteWithResponse call
func (APISystemCADeleteResponse) Status ¶
func (r APISystemCADeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemCADeleteResponse) StatusCode ¶
func (r APISystemCADeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemCAReadResponse ¶
type APISystemCAReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemCAReadResponse ¶
func ParseAPISystemCAReadResponse(rsp *http.Response) (*APISystemCAReadResponse, error)
ParseAPISystemCAReadResponse parses an HTTP response from a APISystemCAReadWithResponse call
func (APISystemCAReadResponse) Status ¶
func (r APISystemCAReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemCAReadResponse) StatusCode ¶
func (r APISystemCAReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemCRLCreateJSONBody ¶
type APISystemCRLCreateJSONBody struct { // Caref Specify the unique reference ID of the certificate signing authority for the certificate revocation list. Caref string `json:"caref"` // CrlData Base64 encoded PEM certificate revocation list to import. This parameter is required when `method` is set to `existing`. _Note: Import Certificate Revocation List in X.509 CRL format. `-----BEGIN X509 CRL-----[A bunch of random-looking base64-encoded data]-----END X509 CRL-----`._ CrlData *string `json:"crl_data,omitempty"` // Descr Descriptive name for the certificate revocation list. Descr string `json:"descr"` // Lifetime Number of days you would like this certificate revocation list to be valid for. This must be below OpenSSL's maximum lifetime value (around `12000` days). This parameter is only available when `method` is set to `internal`. _Note: maximum value is subject to change, when in doubt, check the pfSense webConfigurator options for this field._ Lifetime *int `json:"lifetime,omitempty"` // Method Method used to add the certificate revocation list. _Note: `internal` method will create new certificate revocation list for CA provided in `caref`_. Method APISystemCRLCreateJSONBodyMethod `json:"method"` // Serial Serial number to be assigned to the next certificate revocation list. This parameter is only available when `method` is set to `internal`. Serial *int `json:"serial,omitempty"` }
APISystemCRLCreateJSONBody defines parameters for APISystemCRLCreate.
type APISystemCRLCreateJSONBodyMethod ¶
type APISystemCRLCreateJSONBodyMethod string
APISystemCRLCreateJSONBodyMethod defines parameters for APISystemCRLCreate.
const ( Existing APISystemCRLCreateJSONBodyMethod = "existing" Internal APISystemCRLCreateJSONBodyMethod = "internal" )
Defines values for APISystemCRLCreateJSONBodyMethod.
type APISystemCRLCreateJSONRequestBody ¶
type APISystemCRLCreateJSONRequestBody APISystemCRLCreateJSONBody
APISystemCRLCreateJSONRequestBody defines body for APISystemCRLCreate for application/json ContentType.
type APISystemCRLCreateResponse ¶
type APISystemCRLCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemCRLCreateResponse ¶
func ParseAPISystemCRLCreateResponse(rsp *http.Response) (*APISystemCRLCreateResponse, error)
ParseAPISystemCRLCreateResponse parses an HTTP response from a APISystemCRLCreateWithResponse call
func (APISystemCRLCreateResponse) Status ¶
func (r APISystemCRLCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemCRLCreateResponse) StatusCode ¶
func (r APISystemCRLCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemCRLDeleteParams ¶
type APISystemCRLDeleteParams struct { // Refid The `refid` of the existing certificate revocation list to delete. Refid string `form:"refid" json:"refid"` }
APISystemCRLDeleteParams defines parameters for APISystemCRLDelete.
type APISystemCRLDeleteResponse ¶
type APISystemCRLDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemCRLDeleteResponse ¶
func ParseAPISystemCRLDeleteResponse(rsp *http.Response) (*APISystemCRLDeleteResponse, error)
ParseAPISystemCRLDeleteResponse parses an HTTP response from a APISystemCRLDeleteWithResponse call
func (APISystemCRLDeleteResponse) Status ¶
func (r APISystemCRLDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemCRLDeleteResponse) StatusCode ¶
func (r APISystemCRLDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemCRLReadResponse ¶
type APISystemCRLReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemCRLReadResponse ¶
func ParseAPISystemCRLReadResponse(rsp *http.Response) (*APISystemCRLReadResponse, error)
ParseAPISystemCRLReadResponse parses an HTTP response from a APISystemCRLReadWithResponse call
func (APISystemCRLReadResponse) Status ¶
func (r APISystemCRLReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemCRLReadResponse) StatusCode ¶
func (r APISystemCRLReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemCertificateCreateJSONBody ¶
type APISystemCertificateCreateJSONBody struct { // Active Set this certificate as the active certificate used by the webConfigurator. This parameter is only available when `type` is set to `server` or `method` is set to `existing`. Active *bool `json:"active,omitempty"` // Altnames Subject alternative names to list in this certificate. This must be an array of objects with each object containing a alt name type as the key and the alt name value as the value. Supported alt name types are `dns` for FQDNs, `ip` for IP addresses, `uri` for URLs, and `email` for email addresses. This parameter is only available when `method` is set to `internal`. Altnames *[]map[string]interface{} `json:"altnames,omitempty"` // Caref Unique reference ID of the existing certificate signing authority to use for the certificate. This parameter is required when `method` is set to `internal`. Caref *string `json:"caref,omitempty"` // Crt Base64 encoded PEM certificate to import. This parameter is required when `method` is set to `existing`. _Note: previous releases referred to the `crt` parameter as `cert`. Both `crt` and `cert` can be used interchangeably._ Crt *string `json:"crt,omitempty"` // Descr Descriptive name for the certificate. Descr string `json:"descr"` // DigestAlg Digest algorithm to use. This parameter is required when `method` is set to `internal`. _Note: options are subject to change, when in doubt, check the pfSense webConfigurator options for this field._ DigestAlg *APISystemCertificateCreateJSONBodyDigestAlg `json:"digest_alg,omitempty"` // DnCity City or locale for this certificate. This parameter is only available when `method` is set to `internal`. DnCity *string `json:"dn_city,omitempty"` // DnCommonname Common name of this certificate. In mose cases, this will be a hostname. This parameter is required when `method` is set to `internal`. DnCommonname *string `json:"dn_commonname,omitempty"` // DnCountry Country code for this certificate. This must be a known 2-digit country code. This parameter is only available when `method` is set to `internal`. DnCountry *string `json:"dn_country,omitempty"` // DnOrganization The managing organization for this certificate. This parameter is only available when `method` is set to `internal`. DnOrganization *string `json:"dn_organization,omitempty"` // DnOrganizationalunit The managing organizational unit or team for this certificate. This parameter is only available when `method` is set to `internal`. DnOrganizationalunit *string `json:"dn_organizationalunit,omitempty"` // DnState State or province for this certificate. This parameter is only available when `method` is set to `internal`. DnState *string `json:"dn_state,omitempty"` // Ecname Elliptic curve name to use when generating the private key. It is recommended to view options and compatibility within the pfSense webConfigurator or manually through OpenSSL as certain curves are not compatible in some circumstances. This parameter is required when `method` is set to `internal` AND `keytype` is set to `ECDSA`. _Note: options are subject to change, when in doubt, check the pfSense webConfigurator options for this parameter._ Ecname *string `json:"ecname,omitempty"` // Keylen Specify the private key length to generate. This parameter is required when `method` is set to `internal` AND `keytype` is set to `RSA`. Keylen *APISystemCertificateCreateJSONBodyKeylen `json:"keylen,omitempty"` // Keytype Private key type to generate. Options are `RSA` or `ECDSA`. This parameter is required when `method` is set to `internal`. Keytype *APISystemCertificateCreateJSONBodyKeytype `json:"keytype,omitempty"` // Lifetime Number of days you would like this certificate to be valid for. This must be below OpenSSL's maximum lifetime value (around `12000` days). This parameter is required when `method` is set to `internal`. _Note: maximum value is subject to change, when in doubt, check the pfSense webConfigurator options for this parameter._ Lifetime *int `json:"lifetime,omitempty"` // Method Method used to add the certificate. _Note: previous releases referred to the `existing` method as `import`. You may use `existing` or `import` interchangeably._ Method APISystemCertificateCreateJSONBodyMethod `json:"method"` // Prv Corresponding Base64 encoded certificate key. This parameter is required when `method` is set to `existing`. _Note: previous releases referred to the `prv` parameter as `key`. Both `prv` and `key` can be used interchangeably._ Prv *string `json:"prv,omitempty"` // Type Type of certificate to generate. This parameter is required when `method` is set to `internal`. Type *APISystemCertificateCreateJSONBodyType `json:"type,omitempty"` }
APISystemCertificateCreateJSONBody defines parameters for APISystemCertificateCreate.
type APISystemCertificateCreateJSONBodyDigestAlg ¶
type APISystemCertificateCreateJSONBodyDigestAlg string
APISystemCertificateCreateJSONBodyDigestAlg defines parameters for APISystemCertificateCreate.
const ( Sha1 APISystemCertificateCreateJSONBodyDigestAlg = "sha1" Sha224 APISystemCertificateCreateJSONBodyDigestAlg = "sha224" Sha256 APISystemCertificateCreateJSONBodyDigestAlg = "sha256" Sha384 APISystemCertificateCreateJSONBodyDigestAlg = "sha384" Sha512 APISystemCertificateCreateJSONBodyDigestAlg = "sha512" )
Defines values for APISystemCertificateCreateJSONBodyDigestAlg.
type APISystemCertificateCreateJSONBodyKeylen ¶
type APISystemCertificateCreateJSONBodyKeylen int
APISystemCertificateCreateJSONBodyKeylen defines parameters for APISystemCertificateCreate.
const ( APISystemCertificateCreateJSONBodyKeylenN1024 APISystemCertificateCreateJSONBodyKeylen = 1024 APISystemCertificateCreateJSONBodyKeylenN15360 APISystemCertificateCreateJSONBodyKeylen = 15360 APISystemCertificateCreateJSONBodyKeylenN16384 APISystemCertificateCreateJSONBodyKeylen = 16384 APISystemCertificateCreateJSONBodyKeylenN2048 APISystemCertificateCreateJSONBodyKeylen = 2048 APISystemCertificateCreateJSONBodyKeylenN3072 APISystemCertificateCreateJSONBodyKeylen = 3072 APISystemCertificateCreateJSONBodyKeylenN4096 APISystemCertificateCreateJSONBodyKeylen = 4096 APISystemCertificateCreateJSONBodyKeylenN6144 APISystemCertificateCreateJSONBodyKeylen = 6144 APISystemCertificateCreateJSONBodyKeylenN7680 APISystemCertificateCreateJSONBodyKeylen = 7680 APISystemCertificateCreateJSONBodyKeylenN8192 APISystemCertificateCreateJSONBodyKeylen = 8192 )
Defines values for APISystemCertificateCreateJSONBodyKeylen.
type APISystemCertificateCreateJSONBodyKeytype ¶
type APISystemCertificateCreateJSONBodyKeytype string
APISystemCertificateCreateJSONBodyKeytype defines parameters for APISystemCertificateCreate.
const ( APISystemCertificateCreateJSONBodyKeytypeECDSA APISystemCertificateCreateJSONBodyKeytype = "ECDSA" APISystemCertificateCreateJSONBodyKeytypeRSA APISystemCertificateCreateJSONBodyKeytype = "RSA" )
Defines values for APISystemCertificateCreateJSONBodyKeytype.
type APISystemCertificateCreateJSONBodyMethod ¶
type APISystemCertificateCreateJSONBodyMethod string
APISystemCertificateCreateJSONBodyMethod defines parameters for APISystemCertificateCreate.
const ( APISystemCertificateCreateJSONBodyMethodExisting APISystemCertificateCreateJSONBodyMethod = "existing" APISystemCertificateCreateJSONBodyMethodImport APISystemCertificateCreateJSONBodyMethod = "import" APISystemCertificateCreateJSONBodyMethodInternal APISystemCertificateCreateJSONBodyMethod = "internal" )
Defines values for APISystemCertificateCreateJSONBodyMethod.
type APISystemCertificateCreateJSONBodyType ¶
type APISystemCertificateCreateJSONBodyType string
APISystemCertificateCreateJSONBodyType defines parameters for APISystemCertificateCreate.
const ( Server APISystemCertificateCreateJSONBodyType = "server" User APISystemCertificateCreateJSONBodyType = "user" )
Defines values for APISystemCertificateCreateJSONBodyType.
type APISystemCertificateCreateJSONRequestBody ¶
type APISystemCertificateCreateJSONRequestBody APISystemCertificateCreateJSONBody
APISystemCertificateCreateJSONRequestBody defines body for APISystemCertificateCreate for application/json ContentType.
type APISystemCertificateCreateResponse ¶
type APISystemCertificateCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemCertificateCreateResponse ¶
func ParseAPISystemCertificateCreateResponse(rsp *http.Response) (*APISystemCertificateCreateResponse, error)
ParseAPISystemCertificateCreateResponse parses an HTTP response from a APISystemCertificateCreateWithResponse call
func (APISystemCertificateCreateResponse) Status ¶
func (r APISystemCertificateCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemCertificateCreateResponse) StatusCode ¶
func (r APISystemCertificateCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemCertificateDeleteParams ¶
type APISystemCertificateDeleteParams struct { // Refid The `refid` of the certificate to delete. Refid string `form:"refid" json:"refid"` }
APISystemCertificateDeleteParams defines parameters for APISystemCertificateDelete.
type APISystemCertificateDeleteResponse ¶
type APISystemCertificateDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemCertificateDeleteResponse ¶
func ParseAPISystemCertificateDeleteResponse(rsp *http.Response) (*APISystemCertificateDeleteResponse, error)
ParseAPISystemCertificateDeleteResponse parses an HTTP response from a APISystemCertificateDeleteWithResponse call
func (APISystemCertificateDeleteResponse) Status ¶
func (r APISystemCertificateDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemCertificateDeleteResponse) StatusCode ¶
func (r APISystemCertificateDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemCertificateReadResponse ¶
type APISystemCertificateReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemCertificateReadResponse ¶
func ParseAPISystemCertificateReadResponse(rsp *http.Response) (*APISystemCertificateReadResponse, error)
ParseAPISystemCertificateReadResponse parses an HTTP response from a APISystemCertificateReadWithResponse call
func (APISystemCertificateReadResponse) Status ¶
func (r APISystemCertificateReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemCertificateReadResponse) StatusCode ¶
func (r APISystemCertificateReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemCertificateUpdateJSONBody ¶
type APISystemCertificateUpdateJSONBody struct { // Active Set this certificate as the active certificate used by the webConfigurator. Active *bool `json:"active,omitempty"` // Crt Base64 encoded PEM certificate to import. _Note: previous releases referred to the `crt` parameter as `cert`. Both `crt` and `cert` can be used interchangeably._ Crt string `json:"crt"` // Descr Descriptive name for the certificate. Descr *string `json:"descr,omitempty"` // Prv Corresponding Base64 encoded certificate key. _Note: previous releases referred to the `prv` parameter as `key`. Both `prv` and `key` can be used interchangeably._ Prv string `json:"prv"` // Refid ID of the certificate to be updated. Refid string `json:"refid"` }
APISystemCertificateUpdateJSONBody defines parameters for APISystemCertificateUpdate.
type APISystemCertificateUpdateJSONRequestBody ¶
type APISystemCertificateUpdateJSONRequestBody APISystemCertificateUpdateJSONBody
APISystemCertificateUpdateJSONRequestBody defines body for APISystemCertificateUpdate for application/json ContentType.
type APISystemCertificateUpdateResponse ¶
type APISystemCertificateUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemCertificateUpdateResponse ¶
func ParseAPISystemCertificateUpdateResponse(rsp *http.Response) (*APISystemCertificateUpdateResponse, error)
ParseAPISystemCertificateUpdateResponse parses an HTTP response from a APISystemCertificateUpdateWithResponse call
func (APISystemCertificateUpdateResponse) Status ¶
func (r APISystemCertificateUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemCertificateUpdateResponse) StatusCode ¶
func (r APISystemCertificateUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemConfigReadResponse ¶
type APISystemConfigReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemConfigReadResponse ¶
func ParseAPISystemConfigReadResponse(rsp *http.Response) (*APISystemConfigReadResponse, error)
ParseAPISystemConfigReadResponse parses an HTTP response from a APISystemConfigReadWithResponse call
func (APISystemConfigReadResponse) Status ¶
func (r APISystemConfigReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemConfigReadResponse) StatusCode ¶
func (r APISystemConfigReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemConfigUpdateResponse ¶
type APISystemConfigUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemConfigUpdateResponse ¶
func ParseAPISystemConfigUpdateResponse(rsp *http.Response) (*APISystemConfigUpdateResponse, error)
ParseAPISystemConfigUpdateResponse parses an HTTP response from a APISystemConfigUpdateWithResponse call
func (APISystemConfigUpdateResponse) Status ¶
func (r APISystemConfigUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemConfigUpdateResponse) StatusCode ¶
func (r APISystemConfigUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemConsoleUpdateJSONBody ¶
type APISystemConsoleUpdateJSONBody struct { bool `json:"disableconsolemenu,omitempty"` }Disableconsolemenu *
APISystemConsoleUpdateJSONBody defines parameters for APISystemConsoleUpdate.
type APISystemConsoleUpdateJSONRequestBody ¶
type APISystemConsoleUpdateJSONRequestBody APISystemConsoleUpdateJSONBody
APISystemConsoleUpdateJSONRequestBody defines body for APISystemConsoleUpdate for application/json ContentType.
type APISystemConsoleUpdateResponse ¶
type APISystemConsoleUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemConsoleUpdateResponse ¶
func ParseAPISystemConsoleUpdateResponse(rsp *http.Response) (*APISystemConsoleUpdateResponse, error)
ParseAPISystemConsoleUpdateResponse parses an HTTP response from a APISystemConsoleUpdateWithResponse call
func (APISystemConsoleUpdateResponse) Status ¶
func (r APISystemConsoleUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemConsoleUpdateResponse) StatusCode ¶
func (r APISystemConsoleUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemDNSReadResponse ¶
type APISystemDNSReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemDNSReadResponse ¶
func ParseAPISystemDNSReadResponse(rsp *http.Response) (*APISystemDNSReadResponse, error)
ParseAPISystemDNSReadResponse parses an HTTP response from a APISystemDNSReadWithResponse call
func (APISystemDNSReadResponse) Status ¶
func (r APISystemDNSReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemDNSReadResponse) StatusCode ¶
func (r APISystemDNSReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemDNSServerCreateJSONBody ¶
type APISystemDNSServerCreateJSONBody struct { // Dnsserver IP(s) of the DNS servers to add. Dnsserver *[]string `json:"dnsserver,omitempty"` }
APISystemDNSServerCreateJSONBody defines parameters for APISystemDNSServerCreate.
type APISystemDNSServerCreateJSONRequestBody ¶
type APISystemDNSServerCreateJSONRequestBody APISystemDNSServerCreateJSONBody
APISystemDNSServerCreateJSONRequestBody defines body for APISystemDNSServerCreate for application/json ContentType.
type APISystemDNSServerCreateResponse ¶
type APISystemDNSServerCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemDNSServerCreateResponse ¶
func ParseAPISystemDNSServerCreateResponse(rsp *http.Response) (*APISystemDNSServerCreateResponse, error)
ParseAPISystemDNSServerCreateResponse parses an HTTP response from a APISystemDNSServerCreateWithResponse call
func (APISystemDNSServerCreateResponse) Status ¶
func (r APISystemDNSServerCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemDNSServerCreateResponse) StatusCode ¶
func (r APISystemDNSServerCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemDNSServerDeleteParams ¶
type APISystemDNSServerDeleteParams struct { // Dnsserver IP of the system DNS servers to remove. Dnsserver string `form:"dnsserver" json:"dnsserver"` }
APISystemDNSServerDeleteParams defines parameters for APISystemDNSServerDelete.
type APISystemDNSServerDeleteResponse ¶
type APISystemDNSServerDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemDNSServerDeleteResponse ¶
func ParseAPISystemDNSServerDeleteResponse(rsp *http.Response) (*APISystemDNSServerDeleteResponse, error)
ParseAPISystemDNSServerDeleteResponse parses an HTTP response from a APISystemDNSServerDeleteWithResponse call
func (APISystemDNSServerDeleteResponse) Status ¶
func (r APISystemDNSServerDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemDNSServerDeleteResponse) StatusCode ¶
func (r APISystemDNSServerDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemDNSUpdateJSONBody ¶
type APISystemDNSUpdateJSONBody struct { // Dnsallowoverride Allow or deny DNS server list to be overridden by DHCP/PPP on WAN or remote OpenVPN server. Dnsallowoverride *bool `json:"dnsallowoverride,omitempty"` // Dnslocalhost Enable or disable system DNS resolution via local DNS services. Dnslocalhost *bool `json:"dnslocalhost,omitempty"` // Dnsserver DNS servers to assign the system. Existing values will be overwritten. Dnsserver *[]string `json:"dnsserver,omitempty"` }
APISystemDNSUpdateJSONBody defines parameters for APISystemDNSUpdate.
type APISystemDNSUpdateJSONRequestBody ¶
type APISystemDNSUpdateJSONRequestBody APISystemDNSUpdateJSONBody
APISystemDNSUpdateJSONRequestBody defines body for APISystemDNSUpdate for application/json ContentType.
type APISystemDNSUpdateResponse ¶
type APISystemDNSUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemDNSUpdateResponse ¶
func ParseAPISystemDNSUpdateResponse(rsp *http.Response) (*APISystemDNSUpdateResponse, error)
ParseAPISystemDNSUpdateResponse parses an HTTP response from a APISystemDNSUpdateWithResponse call
func (APISystemDNSUpdateResponse) Status ¶
func (r APISystemDNSUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemDNSUpdateResponse) StatusCode ¶
func (r APISystemDNSUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemHaltCreateResponse ¶
type APISystemHaltCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemHaltCreateResponse ¶
func ParseAPISystemHaltCreateResponse(rsp *http.Response) (*APISystemHaltCreateResponse, error)
ParseAPISystemHaltCreateResponse parses an HTTP response from a APISystemHaltCreateWithResponse call
func (APISystemHaltCreateResponse) Status ¶
func (r APISystemHaltCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemHaltCreateResponse) StatusCode ¶
func (r APISystemHaltCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemHostnameReadResponse ¶
type APISystemHostnameReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemHostnameReadResponse ¶
func ParseAPISystemHostnameReadResponse(rsp *http.Response) (*APISystemHostnameReadResponse, error)
ParseAPISystemHostnameReadResponse parses an HTTP response from a APISystemHostnameReadWithResponse call
func (APISystemHostnameReadResponse) Status ¶
func (r APISystemHostnameReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemHostnameReadResponse) StatusCode ¶
func (r APISystemHostnameReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemHostnameUpdateJSONBody ¶
type APISystemHostnameUpdateJSONBody struct { // Domain Domain portion of the system hostname. Do not specify to retain existing value. Domain *string `json:"domain,omitempty"` // Hostname Hostname portion of the system hostname. Do not specify to retain existing value. Hostname *string `json:"hostname,omitempty"` }
APISystemHostnameUpdateJSONBody defines parameters for APISystemHostnameUpdate.
type APISystemHostnameUpdateJSONRequestBody ¶
type APISystemHostnameUpdateJSONRequestBody APISystemHostnameUpdateJSONBody
APISystemHostnameUpdateJSONRequestBody defines body for APISystemHostnameUpdate for application/json ContentType.
type APISystemHostnameUpdateResponse ¶
type APISystemHostnameUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemHostnameUpdateResponse ¶
func ParseAPISystemHostnameUpdateResponse(rsp *http.Response) (*APISystemHostnameUpdateResponse, error)
ParseAPISystemHostnameUpdateResponse parses an HTTP response from a APISystemHostnameUpdateWithResponse call
func (APISystemHostnameUpdateResponse) Status ¶
func (r APISystemHostnameUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemHostnameUpdateResponse) StatusCode ¶
func (r APISystemHostnameUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemNotificationsEmailReadResponse ¶
type APISystemNotificationsEmailReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemNotificationsEmailReadResponse ¶
func ParseAPISystemNotificationsEmailReadResponse(rsp *http.Response) (*APISystemNotificationsEmailReadResponse, error)
ParseAPISystemNotificationsEmailReadResponse parses an HTTP response from a APISystemNotificationsEmailReadWithResponse call
func (APISystemNotificationsEmailReadResponse) Status ¶
func (r APISystemNotificationsEmailReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemNotificationsEmailReadResponse) StatusCode ¶
func (r APISystemNotificationsEmailReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemNotificationsEmailUpdateJSONBody ¶
type APISystemNotificationsEmailUpdateJSONBody struct { // AuthenticationMechanism Authentication type to use for connections to the remote SMTP server. AuthenticationMechanism APISystemNotificationsEmailUpdateJSONBodyAuthenticationMechanism `json:"authentication_mechanism"` // Disabled Enable or disable email notifications. Disabled *bool `json:"disabled,omitempty"` // Fromaddress Email address email notifications will be sent from. Fromaddress openapi_types.Email `json:"fromaddress"` // Ipaddress IP address or hostname of the remote SMTP server. Ipaddress string `json:"ipaddress"` // Notifyemailaddress Email address email notifications will be sent to. Notifyemailaddress openapi_types.Email `json:"notifyemailaddress"` // Password Password to use during authentication. This parameter is only available when `authentication_mechanism` is set to `LOGIN`. Password *string `json:"password,omitempty"` // Port Port of the remote SMTP server. Port int `json:"port"` // Ssl Enable or disable SMTP over SSL/TLS. Ssl *bool `json:"ssl,omitempty"` // Sslvalidate Enable or disable certificate verification for SSL/TLS connections. Sslvalidate *bool `json:"sslvalidate,omitempty"` // Timeout Timeout (in seconds) for connections to the remote SMTP server. Timeout *int `json:"timeout,omitempty"` // Username Username to use during authentication. This parameter is only available when `authentication_mechanism` is set to `LOGIN`. Username *string `json:"username,omitempty"` }
APISystemNotificationsEmailUpdateJSONBody defines parameters for APISystemNotificationsEmailUpdate.
type APISystemNotificationsEmailUpdateJSONBodyAuthenticationMechanism ¶
type APISystemNotificationsEmailUpdateJSONBodyAuthenticationMechanism string
APISystemNotificationsEmailUpdateJSONBodyAuthenticationMechanism defines parameters for APISystemNotificationsEmailUpdate.
const ( LOGIN APISystemNotificationsEmailUpdateJSONBodyAuthenticationMechanism = "LOGIN" PLAIN APISystemNotificationsEmailUpdateJSONBodyAuthenticationMechanism = "PLAIN" )
Defines values for APISystemNotificationsEmailUpdateJSONBodyAuthenticationMechanism.
type APISystemNotificationsEmailUpdateJSONRequestBody ¶
type APISystemNotificationsEmailUpdateJSONRequestBody APISystemNotificationsEmailUpdateJSONBody
APISystemNotificationsEmailUpdateJSONRequestBody defines body for APISystemNotificationsEmailUpdate for application/json ContentType.
type APISystemNotificationsEmailUpdateResponse ¶
type APISystemNotificationsEmailUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemNotificationsEmailUpdateResponse ¶
func ParseAPISystemNotificationsEmailUpdateResponse(rsp *http.Response) (*APISystemNotificationsEmailUpdateResponse, error)
ParseAPISystemNotificationsEmailUpdateResponse parses an HTTP response from a APISystemNotificationsEmailUpdateWithResponse call
func (APISystemNotificationsEmailUpdateResponse) Status ¶
func (r APISystemNotificationsEmailUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemNotificationsEmailUpdateResponse) StatusCode ¶
func (r APISystemNotificationsEmailUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemPackageCreateJSONBody ¶
type APISystemPackageCreateJSONBody struct { // Name Name of pfSense package to install. This must be the pfSense package internal name including the `pfSense-pkg-` prefix. Name string `json:"name"` }
APISystemPackageCreateJSONBody defines parameters for APISystemPackageCreate.
type APISystemPackageCreateJSONRequestBody ¶
type APISystemPackageCreateJSONRequestBody APISystemPackageCreateJSONBody
APISystemPackageCreateJSONRequestBody defines body for APISystemPackageCreate for application/json ContentType.
type APISystemPackageCreateResponse ¶
type APISystemPackageCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemPackageCreateResponse ¶
func ParseAPISystemPackageCreateResponse(rsp *http.Response) (*APISystemPackageCreateResponse, error)
ParseAPISystemPackageCreateResponse parses an HTTP response from a APISystemPackageCreateWithResponse call
func (APISystemPackageCreateResponse) Status ¶
func (r APISystemPackageCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemPackageCreateResponse) StatusCode ¶
func (r APISystemPackageCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemPackageDeleteParams ¶
type APISystemPackageDeleteParams struct { // Name Name of pfSense package to delete. This must be the pfSense package internal name including the `pfSense-pkg-` prefix. Non-pfSense packages cannot be removed. Name string `form:"name" json:"name"` }
APISystemPackageDeleteParams defines parameters for APISystemPackageDelete.
type APISystemPackageDeleteResponse ¶
type APISystemPackageDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemPackageDeleteResponse ¶
func ParseAPISystemPackageDeleteResponse(rsp *http.Response) (*APISystemPackageDeleteResponse, error)
ParseAPISystemPackageDeleteResponse parses an HTTP response from a APISystemPackageDeleteWithResponse call
func (APISystemPackageDeleteResponse) Status ¶
func (r APISystemPackageDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemPackageDeleteResponse) StatusCode ¶
func (r APISystemPackageDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemPackageReadParams ¶
type APISystemPackageReadParams struct { // All Include all pfSense packages available, even packages that are not installed. All *bool `form:"all,omitempty" json:"all,omitempty"` }
APISystemPackageReadParams defines parameters for APISystemPackageRead.
type APISystemPackageReadResponse ¶
type APISystemPackageReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemPackageReadResponse ¶
func ParseAPISystemPackageReadResponse(rsp *http.Response) (*APISystemPackageReadResponse, error)
ParseAPISystemPackageReadResponse parses an HTTP response from a APISystemPackageReadWithResponse call
func (APISystemPackageReadResponse) Status ¶
func (r APISystemPackageReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemPackageReadResponse) StatusCode ¶
func (r APISystemPackageReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemRebootCreateResponse ¶
type APISystemRebootCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemRebootCreateResponse ¶
func ParseAPISystemRebootCreateResponse(rsp *http.Response) (*APISystemRebootCreateResponse, error)
ParseAPISystemRebootCreateResponse parses an HTTP response from a APISystemRebootCreateWithResponse call
func (APISystemRebootCreateResponse) Status ¶
func (r APISystemRebootCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemRebootCreateResponse) StatusCode ¶
func (r APISystemRebootCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemTableReadParams ¶
type APISystemTableReadParams struct { // Name Name of the table to read. This must be an existing table. If no table name is specified, all tables will be read. Depending on the size of the tables on the system, reading all tables may take a while. Name *string `form:"name,omitempty" json:"name,omitempty"` }
APISystemTableReadParams defines parameters for APISystemTableRead.
type APISystemTableReadResponse ¶
type APISystemTableReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemTableReadResponse ¶
func ParseAPISystemTableReadResponse(rsp *http.Response) (*APISystemTableReadResponse, error)
ParseAPISystemTableReadResponse parses an HTTP response from a APISystemTableReadWithResponse call
func (APISystemTableReadResponse) Status ¶
func (r APISystemTableReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemTableReadResponse) StatusCode ¶
func (r APISystemTableReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemTunableCreateJSONBody ¶
type APISystemTunableCreateJSONBody struct { // Descr Description for this tunable. Descr *string `json:"descr,omitempty"` // Tunable Name of this tunable. This should be a value recognized by sysctl. Tunable string `json:"tunable"` // Value Value to assign this tunable. Value string `json:"value"` }
APISystemTunableCreateJSONBody defines parameters for APISystemTunableCreate.
type APISystemTunableCreateJSONRequestBody ¶
type APISystemTunableCreateJSONRequestBody APISystemTunableCreateJSONBody
APISystemTunableCreateJSONRequestBody defines body for APISystemTunableCreate for application/json ContentType.
type APISystemTunableCreateResponse ¶
type APISystemTunableCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemTunableCreateResponse ¶
func ParseAPISystemTunableCreateResponse(rsp *http.Response) (*APISystemTunableCreateResponse, error)
ParseAPISystemTunableCreateResponse parses an HTTP response from a APISystemTunableCreateWithResponse call
func (APISystemTunableCreateResponse) Status ¶
func (r APISystemTunableCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemTunableCreateResponse) StatusCode ¶
func (r APISystemTunableCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemTunableDeleteParams ¶
type APISystemTunableDeleteParams struct { // Id Name of the existing tunable to delete. Id string `form:"id" json:"id"` }
APISystemTunableDeleteParams defines parameters for APISystemTunableDelete.
type APISystemTunableDeleteResponse ¶
type APISystemTunableDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemTunableDeleteResponse ¶
func ParseAPISystemTunableDeleteResponse(rsp *http.Response) (*APISystemTunableDeleteResponse, error)
ParseAPISystemTunableDeleteResponse parses an HTTP response from a APISystemTunableDeleteWithResponse call
func (APISystemTunableDeleteResponse) Status ¶
func (r APISystemTunableDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemTunableDeleteResponse) StatusCode ¶
func (r APISystemTunableDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemTunableReadResponse ¶
type APISystemTunableReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemTunableReadResponse ¶
func ParseAPISystemTunableReadResponse(rsp *http.Response) (*APISystemTunableReadResponse, error)
ParseAPISystemTunableReadResponse parses an HTTP response from a APISystemTunableReadWithResponse call
func (APISystemTunableReadResponse) Status ¶
func (r APISystemTunableReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemTunableReadResponse) StatusCode ¶
func (r APISystemTunableReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemTunableUpdateJSONBody ¶
type APISystemTunableUpdateJSONBody struct { // Descr Description for this tunable. Descr *string `json:"descr,omitempty"` // Id Name of the existing tunable to update. Id string `json:"id"` // Tunable New name to assign this tunable. This should be a value recognized by sysctl. Tunable *string `json:"tunable,omitempty"` // Value Value to assign this tunable. Value *string `json:"value,omitempty"` }
APISystemTunableUpdateJSONBody defines parameters for APISystemTunableUpdate.
type APISystemTunableUpdateJSONRequestBody ¶
type APISystemTunableUpdateJSONRequestBody APISystemTunableUpdateJSONBody
APISystemTunableUpdateJSONRequestBody defines body for APISystemTunableUpdate for application/json ContentType.
type APISystemTunableUpdateResponse ¶
type APISystemTunableUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemTunableUpdateResponse ¶
func ParseAPISystemTunableUpdateResponse(rsp *http.Response) (*APISystemTunableUpdateResponse, error)
ParseAPISystemTunableUpdateResponse parses an HTTP response from a APISystemTunableUpdateWithResponse call
func (APISystemTunableUpdateResponse) Status ¶
func (r APISystemTunableUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemTunableUpdateResponse) StatusCode ¶
func (r APISystemTunableUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemVersionReadResponse ¶
type APISystemVersionReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemVersionReadResponse ¶
func ParseAPISystemVersionReadResponse(rsp *http.Response) (*APISystemVersionReadResponse, error)
ParseAPISystemVersionReadResponse parses an HTTP response from a APISystemVersionReadWithResponse call
func (APISystemVersionReadResponse) Status ¶
func (r APISystemVersionReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemVersionReadResponse) StatusCode ¶
func (r APISystemVersionReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APISystemVersionUpgradeReadParams ¶
type APISystemVersionUpgradeReadParams struct { // UseCache Use cached upgrade information. This will speed up the response but may reference slightly outdated data. pfSense updates this cache automatically at scheduled intervals. UseCache *bool `form:"use_cache,omitempty" json:"use_cache,omitempty"` }
APISystemVersionUpgradeReadParams defines parameters for APISystemVersionUpgradeRead.
type APISystemVersionUpgradeReadResponse ¶
type APISystemVersionUpgradeReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPISystemVersionUpgradeReadResponse ¶
func ParseAPISystemVersionUpgradeReadResponse(rsp *http.Response) (*APISystemVersionUpgradeReadResponse, error)
ParseAPISystemVersionUpgradeReadResponse parses an HTTP response from a APISystemVersionUpgradeReadWithResponse call
func (APISystemVersionUpgradeReadResponse) Status ¶
func (r APISystemVersionUpgradeReadResponse) Status() string
Status returns HTTPResponse.Status
func (APISystemVersionUpgradeReadResponse) StatusCode ¶
func (r APISystemVersionUpgradeReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserAuthServerDeleteParams ¶
type APIUserAuthServerDeleteParams struct { // Name Name of authentication server to delete. Name string `form:"name" json:"name"` }
APIUserAuthServerDeleteParams defines parameters for APIUserAuthServerDelete.
type APIUserAuthServerDeleteResponse ¶
type APIUserAuthServerDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserAuthServerDeleteResponse ¶
func ParseAPIUserAuthServerDeleteResponse(rsp *http.Response) (*APIUserAuthServerDeleteResponse, error)
ParseAPIUserAuthServerDeleteResponse parses an HTTP response from a APIUserAuthServerDeleteWithResponse call
func (APIUserAuthServerDeleteResponse) Status ¶
func (r APIUserAuthServerDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserAuthServerDeleteResponse) StatusCode ¶
func (r APIUserAuthServerDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserAuthServerLDAPCreateJSONBody ¶
type APIUserAuthServerLDAPCreateJSONBody struct { // Active Set this authentication server as the system default. Active *bool `json:"active,omitempty"` // Host Hostname or IP of the LDAP server to query. Host string `json:"host"` // LdapAttrGroup LDAP group naming attribute. LdapAttrGroup string `json:"ldap_attr_group"` // LdapAttrGroupobj LDAP group object class. Specifying any value enables RFC2307 mode. LdapAttrGroupobj *string `json:"ldap_attr_groupobj,omitempty"` // LdapAttrMember LDAP group member attribute. LdapAttrMember string `json:"ldap_attr_member"` // LdapAttrUser LDAP user naming attribute. LdapAttrUser string `json:"ldap_attr_user"` // LdapAuthcn LDAP authentication container. LdapAuthcn *string `json:"ldap_authcn,omitempty"` // LdapBasedn Base distinguished name of LDAP tree. LdapBasedn *string `json:"ldap_basedn,omitempty"` // LdapBinddn Bind DN to use for LDAP authentication. LdapBinddn *string `json:"ldap_binddn,omitempty"` // LdapBindpw Bind password to use for LDAP authentication. LdapBindpw string `json:"ldap_bindpw"` // LdapExtendedQuery Extended LDAP queries. Specifying any value enables LDAP extended queries. LdapExtendedQuery *string `json:"ldap_extended_query,omitempty"` // LdapNostripAt Disable LDAP username alterations. LdapNostripAt *bool `json:"ldap_nostrip_at,omitempty"` // LdapPort Remote LDAP server's LDAP port. LdapPort int `json:"ldap_port"` // LdapProtver LDAP version used by the remote authentication server. LdapProtver *APIUserAuthServerLDAPCreateJSONBodyLdapProtver `json:"ldap_protver,omitempty"` // LdapScope Scope of LDAP search. LdapScope APIUserAuthServerLDAPCreateJSONBodyLdapScope `json:"ldap_scope"` // LdapTimeout Connection timeout for LDAP requests. LdapTimeout *int `json:"ldap_timeout,omitempty"` // LdapUrltype Transport method to use for LDAP queries. LdapUrltype APIUserAuthServerLDAPCreateJSONBodyLdapUrltype `json:"ldap_urltype"` // LdapUtf8 Enable UTF-8 encoded LDAP parameters. LdapUtf8 *bool `json:"ldap_utf8,omitempty"` // Name Unique name for the authentication server. Name string `json:"name"` }
APIUserAuthServerLDAPCreateJSONBody defines parameters for APIUserAuthServerLDAPCreate.
type APIUserAuthServerLDAPCreateJSONBodyLdapProtver ¶
type APIUserAuthServerLDAPCreateJSONBodyLdapProtver int
APIUserAuthServerLDAPCreateJSONBodyLdapProtver defines parameters for APIUserAuthServerLDAPCreate.
const ( N2 APIUserAuthServerLDAPCreateJSONBodyLdapProtver = 2 N3 APIUserAuthServerLDAPCreateJSONBodyLdapProtver = 3 )
Defines values for APIUserAuthServerLDAPCreateJSONBodyLdapProtver.
type APIUserAuthServerLDAPCreateJSONBodyLdapScope ¶
type APIUserAuthServerLDAPCreateJSONBodyLdapScope string
APIUserAuthServerLDAPCreateJSONBodyLdapScope defines parameters for APIUserAuthServerLDAPCreate.
const ( One APIUserAuthServerLDAPCreateJSONBodyLdapScope = "one" Subtree APIUserAuthServerLDAPCreateJSONBodyLdapScope = "subtree" )
Defines values for APIUserAuthServerLDAPCreateJSONBodyLdapScope.
type APIUserAuthServerLDAPCreateJSONBodyLdapUrltype ¶
type APIUserAuthServerLDAPCreateJSONBodyLdapUrltype string
APIUserAuthServerLDAPCreateJSONBodyLdapUrltype defines parameters for APIUserAuthServerLDAPCreate.
const ( Encrypted APIUserAuthServerLDAPCreateJSONBodyLdapUrltype = "encrypted" Standard APIUserAuthServerLDAPCreateJSONBodyLdapUrltype = "standard" Starttls APIUserAuthServerLDAPCreateJSONBodyLdapUrltype = "starttls" )
Defines values for APIUserAuthServerLDAPCreateJSONBodyLdapUrltype.
type APIUserAuthServerLDAPCreateJSONRequestBody ¶
type APIUserAuthServerLDAPCreateJSONRequestBody APIUserAuthServerLDAPCreateJSONBody
APIUserAuthServerLDAPCreateJSONRequestBody defines body for APIUserAuthServerLDAPCreate for application/json ContentType.
type APIUserAuthServerLDAPCreateResponse ¶
type APIUserAuthServerLDAPCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserAuthServerLDAPCreateResponse ¶
func ParseAPIUserAuthServerLDAPCreateResponse(rsp *http.Response) (*APIUserAuthServerLDAPCreateResponse, error)
ParseAPIUserAuthServerLDAPCreateResponse parses an HTTP response from a APIUserAuthServerLDAPCreateWithResponse call
func (APIUserAuthServerLDAPCreateResponse) Status ¶
func (r APIUserAuthServerLDAPCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserAuthServerLDAPCreateResponse) StatusCode ¶
func (r APIUserAuthServerLDAPCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserAuthServerLDAPDeleteParams ¶
type APIUserAuthServerLDAPDeleteParams struct { // Name Name of the LDAP authentication server to delete. Name string `form:"name" json:"name"` }
APIUserAuthServerLDAPDeleteParams defines parameters for APIUserAuthServerLDAPDelete.
type APIUserAuthServerLDAPDeleteResponse ¶
type APIUserAuthServerLDAPDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserAuthServerLDAPDeleteResponse ¶
func ParseAPIUserAuthServerLDAPDeleteResponse(rsp *http.Response) (*APIUserAuthServerLDAPDeleteResponse, error)
ParseAPIUserAuthServerLDAPDeleteResponse parses an HTTP response from a APIUserAuthServerLDAPDeleteWithResponse call
func (APIUserAuthServerLDAPDeleteResponse) Status ¶
func (r APIUserAuthServerLDAPDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserAuthServerLDAPDeleteResponse) StatusCode ¶
func (r APIUserAuthServerLDAPDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserAuthServerLDAPReadResponse ¶
type APIUserAuthServerLDAPReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserAuthServerLDAPReadResponse ¶
func ParseAPIUserAuthServerLDAPReadResponse(rsp *http.Response) (*APIUserAuthServerLDAPReadResponse, error)
ParseAPIUserAuthServerLDAPReadResponse parses an HTTP response from a APIUserAuthServerLDAPReadWithResponse call
func (APIUserAuthServerLDAPReadResponse) Status ¶
func (r APIUserAuthServerLDAPReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserAuthServerLDAPReadResponse) StatusCode ¶
func (r APIUserAuthServerLDAPReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserAuthServerRADIUSCreateJSONBody ¶
type APIUserAuthServerRADIUSCreateJSONBody struct { // Active Set this authentication server as the system default. Active *bool `json:"active,omitempty"` // Host IP or hostname of the remote RADIUS authentication server. Host string `json:"host"` // Name Descriptive name for the RADIUS authentication server. This name must be unique from all other authentication servers on the system. Name string `json:"name"` // RadiusAcctPort Remote RADIUS authentication server's accounting port. If no value is specified, the accounting service on the remote RADIUS server will not be used. This field is optional if a `radius_auth_port` value is specified. RadiusAcctPort *int `json:"radius_acct_port,omitempty"` // RadiusAuthPort Remote RADIUS authentication server's authentication port. If no value is specified, the authentication service on the remote RADIUS server will not be used. This field is optional if a `radius_acct_port` value is specified. RadiusAuthPort *int `json:"radius_auth_port,omitempty"` // RadiusNasipAttribute Interface to use for the "NAS-IP-Address" attribute during RADIUS requests. RadiusNasipAttribute *string `json:"radius_nasip_attribute,omitempty"` // RadiusProtocol RADIUS authentication protocol to use when communicating with the remote RADIUS server. RadiusProtocol *APIUserAuthServerRADIUSCreateJSONBodyRadiusProtocol `json:"radius_protocol,omitempty"` // RadiusSecret Shared secret of the remote RADIUS authentication server. RadiusSecret string `json:"radius_secret"` // RadiusTimeout Amount of time (in seconds) to wait for the remote RADIUS server to respond before timing out. RadiusTimeout *int `json:"radius_timeout,omitempty"` }
APIUserAuthServerRADIUSCreateJSONBody defines parameters for APIUserAuthServerRADIUSCreate.
type APIUserAuthServerRADIUSCreateJSONBodyRadiusProtocol ¶
type APIUserAuthServerRADIUSCreateJSONBodyRadiusProtocol string
APIUserAuthServerRADIUSCreateJSONBodyRadiusProtocol defines parameters for APIUserAuthServerRADIUSCreate.
const ( CHAPMD5 APIUserAuthServerRADIUSCreateJSONBodyRadiusProtocol = "CHAP_MD5" MSCHAPv1 APIUserAuthServerRADIUSCreateJSONBodyRadiusProtocol = "MSCHAPv1" MSCHAPv2 APIUserAuthServerRADIUSCreateJSONBodyRadiusProtocol = "MSCHAPv2" PAP APIUserAuthServerRADIUSCreateJSONBodyRadiusProtocol = "PAP" )
Defines values for APIUserAuthServerRADIUSCreateJSONBodyRadiusProtocol.
type APIUserAuthServerRADIUSCreateJSONRequestBody ¶
type APIUserAuthServerRADIUSCreateJSONRequestBody APIUserAuthServerRADIUSCreateJSONBody
APIUserAuthServerRADIUSCreateJSONRequestBody defines body for APIUserAuthServerRADIUSCreate for application/json ContentType.
type APIUserAuthServerRADIUSCreateResponse ¶
type APIUserAuthServerRADIUSCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserAuthServerRADIUSCreateResponse ¶
func ParseAPIUserAuthServerRADIUSCreateResponse(rsp *http.Response) (*APIUserAuthServerRADIUSCreateResponse, error)
ParseAPIUserAuthServerRADIUSCreateResponse parses an HTTP response from a APIUserAuthServerRADIUSCreateWithResponse call
func (APIUserAuthServerRADIUSCreateResponse) Status ¶
func (r APIUserAuthServerRADIUSCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserAuthServerRADIUSCreateResponse) StatusCode ¶
func (r APIUserAuthServerRADIUSCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserAuthServerRADIUSDeleteParams ¶
type APIUserAuthServerRADIUSDeleteParams struct { // Name Name of the RADIUS authentication server to delete. Name string `form:"name" json:"name"` }
APIUserAuthServerRADIUSDeleteParams defines parameters for APIUserAuthServerRADIUSDelete.
type APIUserAuthServerRADIUSDeleteResponse ¶
type APIUserAuthServerRADIUSDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserAuthServerRADIUSDeleteResponse ¶
func ParseAPIUserAuthServerRADIUSDeleteResponse(rsp *http.Response) (*APIUserAuthServerRADIUSDeleteResponse, error)
ParseAPIUserAuthServerRADIUSDeleteResponse parses an HTTP response from a APIUserAuthServerRADIUSDeleteWithResponse call
func (APIUserAuthServerRADIUSDeleteResponse) Status ¶
func (r APIUserAuthServerRADIUSDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserAuthServerRADIUSDeleteResponse) StatusCode ¶
func (r APIUserAuthServerRADIUSDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserAuthServerRADIUSReadResponse ¶
type APIUserAuthServerRADIUSReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserAuthServerRADIUSReadResponse ¶
func ParseAPIUserAuthServerRADIUSReadResponse(rsp *http.Response) (*APIUserAuthServerRADIUSReadResponse, error)
ParseAPIUserAuthServerRADIUSReadResponse parses an HTTP response from a APIUserAuthServerRADIUSReadWithResponse call
func (APIUserAuthServerRADIUSReadResponse) Status ¶
func (r APIUserAuthServerRADIUSReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserAuthServerRADIUSReadResponse) StatusCode ¶
func (r APIUserAuthServerRADIUSReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserAuthServerReadResponse ¶
type APIUserAuthServerReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserAuthServerReadResponse ¶
func ParseAPIUserAuthServerReadResponse(rsp *http.Response) (*APIUserAuthServerReadResponse, error)
ParseAPIUserAuthServerReadResponse parses an HTTP response from a APIUserAuthServerReadWithResponse call
func (APIUserAuthServerReadResponse) Status ¶
func (r APIUserAuthServerReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserAuthServerReadResponse) StatusCode ¶
func (r APIUserAuthServerReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserCreateJSONBody ¶
type APIUserCreateJSONBody struct { // Authorizedkeys Base64 encoded authorized SSH keys to assign new user. Authorizedkeys *string `json:"authorizedkeys,omitempty"` // Cert Assign certificates to this user. This must be an array of corresponding user certificate's `refid` values. Cert *[]string `json:"cert,omitempty"` // Descr Full name of the new user. Descr *string `json:"descr,omitempty"` // Disabled Disable user account upon creation. Disabled *bool `json:"disabled,omitempty"` // Expires Expiration date for user account in MM/DD/YYYY format. Expires *string `json:"expires,omitempty"` // Ipsecpsk IPsec pre-shared key to assign new user. Ipsecpsk *string `json:"ipsecpsk,omitempty"` // Password Password to assign new user. Password string `json:"password"` // Priv Assign privileges to this user. This must be an array of corresponding pfSense privileges. Priv *[]string `json:"priv,omitempty"` // Username Username to assign to the new user. Username string `json:"username"` }
APIUserCreateJSONBody defines parameters for APIUserCreate.
type APIUserCreateJSONRequestBody ¶
type APIUserCreateJSONRequestBody APIUserCreateJSONBody
APIUserCreateJSONRequestBody defines body for APIUserCreate for application/json ContentType.
type APIUserCreateResponse ¶
type APIUserCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserCreateResponse ¶
func ParseAPIUserCreateResponse(rsp *http.Response) (*APIUserCreateResponse, error)
ParseAPIUserCreateResponse parses an HTTP response from a APIUserCreateWithResponse call
func (APIUserCreateResponse) Status ¶
func (r APIUserCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserCreateResponse) StatusCode ¶
func (r APIUserCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserDeleteParams ¶
type APIUserDeleteParams struct { // Username Username of user to delete. Username string `form:"username" json:"username"` }
APIUserDeleteParams defines parameters for APIUserDelete.
type APIUserDeleteResponse ¶
type APIUserDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserDeleteResponse ¶
func ParseAPIUserDeleteResponse(rsp *http.Response) (*APIUserDeleteResponse, error)
ParseAPIUserDeleteResponse parses an HTTP response from a APIUserDeleteWithResponse call
func (APIUserDeleteResponse) Status ¶
func (r APIUserDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserDeleteResponse) StatusCode ¶
func (r APIUserDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserGroupCreateJSONBody ¶
type APIUserGroupCreateJSONBody struct { // Description Description of the group Description *string `json:"description,omitempty"` // Member UIDs of users to assign to this group. Member *[]int `json:"member,omitempty"` // Name Name of the group. Name string `json:"name"` // Priv Privileges to assign to this group. Priv *[]string `json:"priv,omitempty"` // Scope Scope of the group. Scope *APIUserGroupCreateJSONBodyScope `json:"scope,omitempty"` }
APIUserGroupCreateJSONBody defines parameters for APIUserGroupCreate.
type APIUserGroupCreateJSONBodyScope ¶
type APIUserGroupCreateJSONBodyScope string
APIUserGroupCreateJSONBodyScope defines parameters for APIUserGroupCreate.
const ( APIUserGroupCreateJSONBodyScopeLocal APIUserGroupCreateJSONBodyScope = "local" APIUserGroupCreateJSONBodyScopeRemote APIUserGroupCreateJSONBodyScope = "remote" )
Defines values for APIUserGroupCreateJSONBodyScope.
type APIUserGroupCreateJSONRequestBody ¶
type APIUserGroupCreateJSONRequestBody APIUserGroupCreateJSONBody
APIUserGroupCreateJSONRequestBody defines body for APIUserGroupCreate for application/json ContentType.
type APIUserGroupCreateResponse ¶
type APIUserGroupCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserGroupCreateResponse ¶
func ParseAPIUserGroupCreateResponse(rsp *http.Response) (*APIUserGroupCreateResponse, error)
ParseAPIUserGroupCreateResponse parses an HTTP response from a APIUserGroupCreateWithResponse call
func (APIUserGroupCreateResponse) Status ¶
func (r APIUserGroupCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserGroupCreateResponse) StatusCode ¶
func (r APIUserGroupCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserGroupDeleteParams ¶
type APIUserGroupDeleteParams struct { // Id Name of the group to delete. Id string `form:"id" json:"id"` }
APIUserGroupDeleteParams defines parameters for APIUserGroupDelete.
type APIUserGroupDeleteResponse ¶
type APIUserGroupDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserGroupDeleteResponse ¶
func ParseAPIUserGroupDeleteResponse(rsp *http.Response) (*APIUserGroupDeleteResponse, error)
ParseAPIUserGroupDeleteResponse parses an HTTP response from a APIUserGroupDeleteWithResponse call
func (APIUserGroupDeleteResponse) Status ¶
func (r APIUserGroupDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserGroupDeleteResponse) StatusCode ¶
func (r APIUserGroupDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserGroupMemberCreateJSONBody ¶
type APIUserGroupMemberCreateJSONBody struct { // Group Names of groups to assign user to. Group []string `json:"group"` // Username Username of user to assign to groups. Username string `json:"username"` }
APIUserGroupMemberCreateJSONBody defines parameters for APIUserGroupMemberCreate.
type APIUserGroupMemberCreateJSONRequestBody ¶
type APIUserGroupMemberCreateJSONRequestBody APIUserGroupMemberCreateJSONBody
APIUserGroupMemberCreateJSONRequestBody defines body for APIUserGroupMemberCreate for application/json ContentType.
type APIUserGroupMemberCreateResponse ¶
type APIUserGroupMemberCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserGroupMemberCreateResponse ¶
func ParseAPIUserGroupMemberCreateResponse(rsp *http.Response) (*APIUserGroupMemberCreateResponse, error)
ParseAPIUserGroupMemberCreateResponse parses an HTTP response from a APIUserGroupMemberCreateWithResponse call
func (APIUserGroupMemberCreateResponse) Status ¶
func (r APIUserGroupMemberCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserGroupMemberCreateResponse) StatusCode ¶
func (r APIUserGroupMemberCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserGroupMemberDeleteParams ¶
type APIUserGroupMemberDeleteParams struct { // Username Username of member to remove from group. Username string `form:"username" json:"username"` // Group Name of group to remove user from. Group string `form:"group" json:"group"` }
APIUserGroupMemberDeleteParams defines parameters for APIUserGroupMemberDelete.
type APIUserGroupMemberDeleteResponse ¶
type APIUserGroupMemberDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserGroupMemberDeleteResponse ¶
func ParseAPIUserGroupMemberDeleteResponse(rsp *http.Response) (*APIUserGroupMemberDeleteResponse, error)
ParseAPIUserGroupMemberDeleteResponse parses an HTTP response from a APIUserGroupMemberDeleteWithResponse call
func (APIUserGroupMemberDeleteResponse) Status ¶
func (r APIUserGroupMemberDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserGroupMemberDeleteResponse) StatusCode ¶
func (r APIUserGroupMemberDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserGroupReadResponse ¶
type APIUserGroupReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserGroupReadResponse ¶
func ParseAPIUserGroupReadResponse(rsp *http.Response) (*APIUserGroupReadResponse, error)
ParseAPIUserGroupReadResponse parses an HTTP response from a APIUserGroupReadWithResponse call
func (APIUserGroupReadResponse) Status ¶
func (r APIUserGroupReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserGroupReadResponse) StatusCode ¶
func (r APIUserGroupReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserGroupUpdateJSONBody ¶
type APIUserGroupUpdateJSONBody struct { // Description Description of the group Description *string `json:"description,omitempty"` // Id Name of the group to update. Id string `json:"id"` // Member UIDs of users to assign to this group. Member *[]int `json:"member,omitempty"` // Name New name of the group. Name *string `json:"name,omitempty"` // Priv Privileges to assign to this group. Priv *[]string `json:"priv,omitempty"` // Scope Scope of the group. Scope *APIUserGroupUpdateJSONBodyScope `json:"scope,omitempty"` }
APIUserGroupUpdateJSONBody defines parameters for APIUserGroupUpdate.
type APIUserGroupUpdateJSONBodyScope ¶
type APIUserGroupUpdateJSONBodyScope string
APIUserGroupUpdateJSONBodyScope defines parameters for APIUserGroupUpdate.
const ( Local APIUserGroupUpdateJSONBodyScope = "local" Remote APIUserGroupUpdateJSONBodyScope = "remote" )
Defines values for APIUserGroupUpdateJSONBodyScope.
type APIUserGroupUpdateJSONRequestBody ¶
type APIUserGroupUpdateJSONRequestBody APIUserGroupUpdateJSONBody
APIUserGroupUpdateJSONRequestBody defines body for APIUserGroupUpdate for application/json ContentType.
type APIUserGroupUpdateResponse ¶
type APIUserGroupUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserGroupUpdateResponse ¶
func ParseAPIUserGroupUpdateResponse(rsp *http.Response) (*APIUserGroupUpdateResponse, error)
ParseAPIUserGroupUpdateResponse parses an HTTP response from a APIUserGroupUpdateWithResponse call
func (APIUserGroupUpdateResponse) Status ¶
func (r APIUserGroupUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserGroupUpdateResponse) StatusCode ¶
func (r APIUserGroupUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserPrivilegeCreateJSONBody ¶
type APIUserPrivilegeCreateJSONBody struct { // Priv Names of privileges to assign to the user. Priv *[]string `json:"priv,omitempty"` // Username Username of user to be granted privileges. Username string `json:"username"` }
APIUserPrivilegeCreateJSONBody defines parameters for APIUserPrivilegeCreate.
type APIUserPrivilegeCreateJSONRequestBody ¶
type APIUserPrivilegeCreateJSONRequestBody APIUserPrivilegeCreateJSONBody
APIUserPrivilegeCreateJSONRequestBody defines body for APIUserPrivilegeCreate for application/json ContentType.
type APIUserPrivilegeCreateResponse ¶
type APIUserPrivilegeCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserPrivilegeCreateResponse ¶
func ParseAPIUserPrivilegeCreateResponse(rsp *http.Response) (*APIUserPrivilegeCreateResponse, error)
ParseAPIUserPrivilegeCreateResponse parses an HTTP response from a APIUserPrivilegeCreateWithResponse call
func (APIUserPrivilegeCreateResponse) Status ¶
func (r APIUserPrivilegeCreateResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserPrivilegeCreateResponse) StatusCode ¶
func (r APIUserPrivilegeCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserPrivilegeDeleteParams ¶
type APIUserPrivilegeDeleteParams struct { // Username Username of user to remove privilege. Username string `form:"username" json:"username"` // Priv Name of the privilege to remove from the user. Priv string `form:"priv" json:"priv"` }
APIUserPrivilegeDeleteParams defines parameters for APIUserPrivilegeDelete.
type APIUserPrivilegeDeleteResponse ¶
type APIUserPrivilegeDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserPrivilegeDeleteResponse ¶
func ParseAPIUserPrivilegeDeleteResponse(rsp *http.Response) (*APIUserPrivilegeDeleteResponse, error)
ParseAPIUserPrivilegeDeleteResponse parses an HTTP response from a APIUserPrivilegeDeleteWithResponse call
func (APIUserPrivilegeDeleteResponse) Status ¶
func (r APIUserPrivilegeDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserPrivilegeDeleteResponse) StatusCode ¶
func (r APIUserPrivilegeDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserReadResponse ¶
type APIUserReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserReadResponse ¶
func ParseAPIUserReadResponse(rsp *http.Response) (*APIUserReadResponse, error)
ParseAPIUserReadResponse parses an HTTP response from a APIUserReadWithResponse call
func (APIUserReadResponse) Status ¶
func (r APIUserReadResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserReadResponse) StatusCode ¶
func (r APIUserReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type APIUserUpdateJSONBody ¶
type APIUserUpdateJSONBody struct { // Authorizedkeys New Base64 encoded authorized SSH keys to assign new user. Authorizedkeys *string `json:"authorizedkeys,omitempty"` // Cert Assign certificates to this user. This must be an array of corresponding user certificate's `refid` values. Existing values will be overwritten. Cert *[]string `json:"cert,omitempty"` // Descr New full name of the user. Descr *string `json:"descr,omitempty"` // Disabled Disable user account. Disabled *bool `json:"disabled,omitempty"` // Expires New expiration date for user account in MM/DD/YYYY format. Expires *string `json:"expires,omitempty"` // Ipsecpsk New IPsec pre-shared key to assign new user. Ipsecpsk *string `json:"ipsecpsk,omitempty"` // Password New password to assign user. Password *string `json:"password,omitempty"` // Priv Assign privileges to this user. This must be an array of corresponding pfSense privileges. Existing values will be overwritten. Priv *[]string `json:"priv,omitempty"` // Username Username of the user to update. This field cannot be updated. Username string `json:"username"` }
APIUserUpdateJSONBody defines parameters for APIUserUpdate.
type APIUserUpdateJSONRequestBody ¶
type APIUserUpdateJSONRequestBody APIUserUpdateJSONBody
APIUserUpdateJSONRequestBody defines body for APIUserUpdate for application/json ContentType.
type APIUserUpdateResponse ¶
type APIUserUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Response JSON401 *Response }
func ParseAPIUserUpdateResponse ¶
func ParseAPIUserUpdateResponse(rsp *http.Response) (*APIUserUpdateResponse, error)
ParseAPIUserUpdateResponse parses an HTTP response from a APIUserUpdateWithResponse call
func (APIUserUpdateResponse) Status ¶
func (r APIUserUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (APIUserUpdateResponse) StatusCode ¶
func (r APIUserUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthenticationFailed ¶
type AuthenticationFailed = Response
AuthenticationFailed defines model for AuthenticationFailed.
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) APIAccessTokenCreate ¶
func (*Client) APIDiagnosticsCommandPromptCreate ¶
func (c *Client) APIDiagnosticsCommandPromptCreate(ctx context.Context, body APIDiagnosticsCommandPromptCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIDiagnosticsCommandPromptCreateWithBody ¶
func (*Client) APIFirewallAliasAdvancedRead ¶
func (*Client) APIFirewallAliasAdvancedUpdate ¶
func (c *Client) APIFirewallAliasAdvancedUpdate(ctx context.Context, body APIFirewallAliasAdvancedUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallAliasAdvancedUpdateWithBody ¶
func (*Client) APIFirewallAliasCreate ¶
func (c *Client) APIFirewallAliasCreate(ctx context.Context, body APIFirewallAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallAliasCreateWithBody ¶
func (*Client) APIFirewallAliasDelete ¶
func (c *Client) APIFirewallAliasDelete(ctx context.Context, params *APIFirewallAliasDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallAliasEntryCreate ¶
func (c *Client) APIFirewallAliasEntryCreate(ctx context.Context, body APIFirewallAliasEntryCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallAliasEntryCreateWithBody ¶
func (*Client) APIFirewallAliasEntryDelete ¶
func (c *Client) APIFirewallAliasEntryDelete(ctx context.Context, params *APIFirewallAliasEntryDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallAliasRead ¶
func (*Client) APIFirewallAliasUpdate ¶
func (c *Client) APIFirewallAliasUpdate(ctx context.Context, body APIFirewallAliasUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallAliasUpdateWithBody ¶
func (*Client) APIFirewallApplyCreate ¶
func (c *Client) APIFirewallApplyCreate(ctx context.Context, body APIFirewallApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallApplyCreateWithBody ¶
func (*Client) APIFirewallNATOneToOneCreate ¶
func (c *Client) APIFirewallNATOneToOneCreate(ctx context.Context, body APIFirewallNATOneToOneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallNATOneToOneCreateWithBody ¶
func (*Client) APIFirewallNATOneToOneDelete ¶
func (c *Client) APIFirewallNATOneToOneDelete(ctx context.Context, params *APIFirewallNATOneToOneDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallNATOneToOneRead ¶
func (*Client) APIFirewallNATOneToOneUpdate ¶
func (c *Client) APIFirewallNATOneToOneUpdate(ctx context.Context, body APIFirewallNATOneToOneUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallNATOneToOneUpdateWithBody ¶
func (*Client) APIFirewallNATOutboundMappingCreate ¶
func (c *Client) APIFirewallNATOutboundMappingCreate(ctx context.Context, body APIFirewallNATOutboundMappingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallNATOutboundMappingCreateWithBody ¶
func (*Client) APIFirewallNATOutboundMappingDelete ¶
func (c *Client) APIFirewallNATOutboundMappingDelete(ctx context.Context, params *APIFirewallNATOutboundMappingDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallNATOutboundMappingRead ¶
func (*Client) APIFirewallNATOutboundMappingUpdate ¶
func (c *Client) APIFirewallNATOutboundMappingUpdate(ctx context.Context, body APIFirewallNATOutboundMappingUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallNATOutboundMappingUpdateWithBody ¶
func (*Client) APIFirewallNATOutboundPortForwardCreate ¶
func (c *Client) APIFirewallNATOutboundPortForwardCreate(ctx context.Context, body APIFirewallNATOutboundPortForwardCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallNATOutboundPortForwardCreateWithBody ¶
func (*Client) APIFirewallNATOutboundPortForwardDelete ¶
func (c *Client) APIFirewallNATOutboundPortForwardDelete(ctx context.Context, params *APIFirewallNATOutboundPortForwardDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallNATOutboundPortForwardRead ¶
func (*Client) APIFirewallNATOutboundPortForwardUpdate ¶
func (c *Client) APIFirewallNATOutboundPortForwardUpdate(ctx context.Context, body APIFirewallNATOutboundPortForwardUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallNATOutboundPortForwardUpdateWithBody ¶
func (*Client) APIFirewallNATOutboundRead ¶
func (*Client) APIFirewallNATOutboundUpdate ¶
func (c *Client) APIFirewallNATOutboundUpdate(ctx context.Context, body APIFirewallNATOutboundUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallNATOutboundUpdateWithBody ¶
func (*Client) APIFirewallRuleCreate ¶
func (c *Client) APIFirewallRuleCreate(ctx context.Context, body APIFirewallRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallRuleCreateWithBody ¶
func (*Client) APIFirewallRuleDelete ¶
func (c *Client) APIFirewallRuleDelete(ctx context.Context, params *APIFirewallRuleDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallRuleFlushDelete ¶
func (*Client) APIFirewallRuleFlushUpdate ¶
func (c *Client) APIFirewallRuleFlushUpdate(ctx context.Context, body APIFirewallRuleFlushUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallRuleFlushUpdateWithBody ¶
func (*Client) APIFirewallRuleRead ¶
func (*Client) APIFirewallRuleSortUpdate ¶
func (c *Client) APIFirewallRuleSortUpdate(ctx context.Context, body APIFirewallRuleSortUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallRuleSortUpdateWithBody ¶
func (*Client) APIFirewallRuleUpdate ¶
func (c *Client) APIFirewallRuleUpdate(ctx context.Context, body APIFirewallRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallRuleUpdateWithBody ¶
func (*Client) APIFirewallScheduleCreate ¶
func (c *Client) APIFirewallScheduleCreate(ctx context.Context, body APIFirewallScheduleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallScheduleCreateWithBody ¶
func (*Client) APIFirewallScheduleDelete ¶
func (c *Client) APIFirewallScheduleDelete(ctx context.Context, params *APIFirewallScheduleDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallScheduleRead ¶
func (*Client) APIFirewallScheduleTimeRangeCreate ¶
func (c *Client) APIFirewallScheduleTimeRangeCreate(ctx context.Context, body APIFirewallScheduleTimeRangeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallScheduleTimeRangeCreateWithBody ¶
func (*Client) APIFirewallScheduleTimeRangeDelete ¶
func (c *Client) APIFirewallScheduleTimeRangeDelete(ctx context.Context, params *APIFirewallScheduleTimeRangeDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallScheduleUpdate ¶
func (c *Client) APIFirewallScheduleUpdate(ctx context.Context, body APIFirewallScheduleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallScheduleUpdateWithBody ¶
func (*Client) APIFirewallStatesDelete ¶
func (c *Client) APIFirewallStatesDelete(ctx context.Context, params *APIFirewallStatesDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallStatesRead ¶
func (*Client) APIFirewallStatesSizeRead ¶
func (*Client) APIFirewallStatesSizeUpdate ¶
func (c *Client) APIFirewallStatesSizeUpdate(ctx context.Context, body APIFirewallStatesSizeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallStatesSizeUpdateWithBody ¶
func (*Client) APIFirewallTrafficShaperCreate ¶
func (c *Client) APIFirewallTrafficShaperCreate(ctx context.Context, body APIFirewallTrafficShaperCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperCreateWithBody ¶
func (*Client) APIFirewallTrafficShaperDelete ¶
func (c *Client) APIFirewallTrafficShaperDelete(ctx context.Context, params *APIFirewallTrafficShaperDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperLimiterBandwidthCreate ¶
func (c *Client) APIFirewallTrafficShaperLimiterBandwidthCreate(ctx context.Context, body APIFirewallTrafficShaperLimiterBandwidthCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperLimiterBandwidthCreateWithBody ¶
func (*Client) APIFirewallTrafficShaperLimiterBandwidthDelete ¶
func (c *Client) APIFirewallTrafficShaperLimiterBandwidthDelete(ctx context.Context, params *APIFirewallTrafficShaperLimiterBandwidthDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperLimiterCreate ¶
func (c *Client) APIFirewallTrafficShaperLimiterCreate(ctx context.Context, body APIFirewallTrafficShaperLimiterCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperLimiterCreateWithBody ¶
func (*Client) APIFirewallTrafficShaperLimiterDelete ¶
func (c *Client) APIFirewallTrafficShaperLimiterDelete(ctx context.Context, params *APIFirewallTrafficShaperLimiterDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperLimiterQueueCreate ¶
func (c *Client) APIFirewallTrafficShaperLimiterQueueCreate(ctx context.Context, body APIFirewallTrafficShaperLimiterQueueCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperLimiterQueueCreateWithBody ¶
func (*Client) APIFirewallTrafficShaperLimiterQueueDelete ¶
func (c *Client) APIFirewallTrafficShaperLimiterQueueDelete(ctx context.Context, params *APIFirewallTrafficShaperLimiterQueueDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperLimiterRead ¶
func (*Client) APIFirewallTrafficShaperQueueCreate ¶
func (c *Client) APIFirewallTrafficShaperQueueCreate(ctx context.Context, body APIFirewallTrafficShaperQueueCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperQueueCreateWithBody ¶
func (*Client) APIFirewallTrafficShaperQueueDelete ¶
func (c *Client) APIFirewallTrafficShaperQueueDelete(ctx context.Context, params *APIFirewallTrafficShaperQueueDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperRead ¶
func (*Client) APIFirewallTrafficShaperUpdate ¶
func (c *Client) APIFirewallTrafficShaperUpdate(ctx context.Context, body APIFirewallTrafficShaperUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallTrafficShaperUpdateWithBody ¶
func (*Client) APIFirewallVirtualIPCreate ¶
func (c *Client) APIFirewallVirtualIPCreate(ctx context.Context, body APIFirewallVirtualIPCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallVirtualIPCreateWithBody ¶
func (*Client) APIFirewallVirtualIPDelete ¶
func (c *Client) APIFirewallVirtualIPDelete(ctx context.Context, params *APIFirewallVirtualIPDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallVirtualIPRead ¶
func (*Client) APIFirewallVirtualIPUpdate ¶
func (c *Client) APIFirewallVirtualIPUpdate(ctx context.Context, body APIFirewallVirtualIPUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIFirewallVirtualIPUpdateWithBody ¶
func (*Client) APIInterfaceApplyCreate ¶
func (c *Client) APIInterfaceApplyCreate(ctx context.Context, body APIInterfaceApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceApplyCreateWithBody ¶
func (*Client) APIInterfaceApplyRead ¶
func (*Client) APIInterfaceAvailableRead ¶
func (*Client) APIInterfaceBridgeCreate ¶
func (c *Client) APIInterfaceBridgeCreate(ctx context.Context, body APIInterfaceBridgeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceBridgeCreateWithBody ¶
func (*Client) APIInterfaceBridgeDelete ¶
func (c *Client) APIInterfaceBridgeDelete(ctx context.Context, params *APIInterfaceBridgeDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceBridgeRead ¶
func (*Client) APIInterfaceBridgeUpdate ¶
func (c *Client) APIInterfaceBridgeUpdate(ctx context.Context, body APIInterfaceBridgeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceBridgeUpdateWithBody ¶
func (*Client) APIInterfaceCreate ¶
func (c *Client) APIInterfaceCreate(ctx context.Context, body APIInterfaceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceCreateWithBody ¶
func (*Client) APIInterfaceDelete ¶
func (c *Client) APIInterfaceDelete(ctx context.Context, params *APIInterfaceDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceGroupCreate ¶
func (c *Client) APIInterfaceGroupCreate(ctx context.Context, body APIInterfaceGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceGroupCreateWithBody ¶
func (*Client) APIInterfaceGroupDelete ¶
func (c *Client) APIInterfaceGroupDelete(ctx context.Context, params *APIInterfaceGroupDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceGroupRead ¶
func (*Client) APIInterfaceGroupUpdate ¶
func (c *Client) APIInterfaceGroupUpdate(ctx context.Context, body APIInterfaceGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceGroupUpdateWithBody ¶
func (*Client) APIInterfaceRead ¶
func (*Client) APIInterfaceUpdate ¶
func (c *Client) APIInterfaceUpdate(ctx context.Context, body APIInterfaceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceUpdateWithBody ¶
func (*Client) APIInterfaceVLANCreate ¶
func (c *Client) APIInterfaceVLANCreate(ctx context.Context, body APIInterfaceVLANCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceVLANCreateWithBody ¶
func (*Client) APIInterfaceVLANDelete ¶
func (c *Client) APIInterfaceVLANDelete(ctx context.Context, params *APIInterfaceVLANDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceVLANRead ¶
func (*Client) APIInterfaceVLANUpdate ¶
func (c *Client) APIInterfaceVLANUpdate(ctx context.Context, body APIInterfaceVLANUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIInterfaceVLANUpdateWithBody ¶
func (*Client) APIRoutingApplyCreate ¶
func (*Client) APIRoutingGatewayCreate ¶
func (c *Client) APIRoutingGatewayCreate(ctx context.Context, body APIRoutingGatewayCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIRoutingGatewayCreateWithBody ¶
func (*Client) APIRoutingGatewayDefaultUpdate ¶
func (c *Client) APIRoutingGatewayDefaultUpdate(ctx context.Context, body APIRoutingGatewayDefaultUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIRoutingGatewayDefaultUpdateWithBody ¶
func (*Client) APIRoutingGatewayDelete ¶
func (c *Client) APIRoutingGatewayDelete(ctx context.Context, params *APIRoutingGatewayDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIRoutingGatewayDetailRead ¶
func (*Client) APIRoutingGatewayRead ¶
func (*Client) APIRoutingGatewayUpdate ¶
func (c *Client) APIRoutingGatewayUpdate(ctx context.Context, body APIRoutingGatewayUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIRoutingGatewayUpdateWithBody ¶
func (*Client) APIRoutingStaticRouteCreate ¶
func (c *Client) APIRoutingStaticRouteCreate(ctx context.Context, body APIRoutingStaticRouteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIRoutingStaticRouteCreateWithBody ¶
func (*Client) APIRoutingStaticRouteDelete ¶
func (c *Client) APIRoutingStaticRouteDelete(ctx context.Context, params *APIRoutingStaticRouteDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIRoutingStaticRouteRead ¶
func (*Client) APIRoutingStaticRouteUpdate ¶
func (c *Client) APIRoutingStaticRouteUpdate(ctx context.Context, body APIRoutingStaticRouteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIRoutingStaticRouteUpdateWithBody ¶
func (*Client) APIServicesDDNSRead ¶
func (*Client) APIServicesDHCPdLeaseRead ¶
func (*Client) APIServicesDHCPdOptionsCreate ¶
func (c *Client) APIServicesDHCPdOptionsCreate(ctx context.Context, body APIServicesDHCPdOptionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesDHCPdOptionsCreateWithBody ¶
func (*Client) APIServicesDHCPdRead ¶
func (*Client) APIServicesDHCPdRestartCreate ¶
func (*Client) APIServicesDHCPdStartCreate ¶
func (*Client) APIServicesDHCPdStaticMappingCreate ¶
func (c *Client) APIServicesDHCPdStaticMappingCreate(ctx context.Context, body APIServicesDHCPdStaticMappingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesDHCPdStaticMappingCreateWithBody ¶
func (*Client) APIServicesDHCPdStaticMappingDelete ¶
func (c *Client) APIServicesDHCPdStaticMappingDelete(ctx context.Context, params *APIServicesDHCPdStaticMappingDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesDHCPdStaticMappingRead ¶
func (c *Client) APIServicesDHCPdStaticMappingRead(ctx context.Context, params *APIServicesDHCPdStaticMappingReadParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesDHCPdStaticMappingUpdate ¶
func (c *Client) APIServicesDHCPdStaticMappingUpdate(ctx context.Context, body APIServicesDHCPdStaticMappingUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesDHCPdStaticMappingUpdateWithBody ¶
func (*Client) APIServicesDHCPdStopCreate ¶
func (*Client) APIServicesDHCPdUpdate ¶
func (c *Client) APIServicesDHCPdUpdate(ctx context.Context, body APIServicesDHCPdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesDHCPdUpdateWithBody ¶
func (*Client) APIServicesDnsmasqApplyCreate ¶
func (*Client) APIServicesDnsmasqHostOverrideAliasCreate ¶
func (c *Client) APIServicesDnsmasqHostOverrideAliasCreate(ctx context.Context, body APIServicesDnsmasqHostOverrideAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesDnsmasqHostOverrideAliasCreateWithBody ¶
func (*Client) APIServicesDnsmasqHostOverrideCreate ¶
func (c *Client) APIServicesDnsmasqHostOverrideCreate(ctx context.Context, body APIServicesDnsmasqHostOverrideCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesDnsmasqHostOverrideCreateWithBody ¶
func (*Client) APIServicesDnsmasqHostOverrideDelete ¶
func (c *Client) APIServicesDnsmasqHostOverrideDelete(ctx context.Context, params *APIServicesDnsmasqHostOverrideDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesDnsmasqHostOverrideRead ¶
func (*Client) APIServicesDnsmasqHostOverrideUpdate ¶
func (c *Client) APIServicesDnsmasqHostOverrideUpdate(ctx context.Context, body APIServicesDnsmasqHostOverrideUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesDnsmasqHostOverrideUpdateWithBody ¶
func (*Client) APIServicesDnsmasqRead ¶
func (*Client) APIServicesDnsmasqRestartCreate ¶
func (*Client) APIServicesDnsmasqStartCreate ¶
func (*Client) APIServicesDnsmasqStopCreate ¶
func (*Client) APIServicesDpingerRestartCreate ¶
func (*Client) APIServicesDpingerStartCreate ¶
func (*Client) APIServicesDpingerStopCreate ¶
func (*Client) APIServicesIPsecApplyCreate ¶
func (c *Client) APIServicesIPsecApplyCreate(ctx context.Context, body APIServicesIPsecApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesIPsecApplyCreateWithBody ¶
func (*Client) APIServicesIPsecPhase1Create ¶
func (c *Client) APIServicesIPsecPhase1Create(ctx context.Context, body APIServicesIPsecPhase1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesIPsecPhase1CreateWithBody ¶
func (*Client) APIServicesIPsecPhase1Delete ¶
func (c *Client) APIServicesIPsecPhase1Delete(ctx context.Context, params *APIServicesIPsecPhase1DeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesIPsecPhase1EncryptionCreate ¶
func (c *Client) APIServicesIPsecPhase1EncryptionCreate(ctx context.Context, body APIServicesIPsecPhase1EncryptionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesIPsecPhase1EncryptionCreateWithBody ¶
func (*Client) APIServicesIPsecPhase1Read ¶
func (*Client) APIServicesIPsecPhase1Update ¶
func (c *Client) APIServicesIPsecPhase1Update(ctx context.Context, body APIServicesIPsecPhase1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesIPsecPhase1UpdateWithBody ¶
func (*Client) APIServicesIPsecPhase2Create ¶
func (c *Client) APIServicesIPsecPhase2Create(ctx context.Context, body APIServicesIPsecPhase2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesIPsecPhase2CreateWithBody ¶
func (*Client) APIServicesIPsecPhase2Delete ¶
func (c *Client) APIServicesIPsecPhase2Delete(ctx context.Context, params *APIServicesIPsecPhase2DeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesIPsecPhase2Read ¶
func (*Client) APIServicesIPsecPhase2Update ¶
func (c *Client) APIServicesIPsecPhase2Update(ctx context.Context, body APIServicesIPsecPhase2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesIPsecPhase2UpdateWithBody ¶
func (*Client) APIServicesNTPdRead ¶
func (*Client) APIServicesNTPdRestartCreate ¶
func (*Client) APIServicesNTPdStartCreate ¶
func (*Client) APIServicesNTPdStopCreate ¶
func (*Client) APIServicesNTPdTimeServerCreate ¶
func (c *Client) APIServicesNTPdTimeServerCreate(ctx context.Context, body APIServicesNTPdTimeServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesNTPdTimeServerCreateWithBody ¶
func (*Client) APIServicesNTPdTimeServerDelete ¶
func (c *Client) APIServicesNTPdTimeServerDelete(ctx context.Context, params *APIServicesNTPdTimeServerDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesNTPdUpdate ¶
func (c *Client) APIServicesNTPdUpdate(ctx context.Context, body APIServicesNTPdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesNTPdUpdateWithBody ¶
func (*Client) APIServicesOpenVPNClientCreate ¶
func (c *Client) APIServicesOpenVPNClientCreate(ctx context.Context, body APIServicesOpenVPNClientCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesOpenVPNClientCreateWithBody ¶
func (*Client) APIServicesOpenVPNClientRead ¶
func (*Client) APIServicesOpenVPNClientSpecificOverridesCreate ¶
func (c *Client) APIServicesOpenVPNClientSpecificOverridesCreate(ctx context.Context, body APIServicesOpenVPNClientSpecificOverridesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesOpenVPNClientSpecificOverridesCreateWithBody ¶
func (*Client) APIServicesOpenVPNClientSpecificOverridesDelete ¶
func (c *Client) APIServicesOpenVPNClientSpecificOverridesDelete(ctx context.Context, params *APIServicesOpenVPNClientSpecificOverridesDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesOpenVPNClientSpecificOverridesRead ¶
func (*Client) APIServicesOpenVPNClientSpecificOverridesUpdate ¶
func (c *Client) APIServicesOpenVPNClientSpecificOverridesUpdate(ctx context.Context, body APIServicesOpenVPNClientSpecificOverridesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesOpenVPNClientSpecificOverridesUpdateWithBody ¶
func (*Client) APIServicesOpenVPNClientUpdate ¶
func (c *Client) APIServicesOpenVPNClientUpdate(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, body APIServicesOpenVPNClientUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesOpenVPNClientUpdateWithBody ¶
func (*Client) APIServicesOpenVPNServerCreate ¶
func (c *Client) APIServicesOpenVPNServerCreate(ctx context.Context, body APIServicesOpenVPNServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesOpenVPNServerCreateWithBody ¶
func (*Client) APIServicesOpenVPNServerRead ¶
func (*Client) APIServicesOpenVPNServerUpdate ¶
func (c *Client) APIServicesOpenVPNServerUpdate(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, body APIServicesOpenVPNServerUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesOpenVPNServerUpdateWithBody ¶
func (*Client) APIServicesRead ¶
func (*Client) APIServicesRestartCreate ¶
func (c *Client) APIServicesRestartCreate(ctx context.Context, body APIServicesRestartCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesRestartCreateWithBody ¶
func (*Client) APIServicesSSHdRead ¶
func (*Client) APIServicesSSHdRestartCreate ¶
func (*Client) APIServicesSSHdStartCreate ¶
func (*Client) APIServicesSSHdStopCreate ¶
func (*Client) APIServicesSSHdUpdate ¶
func (c *Client) APIServicesSSHdUpdate(ctx context.Context, body APIServicesSSHdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesSSHdUpdateWithBody ¶
func (*Client) APIServicesServiceWatchdogRead ¶
func (*Client) APIServicesServiceWatchdogUpdate ¶
func (c *Client) APIServicesServiceWatchdogUpdate(ctx context.Context, body APIServicesServiceWatchdogUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesServiceWatchdogUpdateWithBody ¶
func (*Client) APIServicesStartCreate ¶
func (*Client) APIServicesStopCreate ¶
func (c *Client) APIServicesStopCreate(ctx context.Context, body APIServicesStopCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesStopCreateWithBody ¶
func (*Client) APIServicesSyslogdRestartCreate ¶
func (*Client) APIServicesSyslogdStartCreate ¶
func (*Client) APIServicesSyslogdStopCreate ¶
func (*Client) APIServicesUnboundAccessListCreate ¶
func (c *Client) APIServicesUnboundAccessListCreate(ctx context.Context, body APIServicesUnboundAccessListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesUnboundAccessListCreateWithBody ¶
func (*Client) APIServicesUnboundAccessListDelete ¶
func (c *Client) APIServicesUnboundAccessListDelete(ctx context.Context, params *APIServicesUnboundAccessListDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesUnboundAccessListRead ¶
func (*Client) APIServicesUnboundAccessListRowCreate ¶
func (c *Client) APIServicesUnboundAccessListRowCreate(ctx context.Context, body APIServicesUnboundAccessListRowCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesUnboundAccessListRowCreateWithBody ¶
func (*Client) APIServicesUnboundAccessListUpdate ¶
func (c *Client) APIServicesUnboundAccessListUpdate(ctx context.Context, body APIServicesUnboundAccessListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesUnboundAccessListUpdateWithBody ¶
func (*Client) APIServicesUnboundApplyCreate ¶
func (c *Client) APIServicesUnboundApplyCreate(ctx context.Context, body APIServicesUnboundApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesUnboundApplyCreateWithBody ¶
func (*Client) APIServicesUnboundApplyRead ¶
func (*Client) APIServicesUnboundHostOverrideAliasCreate ¶
func (c *Client) APIServicesUnboundHostOverrideAliasCreate(ctx context.Context, body APIServicesUnboundHostOverrideAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesUnboundHostOverrideAliasCreateWithBody ¶
func (*Client) APIServicesUnboundHostOverrideCreate ¶
func (c *Client) APIServicesUnboundHostOverrideCreate(ctx context.Context, body APIServicesUnboundHostOverrideCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesUnboundHostOverrideCreateWithBody ¶
func (*Client) APIServicesUnboundHostOverrideDelete ¶
func (c *Client) APIServicesUnboundHostOverrideDelete(ctx context.Context, params *APIServicesUnboundHostOverrideDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesUnboundHostOverrideFlushDelete ¶
func (*Client) APIServicesUnboundHostOverrideFlushUpdate ¶
func (c *Client) APIServicesUnboundHostOverrideFlushUpdate(ctx context.Context, body APIServicesUnboundHostOverrideFlushUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesUnboundHostOverrideFlushUpdateWithBody ¶
func (*Client) APIServicesUnboundHostOverrideRead ¶
func (*Client) APIServicesUnboundHostOverrideUpdate ¶
func (c *Client) APIServicesUnboundHostOverrideUpdate(ctx context.Context, body APIServicesUnboundHostOverrideUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesUnboundHostOverrideUpdateWithBody ¶
func (*Client) APIServicesUnboundRead ¶
func (*Client) APIServicesUnboundRestartCreate ¶
func (*Client) APIServicesUnboundStartCreate ¶
func (*Client) APIServicesUnboundStopCreate ¶
func (*Client) APIServicesWOLSendCreate ¶
func (c *Client) APIServicesWOLSendCreate(ctx context.Context, body APIServicesWOLSendCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIServicesWOLSendCreateWithBody ¶
func (*Client) APIStatusCARPRead ¶
func (*Client) APIStatusCARPUpdate ¶
func (c *Client) APIStatusCARPUpdate(ctx context.Context, body APIStatusCARPUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIStatusCARPUpdateWithBody ¶
func (*Client) APIStatusGatewayRead ¶
func (*Client) APIStatusIPsecRead ¶
func (*Client) APIStatusInterfaceRead ¶
func (*Client) APIStatusLogConfigHistoryRead ¶
func (*Client) APIStatusLogDHCPRead ¶
func (*Client) APIStatusLogFirewallRead ¶
func (*Client) APIStatusLogSettingsUpdate ¶
func (c *Client) APIStatusLogSettingsUpdate(ctx context.Context, body APIStatusLogSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIStatusLogSettingsUpdateWithBody ¶
func (*Client) APIStatusLogSystemRead ¶
func (*Client) APIStatusOpenVPNRead ¶
func (*Client) APIStatusSystemRead ¶
func (*Client) APISystemAPIErrorRead ¶
func (*Client) APISystemAPIRead ¶
func (*Client) APISystemAPIUpdate ¶
func (c *Client) APISystemAPIUpdate(ctx context.Context, body APISystemAPIUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemAPIUpdateWithBody ¶
func (*Client) APISystemAPIVersionRead ¶
func (*Client) APISystemARPDelete ¶
func (c *Client) APISystemARPDelete(ctx context.Context, params *APISystemARPDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemARPRead ¶
func (*Client) APISystemCACreate ¶
func (c *Client) APISystemCACreate(ctx context.Context, body APISystemCACreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemCACreateWithBody ¶
func (*Client) APISystemCADelete ¶
func (c *Client) APISystemCADelete(ctx context.Context, params *APISystemCADeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemCARead ¶
func (*Client) APISystemCRLCreate ¶
func (c *Client) APISystemCRLCreate(ctx context.Context, body APISystemCRLCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemCRLCreateWithBody ¶
func (*Client) APISystemCRLDelete ¶
func (c *Client) APISystemCRLDelete(ctx context.Context, params *APISystemCRLDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemCRLRead ¶
func (*Client) APISystemCertificateCreate ¶
func (c *Client) APISystemCertificateCreate(ctx context.Context, body APISystemCertificateCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemCertificateCreateWithBody ¶
func (*Client) APISystemCertificateDelete ¶
func (c *Client) APISystemCertificateDelete(ctx context.Context, params *APISystemCertificateDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemCertificateRead ¶
func (*Client) APISystemCertificateUpdate ¶
func (c *Client) APISystemCertificateUpdate(ctx context.Context, body APISystemCertificateUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemCertificateUpdateWithBody ¶
func (*Client) APISystemConfigRead ¶
func (*Client) APISystemConfigUpdateWithBody ¶
func (*Client) APISystemConsoleUpdate ¶
func (c *Client) APISystemConsoleUpdate(ctx context.Context, body APISystemConsoleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemConsoleUpdateWithBody ¶
func (*Client) APISystemDNSRead ¶
func (*Client) APISystemDNSServerCreate ¶
func (c *Client) APISystemDNSServerCreate(ctx context.Context, body APISystemDNSServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemDNSServerCreateWithBody ¶
func (*Client) APISystemDNSServerDelete ¶
func (c *Client) APISystemDNSServerDelete(ctx context.Context, params *APISystemDNSServerDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemDNSUpdate ¶
func (c *Client) APISystemDNSUpdate(ctx context.Context, body APISystemDNSUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemDNSUpdateWithBody ¶
func (*Client) APISystemHaltCreate ¶
func (*Client) APISystemHostnameRead ¶
func (*Client) APISystemHostnameUpdate ¶
func (c *Client) APISystemHostnameUpdate(ctx context.Context, body APISystemHostnameUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemHostnameUpdateWithBody ¶
func (*Client) APISystemNotificationsEmailRead ¶
func (*Client) APISystemNotificationsEmailUpdate ¶
func (c *Client) APISystemNotificationsEmailUpdate(ctx context.Context, body APISystemNotificationsEmailUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemNotificationsEmailUpdateWithBody ¶
func (*Client) APISystemPackageCreate ¶
func (c *Client) APISystemPackageCreate(ctx context.Context, body APISystemPackageCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemPackageCreateWithBody ¶
func (*Client) APISystemPackageDelete ¶
func (c *Client) APISystemPackageDelete(ctx context.Context, params *APISystemPackageDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemPackageRead ¶
func (c *Client) APISystemPackageRead(ctx context.Context, params *APISystemPackageReadParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemRebootCreate ¶
func (*Client) APISystemTableRead ¶
func (c *Client) APISystemTableRead(ctx context.Context, params *APISystemTableReadParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemTunableCreate ¶
func (c *Client) APISystemTunableCreate(ctx context.Context, body APISystemTunableCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemTunableCreateWithBody ¶
func (*Client) APISystemTunableDelete ¶
func (c *Client) APISystemTunableDelete(ctx context.Context, params *APISystemTunableDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemTunableRead ¶
func (*Client) APISystemTunableUpdate ¶
func (c *Client) APISystemTunableUpdate(ctx context.Context, body APISystemTunableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APISystemTunableUpdateWithBody ¶
func (*Client) APISystemVersionRead ¶
func (*Client) APISystemVersionUpgradeRead ¶
func (c *Client) APISystemVersionUpgradeRead(ctx context.Context, params *APISystemVersionUpgradeReadParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserAuthServerDelete ¶
func (c *Client) APIUserAuthServerDelete(ctx context.Context, params *APIUserAuthServerDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserAuthServerLDAPCreate ¶
func (c *Client) APIUserAuthServerLDAPCreate(ctx context.Context, body APIUserAuthServerLDAPCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserAuthServerLDAPCreateWithBody ¶
func (*Client) APIUserAuthServerLDAPDelete ¶
func (c *Client) APIUserAuthServerLDAPDelete(ctx context.Context, params *APIUserAuthServerLDAPDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserAuthServerLDAPRead ¶
func (*Client) APIUserAuthServerRADIUSCreate ¶
func (c *Client) APIUserAuthServerRADIUSCreate(ctx context.Context, body APIUserAuthServerRADIUSCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserAuthServerRADIUSCreateWithBody ¶
func (*Client) APIUserAuthServerRADIUSDelete ¶
func (c *Client) APIUserAuthServerRADIUSDelete(ctx context.Context, params *APIUserAuthServerRADIUSDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserAuthServerRADIUSRead ¶
func (*Client) APIUserAuthServerRead ¶
func (*Client) APIUserCreate ¶
func (c *Client) APIUserCreate(ctx context.Context, body APIUserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserCreateWithBody ¶
func (*Client) APIUserDelete ¶
func (c *Client) APIUserDelete(ctx context.Context, params *APIUserDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserGroupCreate ¶
func (c *Client) APIUserGroupCreate(ctx context.Context, body APIUserGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserGroupCreateWithBody ¶
func (*Client) APIUserGroupDelete ¶
func (c *Client) APIUserGroupDelete(ctx context.Context, params *APIUserGroupDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserGroupMemberCreate ¶
func (c *Client) APIUserGroupMemberCreate(ctx context.Context, body APIUserGroupMemberCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserGroupMemberCreateWithBody ¶
func (*Client) APIUserGroupMemberDelete ¶
func (c *Client) APIUserGroupMemberDelete(ctx context.Context, params *APIUserGroupMemberDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserGroupRead ¶
func (*Client) APIUserGroupUpdate ¶
func (c *Client) APIUserGroupUpdate(ctx context.Context, body APIUserGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserGroupUpdateWithBody ¶
func (*Client) APIUserPrivilegeCreate ¶
func (c *Client) APIUserPrivilegeCreate(ctx context.Context, body APIUserPrivilegeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserPrivilegeCreateWithBody ¶
func (*Client) APIUserPrivilegeDelete ¶
func (c *Client) APIUserPrivilegeDelete(ctx context.Context, params *APIUserPrivilegeDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) APIUserRead ¶
func (*Client) APIUserUpdate ¶
func (c *Client) APIUserUpdate(ctx context.Context, body APIUserUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // APIAccessTokenCreate request APIAccessTokenCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIDiagnosticsCommandPromptCreate request with any body APIDiagnosticsCommandPromptCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIDiagnosticsCommandPromptCreate(ctx context.Context, body APIDiagnosticsCommandPromptCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallAliasDelete request APIFirewallAliasDelete(ctx context.Context, params *APIFirewallAliasDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallAliasRead request APIFirewallAliasRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallAliasCreate request with any body APIFirewallAliasCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallAliasCreate(ctx context.Context, body APIFirewallAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallAliasUpdate request with any body APIFirewallAliasUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallAliasUpdate(ctx context.Context, body APIFirewallAliasUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallAliasAdvancedRead request APIFirewallAliasAdvancedRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallAliasAdvancedUpdate request with any body APIFirewallAliasAdvancedUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallAliasAdvancedUpdate(ctx context.Context, body APIFirewallAliasAdvancedUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallAliasEntryDelete request APIFirewallAliasEntryDelete(ctx context.Context, params *APIFirewallAliasEntryDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallAliasEntryCreate request with any body APIFirewallAliasEntryCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallAliasEntryCreate(ctx context.Context, body APIFirewallAliasEntryCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallApplyCreate request with any body APIFirewallApplyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallApplyCreate(ctx context.Context, body APIFirewallApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOneToOneDelete request APIFirewallNATOneToOneDelete(ctx context.Context, params *APIFirewallNATOneToOneDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOneToOneRead request APIFirewallNATOneToOneRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOneToOneCreate request with any body APIFirewallNATOneToOneCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallNATOneToOneCreate(ctx context.Context, body APIFirewallNATOneToOneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOneToOneUpdate request with any body APIFirewallNATOneToOneUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallNATOneToOneUpdate(ctx context.Context, body APIFirewallNATOneToOneUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOutboundRead request APIFirewallNATOutboundRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOutboundUpdate request with any body APIFirewallNATOutboundUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallNATOutboundUpdate(ctx context.Context, body APIFirewallNATOutboundUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOutboundMappingDelete request APIFirewallNATOutboundMappingDelete(ctx context.Context, params *APIFirewallNATOutboundMappingDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOutboundMappingRead request APIFirewallNATOutboundMappingRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOutboundMappingCreate request with any body APIFirewallNATOutboundMappingCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallNATOutboundMappingCreate(ctx context.Context, body APIFirewallNATOutboundMappingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOutboundMappingUpdate request with any body APIFirewallNATOutboundMappingUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallNATOutboundMappingUpdate(ctx context.Context, body APIFirewallNATOutboundMappingUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOutboundPortForwardDelete request APIFirewallNATOutboundPortForwardDelete(ctx context.Context, params *APIFirewallNATOutboundPortForwardDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOutboundPortForwardRead request APIFirewallNATOutboundPortForwardRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOutboundPortForwardCreate request with any body APIFirewallNATOutboundPortForwardCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallNATOutboundPortForwardCreate(ctx context.Context, body APIFirewallNATOutboundPortForwardCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallNATOutboundPortForwardUpdate request with any body APIFirewallNATOutboundPortForwardUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallNATOutboundPortForwardUpdate(ctx context.Context, body APIFirewallNATOutboundPortForwardUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallRuleDelete request APIFirewallRuleDelete(ctx context.Context, params *APIFirewallRuleDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallRuleRead request APIFirewallRuleRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallRuleCreate request with any body APIFirewallRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallRuleCreate(ctx context.Context, body APIFirewallRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallRuleUpdate request with any body APIFirewallRuleUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallRuleUpdate(ctx context.Context, body APIFirewallRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallRuleFlushDelete request APIFirewallRuleFlushDelete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallRuleFlushUpdate request with any body APIFirewallRuleFlushUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallRuleFlushUpdate(ctx context.Context, body APIFirewallRuleFlushUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallRuleSortUpdate request with any body APIFirewallRuleSortUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallRuleSortUpdate(ctx context.Context, body APIFirewallRuleSortUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallScheduleDelete request APIFirewallScheduleDelete(ctx context.Context, params *APIFirewallScheduleDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallScheduleRead request APIFirewallScheduleRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallScheduleCreate request with any body APIFirewallScheduleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallScheduleCreate(ctx context.Context, body APIFirewallScheduleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallScheduleUpdate request with any body APIFirewallScheduleUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallScheduleUpdate(ctx context.Context, body APIFirewallScheduleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallScheduleTimeRangeDelete request APIFirewallScheduleTimeRangeDelete(ctx context.Context, params *APIFirewallScheduleTimeRangeDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallScheduleTimeRangeCreate request with any body APIFirewallScheduleTimeRangeCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallScheduleTimeRangeCreate(ctx context.Context, body APIFirewallScheduleTimeRangeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallStatesDelete request APIFirewallStatesDelete(ctx context.Context, params *APIFirewallStatesDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallStatesRead request APIFirewallStatesRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallStatesSizeRead request APIFirewallStatesSizeRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallStatesSizeUpdate request with any body APIFirewallStatesSizeUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallStatesSizeUpdate(ctx context.Context, body APIFirewallStatesSizeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperDelete request APIFirewallTrafficShaperDelete(ctx context.Context, params *APIFirewallTrafficShaperDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperRead request APIFirewallTrafficShaperRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperCreate request with any body APIFirewallTrafficShaperCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallTrafficShaperCreate(ctx context.Context, body APIFirewallTrafficShaperCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperUpdate request with any body APIFirewallTrafficShaperUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallTrafficShaperUpdate(ctx context.Context, body APIFirewallTrafficShaperUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperLimiterDelete request APIFirewallTrafficShaperLimiterDelete(ctx context.Context, params *APIFirewallTrafficShaperLimiterDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperLimiterRead request APIFirewallTrafficShaperLimiterRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperLimiterCreate request with any body APIFirewallTrafficShaperLimiterCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallTrafficShaperLimiterCreate(ctx context.Context, body APIFirewallTrafficShaperLimiterCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperLimiterBandwidthDelete request APIFirewallTrafficShaperLimiterBandwidthDelete(ctx context.Context, params *APIFirewallTrafficShaperLimiterBandwidthDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperLimiterBandwidthCreate request with any body APIFirewallTrafficShaperLimiterBandwidthCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallTrafficShaperLimiterBandwidthCreate(ctx context.Context, body APIFirewallTrafficShaperLimiterBandwidthCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperLimiterQueueDelete request APIFirewallTrafficShaperLimiterQueueDelete(ctx context.Context, params *APIFirewallTrafficShaperLimiterQueueDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperLimiterQueueCreate request with any body APIFirewallTrafficShaperLimiterQueueCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallTrafficShaperLimiterQueueCreate(ctx context.Context, body APIFirewallTrafficShaperLimiterQueueCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperQueueDelete request APIFirewallTrafficShaperQueueDelete(ctx context.Context, params *APIFirewallTrafficShaperQueueDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallTrafficShaperQueueCreate request with any body APIFirewallTrafficShaperQueueCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallTrafficShaperQueueCreate(ctx context.Context, body APIFirewallTrafficShaperQueueCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallVirtualIPDelete request APIFirewallVirtualIPDelete(ctx context.Context, params *APIFirewallVirtualIPDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallVirtualIPRead request APIFirewallVirtualIPRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallVirtualIPCreate request with any body APIFirewallVirtualIPCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallVirtualIPCreate(ctx context.Context, body APIFirewallVirtualIPCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIFirewallVirtualIPUpdate request with any body APIFirewallVirtualIPUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIFirewallVirtualIPUpdate(ctx context.Context, body APIFirewallVirtualIPUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceDelete request APIInterfaceDelete(ctx context.Context, params *APIInterfaceDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceRead request APIInterfaceRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceCreate request with any body APIInterfaceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIInterfaceCreate(ctx context.Context, body APIInterfaceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceUpdate request with any body APIInterfaceUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIInterfaceUpdate(ctx context.Context, body APIInterfaceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceApplyRead request APIInterfaceApplyRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceApplyCreate request with any body APIInterfaceApplyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIInterfaceApplyCreate(ctx context.Context, body APIInterfaceApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceAvailableRead request APIInterfaceAvailableRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceBridgeDelete request APIInterfaceBridgeDelete(ctx context.Context, params *APIInterfaceBridgeDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceBridgeRead request APIInterfaceBridgeRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceBridgeCreate request with any body APIInterfaceBridgeCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIInterfaceBridgeCreate(ctx context.Context, body APIInterfaceBridgeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceBridgeUpdate request with any body APIInterfaceBridgeUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIInterfaceBridgeUpdate(ctx context.Context, body APIInterfaceBridgeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceGroupDelete request APIInterfaceGroupDelete(ctx context.Context, params *APIInterfaceGroupDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceGroupRead request APIInterfaceGroupRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceGroupCreate request with any body APIInterfaceGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIInterfaceGroupCreate(ctx context.Context, body APIInterfaceGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceGroupUpdate request with any body APIInterfaceGroupUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIInterfaceGroupUpdate(ctx context.Context, body APIInterfaceGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceVLANDelete request APIInterfaceVLANDelete(ctx context.Context, params *APIInterfaceVLANDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceVLANRead request APIInterfaceVLANRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceVLANCreate request with any body APIInterfaceVLANCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIInterfaceVLANCreate(ctx context.Context, body APIInterfaceVLANCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIInterfaceVLANUpdate request with any body APIInterfaceVLANUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIInterfaceVLANUpdate(ctx context.Context, body APIInterfaceVLANUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingApplyCreate request APIRoutingApplyCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingGatewayDelete request APIRoutingGatewayDelete(ctx context.Context, params *APIRoutingGatewayDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingGatewayRead request APIRoutingGatewayRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingGatewayCreate request with any body APIRoutingGatewayCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIRoutingGatewayCreate(ctx context.Context, body APIRoutingGatewayCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingGatewayUpdate request with any body APIRoutingGatewayUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIRoutingGatewayUpdate(ctx context.Context, body APIRoutingGatewayUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingGatewayDefaultUpdate request with any body APIRoutingGatewayDefaultUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIRoutingGatewayDefaultUpdate(ctx context.Context, body APIRoutingGatewayDefaultUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingGatewayDetailRead request APIRoutingGatewayDetailRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingStaticRouteDelete request APIRoutingStaticRouteDelete(ctx context.Context, params *APIRoutingStaticRouteDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingStaticRouteRead request APIRoutingStaticRouteRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingStaticRouteCreate request with any body APIRoutingStaticRouteCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIRoutingStaticRouteCreate(ctx context.Context, body APIRoutingStaticRouteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIRoutingStaticRouteUpdate request with any body APIRoutingStaticRouteUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIRoutingStaticRouteUpdate(ctx context.Context, body APIRoutingStaticRouteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesRead request APIServicesRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDDNSRead request APIServicesDDNSRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdRead request APIServicesDHCPdRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdUpdate request with any body APIServicesDHCPdUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesDHCPdUpdate(ctx context.Context, body APIServicesDHCPdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdLeaseRead request APIServicesDHCPdLeaseRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdOptionsCreate request with any body APIServicesDHCPdOptionsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesDHCPdOptionsCreate(ctx context.Context, body APIServicesDHCPdOptionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdRestartCreate request APIServicesDHCPdRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdStartCreate request APIServicesDHCPdStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdStaticMappingDelete request APIServicesDHCPdStaticMappingDelete(ctx context.Context, params *APIServicesDHCPdStaticMappingDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdStaticMappingRead request APIServicesDHCPdStaticMappingRead(ctx context.Context, params *APIServicesDHCPdStaticMappingReadParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdStaticMappingCreate request with any body APIServicesDHCPdStaticMappingCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesDHCPdStaticMappingCreate(ctx context.Context, body APIServicesDHCPdStaticMappingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdStaticMappingUpdate request with any body APIServicesDHCPdStaticMappingUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesDHCPdStaticMappingUpdate(ctx context.Context, body APIServicesDHCPdStaticMappingUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDHCPdStopCreate request APIServicesDHCPdStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDnsmasqRead request APIServicesDnsmasqRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDnsmasqApplyCreate request APIServicesDnsmasqApplyCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDnsmasqHostOverrideDelete request APIServicesDnsmasqHostOverrideDelete(ctx context.Context, params *APIServicesDnsmasqHostOverrideDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDnsmasqHostOverrideRead request APIServicesDnsmasqHostOverrideRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDnsmasqHostOverrideCreate request with any body APIServicesDnsmasqHostOverrideCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesDnsmasqHostOverrideCreate(ctx context.Context, body APIServicesDnsmasqHostOverrideCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDnsmasqHostOverrideUpdate request with any body APIServicesDnsmasqHostOverrideUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesDnsmasqHostOverrideUpdate(ctx context.Context, body APIServicesDnsmasqHostOverrideUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDnsmasqHostOverrideAliasCreate request with any body APIServicesDnsmasqHostOverrideAliasCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesDnsmasqHostOverrideAliasCreate(ctx context.Context, body APIServicesDnsmasqHostOverrideAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDnsmasqRestartCreate request APIServicesDnsmasqRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDnsmasqStartCreate request APIServicesDnsmasqStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDnsmasqStopCreate request APIServicesDnsmasqStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDpingerRestartCreate request APIServicesDpingerRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDpingerStartCreate request APIServicesDpingerStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesDpingerStopCreate request APIServicesDpingerStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesIPsecApplyCreate request with any body APIServicesIPsecApplyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesIPsecApplyCreate(ctx context.Context, body APIServicesIPsecApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesIPsecPhase1Delete request APIServicesIPsecPhase1Delete(ctx context.Context, params *APIServicesIPsecPhase1DeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesIPsecPhase1Read request APIServicesIPsecPhase1Read(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesIPsecPhase1Create request with any body APIServicesIPsecPhase1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesIPsecPhase1Create(ctx context.Context, body APIServicesIPsecPhase1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesIPsecPhase1Update request with any body APIServicesIPsecPhase1UpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesIPsecPhase1Update(ctx context.Context, body APIServicesIPsecPhase1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesIPsecPhase1EncryptionCreate request with any body APIServicesIPsecPhase1EncryptionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesIPsecPhase1EncryptionCreate(ctx context.Context, body APIServicesIPsecPhase1EncryptionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesIPsecPhase2Delete request APIServicesIPsecPhase2Delete(ctx context.Context, params *APIServicesIPsecPhase2DeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesIPsecPhase2Read request APIServicesIPsecPhase2Read(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesIPsecPhase2Create request with any body APIServicesIPsecPhase2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesIPsecPhase2Create(ctx context.Context, body APIServicesIPsecPhase2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesIPsecPhase2Update request with any body APIServicesIPsecPhase2UpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesIPsecPhase2Update(ctx context.Context, body APIServicesIPsecPhase2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesNTPdRead request APIServicesNTPdRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesNTPdUpdate request with any body APIServicesNTPdUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesNTPdUpdate(ctx context.Context, body APIServicesNTPdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesNTPdRestartCreate request APIServicesNTPdRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesNTPdStartCreate request APIServicesNTPdStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesNTPdStopCreate request APIServicesNTPdStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesNTPdTimeServerDelete request APIServicesNTPdTimeServerDelete(ctx context.Context, params *APIServicesNTPdTimeServerDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesNTPdTimeServerCreate request with any body APIServicesNTPdTimeServerCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesNTPdTimeServerCreate(ctx context.Context, body APIServicesNTPdTimeServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesOpenVPNClientRead request APIServicesOpenVPNClientRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesOpenVPNClientCreate request with any body APIServicesOpenVPNClientCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesOpenVPNClientCreate(ctx context.Context, body APIServicesOpenVPNClientCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesOpenVPNClientUpdate request with any body APIServicesOpenVPNClientUpdateWithBody(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesOpenVPNClientUpdate(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, body APIServicesOpenVPNClientUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesOpenVPNClientSpecificOverridesDelete request APIServicesOpenVPNClientSpecificOverridesDelete(ctx context.Context, params *APIServicesOpenVPNClientSpecificOverridesDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesOpenVPNClientSpecificOverridesRead request APIServicesOpenVPNClientSpecificOverridesRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesOpenVPNClientSpecificOverridesCreate request with any body APIServicesOpenVPNClientSpecificOverridesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesOpenVPNClientSpecificOverridesCreate(ctx context.Context, body APIServicesOpenVPNClientSpecificOverridesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesOpenVPNClientSpecificOverridesUpdate request with any body APIServicesOpenVPNClientSpecificOverridesUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesOpenVPNClientSpecificOverridesUpdate(ctx context.Context, body APIServicesOpenVPNClientSpecificOverridesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesOpenVPNServerRead request APIServicesOpenVPNServerRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesOpenVPNServerCreate request with any body APIServicesOpenVPNServerCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesOpenVPNServerCreate(ctx context.Context, body APIServicesOpenVPNServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesOpenVPNServerUpdate request with any body APIServicesOpenVPNServerUpdateWithBody(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesOpenVPNServerUpdate(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, body APIServicesOpenVPNServerUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesRestartCreate request with any body APIServicesRestartCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesRestartCreate(ctx context.Context, body APIServicesRestartCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesServiceWatchdogRead request APIServicesServiceWatchdogRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesServiceWatchdogUpdate request with any body APIServicesServiceWatchdogUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesServiceWatchdogUpdate(ctx context.Context, body APIServicesServiceWatchdogUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesSSHdRead request APIServicesSSHdRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesSSHdUpdate request with any body APIServicesSSHdUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesSSHdUpdate(ctx context.Context, body APIServicesSSHdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesSSHdRestartCreate request APIServicesSSHdRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesSSHdStartCreate request APIServicesSSHdStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesSSHdStopCreate request APIServicesSSHdStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesStartCreate request APIServicesStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesStopCreate request with any body APIServicesStopCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesStopCreate(ctx context.Context, body APIServicesStopCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesSyslogdRestartCreate request APIServicesSyslogdRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesSyslogdStartCreate request APIServicesSyslogdStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesSyslogdStopCreate request APIServicesSyslogdStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundRead request APIServicesUnboundRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundAccessListDelete request APIServicesUnboundAccessListDelete(ctx context.Context, params *APIServicesUnboundAccessListDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundAccessListRead request APIServicesUnboundAccessListRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundAccessListCreate request with any body APIServicesUnboundAccessListCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesUnboundAccessListCreate(ctx context.Context, body APIServicesUnboundAccessListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundAccessListUpdate request with any body APIServicesUnboundAccessListUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesUnboundAccessListUpdate(ctx context.Context, body APIServicesUnboundAccessListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundAccessListRowCreate request with any body APIServicesUnboundAccessListRowCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesUnboundAccessListRowCreate(ctx context.Context, body APIServicesUnboundAccessListRowCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundApplyRead request APIServicesUnboundApplyRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundApplyCreate request with any body APIServicesUnboundApplyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesUnboundApplyCreate(ctx context.Context, body APIServicesUnboundApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundHostOverrideDelete request APIServicesUnboundHostOverrideDelete(ctx context.Context, params *APIServicesUnboundHostOverrideDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundHostOverrideRead request APIServicesUnboundHostOverrideRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundHostOverrideCreate request with any body APIServicesUnboundHostOverrideCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesUnboundHostOverrideCreate(ctx context.Context, body APIServicesUnboundHostOverrideCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundHostOverrideUpdate request with any body APIServicesUnboundHostOverrideUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesUnboundHostOverrideUpdate(ctx context.Context, body APIServicesUnboundHostOverrideUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundHostOverrideAliasCreate request with any body APIServicesUnboundHostOverrideAliasCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesUnboundHostOverrideAliasCreate(ctx context.Context, body APIServicesUnboundHostOverrideAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundHostOverrideFlushDelete request APIServicesUnboundHostOverrideFlushDelete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundHostOverrideFlushUpdate request with any body APIServicesUnboundHostOverrideFlushUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesUnboundHostOverrideFlushUpdate(ctx context.Context, body APIServicesUnboundHostOverrideFlushUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundRestartCreate request APIServicesUnboundRestartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundStartCreate request APIServicesUnboundStartCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesUnboundStopCreate request APIServicesUnboundStopCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIServicesWOLSendCreate request with any body APIServicesWOLSendCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIServicesWOLSendCreate(ctx context.Context, body APIServicesWOLSendCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusCARPRead request APIStatusCARPRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusCARPUpdate request with any body APIStatusCARPUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIStatusCARPUpdate(ctx context.Context, body APIStatusCARPUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusGatewayRead request APIStatusGatewayRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusInterfaceRead request APIStatusInterfaceRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusIPsecRead request APIStatusIPsecRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusLogConfigHistoryRead request APIStatusLogConfigHistoryRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusLogDHCPRead request APIStatusLogDHCPRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusLogFirewallRead request APIStatusLogFirewallRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusLogSettingsUpdate request with any body APIStatusLogSettingsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIStatusLogSettingsUpdate(ctx context.Context, body APIStatusLogSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusLogSystemRead request APIStatusLogSystemRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusOpenVPNRead request APIStatusOpenVPNRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIStatusSystemRead request APIStatusSystemRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemAPIRead request APISystemAPIRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemAPIUpdate request with any body APISystemAPIUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemAPIUpdate(ctx context.Context, body APISystemAPIUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemAPIErrorRead request APISystemAPIErrorRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemAPIVersionRead request APISystemAPIVersionRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemARPDelete request APISystemARPDelete(ctx context.Context, params *APISystemARPDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemARPRead request APISystemARPRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemCADelete request APISystemCADelete(ctx context.Context, params *APISystemCADeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemCARead request APISystemCARead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemCACreate request with any body APISystemCACreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemCACreate(ctx context.Context, body APISystemCACreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemCertificateDelete request APISystemCertificateDelete(ctx context.Context, params *APISystemCertificateDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemCertificateRead request APISystemCertificateRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemCertificateCreate request with any body APISystemCertificateCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemCertificateCreate(ctx context.Context, body APISystemCertificateCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemCertificateUpdate request with any body APISystemCertificateUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemCertificateUpdate(ctx context.Context, body APISystemCertificateUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemConfigRead request APISystemConfigRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemConfigUpdate request with any body APISystemConfigUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemConsoleUpdate request with any body APISystemConsoleUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemConsoleUpdate(ctx context.Context, body APISystemConsoleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemCRLDelete request APISystemCRLDelete(ctx context.Context, params *APISystemCRLDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemCRLRead request APISystemCRLRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemCRLCreate request with any body APISystemCRLCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemCRLCreate(ctx context.Context, body APISystemCRLCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemDNSRead request APISystemDNSRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemDNSUpdate request with any body APISystemDNSUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemDNSUpdate(ctx context.Context, body APISystemDNSUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemDNSServerDelete request APISystemDNSServerDelete(ctx context.Context, params *APISystemDNSServerDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemDNSServerCreate request with any body APISystemDNSServerCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemDNSServerCreate(ctx context.Context, body APISystemDNSServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemHaltCreate request APISystemHaltCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemHostnameRead request APISystemHostnameRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemHostnameUpdate request with any body APISystemHostnameUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemHostnameUpdate(ctx context.Context, body APISystemHostnameUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemNotificationsEmailRead request APISystemNotificationsEmailRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemNotificationsEmailUpdate request with any body APISystemNotificationsEmailUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemNotificationsEmailUpdate(ctx context.Context, body APISystemNotificationsEmailUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemPackageDelete request APISystemPackageDelete(ctx context.Context, params *APISystemPackageDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemPackageRead request APISystemPackageRead(ctx context.Context, params *APISystemPackageReadParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemPackageCreate request with any body APISystemPackageCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemPackageCreate(ctx context.Context, body APISystemPackageCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemRebootCreate request APISystemRebootCreate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemTableRead request APISystemTableRead(ctx context.Context, params *APISystemTableReadParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemTunableDelete request APISystemTunableDelete(ctx context.Context, params *APISystemTunableDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemTunableRead request APISystemTunableRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemTunableCreate request with any body APISystemTunableCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemTunableCreate(ctx context.Context, body APISystemTunableCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemTunableUpdate request with any body APISystemTunableUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APISystemTunableUpdate(ctx context.Context, body APISystemTunableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemVersionRead request APISystemVersionRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APISystemVersionUpgradeRead request APISystemVersionUpgradeRead(ctx context.Context, params *APISystemVersionUpgradeReadParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserDelete request APIUserDelete(ctx context.Context, params *APIUserDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserRead request APIUserRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserCreate request with any body APIUserCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIUserCreate(ctx context.Context, body APIUserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserUpdate request with any body APIUserUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIUserUpdate(ctx context.Context, body APIUserUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserAuthServerDelete request APIUserAuthServerDelete(ctx context.Context, params *APIUserAuthServerDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserAuthServerRead request APIUserAuthServerRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserAuthServerLDAPDelete request APIUserAuthServerLDAPDelete(ctx context.Context, params *APIUserAuthServerLDAPDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserAuthServerLDAPRead request APIUserAuthServerLDAPRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserAuthServerLDAPCreate request with any body APIUserAuthServerLDAPCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIUserAuthServerLDAPCreate(ctx context.Context, body APIUserAuthServerLDAPCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserAuthServerRADIUSDelete request APIUserAuthServerRADIUSDelete(ctx context.Context, params *APIUserAuthServerRADIUSDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserAuthServerRADIUSRead request APIUserAuthServerRADIUSRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserAuthServerRADIUSCreate request with any body APIUserAuthServerRADIUSCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIUserAuthServerRADIUSCreate(ctx context.Context, body APIUserAuthServerRADIUSCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserGroupDelete request APIUserGroupDelete(ctx context.Context, params *APIUserGroupDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserGroupRead request APIUserGroupRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserGroupCreate request with any body APIUserGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIUserGroupCreate(ctx context.Context, body APIUserGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserGroupUpdate request with any body APIUserGroupUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIUserGroupUpdate(ctx context.Context, body APIUserGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserGroupMemberDelete request APIUserGroupMemberDelete(ctx context.Context, params *APIUserGroupMemberDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserGroupMemberCreate request with any body APIUserGroupMemberCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIUserGroupMemberCreate(ctx context.Context, body APIUserGroupMemberCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserPrivilegeDelete request APIUserPrivilegeDelete(ctx context.Context, params *APIUserPrivilegeDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // APIUserPrivilegeCreate request with any body APIUserPrivilegeCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) APIUserPrivilegeCreate(ctx context.Context, body APIUserPrivilegeCreateJSONRequestBody, 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) APIAccessTokenCreateWithResponse ¶
func (c *ClientWithResponses) APIAccessTokenCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIAccessTokenCreateResponse, error)
APIAccessTokenCreateWithResponse request returning *APIAccessTokenCreateResponse
func (*ClientWithResponses) APIDiagnosticsCommandPromptCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIDiagnosticsCommandPromptCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIDiagnosticsCommandPromptCreateResponse, error)
APIDiagnosticsCommandPromptCreateWithBodyWithResponse request with arbitrary body returning *APIDiagnosticsCommandPromptCreateResponse
func (*ClientWithResponses) APIDiagnosticsCommandPromptCreateWithResponse ¶
func (c *ClientWithResponses) APIDiagnosticsCommandPromptCreateWithResponse(ctx context.Context, body APIDiagnosticsCommandPromptCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIDiagnosticsCommandPromptCreateResponse, error)
func (*ClientWithResponses) APIFirewallAliasAdvancedReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasAdvancedReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallAliasAdvancedReadResponse, error)
APIFirewallAliasAdvancedReadWithResponse request returning *APIFirewallAliasAdvancedReadResponse
func (*ClientWithResponses) APIFirewallAliasAdvancedUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasAdvancedUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallAliasAdvancedUpdateResponse, error)
APIFirewallAliasAdvancedUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallAliasAdvancedUpdateResponse
func (*ClientWithResponses) APIFirewallAliasAdvancedUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasAdvancedUpdateWithResponse(ctx context.Context, body APIFirewallAliasAdvancedUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallAliasAdvancedUpdateResponse, error)
func (*ClientWithResponses) APIFirewallAliasCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallAliasCreateResponse, error)
APIFirewallAliasCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallAliasCreateResponse
func (*ClientWithResponses) APIFirewallAliasCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasCreateWithResponse(ctx context.Context, body APIFirewallAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallAliasCreateResponse, error)
func (*ClientWithResponses) APIFirewallAliasDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasDeleteWithResponse(ctx context.Context, params *APIFirewallAliasDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallAliasDeleteResponse, error)
APIFirewallAliasDeleteWithResponse request returning *APIFirewallAliasDeleteResponse
func (*ClientWithResponses) APIFirewallAliasEntryCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasEntryCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallAliasEntryCreateResponse, error)
APIFirewallAliasEntryCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallAliasEntryCreateResponse
func (*ClientWithResponses) APIFirewallAliasEntryCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasEntryCreateWithResponse(ctx context.Context, body APIFirewallAliasEntryCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallAliasEntryCreateResponse, error)
func (*ClientWithResponses) APIFirewallAliasEntryDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasEntryDeleteWithResponse(ctx context.Context, params *APIFirewallAliasEntryDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallAliasEntryDeleteResponse, error)
APIFirewallAliasEntryDeleteWithResponse request returning *APIFirewallAliasEntryDeleteResponse
func (*ClientWithResponses) APIFirewallAliasReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallAliasReadResponse, error)
APIFirewallAliasReadWithResponse request returning *APIFirewallAliasReadResponse
func (*ClientWithResponses) APIFirewallAliasUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallAliasUpdateResponse, error)
APIFirewallAliasUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallAliasUpdateResponse
func (*ClientWithResponses) APIFirewallAliasUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallAliasUpdateWithResponse(ctx context.Context, body APIFirewallAliasUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallAliasUpdateResponse, error)
func (*ClientWithResponses) APIFirewallApplyCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallApplyCreateResponse, error)
APIFirewallApplyCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallApplyCreateResponse
func (*ClientWithResponses) APIFirewallApplyCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallApplyCreateWithResponse(ctx context.Context, body APIFirewallApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallApplyCreateResponse, error)
func (*ClientWithResponses) APIFirewallNATOneToOneCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOneToOneCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneCreateResponse, error)
APIFirewallNATOneToOneCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallNATOneToOneCreateResponse
func (*ClientWithResponses) APIFirewallNATOneToOneCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOneToOneCreateWithResponse(ctx context.Context, body APIFirewallNATOneToOneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneCreateResponse, error)
func (*ClientWithResponses) APIFirewallNATOneToOneDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOneToOneDeleteWithResponse(ctx context.Context, params *APIFirewallNATOneToOneDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneDeleteResponse, error)
APIFirewallNATOneToOneDeleteWithResponse request returning *APIFirewallNATOneToOneDeleteResponse
func (*ClientWithResponses) APIFirewallNATOneToOneReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOneToOneReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneReadResponse, error)
APIFirewallNATOneToOneReadWithResponse request returning *APIFirewallNATOneToOneReadResponse
func (*ClientWithResponses) APIFirewallNATOneToOneUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOneToOneUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneUpdateResponse, error)
APIFirewallNATOneToOneUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallNATOneToOneUpdateResponse
func (*ClientWithResponses) APIFirewallNATOneToOneUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOneToOneUpdateWithResponse(ctx context.Context, body APIFirewallNATOneToOneUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneUpdateResponse, error)
func (*ClientWithResponses) APIFirewallNATOutboundMappingCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundMappingCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingCreateResponse, error)
APIFirewallNATOutboundMappingCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallNATOutboundMappingCreateResponse
func (*ClientWithResponses) APIFirewallNATOutboundMappingCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundMappingCreateWithResponse(ctx context.Context, body APIFirewallNATOutboundMappingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingCreateResponse, error)
func (*ClientWithResponses) APIFirewallNATOutboundMappingDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundMappingDeleteWithResponse(ctx context.Context, params *APIFirewallNATOutboundMappingDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingDeleteResponse, error)
APIFirewallNATOutboundMappingDeleteWithResponse request returning *APIFirewallNATOutboundMappingDeleteResponse
func (*ClientWithResponses) APIFirewallNATOutboundMappingReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundMappingReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingReadResponse, error)
APIFirewallNATOutboundMappingReadWithResponse request returning *APIFirewallNATOutboundMappingReadResponse
func (*ClientWithResponses) APIFirewallNATOutboundMappingUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundMappingUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingUpdateResponse, error)
APIFirewallNATOutboundMappingUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallNATOutboundMappingUpdateResponse
func (*ClientWithResponses) APIFirewallNATOutboundMappingUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundMappingUpdateWithResponse(ctx context.Context, body APIFirewallNATOutboundMappingUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingUpdateResponse, error)
func (*ClientWithResponses) APIFirewallNATOutboundPortForwardCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardCreateResponse, error)
APIFirewallNATOutboundPortForwardCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallNATOutboundPortForwardCreateResponse
func (*ClientWithResponses) APIFirewallNATOutboundPortForwardCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardCreateWithResponse(ctx context.Context, body APIFirewallNATOutboundPortForwardCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardCreateResponse, error)
func (*ClientWithResponses) APIFirewallNATOutboundPortForwardDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardDeleteWithResponse(ctx context.Context, params *APIFirewallNATOutboundPortForwardDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardDeleteResponse, error)
APIFirewallNATOutboundPortForwardDeleteWithResponse request returning *APIFirewallNATOutboundPortForwardDeleteResponse
func (*ClientWithResponses) APIFirewallNATOutboundPortForwardReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardReadResponse, error)
APIFirewallNATOutboundPortForwardReadWithResponse request returning *APIFirewallNATOutboundPortForwardReadResponse
func (*ClientWithResponses) APIFirewallNATOutboundPortForwardUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardUpdateResponse, error)
APIFirewallNATOutboundPortForwardUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallNATOutboundPortForwardUpdateResponse
func (*ClientWithResponses) APIFirewallNATOutboundPortForwardUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundPortForwardUpdateWithResponse(ctx context.Context, body APIFirewallNATOutboundPortForwardUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardUpdateResponse, error)
func (*ClientWithResponses) APIFirewallNATOutboundReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundReadResponse, error)
APIFirewallNATOutboundReadWithResponse request returning *APIFirewallNATOutboundReadResponse
func (*ClientWithResponses) APIFirewallNATOutboundUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundUpdateResponse, error)
APIFirewallNATOutboundUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallNATOutboundUpdateResponse
func (*ClientWithResponses) APIFirewallNATOutboundUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallNATOutboundUpdateWithResponse(ctx context.Context, body APIFirewallNATOutboundUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundUpdateResponse, error)
func (*ClientWithResponses) APIFirewallRuleCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallRuleCreateResponse, error)
APIFirewallRuleCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallRuleCreateResponse
func (*ClientWithResponses) APIFirewallRuleCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleCreateWithResponse(ctx context.Context, body APIFirewallRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallRuleCreateResponse, error)
func (*ClientWithResponses) APIFirewallRuleDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleDeleteWithResponse(ctx context.Context, params *APIFirewallRuleDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallRuleDeleteResponse, error)
APIFirewallRuleDeleteWithResponse request returning *APIFirewallRuleDeleteResponse
func (*ClientWithResponses) APIFirewallRuleFlushDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleFlushDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallRuleFlushDeleteResponse, error)
APIFirewallRuleFlushDeleteWithResponse request returning *APIFirewallRuleFlushDeleteResponse
func (*ClientWithResponses) APIFirewallRuleFlushUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleFlushUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallRuleFlushUpdateResponse, error)
APIFirewallRuleFlushUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallRuleFlushUpdateResponse
func (*ClientWithResponses) APIFirewallRuleFlushUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleFlushUpdateWithResponse(ctx context.Context, body APIFirewallRuleFlushUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallRuleFlushUpdateResponse, error)
func (*ClientWithResponses) APIFirewallRuleReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallRuleReadResponse, error)
APIFirewallRuleReadWithResponse request returning *APIFirewallRuleReadResponse
func (*ClientWithResponses) APIFirewallRuleSortUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleSortUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallRuleSortUpdateResponse, error)
APIFirewallRuleSortUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallRuleSortUpdateResponse
func (*ClientWithResponses) APIFirewallRuleSortUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleSortUpdateWithResponse(ctx context.Context, body APIFirewallRuleSortUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallRuleSortUpdateResponse, error)
func (*ClientWithResponses) APIFirewallRuleUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallRuleUpdateResponse, error)
APIFirewallRuleUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallRuleUpdateResponse
func (*ClientWithResponses) APIFirewallRuleUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallRuleUpdateWithResponse(ctx context.Context, body APIFirewallRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallRuleUpdateResponse, error)
func (*ClientWithResponses) APIFirewallScheduleCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallScheduleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallScheduleCreateResponse, error)
APIFirewallScheduleCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallScheduleCreateResponse
func (*ClientWithResponses) APIFirewallScheduleCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallScheduleCreateWithResponse(ctx context.Context, body APIFirewallScheduleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallScheduleCreateResponse, error)
func (*ClientWithResponses) APIFirewallScheduleDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallScheduleDeleteWithResponse(ctx context.Context, params *APIFirewallScheduleDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallScheduleDeleteResponse, error)
APIFirewallScheduleDeleteWithResponse request returning *APIFirewallScheduleDeleteResponse
func (*ClientWithResponses) APIFirewallScheduleReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallScheduleReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallScheduleReadResponse, error)
APIFirewallScheduleReadWithResponse request returning *APIFirewallScheduleReadResponse
func (*ClientWithResponses) APIFirewallScheduleTimeRangeCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallScheduleTimeRangeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallScheduleTimeRangeCreateResponse, error)
APIFirewallScheduleTimeRangeCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallScheduleTimeRangeCreateResponse
func (*ClientWithResponses) APIFirewallScheduleTimeRangeCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallScheduleTimeRangeCreateWithResponse(ctx context.Context, body APIFirewallScheduleTimeRangeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallScheduleTimeRangeCreateResponse, error)
func (*ClientWithResponses) APIFirewallScheduleTimeRangeDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallScheduleTimeRangeDeleteWithResponse(ctx context.Context, params *APIFirewallScheduleTimeRangeDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallScheduleTimeRangeDeleteResponse, error)
APIFirewallScheduleTimeRangeDeleteWithResponse request returning *APIFirewallScheduleTimeRangeDeleteResponse
func (*ClientWithResponses) APIFirewallScheduleUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallScheduleUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallScheduleUpdateResponse, error)
APIFirewallScheduleUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallScheduleUpdateResponse
func (*ClientWithResponses) APIFirewallScheduleUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallScheduleUpdateWithResponse(ctx context.Context, body APIFirewallScheduleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallScheduleUpdateResponse, error)
func (*ClientWithResponses) APIFirewallStatesDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallStatesDeleteWithResponse(ctx context.Context, params *APIFirewallStatesDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallStatesDeleteResponse, error)
APIFirewallStatesDeleteWithResponse request returning *APIFirewallStatesDeleteResponse
func (*ClientWithResponses) APIFirewallStatesReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallStatesReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallStatesReadResponse, error)
APIFirewallStatesReadWithResponse request returning *APIFirewallStatesReadResponse
func (*ClientWithResponses) APIFirewallStatesSizeReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallStatesSizeReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallStatesSizeReadResponse, error)
APIFirewallStatesSizeReadWithResponse request returning *APIFirewallStatesSizeReadResponse
func (*ClientWithResponses) APIFirewallStatesSizeUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallStatesSizeUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallStatesSizeUpdateResponse, error)
APIFirewallStatesSizeUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallStatesSizeUpdateResponse
func (*ClientWithResponses) APIFirewallStatesSizeUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallStatesSizeUpdateWithResponse(ctx context.Context, body APIFirewallStatesSizeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallStatesSizeUpdateResponse, error)
func (*ClientWithResponses) APIFirewallTrafficShaperCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperCreateResponse, error)
APIFirewallTrafficShaperCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallTrafficShaperCreateResponse
func (*ClientWithResponses) APIFirewallTrafficShaperCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperCreateResponse, error)
func (*ClientWithResponses) APIFirewallTrafficShaperDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperDeleteResponse, error)
APIFirewallTrafficShaperDeleteWithResponse request returning *APIFirewallTrafficShaperDeleteResponse
func (*ClientWithResponses) APIFirewallTrafficShaperLimiterBandwidthCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterBandwidthCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterBandwidthCreateResponse, error)
APIFirewallTrafficShaperLimiterBandwidthCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallTrafficShaperLimiterBandwidthCreateResponse
func (*ClientWithResponses) APIFirewallTrafficShaperLimiterBandwidthCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterBandwidthCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperLimiterBandwidthCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterBandwidthCreateResponse, error)
func (*ClientWithResponses) APIFirewallTrafficShaperLimiterBandwidthDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterBandwidthDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperLimiterBandwidthDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterBandwidthDeleteResponse, error)
APIFirewallTrafficShaperLimiterBandwidthDeleteWithResponse request returning *APIFirewallTrafficShaperLimiterBandwidthDeleteResponse
func (*ClientWithResponses) APIFirewallTrafficShaperLimiterCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterCreateResponse, error)
APIFirewallTrafficShaperLimiterCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallTrafficShaperLimiterCreateResponse
func (*ClientWithResponses) APIFirewallTrafficShaperLimiterCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperLimiterCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterCreateResponse, error)
func (*ClientWithResponses) APIFirewallTrafficShaperLimiterDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperLimiterDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterDeleteResponse, error)
APIFirewallTrafficShaperLimiterDeleteWithResponse request returning *APIFirewallTrafficShaperLimiterDeleteResponse
func (*ClientWithResponses) APIFirewallTrafficShaperLimiterQueueCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterQueueCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterQueueCreateResponse, error)
APIFirewallTrafficShaperLimiterQueueCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallTrafficShaperLimiterQueueCreateResponse
func (*ClientWithResponses) APIFirewallTrafficShaperLimiterQueueCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterQueueCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperLimiterQueueCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterQueueCreateResponse, error)
func (*ClientWithResponses) APIFirewallTrafficShaperLimiterQueueDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterQueueDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperLimiterQueueDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterQueueDeleteResponse, error)
APIFirewallTrafficShaperLimiterQueueDeleteWithResponse request returning *APIFirewallTrafficShaperLimiterQueueDeleteResponse
func (*ClientWithResponses) APIFirewallTrafficShaperLimiterReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperLimiterReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterReadResponse, error)
APIFirewallTrafficShaperLimiterReadWithResponse request returning *APIFirewallTrafficShaperLimiterReadResponse
func (*ClientWithResponses) APIFirewallTrafficShaperQueueCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperQueueCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperQueueCreateResponse, error)
APIFirewallTrafficShaperQueueCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallTrafficShaperQueueCreateResponse
func (*ClientWithResponses) APIFirewallTrafficShaperQueueCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperQueueCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperQueueCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperQueueCreateResponse, error)
func (*ClientWithResponses) APIFirewallTrafficShaperQueueDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperQueueDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperQueueDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperQueueDeleteResponse, error)
APIFirewallTrafficShaperQueueDeleteWithResponse request returning *APIFirewallTrafficShaperQueueDeleteResponse
func (*ClientWithResponses) APIFirewallTrafficShaperReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperReadResponse, error)
APIFirewallTrafficShaperReadWithResponse request returning *APIFirewallTrafficShaperReadResponse
func (*ClientWithResponses) APIFirewallTrafficShaperUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperUpdateResponse, error)
APIFirewallTrafficShaperUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallTrafficShaperUpdateResponse
func (*ClientWithResponses) APIFirewallTrafficShaperUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallTrafficShaperUpdateWithResponse(ctx context.Context, body APIFirewallTrafficShaperUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperUpdateResponse, error)
func (*ClientWithResponses) APIFirewallVirtualIPCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallVirtualIPCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPCreateResponse, error)
APIFirewallVirtualIPCreateWithBodyWithResponse request with arbitrary body returning *APIFirewallVirtualIPCreateResponse
func (*ClientWithResponses) APIFirewallVirtualIPCreateWithResponse ¶
func (c *ClientWithResponses) APIFirewallVirtualIPCreateWithResponse(ctx context.Context, body APIFirewallVirtualIPCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPCreateResponse, error)
func (*ClientWithResponses) APIFirewallVirtualIPDeleteWithResponse ¶
func (c *ClientWithResponses) APIFirewallVirtualIPDeleteWithResponse(ctx context.Context, params *APIFirewallVirtualIPDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPDeleteResponse, error)
APIFirewallVirtualIPDeleteWithResponse request returning *APIFirewallVirtualIPDeleteResponse
func (*ClientWithResponses) APIFirewallVirtualIPReadWithResponse ¶
func (c *ClientWithResponses) APIFirewallVirtualIPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPReadResponse, error)
APIFirewallVirtualIPReadWithResponse request returning *APIFirewallVirtualIPReadResponse
func (*ClientWithResponses) APIFirewallVirtualIPUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIFirewallVirtualIPUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPUpdateResponse, error)
APIFirewallVirtualIPUpdateWithBodyWithResponse request with arbitrary body returning *APIFirewallVirtualIPUpdateResponse
func (*ClientWithResponses) APIFirewallVirtualIPUpdateWithResponse ¶
func (c *ClientWithResponses) APIFirewallVirtualIPUpdateWithResponse(ctx context.Context, body APIFirewallVirtualIPUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPUpdateResponse, error)
func (*ClientWithResponses) APIInterfaceApplyCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIInterfaceApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceApplyCreateResponse, error)
APIInterfaceApplyCreateWithBodyWithResponse request with arbitrary body returning *APIInterfaceApplyCreateResponse
func (*ClientWithResponses) APIInterfaceApplyCreateWithResponse ¶
func (c *ClientWithResponses) APIInterfaceApplyCreateWithResponse(ctx context.Context, body APIInterfaceApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceApplyCreateResponse, error)
func (*ClientWithResponses) APIInterfaceApplyReadWithResponse ¶
func (c *ClientWithResponses) APIInterfaceApplyReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceApplyReadResponse, error)
APIInterfaceApplyReadWithResponse request returning *APIInterfaceApplyReadResponse
func (*ClientWithResponses) APIInterfaceAvailableReadWithResponse ¶
func (c *ClientWithResponses) APIInterfaceAvailableReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceAvailableReadResponse, error)
APIInterfaceAvailableReadWithResponse request returning *APIInterfaceAvailableReadResponse
func (*ClientWithResponses) APIInterfaceBridgeCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIInterfaceBridgeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeCreateResponse, error)
APIInterfaceBridgeCreateWithBodyWithResponse request with arbitrary body returning *APIInterfaceBridgeCreateResponse
func (*ClientWithResponses) APIInterfaceBridgeCreateWithResponse ¶
func (c *ClientWithResponses) APIInterfaceBridgeCreateWithResponse(ctx context.Context, body APIInterfaceBridgeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeCreateResponse, error)
func (*ClientWithResponses) APIInterfaceBridgeDeleteWithResponse ¶
func (c *ClientWithResponses) APIInterfaceBridgeDeleteWithResponse(ctx context.Context, params *APIInterfaceBridgeDeleteParams, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeDeleteResponse, error)
APIInterfaceBridgeDeleteWithResponse request returning *APIInterfaceBridgeDeleteResponse
func (*ClientWithResponses) APIInterfaceBridgeReadWithResponse ¶
func (c *ClientWithResponses) APIInterfaceBridgeReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeReadResponse, error)
APIInterfaceBridgeReadWithResponse request returning *APIInterfaceBridgeReadResponse
func (*ClientWithResponses) APIInterfaceBridgeUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIInterfaceBridgeUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeUpdateResponse, error)
APIInterfaceBridgeUpdateWithBodyWithResponse request with arbitrary body returning *APIInterfaceBridgeUpdateResponse
func (*ClientWithResponses) APIInterfaceBridgeUpdateWithResponse ¶
func (c *ClientWithResponses) APIInterfaceBridgeUpdateWithResponse(ctx context.Context, body APIInterfaceBridgeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeUpdateResponse, error)
func (*ClientWithResponses) APIInterfaceCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIInterfaceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceCreateResponse, error)
APIInterfaceCreateWithBodyWithResponse request with arbitrary body returning *APIInterfaceCreateResponse
func (*ClientWithResponses) APIInterfaceCreateWithResponse ¶
func (c *ClientWithResponses) APIInterfaceCreateWithResponse(ctx context.Context, body APIInterfaceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceCreateResponse, error)
func (*ClientWithResponses) APIInterfaceDeleteWithResponse ¶
func (c *ClientWithResponses) APIInterfaceDeleteWithResponse(ctx context.Context, params *APIInterfaceDeleteParams, reqEditors ...RequestEditorFn) (*APIInterfaceDeleteResponse, error)
APIInterfaceDeleteWithResponse request returning *APIInterfaceDeleteResponse
func (*ClientWithResponses) APIInterfaceGroupCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIInterfaceGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceGroupCreateResponse, error)
APIInterfaceGroupCreateWithBodyWithResponse request with arbitrary body returning *APIInterfaceGroupCreateResponse
func (*ClientWithResponses) APIInterfaceGroupCreateWithResponse ¶
func (c *ClientWithResponses) APIInterfaceGroupCreateWithResponse(ctx context.Context, body APIInterfaceGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceGroupCreateResponse, error)
func (*ClientWithResponses) APIInterfaceGroupDeleteWithResponse ¶
func (c *ClientWithResponses) APIInterfaceGroupDeleteWithResponse(ctx context.Context, params *APIInterfaceGroupDeleteParams, reqEditors ...RequestEditorFn) (*APIInterfaceGroupDeleteResponse, error)
APIInterfaceGroupDeleteWithResponse request returning *APIInterfaceGroupDeleteResponse
func (*ClientWithResponses) APIInterfaceGroupReadWithResponse ¶
func (c *ClientWithResponses) APIInterfaceGroupReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceGroupReadResponse, error)
APIInterfaceGroupReadWithResponse request returning *APIInterfaceGroupReadResponse
func (*ClientWithResponses) APIInterfaceGroupUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIInterfaceGroupUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceGroupUpdateResponse, error)
APIInterfaceGroupUpdateWithBodyWithResponse request with arbitrary body returning *APIInterfaceGroupUpdateResponse
func (*ClientWithResponses) APIInterfaceGroupUpdateWithResponse ¶
func (c *ClientWithResponses) APIInterfaceGroupUpdateWithResponse(ctx context.Context, body APIInterfaceGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceGroupUpdateResponse, error)
func (*ClientWithResponses) APIInterfaceReadWithResponse ¶
func (c *ClientWithResponses) APIInterfaceReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceReadResponse, error)
APIInterfaceReadWithResponse request returning *APIInterfaceReadResponse
func (*ClientWithResponses) APIInterfaceUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIInterfaceUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceUpdateResponse, error)
APIInterfaceUpdateWithBodyWithResponse request with arbitrary body returning *APIInterfaceUpdateResponse
func (*ClientWithResponses) APIInterfaceUpdateWithResponse ¶
func (c *ClientWithResponses) APIInterfaceUpdateWithResponse(ctx context.Context, body APIInterfaceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceUpdateResponse, error)
func (*ClientWithResponses) APIInterfaceVLANCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIInterfaceVLANCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceVLANCreateResponse, error)
APIInterfaceVLANCreateWithBodyWithResponse request with arbitrary body returning *APIInterfaceVLANCreateResponse
func (*ClientWithResponses) APIInterfaceVLANCreateWithResponse ¶
func (c *ClientWithResponses) APIInterfaceVLANCreateWithResponse(ctx context.Context, body APIInterfaceVLANCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceVLANCreateResponse, error)
func (*ClientWithResponses) APIInterfaceVLANDeleteWithResponse ¶
func (c *ClientWithResponses) APIInterfaceVLANDeleteWithResponse(ctx context.Context, params *APIInterfaceVLANDeleteParams, reqEditors ...RequestEditorFn) (*APIInterfaceVLANDeleteResponse, error)
APIInterfaceVLANDeleteWithResponse request returning *APIInterfaceVLANDeleteResponse
func (*ClientWithResponses) APIInterfaceVLANReadWithResponse ¶
func (c *ClientWithResponses) APIInterfaceVLANReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceVLANReadResponse, error)
APIInterfaceVLANReadWithResponse request returning *APIInterfaceVLANReadResponse
func (*ClientWithResponses) APIInterfaceVLANUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIInterfaceVLANUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceVLANUpdateResponse, error)
APIInterfaceVLANUpdateWithBodyWithResponse request with arbitrary body returning *APIInterfaceVLANUpdateResponse
func (*ClientWithResponses) APIInterfaceVLANUpdateWithResponse ¶
func (c *ClientWithResponses) APIInterfaceVLANUpdateWithResponse(ctx context.Context, body APIInterfaceVLANUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceVLANUpdateResponse, error)
func (*ClientWithResponses) APIRoutingApplyCreateWithResponse ¶
func (c *ClientWithResponses) APIRoutingApplyCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingApplyCreateResponse, error)
APIRoutingApplyCreateWithResponse request returning *APIRoutingApplyCreateResponse
func (*ClientWithResponses) APIRoutingGatewayCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIRoutingGatewayCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIRoutingGatewayCreateResponse, error)
APIRoutingGatewayCreateWithBodyWithResponse request with arbitrary body returning *APIRoutingGatewayCreateResponse
func (*ClientWithResponses) APIRoutingGatewayCreateWithResponse ¶
func (c *ClientWithResponses) APIRoutingGatewayCreateWithResponse(ctx context.Context, body APIRoutingGatewayCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIRoutingGatewayCreateResponse, error)
func (*ClientWithResponses) APIRoutingGatewayDefaultUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIRoutingGatewayDefaultUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIRoutingGatewayDefaultUpdateResponse, error)
APIRoutingGatewayDefaultUpdateWithBodyWithResponse request with arbitrary body returning *APIRoutingGatewayDefaultUpdateResponse
func (*ClientWithResponses) APIRoutingGatewayDefaultUpdateWithResponse ¶
func (c *ClientWithResponses) APIRoutingGatewayDefaultUpdateWithResponse(ctx context.Context, body APIRoutingGatewayDefaultUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIRoutingGatewayDefaultUpdateResponse, error)
func (*ClientWithResponses) APIRoutingGatewayDeleteWithResponse ¶
func (c *ClientWithResponses) APIRoutingGatewayDeleteWithResponse(ctx context.Context, params *APIRoutingGatewayDeleteParams, reqEditors ...RequestEditorFn) (*APIRoutingGatewayDeleteResponse, error)
APIRoutingGatewayDeleteWithResponse request returning *APIRoutingGatewayDeleteResponse
func (*ClientWithResponses) APIRoutingGatewayDetailReadWithResponse ¶
func (c *ClientWithResponses) APIRoutingGatewayDetailReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingGatewayDetailReadResponse, error)
APIRoutingGatewayDetailReadWithResponse request returning *APIRoutingGatewayDetailReadResponse
func (*ClientWithResponses) APIRoutingGatewayReadWithResponse ¶
func (c *ClientWithResponses) APIRoutingGatewayReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingGatewayReadResponse, error)
APIRoutingGatewayReadWithResponse request returning *APIRoutingGatewayReadResponse
func (*ClientWithResponses) APIRoutingGatewayUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIRoutingGatewayUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIRoutingGatewayUpdateResponse, error)
APIRoutingGatewayUpdateWithBodyWithResponse request with arbitrary body returning *APIRoutingGatewayUpdateResponse
func (*ClientWithResponses) APIRoutingGatewayUpdateWithResponse ¶
func (c *ClientWithResponses) APIRoutingGatewayUpdateWithResponse(ctx context.Context, body APIRoutingGatewayUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIRoutingGatewayUpdateResponse, error)
func (*ClientWithResponses) APIRoutingStaticRouteCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIRoutingStaticRouteCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteCreateResponse, error)
APIRoutingStaticRouteCreateWithBodyWithResponse request with arbitrary body returning *APIRoutingStaticRouteCreateResponse
func (*ClientWithResponses) APIRoutingStaticRouteCreateWithResponse ¶
func (c *ClientWithResponses) APIRoutingStaticRouteCreateWithResponse(ctx context.Context, body APIRoutingStaticRouteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteCreateResponse, error)
func (*ClientWithResponses) APIRoutingStaticRouteDeleteWithResponse ¶
func (c *ClientWithResponses) APIRoutingStaticRouteDeleteWithResponse(ctx context.Context, params *APIRoutingStaticRouteDeleteParams, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteDeleteResponse, error)
APIRoutingStaticRouteDeleteWithResponse request returning *APIRoutingStaticRouteDeleteResponse
func (*ClientWithResponses) APIRoutingStaticRouteReadWithResponse ¶
func (c *ClientWithResponses) APIRoutingStaticRouteReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteReadResponse, error)
APIRoutingStaticRouteReadWithResponse request returning *APIRoutingStaticRouteReadResponse
func (*ClientWithResponses) APIRoutingStaticRouteUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIRoutingStaticRouteUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteUpdateResponse, error)
APIRoutingStaticRouteUpdateWithBodyWithResponse request with arbitrary body returning *APIRoutingStaticRouteUpdateResponse
func (*ClientWithResponses) APIRoutingStaticRouteUpdateWithResponse ¶
func (c *ClientWithResponses) APIRoutingStaticRouteUpdateWithResponse(ctx context.Context, body APIRoutingStaticRouteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteUpdateResponse, error)
func (*ClientWithResponses) APIServicesDDNSReadWithResponse ¶
func (c *ClientWithResponses) APIServicesDDNSReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDDNSReadResponse, error)
APIServicesDDNSReadWithResponse request returning *APIServicesDDNSReadResponse
func (*ClientWithResponses) APIServicesDHCPdLeaseReadWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdLeaseReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdLeaseReadResponse, error)
APIServicesDHCPdLeaseReadWithResponse request returning *APIServicesDHCPdLeaseReadResponse
func (*ClientWithResponses) APIServicesDHCPdOptionsCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdOptionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDHCPdOptionsCreateResponse, error)
APIServicesDHCPdOptionsCreateWithBodyWithResponse request with arbitrary body returning *APIServicesDHCPdOptionsCreateResponse
func (*ClientWithResponses) APIServicesDHCPdOptionsCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdOptionsCreateWithResponse(ctx context.Context, body APIServicesDHCPdOptionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDHCPdOptionsCreateResponse, error)
func (*ClientWithResponses) APIServicesDHCPdReadWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdReadResponse, error)
APIServicesDHCPdReadWithResponse request returning *APIServicesDHCPdReadResponse
func (*ClientWithResponses) APIServicesDHCPdRestartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdRestartCreateResponse, error)
APIServicesDHCPdRestartCreateWithResponse request returning *APIServicesDHCPdRestartCreateResponse
func (*ClientWithResponses) APIServicesDHCPdStartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStartCreateResponse, error)
APIServicesDHCPdStartCreateWithResponse request returning *APIServicesDHCPdStartCreateResponse
func (*ClientWithResponses) APIServicesDHCPdStaticMappingCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdStaticMappingCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingCreateResponse, error)
APIServicesDHCPdStaticMappingCreateWithBodyWithResponse request with arbitrary body returning *APIServicesDHCPdStaticMappingCreateResponse
func (*ClientWithResponses) APIServicesDHCPdStaticMappingCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdStaticMappingCreateWithResponse(ctx context.Context, body APIServicesDHCPdStaticMappingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingCreateResponse, error)
func (*ClientWithResponses) APIServicesDHCPdStaticMappingDeleteWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdStaticMappingDeleteWithResponse(ctx context.Context, params *APIServicesDHCPdStaticMappingDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingDeleteResponse, error)
APIServicesDHCPdStaticMappingDeleteWithResponse request returning *APIServicesDHCPdStaticMappingDeleteResponse
func (*ClientWithResponses) APIServicesDHCPdStaticMappingReadWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdStaticMappingReadWithResponse(ctx context.Context, params *APIServicesDHCPdStaticMappingReadParams, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingReadResponse, error)
APIServicesDHCPdStaticMappingReadWithResponse request returning *APIServicesDHCPdStaticMappingReadResponse
func (*ClientWithResponses) APIServicesDHCPdStaticMappingUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdStaticMappingUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingUpdateResponse, error)
APIServicesDHCPdStaticMappingUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesDHCPdStaticMappingUpdateResponse
func (*ClientWithResponses) APIServicesDHCPdStaticMappingUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdStaticMappingUpdateWithResponse(ctx context.Context, body APIServicesDHCPdStaticMappingUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingUpdateResponse, error)
func (*ClientWithResponses) APIServicesDHCPdStopCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStopCreateResponse, error)
APIServicesDHCPdStopCreateWithResponse request returning *APIServicesDHCPdStopCreateResponse
func (*ClientWithResponses) APIServicesDHCPdUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDHCPdUpdateResponse, error)
APIServicesDHCPdUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesDHCPdUpdateResponse
func (*ClientWithResponses) APIServicesDHCPdUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesDHCPdUpdateWithResponse(ctx context.Context, body APIServicesDHCPdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDHCPdUpdateResponse, error)
func (*ClientWithResponses) APIServicesDnsmasqApplyCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqApplyCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqApplyCreateResponse, error)
APIServicesDnsmasqApplyCreateWithResponse request returning *APIServicesDnsmasqApplyCreateResponse
func (*ClientWithResponses) APIServicesDnsmasqHostOverrideAliasCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideAliasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideAliasCreateResponse, error)
APIServicesDnsmasqHostOverrideAliasCreateWithBodyWithResponse request with arbitrary body returning *APIServicesDnsmasqHostOverrideAliasCreateResponse
func (*ClientWithResponses) APIServicesDnsmasqHostOverrideAliasCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideAliasCreateWithResponse(ctx context.Context, body APIServicesDnsmasqHostOverrideAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideAliasCreateResponse, error)
func (*ClientWithResponses) APIServicesDnsmasqHostOverrideCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideCreateResponse, error)
APIServicesDnsmasqHostOverrideCreateWithBodyWithResponse request with arbitrary body returning *APIServicesDnsmasqHostOverrideCreateResponse
func (*ClientWithResponses) APIServicesDnsmasqHostOverrideCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideCreateWithResponse(ctx context.Context, body APIServicesDnsmasqHostOverrideCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideCreateResponse, error)
func (*ClientWithResponses) APIServicesDnsmasqHostOverrideDeleteWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideDeleteWithResponse(ctx context.Context, params *APIServicesDnsmasqHostOverrideDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideDeleteResponse, error)
APIServicesDnsmasqHostOverrideDeleteWithResponse request returning *APIServicesDnsmasqHostOverrideDeleteResponse
func (*ClientWithResponses) APIServicesDnsmasqHostOverrideReadWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideReadResponse, error)
APIServicesDnsmasqHostOverrideReadWithResponse request returning *APIServicesDnsmasqHostOverrideReadResponse
func (*ClientWithResponses) APIServicesDnsmasqHostOverrideUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideUpdateResponse, error)
APIServicesDnsmasqHostOverrideUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesDnsmasqHostOverrideUpdateResponse
func (*ClientWithResponses) APIServicesDnsmasqHostOverrideUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqHostOverrideUpdateWithResponse(ctx context.Context, body APIServicesDnsmasqHostOverrideUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideUpdateResponse, error)
func (*ClientWithResponses) APIServicesDnsmasqReadWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqReadResponse, error)
APIServicesDnsmasqReadWithResponse request returning *APIServicesDnsmasqReadResponse
func (*ClientWithResponses) APIServicesDnsmasqRestartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqRestartCreateResponse, error)
APIServicesDnsmasqRestartCreateWithResponse request returning *APIServicesDnsmasqRestartCreateResponse
func (*ClientWithResponses) APIServicesDnsmasqStartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqStartCreateResponse, error)
APIServicesDnsmasqStartCreateWithResponse request returning *APIServicesDnsmasqStartCreateResponse
func (*ClientWithResponses) APIServicesDnsmasqStopCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDnsmasqStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqStopCreateResponse, error)
APIServicesDnsmasqStopCreateWithResponse request returning *APIServicesDnsmasqStopCreateResponse
func (*ClientWithResponses) APIServicesDpingerRestartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDpingerRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDpingerRestartCreateResponse, error)
APIServicesDpingerRestartCreateWithResponse request returning *APIServicesDpingerRestartCreateResponse
func (*ClientWithResponses) APIServicesDpingerStartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDpingerStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDpingerStartCreateResponse, error)
APIServicesDpingerStartCreateWithResponse request returning *APIServicesDpingerStartCreateResponse
func (*ClientWithResponses) APIServicesDpingerStopCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesDpingerStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDpingerStopCreateResponse, error)
APIServicesDpingerStopCreateWithResponse request returning *APIServicesDpingerStopCreateResponse
func (*ClientWithResponses) APIServicesIPsecApplyCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecApplyCreateResponse, error)
APIServicesIPsecApplyCreateWithBodyWithResponse request with arbitrary body returning *APIServicesIPsecApplyCreateResponse
func (*ClientWithResponses) APIServicesIPsecApplyCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecApplyCreateWithResponse(ctx context.Context, body APIServicesIPsecApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecApplyCreateResponse, error)
func (*ClientWithResponses) APIServicesIPsecPhase1CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1CreateResponse, error)
APIServicesIPsecPhase1CreateWithBodyWithResponse request with arbitrary body returning *APIServicesIPsecPhase1CreateResponse
func (*ClientWithResponses) APIServicesIPsecPhase1CreateWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase1CreateWithResponse(ctx context.Context, body APIServicesIPsecPhase1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1CreateResponse, error)
func (*ClientWithResponses) APIServicesIPsecPhase1DeleteWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase1DeleteWithResponse(ctx context.Context, params *APIServicesIPsecPhase1DeleteParams, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1DeleteResponse, error)
APIServicesIPsecPhase1DeleteWithResponse request returning *APIServicesIPsecPhase1DeleteResponse
func (*ClientWithResponses) APIServicesIPsecPhase1EncryptionCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase1EncryptionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1EncryptionCreateResponse, error)
APIServicesIPsecPhase1EncryptionCreateWithBodyWithResponse request with arbitrary body returning *APIServicesIPsecPhase1EncryptionCreateResponse
func (*ClientWithResponses) APIServicesIPsecPhase1EncryptionCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase1EncryptionCreateWithResponse(ctx context.Context, body APIServicesIPsecPhase1EncryptionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1EncryptionCreateResponse, error)
func (*ClientWithResponses) APIServicesIPsecPhase1ReadWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase1ReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1ReadResponse, error)
APIServicesIPsecPhase1ReadWithResponse request returning *APIServicesIPsecPhase1ReadResponse
func (*ClientWithResponses) APIServicesIPsecPhase1UpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase1UpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1UpdateResponse, error)
APIServicesIPsecPhase1UpdateWithBodyWithResponse request with arbitrary body returning *APIServicesIPsecPhase1UpdateResponse
func (*ClientWithResponses) APIServicesIPsecPhase1UpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase1UpdateWithResponse(ctx context.Context, body APIServicesIPsecPhase1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1UpdateResponse, error)
func (*ClientWithResponses) APIServicesIPsecPhase2CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2CreateResponse, error)
APIServicesIPsecPhase2CreateWithBodyWithResponse request with arbitrary body returning *APIServicesIPsecPhase2CreateResponse
func (*ClientWithResponses) APIServicesIPsecPhase2CreateWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase2CreateWithResponse(ctx context.Context, body APIServicesIPsecPhase2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2CreateResponse, error)
func (*ClientWithResponses) APIServicesIPsecPhase2DeleteWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase2DeleteWithResponse(ctx context.Context, params *APIServicesIPsecPhase2DeleteParams, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2DeleteResponse, error)
APIServicesIPsecPhase2DeleteWithResponse request returning *APIServicesIPsecPhase2DeleteResponse
func (*ClientWithResponses) APIServicesIPsecPhase2ReadWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase2ReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2ReadResponse, error)
APIServicesIPsecPhase2ReadWithResponse request returning *APIServicesIPsecPhase2ReadResponse
func (*ClientWithResponses) APIServicesIPsecPhase2UpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase2UpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2UpdateResponse, error)
APIServicesIPsecPhase2UpdateWithBodyWithResponse request with arbitrary body returning *APIServicesIPsecPhase2UpdateResponse
func (*ClientWithResponses) APIServicesIPsecPhase2UpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesIPsecPhase2UpdateWithResponse(ctx context.Context, body APIServicesIPsecPhase2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2UpdateResponse, error)
func (*ClientWithResponses) APIServicesNTPdReadWithResponse ¶
func (c *ClientWithResponses) APIServicesNTPdReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdReadResponse, error)
APIServicesNTPdReadWithResponse request returning *APIServicesNTPdReadResponse
func (*ClientWithResponses) APIServicesNTPdRestartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesNTPdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdRestartCreateResponse, error)
APIServicesNTPdRestartCreateWithResponse request returning *APIServicesNTPdRestartCreateResponse
func (*ClientWithResponses) APIServicesNTPdStartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesNTPdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdStartCreateResponse, error)
APIServicesNTPdStartCreateWithResponse request returning *APIServicesNTPdStartCreateResponse
func (*ClientWithResponses) APIServicesNTPdStopCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesNTPdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdStopCreateResponse, error)
APIServicesNTPdStopCreateWithResponse request returning *APIServicesNTPdStopCreateResponse
func (*ClientWithResponses) APIServicesNTPdTimeServerCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesNTPdTimeServerCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesNTPdTimeServerCreateResponse, error)
APIServicesNTPdTimeServerCreateWithBodyWithResponse request with arbitrary body returning *APIServicesNTPdTimeServerCreateResponse
func (*ClientWithResponses) APIServicesNTPdTimeServerCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesNTPdTimeServerCreateWithResponse(ctx context.Context, body APIServicesNTPdTimeServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesNTPdTimeServerCreateResponse, error)
func (*ClientWithResponses) APIServicesNTPdTimeServerDeleteWithResponse ¶
func (c *ClientWithResponses) APIServicesNTPdTimeServerDeleteWithResponse(ctx context.Context, params *APIServicesNTPdTimeServerDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesNTPdTimeServerDeleteResponse, error)
APIServicesNTPdTimeServerDeleteWithResponse request returning *APIServicesNTPdTimeServerDeleteResponse
func (*ClientWithResponses) APIServicesNTPdUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesNTPdUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesNTPdUpdateResponse, error)
APIServicesNTPdUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesNTPdUpdateResponse
func (*ClientWithResponses) APIServicesNTPdUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesNTPdUpdateWithResponse(ctx context.Context, body APIServicesNTPdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesNTPdUpdateResponse, error)
func (*ClientWithResponses) APIServicesOpenVPNClientCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientCreateResponse, error)
APIServicesOpenVPNClientCreateWithBodyWithResponse request with arbitrary body returning *APIServicesOpenVPNClientCreateResponse
func (*ClientWithResponses) APIServicesOpenVPNClientCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientCreateWithResponse(ctx context.Context, body APIServicesOpenVPNClientCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientCreateResponse, error)
func (*ClientWithResponses) APIServicesOpenVPNClientReadWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientReadResponse, error)
APIServicesOpenVPNClientReadWithResponse request returning *APIServicesOpenVPNClientReadResponse
func (*ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesCreateResponse, error)
APIServicesOpenVPNClientSpecificOverridesCreateWithBodyWithResponse request with arbitrary body returning *APIServicesOpenVPNClientSpecificOverridesCreateResponse
func (*ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesCreateWithResponse(ctx context.Context, body APIServicesOpenVPNClientSpecificOverridesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesCreateResponse, error)
func (*ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesDeleteWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesDeleteWithResponse(ctx context.Context, params *APIServicesOpenVPNClientSpecificOverridesDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesDeleteResponse, error)
APIServicesOpenVPNClientSpecificOverridesDeleteWithResponse request returning *APIServicesOpenVPNClientSpecificOverridesDeleteResponse
func (*ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesReadWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesReadResponse, error)
APIServicesOpenVPNClientSpecificOverridesReadWithResponse request returning *APIServicesOpenVPNClientSpecificOverridesReadResponse
func (*ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesUpdateResponse, error)
APIServicesOpenVPNClientSpecificOverridesUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesOpenVPNClientSpecificOverridesUpdateResponse
func (*ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientSpecificOverridesUpdateWithResponse(ctx context.Context, body APIServicesOpenVPNClientSpecificOverridesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesUpdateResponse, error)
func (*ClientWithResponses) APIServicesOpenVPNClientUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientUpdateWithBodyWithResponse(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientUpdateResponse, error)
APIServicesOpenVPNClientUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesOpenVPNClientUpdateResponse
func (*ClientWithResponses) APIServicesOpenVPNClientUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNClientUpdateWithResponse(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, body APIServicesOpenVPNClientUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientUpdateResponse, error)
func (*ClientWithResponses) APIServicesOpenVPNServerCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNServerCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerCreateResponse, error)
APIServicesOpenVPNServerCreateWithBodyWithResponse request with arbitrary body returning *APIServicesOpenVPNServerCreateResponse
func (*ClientWithResponses) APIServicesOpenVPNServerCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNServerCreateWithResponse(ctx context.Context, body APIServicesOpenVPNServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerCreateResponse, error)
func (*ClientWithResponses) APIServicesOpenVPNServerReadWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNServerReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerReadResponse, error)
APIServicesOpenVPNServerReadWithResponse request returning *APIServicesOpenVPNServerReadResponse
func (*ClientWithResponses) APIServicesOpenVPNServerUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNServerUpdateWithBodyWithResponse(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerUpdateResponse, error)
APIServicesOpenVPNServerUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesOpenVPNServerUpdateResponse
func (*ClientWithResponses) APIServicesOpenVPNServerUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesOpenVPNServerUpdateWithResponse(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, body APIServicesOpenVPNServerUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerUpdateResponse, error)
func (*ClientWithResponses) APIServicesReadWithResponse ¶
func (c *ClientWithResponses) APIServicesReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesReadResponse, error)
APIServicesReadWithResponse request returning *APIServicesReadResponse
func (*ClientWithResponses) APIServicesRestartCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesRestartCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesRestartCreateResponse, error)
APIServicesRestartCreateWithBodyWithResponse request with arbitrary body returning *APIServicesRestartCreateResponse
func (*ClientWithResponses) APIServicesRestartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesRestartCreateWithResponse(ctx context.Context, body APIServicesRestartCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesRestartCreateResponse, error)
func (*ClientWithResponses) APIServicesSSHdReadWithResponse ¶
func (c *ClientWithResponses) APIServicesSSHdReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdReadResponse, error)
APIServicesSSHdReadWithResponse request returning *APIServicesSSHdReadResponse
func (*ClientWithResponses) APIServicesSSHdRestartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesSSHdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdRestartCreateResponse, error)
APIServicesSSHdRestartCreateWithResponse request returning *APIServicesSSHdRestartCreateResponse
func (*ClientWithResponses) APIServicesSSHdStartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesSSHdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdStartCreateResponse, error)
APIServicesSSHdStartCreateWithResponse request returning *APIServicesSSHdStartCreateResponse
func (*ClientWithResponses) APIServicesSSHdStopCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesSSHdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdStopCreateResponse, error)
APIServicesSSHdStopCreateWithResponse request returning *APIServicesSSHdStopCreateResponse
func (*ClientWithResponses) APIServicesSSHdUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesSSHdUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesSSHdUpdateResponse, error)
APIServicesSSHdUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesSSHdUpdateResponse
func (*ClientWithResponses) APIServicesSSHdUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesSSHdUpdateWithResponse(ctx context.Context, body APIServicesSSHdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesSSHdUpdateResponse, error)
func (*ClientWithResponses) APIServicesServiceWatchdogReadWithResponse ¶
func (c *ClientWithResponses) APIServicesServiceWatchdogReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesServiceWatchdogReadResponse, error)
APIServicesServiceWatchdogReadWithResponse request returning *APIServicesServiceWatchdogReadResponse
func (*ClientWithResponses) APIServicesServiceWatchdogUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesServiceWatchdogUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesServiceWatchdogUpdateResponse, error)
APIServicesServiceWatchdogUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesServiceWatchdogUpdateResponse
func (*ClientWithResponses) APIServicesServiceWatchdogUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesServiceWatchdogUpdateWithResponse(ctx context.Context, body APIServicesServiceWatchdogUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesServiceWatchdogUpdateResponse, error)
func (*ClientWithResponses) APIServicesStartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesStartCreateResponse, error)
APIServicesStartCreateWithResponse request returning *APIServicesStartCreateResponse
func (*ClientWithResponses) APIServicesStopCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesStopCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesStopCreateResponse, error)
APIServicesStopCreateWithBodyWithResponse request with arbitrary body returning *APIServicesStopCreateResponse
func (*ClientWithResponses) APIServicesStopCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesStopCreateWithResponse(ctx context.Context, body APIServicesStopCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesStopCreateResponse, error)
func (*ClientWithResponses) APIServicesSyslogdRestartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesSyslogdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSyslogdRestartCreateResponse, error)
APIServicesSyslogdRestartCreateWithResponse request returning *APIServicesSyslogdRestartCreateResponse
func (*ClientWithResponses) APIServicesSyslogdStartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesSyslogdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSyslogdStartCreateResponse, error)
APIServicesSyslogdStartCreateWithResponse request returning *APIServicesSyslogdStartCreateResponse
func (*ClientWithResponses) APIServicesSyslogdStopCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesSyslogdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSyslogdStopCreateResponse, error)
APIServicesSyslogdStopCreateWithResponse request returning *APIServicesSyslogdStopCreateResponse
func (*ClientWithResponses) APIServicesUnboundAccessListCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundAccessListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListCreateResponse, error)
APIServicesUnboundAccessListCreateWithBodyWithResponse request with arbitrary body returning *APIServicesUnboundAccessListCreateResponse
func (*ClientWithResponses) APIServicesUnboundAccessListCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundAccessListCreateWithResponse(ctx context.Context, body APIServicesUnboundAccessListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListCreateResponse, error)
func (*ClientWithResponses) APIServicesUnboundAccessListDeleteWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundAccessListDeleteWithResponse(ctx context.Context, params *APIServicesUnboundAccessListDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListDeleteResponse, error)
APIServicesUnboundAccessListDeleteWithResponse request returning *APIServicesUnboundAccessListDeleteResponse
func (*ClientWithResponses) APIServicesUnboundAccessListReadWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundAccessListReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListReadResponse, error)
APIServicesUnboundAccessListReadWithResponse request returning *APIServicesUnboundAccessListReadResponse
func (*ClientWithResponses) APIServicesUnboundAccessListRowCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundAccessListRowCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListRowCreateResponse, error)
APIServicesUnboundAccessListRowCreateWithBodyWithResponse request with arbitrary body returning *APIServicesUnboundAccessListRowCreateResponse
func (*ClientWithResponses) APIServicesUnboundAccessListRowCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundAccessListRowCreateWithResponse(ctx context.Context, body APIServicesUnboundAccessListRowCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListRowCreateResponse, error)
func (*ClientWithResponses) APIServicesUnboundAccessListUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundAccessListUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListUpdateResponse, error)
APIServicesUnboundAccessListUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesUnboundAccessListUpdateResponse
func (*ClientWithResponses) APIServicesUnboundAccessListUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundAccessListUpdateWithResponse(ctx context.Context, body APIServicesUnboundAccessListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListUpdateResponse, error)
func (*ClientWithResponses) APIServicesUnboundApplyCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundApplyCreateResponse, error)
APIServicesUnboundApplyCreateWithBodyWithResponse request with arbitrary body returning *APIServicesUnboundApplyCreateResponse
func (*ClientWithResponses) APIServicesUnboundApplyCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundApplyCreateWithResponse(ctx context.Context, body APIServicesUnboundApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundApplyCreateResponse, error)
func (*ClientWithResponses) APIServicesUnboundApplyReadWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundApplyReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundApplyReadResponse, error)
APIServicesUnboundApplyReadWithResponse request returning *APIServicesUnboundApplyReadResponse
func (*ClientWithResponses) APIServicesUnboundHostOverrideAliasCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideAliasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideAliasCreateResponse, error)
APIServicesUnboundHostOverrideAliasCreateWithBodyWithResponse request with arbitrary body returning *APIServicesUnboundHostOverrideAliasCreateResponse
func (*ClientWithResponses) APIServicesUnboundHostOverrideAliasCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideAliasCreateWithResponse(ctx context.Context, body APIServicesUnboundHostOverrideAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideAliasCreateResponse, error)
func (*ClientWithResponses) APIServicesUnboundHostOverrideCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideCreateResponse, error)
APIServicesUnboundHostOverrideCreateWithBodyWithResponse request with arbitrary body returning *APIServicesUnboundHostOverrideCreateResponse
func (*ClientWithResponses) APIServicesUnboundHostOverrideCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideCreateWithResponse(ctx context.Context, body APIServicesUnboundHostOverrideCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideCreateResponse, error)
func (*ClientWithResponses) APIServicesUnboundHostOverrideDeleteWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideDeleteWithResponse(ctx context.Context, params *APIServicesUnboundHostOverrideDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideDeleteResponse, error)
APIServicesUnboundHostOverrideDeleteWithResponse request returning *APIServicesUnboundHostOverrideDeleteResponse
func (*ClientWithResponses) APIServicesUnboundHostOverrideFlushDeleteWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideFlushDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideFlushDeleteResponse, error)
APIServicesUnboundHostOverrideFlushDeleteWithResponse request returning *APIServicesUnboundHostOverrideFlushDeleteResponse
func (*ClientWithResponses) APIServicesUnboundHostOverrideFlushUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideFlushUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideFlushUpdateResponse, error)
APIServicesUnboundHostOverrideFlushUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesUnboundHostOverrideFlushUpdateResponse
func (*ClientWithResponses) APIServicesUnboundHostOverrideFlushUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideFlushUpdateWithResponse(ctx context.Context, body APIServicesUnboundHostOverrideFlushUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideFlushUpdateResponse, error)
func (*ClientWithResponses) APIServicesUnboundHostOverrideReadWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideReadResponse, error)
APIServicesUnboundHostOverrideReadWithResponse request returning *APIServicesUnboundHostOverrideReadResponse
func (*ClientWithResponses) APIServicesUnboundHostOverrideUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideUpdateResponse, error)
APIServicesUnboundHostOverrideUpdateWithBodyWithResponse request with arbitrary body returning *APIServicesUnboundHostOverrideUpdateResponse
func (*ClientWithResponses) APIServicesUnboundHostOverrideUpdateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundHostOverrideUpdateWithResponse(ctx context.Context, body APIServicesUnboundHostOverrideUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideUpdateResponse, error)
func (*ClientWithResponses) APIServicesUnboundReadWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundReadResponse, error)
APIServicesUnboundReadWithResponse request returning *APIServicesUnboundReadResponse
func (*ClientWithResponses) APIServicesUnboundRestartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundRestartCreateResponse, error)
APIServicesUnboundRestartCreateWithResponse request returning *APIServicesUnboundRestartCreateResponse
func (*ClientWithResponses) APIServicesUnboundStartCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundStartCreateResponse, error)
APIServicesUnboundStartCreateWithResponse request returning *APIServicesUnboundStartCreateResponse
func (*ClientWithResponses) APIServicesUnboundStopCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesUnboundStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundStopCreateResponse, error)
APIServicesUnboundStopCreateWithResponse request returning *APIServicesUnboundStopCreateResponse
func (*ClientWithResponses) APIServicesWOLSendCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIServicesWOLSendCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesWOLSendCreateResponse, error)
APIServicesWOLSendCreateWithBodyWithResponse request with arbitrary body returning *APIServicesWOLSendCreateResponse
func (*ClientWithResponses) APIServicesWOLSendCreateWithResponse ¶
func (c *ClientWithResponses) APIServicesWOLSendCreateWithResponse(ctx context.Context, body APIServicesWOLSendCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesWOLSendCreateResponse, error)
func (*ClientWithResponses) APIStatusCARPReadWithResponse ¶
func (c *ClientWithResponses) APIStatusCARPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusCARPReadResponse, error)
APIStatusCARPReadWithResponse request returning *APIStatusCARPReadResponse
func (*ClientWithResponses) APIStatusCARPUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIStatusCARPUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIStatusCARPUpdateResponse, error)
APIStatusCARPUpdateWithBodyWithResponse request with arbitrary body returning *APIStatusCARPUpdateResponse
func (*ClientWithResponses) APIStatusCARPUpdateWithResponse ¶
func (c *ClientWithResponses) APIStatusCARPUpdateWithResponse(ctx context.Context, body APIStatusCARPUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIStatusCARPUpdateResponse, error)
func (*ClientWithResponses) APIStatusGatewayReadWithResponse ¶
func (c *ClientWithResponses) APIStatusGatewayReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusGatewayReadResponse, error)
APIStatusGatewayReadWithResponse request returning *APIStatusGatewayReadResponse
func (*ClientWithResponses) APIStatusIPsecReadWithResponse ¶
func (c *ClientWithResponses) APIStatusIPsecReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusIPsecReadResponse, error)
APIStatusIPsecReadWithResponse request returning *APIStatusIPsecReadResponse
func (*ClientWithResponses) APIStatusInterfaceReadWithResponse ¶
func (c *ClientWithResponses) APIStatusInterfaceReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusInterfaceReadResponse, error)
APIStatusInterfaceReadWithResponse request returning *APIStatusInterfaceReadResponse
func (*ClientWithResponses) APIStatusLogConfigHistoryReadWithResponse ¶
func (c *ClientWithResponses) APIStatusLogConfigHistoryReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogConfigHistoryReadResponse, error)
APIStatusLogConfigHistoryReadWithResponse request returning *APIStatusLogConfigHistoryReadResponse
func (*ClientWithResponses) APIStatusLogDHCPReadWithResponse ¶
func (c *ClientWithResponses) APIStatusLogDHCPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogDHCPReadResponse, error)
APIStatusLogDHCPReadWithResponse request returning *APIStatusLogDHCPReadResponse
func (*ClientWithResponses) APIStatusLogFirewallReadWithResponse ¶
func (c *ClientWithResponses) APIStatusLogFirewallReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogFirewallReadResponse, error)
APIStatusLogFirewallReadWithResponse request returning *APIStatusLogFirewallReadResponse
func (*ClientWithResponses) APIStatusLogSettingsUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIStatusLogSettingsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIStatusLogSettingsUpdateResponse, error)
APIStatusLogSettingsUpdateWithBodyWithResponse request with arbitrary body returning *APIStatusLogSettingsUpdateResponse
func (*ClientWithResponses) APIStatusLogSettingsUpdateWithResponse ¶
func (c *ClientWithResponses) APIStatusLogSettingsUpdateWithResponse(ctx context.Context, body APIStatusLogSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIStatusLogSettingsUpdateResponse, error)
func (*ClientWithResponses) APIStatusLogSystemReadWithResponse ¶
func (c *ClientWithResponses) APIStatusLogSystemReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogSystemReadResponse, error)
APIStatusLogSystemReadWithResponse request returning *APIStatusLogSystemReadResponse
func (*ClientWithResponses) APIStatusOpenVPNReadWithResponse ¶
func (c *ClientWithResponses) APIStatusOpenVPNReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusOpenVPNReadResponse, error)
APIStatusOpenVPNReadWithResponse request returning *APIStatusOpenVPNReadResponse
func (*ClientWithResponses) APIStatusSystemReadWithResponse ¶
func (c *ClientWithResponses) APIStatusSystemReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusSystemReadResponse, error)
APIStatusSystemReadWithResponse request returning *APIStatusSystemReadResponse
func (*ClientWithResponses) APISystemAPIErrorReadWithResponse ¶
func (c *ClientWithResponses) APISystemAPIErrorReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemAPIErrorReadResponse, error)
APISystemAPIErrorReadWithResponse request returning *APISystemAPIErrorReadResponse
func (*ClientWithResponses) APISystemAPIReadWithResponse ¶
func (c *ClientWithResponses) APISystemAPIReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemAPIReadResponse, error)
APISystemAPIReadWithResponse request returning *APISystemAPIReadResponse
func (*ClientWithResponses) APISystemAPIUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemAPIUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemAPIUpdateResponse, error)
APISystemAPIUpdateWithBodyWithResponse request with arbitrary body returning *APISystemAPIUpdateResponse
func (*ClientWithResponses) APISystemAPIUpdateWithResponse ¶
func (c *ClientWithResponses) APISystemAPIUpdateWithResponse(ctx context.Context, body APISystemAPIUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemAPIUpdateResponse, error)
func (*ClientWithResponses) APISystemAPIVersionReadWithResponse ¶
func (c *ClientWithResponses) APISystemAPIVersionReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemAPIVersionReadResponse, error)
APISystemAPIVersionReadWithResponse request returning *APISystemAPIVersionReadResponse
func (*ClientWithResponses) APISystemARPDeleteWithResponse ¶
func (c *ClientWithResponses) APISystemARPDeleteWithResponse(ctx context.Context, params *APISystemARPDeleteParams, reqEditors ...RequestEditorFn) (*APISystemARPDeleteResponse, error)
APISystemARPDeleteWithResponse request returning *APISystemARPDeleteResponse
func (*ClientWithResponses) APISystemARPReadWithResponse ¶
func (c *ClientWithResponses) APISystemARPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemARPReadResponse, error)
APISystemARPReadWithResponse request returning *APISystemARPReadResponse
func (*ClientWithResponses) APISystemCACreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemCACreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemCACreateResponse, error)
APISystemCACreateWithBodyWithResponse request with arbitrary body returning *APISystemCACreateResponse
func (*ClientWithResponses) APISystemCACreateWithResponse ¶
func (c *ClientWithResponses) APISystemCACreateWithResponse(ctx context.Context, body APISystemCACreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemCACreateResponse, error)
func (*ClientWithResponses) APISystemCADeleteWithResponse ¶
func (c *ClientWithResponses) APISystemCADeleteWithResponse(ctx context.Context, params *APISystemCADeleteParams, reqEditors ...RequestEditorFn) (*APISystemCADeleteResponse, error)
APISystemCADeleteWithResponse request returning *APISystemCADeleteResponse
func (*ClientWithResponses) APISystemCAReadWithResponse ¶
func (c *ClientWithResponses) APISystemCAReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemCAReadResponse, error)
APISystemCAReadWithResponse request returning *APISystemCAReadResponse
func (*ClientWithResponses) APISystemCRLCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemCRLCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemCRLCreateResponse, error)
APISystemCRLCreateWithBodyWithResponse request with arbitrary body returning *APISystemCRLCreateResponse
func (*ClientWithResponses) APISystemCRLCreateWithResponse ¶
func (c *ClientWithResponses) APISystemCRLCreateWithResponse(ctx context.Context, body APISystemCRLCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemCRLCreateResponse, error)
func (*ClientWithResponses) APISystemCRLDeleteWithResponse ¶
func (c *ClientWithResponses) APISystemCRLDeleteWithResponse(ctx context.Context, params *APISystemCRLDeleteParams, reqEditors ...RequestEditorFn) (*APISystemCRLDeleteResponse, error)
APISystemCRLDeleteWithResponse request returning *APISystemCRLDeleteResponse
func (*ClientWithResponses) APISystemCRLReadWithResponse ¶
func (c *ClientWithResponses) APISystemCRLReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemCRLReadResponse, error)
APISystemCRLReadWithResponse request returning *APISystemCRLReadResponse
func (*ClientWithResponses) APISystemCertificateCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemCertificateCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemCertificateCreateResponse, error)
APISystemCertificateCreateWithBodyWithResponse request with arbitrary body returning *APISystemCertificateCreateResponse
func (*ClientWithResponses) APISystemCertificateCreateWithResponse ¶
func (c *ClientWithResponses) APISystemCertificateCreateWithResponse(ctx context.Context, body APISystemCertificateCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemCertificateCreateResponse, error)
func (*ClientWithResponses) APISystemCertificateDeleteWithResponse ¶
func (c *ClientWithResponses) APISystemCertificateDeleteWithResponse(ctx context.Context, params *APISystemCertificateDeleteParams, reqEditors ...RequestEditorFn) (*APISystemCertificateDeleteResponse, error)
APISystemCertificateDeleteWithResponse request returning *APISystemCertificateDeleteResponse
func (*ClientWithResponses) APISystemCertificateReadWithResponse ¶
func (c *ClientWithResponses) APISystemCertificateReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemCertificateReadResponse, error)
APISystemCertificateReadWithResponse request returning *APISystemCertificateReadResponse
func (*ClientWithResponses) APISystemCertificateUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemCertificateUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemCertificateUpdateResponse, error)
APISystemCertificateUpdateWithBodyWithResponse request with arbitrary body returning *APISystemCertificateUpdateResponse
func (*ClientWithResponses) APISystemCertificateUpdateWithResponse ¶
func (c *ClientWithResponses) APISystemCertificateUpdateWithResponse(ctx context.Context, body APISystemCertificateUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemCertificateUpdateResponse, error)
func (*ClientWithResponses) APISystemConfigReadWithResponse ¶
func (c *ClientWithResponses) APISystemConfigReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemConfigReadResponse, error)
APISystemConfigReadWithResponse request returning *APISystemConfigReadResponse
func (*ClientWithResponses) APISystemConfigUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemConfigUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemConfigUpdateResponse, error)
APISystemConfigUpdateWithBodyWithResponse request with arbitrary body returning *APISystemConfigUpdateResponse
func (*ClientWithResponses) APISystemConsoleUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemConsoleUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemConsoleUpdateResponse, error)
APISystemConsoleUpdateWithBodyWithResponse request with arbitrary body returning *APISystemConsoleUpdateResponse
func (*ClientWithResponses) APISystemConsoleUpdateWithResponse ¶
func (c *ClientWithResponses) APISystemConsoleUpdateWithResponse(ctx context.Context, body APISystemConsoleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemConsoleUpdateResponse, error)
func (*ClientWithResponses) APISystemDNSReadWithResponse ¶
func (c *ClientWithResponses) APISystemDNSReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemDNSReadResponse, error)
APISystemDNSReadWithResponse request returning *APISystemDNSReadResponse
func (*ClientWithResponses) APISystemDNSServerCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemDNSServerCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemDNSServerCreateResponse, error)
APISystemDNSServerCreateWithBodyWithResponse request with arbitrary body returning *APISystemDNSServerCreateResponse
func (*ClientWithResponses) APISystemDNSServerCreateWithResponse ¶
func (c *ClientWithResponses) APISystemDNSServerCreateWithResponse(ctx context.Context, body APISystemDNSServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemDNSServerCreateResponse, error)
func (*ClientWithResponses) APISystemDNSServerDeleteWithResponse ¶
func (c *ClientWithResponses) APISystemDNSServerDeleteWithResponse(ctx context.Context, params *APISystemDNSServerDeleteParams, reqEditors ...RequestEditorFn) (*APISystemDNSServerDeleteResponse, error)
APISystemDNSServerDeleteWithResponse request returning *APISystemDNSServerDeleteResponse
func (*ClientWithResponses) APISystemDNSUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemDNSUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemDNSUpdateResponse, error)
APISystemDNSUpdateWithBodyWithResponse request with arbitrary body returning *APISystemDNSUpdateResponse
func (*ClientWithResponses) APISystemDNSUpdateWithResponse ¶
func (c *ClientWithResponses) APISystemDNSUpdateWithResponse(ctx context.Context, body APISystemDNSUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemDNSUpdateResponse, error)
func (*ClientWithResponses) APISystemHaltCreateWithResponse ¶
func (c *ClientWithResponses) APISystemHaltCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemHaltCreateResponse, error)
APISystemHaltCreateWithResponse request returning *APISystemHaltCreateResponse
func (*ClientWithResponses) APISystemHostnameReadWithResponse ¶
func (c *ClientWithResponses) APISystemHostnameReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemHostnameReadResponse, error)
APISystemHostnameReadWithResponse request returning *APISystemHostnameReadResponse
func (*ClientWithResponses) APISystemHostnameUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemHostnameUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemHostnameUpdateResponse, error)
APISystemHostnameUpdateWithBodyWithResponse request with arbitrary body returning *APISystemHostnameUpdateResponse
func (*ClientWithResponses) APISystemHostnameUpdateWithResponse ¶
func (c *ClientWithResponses) APISystemHostnameUpdateWithResponse(ctx context.Context, body APISystemHostnameUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemHostnameUpdateResponse, error)
func (*ClientWithResponses) APISystemNotificationsEmailReadWithResponse ¶
func (c *ClientWithResponses) APISystemNotificationsEmailReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemNotificationsEmailReadResponse, error)
APISystemNotificationsEmailReadWithResponse request returning *APISystemNotificationsEmailReadResponse
func (*ClientWithResponses) APISystemNotificationsEmailUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemNotificationsEmailUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemNotificationsEmailUpdateResponse, error)
APISystemNotificationsEmailUpdateWithBodyWithResponse request with arbitrary body returning *APISystemNotificationsEmailUpdateResponse
func (*ClientWithResponses) APISystemNotificationsEmailUpdateWithResponse ¶
func (c *ClientWithResponses) APISystemNotificationsEmailUpdateWithResponse(ctx context.Context, body APISystemNotificationsEmailUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemNotificationsEmailUpdateResponse, error)
func (*ClientWithResponses) APISystemPackageCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemPackageCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemPackageCreateResponse, error)
APISystemPackageCreateWithBodyWithResponse request with arbitrary body returning *APISystemPackageCreateResponse
func (*ClientWithResponses) APISystemPackageCreateWithResponse ¶
func (c *ClientWithResponses) APISystemPackageCreateWithResponse(ctx context.Context, body APISystemPackageCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemPackageCreateResponse, error)
func (*ClientWithResponses) APISystemPackageDeleteWithResponse ¶
func (c *ClientWithResponses) APISystemPackageDeleteWithResponse(ctx context.Context, params *APISystemPackageDeleteParams, reqEditors ...RequestEditorFn) (*APISystemPackageDeleteResponse, error)
APISystemPackageDeleteWithResponse request returning *APISystemPackageDeleteResponse
func (*ClientWithResponses) APISystemPackageReadWithResponse ¶
func (c *ClientWithResponses) APISystemPackageReadWithResponse(ctx context.Context, params *APISystemPackageReadParams, reqEditors ...RequestEditorFn) (*APISystemPackageReadResponse, error)
APISystemPackageReadWithResponse request returning *APISystemPackageReadResponse
func (*ClientWithResponses) APISystemRebootCreateWithResponse ¶
func (c *ClientWithResponses) APISystemRebootCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemRebootCreateResponse, error)
APISystemRebootCreateWithResponse request returning *APISystemRebootCreateResponse
func (*ClientWithResponses) APISystemTableReadWithResponse ¶
func (c *ClientWithResponses) APISystemTableReadWithResponse(ctx context.Context, params *APISystemTableReadParams, reqEditors ...RequestEditorFn) (*APISystemTableReadResponse, error)
APISystemTableReadWithResponse request returning *APISystemTableReadResponse
func (*ClientWithResponses) APISystemTunableCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemTunableCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemTunableCreateResponse, error)
APISystemTunableCreateWithBodyWithResponse request with arbitrary body returning *APISystemTunableCreateResponse
func (*ClientWithResponses) APISystemTunableCreateWithResponse ¶
func (c *ClientWithResponses) APISystemTunableCreateWithResponse(ctx context.Context, body APISystemTunableCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemTunableCreateResponse, error)
func (*ClientWithResponses) APISystemTunableDeleteWithResponse ¶
func (c *ClientWithResponses) APISystemTunableDeleteWithResponse(ctx context.Context, params *APISystemTunableDeleteParams, reqEditors ...RequestEditorFn) (*APISystemTunableDeleteResponse, error)
APISystemTunableDeleteWithResponse request returning *APISystemTunableDeleteResponse
func (*ClientWithResponses) APISystemTunableReadWithResponse ¶
func (c *ClientWithResponses) APISystemTunableReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemTunableReadResponse, error)
APISystemTunableReadWithResponse request returning *APISystemTunableReadResponse
func (*ClientWithResponses) APISystemTunableUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APISystemTunableUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemTunableUpdateResponse, error)
APISystemTunableUpdateWithBodyWithResponse request with arbitrary body returning *APISystemTunableUpdateResponse
func (*ClientWithResponses) APISystemTunableUpdateWithResponse ¶
func (c *ClientWithResponses) APISystemTunableUpdateWithResponse(ctx context.Context, body APISystemTunableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemTunableUpdateResponse, error)
func (*ClientWithResponses) APISystemVersionReadWithResponse ¶
func (c *ClientWithResponses) APISystemVersionReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemVersionReadResponse, error)
APISystemVersionReadWithResponse request returning *APISystemVersionReadResponse
func (*ClientWithResponses) APISystemVersionUpgradeReadWithResponse ¶
func (c *ClientWithResponses) APISystemVersionUpgradeReadWithResponse(ctx context.Context, params *APISystemVersionUpgradeReadParams, reqEditors ...RequestEditorFn) (*APISystemVersionUpgradeReadResponse, error)
APISystemVersionUpgradeReadWithResponse request returning *APISystemVersionUpgradeReadResponse
func (*ClientWithResponses) APIUserAuthServerDeleteWithResponse ¶
func (c *ClientWithResponses) APIUserAuthServerDeleteWithResponse(ctx context.Context, params *APIUserAuthServerDeleteParams, reqEditors ...RequestEditorFn) (*APIUserAuthServerDeleteResponse, error)
APIUserAuthServerDeleteWithResponse request returning *APIUserAuthServerDeleteResponse
func (*ClientWithResponses) APIUserAuthServerLDAPCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIUserAuthServerLDAPCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserAuthServerLDAPCreateResponse, error)
APIUserAuthServerLDAPCreateWithBodyWithResponse request with arbitrary body returning *APIUserAuthServerLDAPCreateResponse
func (*ClientWithResponses) APIUserAuthServerLDAPCreateWithResponse ¶
func (c *ClientWithResponses) APIUserAuthServerLDAPCreateWithResponse(ctx context.Context, body APIUserAuthServerLDAPCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserAuthServerLDAPCreateResponse, error)
func (*ClientWithResponses) APIUserAuthServerLDAPDeleteWithResponse ¶
func (c *ClientWithResponses) APIUserAuthServerLDAPDeleteWithResponse(ctx context.Context, params *APIUserAuthServerLDAPDeleteParams, reqEditors ...RequestEditorFn) (*APIUserAuthServerLDAPDeleteResponse, error)
APIUserAuthServerLDAPDeleteWithResponse request returning *APIUserAuthServerLDAPDeleteResponse
func (*ClientWithResponses) APIUserAuthServerLDAPReadWithResponse ¶
func (c *ClientWithResponses) APIUserAuthServerLDAPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserAuthServerLDAPReadResponse, error)
APIUserAuthServerLDAPReadWithResponse request returning *APIUserAuthServerLDAPReadResponse
func (*ClientWithResponses) APIUserAuthServerRADIUSCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIUserAuthServerRADIUSCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserAuthServerRADIUSCreateResponse, error)
APIUserAuthServerRADIUSCreateWithBodyWithResponse request with arbitrary body returning *APIUserAuthServerRADIUSCreateResponse
func (*ClientWithResponses) APIUserAuthServerRADIUSCreateWithResponse ¶
func (c *ClientWithResponses) APIUserAuthServerRADIUSCreateWithResponse(ctx context.Context, body APIUserAuthServerRADIUSCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserAuthServerRADIUSCreateResponse, error)
func (*ClientWithResponses) APIUserAuthServerRADIUSDeleteWithResponse ¶
func (c *ClientWithResponses) APIUserAuthServerRADIUSDeleteWithResponse(ctx context.Context, params *APIUserAuthServerRADIUSDeleteParams, reqEditors ...RequestEditorFn) (*APIUserAuthServerRADIUSDeleteResponse, error)
APIUserAuthServerRADIUSDeleteWithResponse request returning *APIUserAuthServerRADIUSDeleteResponse
func (*ClientWithResponses) APIUserAuthServerRADIUSReadWithResponse ¶
func (c *ClientWithResponses) APIUserAuthServerRADIUSReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserAuthServerRADIUSReadResponse, error)
APIUserAuthServerRADIUSReadWithResponse request returning *APIUserAuthServerRADIUSReadResponse
func (*ClientWithResponses) APIUserAuthServerReadWithResponse ¶
func (c *ClientWithResponses) APIUserAuthServerReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserAuthServerReadResponse, error)
APIUserAuthServerReadWithResponse request returning *APIUserAuthServerReadResponse
func (*ClientWithResponses) APIUserCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIUserCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserCreateResponse, error)
APIUserCreateWithBodyWithResponse request with arbitrary body returning *APIUserCreateResponse
func (*ClientWithResponses) APIUserCreateWithResponse ¶
func (c *ClientWithResponses) APIUserCreateWithResponse(ctx context.Context, body APIUserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserCreateResponse, error)
func (*ClientWithResponses) APIUserDeleteWithResponse ¶
func (c *ClientWithResponses) APIUserDeleteWithResponse(ctx context.Context, params *APIUserDeleteParams, reqEditors ...RequestEditorFn) (*APIUserDeleteResponse, error)
APIUserDeleteWithResponse request returning *APIUserDeleteResponse
func (*ClientWithResponses) APIUserGroupCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIUserGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserGroupCreateResponse, error)
APIUserGroupCreateWithBodyWithResponse request with arbitrary body returning *APIUserGroupCreateResponse
func (*ClientWithResponses) APIUserGroupCreateWithResponse ¶
func (c *ClientWithResponses) APIUserGroupCreateWithResponse(ctx context.Context, body APIUserGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserGroupCreateResponse, error)
func (*ClientWithResponses) APIUserGroupDeleteWithResponse ¶
func (c *ClientWithResponses) APIUserGroupDeleteWithResponse(ctx context.Context, params *APIUserGroupDeleteParams, reqEditors ...RequestEditorFn) (*APIUserGroupDeleteResponse, error)
APIUserGroupDeleteWithResponse request returning *APIUserGroupDeleteResponse
func (*ClientWithResponses) APIUserGroupMemberCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIUserGroupMemberCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserGroupMemberCreateResponse, error)
APIUserGroupMemberCreateWithBodyWithResponse request with arbitrary body returning *APIUserGroupMemberCreateResponse
func (*ClientWithResponses) APIUserGroupMemberCreateWithResponse ¶
func (c *ClientWithResponses) APIUserGroupMemberCreateWithResponse(ctx context.Context, body APIUserGroupMemberCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserGroupMemberCreateResponse, error)
func (*ClientWithResponses) APIUserGroupMemberDeleteWithResponse ¶
func (c *ClientWithResponses) APIUserGroupMemberDeleteWithResponse(ctx context.Context, params *APIUserGroupMemberDeleteParams, reqEditors ...RequestEditorFn) (*APIUserGroupMemberDeleteResponse, error)
APIUserGroupMemberDeleteWithResponse request returning *APIUserGroupMemberDeleteResponse
func (*ClientWithResponses) APIUserGroupReadWithResponse ¶
func (c *ClientWithResponses) APIUserGroupReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserGroupReadResponse, error)
APIUserGroupReadWithResponse request returning *APIUserGroupReadResponse
func (*ClientWithResponses) APIUserGroupUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIUserGroupUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserGroupUpdateResponse, error)
APIUserGroupUpdateWithBodyWithResponse request with arbitrary body returning *APIUserGroupUpdateResponse
func (*ClientWithResponses) APIUserGroupUpdateWithResponse ¶
func (c *ClientWithResponses) APIUserGroupUpdateWithResponse(ctx context.Context, body APIUserGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserGroupUpdateResponse, error)
func (*ClientWithResponses) APIUserPrivilegeCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIUserPrivilegeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserPrivilegeCreateResponse, error)
APIUserPrivilegeCreateWithBodyWithResponse request with arbitrary body returning *APIUserPrivilegeCreateResponse
func (*ClientWithResponses) APIUserPrivilegeCreateWithResponse ¶
func (c *ClientWithResponses) APIUserPrivilegeCreateWithResponse(ctx context.Context, body APIUserPrivilegeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserPrivilegeCreateResponse, error)
func (*ClientWithResponses) APIUserPrivilegeDeleteWithResponse ¶
func (c *ClientWithResponses) APIUserPrivilegeDeleteWithResponse(ctx context.Context, params *APIUserPrivilegeDeleteParams, reqEditors ...RequestEditorFn) (*APIUserPrivilegeDeleteResponse, error)
APIUserPrivilegeDeleteWithResponse request returning *APIUserPrivilegeDeleteResponse
func (*ClientWithResponses) APIUserReadWithResponse ¶
func (c *ClientWithResponses) APIUserReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserReadResponse, error)
APIUserReadWithResponse request returning *APIUserReadResponse
func (*ClientWithResponses) APIUserUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) APIUserUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserUpdateResponse, error)
APIUserUpdateWithBodyWithResponse request with arbitrary body returning *APIUserUpdateResponse
func (*ClientWithResponses) APIUserUpdateWithResponse ¶
func (c *ClientWithResponses) APIUserUpdateWithResponse(ctx context.Context, body APIUserUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserUpdateResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // APIAccessTokenCreate request APIAccessTokenCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIAccessTokenCreateResponse, error) // APIDiagnosticsCommandPromptCreate request with any body APIDiagnosticsCommandPromptCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIDiagnosticsCommandPromptCreateResponse, error) APIDiagnosticsCommandPromptCreateWithResponse(ctx context.Context, body APIDiagnosticsCommandPromptCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIDiagnosticsCommandPromptCreateResponse, error) // APIFirewallAliasDelete request APIFirewallAliasDeleteWithResponse(ctx context.Context, params *APIFirewallAliasDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallAliasDeleteResponse, error) // APIFirewallAliasRead request APIFirewallAliasReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallAliasReadResponse, error) // APIFirewallAliasCreate request with any body APIFirewallAliasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallAliasCreateResponse, error) APIFirewallAliasCreateWithResponse(ctx context.Context, body APIFirewallAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallAliasCreateResponse, error) // APIFirewallAliasUpdate request with any body APIFirewallAliasUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallAliasUpdateResponse, error) APIFirewallAliasUpdateWithResponse(ctx context.Context, body APIFirewallAliasUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallAliasUpdateResponse, error) // APIFirewallAliasAdvancedRead request APIFirewallAliasAdvancedReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallAliasAdvancedReadResponse, error) // APIFirewallAliasAdvancedUpdate request with any body APIFirewallAliasAdvancedUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallAliasAdvancedUpdateResponse, error) APIFirewallAliasAdvancedUpdateWithResponse(ctx context.Context, body APIFirewallAliasAdvancedUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallAliasAdvancedUpdateResponse, error) // APIFirewallAliasEntryDelete request APIFirewallAliasEntryDeleteWithResponse(ctx context.Context, params *APIFirewallAliasEntryDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallAliasEntryDeleteResponse, error) // APIFirewallAliasEntryCreate request with any body APIFirewallAliasEntryCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallAliasEntryCreateResponse, error) APIFirewallAliasEntryCreateWithResponse(ctx context.Context, body APIFirewallAliasEntryCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallAliasEntryCreateResponse, error) // APIFirewallApplyCreate request with any body APIFirewallApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallApplyCreateResponse, error) APIFirewallApplyCreateWithResponse(ctx context.Context, body APIFirewallApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallApplyCreateResponse, error) // APIFirewallNATOneToOneDelete request APIFirewallNATOneToOneDeleteWithResponse(ctx context.Context, params *APIFirewallNATOneToOneDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneDeleteResponse, error) // APIFirewallNATOneToOneRead request APIFirewallNATOneToOneReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneReadResponse, error) // APIFirewallNATOneToOneCreate request with any body APIFirewallNATOneToOneCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneCreateResponse, error) APIFirewallNATOneToOneCreateWithResponse(ctx context.Context, body APIFirewallNATOneToOneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneCreateResponse, error) // APIFirewallNATOneToOneUpdate request with any body APIFirewallNATOneToOneUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneUpdateResponse, error) APIFirewallNATOneToOneUpdateWithResponse(ctx context.Context, body APIFirewallNATOneToOneUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOneToOneUpdateResponse, error) // APIFirewallNATOutboundRead request APIFirewallNATOutboundReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundReadResponse, error) // APIFirewallNATOutboundUpdate request with any body APIFirewallNATOutboundUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundUpdateResponse, error) APIFirewallNATOutboundUpdateWithResponse(ctx context.Context, body APIFirewallNATOutboundUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundUpdateResponse, error) // APIFirewallNATOutboundMappingDelete request APIFirewallNATOutboundMappingDeleteWithResponse(ctx context.Context, params *APIFirewallNATOutboundMappingDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingDeleteResponse, error) // APIFirewallNATOutboundMappingRead request APIFirewallNATOutboundMappingReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingReadResponse, error) // APIFirewallNATOutboundMappingCreate request with any body APIFirewallNATOutboundMappingCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingCreateResponse, error) APIFirewallNATOutboundMappingCreateWithResponse(ctx context.Context, body APIFirewallNATOutboundMappingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingCreateResponse, error) // APIFirewallNATOutboundMappingUpdate request with any body APIFirewallNATOutboundMappingUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingUpdateResponse, error) APIFirewallNATOutboundMappingUpdateWithResponse(ctx context.Context, body APIFirewallNATOutboundMappingUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundMappingUpdateResponse, error) // APIFirewallNATOutboundPortForwardDelete request APIFirewallNATOutboundPortForwardDeleteWithResponse(ctx context.Context, params *APIFirewallNATOutboundPortForwardDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardDeleteResponse, error) // APIFirewallNATOutboundPortForwardRead request APIFirewallNATOutboundPortForwardReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardReadResponse, error) // APIFirewallNATOutboundPortForwardCreate request with any body APIFirewallNATOutboundPortForwardCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardCreateResponse, error) APIFirewallNATOutboundPortForwardCreateWithResponse(ctx context.Context, body APIFirewallNATOutboundPortForwardCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardCreateResponse, error) // APIFirewallNATOutboundPortForwardUpdate request with any body APIFirewallNATOutboundPortForwardUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardUpdateResponse, error) APIFirewallNATOutboundPortForwardUpdateWithResponse(ctx context.Context, body APIFirewallNATOutboundPortForwardUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallNATOutboundPortForwardUpdateResponse, error) // APIFirewallRuleDelete request APIFirewallRuleDeleteWithResponse(ctx context.Context, params *APIFirewallRuleDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallRuleDeleteResponse, error) // APIFirewallRuleRead request APIFirewallRuleReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallRuleReadResponse, error) // APIFirewallRuleCreate request with any body APIFirewallRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallRuleCreateResponse, error) APIFirewallRuleCreateWithResponse(ctx context.Context, body APIFirewallRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallRuleCreateResponse, error) // APIFirewallRuleUpdate request with any body APIFirewallRuleUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallRuleUpdateResponse, error) APIFirewallRuleUpdateWithResponse(ctx context.Context, body APIFirewallRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallRuleUpdateResponse, error) // APIFirewallRuleFlushDelete request APIFirewallRuleFlushDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallRuleFlushDeleteResponse, error) // APIFirewallRuleFlushUpdate request with any body APIFirewallRuleFlushUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallRuleFlushUpdateResponse, error) APIFirewallRuleFlushUpdateWithResponse(ctx context.Context, body APIFirewallRuleFlushUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallRuleFlushUpdateResponse, error) // APIFirewallRuleSortUpdate request with any body APIFirewallRuleSortUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallRuleSortUpdateResponse, error) APIFirewallRuleSortUpdateWithResponse(ctx context.Context, body APIFirewallRuleSortUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallRuleSortUpdateResponse, error) // APIFirewallScheduleDelete request APIFirewallScheduleDeleteWithResponse(ctx context.Context, params *APIFirewallScheduleDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallScheduleDeleteResponse, error) // APIFirewallScheduleRead request APIFirewallScheduleReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallScheduleReadResponse, error) // APIFirewallScheduleCreate request with any body APIFirewallScheduleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallScheduleCreateResponse, error) APIFirewallScheduleCreateWithResponse(ctx context.Context, body APIFirewallScheduleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallScheduleCreateResponse, error) // APIFirewallScheduleUpdate request with any body APIFirewallScheduleUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallScheduleUpdateResponse, error) APIFirewallScheduleUpdateWithResponse(ctx context.Context, body APIFirewallScheduleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallScheduleUpdateResponse, error) // APIFirewallScheduleTimeRangeDelete request APIFirewallScheduleTimeRangeDeleteWithResponse(ctx context.Context, params *APIFirewallScheduleTimeRangeDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallScheduleTimeRangeDeleteResponse, error) // APIFirewallScheduleTimeRangeCreate request with any body APIFirewallScheduleTimeRangeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallScheduleTimeRangeCreateResponse, error) APIFirewallScheduleTimeRangeCreateWithResponse(ctx context.Context, body APIFirewallScheduleTimeRangeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallScheduleTimeRangeCreateResponse, error) // APIFirewallStatesDelete request APIFirewallStatesDeleteWithResponse(ctx context.Context, params *APIFirewallStatesDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallStatesDeleteResponse, error) // APIFirewallStatesRead request APIFirewallStatesReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallStatesReadResponse, error) // APIFirewallStatesSizeRead request APIFirewallStatesSizeReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallStatesSizeReadResponse, error) // APIFirewallStatesSizeUpdate request with any body APIFirewallStatesSizeUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallStatesSizeUpdateResponse, error) APIFirewallStatesSizeUpdateWithResponse(ctx context.Context, body APIFirewallStatesSizeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallStatesSizeUpdateResponse, error) // APIFirewallTrafficShaperDelete request APIFirewallTrafficShaperDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperDeleteResponse, error) // APIFirewallTrafficShaperRead request APIFirewallTrafficShaperReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperReadResponse, error) // APIFirewallTrafficShaperCreate request with any body APIFirewallTrafficShaperCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperCreateResponse, error) APIFirewallTrafficShaperCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperCreateResponse, error) // APIFirewallTrafficShaperUpdate request with any body APIFirewallTrafficShaperUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperUpdateResponse, error) APIFirewallTrafficShaperUpdateWithResponse(ctx context.Context, body APIFirewallTrafficShaperUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperUpdateResponse, error) // APIFirewallTrafficShaperLimiterDelete request APIFirewallTrafficShaperLimiterDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperLimiterDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterDeleteResponse, error) // APIFirewallTrafficShaperLimiterRead request APIFirewallTrafficShaperLimiterReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterReadResponse, error) // APIFirewallTrafficShaperLimiterCreate request with any body APIFirewallTrafficShaperLimiterCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterCreateResponse, error) APIFirewallTrafficShaperLimiterCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperLimiterCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterCreateResponse, error) // APIFirewallTrafficShaperLimiterBandwidthDelete request APIFirewallTrafficShaperLimiterBandwidthDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperLimiterBandwidthDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterBandwidthDeleteResponse, error) // APIFirewallTrafficShaperLimiterBandwidthCreate request with any body APIFirewallTrafficShaperLimiterBandwidthCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterBandwidthCreateResponse, error) APIFirewallTrafficShaperLimiterBandwidthCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperLimiterBandwidthCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterBandwidthCreateResponse, error) // APIFirewallTrafficShaperLimiterQueueDelete request APIFirewallTrafficShaperLimiterQueueDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperLimiterQueueDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterQueueDeleteResponse, error) // APIFirewallTrafficShaperLimiterQueueCreate request with any body APIFirewallTrafficShaperLimiterQueueCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterQueueCreateResponse, error) APIFirewallTrafficShaperLimiterQueueCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperLimiterQueueCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperLimiterQueueCreateResponse, error) // APIFirewallTrafficShaperQueueDelete request APIFirewallTrafficShaperQueueDeleteWithResponse(ctx context.Context, params *APIFirewallTrafficShaperQueueDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperQueueDeleteResponse, error) // APIFirewallTrafficShaperQueueCreate request with any body APIFirewallTrafficShaperQueueCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperQueueCreateResponse, error) APIFirewallTrafficShaperQueueCreateWithResponse(ctx context.Context, body APIFirewallTrafficShaperQueueCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallTrafficShaperQueueCreateResponse, error) // APIFirewallVirtualIPDelete request APIFirewallVirtualIPDeleteWithResponse(ctx context.Context, params *APIFirewallVirtualIPDeleteParams, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPDeleteResponse, error) // APIFirewallVirtualIPRead request APIFirewallVirtualIPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPReadResponse, error) // APIFirewallVirtualIPCreate request with any body APIFirewallVirtualIPCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPCreateResponse, error) APIFirewallVirtualIPCreateWithResponse(ctx context.Context, body APIFirewallVirtualIPCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPCreateResponse, error) // APIFirewallVirtualIPUpdate request with any body APIFirewallVirtualIPUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPUpdateResponse, error) APIFirewallVirtualIPUpdateWithResponse(ctx context.Context, body APIFirewallVirtualIPUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIFirewallVirtualIPUpdateResponse, error) // APIInterfaceDelete request APIInterfaceDeleteWithResponse(ctx context.Context, params *APIInterfaceDeleteParams, reqEditors ...RequestEditorFn) (*APIInterfaceDeleteResponse, error) // APIInterfaceRead request APIInterfaceReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceReadResponse, error) // APIInterfaceCreate request with any body APIInterfaceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceCreateResponse, error) APIInterfaceCreateWithResponse(ctx context.Context, body APIInterfaceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceCreateResponse, error) // APIInterfaceUpdate request with any body APIInterfaceUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceUpdateResponse, error) APIInterfaceUpdateWithResponse(ctx context.Context, body APIInterfaceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceUpdateResponse, error) // APIInterfaceApplyRead request APIInterfaceApplyReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceApplyReadResponse, error) // APIInterfaceApplyCreate request with any body APIInterfaceApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceApplyCreateResponse, error) APIInterfaceApplyCreateWithResponse(ctx context.Context, body APIInterfaceApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceApplyCreateResponse, error) // APIInterfaceAvailableRead request APIInterfaceAvailableReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceAvailableReadResponse, error) // APIInterfaceBridgeDelete request APIInterfaceBridgeDeleteWithResponse(ctx context.Context, params *APIInterfaceBridgeDeleteParams, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeDeleteResponse, error) // APIInterfaceBridgeRead request APIInterfaceBridgeReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeReadResponse, error) // APIInterfaceBridgeCreate request with any body APIInterfaceBridgeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeCreateResponse, error) APIInterfaceBridgeCreateWithResponse(ctx context.Context, body APIInterfaceBridgeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeCreateResponse, error) // APIInterfaceBridgeUpdate request with any body APIInterfaceBridgeUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeUpdateResponse, error) APIInterfaceBridgeUpdateWithResponse(ctx context.Context, body APIInterfaceBridgeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceBridgeUpdateResponse, error) // APIInterfaceGroupDelete request APIInterfaceGroupDeleteWithResponse(ctx context.Context, params *APIInterfaceGroupDeleteParams, reqEditors ...RequestEditorFn) (*APIInterfaceGroupDeleteResponse, error) // APIInterfaceGroupRead request APIInterfaceGroupReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceGroupReadResponse, error) // APIInterfaceGroupCreate request with any body APIInterfaceGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceGroupCreateResponse, error) APIInterfaceGroupCreateWithResponse(ctx context.Context, body APIInterfaceGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceGroupCreateResponse, error) // APIInterfaceGroupUpdate request with any body APIInterfaceGroupUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceGroupUpdateResponse, error) APIInterfaceGroupUpdateWithResponse(ctx context.Context, body APIInterfaceGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceGroupUpdateResponse, error) // APIInterfaceVLANDelete request APIInterfaceVLANDeleteWithResponse(ctx context.Context, params *APIInterfaceVLANDeleteParams, reqEditors ...RequestEditorFn) (*APIInterfaceVLANDeleteResponse, error) // APIInterfaceVLANRead request APIInterfaceVLANReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIInterfaceVLANReadResponse, error) // APIInterfaceVLANCreate request with any body APIInterfaceVLANCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceVLANCreateResponse, error) APIInterfaceVLANCreateWithResponse(ctx context.Context, body APIInterfaceVLANCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceVLANCreateResponse, error) // APIInterfaceVLANUpdate request with any body APIInterfaceVLANUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIInterfaceVLANUpdateResponse, error) APIInterfaceVLANUpdateWithResponse(ctx context.Context, body APIInterfaceVLANUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIInterfaceVLANUpdateResponse, error) // APIRoutingApplyCreate request APIRoutingApplyCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingApplyCreateResponse, error) // APIRoutingGatewayDelete request APIRoutingGatewayDeleteWithResponse(ctx context.Context, params *APIRoutingGatewayDeleteParams, reqEditors ...RequestEditorFn) (*APIRoutingGatewayDeleteResponse, error) // APIRoutingGatewayRead request APIRoutingGatewayReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingGatewayReadResponse, error) // APIRoutingGatewayCreate request with any body APIRoutingGatewayCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIRoutingGatewayCreateResponse, error) APIRoutingGatewayCreateWithResponse(ctx context.Context, body APIRoutingGatewayCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIRoutingGatewayCreateResponse, error) // APIRoutingGatewayUpdate request with any body APIRoutingGatewayUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIRoutingGatewayUpdateResponse, error) APIRoutingGatewayUpdateWithResponse(ctx context.Context, body APIRoutingGatewayUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIRoutingGatewayUpdateResponse, error) // APIRoutingGatewayDefaultUpdate request with any body APIRoutingGatewayDefaultUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIRoutingGatewayDefaultUpdateResponse, error) APIRoutingGatewayDefaultUpdateWithResponse(ctx context.Context, body APIRoutingGatewayDefaultUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIRoutingGatewayDefaultUpdateResponse, error) // APIRoutingGatewayDetailRead request APIRoutingGatewayDetailReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingGatewayDetailReadResponse, error) // APIRoutingStaticRouteDelete request APIRoutingStaticRouteDeleteWithResponse(ctx context.Context, params *APIRoutingStaticRouteDeleteParams, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteDeleteResponse, error) // APIRoutingStaticRouteRead request APIRoutingStaticRouteReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteReadResponse, error) // APIRoutingStaticRouteCreate request with any body APIRoutingStaticRouteCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteCreateResponse, error) APIRoutingStaticRouteCreateWithResponse(ctx context.Context, body APIRoutingStaticRouteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteCreateResponse, error) // APIRoutingStaticRouteUpdate request with any body APIRoutingStaticRouteUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteUpdateResponse, error) APIRoutingStaticRouteUpdateWithResponse(ctx context.Context, body APIRoutingStaticRouteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIRoutingStaticRouteUpdateResponse, error) // APIServicesRead request APIServicesReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesReadResponse, error) // APIServicesDDNSRead request APIServicesDDNSReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDDNSReadResponse, error) // APIServicesDHCPdRead request APIServicesDHCPdReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdReadResponse, error) // APIServicesDHCPdUpdate request with any body APIServicesDHCPdUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDHCPdUpdateResponse, error) APIServicesDHCPdUpdateWithResponse(ctx context.Context, body APIServicesDHCPdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDHCPdUpdateResponse, error) // APIServicesDHCPdLeaseRead request APIServicesDHCPdLeaseReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdLeaseReadResponse, error) // APIServicesDHCPdOptionsCreate request with any body APIServicesDHCPdOptionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDHCPdOptionsCreateResponse, error) APIServicesDHCPdOptionsCreateWithResponse(ctx context.Context, body APIServicesDHCPdOptionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDHCPdOptionsCreateResponse, error) // APIServicesDHCPdRestartCreate request APIServicesDHCPdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdRestartCreateResponse, error) // APIServicesDHCPdStartCreate request APIServicesDHCPdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStartCreateResponse, error) // APIServicesDHCPdStaticMappingDelete request APIServicesDHCPdStaticMappingDeleteWithResponse(ctx context.Context, params *APIServicesDHCPdStaticMappingDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingDeleteResponse, error) // APIServicesDHCPdStaticMappingRead request APIServicesDHCPdStaticMappingReadWithResponse(ctx context.Context, params *APIServicesDHCPdStaticMappingReadParams, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingReadResponse, error) // APIServicesDHCPdStaticMappingCreate request with any body APIServicesDHCPdStaticMappingCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingCreateResponse, error) APIServicesDHCPdStaticMappingCreateWithResponse(ctx context.Context, body APIServicesDHCPdStaticMappingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingCreateResponse, error) // APIServicesDHCPdStaticMappingUpdate request with any body APIServicesDHCPdStaticMappingUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingUpdateResponse, error) APIServicesDHCPdStaticMappingUpdateWithResponse(ctx context.Context, body APIServicesDHCPdStaticMappingUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStaticMappingUpdateResponse, error) // APIServicesDHCPdStopCreate request APIServicesDHCPdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDHCPdStopCreateResponse, error) // APIServicesDnsmasqRead request APIServicesDnsmasqReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqReadResponse, error) // APIServicesDnsmasqApplyCreate request APIServicesDnsmasqApplyCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqApplyCreateResponse, error) // APIServicesDnsmasqHostOverrideDelete request APIServicesDnsmasqHostOverrideDeleteWithResponse(ctx context.Context, params *APIServicesDnsmasqHostOverrideDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideDeleteResponse, error) // APIServicesDnsmasqHostOverrideRead request APIServicesDnsmasqHostOverrideReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideReadResponse, error) // APIServicesDnsmasqHostOverrideCreate request with any body APIServicesDnsmasqHostOverrideCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideCreateResponse, error) APIServicesDnsmasqHostOverrideCreateWithResponse(ctx context.Context, body APIServicesDnsmasqHostOverrideCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideCreateResponse, error) // APIServicesDnsmasqHostOverrideUpdate request with any body APIServicesDnsmasqHostOverrideUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideUpdateResponse, error) APIServicesDnsmasqHostOverrideUpdateWithResponse(ctx context.Context, body APIServicesDnsmasqHostOverrideUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideUpdateResponse, error) // APIServicesDnsmasqHostOverrideAliasCreate request with any body APIServicesDnsmasqHostOverrideAliasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideAliasCreateResponse, error) APIServicesDnsmasqHostOverrideAliasCreateWithResponse(ctx context.Context, body APIServicesDnsmasqHostOverrideAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqHostOverrideAliasCreateResponse, error) // APIServicesDnsmasqRestartCreate request APIServicesDnsmasqRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqRestartCreateResponse, error) // APIServicesDnsmasqStartCreate request APIServicesDnsmasqStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqStartCreateResponse, error) // APIServicesDnsmasqStopCreate request APIServicesDnsmasqStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDnsmasqStopCreateResponse, error) // APIServicesDpingerRestartCreate request APIServicesDpingerRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDpingerRestartCreateResponse, error) // APIServicesDpingerStartCreate request APIServicesDpingerStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDpingerStartCreateResponse, error) // APIServicesDpingerStopCreate request APIServicesDpingerStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesDpingerStopCreateResponse, error) // APIServicesIPsecApplyCreate request with any body APIServicesIPsecApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecApplyCreateResponse, error) APIServicesIPsecApplyCreateWithResponse(ctx context.Context, body APIServicesIPsecApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecApplyCreateResponse, error) // APIServicesIPsecPhase1Delete request APIServicesIPsecPhase1DeleteWithResponse(ctx context.Context, params *APIServicesIPsecPhase1DeleteParams, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1DeleteResponse, error) // APIServicesIPsecPhase1Read request APIServicesIPsecPhase1ReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1ReadResponse, error) // APIServicesIPsecPhase1Create request with any body APIServicesIPsecPhase1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1CreateResponse, error) APIServicesIPsecPhase1CreateWithResponse(ctx context.Context, body APIServicesIPsecPhase1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1CreateResponse, error) // APIServicesIPsecPhase1Update request with any body APIServicesIPsecPhase1UpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1UpdateResponse, error) APIServicesIPsecPhase1UpdateWithResponse(ctx context.Context, body APIServicesIPsecPhase1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1UpdateResponse, error) // APIServicesIPsecPhase1EncryptionCreate request with any body APIServicesIPsecPhase1EncryptionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1EncryptionCreateResponse, error) APIServicesIPsecPhase1EncryptionCreateWithResponse(ctx context.Context, body APIServicesIPsecPhase1EncryptionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase1EncryptionCreateResponse, error) // APIServicesIPsecPhase2Delete request APIServicesIPsecPhase2DeleteWithResponse(ctx context.Context, params *APIServicesIPsecPhase2DeleteParams, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2DeleteResponse, error) // APIServicesIPsecPhase2Read request APIServicesIPsecPhase2ReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2ReadResponse, error) // APIServicesIPsecPhase2Create request with any body APIServicesIPsecPhase2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2CreateResponse, error) APIServicesIPsecPhase2CreateWithResponse(ctx context.Context, body APIServicesIPsecPhase2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2CreateResponse, error) // APIServicesIPsecPhase2Update request with any body APIServicesIPsecPhase2UpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2UpdateResponse, error) APIServicesIPsecPhase2UpdateWithResponse(ctx context.Context, body APIServicesIPsecPhase2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesIPsecPhase2UpdateResponse, error) // APIServicesNTPdRead request APIServicesNTPdReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdReadResponse, error) // APIServicesNTPdUpdate request with any body APIServicesNTPdUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesNTPdUpdateResponse, error) APIServicesNTPdUpdateWithResponse(ctx context.Context, body APIServicesNTPdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesNTPdUpdateResponse, error) // APIServicesNTPdRestartCreate request APIServicesNTPdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdRestartCreateResponse, error) // APIServicesNTPdStartCreate request APIServicesNTPdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdStartCreateResponse, error) // APIServicesNTPdStopCreate request APIServicesNTPdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesNTPdStopCreateResponse, error) // APIServicesNTPdTimeServerDelete request APIServicesNTPdTimeServerDeleteWithResponse(ctx context.Context, params *APIServicesNTPdTimeServerDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesNTPdTimeServerDeleteResponse, error) // APIServicesNTPdTimeServerCreate request with any body APIServicesNTPdTimeServerCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesNTPdTimeServerCreateResponse, error) APIServicesNTPdTimeServerCreateWithResponse(ctx context.Context, body APIServicesNTPdTimeServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesNTPdTimeServerCreateResponse, error) // APIServicesOpenVPNClientRead request APIServicesOpenVPNClientReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientReadResponse, error) // APIServicesOpenVPNClientCreate request with any body APIServicesOpenVPNClientCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientCreateResponse, error) APIServicesOpenVPNClientCreateWithResponse(ctx context.Context, body APIServicesOpenVPNClientCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientCreateResponse, error) // APIServicesOpenVPNClientUpdate request with any body APIServicesOpenVPNClientUpdateWithBodyWithResponse(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientUpdateResponse, error) APIServicesOpenVPNClientUpdateWithResponse(ctx context.Context, params *APIServicesOpenVPNClientUpdateParams, body APIServicesOpenVPNClientUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientUpdateResponse, error) // APIServicesOpenVPNClientSpecificOverridesDelete request APIServicesOpenVPNClientSpecificOverridesDeleteWithResponse(ctx context.Context, params *APIServicesOpenVPNClientSpecificOverridesDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesDeleteResponse, error) // APIServicesOpenVPNClientSpecificOverridesRead request APIServicesOpenVPNClientSpecificOverridesReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesReadResponse, error) // APIServicesOpenVPNClientSpecificOverridesCreate request with any body APIServicesOpenVPNClientSpecificOverridesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesCreateResponse, error) APIServicesOpenVPNClientSpecificOverridesCreateWithResponse(ctx context.Context, body APIServicesOpenVPNClientSpecificOverridesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesCreateResponse, error) // APIServicesOpenVPNClientSpecificOverridesUpdate request with any body APIServicesOpenVPNClientSpecificOverridesUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesUpdateResponse, error) APIServicesOpenVPNClientSpecificOverridesUpdateWithResponse(ctx context.Context, body APIServicesOpenVPNClientSpecificOverridesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNClientSpecificOverridesUpdateResponse, error) // APIServicesOpenVPNServerRead request APIServicesOpenVPNServerReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerReadResponse, error) // APIServicesOpenVPNServerCreate request with any body APIServicesOpenVPNServerCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerCreateResponse, error) APIServicesOpenVPNServerCreateWithResponse(ctx context.Context, body APIServicesOpenVPNServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerCreateResponse, error) // APIServicesOpenVPNServerUpdate request with any body APIServicesOpenVPNServerUpdateWithBodyWithResponse(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerUpdateResponse, error) APIServicesOpenVPNServerUpdateWithResponse(ctx context.Context, params *APIServicesOpenVPNServerUpdateParams, body APIServicesOpenVPNServerUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesOpenVPNServerUpdateResponse, error) // APIServicesRestartCreate request with any body APIServicesRestartCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesRestartCreateResponse, error) APIServicesRestartCreateWithResponse(ctx context.Context, body APIServicesRestartCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesRestartCreateResponse, error) // APIServicesServiceWatchdogRead request APIServicesServiceWatchdogReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesServiceWatchdogReadResponse, error) // APIServicesServiceWatchdogUpdate request with any body APIServicesServiceWatchdogUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesServiceWatchdogUpdateResponse, error) APIServicesServiceWatchdogUpdateWithResponse(ctx context.Context, body APIServicesServiceWatchdogUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesServiceWatchdogUpdateResponse, error) // APIServicesSSHdRead request APIServicesSSHdReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdReadResponse, error) // APIServicesSSHdUpdate request with any body APIServicesSSHdUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesSSHdUpdateResponse, error) APIServicesSSHdUpdateWithResponse(ctx context.Context, body APIServicesSSHdUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesSSHdUpdateResponse, error) // APIServicesSSHdRestartCreate request APIServicesSSHdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdRestartCreateResponse, error) // APIServicesSSHdStartCreate request APIServicesSSHdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdStartCreateResponse, error) // APIServicesSSHdStopCreate request APIServicesSSHdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSSHdStopCreateResponse, error) // APIServicesStartCreate request APIServicesStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesStartCreateResponse, error) // APIServicesStopCreate request with any body APIServicesStopCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesStopCreateResponse, error) APIServicesStopCreateWithResponse(ctx context.Context, body APIServicesStopCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesStopCreateResponse, error) // APIServicesSyslogdRestartCreate request APIServicesSyslogdRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSyslogdRestartCreateResponse, error) // APIServicesSyslogdStartCreate request APIServicesSyslogdStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSyslogdStartCreateResponse, error) // APIServicesSyslogdStopCreate request APIServicesSyslogdStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesSyslogdStopCreateResponse, error) // APIServicesUnboundRead request APIServicesUnboundReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundReadResponse, error) // APIServicesUnboundAccessListDelete request APIServicesUnboundAccessListDeleteWithResponse(ctx context.Context, params *APIServicesUnboundAccessListDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListDeleteResponse, error) // APIServicesUnboundAccessListRead request APIServicesUnboundAccessListReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListReadResponse, error) // APIServicesUnboundAccessListCreate request with any body APIServicesUnboundAccessListCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListCreateResponse, error) APIServicesUnboundAccessListCreateWithResponse(ctx context.Context, body APIServicesUnboundAccessListCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListCreateResponse, error) // APIServicesUnboundAccessListUpdate request with any body APIServicesUnboundAccessListUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListUpdateResponse, error) APIServicesUnboundAccessListUpdateWithResponse(ctx context.Context, body APIServicesUnboundAccessListUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListUpdateResponse, error) // APIServicesUnboundAccessListRowCreate request with any body APIServicesUnboundAccessListRowCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListRowCreateResponse, error) APIServicesUnboundAccessListRowCreateWithResponse(ctx context.Context, body APIServicesUnboundAccessListRowCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundAccessListRowCreateResponse, error) // APIServicesUnboundApplyRead request APIServicesUnboundApplyReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundApplyReadResponse, error) // APIServicesUnboundApplyCreate request with any body APIServicesUnboundApplyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundApplyCreateResponse, error) APIServicesUnboundApplyCreateWithResponse(ctx context.Context, body APIServicesUnboundApplyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundApplyCreateResponse, error) // APIServicesUnboundHostOverrideDelete request APIServicesUnboundHostOverrideDeleteWithResponse(ctx context.Context, params *APIServicesUnboundHostOverrideDeleteParams, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideDeleteResponse, error) // APIServicesUnboundHostOverrideRead request APIServicesUnboundHostOverrideReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideReadResponse, error) // APIServicesUnboundHostOverrideCreate request with any body APIServicesUnboundHostOverrideCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideCreateResponse, error) APIServicesUnboundHostOverrideCreateWithResponse(ctx context.Context, body APIServicesUnboundHostOverrideCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideCreateResponse, error) // APIServicesUnboundHostOverrideUpdate request with any body APIServicesUnboundHostOverrideUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideUpdateResponse, error) APIServicesUnboundHostOverrideUpdateWithResponse(ctx context.Context, body APIServicesUnboundHostOverrideUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideUpdateResponse, error) // APIServicesUnboundHostOverrideAliasCreate request with any body APIServicesUnboundHostOverrideAliasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideAliasCreateResponse, error) APIServicesUnboundHostOverrideAliasCreateWithResponse(ctx context.Context, body APIServicesUnboundHostOverrideAliasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideAliasCreateResponse, error) // APIServicesUnboundHostOverrideFlushDelete request APIServicesUnboundHostOverrideFlushDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideFlushDeleteResponse, error) // APIServicesUnboundHostOverrideFlushUpdate request with any body APIServicesUnboundHostOverrideFlushUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideFlushUpdateResponse, error) APIServicesUnboundHostOverrideFlushUpdateWithResponse(ctx context.Context, body APIServicesUnboundHostOverrideFlushUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesUnboundHostOverrideFlushUpdateResponse, error) // APIServicesUnboundRestartCreate request APIServicesUnboundRestartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundRestartCreateResponse, error) // APIServicesUnboundStartCreate request APIServicesUnboundStartCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundStartCreateResponse, error) // APIServicesUnboundStopCreate request APIServicesUnboundStopCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIServicesUnboundStopCreateResponse, error) // APIServicesWOLSendCreate request with any body APIServicesWOLSendCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIServicesWOLSendCreateResponse, error) APIServicesWOLSendCreateWithResponse(ctx context.Context, body APIServicesWOLSendCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIServicesWOLSendCreateResponse, error) // APIStatusCARPRead request APIStatusCARPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusCARPReadResponse, error) // APIStatusCARPUpdate request with any body APIStatusCARPUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIStatusCARPUpdateResponse, error) APIStatusCARPUpdateWithResponse(ctx context.Context, body APIStatusCARPUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIStatusCARPUpdateResponse, error) // APIStatusGatewayRead request APIStatusGatewayReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusGatewayReadResponse, error) // APIStatusInterfaceRead request APIStatusInterfaceReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusInterfaceReadResponse, error) // APIStatusIPsecRead request APIStatusIPsecReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusIPsecReadResponse, error) // APIStatusLogConfigHistoryRead request APIStatusLogConfigHistoryReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogConfigHistoryReadResponse, error) // APIStatusLogDHCPRead request APIStatusLogDHCPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogDHCPReadResponse, error) // APIStatusLogFirewallRead request APIStatusLogFirewallReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogFirewallReadResponse, error) // APIStatusLogSettingsUpdate request with any body APIStatusLogSettingsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIStatusLogSettingsUpdateResponse, error) APIStatusLogSettingsUpdateWithResponse(ctx context.Context, body APIStatusLogSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIStatusLogSettingsUpdateResponse, error) // APIStatusLogSystemRead request APIStatusLogSystemReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusLogSystemReadResponse, error) // APIStatusOpenVPNRead request APIStatusOpenVPNReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusOpenVPNReadResponse, error) // APIStatusSystemRead request APIStatusSystemReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIStatusSystemReadResponse, error) // APISystemAPIRead request APISystemAPIReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemAPIReadResponse, error) // APISystemAPIUpdate request with any body APISystemAPIUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemAPIUpdateResponse, error) APISystemAPIUpdateWithResponse(ctx context.Context, body APISystemAPIUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemAPIUpdateResponse, error) // APISystemAPIErrorRead request APISystemAPIErrorReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemAPIErrorReadResponse, error) // APISystemAPIVersionRead request APISystemAPIVersionReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemAPIVersionReadResponse, error) // APISystemARPDelete request APISystemARPDeleteWithResponse(ctx context.Context, params *APISystemARPDeleteParams, reqEditors ...RequestEditorFn) (*APISystemARPDeleteResponse, error) // APISystemARPRead request APISystemARPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemARPReadResponse, error) // APISystemCADelete request APISystemCADeleteWithResponse(ctx context.Context, params *APISystemCADeleteParams, reqEditors ...RequestEditorFn) (*APISystemCADeleteResponse, error) // APISystemCARead request APISystemCAReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemCAReadResponse, error) // APISystemCACreate request with any body APISystemCACreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemCACreateResponse, error) APISystemCACreateWithResponse(ctx context.Context, body APISystemCACreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemCACreateResponse, error) // APISystemCertificateDelete request APISystemCertificateDeleteWithResponse(ctx context.Context, params *APISystemCertificateDeleteParams, reqEditors ...RequestEditorFn) (*APISystemCertificateDeleteResponse, error) // APISystemCertificateRead request APISystemCertificateReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemCertificateReadResponse, error) // APISystemCertificateCreate request with any body APISystemCertificateCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemCertificateCreateResponse, error) APISystemCertificateCreateWithResponse(ctx context.Context, body APISystemCertificateCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemCertificateCreateResponse, error) // APISystemCertificateUpdate request with any body APISystemCertificateUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemCertificateUpdateResponse, error) APISystemCertificateUpdateWithResponse(ctx context.Context, body APISystemCertificateUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemCertificateUpdateResponse, error) // APISystemConfigRead request APISystemConfigReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemConfigReadResponse, error) // APISystemConfigUpdate request with any body APISystemConfigUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemConfigUpdateResponse, error) // APISystemConsoleUpdate request with any body APISystemConsoleUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemConsoleUpdateResponse, error) APISystemConsoleUpdateWithResponse(ctx context.Context, body APISystemConsoleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemConsoleUpdateResponse, error) // APISystemCRLDelete request APISystemCRLDeleteWithResponse(ctx context.Context, params *APISystemCRLDeleteParams, reqEditors ...RequestEditorFn) (*APISystemCRLDeleteResponse, error) // APISystemCRLRead request APISystemCRLReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemCRLReadResponse, error) // APISystemCRLCreate request with any body APISystemCRLCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemCRLCreateResponse, error) APISystemCRLCreateWithResponse(ctx context.Context, body APISystemCRLCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemCRLCreateResponse, error) // APISystemDNSRead request APISystemDNSReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemDNSReadResponse, error) // APISystemDNSUpdate request with any body APISystemDNSUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemDNSUpdateResponse, error) APISystemDNSUpdateWithResponse(ctx context.Context, body APISystemDNSUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemDNSUpdateResponse, error) // APISystemDNSServerDelete request APISystemDNSServerDeleteWithResponse(ctx context.Context, params *APISystemDNSServerDeleteParams, reqEditors ...RequestEditorFn) (*APISystemDNSServerDeleteResponse, error) // APISystemDNSServerCreate request with any body APISystemDNSServerCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemDNSServerCreateResponse, error) APISystemDNSServerCreateWithResponse(ctx context.Context, body APISystemDNSServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemDNSServerCreateResponse, error) // APISystemHaltCreate request APISystemHaltCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemHaltCreateResponse, error) // APISystemHostnameRead request APISystemHostnameReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemHostnameReadResponse, error) // APISystemHostnameUpdate request with any body APISystemHostnameUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemHostnameUpdateResponse, error) APISystemHostnameUpdateWithResponse(ctx context.Context, body APISystemHostnameUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemHostnameUpdateResponse, error) // APISystemNotificationsEmailRead request APISystemNotificationsEmailReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemNotificationsEmailReadResponse, error) // APISystemNotificationsEmailUpdate request with any body APISystemNotificationsEmailUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemNotificationsEmailUpdateResponse, error) APISystemNotificationsEmailUpdateWithResponse(ctx context.Context, body APISystemNotificationsEmailUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemNotificationsEmailUpdateResponse, error) // APISystemPackageDelete request APISystemPackageDeleteWithResponse(ctx context.Context, params *APISystemPackageDeleteParams, reqEditors ...RequestEditorFn) (*APISystemPackageDeleteResponse, error) // APISystemPackageRead request APISystemPackageReadWithResponse(ctx context.Context, params *APISystemPackageReadParams, reqEditors ...RequestEditorFn) (*APISystemPackageReadResponse, error) // APISystemPackageCreate request with any body APISystemPackageCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemPackageCreateResponse, error) APISystemPackageCreateWithResponse(ctx context.Context, body APISystemPackageCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemPackageCreateResponse, error) // APISystemRebootCreate request APISystemRebootCreateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemRebootCreateResponse, error) // APISystemTableRead request APISystemTableReadWithResponse(ctx context.Context, params *APISystemTableReadParams, reqEditors ...RequestEditorFn) (*APISystemTableReadResponse, error) // APISystemTunableDelete request APISystemTunableDeleteWithResponse(ctx context.Context, params *APISystemTunableDeleteParams, reqEditors ...RequestEditorFn) (*APISystemTunableDeleteResponse, error) // APISystemTunableRead request APISystemTunableReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemTunableReadResponse, error) // APISystemTunableCreate request with any body APISystemTunableCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemTunableCreateResponse, error) APISystemTunableCreateWithResponse(ctx context.Context, body APISystemTunableCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemTunableCreateResponse, error) // APISystemTunableUpdate request with any body APISystemTunableUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APISystemTunableUpdateResponse, error) APISystemTunableUpdateWithResponse(ctx context.Context, body APISystemTunableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APISystemTunableUpdateResponse, error) // APISystemVersionRead request APISystemVersionReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APISystemVersionReadResponse, error) // APISystemVersionUpgradeRead request APISystemVersionUpgradeReadWithResponse(ctx context.Context, params *APISystemVersionUpgradeReadParams, reqEditors ...RequestEditorFn) (*APISystemVersionUpgradeReadResponse, error) // APIUserDelete request APIUserDeleteWithResponse(ctx context.Context, params *APIUserDeleteParams, reqEditors ...RequestEditorFn) (*APIUserDeleteResponse, error) // APIUserRead request APIUserReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserReadResponse, error) // APIUserCreate request with any body APIUserCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserCreateResponse, error) APIUserCreateWithResponse(ctx context.Context, body APIUserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserCreateResponse, error) // APIUserUpdate request with any body APIUserUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserUpdateResponse, error) APIUserUpdateWithResponse(ctx context.Context, body APIUserUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserUpdateResponse, error) // APIUserAuthServerDelete request APIUserAuthServerDeleteWithResponse(ctx context.Context, params *APIUserAuthServerDeleteParams, reqEditors ...RequestEditorFn) (*APIUserAuthServerDeleteResponse, error) // APIUserAuthServerRead request APIUserAuthServerReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserAuthServerReadResponse, error) // APIUserAuthServerLDAPDelete request APIUserAuthServerLDAPDeleteWithResponse(ctx context.Context, params *APIUserAuthServerLDAPDeleteParams, reqEditors ...RequestEditorFn) (*APIUserAuthServerLDAPDeleteResponse, error) // APIUserAuthServerLDAPRead request APIUserAuthServerLDAPReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserAuthServerLDAPReadResponse, error) // APIUserAuthServerLDAPCreate request with any body APIUserAuthServerLDAPCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserAuthServerLDAPCreateResponse, error) APIUserAuthServerLDAPCreateWithResponse(ctx context.Context, body APIUserAuthServerLDAPCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserAuthServerLDAPCreateResponse, error) // APIUserAuthServerRADIUSDelete request APIUserAuthServerRADIUSDeleteWithResponse(ctx context.Context, params *APIUserAuthServerRADIUSDeleteParams, reqEditors ...RequestEditorFn) (*APIUserAuthServerRADIUSDeleteResponse, error) // APIUserAuthServerRADIUSRead request APIUserAuthServerRADIUSReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserAuthServerRADIUSReadResponse, error) // APIUserAuthServerRADIUSCreate request with any body APIUserAuthServerRADIUSCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserAuthServerRADIUSCreateResponse, error) APIUserAuthServerRADIUSCreateWithResponse(ctx context.Context, body APIUserAuthServerRADIUSCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserAuthServerRADIUSCreateResponse, error) // APIUserGroupDelete request APIUserGroupDeleteWithResponse(ctx context.Context, params *APIUserGroupDeleteParams, reqEditors ...RequestEditorFn) (*APIUserGroupDeleteResponse, error) // APIUserGroupRead request APIUserGroupReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIUserGroupReadResponse, error) // APIUserGroupCreate request with any body APIUserGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserGroupCreateResponse, error) APIUserGroupCreateWithResponse(ctx context.Context, body APIUserGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserGroupCreateResponse, error) // APIUserGroupUpdate request with any body APIUserGroupUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserGroupUpdateResponse, error) APIUserGroupUpdateWithResponse(ctx context.Context, body APIUserGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserGroupUpdateResponse, error) // APIUserGroupMemberDelete request APIUserGroupMemberDeleteWithResponse(ctx context.Context, params *APIUserGroupMemberDeleteParams, reqEditors ...RequestEditorFn) (*APIUserGroupMemberDeleteResponse, error) // APIUserGroupMemberCreate request with any body APIUserGroupMemberCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserGroupMemberCreateResponse, error) APIUserGroupMemberCreateWithResponse(ctx context.Context, body APIUserGroupMemberCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserGroupMemberCreateResponse, error) // APIUserPrivilegeDelete request APIUserPrivilegeDeleteWithResponse(ctx context.Context, params *APIUserPrivilegeDeleteParams, reqEditors ...RequestEditorFn) (*APIUserPrivilegeDeleteResponse, error) // APIUserPrivilegeCreate request with any body APIUserPrivilegeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIUserPrivilegeCreateResponse, error) APIUserPrivilegeCreateWithResponse(ctx context.Context, body APIUserPrivilegeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIUserPrivilegeCreateResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type Response ¶
type Response struct { // Code HTTP status code. Code *int `json:"code,omitempty"` // Data API response data. Data *Response_Data `json:"data,omitempty"` // Message API response message. Message *string `json:"message,omitempty"` // Return API response/error code. Return *int `json:"return,omitempty"` // Status HTTP status message. Status *string `json:"status,omitempty"` }
Response defines model for Response.
type Response_Data ¶
type Response_Data struct {
// contains filtered or unexported fields
}
Response_Data API response data.
func (Response_Data) AsResponseData0 ¶
func (t Response_Data) AsResponseData0() (ResponseData0, error)
AsResponseData0 returns the union data inside the Response_Data as a ResponseData0
func (Response_Data) AsResponseData1 ¶
func (t Response_Data) AsResponseData1() (ResponseData1, error)
AsResponseData1 returns the union data inside the Response_Data as a ResponseData1
func (*Response_Data) FromResponseData0 ¶
func (t *Response_Data) FromResponseData0(v ResponseData0) error
FromResponseData0 overwrites any union data inside the Response_Data as the provided ResponseData0
func (*Response_Data) FromResponseData1 ¶
func (t *Response_Data) FromResponseData1(v ResponseData1) error
FromResponseData1 overwrites any union data inside the Response_Data as the provided ResponseData1
func (Response_Data) MarshalJSON ¶
func (t Response_Data) MarshalJSON() ([]byte, error)
func (*Response_Data) MergeResponseData0 ¶
func (t *Response_Data) MergeResponseData0(v ResponseData0) error
MergeResponseData0 performs a merge with any union data inside the Response_Data, using the provided ResponseData0
func (*Response_Data) MergeResponseData1 ¶
func (t *Response_Data) MergeResponseData1(v ResponseData1) error
MergeResponseData1 performs a merge with any union data inside the Response_Data, using the provided ResponseData1
func (*Response_Data) UnmarshalJSON ¶
func (t *Response_Data) UnmarshalJSON(b []byte) error