From 50cfea8d4f4e5fd2cf900da576c1f27d7ca2ed76 Mon Sep 17 00:00:00 2001 From: John Beisley Date: Tue, 31 Dec 2013 17:06:15 +0000 Subject: [PATCH] Inline request/response structures. --- cmd/specgen/pkgtmpl.go | 22 +- dcps/internetgateway1/internetgateway1.go | 1968 +++++++--------- dcps/internetgateway2/internetgateway2.go | 2617 +++++++++------------ 3 files changed, 1852 insertions(+), 2755 deletions(-) diff --git a/cmd/specgen/pkgtmpl.go b/cmd/specgen/pkgtmpl.go index d99e83b..7fe6011 100644 --- a/cmd/specgen/pkgtmpl.go +++ b/cmd/specgen/pkgtmpl.go @@ -34,19 +34,6 @@ type {{$srvIdent}} struct { {{range .SCPD.Actions}}{{/* loops over *SCPDWithURN values */}} -{{$reqType := printf "_%s_%s_Request" $srvIdent .Name}} -{{$respType := printf "_%s_%s_Response" $srvIdent .Name}} - -// {{$reqType}} is the XML structure for the input arguments for action {{.Name}}. -type {{$reqType}} struct {{"{"}}{{range .Arguments}}{{if .IsInput}} - {{.Name}} string -{{end}}{{end}}} - -// {{$respType}} is the XML structure for the output arguments for action {{.Name}}. -type {{$respType}} struct {{"{"}}{{range .Arguments}}{{if .IsOutput}} - {{.Name}} string -{{end}}{{end}}} - // {{.Name}} action. // Arguments: //{{range .Arguments}}{{if .IsInput}} @@ -75,7 +62,9 @@ func (client *{{$srvIdent}}) {{.Name}}({{range .Arguments}}{{if .IsInput}} {{$argWrap := $srv.Argument .}}{{$argWrap.AsParameter}},{{end}}{{end}} err error, ) { - var request {{$reqType}} + // Request structure. + var request struct {{"{"}}{{range .Arguments}}{{if .IsInput}}{{.Name}} string +{{end}}{{end}}} // BEGIN Marshal arguments into request. {{range .Arguments}}{{if .IsInput}}{{$argWrap := $srv.Argument .}} if request.{{.Name}}, err = {{$argWrap.Marshal}}; err != nil { @@ -84,8 +73,11 @@ func (client *{{$srvIdent}}) {{.Name}}({{range .Arguments}}{{if .IsInput}} {{end}}{{end}} // END Marshal arguments into request. + // Response structure. + var response struct {{"{"}}{{range .Arguments}}{{if .IsOutput}}{{.Name}} string +{{end}}{{end}}} + // Perform the SOAP call. - var response {{$respType}} if err = client.SOAPClient.PerformAction({{$srv.URNParts.Const}}, "{{.Name}}", &request, &response); err != nil { return } diff --git a/dcps/internetgateway1/internetgateway1.go b/dcps/internetgateway1/internetgateway1.go index 845fbb3..61590fc 100644 --- a/dcps/internetgateway1/internetgateway1.go +++ b/dcps/internetgateway1/internetgateway1.go @@ -42,14 +42,6 @@ type LANHostConfigManagement1 struct { SOAPClient soap.SOAPClient } -// _LANHostConfigManagement1_SetDHCPServerConfigurable_Request is the XML structure for the input arguments for action SetDHCPServerConfigurable. -type _LANHostConfigManagement1_SetDHCPServerConfigurable_Request struct { - NewDHCPServerConfigurable string -} - -// _LANHostConfigManagement1_SetDHCPServerConfigurable_Response is the XML structure for the output arguments for action SetDHCPServerConfigurable. -type _LANHostConfigManagement1_SetDHCPServerConfigurable_Response struct{} - // SetDHCPServerConfigurable action. // Arguments: // @@ -67,7 +59,10 @@ func (client *LANHostConfigManagement1) SetDHCPServerConfigurable( ) ( err error, ) { - var request _LANHostConfigManagement1_SetDHCPServerConfigurable_Request + // Request structure. + var request struct { + NewDHCPServerConfigurable string + } // BEGIN Marshal arguments into request. if request.NewDHCPServerConfigurable, err = soap.MarshalBoolean(NewDHCPServerConfigurable); err != nil { @@ -76,8 +71,10 @@ func (client *LANHostConfigManagement1) SetDHCPServerConfigurable( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetDHCPServerConfigurable_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetDHCPServerConfigurable", &request, &response); err != nil { return } @@ -88,14 +85,6 @@ func (client *LANHostConfigManagement1) SetDHCPServerConfigurable( return } -// _LANHostConfigManagement1_GetDHCPServerConfigurable_Request is the XML structure for the input arguments for action GetDHCPServerConfigurable. -type _LANHostConfigManagement1_GetDHCPServerConfigurable_Request struct{} - -// _LANHostConfigManagement1_GetDHCPServerConfigurable_Response is the XML structure for the output arguments for action GetDHCPServerConfigurable. -type _LANHostConfigManagement1_GetDHCPServerConfigurable_Response struct { - NewDHCPServerConfigurable string -} - // GetDHCPServerConfigurable action. // Arguments: // @@ -112,13 +101,18 @@ func (client *LANHostConfigManagement1) GetDHCPServerConfigurable() ( NewDHCPServerConfigurable bool, err error, ) { - var request _LANHostConfigManagement1_GetDHCPServerConfigurable_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDHCPServerConfigurable string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetDHCPServerConfigurable_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetDHCPServerConfigurable", &request, &response); err != nil { return } @@ -133,14 +127,6 @@ func (client *LANHostConfigManagement1) GetDHCPServerConfigurable() ( return } -// _LANHostConfigManagement1_SetDHCPRelay_Request is the XML structure for the input arguments for action SetDHCPRelay. -type _LANHostConfigManagement1_SetDHCPRelay_Request struct { - NewDHCPRelay string -} - -// _LANHostConfigManagement1_SetDHCPRelay_Response is the XML structure for the output arguments for action SetDHCPRelay. -type _LANHostConfigManagement1_SetDHCPRelay_Response struct{} - // SetDHCPRelay action. // Arguments: // @@ -158,7 +144,10 @@ func (client *LANHostConfigManagement1) SetDHCPRelay( ) ( err error, ) { - var request _LANHostConfigManagement1_SetDHCPRelay_Request + // Request structure. + var request struct { + NewDHCPRelay string + } // BEGIN Marshal arguments into request. if request.NewDHCPRelay, err = soap.MarshalBoolean(NewDHCPRelay); err != nil { @@ -167,8 +156,10 @@ func (client *LANHostConfigManagement1) SetDHCPRelay( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetDHCPRelay_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetDHCPRelay", &request, &response); err != nil { return } @@ -179,14 +170,6 @@ func (client *LANHostConfigManagement1) SetDHCPRelay( return } -// _LANHostConfigManagement1_GetDHCPRelay_Request is the XML structure for the input arguments for action GetDHCPRelay. -type _LANHostConfigManagement1_GetDHCPRelay_Request struct{} - -// _LANHostConfigManagement1_GetDHCPRelay_Response is the XML structure for the output arguments for action GetDHCPRelay. -type _LANHostConfigManagement1_GetDHCPRelay_Response struct { - NewDHCPRelay string -} - // GetDHCPRelay action. // Arguments: // @@ -203,13 +186,18 @@ func (client *LANHostConfigManagement1) GetDHCPRelay() ( NewDHCPRelay bool, err error, ) { - var request _LANHostConfigManagement1_GetDHCPRelay_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDHCPRelay string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetDHCPRelay_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetDHCPRelay", &request, &response); err != nil { return } @@ -224,14 +212,6 @@ func (client *LANHostConfigManagement1) GetDHCPRelay() ( return } -// _LANHostConfigManagement1_SetSubnetMask_Request is the XML structure for the input arguments for action SetSubnetMask. -type _LANHostConfigManagement1_SetSubnetMask_Request struct { - NewSubnetMask string -} - -// _LANHostConfigManagement1_SetSubnetMask_Response is the XML structure for the output arguments for action SetSubnetMask. -type _LANHostConfigManagement1_SetSubnetMask_Response struct{} - // SetSubnetMask action. // Arguments: // @@ -249,7 +229,10 @@ func (client *LANHostConfigManagement1) SetSubnetMask( ) ( err error, ) { - var request _LANHostConfigManagement1_SetSubnetMask_Request + // Request structure. + var request struct { + NewSubnetMask string + } // BEGIN Marshal arguments into request. if request.NewSubnetMask, err = soap.MarshalString(NewSubnetMask); err != nil { @@ -258,8 +241,10 @@ func (client *LANHostConfigManagement1) SetSubnetMask( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetSubnetMask_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetSubnetMask", &request, &response); err != nil { return } @@ -270,14 +255,6 @@ func (client *LANHostConfigManagement1) SetSubnetMask( return } -// _LANHostConfigManagement1_GetSubnetMask_Request is the XML structure for the input arguments for action GetSubnetMask. -type _LANHostConfigManagement1_GetSubnetMask_Request struct{} - -// _LANHostConfigManagement1_GetSubnetMask_Response is the XML structure for the output arguments for action GetSubnetMask. -type _LANHostConfigManagement1_GetSubnetMask_Response struct { - NewSubnetMask string -} - // GetSubnetMask action. // Arguments: // @@ -294,13 +271,18 @@ func (client *LANHostConfigManagement1) GetSubnetMask() ( NewSubnetMask string, err error, ) { - var request _LANHostConfigManagement1_GetSubnetMask_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewSubnetMask string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetSubnetMask_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetSubnetMask", &request, &response); err != nil { return } @@ -315,14 +297,6 @@ func (client *LANHostConfigManagement1) GetSubnetMask() ( return } -// _LANHostConfigManagement1_SetIPRouter_Request is the XML structure for the input arguments for action SetIPRouter. -type _LANHostConfigManagement1_SetIPRouter_Request struct { - NewIPRouters string -} - -// _LANHostConfigManagement1_SetIPRouter_Response is the XML structure for the output arguments for action SetIPRouter. -type _LANHostConfigManagement1_SetIPRouter_Response struct{} - // SetIPRouter action. // Arguments: // @@ -340,7 +314,10 @@ func (client *LANHostConfigManagement1) SetIPRouter( ) ( err error, ) { - var request _LANHostConfigManagement1_SetIPRouter_Request + // Request structure. + var request struct { + NewIPRouters string + } // BEGIN Marshal arguments into request. if request.NewIPRouters, err = soap.MarshalString(NewIPRouters); err != nil { @@ -349,8 +326,10 @@ func (client *LANHostConfigManagement1) SetIPRouter( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetIPRouter_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetIPRouter", &request, &response); err != nil { return } @@ -361,14 +340,6 @@ func (client *LANHostConfigManagement1) SetIPRouter( return } -// _LANHostConfigManagement1_DeleteIPRouter_Request is the XML structure for the input arguments for action DeleteIPRouter. -type _LANHostConfigManagement1_DeleteIPRouter_Request struct { - NewIPRouters string -} - -// _LANHostConfigManagement1_DeleteIPRouter_Response is the XML structure for the output arguments for action DeleteIPRouter. -type _LANHostConfigManagement1_DeleteIPRouter_Response struct{} - // DeleteIPRouter action. // Arguments: // @@ -386,7 +357,10 @@ func (client *LANHostConfigManagement1) DeleteIPRouter( ) ( err error, ) { - var request _LANHostConfigManagement1_DeleteIPRouter_Request + // Request structure. + var request struct { + NewIPRouters string + } // BEGIN Marshal arguments into request. if request.NewIPRouters, err = soap.MarshalString(NewIPRouters); err != nil { @@ -395,8 +369,10 @@ func (client *LANHostConfigManagement1) DeleteIPRouter( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_DeleteIPRouter_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "DeleteIPRouter", &request, &response); err != nil { return } @@ -407,14 +383,6 @@ func (client *LANHostConfigManagement1) DeleteIPRouter( return } -// _LANHostConfigManagement1_GetIPRoutersList_Request is the XML structure for the input arguments for action GetIPRoutersList. -type _LANHostConfigManagement1_GetIPRoutersList_Request struct{} - -// _LANHostConfigManagement1_GetIPRoutersList_Response is the XML structure for the output arguments for action GetIPRoutersList. -type _LANHostConfigManagement1_GetIPRoutersList_Response struct { - NewIPRouters string -} - // GetIPRoutersList action. // Arguments: // @@ -431,13 +399,18 @@ func (client *LANHostConfigManagement1) GetIPRoutersList() ( NewIPRouters string, err error, ) { - var request _LANHostConfigManagement1_GetIPRoutersList_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewIPRouters string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetIPRoutersList_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetIPRoutersList", &request, &response); err != nil { return } @@ -452,14 +425,6 @@ func (client *LANHostConfigManagement1) GetIPRoutersList() ( return } -// _LANHostConfigManagement1_SetDomainName_Request is the XML structure for the input arguments for action SetDomainName. -type _LANHostConfigManagement1_SetDomainName_Request struct { - NewDomainName string -} - -// _LANHostConfigManagement1_SetDomainName_Response is the XML structure for the output arguments for action SetDomainName. -type _LANHostConfigManagement1_SetDomainName_Response struct{} - // SetDomainName action. // Arguments: // @@ -477,7 +442,10 @@ func (client *LANHostConfigManagement1) SetDomainName( ) ( err error, ) { - var request _LANHostConfigManagement1_SetDomainName_Request + // Request structure. + var request struct { + NewDomainName string + } // BEGIN Marshal arguments into request. if request.NewDomainName, err = soap.MarshalString(NewDomainName); err != nil { @@ -486,8 +454,10 @@ func (client *LANHostConfigManagement1) SetDomainName( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetDomainName_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetDomainName", &request, &response); err != nil { return } @@ -498,14 +468,6 @@ func (client *LANHostConfigManagement1) SetDomainName( return } -// _LANHostConfigManagement1_GetDomainName_Request is the XML structure for the input arguments for action GetDomainName. -type _LANHostConfigManagement1_GetDomainName_Request struct{} - -// _LANHostConfigManagement1_GetDomainName_Response is the XML structure for the output arguments for action GetDomainName. -type _LANHostConfigManagement1_GetDomainName_Response struct { - NewDomainName string -} - // GetDomainName action. // Arguments: // @@ -522,13 +484,18 @@ func (client *LANHostConfigManagement1) GetDomainName() ( NewDomainName string, err error, ) { - var request _LANHostConfigManagement1_GetDomainName_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDomainName string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetDomainName_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetDomainName", &request, &response); err != nil { return } @@ -543,16 +510,6 @@ func (client *LANHostConfigManagement1) GetDomainName() ( return } -// _LANHostConfigManagement1_SetAddressRange_Request is the XML structure for the input arguments for action SetAddressRange. -type _LANHostConfigManagement1_SetAddressRange_Request struct { - NewMinAddress string - - NewMaxAddress string -} - -// _LANHostConfigManagement1_SetAddressRange_Response is the XML structure for the output arguments for action SetAddressRange. -type _LANHostConfigManagement1_SetAddressRange_Response struct{} - // SetAddressRange action. // Arguments: // @@ -577,7 +534,11 @@ func (client *LANHostConfigManagement1) SetAddressRange( ) ( err error, ) { - var request _LANHostConfigManagement1_SetAddressRange_Request + // Request structure. + var request struct { + NewMinAddress string + NewMaxAddress string + } // BEGIN Marshal arguments into request. if request.NewMinAddress, err = soap.MarshalString(NewMinAddress); err != nil { @@ -590,8 +551,10 @@ func (client *LANHostConfigManagement1) SetAddressRange( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetAddressRange_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetAddressRange", &request, &response); err != nil { return } @@ -602,16 +565,6 @@ func (client *LANHostConfigManagement1) SetAddressRange( return } -// _LANHostConfigManagement1_GetAddressRange_Request is the XML structure for the input arguments for action GetAddressRange. -type _LANHostConfigManagement1_GetAddressRange_Request struct{} - -// _LANHostConfigManagement1_GetAddressRange_Response is the XML structure for the output arguments for action GetAddressRange. -type _LANHostConfigManagement1_GetAddressRange_Response struct { - NewMinAddress string - - NewMaxAddress string -} - // GetAddressRange action. // Arguments: // @@ -635,13 +588,19 @@ func (client *LANHostConfigManagement1) GetAddressRange() ( NewMaxAddress string, err error, ) { - var request _LANHostConfigManagement1_GetAddressRange_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewMinAddress string + NewMaxAddress string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetAddressRange_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetAddressRange", &request, &response); err != nil { return } @@ -660,14 +619,6 @@ func (client *LANHostConfigManagement1) GetAddressRange() ( return } -// _LANHostConfigManagement1_SetReservedAddress_Request is the XML structure for the input arguments for action SetReservedAddress. -type _LANHostConfigManagement1_SetReservedAddress_Request struct { - NewReservedAddresses string -} - -// _LANHostConfigManagement1_SetReservedAddress_Response is the XML structure for the output arguments for action SetReservedAddress. -type _LANHostConfigManagement1_SetReservedAddress_Response struct{} - // SetReservedAddress action. // Arguments: // @@ -685,7 +636,10 @@ func (client *LANHostConfigManagement1) SetReservedAddress( ) ( err error, ) { - var request _LANHostConfigManagement1_SetReservedAddress_Request + // Request structure. + var request struct { + NewReservedAddresses string + } // BEGIN Marshal arguments into request. if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { @@ -694,8 +648,10 @@ func (client *LANHostConfigManagement1) SetReservedAddress( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetReservedAddress_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetReservedAddress", &request, &response); err != nil { return } @@ -706,14 +662,6 @@ func (client *LANHostConfigManagement1) SetReservedAddress( return } -// _LANHostConfigManagement1_DeleteReservedAddress_Request is the XML structure for the input arguments for action DeleteReservedAddress. -type _LANHostConfigManagement1_DeleteReservedAddress_Request struct { - NewReservedAddresses string -} - -// _LANHostConfigManagement1_DeleteReservedAddress_Response is the XML structure for the output arguments for action DeleteReservedAddress. -type _LANHostConfigManagement1_DeleteReservedAddress_Response struct{} - // DeleteReservedAddress action. // Arguments: // @@ -731,7 +679,10 @@ func (client *LANHostConfigManagement1) DeleteReservedAddress( ) ( err error, ) { - var request _LANHostConfigManagement1_DeleteReservedAddress_Request + // Request structure. + var request struct { + NewReservedAddresses string + } // BEGIN Marshal arguments into request. if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { @@ -740,8 +691,10 @@ func (client *LANHostConfigManagement1) DeleteReservedAddress( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_DeleteReservedAddress_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "DeleteReservedAddress", &request, &response); err != nil { return } @@ -752,14 +705,6 @@ func (client *LANHostConfigManagement1) DeleteReservedAddress( return } -// _LANHostConfigManagement1_GetReservedAddresses_Request is the XML structure for the input arguments for action GetReservedAddresses. -type _LANHostConfigManagement1_GetReservedAddresses_Request struct{} - -// _LANHostConfigManagement1_GetReservedAddresses_Response is the XML structure for the output arguments for action GetReservedAddresses. -type _LANHostConfigManagement1_GetReservedAddresses_Response struct { - NewReservedAddresses string -} - // GetReservedAddresses action. // Arguments: // @@ -776,13 +721,18 @@ func (client *LANHostConfigManagement1) GetReservedAddresses() ( NewReservedAddresses string, err error, ) { - var request _LANHostConfigManagement1_GetReservedAddresses_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewReservedAddresses string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetReservedAddresses_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetReservedAddresses", &request, &response); err != nil { return } @@ -797,14 +747,6 @@ func (client *LANHostConfigManagement1) GetReservedAddresses() ( return } -// _LANHostConfigManagement1_SetDNSServer_Request is the XML structure for the input arguments for action SetDNSServer. -type _LANHostConfigManagement1_SetDNSServer_Request struct { - NewDNSServers string -} - -// _LANHostConfigManagement1_SetDNSServer_Response is the XML structure for the output arguments for action SetDNSServer. -type _LANHostConfigManagement1_SetDNSServer_Response struct{} - // SetDNSServer action. // Arguments: // @@ -822,7 +764,10 @@ func (client *LANHostConfigManagement1) SetDNSServer( ) ( err error, ) { - var request _LANHostConfigManagement1_SetDNSServer_Request + // Request structure. + var request struct { + NewDNSServers string + } // BEGIN Marshal arguments into request. if request.NewDNSServers, err = soap.MarshalString(NewDNSServers); err != nil { @@ -831,8 +776,10 @@ func (client *LANHostConfigManagement1) SetDNSServer( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetDNSServer_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetDNSServer", &request, &response); err != nil { return } @@ -843,14 +790,6 @@ func (client *LANHostConfigManagement1) SetDNSServer( return } -// _LANHostConfigManagement1_DeleteDNSServer_Request is the XML structure for the input arguments for action DeleteDNSServer. -type _LANHostConfigManagement1_DeleteDNSServer_Request struct { - NewDNSServers string -} - -// _LANHostConfigManagement1_DeleteDNSServer_Response is the XML structure for the output arguments for action DeleteDNSServer. -type _LANHostConfigManagement1_DeleteDNSServer_Response struct{} - // DeleteDNSServer action. // Arguments: // @@ -868,7 +807,10 @@ func (client *LANHostConfigManagement1) DeleteDNSServer( ) ( err error, ) { - var request _LANHostConfigManagement1_DeleteDNSServer_Request + // Request structure. + var request struct { + NewDNSServers string + } // BEGIN Marshal arguments into request. if request.NewDNSServers, err = soap.MarshalString(NewDNSServers); err != nil { @@ -877,8 +819,10 @@ func (client *LANHostConfigManagement1) DeleteDNSServer( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_DeleteDNSServer_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "DeleteDNSServer", &request, &response); err != nil { return } @@ -889,14 +833,6 @@ func (client *LANHostConfigManagement1) DeleteDNSServer( return } -// _LANHostConfigManagement1_GetDNSServers_Request is the XML structure for the input arguments for action GetDNSServers. -type _LANHostConfigManagement1_GetDNSServers_Request struct{} - -// _LANHostConfigManagement1_GetDNSServers_Response is the XML structure for the output arguments for action GetDNSServers. -type _LANHostConfigManagement1_GetDNSServers_Response struct { - NewDNSServers string -} - // GetDNSServers action. // Arguments: // @@ -913,13 +849,18 @@ func (client *LANHostConfigManagement1) GetDNSServers() ( NewDNSServers string, err error, ) { - var request _LANHostConfigManagement1_GetDNSServers_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDNSServers string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetDNSServers_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetDNSServers", &request, &response); err != nil { return } @@ -939,14 +880,6 @@ type Layer3Forwarding1 struct { SOAPClient soap.SOAPClient } -// _Layer3Forwarding1_SetDefaultConnectionService_Request is the XML structure for the input arguments for action SetDefaultConnectionService. -type _Layer3Forwarding1_SetDefaultConnectionService_Request struct { - NewDefaultConnectionService string -} - -// _Layer3Forwarding1_SetDefaultConnectionService_Response is the XML structure for the output arguments for action SetDefaultConnectionService. -type _Layer3Forwarding1_SetDefaultConnectionService_Response struct{} - // SetDefaultConnectionService action. // Arguments: // @@ -964,7 +897,10 @@ func (client *Layer3Forwarding1) SetDefaultConnectionService( ) ( err error, ) { - var request _Layer3Forwarding1_SetDefaultConnectionService_Request + // Request structure. + var request struct { + NewDefaultConnectionService string + } // BEGIN Marshal arguments into request. if request.NewDefaultConnectionService, err = soap.MarshalString(NewDefaultConnectionService); err != nil { @@ -973,8 +909,10 @@ func (client *Layer3Forwarding1) SetDefaultConnectionService( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _Layer3Forwarding1_SetDefaultConnectionService_Response if err = client.SOAPClient.PerformAction(URN_Layer3Forwarding_1, "SetDefaultConnectionService", &request, &response); err != nil { return } @@ -985,14 +923,6 @@ func (client *Layer3Forwarding1) SetDefaultConnectionService( return } -// _Layer3Forwarding1_GetDefaultConnectionService_Request is the XML structure for the input arguments for action GetDefaultConnectionService. -type _Layer3Forwarding1_GetDefaultConnectionService_Request struct{} - -// _Layer3Forwarding1_GetDefaultConnectionService_Response is the XML structure for the output arguments for action GetDefaultConnectionService. -type _Layer3Forwarding1_GetDefaultConnectionService_Response struct { - NewDefaultConnectionService string -} - // GetDefaultConnectionService action. // Arguments: // @@ -1009,13 +939,18 @@ func (client *Layer3Forwarding1) GetDefaultConnectionService() ( NewDefaultConnectionService string, err error, ) { - var request _Layer3Forwarding1_GetDefaultConnectionService_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDefaultConnectionService string + } + // Perform the SOAP call. - var response _Layer3Forwarding1_GetDefaultConnectionService_Response if err = client.SOAPClient.PerformAction(URN_Layer3Forwarding_1, "GetDefaultConnectionService", &request, &response); err != nil { return } @@ -1035,16 +970,6 @@ type WANCableLinkConfig1 struct { SOAPClient soap.SOAPClient } -// _WANCableLinkConfig1_GetCableLinkConfigInfo_Request is the XML structure for the input arguments for action GetCableLinkConfigInfo. -type _WANCableLinkConfig1_GetCableLinkConfigInfo_Request struct{} - -// _WANCableLinkConfig1_GetCableLinkConfigInfo_Response is the XML structure for the output arguments for action GetCableLinkConfigInfo. -type _WANCableLinkConfig1_GetCableLinkConfigInfo_Response struct { - NewCableLinkConfigState string - - NewLinkType string -} - // GetCableLinkConfigInfo action. // Arguments: // @@ -1070,13 +995,19 @@ func (client *WANCableLinkConfig1) GetCableLinkConfigInfo() ( NewLinkType string, err error, ) { - var request _WANCableLinkConfig1_GetCableLinkConfigInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewCableLinkConfigState string + NewLinkType string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetCableLinkConfigInfo_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetCableLinkConfigInfo", &request, &response); err != nil { return } @@ -1095,14 +1026,6 @@ func (client *WANCableLinkConfig1) GetCableLinkConfigInfo() ( return } -// _WANCableLinkConfig1_GetDownstreamFrequency_Request is the XML structure for the input arguments for action GetDownstreamFrequency. -type _WANCableLinkConfig1_GetDownstreamFrequency_Request struct{} - -// _WANCableLinkConfig1_GetDownstreamFrequency_Response is the XML structure for the output arguments for action GetDownstreamFrequency. -type _WANCableLinkConfig1_GetDownstreamFrequency_Response struct { - NewDownstreamFrequency string -} - // GetDownstreamFrequency action. // Arguments: // @@ -1119,13 +1042,18 @@ func (client *WANCableLinkConfig1) GetDownstreamFrequency() ( NewDownstreamFrequency uint32, err error, ) { - var request _WANCableLinkConfig1_GetDownstreamFrequency_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDownstreamFrequency string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetDownstreamFrequency_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetDownstreamFrequency", &request, &response); err != nil { return } @@ -1140,14 +1068,6 @@ func (client *WANCableLinkConfig1) GetDownstreamFrequency() ( return } -// _WANCableLinkConfig1_GetDownstreamModulation_Request is the XML structure for the input arguments for action GetDownstreamModulation. -type _WANCableLinkConfig1_GetDownstreamModulation_Request struct{} - -// _WANCableLinkConfig1_GetDownstreamModulation_Response is the XML structure for the output arguments for action GetDownstreamModulation. -type _WANCableLinkConfig1_GetDownstreamModulation_Response struct { - NewDownstreamModulation string -} - // GetDownstreamModulation action. // Arguments: // @@ -1165,13 +1085,18 @@ func (client *WANCableLinkConfig1) GetDownstreamModulation() ( NewDownstreamModulation string, err error, ) { - var request _WANCableLinkConfig1_GetDownstreamModulation_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDownstreamModulation string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetDownstreamModulation_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetDownstreamModulation", &request, &response); err != nil { return } @@ -1186,14 +1111,6 @@ func (client *WANCableLinkConfig1) GetDownstreamModulation() ( return } -// _WANCableLinkConfig1_GetUpstreamFrequency_Request is the XML structure for the input arguments for action GetUpstreamFrequency. -type _WANCableLinkConfig1_GetUpstreamFrequency_Request struct{} - -// _WANCableLinkConfig1_GetUpstreamFrequency_Response is the XML structure for the output arguments for action GetUpstreamFrequency. -type _WANCableLinkConfig1_GetUpstreamFrequency_Response struct { - NewUpstreamFrequency string -} - // GetUpstreamFrequency action. // Arguments: // @@ -1210,13 +1127,18 @@ func (client *WANCableLinkConfig1) GetUpstreamFrequency() ( NewUpstreamFrequency uint32, err error, ) { - var request _WANCableLinkConfig1_GetUpstreamFrequency_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUpstreamFrequency string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetUpstreamFrequency_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetUpstreamFrequency", &request, &response); err != nil { return } @@ -1231,14 +1153,6 @@ func (client *WANCableLinkConfig1) GetUpstreamFrequency() ( return } -// _WANCableLinkConfig1_GetUpstreamModulation_Request is the XML structure for the input arguments for action GetUpstreamModulation. -type _WANCableLinkConfig1_GetUpstreamModulation_Request struct{} - -// _WANCableLinkConfig1_GetUpstreamModulation_Response is the XML structure for the output arguments for action GetUpstreamModulation. -type _WANCableLinkConfig1_GetUpstreamModulation_Response struct { - NewUpstreamModulation string -} - // GetUpstreamModulation action. // Arguments: // @@ -1256,13 +1170,18 @@ func (client *WANCableLinkConfig1) GetUpstreamModulation() ( NewUpstreamModulation string, err error, ) { - var request _WANCableLinkConfig1_GetUpstreamModulation_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUpstreamModulation string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetUpstreamModulation_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetUpstreamModulation", &request, &response); err != nil { return } @@ -1277,14 +1196,6 @@ func (client *WANCableLinkConfig1) GetUpstreamModulation() ( return } -// _WANCableLinkConfig1_GetUpstreamChannelID_Request is the XML structure for the input arguments for action GetUpstreamChannelID. -type _WANCableLinkConfig1_GetUpstreamChannelID_Request struct{} - -// _WANCableLinkConfig1_GetUpstreamChannelID_Response is the XML structure for the output arguments for action GetUpstreamChannelID. -type _WANCableLinkConfig1_GetUpstreamChannelID_Response struct { - NewUpstreamChannelID string -} - // GetUpstreamChannelID action. // Arguments: // @@ -1301,13 +1212,18 @@ func (client *WANCableLinkConfig1) GetUpstreamChannelID() ( NewUpstreamChannelID uint32, err error, ) { - var request _WANCableLinkConfig1_GetUpstreamChannelID_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUpstreamChannelID string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetUpstreamChannelID_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetUpstreamChannelID", &request, &response); err != nil { return } @@ -1322,14 +1238,6 @@ func (client *WANCableLinkConfig1) GetUpstreamChannelID() ( return } -// _WANCableLinkConfig1_GetUpstreamPowerLevel_Request is the XML structure for the input arguments for action GetUpstreamPowerLevel. -type _WANCableLinkConfig1_GetUpstreamPowerLevel_Request struct{} - -// _WANCableLinkConfig1_GetUpstreamPowerLevel_Response is the XML structure for the output arguments for action GetUpstreamPowerLevel. -type _WANCableLinkConfig1_GetUpstreamPowerLevel_Response struct { - NewUpstreamPowerLevel string -} - // GetUpstreamPowerLevel action. // Arguments: // @@ -1346,13 +1254,18 @@ func (client *WANCableLinkConfig1) GetUpstreamPowerLevel() ( NewUpstreamPowerLevel uint32, err error, ) { - var request _WANCableLinkConfig1_GetUpstreamPowerLevel_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUpstreamPowerLevel string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetUpstreamPowerLevel_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetUpstreamPowerLevel", &request, &response); err != nil { return } @@ -1367,14 +1280,6 @@ func (client *WANCableLinkConfig1) GetUpstreamPowerLevel() ( return } -// _WANCableLinkConfig1_GetBPIEncryptionEnabled_Request is the XML structure for the input arguments for action GetBPIEncryptionEnabled. -type _WANCableLinkConfig1_GetBPIEncryptionEnabled_Request struct{} - -// _WANCableLinkConfig1_GetBPIEncryptionEnabled_Response is the XML structure for the output arguments for action GetBPIEncryptionEnabled. -type _WANCableLinkConfig1_GetBPIEncryptionEnabled_Response struct { - NewBPIEncryptionEnabled string -} - // GetBPIEncryptionEnabled action. // Arguments: // @@ -1391,13 +1296,18 @@ func (client *WANCableLinkConfig1) GetBPIEncryptionEnabled() ( NewBPIEncryptionEnabled bool, err error, ) { - var request _WANCableLinkConfig1_GetBPIEncryptionEnabled_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewBPIEncryptionEnabled string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetBPIEncryptionEnabled_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetBPIEncryptionEnabled", &request, &response); err != nil { return } @@ -1412,14 +1322,6 @@ func (client *WANCableLinkConfig1) GetBPIEncryptionEnabled() ( return } -// _WANCableLinkConfig1_GetConfigFile_Request is the XML structure for the input arguments for action GetConfigFile. -type _WANCableLinkConfig1_GetConfigFile_Request struct{} - -// _WANCableLinkConfig1_GetConfigFile_Response is the XML structure for the output arguments for action GetConfigFile. -type _WANCableLinkConfig1_GetConfigFile_Response struct { - NewConfigFile string -} - // GetConfigFile action. // Arguments: // @@ -1436,13 +1338,18 @@ func (client *WANCableLinkConfig1) GetConfigFile() ( NewConfigFile string, err error, ) { - var request _WANCableLinkConfig1_GetConfigFile_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConfigFile string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetConfigFile_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetConfigFile", &request, &response); err != nil { return } @@ -1457,14 +1364,6 @@ func (client *WANCableLinkConfig1) GetConfigFile() ( return } -// _WANCableLinkConfig1_GetTFTPServer_Request is the XML structure for the input arguments for action GetTFTPServer. -type _WANCableLinkConfig1_GetTFTPServer_Request struct{} - -// _WANCableLinkConfig1_GetTFTPServer_Response is the XML structure for the output arguments for action GetTFTPServer. -type _WANCableLinkConfig1_GetTFTPServer_Response struct { - NewTFTPServer string -} - // GetTFTPServer action. // Arguments: // @@ -1481,13 +1380,18 @@ func (client *WANCableLinkConfig1) GetTFTPServer() ( NewTFTPServer string, err error, ) { - var request _WANCableLinkConfig1_GetTFTPServer_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewTFTPServer string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetTFTPServer_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetTFTPServer", &request, &response); err != nil { return } @@ -1507,14 +1411,6 @@ type WANCommonInterfaceConfig1 struct { SOAPClient soap.SOAPClient } -// _WANCommonInterfaceConfig1_SetEnabledForInternet_Request is the XML structure for the input arguments for action SetEnabledForInternet. -type _WANCommonInterfaceConfig1_SetEnabledForInternet_Request struct { - NewEnabledForInternet string -} - -// _WANCommonInterfaceConfig1_SetEnabledForInternet_Response is the XML structure for the output arguments for action SetEnabledForInternet. -type _WANCommonInterfaceConfig1_SetEnabledForInternet_Response struct{} - // SetEnabledForInternet action. // Arguments: // @@ -1532,7 +1428,10 @@ func (client *WANCommonInterfaceConfig1) SetEnabledForInternet( ) ( err error, ) { - var request _WANCommonInterfaceConfig1_SetEnabledForInternet_Request + // Request structure. + var request struct { + NewEnabledForInternet string + } // BEGIN Marshal arguments into request. if request.NewEnabledForInternet, err = soap.MarshalBoolean(NewEnabledForInternet); err != nil { @@ -1541,8 +1440,10 @@ func (client *WANCommonInterfaceConfig1) SetEnabledForInternet( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_SetEnabledForInternet_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "SetEnabledForInternet", &request, &response); err != nil { return } @@ -1553,14 +1454,6 @@ func (client *WANCommonInterfaceConfig1) SetEnabledForInternet( return } -// _WANCommonInterfaceConfig1_GetEnabledForInternet_Request is the XML structure for the input arguments for action GetEnabledForInternet. -type _WANCommonInterfaceConfig1_GetEnabledForInternet_Request struct{} - -// _WANCommonInterfaceConfig1_GetEnabledForInternet_Response is the XML structure for the output arguments for action GetEnabledForInternet. -type _WANCommonInterfaceConfig1_GetEnabledForInternet_Response struct { - NewEnabledForInternet string -} - // GetEnabledForInternet action. // Arguments: // @@ -1577,13 +1470,18 @@ func (client *WANCommonInterfaceConfig1) GetEnabledForInternet() ( NewEnabledForInternet bool, err error, ) { - var request _WANCommonInterfaceConfig1_GetEnabledForInternet_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewEnabledForInternet string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetEnabledForInternet_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetEnabledForInternet", &request, &response); err != nil { return } @@ -1598,20 +1496,6 @@ func (client *WANCommonInterfaceConfig1) GetEnabledForInternet() ( return } -// _WANCommonInterfaceConfig1_GetCommonLinkProperties_Request is the XML structure for the input arguments for action GetCommonLinkProperties. -type _WANCommonInterfaceConfig1_GetCommonLinkProperties_Request struct{} - -// _WANCommonInterfaceConfig1_GetCommonLinkProperties_Response is the XML structure for the output arguments for action GetCommonLinkProperties. -type _WANCommonInterfaceConfig1_GetCommonLinkProperties_Response struct { - NewWANAccessType string - - NewLayer1UpstreamMaxBitRate string - - NewLayer1DownstreamMaxBitRate string - - NewPhysicalLinkStatus string -} - // GetCommonLinkProperties action. // Arguments: // @@ -1651,13 +1535,21 @@ func (client *WANCommonInterfaceConfig1) GetCommonLinkProperties() ( NewPhysicalLinkStatus string, err error, ) { - var request _WANCommonInterfaceConfig1_GetCommonLinkProperties_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewWANAccessType string + NewLayer1UpstreamMaxBitRate string + NewLayer1DownstreamMaxBitRate string + NewPhysicalLinkStatus string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetCommonLinkProperties_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetCommonLinkProperties", &request, &response); err != nil { return } @@ -1684,14 +1576,6 @@ func (client *WANCommonInterfaceConfig1) GetCommonLinkProperties() ( return } -// _WANCommonInterfaceConfig1_GetWANAccessProvider_Request is the XML structure for the input arguments for action GetWANAccessProvider. -type _WANCommonInterfaceConfig1_GetWANAccessProvider_Request struct{} - -// _WANCommonInterfaceConfig1_GetWANAccessProvider_Response is the XML structure for the output arguments for action GetWANAccessProvider. -type _WANCommonInterfaceConfig1_GetWANAccessProvider_Response struct { - NewWANAccessProvider string -} - // GetWANAccessProvider action. // Arguments: // @@ -1708,13 +1592,18 @@ func (client *WANCommonInterfaceConfig1) GetWANAccessProvider() ( NewWANAccessProvider string, err error, ) { - var request _WANCommonInterfaceConfig1_GetWANAccessProvider_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewWANAccessProvider string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetWANAccessProvider_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetWANAccessProvider", &request, &response); err != nil { return } @@ -1729,14 +1618,6 @@ func (client *WANCommonInterfaceConfig1) GetWANAccessProvider() ( return } -// _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Request is the XML structure for the input arguments for action GetMaximumActiveConnections. -type _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Request struct{} - -// _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Response is the XML structure for the output arguments for action GetMaximumActiveConnections. -type _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Response struct { - NewMaximumActiveConnections string -} - // GetMaximumActiveConnections action. // Arguments: // @@ -1753,13 +1634,18 @@ func (client *WANCommonInterfaceConfig1) GetMaximumActiveConnections() ( NewMaximumActiveConnections uint16, err error, ) { - var request _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewMaximumActiveConnections string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetMaximumActiveConnections", &request, &response); err != nil { return } @@ -1774,14 +1660,6 @@ func (client *WANCommonInterfaceConfig1) GetMaximumActiveConnections() ( return } -// _WANCommonInterfaceConfig1_GetTotalBytesSent_Request is the XML structure for the input arguments for action GetTotalBytesSent. -type _WANCommonInterfaceConfig1_GetTotalBytesSent_Request struct{} - -// _WANCommonInterfaceConfig1_GetTotalBytesSent_Response is the XML structure for the output arguments for action GetTotalBytesSent. -type _WANCommonInterfaceConfig1_GetTotalBytesSent_Response struct { - NewTotalBytesSent string -} - // GetTotalBytesSent action. // Arguments: // @@ -1798,13 +1676,18 @@ func (client *WANCommonInterfaceConfig1) GetTotalBytesSent() ( NewTotalBytesSent uint32, err error, ) { - var request _WANCommonInterfaceConfig1_GetTotalBytesSent_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewTotalBytesSent string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetTotalBytesSent_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetTotalBytesSent", &request, &response); err != nil { return } @@ -1819,14 +1702,6 @@ func (client *WANCommonInterfaceConfig1) GetTotalBytesSent() ( return } -// _WANCommonInterfaceConfig1_GetTotalBytesReceived_Request is the XML structure for the input arguments for action GetTotalBytesReceived. -type _WANCommonInterfaceConfig1_GetTotalBytesReceived_Request struct{} - -// _WANCommonInterfaceConfig1_GetTotalBytesReceived_Response is the XML structure for the output arguments for action GetTotalBytesReceived. -type _WANCommonInterfaceConfig1_GetTotalBytesReceived_Response struct { - NewTotalBytesReceived string -} - // GetTotalBytesReceived action. // Arguments: // @@ -1843,13 +1718,18 @@ func (client *WANCommonInterfaceConfig1) GetTotalBytesReceived() ( NewTotalBytesReceived uint32, err error, ) { - var request _WANCommonInterfaceConfig1_GetTotalBytesReceived_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewTotalBytesReceived string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetTotalBytesReceived_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetTotalBytesReceived", &request, &response); err != nil { return } @@ -1864,14 +1744,6 @@ func (client *WANCommonInterfaceConfig1) GetTotalBytesReceived() ( return } -// _WANCommonInterfaceConfig1_GetTotalPacketsSent_Request is the XML structure for the input arguments for action GetTotalPacketsSent. -type _WANCommonInterfaceConfig1_GetTotalPacketsSent_Request struct{} - -// _WANCommonInterfaceConfig1_GetTotalPacketsSent_Response is the XML structure for the output arguments for action GetTotalPacketsSent. -type _WANCommonInterfaceConfig1_GetTotalPacketsSent_Response struct { - NewTotalPacketsSent string -} - // GetTotalPacketsSent action. // Arguments: // @@ -1888,13 +1760,18 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsSent() ( NewTotalPacketsSent uint32, err error, ) { - var request _WANCommonInterfaceConfig1_GetTotalPacketsSent_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewTotalPacketsSent string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetTotalPacketsSent_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetTotalPacketsSent", &request, &response); err != nil { return } @@ -1909,14 +1786,6 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsSent() ( return } -// _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Request is the XML structure for the input arguments for action GetTotalPacketsReceived. -type _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Request struct{} - -// _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Response is the XML structure for the output arguments for action GetTotalPacketsReceived. -type _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Response struct { - NewTotalPacketsReceived string -} - // GetTotalPacketsReceived action. // Arguments: // @@ -1933,13 +1802,18 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsReceived() ( NewTotalPacketsReceived uint32, err error, ) { - var request _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewTotalPacketsReceived string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetTotalPacketsReceived", &request, &response); err != nil { return } @@ -1954,18 +1828,6 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsReceived() ( return } -// _WANCommonInterfaceConfig1_GetActiveConnection_Request is the XML structure for the input arguments for action GetActiveConnection. -type _WANCommonInterfaceConfig1_GetActiveConnection_Request struct { - NewActiveConnectionIndex string -} - -// _WANCommonInterfaceConfig1_GetActiveConnection_Response is the XML structure for the output arguments for action GetActiveConnection. -type _WANCommonInterfaceConfig1_GetActiveConnection_Response struct { - NewActiveConnDeviceContainer string - - NewActiveConnectionServiceID string -} - // GetActiveConnection action. // Arguments: // @@ -1997,7 +1859,10 @@ func (client *WANCommonInterfaceConfig1) GetActiveConnection( NewActiveConnectionServiceID string, err error, ) { - var request _WANCommonInterfaceConfig1_GetActiveConnection_Request + // Request structure. + var request struct { + NewActiveConnectionIndex string + } // BEGIN Marshal arguments into request. if request.NewActiveConnectionIndex, err = soap.MarshalUi2(NewActiveConnectionIndex); err != nil { @@ -2006,8 +1871,13 @@ func (client *WANCommonInterfaceConfig1) GetActiveConnection( // END Marshal arguments into request. + // Response structure. + var response struct { + NewActiveConnDeviceContainer string + NewActiveConnectionServiceID string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetActiveConnection_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetActiveConnection", &request, &response); err != nil { return } @@ -2031,14 +1901,6 @@ type WANDSLLinkConfig1 struct { SOAPClient soap.SOAPClient } -// _WANDSLLinkConfig1_SetDSLLinkType_Request is the XML structure for the input arguments for action SetDSLLinkType. -type _WANDSLLinkConfig1_SetDSLLinkType_Request struct { - NewLinkType string -} - -// _WANDSLLinkConfig1_SetDSLLinkType_Response is the XML structure for the output arguments for action SetDSLLinkType. -type _WANDSLLinkConfig1_SetDSLLinkType_Response struct{} - // SetDSLLinkType action. // Arguments: // @@ -2056,7 +1918,10 @@ func (client *WANDSLLinkConfig1) SetDSLLinkType( ) ( err error, ) { - var request _WANDSLLinkConfig1_SetDSLLinkType_Request + // Request structure. + var request struct { + NewLinkType string + } // BEGIN Marshal arguments into request. if request.NewLinkType, err = soap.MarshalString(NewLinkType); err != nil { @@ -2065,8 +1930,10 @@ func (client *WANDSLLinkConfig1) SetDSLLinkType( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANDSLLinkConfig1_SetDSLLinkType_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "SetDSLLinkType", &request, &response); err != nil { return } @@ -2077,16 +1944,6 @@ func (client *WANDSLLinkConfig1) SetDSLLinkType( return } -// _WANDSLLinkConfig1_GetDSLLinkInfo_Request is the XML structure for the input arguments for action GetDSLLinkInfo. -type _WANDSLLinkConfig1_GetDSLLinkInfo_Request struct{} - -// _WANDSLLinkConfig1_GetDSLLinkInfo_Response is the XML structure for the output arguments for action GetDSLLinkInfo. -type _WANDSLLinkConfig1_GetDSLLinkInfo_Response struct { - NewLinkType string - - NewLinkStatus string -} - // GetDSLLinkInfo action. // Arguments: // @@ -2111,13 +1968,19 @@ func (client *WANDSLLinkConfig1) GetDSLLinkInfo() ( NewLinkStatus string, err error, ) { - var request _WANDSLLinkConfig1_GetDSLLinkInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewLinkType string + NewLinkStatus string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetDSLLinkInfo_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetDSLLinkInfo", &request, &response); err != nil { return } @@ -2136,14 +1999,6 @@ func (client *WANDSLLinkConfig1) GetDSLLinkInfo() ( return } -// _WANDSLLinkConfig1_GetAutoConfig_Request is the XML structure for the input arguments for action GetAutoConfig. -type _WANDSLLinkConfig1_GetAutoConfig_Request struct{} - -// _WANDSLLinkConfig1_GetAutoConfig_Response is the XML structure for the output arguments for action GetAutoConfig. -type _WANDSLLinkConfig1_GetAutoConfig_Response struct { - NewAutoConfig string -} - // GetAutoConfig action. // Arguments: // @@ -2160,13 +2015,18 @@ func (client *WANDSLLinkConfig1) GetAutoConfig() ( NewAutoConfig bool, err error, ) { - var request _WANDSLLinkConfig1_GetAutoConfig_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewAutoConfig string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetAutoConfig_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetAutoConfig", &request, &response); err != nil { return } @@ -2181,14 +2041,6 @@ func (client *WANDSLLinkConfig1) GetAutoConfig() ( return } -// _WANDSLLinkConfig1_GetModulationType_Request is the XML structure for the input arguments for action GetModulationType. -type _WANDSLLinkConfig1_GetModulationType_Request struct{} - -// _WANDSLLinkConfig1_GetModulationType_Response is the XML structure for the output arguments for action GetModulationType. -type _WANDSLLinkConfig1_GetModulationType_Response struct { - NewModulationType string -} - // GetModulationType action. // Arguments: // @@ -2205,13 +2057,18 @@ func (client *WANDSLLinkConfig1) GetModulationType() ( NewModulationType string, err error, ) { - var request _WANDSLLinkConfig1_GetModulationType_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewModulationType string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetModulationType_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetModulationType", &request, &response); err != nil { return } @@ -2226,14 +2083,6 @@ func (client *WANDSLLinkConfig1) GetModulationType() ( return } -// _WANDSLLinkConfig1_SetDestinationAddress_Request is the XML structure for the input arguments for action SetDestinationAddress. -type _WANDSLLinkConfig1_SetDestinationAddress_Request struct { - NewDestinationAddress string -} - -// _WANDSLLinkConfig1_SetDestinationAddress_Response is the XML structure for the output arguments for action SetDestinationAddress. -type _WANDSLLinkConfig1_SetDestinationAddress_Response struct{} - // SetDestinationAddress action. // Arguments: // @@ -2251,7 +2100,10 @@ func (client *WANDSLLinkConfig1) SetDestinationAddress( ) ( err error, ) { - var request _WANDSLLinkConfig1_SetDestinationAddress_Request + // Request structure. + var request struct { + NewDestinationAddress string + } // BEGIN Marshal arguments into request. if request.NewDestinationAddress, err = soap.MarshalString(NewDestinationAddress); err != nil { @@ -2260,8 +2112,10 @@ func (client *WANDSLLinkConfig1) SetDestinationAddress( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANDSLLinkConfig1_SetDestinationAddress_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "SetDestinationAddress", &request, &response); err != nil { return } @@ -2272,14 +2126,6 @@ func (client *WANDSLLinkConfig1) SetDestinationAddress( return } -// _WANDSLLinkConfig1_GetDestinationAddress_Request is the XML structure for the input arguments for action GetDestinationAddress. -type _WANDSLLinkConfig1_GetDestinationAddress_Request struct{} - -// _WANDSLLinkConfig1_GetDestinationAddress_Response is the XML structure for the output arguments for action GetDestinationAddress. -type _WANDSLLinkConfig1_GetDestinationAddress_Response struct { - NewDestinationAddress string -} - // GetDestinationAddress action. // Arguments: // @@ -2296,13 +2142,18 @@ func (client *WANDSLLinkConfig1) GetDestinationAddress() ( NewDestinationAddress string, err error, ) { - var request _WANDSLLinkConfig1_GetDestinationAddress_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDestinationAddress string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetDestinationAddress_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetDestinationAddress", &request, &response); err != nil { return } @@ -2317,14 +2168,6 @@ func (client *WANDSLLinkConfig1) GetDestinationAddress() ( return } -// _WANDSLLinkConfig1_SetATMEncapsulation_Request is the XML structure for the input arguments for action SetATMEncapsulation. -type _WANDSLLinkConfig1_SetATMEncapsulation_Request struct { - NewATMEncapsulation string -} - -// _WANDSLLinkConfig1_SetATMEncapsulation_Response is the XML structure for the output arguments for action SetATMEncapsulation. -type _WANDSLLinkConfig1_SetATMEncapsulation_Response struct{} - // SetATMEncapsulation action. // Arguments: // @@ -2342,7 +2185,10 @@ func (client *WANDSLLinkConfig1) SetATMEncapsulation( ) ( err error, ) { - var request _WANDSLLinkConfig1_SetATMEncapsulation_Request + // Request structure. + var request struct { + NewATMEncapsulation string + } // BEGIN Marshal arguments into request. if request.NewATMEncapsulation, err = soap.MarshalString(NewATMEncapsulation); err != nil { @@ -2351,8 +2197,10 @@ func (client *WANDSLLinkConfig1) SetATMEncapsulation( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANDSLLinkConfig1_SetATMEncapsulation_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "SetATMEncapsulation", &request, &response); err != nil { return } @@ -2363,14 +2211,6 @@ func (client *WANDSLLinkConfig1) SetATMEncapsulation( return } -// _WANDSLLinkConfig1_GetATMEncapsulation_Request is the XML structure for the input arguments for action GetATMEncapsulation. -type _WANDSLLinkConfig1_GetATMEncapsulation_Request struct{} - -// _WANDSLLinkConfig1_GetATMEncapsulation_Response is the XML structure for the output arguments for action GetATMEncapsulation. -type _WANDSLLinkConfig1_GetATMEncapsulation_Response struct { - NewATMEncapsulation string -} - // GetATMEncapsulation action. // Arguments: // @@ -2387,13 +2227,18 @@ func (client *WANDSLLinkConfig1) GetATMEncapsulation() ( NewATMEncapsulation string, err error, ) { - var request _WANDSLLinkConfig1_GetATMEncapsulation_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewATMEncapsulation string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetATMEncapsulation_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetATMEncapsulation", &request, &response); err != nil { return } @@ -2408,14 +2253,6 @@ func (client *WANDSLLinkConfig1) GetATMEncapsulation() ( return } -// _WANDSLLinkConfig1_SetFCSPreserved_Request is the XML structure for the input arguments for action SetFCSPreserved. -type _WANDSLLinkConfig1_SetFCSPreserved_Request struct { - NewFCSPreserved string -} - -// _WANDSLLinkConfig1_SetFCSPreserved_Response is the XML structure for the output arguments for action SetFCSPreserved. -type _WANDSLLinkConfig1_SetFCSPreserved_Response struct{} - // SetFCSPreserved action. // Arguments: // @@ -2433,7 +2270,10 @@ func (client *WANDSLLinkConfig1) SetFCSPreserved( ) ( err error, ) { - var request _WANDSLLinkConfig1_SetFCSPreserved_Request + // Request structure. + var request struct { + NewFCSPreserved string + } // BEGIN Marshal arguments into request. if request.NewFCSPreserved, err = soap.MarshalBoolean(NewFCSPreserved); err != nil { @@ -2442,8 +2282,10 @@ func (client *WANDSLLinkConfig1) SetFCSPreserved( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANDSLLinkConfig1_SetFCSPreserved_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "SetFCSPreserved", &request, &response); err != nil { return } @@ -2454,14 +2296,6 @@ func (client *WANDSLLinkConfig1) SetFCSPreserved( return } -// _WANDSLLinkConfig1_GetFCSPreserved_Request is the XML structure for the input arguments for action GetFCSPreserved. -type _WANDSLLinkConfig1_GetFCSPreserved_Request struct{} - -// _WANDSLLinkConfig1_GetFCSPreserved_Response is the XML structure for the output arguments for action GetFCSPreserved. -type _WANDSLLinkConfig1_GetFCSPreserved_Response struct { - NewFCSPreserved string -} - // GetFCSPreserved action. // Arguments: // @@ -2478,13 +2312,18 @@ func (client *WANDSLLinkConfig1) GetFCSPreserved() ( NewFCSPreserved bool, err error, ) { - var request _WANDSLLinkConfig1_GetFCSPreserved_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewFCSPreserved string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetFCSPreserved_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetFCSPreserved", &request, &response); err != nil { return } @@ -2504,14 +2343,6 @@ type WANEthernetLinkConfig1 struct { SOAPClient soap.SOAPClient } -// _WANEthernetLinkConfig1_GetEthernetLinkStatus_Request is the XML structure for the input arguments for action GetEthernetLinkStatus. -type _WANEthernetLinkConfig1_GetEthernetLinkStatus_Request struct{} - -// _WANEthernetLinkConfig1_GetEthernetLinkStatus_Response is the XML structure for the output arguments for action GetEthernetLinkStatus. -type _WANEthernetLinkConfig1_GetEthernetLinkStatus_Response struct { - NewEthernetLinkStatus string -} - // GetEthernetLinkStatus action. // Arguments: // @@ -2529,13 +2360,18 @@ func (client *WANEthernetLinkConfig1) GetEthernetLinkStatus() ( NewEthernetLinkStatus string, err error, ) { - var request _WANEthernetLinkConfig1_GetEthernetLinkStatus_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewEthernetLinkStatus string + } + // Perform the SOAP call. - var response _WANEthernetLinkConfig1_GetEthernetLinkStatus_Response if err = client.SOAPClient.PerformAction(URN_WANEthernetLinkConfig_1, "GetEthernetLinkStatus", &request, &response); err != nil { return } @@ -2555,14 +2391,6 @@ type WANIPConnection1 struct { SOAPClient soap.SOAPClient } -// _WANIPConnection1_SetConnectionType_Request is the XML structure for the input arguments for action SetConnectionType. -type _WANIPConnection1_SetConnectionType_Request struct { - NewConnectionType string -} - -// _WANIPConnection1_SetConnectionType_Response is the XML structure for the output arguments for action SetConnectionType. -type _WANIPConnection1_SetConnectionType_Response struct{} - // SetConnectionType action. // Arguments: // @@ -2580,7 +2408,10 @@ func (client *WANIPConnection1) SetConnectionType( ) ( err error, ) { - var request _WANIPConnection1_SetConnectionType_Request + // Request structure. + var request struct { + NewConnectionType string + } // BEGIN Marshal arguments into request. if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { @@ -2589,8 +2420,10 @@ func (client *WANIPConnection1) SetConnectionType( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_SetConnectionType_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "SetConnectionType", &request, &response); err != nil { return } @@ -2601,16 +2434,6 @@ func (client *WANIPConnection1) SetConnectionType( return } -// _WANIPConnection1_GetConnectionTypeInfo_Request is the XML structure for the input arguments for action GetConnectionTypeInfo. -type _WANIPConnection1_GetConnectionTypeInfo_Request struct{} - -// _WANIPConnection1_GetConnectionTypeInfo_Response is the XML structure for the output arguments for action GetConnectionTypeInfo. -type _WANIPConnection1_GetConnectionTypeInfo_Response struct { - NewConnectionType string - - NewPossibleConnectionTypes string -} - // GetConnectionTypeInfo action. // Arguments: // @@ -2635,13 +2458,19 @@ func (client *WANIPConnection1) GetConnectionTypeInfo() ( NewPossibleConnectionTypes string, err error, ) { - var request _WANIPConnection1_GetConnectionTypeInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConnectionType string + NewPossibleConnectionTypes string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetConnectionTypeInfo_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetConnectionTypeInfo", &request, &response); err != nil { return } @@ -2660,12 +2489,6 @@ func (client *WANIPConnection1) GetConnectionTypeInfo() ( return } -// _WANIPConnection1_RequestConnection_Request is the XML structure for the input arguments for action RequestConnection. -type _WANIPConnection1_RequestConnection_Request struct{} - -// _WANIPConnection1_RequestConnection_Response is the XML structure for the output arguments for action RequestConnection. -type _WANIPConnection1_RequestConnection_Response struct{} - // RequestConnection action. // Arguments: // @@ -2675,13 +2498,16 @@ type _WANIPConnection1_RequestConnection_Response struct{} func (client *WANIPConnection1) RequestConnection() ( err error, ) { - var request _WANIPConnection1_RequestConnection_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_RequestConnection_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "RequestConnection", &request, &response); err != nil { return } @@ -2692,12 +2518,6 @@ func (client *WANIPConnection1) RequestConnection() ( return } -// _WANIPConnection1_RequestTermination_Request is the XML structure for the input arguments for action RequestTermination. -type _WANIPConnection1_RequestTermination_Request struct{} - -// _WANIPConnection1_RequestTermination_Response is the XML structure for the output arguments for action RequestTermination. -type _WANIPConnection1_RequestTermination_Response struct{} - // RequestTermination action. // Arguments: // @@ -2707,13 +2527,16 @@ type _WANIPConnection1_RequestTermination_Response struct{} func (client *WANIPConnection1) RequestTermination() ( err error, ) { - var request _WANIPConnection1_RequestTermination_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_RequestTermination_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "RequestTermination", &request, &response); err != nil { return } @@ -2724,12 +2547,6 @@ func (client *WANIPConnection1) RequestTermination() ( return } -// _WANIPConnection1_ForceTermination_Request is the XML structure for the input arguments for action ForceTermination. -type _WANIPConnection1_ForceTermination_Request struct{} - -// _WANIPConnection1_ForceTermination_Response is the XML structure for the output arguments for action ForceTermination. -type _WANIPConnection1_ForceTermination_Response struct{} - // ForceTermination action. // Arguments: // @@ -2739,13 +2556,16 @@ type _WANIPConnection1_ForceTermination_Response struct{} func (client *WANIPConnection1) ForceTermination() ( err error, ) { - var request _WANIPConnection1_ForceTermination_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_ForceTermination_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "ForceTermination", &request, &response); err != nil { return } @@ -2756,14 +2576,6 @@ func (client *WANIPConnection1) ForceTermination() ( return } -// _WANIPConnection1_SetAutoDisconnectTime_Request is the XML structure for the input arguments for action SetAutoDisconnectTime. -type _WANIPConnection1_SetAutoDisconnectTime_Request struct { - NewAutoDisconnectTime string -} - -// _WANIPConnection1_SetAutoDisconnectTime_Response is the XML structure for the output arguments for action SetAutoDisconnectTime. -type _WANIPConnection1_SetAutoDisconnectTime_Response struct{} - // SetAutoDisconnectTime action. // Arguments: // @@ -2781,7 +2593,10 @@ func (client *WANIPConnection1) SetAutoDisconnectTime( ) ( err error, ) { - var request _WANIPConnection1_SetAutoDisconnectTime_Request + // Request structure. + var request struct { + NewAutoDisconnectTime string + } // BEGIN Marshal arguments into request. if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { @@ -2790,8 +2605,10 @@ func (client *WANIPConnection1) SetAutoDisconnectTime( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_SetAutoDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "SetAutoDisconnectTime", &request, &response); err != nil { return } @@ -2802,14 +2619,6 @@ func (client *WANIPConnection1) SetAutoDisconnectTime( return } -// _WANIPConnection1_SetIdleDisconnectTime_Request is the XML structure for the input arguments for action SetIdleDisconnectTime. -type _WANIPConnection1_SetIdleDisconnectTime_Request struct { - NewIdleDisconnectTime string -} - -// _WANIPConnection1_SetIdleDisconnectTime_Response is the XML structure for the output arguments for action SetIdleDisconnectTime. -type _WANIPConnection1_SetIdleDisconnectTime_Response struct{} - // SetIdleDisconnectTime action. // Arguments: // @@ -2827,7 +2636,10 @@ func (client *WANIPConnection1) SetIdleDisconnectTime( ) ( err error, ) { - var request _WANIPConnection1_SetIdleDisconnectTime_Request + // Request structure. + var request struct { + NewIdleDisconnectTime string + } // BEGIN Marshal arguments into request. if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { @@ -2836,8 +2648,10 @@ func (client *WANIPConnection1) SetIdleDisconnectTime( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_SetIdleDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "SetIdleDisconnectTime", &request, &response); err != nil { return } @@ -2848,14 +2662,6 @@ func (client *WANIPConnection1) SetIdleDisconnectTime( return } -// _WANIPConnection1_SetWarnDisconnectDelay_Request is the XML structure for the input arguments for action SetWarnDisconnectDelay. -type _WANIPConnection1_SetWarnDisconnectDelay_Request struct { - NewWarnDisconnectDelay string -} - -// _WANIPConnection1_SetWarnDisconnectDelay_Response is the XML structure for the output arguments for action SetWarnDisconnectDelay. -type _WANIPConnection1_SetWarnDisconnectDelay_Response struct{} - // SetWarnDisconnectDelay action. // Arguments: // @@ -2873,7 +2679,10 @@ func (client *WANIPConnection1) SetWarnDisconnectDelay( ) ( err error, ) { - var request _WANIPConnection1_SetWarnDisconnectDelay_Request + // Request structure. + var request struct { + NewWarnDisconnectDelay string + } // BEGIN Marshal arguments into request. if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { @@ -2882,8 +2691,10 @@ func (client *WANIPConnection1) SetWarnDisconnectDelay( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_SetWarnDisconnectDelay_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "SetWarnDisconnectDelay", &request, &response); err != nil { return } @@ -2894,18 +2705,6 @@ func (client *WANIPConnection1) SetWarnDisconnectDelay( return } -// _WANIPConnection1_GetStatusInfo_Request is the XML structure for the input arguments for action GetStatusInfo. -type _WANIPConnection1_GetStatusInfo_Request struct{} - -// _WANIPConnection1_GetStatusInfo_Response is the XML structure for the output arguments for action GetStatusInfo. -type _WANIPConnection1_GetStatusInfo_Response struct { - NewConnectionStatus string - - NewLastConnectionError string - - NewUptime string -} - // GetStatusInfo action. // Arguments: // @@ -2938,13 +2737,20 @@ func (client *WANIPConnection1) GetStatusInfo() ( NewUptime uint32, err error, ) { - var request _WANIPConnection1_GetStatusInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConnectionStatus string + NewLastConnectionError string + NewUptime string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetStatusInfo_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetStatusInfo", &request, &response); err != nil { return } @@ -2967,14 +2773,6 @@ func (client *WANIPConnection1) GetStatusInfo() ( return } -// _WANIPConnection1_GetAutoDisconnectTime_Request is the XML structure for the input arguments for action GetAutoDisconnectTime. -type _WANIPConnection1_GetAutoDisconnectTime_Request struct{} - -// _WANIPConnection1_GetAutoDisconnectTime_Response is the XML structure for the output arguments for action GetAutoDisconnectTime. -type _WANIPConnection1_GetAutoDisconnectTime_Response struct { - NewAutoDisconnectTime string -} - // GetAutoDisconnectTime action. // Arguments: // @@ -2991,13 +2789,18 @@ func (client *WANIPConnection1) GetAutoDisconnectTime() ( NewAutoDisconnectTime uint32, err error, ) { - var request _WANIPConnection1_GetAutoDisconnectTime_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewAutoDisconnectTime string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetAutoDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetAutoDisconnectTime", &request, &response); err != nil { return } @@ -3012,14 +2815,6 @@ func (client *WANIPConnection1) GetAutoDisconnectTime() ( return } -// _WANIPConnection1_GetIdleDisconnectTime_Request is the XML structure for the input arguments for action GetIdleDisconnectTime. -type _WANIPConnection1_GetIdleDisconnectTime_Request struct{} - -// _WANIPConnection1_GetIdleDisconnectTime_Response is the XML structure for the output arguments for action GetIdleDisconnectTime. -type _WANIPConnection1_GetIdleDisconnectTime_Response struct { - NewIdleDisconnectTime string -} - // GetIdleDisconnectTime action. // Arguments: // @@ -3036,13 +2831,18 @@ func (client *WANIPConnection1) GetIdleDisconnectTime() ( NewIdleDisconnectTime uint32, err error, ) { - var request _WANIPConnection1_GetIdleDisconnectTime_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewIdleDisconnectTime string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetIdleDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetIdleDisconnectTime", &request, &response); err != nil { return } @@ -3057,14 +2857,6 @@ func (client *WANIPConnection1) GetIdleDisconnectTime() ( return } -// _WANIPConnection1_GetWarnDisconnectDelay_Request is the XML structure for the input arguments for action GetWarnDisconnectDelay. -type _WANIPConnection1_GetWarnDisconnectDelay_Request struct{} - -// _WANIPConnection1_GetWarnDisconnectDelay_Response is the XML structure for the output arguments for action GetWarnDisconnectDelay. -type _WANIPConnection1_GetWarnDisconnectDelay_Response struct { - NewWarnDisconnectDelay string -} - // GetWarnDisconnectDelay action. // Arguments: // @@ -3081,13 +2873,18 @@ func (client *WANIPConnection1) GetWarnDisconnectDelay() ( NewWarnDisconnectDelay uint32, err error, ) { - var request _WANIPConnection1_GetWarnDisconnectDelay_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewWarnDisconnectDelay string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetWarnDisconnectDelay_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetWarnDisconnectDelay", &request, &response); err != nil { return } @@ -3102,16 +2899,6 @@ func (client *WANIPConnection1) GetWarnDisconnectDelay() ( return } -// _WANIPConnection1_GetNATRSIPStatus_Request is the XML structure for the input arguments for action GetNATRSIPStatus. -type _WANIPConnection1_GetNATRSIPStatus_Request struct{} - -// _WANIPConnection1_GetNATRSIPStatus_Response is the XML structure for the output arguments for action GetNATRSIPStatus. -type _WANIPConnection1_GetNATRSIPStatus_Response struct { - NewRSIPAvailable string - - NewNATEnabled string -} - // GetNATRSIPStatus action. // Arguments: // @@ -3135,13 +2922,19 @@ func (client *WANIPConnection1) GetNATRSIPStatus() ( NewNATEnabled bool, err error, ) { - var request _WANIPConnection1_GetNATRSIPStatus_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewRSIPAvailable string + NewNATEnabled string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetNATRSIPStatus_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetNATRSIPStatus", &request, &response); err != nil { return } @@ -3160,30 +2953,6 @@ func (client *WANIPConnection1) GetNATRSIPStatus() ( return } -// _WANIPConnection1_GetGenericPortMappingEntry_Request is the XML structure for the input arguments for action GetGenericPortMappingEntry. -type _WANIPConnection1_GetGenericPortMappingEntry_Request struct { - NewPortMappingIndex string -} - -// _WANIPConnection1_GetGenericPortMappingEntry_Response is the XML structure for the output arguments for action GetGenericPortMappingEntry. -type _WANIPConnection1_GetGenericPortMappingEntry_Response struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - // GetGenericPortMappingEntry action. // Arguments: // @@ -3258,7 +3027,10 @@ func (client *WANIPConnection1) GetGenericPortMappingEntry( NewLeaseDuration uint32, err error, ) { - var request _WANIPConnection1_GetGenericPortMappingEntry_Request + // Request structure. + var request struct { + NewPortMappingIndex string + } // BEGIN Marshal arguments into request. if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { @@ -3267,8 +3039,19 @@ func (client *WANIPConnection1) GetGenericPortMappingEntry( // END Marshal arguments into request. + // Response structure. + var response struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetGenericPortMappingEntry_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetGenericPortMappingEntry", &request, &response); err != nil { return } @@ -3311,28 +3094,6 @@ func (client *WANIPConnection1) GetGenericPortMappingEntry( return } -// _WANIPConnection1_GetSpecificPortMappingEntry_Request is the XML structure for the input arguments for action GetSpecificPortMappingEntry. -type _WANIPConnection1_GetSpecificPortMappingEntry_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string -} - -// _WANIPConnection1_GetSpecificPortMappingEntry_Response is the XML structure for the output arguments for action GetSpecificPortMappingEntry. -type _WANIPConnection1_GetSpecificPortMappingEntry_Response struct { - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - // GetSpecificPortMappingEntry action. // Arguments: // @@ -3400,7 +3161,12 @@ func (client *WANIPConnection1) GetSpecificPortMappingEntry( NewLeaseDuration uint32, err error, ) { - var request _WANIPConnection1_GetSpecificPortMappingEntry_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -3417,8 +3183,16 @@ func (client *WANIPConnection1) GetSpecificPortMappingEntry( // END Marshal arguments into request. + // Response structure. + var response struct { + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetSpecificPortMappingEntry_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetSpecificPortMappingEntry", &request, &response); err != nil { return } @@ -3449,28 +3223,6 @@ func (client *WANIPConnection1) GetSpecificPortMappingEntry( return } -// _WANIPConnection1_AddPortMapping_Request is the XML structure for the input arguments for action AddPortMapping. -type _WANIPConnection1_AddPortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - -// _WANIPConnection1_AddPortMapping_Response is the XML structure for the output arguments for action AddPortMapping. -type _WANIPConnection1_AddPortMapping_Response struct{} - // AddPortMapping action. // Arguments: // @@ -3538,7 +3290,17 @@ func (client *WANIPConnection1) AddPortMapping( ) ( err error, ) { - var request _WANIPConnection1_AddPortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -3575,8 +3337,10 @@ func (client *WANIPConnection1) AddPortMapping( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_AddPortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "AddPortMapping", &request, &response); err != nil { return } @@ -3587,18 +3351,6 @@ func (client *WANIPConnection1) AddPortMapping( return } -// _WANIPConnection1_DeletePortMapping_Request is the XML structure for the input arguments for action DeletePortMapping. -type _WANIPConnection1_DeletePortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string -} - -// _WANIPConnection1_DeletePortMapping_Response is the XML structure for the output arguments for action DeletePortMapping. -type _WANIPConnection1_DeletePortMapping_Response struct{} - // DeletePortMapping action. // Arguments: // @@ -3631,7 +3383,12 @@ func (client *WANIPConnection1) DeletePortMapping( ) ( err error, ) { - var request _WANIPConnection1_DeletePortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -3648,8 +3405,10 @@ func (client *WANIPConnection1) DeletePortMapping( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_DeletePortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "DeletePortMapping", &request, &response); err != nil { return } @@ -3660,14 +3419,6 @@ func (client *WANIPConnection1) DeletePortMapping( return } -// _WANIPConnection1_GetExternalIPAddress_Request is the XML structure for the input arguments for action GetExternalIPAddress. -type _WANIPConnection1_GetExternalIPAddress_Request struct{} - -// _WANIPConnection1_GetExternalIPAddress_Response is the XML structure for the output arguments for action GetExternalIPAddress. -type _WANIPConnection1_GetExternalIPAddress_Response struct { - NewExternalIPAddress string -} - // GetExternalIPAddress action. // Arguments: // @@ -3684,13 +3435,18 @@ func (client *WANIPConnection1) GetExternalIPAddress() ( NewExternalIPAddress string, err error, ) { - var request _WANIPConnection1_GetExternalIPAddress_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewExternalIPAddress string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetExternalIPAddress_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetExternalIPAddress", &request, &response); err != nil { return } @@ -3710,18 +3466,6 @@ type WANPOTSLinkConfig1 struct { SOAPClient soap.SOAPClient } -// _WANPOTSLinkConfig1_SetISPInfo_Request is the XML structure for the input arguments for action SetISPInfo. -type _WANPOTSLinkConfig1_SetISPInfo_Request struct { - NewISPPhoneNumber string - - NewISPInfo string - - NewLinkType string -} - -// _WANPOTSLinkConfig1_SetISPInfo_Response is the XML structure for the output arguments for action SetISPInfo. -type _WANPOTSLinkConfig1_SetISPInfo_Response struct{} - // SetISPInfo action. // Arguments: // @@ -3754,7 +3498,12 @@ func (client *WANPOTSLinkConfig1) SetISPInfo( ) ( err error, ) { - var request _WANPOTSLinkConfig1_SetISPInfo_Request + // Request structure. + var request struct { + NewISPPhoneNumber string + NewISPInfo string + NewLinkType string + } // BEGIN Marshal arguments into request. if request.NewISPPhoneNumber, err = soap.MarshalString(NewISPPhoneNumber); err != nil { @@ -3771,8 +3520,10 @@ func (client *WANPOTSLinkConfig1) SetISPInfo( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_SetISPInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "SetISPInfo", &request, &response); err != nil { return } @@ -3783,16 +3534,6 @@ func (client *WANPOTSLinkConfig1) SetISPInfo( return } -// _WANPOTSLinkConfig1_SetCallRetryInfo_Request is the XML structure for the input arguments for action SetCallRetryInfo. -type _WANPOTSLinkConfig1_SetCallRetryInfo_Request struct { - NewNumberOfRetries string - - NewDelayBetweenRetries string -} - -// _WANPOTSLinkConfig1_SetCallRetryInfo_Response is the XML structure for the output arguments for action SetCallRetryInfo. -type _WANPOTSLinkConfig1_SetCallRetryInfo_Response struct{} - // SetCallRetryInfo action. // Arguments: // @@ -3817,7 +3558,11 @@ func (client *WANPOTSLinkConfig1) SetCallRetryInfo( ) ( err error, ) { - var request _WANPOTSLinkConfig1_SetCallRetryInfo_Request + // Request structure. + var request struct { + NewNumberOfRetries string + NewDelayBetweenRetries string + } // BEGIN Marshal arguments into request. if request.NewNumberOfRetries, err = soap.MarshalUi4(NewNumberOfRetries); err != nil { @@ -3830,8 +3575,10 @@ func (client *WANPOTSLinkConfig1) SetCallRetryInfo( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_SetCallRetryInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "SetCallRetryInfo", &request, &response); err != nil { return } @@ -3842,18 +3589,6 @@ func (client *WANPOTSLinkConfig1) SetCallRetryInfo( return } -// _WANPOTSLinkConfig1_GetISPInfo_Request is the XML structure for the input arguments for action GetISPInfo. -type _WANPOTSLinkConfig1_GetISPInfo_Request struct{} - -// _WANPOTSLinkConfig1_GetISPInfo_Response is the XML structure for the output arguments for action GetISPInfo. -type _WANPOTSLinkConfig1_GetISPInfo_Response struct { - NewISPPhoneNumber string - - NewISPInfo string - - NewLinkType string -} - // GetISPInfo action. // Arguments: // @@ -3885,13 +3620,20 @@ func (client *WANPOTSLinkConfig1) GetISPInfo() ( NewLinkType string, err error, ) { - var request _WANPOTSLinkConfig1_GetISPInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewISPPhoneNumber string + NewISPInfo string + NewLinkType string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetISPInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetISPInfo", &request, &response); err != nil { return } @@ -3914,16 +3656,6 @@ func (client *WANPOTSLinkConfig1) GetISPInfo() ( return } -// _WANPOTSLinkConfig1_GetCallRetryInfo_Request is the XML structure for the input arguments for action GetCallRetryInfo. -type _WANPOTSLinkConfig1_GetCallRetryInfo_Request struct{} - -// _WANPOTSLinkConfig1_GetCallRetryInfo_Response is the XML structure for the output arguments for action GetCallRetryInfo. -type _WANPOTSLinkConfig1_GetCallRetryInfo_Response struct { - NewNumberOfRetries string - - NewDelayBetweenRetries string -} - // GetCallRetryInfo action. // Arguments: // @@ -3947,13 +3679,19 @@ func (client *WANPOTSLinkConfig1) GetCallRetryInfo() ( NewDelayBetweenRetries uint32, err error, ) { - var request _WANPOTSLinkConfig1_GetCallRetryInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewNumberOfRetries string + NewDelayBetweenRetries string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetCallRetryInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetCallRetryInfo", &request, &response); err != nil { return } @@ -3972,14 +3710,6 @@ func (client *WANPOTSLinkConfig1) GetCallRetryInfo() ( return } -// _WANPOTSLinkConfig1_GetFclass_Request is the XML structure for the input arguments for action GetFclass. -type _WANPOTSLinkConfig1_GetFclass_Request struct{} - -// _WANPOTSLinkConfig1_GetFclass_Response is the XML structure for the output arguments for action GetFclass. -type _WANPOTSLinkConfig1_GetFclass_Response struct { - NewFclass string -} - // GetFclass action. // Arguments: // @@ -3996,13 +3726,18 @@ func (client *WANPOTSLinkConfig1) GetFclass() ( NewFclass string, err error, ) { - var request _WANPOTSLinkConfig1_GetFclass_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewFclass string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetFclass_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetFclass", &request, &response); err != nil { return } @@ -4017,14 +3752,6 @@ func (client *WANPOTSLinkConfig1) GetFclass() ( return } -// _WANPOTSLinkConfig1_GetDataModulationSupported_Request is the XML structure for the input arguments for action GetDataModulationSupported. -type _WANPOTSLinkConfig1_GetDataModulationSupported_Request struct{} - -// _WANPOTSLinkConfig1_GetDataModulationSupported_Response is the XML structure for the output arguments for action GetDataModulationSupported. -type _WANPOTSLinkConfig1_GetDataModulationSupported_Response struct { - NewDataModulationSupported string -} - // GetDataModulationSupported action. // Arguments: // @@ -4041,13 +3768,18 @@ func (client *WANPOTSLinkConfig1) GetDataModulationSupported() ( NewDataModulationSupported string, err error, ) { - var request _WANPOTSLinkConfig1_GetDataModulationSupported_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDataModulationSupported string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetDataModulationSupported_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetDataModulationSupported", &request, &response); err != nil { return } @@ -4062,14 +3794,6 @@ func (client *WANPOTSLinkConfig1) GetDataModulationSupported() ( return } -// _WANPOTSLinkConfig1_GetDataProtocol_Request is the XML structure for the input arguments for action GetDataProtocol. -type _WANPOTSLinkConfig1_GetDataProtocol_Request struct{} - -// _WANPOTSLinkConfig1_GetDataProtocol_Response is the XML structure for the output arguments for action GetDataProtocol. -type _WANPOTSLinkConfig1_GetDataProtocol_Response struct { - NewDataProtocol string -} - // GetDataProtocol action. // Arguments: // @@ -4086,13 +3810,18 @@ func (client *WANPOTSLinkConfig1) GetDataProtocol() ( NewDataProtocol string, err error, ) { - var request _WANPOTSLinkConfig1_GetDataProtocol_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDataProtocol string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetDataProtocol_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetDataProtocol", &request, &response); err != nil { return } @@ -4107,14 +3836,6 @@ func (client *WANPOTSLinkConfig1) GetDataProtocol() ( return } -// _WANPOTSLinkConfig1_GetDataCompression_Request is the XML structure for the input arguments for action GetDataCompression. -type _WANPOTSLinkConfig1_GetDataCompression_Request struct{} - -// _WANPOTSLinkConfig1_GetDataCompression_Response is the XML structure for the output arguments for action GetDataCompression. -type _WANPOTSLinkConfig1_GetDataCompression_Response struct { - NewDataCompression string -} - // GetDataCompression action. // Arguments: // @@ -4131,13 +3852,18 @@ func (client *WANPOTSLinkConfig1) GetDataCompression() ( NewDataCompression string, err error, ) { - var request _WANPOTSLinkConfig1_GetDataCompression_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDataCompression string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetDataCompression_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetDataCompression", &request, &response); err != nil { return } @@ -4152,14 +3878,6 @@ func (client *WANPOTSLinkConfig1) GetDataCompression() ( return } -// _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Request is the XML structure for the input arguments for action GetPlusVTRCommandSupported. -type _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Request struct{} - -// _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Response is the XML structure for the output arguments for action GetPlusVTRCommandSupported. -type _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Response struct { - NewPlusVTRCommandSupported string -} - // GetPlusVTRCommandSupported action. // Arguments: // @@ -4176,13 +3894,18 @@ func (client *WANPOTSLinkConfig1) GetPlusVTRCommandSupported() ( NewPlusVTRCommandSupported bool, err error, ) { - var request _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewPlusVTRCommandSupported string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetPlusVTRCommandSupported", &request, &response); err != nil { return } @@ -4202,14 +3925,6 @@ type WANPPPConnection1 struct { SOAPClient soap.SOAPClient } -// _WANPPPConnection1_SetConnectionType_Request is the XML structure for the input arguments for action SetConnectionType. -type _WANPPPConnection1_SetConnectionType_Request struct { - NewConnectionType string -} - -// _WANPPPConnection1_SetConnectionType_Response is the XML structure for the output arguments for action SetConnectionType. -type _WANPPPConnection1_SetConnectionType_Response struct{} - // SetConnectionType action. // Arguments: // @@ -4227,7 +3942,10 @@ func (client *WANPPPConnection1) SetConnectionType( ) ( err error, ) { - var request _WANPPPConnection1_SetConnectionType_Request + // Request structure. + var request struct { + NewConnectionType string + } // BEGIN Marshal arguments into request. if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { @@ -4236,8 +3954,10 @@ func (client *WANPPPConnection1) SetConnectionType( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_SetConnectionType_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "SetConnectionType", &request, &response); err != nil { return } @@ -4248,16 +3968,6 @@ func (client *WANPPPConnection1) SetConnectionType( return } -// _WANPPPConnection1_GetConnectionTypeInfo_Request is the XML structure for the input arguments for action GetConnectionTypeInfo. -type _WANPPPConnection1_GetConnectionTypeInfo_Request struct{} - -// _WANPPPConnection1_GetConnectionTypeInfo_Response is the XML structure for the output arguments for action GetConnectionTypeInfo. -type _WANPPPConnection1_GetConnectionTypeInfo_Response struct { - NewConnectionType string - - NewPossibleConnectionTypes string -} - // GetConnectionTypeInfo action. // Arguments: // @@ -4282,13 +3992,19 @@ func (client *WANPPPConnection1) GetConnectionTypeInfo() ( NewPossibleConnectionTypes string, err error, ) { - var request _WANPPPConnection1_GetConnectionTypeInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConnectionType string + NewPossibleConnectionTypes string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetConnectionTypeInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetConnectionTypeInfo", &request, &response); err != nil { return } @@ -4307,16 +4023,6 @@ func (client *WANPPPConnection1) GetConnectionTypeInfo() ( return } -// _WANPPPConnection1_ConfigureConnection_Request is the XML structure for the input arguments for action ConfigureConnection. -type _WANPPPConnection1_ConfigureConnection_Request struct { - NewUserName string - - NewPassword string -} - -// _WANPPPConnection1_ConfigureConnection_Response is the XML structure for the output arguments for action ConfigureConnection. -type _WANPPPConnection1_ConfigureConnection_Response struct{} - // ConfigureConnection action. // Arguments: // @@ -4341,7 +4047,11 @@ func (client *WANPPPConnection1) ConfigureConnection( ) ( err error, ) { - var request _WANPPPConnection1_ConfigureConnection_Request + // Request structure. + var request struct { + NewUserName string + NewPassword string + } // BEGIN Marshal arguments into request. if request.NewUserName, err = soap.MarshalString(NewUserName); err != nil { @@ -4354,8 +4064,10 @@ func (client *WANPPPConnection1) ConfigureConnection( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_ConfigureConnection_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "ConfigureConnection", &request, &response); err != nil { return } @@ -4366,12 +4078,6 @@ func (client *WANPPPConnection1) ConfigureConnection( return } -// _WANPPPConnection1_RequestConnection_Request is the XML structure for the input arguments for action RequestConnection. -type _WANPPPConnection1_RequestConnection_Request struct{} - -// _WANPPPConnection1_RequestConnection_Response is the XML structure for the output arguments for action RequestConnection. -type _WANPPPConnection1_RequestConnection_Response struct{} - // RequestConnection action. // Arguments: // @@ -4381,13 +4087,16 @@ type _WANPPPConnection1_RequestConnection_Response struct{} func (client *WANPPPConnection1) RequestConnection() ( err error, ) { - var request _WANPPPConnection1_RequestConnection_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_RequestConnection_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "RequestConnection", &request, &response); err != nil { return } @@ -4398,12 +4107,6 @@ func (client *WANPPPConnection1) RequestConnection() ( return } -// _WANPPPConnection1_RequestTermination_Request is the XML structure for the input arguments for action RequestTermination. -type _WANPPPConnection1_RequestTermination_Request struct{} - -// _WANPPPConnection1_RequestTermination_Response is the XML structure for the output arguments for action RequestTermination. -type _WANPPPConnection1_RequestTermination_Response struct{} - // RequestTermination action. // Arguments: // @@ -4413,13 +4116,16 @@ type _WANPPPConnection1_RequestTermination_Response struct{} func (client *WANPPPConnection1) RequestTermination() ( err error, ) { - var request _WANPPPConnection1_RequestTermination_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_RequestTermination_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "RequestTermination", &request, &response); err != nil { return } @@ -4430,12 +4136,6 @@ func (client *WANPPPConnection1) RequestTermination() ( return } -// _WANPPPConnection1_ForceTermination_Request is the XML structure for the input arguments for action ForceTermination. -type _WANPPPConnection1_ForceTermination_Request struct{} - -// _WANPPPConnection1_ForceTermination_Response is the XML structure for the output arguments for action ForceTermination. -type _WANPPPConnection1_ForceTermination_Response struct{} - // ForceTermination action. // Arguments: // @@ -4445,13 +4145,16 @@ type _WANPPPConnection1_ForceTermination_Response struct{} func (client *WANPPPConnection1) ForceTermination() ( err error, ) { - var request _WANPPPConnection1_ForceTermination_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_ForceTermination_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "ForceTermination", &request, &response); err != nil { return } @@ -4462,14 +4165,6 @@ func (client *WANPPPConnection1) ForceTermination() ( return } -// _WANPPPConnection1_SetAutoDisconnectTime_Request is the XML structure for the input arguments for action SetAutoDisconnectTime. -type _WANPPPConnection1_SetAutoDisconnectTime_Request struct { - NewAutoDisconnectTime string -} - -// _WANPPPConnection1_SetAutoDisconnectTime_Response is the XML structure for the output arguments for action SetAutoDisconnectTime. -type _WANPPPConnection1_SetAutoDisconnectTime_Response struct{} - // SetAutoDisconnectTime action. // Arguments: // @@ -4487,7 +4182,10 @@ func (client *WANPPPConnection1) SetAutoDisconnectTime( ) ( err error, ) { - var request _WANPPPConnection1_SetAutoDisconnectTime_Request + // Request structure. + var request struct { + NewAutoDisconnectTime string + } // BEGIN Marshal arguments into request. if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { @@ -4496,8 +4194,10 @@ func (client *WANPPPConnection1) SetAutoDisconnectTime( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_SetAutoDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "SetAutoDisconnectTime", &request, &response); err != nil { return } @@ -4508,14 +4208,6 @@ func (client *WANPPPConnection1) SetAutoDisconnectTime( return } -// _WANPPPConnection1_SetIdleDisconnectTime_Request is the XML structure for the input arguments for action SetIdleDisconnectTime. -type _WANPPPConnection1_SetIdleDisconnectTime_Request struct { - NewIdleDisconnectTime string -} - -// _WANPPPConnection1_SetIdleDisconnectTime_Response is the XML structure for the output arguments for action SetIdleDisconnectTime. -type _WANPPPConnection1_SetIdleDisconnectTime_Response struct{} - // SetIdleDisconnectTime action. // Arguments: // @@ -4533,7 +4225,10 @@ func (client *WANPPPConnection1) SetIdleDisconnectTime( ) ( err error, ) { - var request _WANPPPConnection1_SetIdleDisconnectTime_Request + // Request structure. + var request struct { + NewIdleDisconnectTime string + } // BEGIN Marshal arguments into request. if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { @@ -4542,8 +4237,10 @@ func (client *WANPPPConnection1) SetIdleDisconnectTime( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_SetIdleDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "SetIdleDisconnectTime", &request, &response); err != nil { return } @@ -4554,14 +4251,6 @@ func (client *WANPPPConnection1) SetIdleDisconnectTime( return } -// _WANPPPConnection1_SetWarnDisconnectDelay_Request is the XML structure for the input arguments for action SetWarnDisconnectDelay. -type _WANPPPConnection1_SetWarnDisconnectDelay_Request struct { - NewWarnDisconnectDelay string -} - -// _WANPPPConnection1_SetWarnDisconnectDelay_Response is the XML structure for the output arguments for action SetWarnDisconnectDelay. -type _WANPPPConnection1_SetWarnDisconnectDelay_Response struct{} - // SetWarnDisconnectDelay action. // Arguments: // @@ -4579,7 +4268,10 @@ func (client *WANPPPConnection1) SetWarnDisconnectDelay( ) ( err error, ) { - var request _WANPPPConnection1_SetWarnDisconnectDelay_Request + // Request structure. + var request struct { + NewWarnDisconnectDelay string + } // BEGIN Marshal arguments into request. if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { @@ -4588,8 +4280,10 @@ func (client *WANPPPConnection1) SetWarnDisconnectDelay( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_SetWarnDisconnectDelay_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "SetWarnDisconnectDelay", &request, &response); err != nil { return } @@ -4600,18 +4294,6 @@ func (client *WANPPPConnection1) SetWarnDisconnectDelay( return } -// _WANPPPConnection1_GetStatusInfo_Request is the XML structure for the input arguments for action GetStatusInfo. -type _WANPPPConnection1_GetStatusInfo_Request struct{} - -// _WANPPPConnection1_GetStatusInfo_Response is the XML structure for the output arguments for action GetStatusInfo. -type _WANPPPConnection1_GetStatusInfo_Response struct { - NewConnectionStatus string - - NewLastConnectionError string - - NewUptime string -} - // GetStatusInfo action. // Arguments: // @@ -4644,13 +4326,20 @@ func (client *WANPPPConnection1) GetStatusInfo() ( NewUptime uint32, err error, ) { - var request _WANPPPConnection1_GetStatusInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConnectionStatus string + NewLastConnectionError string + NewUptime string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetStatusInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetStatusInfo", &request, &response); err != nil { return } @@ -4673,16 +4362,6 @@ func (client *WANPPPConnection1) GetStatusInfo() ( return } -// _WANPPPConnection1_GetLinkLayerMaxBitRates_Request is the XML structure for the input arguments for action GetLinkLayerMaxBitRates. -type _WANPPPConnection1_GetLinkLayerMaxBitRates_Request struct{} - -// _WANPPPConnection1_GetLinkLayerMaxBitRates_Response is the XML structure for the output arguments for action GetLinkLayerMaxBitRates. -type _WANPPPConnection1_GetLinkLayerMaxBitRates_Response struct { - NewUpstreamMaxBitRate string - - NewDownstreamMaxBitRate string -} - // GetLinkLayerMaxBitRates action. // Arguments: // @@ -4706,13 +4385,19 @@ func (client *WANPPPConnection1) GetLinkLayerMaxBitRates() ( NewDownstreamMaxBitRate uint32, err error, ) { - var request _WANPPPConnection1_GetLinkLayerMaxBitRates_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUpstreamMaxBitRate string + NewDownstreamMaxBitRate string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetLinkLayerMaxBitRates_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetLinkLayerMaxBitRates", &request, &response); err != nil { return } @@ -4731,14 +4416,6 @@ func (client *WANPPPConnection1) GetLinkLayerMaxBitRates() ( return } -// _WANPPPConnection1_GetPPPEncryptionProtocol_Request is the XML structure for the input arguments for action GetPPPEncryptionProtocol. -type _WANPPPConnection1_GetPPPEncryptionProtocol_Request struct{} - -// _WANPPPConnection1_GetPPPEncryptionProtocol_Response is the XML structure for the output arguments for action GetPPPEncryptionProtocol. -type _WANPPPConnection1_GetPPPEncryptionProtocol_Response struct { - NewPPPEncryptionProtocol string -} - // GetPPPEncryptionProtocol action. // Arguments: // @@ -4755,13 +4432,18 @@ func (client *WANPPPConnection1) GetPPPEncryptionProtocol() ( NewPPPEncryptionProtocol string, err error, ) { - var request _WANPPPConnection1_GetPPPEncryptionProtocol_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewPPPEncryptionProtocol string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetPPPEncryptionProtocol_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetPPPEncryptionProtocol", &request, &response); err != nil { return } @@ -4776,14 +4458,6 @@ func (client *WANPPPConnection1) GetPPPEncryptionProtocol() ( return } -// _WANPPPConnection1_GetPPPCompressionProtocol_Request is the XML structure for the input arguments for action GetPPPCompressionProtocol. -type _WANPPPConnection1_GetPPPCompressionProtocol_Request struct{} - -// _WANPPPConnection1_GetPPPCompressionProtocol_Response is the XML structure for the output arguments for action GetPPPCompressionProtocol. -type _WANPPPConnection1_GetPPPCompressionProtocol_Response struct { - NewPPPCompressionProtocol string -} - // GetPPPCompressionProtocol action. // Arguments: // @@ -4800,13 +4474,18 @@ func (client *WANPPPConnection1) GetPPPCompressionProtocol() ( NewPPPCompressionProtocol string, err error, ) { - var request _WANPPPConnection1_GetPPPCompressionProtocol_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewPPPCompressionProtocol string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetPPPCompressionProtocol_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetPPPCompressionProtocol", &request, &response); err != nil { return } @@ -4821,14 +4500,6 @@ func (client *WANPPPConnection1) GetPPPCompressionProtocol() ( return } -// _WANPPPConnection1_GetPPPAuthenticationProtocol_Request is the XML structure for the input arguments for action GetPPPAuthenticationProtocol. -type _WANPPPConnection1_GetPPPAuthenticationProtocol_Request struct{} - -// _WANPPPConnection1_GetPPPAuthenticationProtocol_Response is the XML structure for the output arguments for action GetPPPAuthenticationProtocol. -type _WANPPPConnection1_GetPPPAuthenticationProtocol_Response struct { - NewPPPAuthenticationProtocol string -} - // GetPPPAuthenticationProtocol action. // Arguments: // @@ -4845,13 +4516,18 @@ func (client *WANPPPConnection1) GetPPPAuthenticationProtocol() ( NewPPPAuthenticationProtocol string, err error, ) { - var request _WANPPPConnection1_GetPPPAuthenticationProtocol_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewPPPAuthenticationProtocol string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetPPPAuthenticationProtocol_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetPPPAuthenticationProtocol", &request, &response); err != nil { return } @@ -4866,14 +4542,6 @@ func (client *WANPPPConnection1) GetPPPAuthenticationProtocol() ( return } -// _WANPPPConnection1_GetUserName_Request is the XML structure for the input arguments for action GetUserName. -type _WANPPPConnection1_GetUserName_Request struct{} - -// _WANPPPConnection1_GetUserName_Response is the XML structure for the output arguments for action GetUserName. -type _WANPPPConnection1_GetUserName_Response struct { - NewUserName string -} - // GetUserName action. // Arguments: // @@ -4890,13 +4558,18 @@ func (client *WANPPPConnection1) GetUserName() ( NewUserName string, err error, ) { - var request _WANPPPConnection1_GetUserName_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUserName string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetUserName_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetUserName", &request, &response); err != nil { return } @@ -4911,14 +4584,6 @@ func (client *WANPPPConnection1) GetUserName() ( return } -// _WANPPPConnection1_GetPassword_Request is the XML structure for the input arguments for action GetPassword. -type _WANPPPConnection1_GetPassword_Request struct{} - -// _WANPPPConnection1_GetPassword_Response is the XML structure for the output arguments for action GetPassword. -type _WANPPPConnection1_GetPassword_Response struct { - NewPassword string -} - // GetPassword action. // Arguments: // @@ -4935,13 +4600,18 @@ func (client *WANPPPConnection1) GetPassword() ( NewPassword string, err error, ) { - var request _WANPPPConnection1_GetPassword_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewPassword string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetPassword_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetPassword", &request, &response); err != nil { return } @@ -4956,14 +4626,6 @@ func (client *WANPPPConnection1) GetPassword() ( return } -// _WANPPPConnection1_GetAutoDisconnectTime_Request is the XML structure for the input arguments for action GetAutoDisconnectTime. -type _WANPPPConnection1_GetAutoDisconnectTime_Request struct{} - -// _WANPPPConnection1_GetAutoDisconnectTime_Response is the XML structure for the output arguments for action GetAutoDisconnectTime. -type _WANPPPConnection1_GetAutoDisconnectTime_Response struct { - NewAutoDisconnectTime string -} - // GetAutoDisconnectTime action. // Arguments: // @@ -4980,13 +4642,18 @@ func (client *WANPPPConnection1) GetAutoDisconnectTime() ( NewAutoDisconnectTime uint32, err error, ) { - var request _WANPPPConnection1_GetAutoDisconnectTime_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewAutoDisconnectTime string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetAutoDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetAutoDisconnectTime", &request, &response); err != nil { return } @@ -5001,14 +4668,6 @@ func (client *WANPPPConnection1) GetAutoDisconnectTime() ( return } -// _WANPPPConnection1_GetIdleDisconnectTime_Request is the XML structure for the input arguments for action GetIdleDisconnectTime. -type _WANPPPConnection1_GetIdleDisconnectTime_Request struct{} - -// _WANPPPConnection1_GetIdleDisconnectTime_Response is the XML structure for the output arguments for action GetIdleDisconnectTime. -type _WANPPPConnection1_GetIdleDisconnectTime_Response struct { - NewIdleDisconnectTime string -} - // GetIdleDisconnectTime action. // Arguments: // @@ -5025,13 +4684,18 @@ func (client *WANPPPConnection1) GetIdleDisconnectTime() ( NewIdleDisconnectTime uint32, err error, ) { - var request _WANPPPConnection1_GetIdleDisconnectTime_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewIdleDisconnectTime string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetIdleDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetIdleDisconnectTime", &request, &response); err != nil { return } @@ -5046,14 +4710,6 @@ func (client *WANPPPConnection1) GetIdleDisconnectTime() ( return } -// _WANPPPConnection1_GetWarnDisconnectDelay_Request is the XML structure for the input arguments for action GetWarnDisconnectDelay. -type _WANPPPConnection1_GetWarnDisconnectDelay_Request struct{} - -// _WANPPPConnection1_GetWarnDisconnectDelay_Response is the XML structure for the output arguments for action GetWarnDisconnectDelay. -type _WANPPPConnection1_GetWarnDisconnectDelay_Response struct { - NewWarnDisconnectDelay string -} - // GetWarnDisconnectDelay action. // Arguments: // @@ -5070,13 +4726,18 @@ func (client *WANPPPConnection1) GetWarnDisconnectDelay() ( NewWarnDisconnectDelay uint32, err error, ) { - var request _WANPPPConnection1_GetWarnDisconnectDelay_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewWarnDisconnectDelay string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetWarnDisconnectDelay_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetWarnDisconnectDelay", &request, &response); err != nil { return } @@ -5091,16 +4752,6 @@ func (client *WANPPPConnection1) GetWarnDisconnectDelay() ( return } -// _WANPPPConnection1_GetNATRSIPStatus_Request is the XML structure for the input arguments for action GetNATRSIPStatus. -type _WANPPPConnection1_GetNATRSIPStatus_Request struct{} - -// _WANPPPConnection1_GetNATRSIPStatus_Response is the XML structure for the output arguments for action GetNATRSIPStatus. -type _WANPPPConnection1_GetNATRSIPStatus_Response struct { - NewRSIPAvailable string - - NewNATEnabled string -} - // GetNATRSIPStatus action. // Arguments: // @@ -5124,13 +4775,19 @@ func (client *WANPPPConnection1) GetNATRSIPStatus() ( NewNATEnabled bool, err error, ) { - var request _WANPPPConnection1_GetNATRSIPStatus_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewRSIPAvailable string + NewNATEnabled string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetNATRSIPStatus_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetNATRSIPStatus", &request, &response); err != nil { return } @@ -5149,30 +4806,6 @@ func (client *WANPPPConnection1) GetNATRSIPStatus() ( return } -// _WANPPPConnection1_GetGenericPortMappingEntry_Request is the XML structure for the input arguments for action GetGenericPortMappingEntry. -type _WANPPPConnection1_GetGenericPortMappingEntry_Request struct { - NewPortMappingIndex string -} - -// _WANPPPConnection1_GetGenericPortMappingEntry_Response is the XML structure for the output arguments for action GetGenericPortMappingEntry. -type _WANPPPConnection1_GetGenericPortMappingEntry_Response struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - // GetGenericPortMappingEntry action. // Arguments: // @@ -5247,7 +4880,10 @@ func (client *WANPPPConnection1) GetGenericPortMappingEntry( NewLeaseDuration uint32, err error, ) { - var request _WANPPPConnection1_GetGenericPortMappingEntry_Request + // Request structure. + var request struct { + NewPortMappingIndex string + } // BEGIN Marshal arguments into request. if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { @@ -5256,8 +4892,19 @@ func (client *WANPPPConnection1) GetGenericPortMappingEntry( // END Marshal arguments into request. + // Response structure. + var response struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetGenericPortMappingEntry_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetGenericPortMappingEntry", &request, &response); err != nil { return } @@ -5300,28 +4947,6 @@ func (client *WANPPPConnection1) GetGenericPortMappingEntry( return } -// _WANPPPConnection1_GetSpecificPortMappingEntry_Request is the XML structure for the input arguments for action GetSpecificPortMappingEntry. -type _WANPPPConnection1_GetSpecificPortMappingEntry_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string -} - -// _WANPPPConnection1_GetSpecificPortMappingEntry_Response is the XML structure for the output arguments for action GetSpecificPortMappingEntry. -type _WANPPPConnection1_GetSpecificPortMappingEntry_Response struct { - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - // GetSpecificPortMappingEntry action. // Arguments: // @@ -5389,7 +5014,12 @@ func (client *WANPPPConnection1) GetSpecificPortMappingEntry( NewLeaseDuration uint32, err error, ) { - var request _WANPPPConnection1_GetSpecificPortMappingEntry_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -5406,8 +5036,16 @@ func (client *WANPPPConnection1) GetSpecificPortMappingEntry( // END Marshal arguments into request. + // Response structure. + var response struct { + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetSpecificPortMappingEntry_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetSpecificPortMappingEntry", &request, &response); err != nil { return } @@ -5438,28 +5076,6 @@ func (client *WANPPPConnection1) GetSpecificPortMappingEntry( return } -// _WANPPPConnection1_AddPortMapping_Request is the XML structure for the input arguments for action AddPortMapping. -type _WANPPPConnection1_AddPortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - -// _WANPPPConnection1_AddPortMapping_Response is the XML structure for the output arguments for action AddPortMapping. -type _WANPPPConnection1_AddPortMapping_Response struct{} - // AddPortMapping action. // Arguments: // @@ -5527,7 +5143,17 @@ func (client *WANPPPConnection1) AddPortMapping( ) ( err error, ) { - var request _WANPPPConnection1_AddPortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -5564,8 +5190,10 @@ func (client *WANPPPConnection1) AddPortMapping( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_AddPortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "AddPortMapping", &request, &response); err != nil { return } @@ -5576,18 +5204,6 @@ func (client *WANPPPConnection1) AddPortMapping( return } -// _WANPPPConnection1_DeletePortMapping_Request is the XML structure for the input arguments for action DeletePortMapping. -type _WANPPPConnection1_DeletePortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string -} - -// _WANPPPConnection1_DeletePortMapping_Response is the XML structure for the output arguments for action DeletePortMapping. -type _WANPPPConnection1_DeletePortMapping_Response struct{} - // DeletePortMapping action. // Arguments: // @@ -5620,7 +5236,12 @@ func (client *WANPPPConnection1) DeletePortMapping( ) ( err error, ) { - var request _WANPPPConnection1_DeletePortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -5637,8 +5258,10 @@ func (client *WANPPPConnection1) DeletePortMapping( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_DeletePortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "DeletePortMapping", &request, &response); err != nil { return } @@ -5649,14 +5272,6 @@ func (client *WANPPPConnection1) DeletePortMapping( return } -// _WANPPPConnection1_GetExternalIPAddress_Request is the XML structure for the input arguments for action GetExternalIPAddress. -type _WANPPPConnection1_GetExternalIPAddress_Request struct{} - -// _WANPPPConnection1_GetExternalIPAddress_Response is the XML structure for the output arguments for action GetExternalIPAddress. -type _WANPPPConnection1_GetExternalIPAddress_Response struct { - NewExternalIPAddress string -} - // GetExternalIPAddress action. // Arguments: // @@ -5673,13 +5288,18 @@ func (client *WANPPPConnection1) GetExternalIPAddress() ( NewExternalIPAddress string, err error, ) { - var request _WANPPPConnection1_GetExternalIPAddress_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewExternalIPAddress string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetExternalIPAddress_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetExternalIPAddress", &request, &response); err != nil { return } diff --git a/dcps/internetgateway2/internetgateway2.go b/dcps/internetgateway2/internetgateway2.go index b735ab3..fd4f907 100644 --- a/dcps/internetgateway2/internetgateway2.go +++ b/dcps/internetgateway2/internetgateway2.go @@ -50,14 +50,6 @@ type LANHostConfigManagement1 struct { SOAPClient soap.SOAPClient } -// _LANHostConfigManagement1_SetDHCPServerConfigurable_Request is the XML structure for the input arguments for action SetDHCPServerConfigurable. -type _LANHostConfigManagement1_SetDHCPServerConfigurable_Request struct { - NewDHCPServerConfigurable string -} - -// _LANHostConfigManagement1_SetDHCPServerConfigurable_Response is the XML structure for the output arguments for action SetDHCPServerConfigurable. -type _LANHostConfigManagement1_SetDHCPServerConfigurable_Response struct{} - // SetDHCPServerConfigurable action. // Arguments: // @@ -75,7 +67,10 @@ func (client *LANHostConfigManagement1) SetDHCPServerConfigurable( ) ( err error, ) { - var request _LANHostConfigManagement1_SetDHCPServerConfigurable_Request + // Request structure. + var request struct { + NewDHCPServerConfigurable string + } // BEGIN Marshal arguments into request. if request.NewDHCPServerConfigurable, err = soap.MarshalBoolean(NewDHCPServerConfigurable); err != nil { @@ -84,8 +79,10 @@ func (client *LANHostConfigManagement1) SetDHCPServerConfigurable( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetDHCPServerConfigurable_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetDHCPServerConfigurable", &request, &response); err != nil { return } @@ -96,14 +93,6 @@ func (client *LANHostConfigManagement1) SetDHCPServerConfigurable( return } -// _LANHostConfigManagement1_GetDHCPServerConfigurable_Request is the XML structure for the input arguments for action GetDHCPServerConfigurable. -type _LANHostConfigManagement1_GetDHCPServerConfigurable_Request struct{} - -// _LANHostConfigManagement1_GetDHCPServerConfigurable_Response is the XML structure for the output arguments for action GetDHCPServerConfigurable. -type _LANHostConfigManagement1_GetDHCPServerConfigurable_Response struct { - NewDHCPServerConfigurable string -} - // GetDHCPServerConfigurable action. // Arguments: // @@ -120,13 +109,18 @@ func (client *LANHostConfigManagement1) GetDHCPServerConfigurable() ( NewDHCPServerConfigurable bool, err error, ) { - var request _LANHostConfigManagement1_GetDHCPServerConfigurable_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDHCPServerConfigurable string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetDHCPServerConfigurable_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetDHCPServerConfigurable", &request, &response); err != nil { return } @@ -141,14 +135,6 @@ func (client *LANHostConfigManagement1) GetDHCPServerConfigurable() ( return } -// _LANHostConfigManagement1_SetDHCPRelay_Request is the XML structure for the input arguments for action SetDHCPRelay. -type _LANHostConfigManagement1_SetDHCPRelay_Request struct { - NewDHCPRelay string -} - -// _LANHostConfigManagement1_SetDHCPRelay_Response is the XML structure for the output arguments for action SetDHCPRelay. -type _LANHostConfigManagement1_SetDHCPRelay_Response struct{} - // SetDHCPRelay action. // Arguments: // @@ -166,7 +152,10 @@ func (client *LANHostConfigManagement1) SetDHCPRelay( ) ( err error, ) { - var request _LANHostConfigManagement1_SetDHCPRelay_Request + // Request structure. + var request struct { + NewDHCPRelay string + } // BEGIN Marshal arguments into request. if request.NewDHCPRelay, err = soap.MarshalBoolean(NewDHCPRelay); err != nil { @@ -175,8 +164,10 @@ func (client *LANHostConfigManagement1) SetDHCPRelay( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetDHCPRelay_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetDHCPRelay", &request, &response); err != nil { return } @@ -187,14 +178,6 @@ func (client *LANHostConfigManagement1) SetDHCPRelay( return } -// _LANHostConfigManagement1_GetDHCPRelay_Request is the XML structure for the input arguments for action GetDHCPRelay. -type _LANHostConfigManagement1_GetDHCPRelay_Request struct{} - -// _LANHostConfigManagement1_GetDHCPRelay_Response is the XML structure for the output arguments for action GetDHCPRelay. -type _LANHostConfigManagement1_GetDHCPRelay_Response struct { - NewDHCPRelay string -} - // GetDHCPRelay action. // Arguments: // @@ -211,13 +194,18 @@ func (client *LANHostConfigManagement1) GetDHCPRelay() ( NewDHCPRelay bool, err error, ) { - var request _LANHostConfigManagement1_GetDHCPRelay_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDHCPRelay string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetDHCPRelay_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetDHCPRelay", &request, &response); err != nil { return } @@ -232,14 +220,6 @@ func (client *LANHostConfigManagement1) GetDHCPRelay() ( return } -// _LANHostConfigManagement1_SetSubnetMask_Request is the XML structure for the input arguments for action SetSubnetMask. -type _LANHostConfigManagement1_SetSubnetMask_Request struct { - NewSubnetMask string -} - -// _LANHostConfigManagement1_SetSubnetMask_Response is the XML structure for the output arguments for action SetSubnetMask. -type _LANHostConfigManagement1_SetSubnetMask_Response struct{} - // SetSubnetMask action. // Arguments: // @@ -257,7 +237,10 @@ func (client *LANHostConfigManagement1) SetSubnetMask( ) ( err error, ) { - var request _LANHostConfigManagement1_SetSubnetMask_Request + // Request structure. + var request struct { + NewSubnetMask string + } // BEGIN Marshal arguments into request. if request.NewSubnetMask, err = soap.MarshalString(NewSubnetMask); err != nil { @@ -266,8 +249,10 @@ func (client *LANHostConfigManagement1) SetSubnetMask( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetSubnetMask_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetSubnetMask", &request, &response); err != nil { return } @@ -278,14 +263,6 @@ func (client *LANHostConfigManagement1) SetSubnetMask( return } -// _LANHostConfigManagement1_GetSubnetMask_Request is the XML structure for the input arguments for action GetSubnetMask. -type _LANHostConfigManagement1_GetSubnetMask_Request struct{} - -// _LANHostConfigManagement1_GetSubnetMask_Response is the XML structure for the output arguments for action GetSubnetMask. -type _LANHostConfigManagement1_GetSubnetMask_Response struct { - NewSubnetMask string -} - // GetSubnetMask action. // Arguments: // @@ -302,13 +279,18 @@ func (client *LANHostConfigManagement1) GetSubnetMask() ( NewSubnetMask string, err error, ) { - var request _LANHostConfigManagement1_GetSubnetMask_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewSubnetMask string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetSubnetMask_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetSubnetMask", &request, &response); err != nil { return } @@ -323,14 +305,6 @@ func (client *LANHostConfigManagement1) GetSubnetMask() ( return } -// _LANHostConfigManagement1_SetIPRouter_Request is the XML structure for the input arguments for action SetIPRouter. -type _LANHostConfigManagement1_SetIPRouter_Request struct { - NewIPRouters string -} - -// _LANHostConfigManagement1_SetIPRouter_Response is the XML structure for the output arguments for action SetIPRouter. -type _LANHostConfigManagement1_SetIPRouter_Response struct{} - // SetIPRouter action. // Arguments: // @@ -348,7 +322,10 @@ func (client *LANHostConfigManagement1) SetIPRouter( ) ( err error, ) { - var request _LANHostConfigManagement1_SetIPRouter_Request + // Request structure. + var request struct { + NewIPRouters string + } // BEGIN Marshal arguments into request. if request.NewIPRouters, err = soap.MarshalString(NewIPRouters); err != nil { @@ -357,8 +334,10 @@ func (client *LANHostConfigManagement1) SetIPRouter( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetIPRouter_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetIPRouter", &request, &response); err != nil { return } @@ -369,14 +348,6 @@ func (client *LANHostConfigManagement1) SetIPRouter( return } -// _LANHostConfigManagement1_DeleteIPRouter_Request is the XML structure for the input arguments for action DeleteIPRouter. -type _LANHostConfigManagement1_DeleteIPRouter_Request struct { - NewIPRouters string -} - -// _LANHostConfigManagement1_DeleteIPRouter_Response is the XML structure for the output arguments for action DeleteIPRouter. -type _LANHostConfigManagement1_DeleteIPRouter_Response struct{} - // DeleteIPRouter action. // Arguments: // @@ -394,7 +365,10 @@ func (client *LANHostConfigManagement1) DeleteIPRouter( ) ( err error, ) { - var request _LANHostConfigManagement1_DeleteIPRouter_Request + // Request structure. + var request struct { + NewIPRouters string + } // BEGIN Marshal arguments into request. if request.NewIPRouters, err = soap.MarshalString(NewIPRouters); err != nil { @@ -403,8 +377,10 @@ func (client *LANHostConfigManagement1) DeleteIPRouter( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_DeleteIPRouter_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "DeleteIPRouter", &request, &response); err != nil { return } @@ -415,14 +391,6 @@ func (client *LANHostConfigManagement1) DeleteIPRouter( return } -// _LANHostConfigManagement1_GetIPRoutersList_Request is the XML structure for the input arguments for action GetIPRoutersList. -type _LANHostConfigManagement1_GetIPRoutersList_Request struct{} - -// _LANHostConfigManagement1_GetIPRoutersList_Response is the XML structure for the output arguments for action GetIPRoutersList. -type _LANHostConfigManagement1_GetIPRoutersList_Response struct { - NewIPRouters string -} - // GetIPRoutersList action. // Arguments: // @@ -439,13 +407,18 @@ func (client *LANHostConfigManagement1) GetIPRoutersList() ( NewIPRouters string, err error, ) { - var request _LANHostConfigManagement1_GetIPRoutersList_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewIPRouters string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetIPRoutersList_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetIPRoutersList", &request, &response); err != nil { return } @@ -460,14 +433,6 @@ func (client *LANHostConfigManagement1) GetIPRoutersList() ( return } -// _LANHostConfigManagement1_SetDomainName_Request is the XML structure for the input arguments for action SetDomainName. -type _LANHostConfigManagement1_SetDomainName_Request struct { - NewDomainName string -} - -// _LANHostConfigManagement1_SetDomainName_Response is the XML structure for the output arguments for action SetDomainName. -type _LANHostConfigManagement1_SetDomainName_Response struct{} - // SetDomainName action. // Arguments: // @@ -485,7 +450,10 @@ func (client *LANHostConfigManagement1) SetDomainName( ) ( err error, ) { - var request _LANHostConfigManagement1_SetDomainName_Request + // Request structure. + var request struct { + NewDomainName string + } // BEGIN Marshal arguments into request. if request.NewDomainName, err = soap.MarshalString(NewDomainName); err != nil { @@ -494,8 +462,10 @@ func (client *LANHostConfigManagement1) SetDomainName( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetDomainName_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetDomainName", &request, &response); err != nil { return } @@ -506,14 +476,6 @@ func (client *LANHostConfigManagement1) SetDomainName( return } -// _LANHostConfigManagement1_GetDomainName_Request is the XML structure for the input arguments for action GetDomainName. -type _LANHostConfigManagement1_GetDomainName_Request struct{} - -// _LANHostConfigManagement1_GetDomainName_Response is the XML structure for the output arguments for action GetDomainName. -type _LANHostConfigManagement1_GetDomainName_Response struct { - NewDomainName string -} - // GetDomainName action. // Arguments: // @@ -530,13 +492,18 @@ func (client *LANHostConfigManagement1) GetDomainName() ( NewDomainName string, err error, ) { - var request _LANHostConfigManagement1_GetDomainName_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDomainName string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetDomainName_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetDomainName", &request, &response); err != nil { return } @@ -551,16 +518,6 @@ func (client *LANHostConfigManagement1) GetDomainName() ( return } -// _LANHostConfigManagement1_SetAddressRange_Request is the XML structure for the input arguments for action SetAddressRange. -type _LANHostConfigManagement1_SetAddressRange_Request struct { - NewMinAddress string - - NewMaxAddress string -} - -// _LANHostConfigManagement1_SetAddressRange_Response is the XML structure for the output arguments for action SetAddressRange. -type _LANHostConfigManagement1_SetAddressRange_Response struct{} - // SetAddressRange action. // Arguments: // @@ -585,7 +542,11 @@ func (client *LANHostConfigManagement1) SetAddressRange( ) ( err error, ) { - var request _LANHostConfigManagement1_SetAddressRange_Request + // Request structure. + var request struct { + NewMinAddress string + NewMaxAddress string + } // BEGIN Marshal arguments into request. if request.NewMinAddress, err = soap.MarshalString(NewMinAddress); err != nil { @@ -598,8 +559,10 @@ func (client *LANHostConfigManagement1) SetAddressRange( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetAddressRange_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetAddressRange", &request, &response); err != nil { return } @@ -610,16 +573,6 @@ func (client *LANHostConfigManagement1) SetAddressRange( return } -// _LANHostConfigManagement1_GetAddressRange_Request is the XML structure for the input arguments for action GetAddressRange. -type _LANHostConfigManagement1_GetAddressRange_Request struct{} - -// _LANHostConfigManagement1_GetAddressRange_Response is the XML structure for the output arguments for action GetAddressRange. -type _LANHostConfigManagement1_GetAddressRange_Response struct { - NewMinAddress string - - NewMaxAddress string -} - // GetAddressRange action. // Arguments: // @@ -643,13 +596,19 @@ func (client *LANHostConfigManagement1) GetAddressRange() ( NewMaxAddress string, err error, ) { - var request _LANHostConfigManagement1_GetAddressRange_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewMinAddress string + NewMaxAddress string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetAddressRange_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetAddressRange", &request, &response); err != nil { return } @@ -668,14 +627,6 @@ func (client *LANHostConfigManagement1) GetAddressRange() ( return } -// _LANHostConfigManagement1_SetReservedAddress_Request is the XML structure for the input arguments for action SetReservedAddress. -type _LANHostConfigManagement1_SetReservedAddress_Request struct { - NewReservedAddresses string -} - -// _LANHostConfigManagement1_SetReservedAddress_Response is the XML structure for the output arguments for action SetReservedAddress. -type _LANHostConfigManagement1_SetReservedAddress_Response struct{} - // SetReservedAddress action. // Arguments: // @@ -693,7 +644,10 @@ func (client *LANHostConfigManagement1) SetReservedAddress( ) ( err error, ) { - var request _LANHostConfigManagement1_SetReservedAddress_Request + // Request structure. + var request struct { + NewReservedAddresses string + } // BEGIN Marshal arguments into request. if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { @@ -702,8 +656,10 @@ func (client *LANHostConfigManagement1) SetReservedAddress( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetReservedAddress_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetReservedAddress", &request, &response); err != nil { return } @@ -714,14 +670,6 @@ func (client *LANHostConfigManagement1) SetReservedAddress( return } -// _LANHostConfigManagement1_DeleteReservedAddress_Request is the XML structure for the input arguments for action DeleteReservedAddress. -type _LANHostConfigManagement1_DeleteReservedAddress_Request struct { - NewReservedAddresses string -} - -// _LANHostConfigManagement1_DeleteReservedAddress_Response is the XML structure for the output arguments for action DeleteReservedAddress. -type _LANHostConfigManagement1_DeleteReservedAddress_Response struct{} - // DeleteReservedAddress action. // Arguments: // @@ -739,7 +687,10 @@ func (client *LANHostConfigManagement1) DeleteReservedAddress( ) ( err error, ) { - var request _LANHostConfigManagement1_DeleteReservedAddress_Request + // Request structure. + var request struct { + NewReservedAddresses string + } // BEGIN Marshal arguments into request. if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { @@ -748,8 +699,10 @@ func (client *LANHostConfigManagement1) DeleteReservedAddress( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_DeleteReservedAddress_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "DeleteReservedAddress", &request, &response); err != nil { return } @@ -760,14 +713,6 @@ func (client *LANHostConfigManagement1) DeleteReservedAddress( return } -// _LANHostConfigManagement1_GetReservedAddresses_Request is the XML structure for the input arguments for action GetReservedAddresses. -type _LANHostConfigManagement1_GetReservedAddresses_Request struct{} - -// _LANHostConfigManagement1_GetReservedAddresses_Response is the XML structure for the output arguments for action GetReservedAddresses. -type _LANHostConfigManagement1_GetReservedAddresses_Response struct { - NewReservedAddresses string -} - // GetReservedAddresses action. // Arguments: // @@ -784,13 +729,18 @@ func (client *LANHostConfigManagement1) GetReservedAddresses() ( NewReservedAddresses string, err error, ) { - var request _LANHostConfigManagement1_GetReservedAddresses_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewReservedAddresses string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetReservedAddresses_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetReservedAddresses", &request, &response); err != nil { return } @@ -805,14 +755,6 @@ func (client *LANHostConfigManagement1) GetReservedAddresses() ( return } -// _LANHostConfigManagement1_SetDNSServer_Request is the XML structure for the input arguments for action SetDNSServer. -type _LANHostConfigManagement1_SetDNSServer_Request struct { - NewDNSServers string -} - -// _LANHostConfigManagement1_SetDNSServer_Response is the XML structure for the output arguments for action SetDNSServer. -type _LANHostConfigManagement1_SetDNSServer_Response struct{} - // SetDNSServer action. // Arguments: // @@ -830,7 +772,10 @@ func (client *LANHostConfigManagement1) SetDNSServer( ) ( err error, ) { - var request _LANHostConfigManagement1_SetDNSServer_Request + // Request structure. + var request struct { + NewDNSServers string + } // BEGIN Marshal arguments into request. if request.NewDNSServers, err = soap.MarshalString(NewDNSServers); err != nil { @@ -839,8 +784,10 @@ func (client *LANHostConfigManagement1) SetDNSServer( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_SetDNSServer_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "SetDNSServer", &request, &response); err != nil { return } @@ -851,14 +798,6 @@ func (client *LANHostConfigManagement1) SetDNSServer( return } -// _LANHostConfigManagement1_DeleteDNSServer_Request is the XML structure for the input arguments for action DeleteDNSServer. -type _LANHostConfigManagement1_DeleteDNSServer_Request struct { - NewDNSServers string -} - -// _LANHostConfigManagement1_DeleteDNSServer_Response is the XML structure for the output arguments for action DeleteDNSServer. -type _LANHostConfigManagement1_DeleteDNSServer_Response struct{} - // DeleteDNSServer action. // Arguments: // @@ -876,7 +815,10 @@ func (client *LANHostConfigManagement1) DeleteDNSServer( ) ( err error, ) { - var request _LANHostConfigManagement1_DeleteDNSServer_Request + // Request structure. + var request struct { + NewDNSServers string + } // BEGIN Marshal arguments into request. if request.NewDNSServers, err = soap.MarshalString(NewDNSServers); err != nil { @@ -885,8 +827,10 @@ func (client *LANHostConfigManagement1) DeleteDNSServer( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _LANHostConfigManagement1_DeleteDNSServer_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "DeleteDNSServer", &request, &response); err != nil { return } @@ -897,14 +841,6 @@ func (client *LANHostConfigManagement1) DeleteDNSServer( return } -// _LANHostConfigManagement1_GetDNSServers_Request is the XML structure for the input arguments for action GetDNSServers. -type _LANHostConfigManagement1_GetDNSServers_Request struct{} - -// _LANHostConfigManagement1_GetDNSServers_Response is the XML structure for the output arguments for action GetDNSServers. -type _LANHostConfigManagement1_GetDNSServers_Response struct { - NewDNSServers string -} - // GetDNSServers action. // Arguments: // @@ -921,13 +857,18 @@ func (client *LANHostConfigManagement1) GetDNSServers() ( NewDNSServers string, err error, ) { - var request _LANHostConfigManagement1_GetDNSServers_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDNSServers string + } + // Perform the SOAP call. - var response _LANHostConfigManagement1_GetDNSServers_Response if err = client.SOAPClient.PerformAction(URN_LANHostConfigManagement_1, "GetDNSServers", &request, &response); err != nil { return } @@ -947,14 +888,6 @@ type Layer3Forwarding1 struct { SOAPClient soap.SOAPClient } -// _Layer3Forwarding1_SetDefaultConnectionService_Request is the XML structure for the input arguments for action SetDefaultConnectionService. -type _Layer3Forwarding1_SetDefaultConnectionService_Request struct { - NewDefaultConnectionService string -} - -// _Layer3Forwarding1_SetDefaultConnectionService_Response is the XML structure for the output arguments for action SetDefaultConnectionService. -type _Layer3Forwarding1_SetDefaultConnectionService_Response struct{} - // SetDefaultConnectionService action. // Arguments: // @@ -972,7 +905,10 @@ func (client *Layer3Forwarding1) SetDefaultConnectionService( ) ( err error, ) { - var request _Layer3Forwarding1_SetDefaultConnectionService_Request + // Request structure. + var request struct { + NewDefaultConnectionService string + } // BEGIN Marshal arguments into request. if request.NewDefaultConnectionService, err = soap.MarshalString(NewDefaultConnectionService); err != nil { @@ -981,8 +917,10 @@ func (client *Layer3Forwarding1) SetDefaultConnectionService( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _Layer3Forwarding1_SetDefaultConnectionService_Response if err = client.SOAPClient.PerformAction(URN_Layer3Forwarding_1, "SetDefaultConnectionService", &request, &response); err != nil { return } @@ -993,14 +931,6 @@ func (client *Layer3Forwarding1) SetDefaultConnectionService( return } -// _Layer3Forwarding1_GetDefaultConnectionService_Request is the XML structure for the input arguments for action GetDefaultConnectionService. -type _Layer3Forwarding1_GetDefaultConnectionService_Request struct{} - -// _Layer3Forwarding1_GetDefaultConnectionService_Response is the XML structure for the output arguments for action GetDefaultConnectionService. -type _Layer3Forwarding1_GetDefaultConnectionService_Response struct { - NewDefaultConnectionService string -} - // GetDefaultConnectionService action. // Arguments: // @@ -1017,13 +947,18 @@ func (client *Layer3Forwarding1) GetDefaultConnectionService() ( NewDefaultConnectionService string, err error, ) { - var request _Layer3Forwarding1_GetDefaultConnectionService_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDefaultConnectionService string + } + // Perform the SOAP call. - var response _Layer3Forwarding1_GetDefaultConnectionService_Response if err = client.SOAPClient.PerformAction(URN_Layer3Forwarding_1, "GetDefaultConnectionService", &request, &response); err != nil { return } @@ -1043,16 +978,6 @@ type WANCableLinkConfig1 struct { SOAPClient soap.SOAPClient } -// _WANCableLinkConfig1_GetCableLinkConfigInfo_Request is the XML structure for the input arguments for action GetCableLinkConfigInfo. -type _WANCableLinkConfig1_GetCableLinkConfigInfo_Request struct{} - -// _WANCableLinkConfig1_GetCableLinkConfigInfo_Response is the XML structure for the output arguments for action GetCableLinkConfigInfo. -type _WANCableLinkConfig1_GetCableLinkConfigInfo_Response struct { - NewCableLinkConfigState string - - NewLinkType string -} - // GetCableLinkConfigInfo action. // Arguments: // @@ -1078,13 +1003,19 @@ func (client *WANCableLinkConfig1) GetCableLinkConfigInfo() ( NewLinkType string, err error, ) { - var request _WANCableLinkConfig1_GetCableLinkConfigInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewCableLinkConfigState string + NewLinkType string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetCableLinkConfigInfo_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetCableLinkConfigInfo", &request, &response); err != nil { return } @@ -1103,14 +1034,6 @@ func (client *WANCableLinkConfig1) GetCableLinkConfigInfo() ( return } -// _WANCableLinkConfig1_GetDownstreamFrequency_Request is the XML structure for the input arguments for action GetDownstreamFrequency. -type _WANCableLinkConfig1_GetDownstreamFrequency_Request struct{} - -// _WANCableLinkConfig1_GetDownstreamFrequency_Response is the XML structure for the output arguments for action GetDownstreamFrequency. -type _WANCableLinkConfig1_GetDownstreamFrequency_Response struct { - NewDownstreamFrequency string -} - // GetDownstreamFrequency action. // Arguments: // @@ -1127,13 +1050,18 @@ func (client *WANCableLinkConfig1) GetDownstreamFrequency() ( NewDownstreamFrequency uint32, err error, ) { - var request _WANCableLinkConfig1_GetDownstreamFrequency_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDownstreamFrequency string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetDownstreamFrequency_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetDownstreamFrequency", &request, &response); err != nil { return } @@ -1148,14 +1076,6 @@ func (client *WANCableLinkConfig1) GetDownstreamFrequency() ( return } -// _WANCableLinkConfig1_GetDownstreamModulation_Request is the XML structure for the input arguments for action GetDownstreamModulation. -type _WANCableLinkConfig1_GetDownstreamModulation_Request struct{} - -// _WANCableLinkConfig1_GetDownstreamModulation_Response is the XML structure for the output arguments for action GetDownstreamModulation. -type _WANCableLinkConfig1_GetDownstreamModulation_Response struct { - NewDownstreamModulation string -} - // GetDownstreamModulation action. // Arguments: // @@ -1173,13 +1093,18 @@ func (client *WANCableLinkConfig1) GetDownstreamModulation() ( NewDownstreamModulation string, err error, ) { - var request _WANCableLinkConfig1_GetDownstreamModulation_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDownstreamModulation string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetDownstreamModulation_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetDownstreamModulation", &request, &response); err != nil { return } @@ -1194,14 +1119,6 @@ func (client *WANCableLinkConfig1) GetDownstreamModulation() ( return } -// _WANCableLinkConfig1_GetUpstreamFrequency_Request is the XML structure for the input arguments for action GetUpstreamFrequency. -type _WANCableLinkConfig1_GetUpstreamFrequency_Request struct{} - -// _WANCableLinkConfig1_GetUpstreamFrequency_Response is the XML structure for the output arguments for action GetUpstreamFrequency. -type _WANCableLinkConfig1_GetUpstreamFrequency_Response struct { - NewUpstreamFrequency string -} - // GetUpstreamFrequency action. // Arguments: // @@ -1218,13 +1135,18 @@ func (client *WANCableLinkConfig1) GetUpstreamFrequency() ( NewUpstreamFrequency uint32, err error, ) { - var request _WANCableLinkConfig1_GetUpstreamFrequency_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUpstreamFrequency string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetUpstreamFrequency_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetUpstreamFrequency", &request, &response); err != nil { return } @@ -1239,14 +1161,6 @@ func (client *WANCableLinkConfig1) GetUpstreamFrequency() ( return } -// _WANCableLinkConfig1_GetUpstreamModulation_Request is the XML structure for the input arguments for action GetUpstreamModulation. -type _WANCableLinkConfig1_GetUpstreamModulation_Request struct{} - -// _WANCableLinkConfig1_GetUpstreamModulation_Response is the XML structure for the output arguments for action GetUpstreamModulation. -type _WANCableLinkConfig1_GetUpstreamModulation_Response struct { - NewUpstreamModulation string -} - // GetUpstreamModulation action. // Arguments: // @@ -1264,13 +1178,18 @@ func (client *WANCableLinkConfig1) GetUpstreamModulation() ( NewUpstreamModulation string, err error, ) { - var request _WANCableLinkConfig1_GetUpstreamModulation_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUpstreamModulation string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetUpstreamModulation_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetUpstreamModulation", &request, &response); err != nil { return } @@ -1285,14 +1204,6 @@ func (client *WANCableLinkConfig1) GetUpstreamModulation() ( return } -// _WANCableLinkConfig1_GetUpstreamChannelID_Request is the XML structure for the input arguments for action GetUpstreamChannelID. -type _WANCableLinkConfig1_GetUpstreamChannelID_Request struct{} - -// _WANCableLinkConfig1_GetUpstreamChannelID_Response is the XML structure for the output arguments for action GetUpstreamChannelID. -type _WANCableLinkConfig1_GetUpstreamChannelID_Response struct { - NewUpstreamChannelID string -} - // GetUpstreamChannelID action. // Arguments: // @@ -1309,13 +1220,18 @@ func (client *WANCableLinkConfig1) GetUpstreamChannelID() ( NewUpstreamChannelID uint32, err error, ) { - var request _WANCableLinkConfig1_GetUpstreamChannelID_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUpstreamChannelID string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetUpstreamChannelID_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetUpstreamChannelID", &request, &response); err != nil { return } @@ -1330,14 +1246,6 @@ func (client *WANCableLinkConfig1) GetUpstreamChannelID() ( return } -// _WANCableLinkConfig1_GetUpstreamPowerLevel_Request is the XML structure for the input arguments for action GetUpstreamPowerLevel. -type _WANCableLinkConfig1_GetUpstreamPowerLevel_Request struct{} - -// _WANCableLinkConfig1_GetUpstreamPowerLevel_Response is the XML structure for the output arguments for action GetUpstreamPowerLevel. -type _WANCableLinkConfig1_GetUpstreamPowerLevel_Response struct { - NewUpstreamPowerLevel string -} - // GetUpstreamPowerLevel action. // Arguments: // @@ -1354,13 +1262,18 @@ func (client *WANCableLinkConfig1) GetUpstreamPowerLevel() ( NewUpstreamPowerLevel uint32, err error, ) { - var request _WANCableLinkConfig1_GetUpstreamPowerLevel_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUpstreamPowerLevel string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetUpstreamPowerLevel_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetUpstreamPowerLevel", &request, &response); err != nil { return } @@ -1375,14 +1288,6 @@ func (client *WANCableLinkConfig1) GetUpstreamPowerLevel() ( return } -// _WANCableLinkConfig1_GetBPIEncryptionEnabled_Request is the XML structure for the input arguments for action GetBPIEncryptionEnabled. -type _WANCableLinkConfig1_GetBPIEncryptionEnabled_Request struct{} - -// _WANCableLinkConfig1_GetBPIEncryptionEnabled_Response is the XML structure for the output arguments for action GetBPIEncryptionEnabled. -type _WANCableLinkConfig1_GetBPIEncryptionEnabled_Response struct { - NewBPIEncryptionEnabled string -} - // GetBPIEncryptionEnabled action. // Arguments: // @@ -1399,13 +1304,18 @@ func (client *WANCableLinkConfig1) GetBPIEncryptionEnabled() ( NewBPIEncryptionEnabled bool, err error, ) { - var request _WANCableLinkConfig1_GetBPIEncryptionEnabled_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewBPIEncryptionEnabled string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetBPIEncryptionEnabled_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetBPIEncryptionEnabled", &request, &response); err != nil { return } @@ -1420,14 +1330,6 @@ func (client *WANCableLinkConfig1) GetBPIEncryptionEnabled() ( return } -// _WANCableLinkConfig1_GetConfigFile_Request is the XML structure for the input arguments for action GetConfigFile. -type _WANCableLinkConfig1_GetConfigFile_Request struct{} - -// _WANCableLinkConfig1_GetConfigFile_Response is the XML structure for the output arguments for action GetConfigFile. -type _WANCableLinkConfig1_GetConfigFile_Response struct { - NewConfigFile string -} - // GetConfigFile action. // Arguments: // @@ -1444,13 +1346,18 @@ func (client *WANCableLinkConfig1) GetConfigFile() ( NewConfigFile string, err error, ) { - var request _WANCableLinkConfig1_GetConfigFile_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConfigFile string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetConfigFile_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetConfigFile", &request, &response); err != nil { return } @@ -1465,14 +1372,6 @@ func (client *WANCableLinkConfig1) GetConfigFile() ( return } -// _WANCableLinkConfig1_GetTFTPServer_Request is the XML structure for the input arguments for action GetTFTPServer. -type _WANCableLinkConfig1_GetTFTPServer_Request struct{} - -// _WANCableLinkConfig1_GetTFTPServer_Response is the XML structure for the output arguments for action GetTFTPServer. -type _WANCableLinkConfig1_GetTFTPServer_Response struct { - NewTFTPServer string -} - // GetTFTPServer action. // Arguments: // @@ -1489,13 +1388,18 @@ func (client *WANCableLinkConfig1) GetTFTPServer() ( NewTFTPServer string, err error, ) { - var request _WANCableLinkConfig1_GetTFTPServer_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewTFTPServer string + } + // Perform the SOAP call. - var response _WANCableLinkConfig1_GetTFTPServer_Response if err = client.SOAPClient.PerformAction(URN_WANCableLinkConfig_1, "GetTFTPServer", &request, &response); err != nil { return } @@ -1515,14 +1419,6 @@ type WANCommonInterfaceConfig1 struct { SOAPClient soap.SOAPClient } -// _WANCommonInterfaceConfig1_SetEnabledForInternet_Request is the XML structure for the input arguments for action SetEnabledForInternet. -type _WANCommonInterfaceConfig1_SetEnabledForInternet_Request struct { - NewEnabledForInternet string -} - -// _WANCommonInterfaceConfig1_SetEnabledForInternet_Response is the XML structure for the output arguments for action SetEnabledForInternet. -type _WANCommonInterfaceConfig1_SetEnabledForInternet_Response struct{} - // SetEnabledForInternet action. // Arguments: // @@ -1540,7 +1436,10 @@ func (client *WANCommonInterfaceConfig1) SetEnabledForInternet( ) ( err error, ) { - var request _WANCommonInterfaceConfig1_SetEnabledForInternet_Request + // Request structure. + var request struct { + NewEnabledForInternet string + } // BEGIN Marshal arguments into request. if request.NewEnabledForInternet, err = soap.MarshalBoolean(NewEnabledForInternet); err != nil { @@ -1549,8 +1448,10 @@ func (client *WANCommonInterfaceConfig1) SetEnabledForInternet( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_SetEnabledForInternet_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "SetEnabledForInternet", &request, &response); err != nil { return } @@ -1561,14 +1462,6 @@ func (client *WANCommonInterfaceConfig1) SetEnabledForInternet( return } -// _WANCommonInterfaceConfig1_GetEnabledForInternet_Request is the XML structure for the input arguments for action GetEnabledForInternet. -type _WANCommonInterfaceConfig1_GetEnabledForInternet_Request struct{} - -// _WANCommonInterfaceConfig1_GetEnabledForInternet_Response is the XML structure for the output arguments for action GetEnabledForInternet. -type _WANCommonInterfaceConfig1_GetEnabledForInternet_Response struct { - NewEnabledForInternet string -} - // GetEnabledForInternet action. // Arguments: // @@ -1585,13 +1478,18 @@ func (client *WANCommonInterfaceConfig1) GetEnabledForInternet() ( NewEnabledForInternet bool, err error, ) { - var request _WANCommonInterfaceConfig1_GetEnabledForInternet_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewEnabledForInternet string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetEnabledForInternet_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetEnabledForInternet", &request, &response); err != nil { return } @@ -1606,20 +1504,6 @@ func (client *WANCommonInterfaceConfig1) GetEnabledForInternet() ( return } -// _WANCommonInterfaceConfig1_GetCommonLinkProperties_Request is the XML structure for the input arguments for action GetCommonLinkProperties. -type _WANCommonInterfaceConfig1_GetCommonLinkProperties_Request struct{} - -// _WANCommonInterfaceConfig1_GetCommonLinkProperties_Response is the XML structure for the output arguments for action GetCommonLinkProperties. -type _WANCommonInterfaceConfig1_GetCommonLinkProperties_Response struct { - NewWANAccessType string - - NewLayer1UpstreamMaxBitRate string - - NewLayer1DownstreamMaxBitRate string - - NewPhysicalLinkStatus string -} - // GetCommonLinkProperties action. // Arguments: // @@ -1659,13 +1543,21 @@ func (client *WANCommonInterfaceConfig1) GetCommonLinkProperties() ( NewPhysicalLinkStatus string, err error, ) { - var request _WANCommonInterfaceConfig1_GetCommonLinkProperties_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewWANAccessType string + NewLayer1UpstreamMaxBitRate string + NewLayer1DownstreamMaxBitRate string + NewPhysicalLinkStatus string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetCommonLinkProperties_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetCommonLinkProperties", &request, &response); err != nil { return } @@ -1692,14 +1584,6 @@ func (client *WANCommonInterfaceConfig1) GetCommonLinkProperties() ( return } -// _WANCommonInterfaceConfig1_GetWANAccessProvider_Request is the XML structure for the input arguments for action GetWANAccessProvider. -type _WANCommonInterfaceConfig1_GetWANAccessProvider_Request struct{} - -// _WANCommonInterfaceConfig1_GetWANAccessProvider_Response is the XML structure for the output arguments for action GetWANAccessProvider. -type _WANCommonInterfaceConfig1_GetWANAccessProvider_Response struct { - NewWANAccessProvider string -} - // GetWANAccessProvider action. // Arguments: // @@ -1716,13 +1600,18 @@ func (client *WANCommonInterfaceConfig1) GetWANAccessProvider() ( NewWANAccessProvider string, err error, ) { - var request _WANCommonInterfaceConfig1_GetWANAccessProvider_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewWANAccessProvider string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetWANAccessProvider_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetWANAccessProvider", &request, &response); err != nil { return } @@ -1737,14 +1626,6 @@ func (client *WANCommonInterfaceConfig1) GetWANAccessProvider() ( return } -// _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Request is the XML structure for the input arguments for action GetMaximumActiveConnections. -type _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Request struct{} - -// _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Response is the XML structure for the output arguments for action GetMaximumActiveConnections. -type _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Response struct { - NewMaximumActiveConnections string -} - // GetMaximumActiveConnections action. // Arguments: // @@ -1761,13 +1642,18 @@ func (client *WANCommonInterfaceConfig1) GetMaximumActiveConnections() ( NewMaximumActiveConnections uint16, err error, ) { - var request _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewMaximumActiveConnections string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetMaximumActiveConnections_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetMaximumActiveConnections", &request, &response); err != nil { return } @@ -1782,14 +1668,6 @@ func (client *WANCommonInterfaceConfig1) GetMaximumActiveConnections() ( return } -// _WANCommonInterfaceConfig1_GetTotalBytesSent_Request is the XML structure for the input arguments for action GetTotalBytesSent. -type _WANCommonInterfaceConfig1_GetTotalBytesSent_Request struct{} - -// _WANCommonInterfaceConfig1_GetTotalBytesSent_Response is the XML structure for the output arguments for action GetTotalBytesSent. -type _WANCommonInterfaceConfig1_GetTotalBytesSent_Response struct { - NewTotalBytesSent string -} - // GetTotalBytesSent action. // Arguments: // @@ -1806,13 +1684,18 @@ func (client *WANCommonInterfaceConfig1) GetTotalBytesSent() ( NewTotalBytesSent uint32, err error, ) { - var request _WANCommonInterfaceConfig1_GetTotalBytesSent_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewTotalBytesSent string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetTotalBytesSent_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetTotalBytesSent", &request, &response); err != nil { return } @@ -1827,14 +1710,6 @@ func (client *WANCommonInterfaceConfig1) GetTotalBytesSent() ( return } -// _WANCommonInterfaceConfig1_GetTotalBytesReceived_Request is the XML structure for the input arguments for action GetTotalBytesReceived. -type _WANCommonInterfaceConfig1_GetTotalBytesReceived_Request struct{} - -// _WANCommonInterfaceConfig1_GetTotalBytesReceived_Response is the XML structure for the output arguments for action GetTotalBytesReceived. -type _WANCommonInterfaceConfig1_GetTotalBytesReceived_Response struct { - NewTotalBytesReceived string -} - // GetTotalBytesReceived action. // Arguments: // @@ -1851,13 +1726,18 @@ func (client *WANCommonInterfaceConfig1) GetTotalBytesReceived() ( NewTotalBytesReceived uint32, err error, ) { - var request _WANCommonInterfaceConfig1_GetTotalBytesReceived_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewTotalBytesReceived string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetTotalBytesReceived_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetTotalBytesReceived", &request, &response); err != nil { return } @@ -1872,14 +1752,6 @@ func (client *WANCommonInterfaceConfig1) GetTotalBytesReceived() ( return } -// _WANCommonInterfaceConfig1_GetTotalPacketsSent_Request is the XML structure for the input arguments for action GetTotalPacketsSent. -type _WANCommonInterfaceConfig1_GetTotalPacketsSent_Request struct{} - -// _WANCommonInterfaceConfig1_GetTotalPacketsSent_Response is the XML structure for the output arguments for action GetTotalPacketsSent. -type _WANCommonInterfaceConfig1_GetTotalPacketsSent_Response struct { - NewTotalPacketsSent string -} - // GetTotalPacketsSent action. // Arguments: // @@ -1896,13 +1768,18 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsSent() ( NewTotalPacketsSent uint32, err error, ) { - var request _WANCommonInterfaceConfig1_GetTotalPacketsSent_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewTotalPacketsSent string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetTotalPacketsSent_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetTotalPacketsSent", &request, &response); err != nil { return } @@ -1917,14 +1794,6 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsSent() ( return } -// _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Request is the XML structure for the input arguments for action GetTotalPacketsReceived. -type _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Request struct{} - -// _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Response is the XML structure for the output arguments for action GetTotalPacketsReceived. -type _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Response struct { - NewTotalPacketsReceived string -} - // GetTotalPacketsReceived action. // Arguments: // @@ -1941,13 +1810,18 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsReceived() ( NewTotalPacketsReceived uint32, err error, ) { - var request _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewTotalPacketsReceived string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetTotalPacketsReceived_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetTotalPacketsReceived", &request, &response); err != nil { return } @@ -1962,18 +1836,6 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsReceived() ( return } -// _WANCommonInterfaceConfig1_GetActiveConnection_Request is the XML structure for the input arguments for action GetActiveConnection. -type _WANCommonInterfaceConfig1_GetActiveConnection_Request struct { - NewActiveConnectionIndex string -} - -// _WANCommonInterfaceConfig1_GetActiveConnection_Response is the XML structure for the output arguments for action GetActiveConnection. -type _WANCommonInterfaceConfig1_GetActiveConnection_Response struct { - NewActiveConnDeviceContainer string - - NewActiveConnectionServiceID string -} - // GetActiveConnection action. // Arguments: // @@ -2005,7 +1867,10 @@ func (client *WANCommonInterfaceConfig1) GetActiveConnection( NewActiveConnectionServiceID string, err error, ) { - var request _WANCommonInterfaceConfig1_GetActiveConnection_Request + // Request structure. + var request struct { + NewActiveConnectionIndex string + } // BEGIN Marshal arguments into request. if request.NewActiveConnectionIndex, err = soap.MarshalUi2(NewActiveConnectionIndex); err != nil { @@ -2014,8 +1879,13 @@ func (client *WANCommonInterfaceConfig1) GetActiveConnection( // END Marshal arguments into request. + // Response structure. + var response struct { + NewActiveConnDeviceContainer string + NewActiveConnectionServiceID string + } + // Perform the SOAP call. - var response _WANCommonInterfaceConfig1_GetActiveConnection_Response if err = client.SOAPClient.PerformAction(URN_WANCommonInterfaceConfig_1, "GetActiveConnection", &request, &response); err != nil { return } @@ -2039,14 +1909,6 @@ type WANDSLLinkConfig1 struct { SOAPClient soap.SOAPClient } -// _WANDSLLinkConfig1_SetDSLLinkType_Request is the XML structure for the input arguments for action SetDSLLinkType. -type _WANDSLLinkConfig1_SetDSLLinkType_Request struct { - NewLinkType string -} - -// _WANDSLLinkConfig1_SetDSLLinkType_Response is the XML structure for the output arguments for action SetDSLLinkType. -type _WANDSLLinkConfig1_SetDSLLinkType_Response struct{} - // SetDSLLinkType action. // Arguments: // @@ -2064,7 +1926,10 @@ func (client *WANDSLLinkConfig1) SetDSLLinkType( ) ( err error, ) { - var request _WANDSLLinkConfig1_SetDSLLinkType_Request + // Request structure. + var request struct { + NewLinkType string + } // BEGIN Marshal arguments into request. if request.NewLinkType, err = soap.MarshalString(NewLinkType); err != nil { @@ -2073,8 +1938,10 @@ func (client *WANDSLLinkConfig1) SetDSLLinkType( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANDSLLinkConfig1_SetDSLLinkType_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "SetDSLLinkType", &request, &response); err != nil { return } @@ -2085,16 +1952,6 @@ func (client *WANDSLLinkConfig1) SetDSLLinkType( return } -// _WANDSLLinkConfig1_GetDSLLinkInfo_Request is the XML structure for the input arguments for action GetDSLLinkInfo. -type _WANDSLLinkConfig1_GetDSLLinkInfo_Request struct{} - -// _WANDSLLinkConfig1_GetDSLLinkInfo_Response is the XML structure for the output arguments for action GetDSLLinkInfo. -type _WANDSLLinkConfig1_GetDSLLinkInfo_Response struct { - NewLinkType string - - NewLinkStatus string -} - // GetDSLLinkInfo action. // Arguments: // @@ -2119,13 +1976,19 @@ func (client *WANDSLLinkConfig1) GetDSLLinkInfo() ( NewLinkStatus string, err error, ) { - var request _WANDSLLinkConfig1_GetDSLLinkInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewLinkType string + NewLinkStatus string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetDSLLinkInfo_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetDSLLinkInfo", &request, &response); err != nil { return } @@ -2144,14 +2007,6 @@ func (client *WANDSLLinkConfig1) GetDSLLinkInfo() ( return } -// _WANDSLLinkConfig1_GetAutoConfig_Request is the XML structure for the input arguments for action GetAutoConfig. -type _WANDSLLinkConfig1_GetAutoConfig_Request struct{} - -// _WANDSLLinkConfig1_GetAutoConfig_Response is the XML structure for the output arguments for action GetAutoConfig. -type _WANDSLLinkConfig1_GetAutoConfig_Response struct { - NewAutoConfig string -} - // GetAutoConfig action. // Arguments: // @@ -2168,13 +2023,18 @@ func (client *WANDSLLinkConfig1) GetAutoConfig() ( NewAutoConfig bool, err error, ) { - var request _WANDSLLinkConfig1_GetAutoConfig_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewAutoConfig string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetAutoConfig_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetAutoConfig", &request, &response); err != nil { return } @@ -2189,14 +2049,6 @@ func (client *WANDSLLinkConfig1) GetAutoConfig() ( return } -// _WANDSLLinkConfig1_GetModulationType_Request is the XML structure for the input arguments for action GetModulationType. -type _WANDSLLinkConfig1_GetModulationType_Request struct{} - -// _WANDSLLinkConfig1_GetModulationType_Response is the XML structure for the output arguments for action GetModulationType. -type _WANDSLLinkConfig1_GetModulationType_Response struct { - NewModulationType string -} - // GetModulationType action. // Arguments: // @@ -2213,13 +2065,18 @@ func (client *WANDSLLinkConfig1) GetModulationType() ( NewModulationType string, err error, ) { - var request _WANDSLLinkConfig1_GetModulationType_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewModulationType string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetModulationType_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetModulationType", &request, &response); err != nil { return } @@ -2234,14 +2091,6 @@ func (client *WANDSLLinkConfig1) GetModulationType() ( return } -// _WANDSLLinkConfig1_SetDestinationAddress_Request is the XML structure for the input arguments for action SetDestinationAddress. -type _WANDSLLinkConfig1_SetDestinationAddress_Request struct { - NewDestinationAddress string -} - -// _WANDSLLinkConfig1_SetDestinationAddress_Response is the XML structure for the output arguments for action SetDestinationAddress. -type _WANDSLLinkConfig1_SetDestinationAddress_Response struct{} - // SetDestinationAddress action. // Arguments: // @@ -2259,7 +2108,10 @@ func (client *WANDSLLinkConfig1) SetDestinationAddress( ) ( err error, ) { - var request _WANDSLLinkConfig1_SetDestinationAddress_Request + // Request structure. + var request struct { + NewDestinationAddress string + } // BEGIN Marshal arguments into request. if request.NewDestinationAddress, err = soap.MarshalString(NewDestinationAddress); err != nil { @@ -2268,8 +2120,10 @@ func (client *WANDSLLinkConfig1) SetDestinationAddress( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANDSLLinkConfig1_SetDestinationAddress_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "SetDestinationAddress", &request, &response); err != nil { return } @@ -2280,14 +2134,6 @@ func (client *WANDSLLinkConfig1) SetDestinationAddress( return } -// _WANDSLLinkConfig1_GetDestinationAddress_Request is the XML structure for the input arguments for action GetDestinationAddress. -type _WANDSLLinkConfig1_GetDestinationAddress_Request struct{} - -// _WANDSLLinkConfig1_GetDestinationAddress_Response is the XML structure for the output arguments for action GetDestinationAddress. -type _WANDSLLinkConfig1_GetDestinationAddress_Response struct { - NewDestinationAddress string -} - // GetDestinationAddress action. // Arguments: // @@ -2304,13 +2150,18 @@ func (client *WANDSLLinkConfig1) GetDestinationAddress() ( NewDestinationAddress string, err error, ) { - var request _WANDSLLinkConfig1_GetDestinationAddress_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDestinationAddress string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetDestinationAddress_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetDestinationAddress", &request, &response); err != nil { return } @@ -2325,14 +2176,6 @@ func (client *WANDSLLinkConfig1) GetDestinationAddress() ( return } -// _WANDSLLinkConfig1_SetATMEncapsulation_Request is the XML structure for the input arguments for action SetATMEncapsulation. -type _WANDSLLinkConfig1_SetATMEncapsulation_Request struct { - NewATMEncapsulation string -} - -// _WANDSLLinkConfig1_SetATMEncapsulation_Response is the XML structure for the output arguments for action SetATMEncapsulation. -type _WANDSLLinkConfig1_SetATMEncapsulation_Response struct{} - // SetATMEncapsulation action. // Arguments: // @@ -2350,7 +2193,10 @@ func (client *WANDSLLinkConfig1) SetATMEncapsulation( ) ( err error, ) { - var request _WANDSLLinkConfig1_SetATMEncapsulation_Request + // Request structure. + var request struct { + NewATMEncapsulation string + } // BEGIN Marshal arguments into request. if request.NewATMEncapsulation, err = soap.MarshalString(NewATMEncapsulation); err != nil { @@ -2359,8 +2205,10 @@ func (client *WANDSLLinkConfig1) SetATMEncapsulation( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANDSLLinkConfig1_SetATMEncapsulation_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "SetATMEncapsulation", &request, &response); err != nil { return } @@ -2371,14 +2219,6 @@ func (client *WANDSLLinkConfig1) SetATMEncapsulation( return } -// _WANDSLLinkConfig1_GetATMEncapsulation_Request is the XML structure for the input arguments for action GetATMEncapsulation. -type _WANDSLLinkConfig1_GetATMEncapsulation_Request struct{} - -// _WANDSLLinkConfig1_GetATMEncapsulation_Response is the XML structure for the output arguments for action GetATMEncapsulation. -type _WANDSLLinkConfig1_GetATMEncapsulation_Response struct { - NewATMEncapsulation string -} - // GetATMEncapsulation action. // Arguments: // @@ -2395,13 +2235,18 @@ func (client *WANDSLLinkConfig1) GetATMEncapsulation() ( NewATMEncapsulation string, err error, ) { - var request _WANDSLLinkConfig1_GetATMEncapsulation_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewATMEncapsulation string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetATMEncapsulation_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetATMEncapsulation", &request, &response); err != nil { return } @@ -2416,14 +2261,6 @@ func (client *WANDSLLinkConfig1) GetATMEncapsulation() ( return } -// _WANDSLLinkConfig1_SetFCSPreserved_Request is the XML structure for the input arguments for action SetFCSPreserved. -type _WANDSLLinkConfig1_SetFCSPreserved_Request struct { - NewFCSPreserved string -} - -// _WANDSLLinkConfig1_SetFCSPreserved_Response is the XML structure for the output arguments for action SetFCSPreserved. -type _WANDSLLinkConfig1_SetFCSPreserved_Response struct{} - // SetFCSPreserved action. // Arguments: // @@ -2441,7 +2278,10 @@ func (client *WANDSLLinkConfig1) SetFCSPreserved( ) ( err error, ) { - var request _WANDSLLinkConfig1_SetFCSPreserved_Request + // Request structure. + var request struct { + NewFCSPreserved string + } // BEGIN Marshal arguments into request. if request.NewFCSPreserved, err = soap.MarshalBoolean(NewFCSPreserved); err != nil { @@ -2450,8 +2290,10 @@ func (client *WANDSLLinkConfig1) SetFCSPreserved( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANDSLLinkConfig1_SetFCSPreserved_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "SetFCSPreserved", &request, &response); err != nil { return } @@ -2462,14 +2304,6 @@ func (client *WANDSLLinkConfig1) SetFCSPreserved( return } -// _WANDSLLinkConfig1_GetFCSPreserved_Request is the XML structure for the input arguments for action GetFCSPreserved. -type _WANDSLLinkConfig1_GetFCSPreserved_Request struct{} - -// _WANDSLLinkConfig1_GetFCSPreserved_Response is the XML structure for the output arguments for action GetFCSPreserved. -type _WANDSLLinkConfig1_GetFCSPreserved_Response struct { - NewFCSPreserved string -} - // GetFCSPreserved action. // Arguments: // @@ -2486,13 +2320,18 @@ func (client *WANDSLLinkConfig1) GetFCSPreserved() ( NewFCSPreserved bool, err error, ) { - var request _WANDSLLinkConfig1_GetFCSPreserved_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewFCSPreserved string + } + // Perform the SOAP call. - var response _WANDSLLinkConfig1_GetFCSPreserved_Response if err = client.SOAPClient.PerformAction(URN_WANDSLLinkConfig_1, "GetFCSPreserved", &request, &response); err != nil { return } @@ -2512,14 +2351,6 @@ type WANEthernetLinkConfig1 struct { SOAPClient soap.SOAPClient } -// _WANEthernetLinkConfig1_GetEthernetLinkStatus_Request is the XML structure for the input arguments for action GetEthernetLinkStatus. -type _WANEthernetLinkConfig1_GetEthernetLinkStatus_Request struct{} - -// _WANEthernetLinkConfig1_GetEthernetLinkStatus_Response is the XML structure for the output arguments for action GetEthernetLinkStatus. -type _WANEthernetLinkConfig1_GetEthernetLinkStatus_Response struct { - NewEthernetLinkStatus string -} - // GetEthernetLinkStatus action. // Arguments: // @@ -2537,13 +2368,18 @@ func (client *WANEthernetLinkConfig1) GetEthernetLinkStatus() ( NewEthernetLinkStatus string, err error, ) { - var request _WANEthernetLinkConfig1_GetEthernetLinkStatus_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewEthernetLinkStatus string + } + // Perform the SOAP call. - var response _WANEthernetLinkConfig1_GetEthernetLinkStatus_Response if err = client.SOAPClient.PerformAction(URN_WANEthernetLinkConfig_1, "GetEthernetLinkStatus", &request, &response); err != nil { return } @@ -2563,14 +2399,6 @@ type WANIPConnection1 struct { SOAPClient soap.SOAPClient } -// _WANIPConnection1_SetConnectionType_Request is the XML structure for the input arguments for action SetConnectionType. -type _WANIPConnection1_SetConnectionType_Request struct { - NewConnectionType string -} - -// _WANIPConnection1_SetConnectionType_Response is the XML structure for the output arguments for action SetConnectionType. -type _WANIPConnection1_SetConnectionType_Response struct{} - // SetConnectionType action. // Arguments: // @@ -2588,7 +2416,10 @@ func (client *WANIPConnection1) SetConnectionType( ) ( err error, ) { - var request _WANIPConnection1_SetConnectionType_Request + // Request structure. + var request struct { + NewConnectionType string + } // BEGIN Marshal arguments into request. if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { @@ -2597,8 +2428,10 @@ func (client *WANIPConnection1) SetConnectionType( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_SetConnectionType_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "SetConnectionType", &request, &response); err != nil { return } @@ -2609,16 +2442,6 @@ func (client *WANIPConnection1) SetConnectionType( return } -// _WANIPConnection1_GetConnectionTypeInfo_Request is the XML structure for the input arguments for action GetConnectionTypeInfo. -type _WANIPConnection1_GetConnectionTypeInfo_Request struct{} - -// _WANIPConnection1_GetConnectionTypeInfo_Response is the XML structure for the output arguments for action GetConnectionTypeInfo. -type _WANIPConnection1_GetConnectionTypeInfo_Response struct { - NewConnectionType string - - NewPossibleConnectionTypes string -} - // GetConnectionTypeInfo action. // Arguments: // @@ -2643,13 +2466,19 @@ func (client *WANIPConnection1) GetConnectionTypeInfo() ( NewPossibleConnectionTypes string, err error, ) { - var request _WANIPConnection1_GetConnectionTypeInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConnectionType string + NewPossibleConnectionTypes string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetConnectionTypeInfo_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetConnectionTypeInfo", &request, &response); err != nil { return } @@ -2668,12 +2497,6 @@ func (client *WANIPConnection1) GetConnectionTypeInfo() ( return } -// _WANIPConnection1_RequestConnection_Request is the XML structure for the input arguments for action RequestConnection. -type _WANIPConnection1_RequestConnection_Request struct{} - -// _WANIPConnection1_RequestConnection_Response is the XML structure for the output arguments for action RequestConnection. -type _WANIPConnection1_RequestConnection_Response struct{} - // RequestConnection action. // Arguments: // @@ -2683,13 +2506,16 @@ type _WANIPConnection1_RequestConnection_Response struct{} func (client *WANIPConnection1) RequestConnection() ( err error, ) { - var request _WANIPConnection1_RequestConnection_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_RequestConnection_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "RequestConnection", &request, &response); err != nil { return } @@ -2700,12 +2526,6 @@ func (client *WANIPConnection1) RequestConnection() ( return } -// _WANIPConnection1_RequestTermination_Request is the XML structure for the input arguments for action RequestTermination. -type _WANIPConnection1_RequestTermination_Request struct{} - -// _WANIPConnection1_RequestTermination_Response is the XML structure for the output arguments for action RequestTermination. -type _WANIPConnection1_RequestTermination_Response struct{} - // RequestTermination action. // Arguments: // @@ -2715,13 +2535,16 @@ type _WANIPConnection1_RequestTermination_Response struct{} func (client *WANIPConnection1) RequestTermination() ( err error, ) { - var request _WANIPConnection1_RequestTermination_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_RequestTermination_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "RequestTermination", &request, &response); err != nil { return } @@ -2732,12 +2555,6 @@ func (client *WANIPConnection1) RequestTermination() ( return } -// _WANIPConnection1_ForceTermination_Request is the XML structure for the input arguments for action ForceTermination. -type _WANIPConnection1_ForceTermination_Request struct{} - -// _WANIPConnection1_ForceTermination_Response is the XML structure for the output arguments for action ForceTermination. -type _WANIPConnection1_ForceTermination_Response struct{} - // ForceTermination action. // Arguments: // @@ -2747,13 +2564,16 @@ type _WANIPConnection1_ForceTermination_Response struct{} func (client *WANIPConnection1) ForceTermination() ( err error, ) { - var request _WANIPConnection1_ForceTermination_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_ForceTermination_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "ForceTermination", &request, &response); err != nil { return } @@ -2764,14 +2584,6 @@ func (client *WANIPConnection1) ForceTermination() ( return } -// _WANIPConnection1_SetAutoDisconnectTime_Request is the XML structure for the input arguments for action SetAutoDisconnectTime. -type _WANIPConnection1_SetAutoDisconnectTime_Request struct { - NewAutoDisconnectTime string -} - -// _WANIPConnection1_SetAutoDisconnectTime_Response is the XML structure for the output arguments for action SetAutoDisconnectTime. -type _WANIPConnection1_SetAutoDisconnectTime_Response struct{} - // SetAutoDisconnectTime action. // Arguments: // @@ -2789,7 +2601,10 @@ func (client *WANIPConnection1) SetAutoDisconnectTime( ) ( err error, ) { - var request _WANIPConnection1_SetAutoDisconnectTime_Request + // Request structure. + var request struct { + NewAutoDisconnectTime string + } // BEGIN Marshal arguments into request. if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { @@ -2798,8 +2613,10 @@ func (client *WANIPConnection1) SetAutoDisconnectTime( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_SetAutoDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "SetAutoDisconnectTime", &request, &response); err != nil { return } @@ -2810,14 +2627,6 @@ func (client *WANIPConnection1) SetAutoDisconnectTime( return } -// _WANIPConnection1_SetIdleDisconnectTime_Request is the XML structure for the input arguments for action SetIdleDisconnectTime. -type _WANIPConnection1_SetIdleDisconnectTime_Request struct { - NewIdleDisconnectTime string -} - -// _WANIPConnection1_SetIdleDisconnectTime_Response is the XML structure for the output arguments for action SetIdleDisconnectTime. -type _WANIPConnection1_SetIdleDisconnectTime_Response struct{} - // SetIdleDisconnectTime action. // Arguments: // @@ -2835,7 +2644,10 @@ func (client *WANIPConnection1) SetIdleDisconnectTime( ) ( err error, ) { - var request _WANIPConnection1_SetIdleDisconnectTime_Request + // Request structure. + var request struct { + NewIdleDisconnectTime string + } // BEGIN Marshal arguments into request. if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { @@ -2844,8 +2656,10 @@ func (client *WANIPConnection1) SetIdleDisconnectTime( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_SetIdleDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "SetIdleDisconnectTime", &request, &response); err != nil { return } @@ -2856,14 +2670,6 @@ func (client *WANIPConnection1) SetIdleDisconnectTime( return } -// _WANIPConnection1_SetWarnDisconnectDelay_Request is the XML structure for the input arguments for action SetWarnDisconnectDelay. -type _WANIPConnection1_SetWarnDisconnectDelay_Request struct { - NewWarnDisconnectDelay string -} - -// _WANIPConnection1_SetWarnDisconnectDelay_Response is the XML structure for the output arguments for action SetWarnDisconnectDelay. -type _WANIPConnection1_SetWarnDisconnectDelay_Response struct{} - // SetWarnDisconnectDelay action. // Arguments: // @@ -2881,7 +2687,10 @@ func (client *WANIPConnection1) SetWarnDisconnectDelay( ) ( err error, ) { - var request _WANIPConnection1_SetWarnDisconnectDelay_Request + // Request structure. + var request struct { + NewWarnDisconnectDelay string + } // BEGIN Marshal arguments into request. if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { @@ -2890,8 +2699,10 @@ func (client *WANIPConnection1) SetWarnDisconnectDelay( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_SetWarnDisconnectDelay_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "SetWarnDisconnectDelay", &request, &response); err != nil { return } @@ -2902,18 +2713,6 @@ func (client *WANIPConnection1) SetWarnDisconnectDelay( return } -// _WANIPConnection1_GetStatusInfo_Request is the XML structure for the input arguments for action GetStatusInfo. -type _WANIPConnection1_GetStatusInfo_Request struct{} - -// _WANIPConnection1_GetStatusInfo_Response is the XML structure for the output arguments for action GetStatusInfo. -type _WANIPConnection1_GetStatusInfo_Response struct { - NewConnectionStatus string - - NewLastConnectionError string - - NewUptime string -} - // GetStatusInfo action. // Arguments: // @@ -2946,13 +2745,20 @@ func (client *WANIPConnection1) GetStatusInfo() ( NewUptime uint32, err error, ) { - var request _WANIPConnection1_GetStatusInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConnectionStatus string + NewLastConnectionError string + NewUptime string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetStatusInfo_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetStatusInfo", &request, &response); err != nil { return } @@ -2975,14 +2781,6 @@ func (client *WANIPConnection1) GetStatusInfo() ( return } -// _WANIPConnection1_GetAutoDisconnectTime_Request is the XML structure for the input arguments for action GetAutoDisconnectTime. -type _WANIPConnection1_GetAutoDisconnectTime_Request struct{} - -// _WANIPConnection1_GetAutoDisconnectTime_Response is the XML structure for the output arguments for action GetAutoDisconnectTime. -type _WANIPConnection1_GetAutoDisconnectTime_Response struct { - NewAutoDisconnectTime string -} - // GetAutoDisconnectTime action. // Arguments: // @@ -2999,13 +2797,18 @@ func (client *WANIPConnection1) GetAutoDisconnectTime() ( NewAutoDisconnectTime uint32, err error, ) { - var request _WANIPConnection1_GetAutoDisconnectTime_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewAutoDisconnectTime string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetAutoDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetAutoDisconnectTime", &request, &response); err != nil { return } @@ -3020,14 +2823,6 @@ func (client *WANIPConnection1) GetAutoDisconnectTime() ( return } -// _WANIPConnection1_GetIdleDisconnectTime_Request is the XML structure for the input arguments for action GetIdleDisconnectTime. -type _WANIPConnection1_GetIdleDisconnectTime_Request struct{} - -// _WANIPConnection1_GetIdleDisconnectTime_Response is the XML structure for the output arguments for action GetIdleDisconnectTime. -type _WANIPConnection1_GetIdleDisconnectTime_Response struct { - NewIdleDisconnectTime string -} - // GetIdleDisconnectTime action. // Arguments: // @@ -3044,13 +2839,18 @@ func (client *WANIPConnection1) GetIdleDisconnectTime() ( NewIdleDisconnectTime uint32, err error, ) { - var request _WANIPConnection1_GetIdleDisconnectTime_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewIdleDisconnectTime string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetIdleDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetIdleDisconnectTime", &request, &response); err != nil { return } @@ -3065,14 +2865,6 @@ func (client *WANIPConnection1) GetIdleDisconnectTime() ( return } -// _WANIPConnection1_GetWarnDisconnectDelay_Request is the XML structure for the input arguments for action GetWarnDisconnectDelay. -type _WANIPConnection1_GetWarnDisconnectDelay_Request struct{} - -// _WANIPConnection1_GetWarnDisconnectDelay_Response is the XML structure for the output arguments for action GetWarnDisconnectDelay. -type _WANIPConnection1_GetWarnDisconnectDelay_Response struct { - NewWarnDisconnectDelay string -} - // GetWarnDisconnectDelay action. // Arguments: // @@ -3089,13 +2881,18 @@ func (client *WANIPConnection1) GetWarnDisconnectDelay() ( NewWarnDisconnectDelay uint32, err error, ) { - var request _WANIPConnection1_GetWarnDisconnectDelay_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewWarnDisconnectDelay string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetWarnDisconnectDelay_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetWarnDisconnectDelay", &request, &response); err != nil { return } @@ -3110,16 +2907,6 @@ func (client *WANIPConnection1) GetWarnDisconnectDelay() ( return } -// _WANIPConnection1_GetNATRSIPStatus_Request is the XML structure for the input arguments for action GetNATRSIPStatus. -type _WANIPConnection1_GetNATRSIPStatus_Request struct{} - -// _WANIPConnection1_GetNATRSIPStatus_Response is the XML structure for the output arguments for action GetNATRSIPStatus. -type _WANIPConnection1_GetNATRSIPStatus_Response struct { - NewRSIPAvailable string - - NewNATEnabled string -} - // GetNATRSIPStatus action. // Arguments: // @@ -3143,13 +2930,19 @@ func (client *WANIPConnection1) GetNATRSIPStatus() ( NewNATEnabled bool, err error, ) { - var request _WANIPConnection1_GetNATRSIPStatus_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewRSIPAvailable string + NewNATEnabled string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetNATRSIPStatus_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetNATRSIPStatus", &request, &response); err != nil { return } @@ -3168,30 +2961,6 @@ func (client *WANIPConnection1) GetNATRSIPStatus() ( return } -// _WANIPConnection1_GetGenericPortMappingEntry_Request is the XML structure for the input arguments for action GetGenericPortMappingEntry. -type _WANIPConnection1_GetGenericPortMappingEntry_Request struct { - NewPortMappingIndex string -} - -// _WANIPConnection1_GetGenericPortMappingEntry_Response is the XML structure for the output arguments for action GetGenericPortMappingEntry. -type _WANIPConnection1_GetGenericPortMappingEntry_Response struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - // GetGenericPortMappingEntry action. // Arguments: // @@ -3266,7 +3035,10 @@ func (client *WANIPConnection1) GetGenericPortMappingEntry( NewLeaseDuration uint32, err error, ) { - var request _WANIPConnection1_GetGenericPortMappingEntry_Request + // Request structure. + var request struct { + NewPortMappingIndex string + } // BEGIN Marshal arguments into request. if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { @@ -3275,8 +3047,19 @@ func (client *WANIPConnection1) GetGenericPortMappingEntry( // END Marshal arguments into request. + // Response structure. + var response struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetGenericPortMappingEntry_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetGenericPortMappingEntry", &request, &response); err != nil { return } @@ -3319,28 +3102,6 @@ func (client *WANIPConnection1) GetGenericPortMappingEntry( return } -// _WANIPConnection1_GetSpecificPortMappingEntry_Request is the XML structure for the input arguments for action GetSpecificPortMappingEntry. -type _WANIPConnection1_GetSpecificPortMappingEntry_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string -} - -// _WANIPConnection1_GetSpecificPortMappingEntry_Response is the XML structure for the output arguments for action GetSpecificPortMappingEntry. -type _WANIPConnection1_GetSpecificPortMappingEntry_Response struct { - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - // GetSpecificPortMappingEntry action. // Arguments: // @@ -3408,7 +3169,12 @@ func (client *WANIPConnection1) GetSpecificPortMappingEntry( NewLeaseDuration uint32, err error, ) { - var request _WANIPConnection1_GetSpecificPortMappingEntry_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -3425,8 +3191,16 @@ func (client *WANIPConnection1) GetSpecificPortMappingEntry( // END Marshal arguments into request. + // Response structure. + var response struct { + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetSpecificPortMappingEntry_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetSpecificPortMappingEntry", &request, &response); err != nil { return } @@ -3457,28 +3231,6 @@ func (client *WANIPConnection1) GetSpecificPortMappingEntry( return } -// _WANIPConnection1_AddPortMapping_Request is the XML structure for the input arguments for action AddPortMapping. -type _WANIPConnection1_AddPortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - -// _WANIPConnection1_AddPortMapping_Response is the XML structure for the output arguments for action AddPortMapping. -type _WANIPConnection1_AddPortMapping_Response struct{} - // AddPortMapping action. // Arguments: // @@ -3546,7 +3298,17 @@ func (client *WANIPConnection1) AddPortMapping( ) ( err error, ) { - var request _WANIPConnection1_AddPortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -3583,8 +3345,10 @@ func (client *WANIPConnection1) AddPortMapping( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_AddPortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "AddPortMapping", &request, &response); err != nil { return } @@ -3595,18 +3359,6 @@ func (client *WANIPConnection1) AddPortMapping( return } -// _WANIPConnection1_DeletePortMapping_Request is the XML structure for the input arguments for action DeletePortMapping. -type _WANIPConnection1_DeletePortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string -} - -// _WANIPConnection1_DeletePortMapping_Response is the XML structure for the output arguments for action DeletePortMapping. -type _WANIPConnection1_DeletePortMapping_Response struct{} - // DeletePortMapping action. // Arguments: // @@ -3639,7 +3391,12 @@ func (client *WANIPConnection1) DeletePortMapping( ) ( err error, ) { - var request _WANIPConnection1_DeletePortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -3656,8 +3413,10 @@ func (client *WANIPConnection1) DeletePortMapping( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection1_DeletePortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "DeletePortMapping", &request, &response); err != nil { return } @@ -3668,14 +3427,6 @@ func (client *WANIPConnection1) DeletePortMapping( return } -// _WANIPConnection1_GetExternalIPAddress_Request is the XML structure for the input arguments for action GetExternalIPAddress. -type _WANIPConnection1_GetExternalIPAddress_Request struct{} - -// _WANIPConnection1_GetExternalIPAddress_Response is the XML structure for the output arguments for action GetExternalIPAddress. -type _WANIPConnection1_GetExternalIPAddress_Response struct { - NewExternalIPAddress string -} - // GetExternalIPAddress action. // Arguments: // @@ -3692,13 +3443,18 @@ func (client *WANIPConnection1) GetExternalIPAddress() ( NewExternalIPAddress string, err error, ) { - var request _WANIPConnection1_GetExternalIPAddress_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewExternalIPAddress string + } + // Perform the SOAP call. - var response _WANIPConnection1_GetExternalIPAddress_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_1, "GetExternalIPAddress", &request, &response); err != nil { return } @@ -3718,14 +3474,6 @@ type WANIPConnection2 struct { SOAPClient soap.SOAPClient } -// _WANIPConnection2_SetConnectionType_Request is the XML structure for the input arguments for action SetConnectionType. -type _WANIPConnection2_SetConnectionType_Request struct { - NewConnectionType string -} - -// _WANIPConnection2_SetConnectionType_Response is the XML structure for the output arguments for action SetConnectionType. -type _WANIPConnection2_SetConnectionType_Response struct{} - // SetConnectionType action. // Arguments: // @@ -3744,7 +3492,10 @@ func (client *WANIPConnection2) SetConnectionType( ) ( err error, ) { - var request _WANIPConnection2_SetConnectionType_Request + // Request structure. + var request struct { + NewConnectionType string + } // BEGIN Marshal arguments into request. if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { @@ -3753,8 +3504,10 @@ func (client *WANIPConnection2) SetConnectionType( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection2_SetConnectionType_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "SetConnectionType", &request, &response); err != nil { return } @@ -3765,16 +3518,6 @@ func (client *WANIPConnection2) SetConnectionType( return } -// _WANIPConnection2_GetConnectionTypeInfo_Request is the XML structure for the input arguments for action GetConnectionTypeInfo. -type _WANIPConnection2_GetConnectionTypeInfo_Request struct{} - -// _WANIPConnection2_GetConnectionTypeInfo_Response is the XML structure for the output arguments for action GetConnectionTypeInfo. -type _WANIPConnection2_GetConnectionTypeInfo_Response struct { - NewConnectionType string - - NewPossibleConnectionTypes string -} - // GetConnectionTypeInfo action. // Arguments: // @@ -3799,13 +3542,19 @@ func (client *WANIPConnection2) GetConnectionTypeInfo() ( NewPossibleConnectionTypes string, err error, ) { - var request _WANIPConnection2_GetConnectionTypeInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConnectionType string + NewPossibleConnectionTypes string + } + // Perform the SOAP call. - var response _WANIPConnection2_GetConnectionTypeInfo_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "GetConnectionTypeInfo", &request, &response); err != nil { return } @@ -3824,12 +3573,6 @@ func (client *WANIPConnection2) GetConnectionTypeInfo() ( return } -// _WANIPConnection2_RequestConnection_Request is the XML structure for the input arguments for action RequestConnection. -type _WANIPConnection2_RequestConnection_Request struct{} - -// _WANIPConnection2_RequestConnection_Response is the XML structure for the output arguments for action RequestConnection. -type _WANIPConnection2_RequestConnection_Response struct{} - // RequestConnection action. // Arguments: // @@ -3839,13 +3582,16 @@ type _WANIPConnection2_RequestConnection_Response struct{} func (client *WANIPConnection2) RequestConnection() ( err error, ) { - var request _WANIPConnection2_RequestConnection_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection2_RequestConnection_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "RequestConnection", &request, &response); err != nil { return } @@ -3856,12 +3602,6 @@ func (client *WANIPConnection2) RequestConnection() ( return } -// _WANIPConnection2_RequestTermination_Request is the XML structure for the input arguments for action RequestTermination. -type _WANIPConnection2_RequestTermination_Request struct{} - -// _WANIPConnection2_RequestTermination_Response is the XML structure for the output arguments for action RequestTermination. -type _WANIPConnection2_RequestTermination_Response struct{} - // RequestTermination action. // Arguments: // @@ -3871,13 +3611,16 @@ type _WANIPConnection2_RequestTermination_Response struct{} func (client *WANIPConnection2) RequestTermination() ( err error, ) { - var request _WANIPConnection2_RequestTermination_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection2_RequestTermination_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "RequestTermination", &request, &response); err != nil { return } @@ -3888,12 +3631,6 @@ func (client *WANIPConnection2) RequestTermination() ( return } -// _WANIPConnection2_ForceTermination_Request is the XML structure for the input arguments for action ForceTermination. -type _WANIPConnection2_ForceTermination_Request struct{} - -// _WANIPConnection2_ForceTermination_Response is the XML structure for the output arguments for action ForceTermination. -type _WANIPConnection2_ForceTermination_Response struct{} - // ForceTermination action. // Arguments: // @@ -3903,13 +3640,16 @@ type _WANIPConnection2_ForceTermination_Response struct{} func (client *WANIPConnection2) ForceTermination() ( err error, ) { - var request _WANIPConnection2_ForceTermination_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection2_ForceTermination_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "ForceTermination", &request, &response); err != nil { return } @@ -3920,14 +3660,6 @@ func (client *WANIPConnection2) ForceTermination() ( return } -// _WANIPConnection2_SetAutoDisconnectTime_Request is the XML structure for the input arguments for action SetAutoDisconnectTime. -type _WANIPConnection2_SetAutoDisconnectTime_Request struct { - NewAutoDisconnectTime string -} - -// _WANIPConnection2_SetAutoDisconnectTime_Response is the XML structure for the output arguments for action SetAutoDisconnectTime. -type _WANIPConnection2_SetAutoDisconnectTime_Response struct{} - // SetAutoDisconnectTime action. // Arguments: // @@ -3945,7 +3677,10 @@ func (client *WANIPConnection2) SetAutoDisconnectTime( ) ( err error, ) { - var request _WANIPConnection2_SetAutoDisconnectTime_Request + // Request structure. + var request struct { + NewAutoDisconnectTime string + } // BEGIN Marshal arguments into request. if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { @@ -3954,8 +3689,10 @@ func (client *WANIPConnection2) SetAutoDisconnectTime( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection2_SetAutoDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "SetAutoDisconnectTime", &request, &response); err != nil { return } @@ -3966,14 +3703,6 @@ func (client *WANIPConnection2) SetAutoDisconnectTime( return } -// _WANIPConnection2_SetIdleDisconnectTime_Request is the XML structure for the input arguments for action SetIdleDisconnectTime. -type _WANIPConnection2_SetIdleDisconnectTime_Request struct { - NewIdleDisconnectTime string -} - -// _WANIPConnection2_SetIdleDisconnectTime_Response is the XML structure for the output arguments for action SetIdleDisconnectTime. -type _WANIPConnection2_SetIdleDisconnectTime_Response struct{} - // SetIdleDisconnectTime action. // Arguments: // @@ -3991,7 +3720,10 @@ func (client *WANIPConnection2) SetIdleDisconnectTime( ) ( err error, ) { - var request _WANIPConnection2_SetIdleDisconnectTime_Request + // Request structure. + var request struct { + NewIdleDisconnectTime string + } // BEGIN Marshal arguments into request. if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { @@ -4000,8 +3732,10 @@ func (client *WANIPConnection2) SetIdleDisconnectTime( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection2_SetIdleDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "SetIdleDisconnectTime", &request, &response); err != nil { return } @@ -4012,14 +3746,6 @@ func (client *WANIPConnection2) SetIdleDisconnectTime( return } -// _WANIPConnection2_SetWarnDisconnectDelay_Request is the XML structure for the input arguments for action SetWarnDisconnectDelay. -type _WANIPConnection2_SetWarnDisconnectDelay_Request struct { - NewWarnDisconnectDelay string -} - -// _WANIPConnection2_SetWarnDisconnectDelay_Response is the XML structure for the output arguments for action SetWarnDisconnectDelay. -type _WANIPConnection2_SetWarnDisconnectDelay_Response struct{} - // SetWarnDisconnectDelay action. // Arguments: // @@ -4037,7 +3763,10 @@ func (client *WANIPConnection2) SetWarnDisconnectDelay( ) ( err error, ) { - var request _WANIPConnection2_SetWarnDisconnectDelay_Request + // Request structure. + var request struct { + NewWarnDisconnectDelay string + } // BEGIN Marshal arguments into request. if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { @@ -4046,8 +3775,10 @@ func (client *WANIPConnection2) SetWarnDisconnectDelay( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection2_SetWarnDisconnectDelay_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "SetWarnDisconnectDelay", &request, &response); err != nil { return } @@ -4058,18 +3789,6 @@ func (client *WANIPConnection2) SetWarnDisconnectDelay( return } -// _WANIPConnection2_GetStatusInfo_Request is the XML structure for the input arguments for action GetStatusInfo. -type _WANIPConnection2_GetStatusInfo_Request struct{} - -// _WANIPConnection2_GetStatusInfo_Response is the XML structure for the output arguments for action GetStatusInfo. -type _WANIPConnection2_GetStatusInfo_Response struct { - NewConnectionStatus string - - NewLastConnectionError string - - NewUptime string -} - // GetStatusInfo action. // Arguments: // @@ -4102,13 +3821,20 @@ func (client *WANIPConnection2) GetStatusInfo() ( NewUptime uint32, err error, ) { - var request _WANIPConnection2_GetStatusInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConnectionStatus string + NewLastConnectionError string + NewUptime string + } + // Perform the SOAP call. - var response _WANIPConnection2_GetStatusInfo_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "GetStatusInfo", &request, &response); err != nil { return } @@ -4131,14 +3857,6 @@ func (client *WANIPConnection2) GetStatusInfo() ( return } -// _WANIPConnection2_GetAutoDisconnectTime_Request is the XML structure for the input arguments for action GetAutoDisconnectTime. -type _WANIPConnection2_GetAutoDisconnectTime_Request struct{} - -// _WANIPConnection2_GetAutoDisconnectTime_Response is the XML structure for the output arguments for action GetAutoDisconnectTime. -type _WANIPConnection2_GetAutoDisconnectTime_Response struct { - NewAutoDisconnectTime string -} - // GetAutoDisconnectTime action. // Arguments: // @@ -4155,13 +3873,18 @@ func (client *WANIPConnection2) GetAutoDisconnectTime() ( NewAutoDisconnectTime uint32, err error, ) { - var request _WANIPConnection2_GetAutoDisconnectTime_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewAutoDisconnectTime string + } + // Perform the SOAP call. - var response _WANIPConnection2_GetAutoDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "GetAutoDisconnectTime", &request, &response); err != nil { return } @@ -4176,14 +3899,6 @@ func (client *WANIPConnection2) GetAutoDisconnectTime() ( return } -// _WANIPConnection2_GetIdleDisconnectTime_Request is the XML structure for the input arguments for action GetIdleDisconnectTime. -type _WANIPConnection2_GetIdleDisconnectTime_Request struct{} - -// _WANIPConnection2_GetIdleDisconnectTime_Response is the XML structure for the output arguments for action GetIdleDisconnectTime. -type _WANIPConnection2_GetIdleDisconnectTime_Response struct { - NewIdleDisconnectTime string -} - // GetIdleDisconnectTime action. // Arguments: // @@ -4200,13 +3915,18 @@ func (client *WANIPConnection2) GetIdleDisconnectTime() ( NewIdleDisconnectTime uint32, err error, ) { - var request _WANIPConnection2_GetIdleDisconnectTime_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewIdleDisconnectTime string + } + // Perform the SOAP call. - var response _WANIPConnection2_GetIdleDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "GetIdleDisconnectTime", &request, &response); err != nil { return } @@ -4221,14 +3941,6 @@ func (client *WANIPConnection2) GetIdleDisconnectTime() ( return } -// _WANIPConnection2_GetWarnDisconnectDelay_Request is the XML structure for the input arguments for action GetWarnDisconnectDelay. -type _WANIPConnection2_GetWarnDisconnectDelay_Request struct{} - -// _WANIPConnection2_GetWarnDisconnectDelay_Response is the XML structure for the output arguments for action GetWarnDisconnectDelay. -type _WANIPConnection2_GetWarnDisconnectDelay_Response struct { - NewWarnDisconnectDelay string -} - // GetWarnDisconnectDelay action. // Arguments: // @@ -4245,13 +3957,18 @@ func (client *WANIPConnection2) GetWarnDisconnectDelay() ( NewWarnDisconnectDelay uint32, err error, ) { - var request _WANIPConnection2_GetWarnDisconnectDelay_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewWarnDisconnectDelay string + } + // Perform the SOAP call. - var response _WANIPConnection2_GetWarnDisconnectDelay_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "GetWarnDisconnectDelay", &request, &response); err != nil { return } @@ -4266,16 +3983,6 @@ func (client *WANIPConnection2) GetWarnDisconnectDelay() ( return } -// _WANIPConnection2_GetNATRSIPStatus_Request is the XML structure for the input arguments for action GetNATRSIPStatus. -type _WANIPConnection2_GetNATRSIPStatus_Request struct{} - -// _WANIPConnection2_GetNATRSIPStatus_Response is the XML structure for the output arguments for action GetNATRSIPStatus. -type _WANIPConnection2_GetNATRSIPStatus_Response struct { - NewRSIPAvailable string - - NewNATEnabled string -} - // GetNATRSIPStatus action. // Arguments: // @@ -4299,13 +4006,19 @@ func (client *WANIPConnection2) GetNATRSIPStatus() ( NewNATEnabled bool, err error, ) { - var request _WANIPConnection2_GetNATRSIPStatus_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewRSIPAvailable string + NewNATEnabled string + } + // Perform the SOAP call. - var response _WANIPConnection2_GetNATRSIPStatus_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "GetNATRSIPStatus", &request, &response); err != nil { return } @@ -4324,30 +4037,6 @@ func (client *WANIPConnection2) GetNATRSIPStatus() ( return } -// _WANIPConnection2_GetGenericPortMappingEntry_Request is the XML structure for the input arguments for action GetGenericPortMappingEntry. -type _WANIPConnection2_GetGenericPortMappingEntry_Request struct { - NewPortMappingIndex string -} - -// _WANIPConnection2_GetGenericPortMappingEntry_Response is the XML structure for the output arguments for action GetGenericPortMappingEntry. -type _WANIPConnection2_GetGenericPortMappingEntry_Response struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - // GetGenericPortMappingEntry action. // Arguments: // @@ -4422,7 +4111,10 @@ func (client *WANIPConnection2) GetGenericPortMappingEntry( NewLeaseDuration uint32, err error, ) { - var request _WANIPConnection2_GetGenericPortMappingEntry_Request + // Request structure. + var request struct { + NewPortMappingIndex string + } // BEGIN Marshal arguments into request. if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { @@ -4431,8 +4123,19 @@ func (client *WANIPConnection2) GetGenericPortMappingEntry( // END Marshal arguments into request. + // Response structure. + var response struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } + // Perform the SOAP call. - var response _WANIPConnection2_GetGenericPortMappingEntry_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "GetGenericPortMappingEntry", &request, &response); err != nil { return } @@ -4475,28 +4178,6 @@ func (client *WANIPConnection2) GetGenericPortMappingEntry( return } -// _WANIPConnection2_GetSpecificPortMappingEntry_Request is the XML structure for the input arguments for action GetSpecificPortMappingEntry. -type _WANIPConnection2_GetSpecificPortMappingEntry_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string -} - -// _WANIPConnection2_GetSpecificPortMappingEntry_Response is the XML structure for the output arguments for action GetSpecificPortMappingEntry. -type _WANIPConnection2_GetSpecificPortMappingEntry_Response struct { - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - // GetSpecificPortMappingEntry action. // Arguments: // @@ -4564,7 +4245,12 @@ func (client *WANIPConnection2) GetSpecificPortMappingEntry( NewLeaseDuration uint32, err error, ) { - var request _WANIPConnection2_GetSpecificPortMappingEntry_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -4581,8 +4267,16 @@ func (client *WANIPConnection2) GetSpecificPortMappingEntry( // END Marshal arguments into request. + // Response structure. + var response struct { + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } + // Perform the SOAP call. - var response _WANIPConnection2_GetSpecificPortMappingEntry_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "GetSpecificPortMappingEntry", &request, &response); err != nil { return } @@ -4613,28 +4307,6 @@ func (client *WANIPConnection2) GetSpecificPortMappingEntry( return } -// _WANIPConnection2_AddPortMapping_Request is the XML structure for the input arguments for action AddPortMapping. -type _WANIPConnection2_AddPortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - -// _WANIPConnection2_AddPortMapping_Response is the XML structure for the output arguments for action AddPortMapping. -type _WANIPConnection2_AddPortMapping_Response struct{} - // AddPortMapping action. // Arguments: // @@ -4702,7 +4374,17 @@ func (client *WANIPConnection2) AddPortMapping( ) ( err error, ) { - var request _WANIPConnection2_AddPortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -4739,8 +4421,10 @@ func (client *WANIPConnection2) AddPortMapping( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection2_AddPortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "AddPortMapping", &request, &response); err != nil { return } @@ -4751,18 +4435,6 @@ func (client *WANIPConnection2) AddPortMapping( return } -// _WANIPConnection2_DeletePortMapping_Request is the XML structure for the input arguments for action DeletePortMapping. -type _WANIPConnection2_DeletePortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string -} - -// _WANIPConnection2_DeletePortMapping_Response is the XML structure for the output arguments for action DeletePortMapping. -type _WANIPConnection2_DeletePortMapping_Response struct{} - // DeletePortMapping action. // Arguments: // @@ -4795,7 +4467,12 @@ func (client *WANIPConnection2) DeletePortMapping( ) ( err error, ) { - var request _WANIPConnection2_DeletePortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -4812,8 +4489,10 @@ func (client *WANIPConnection2) DeletePortMapping( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection2_DeletePortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "DeletePortMapping", &request, &response); err != nil { return } @@ -4824,20 +4503,6 @@ func (client *WANIPConnection2) DeletePortMapping( return } -// _WANIPConnection2_DeletePortMappingRange_Request is the XML structure for the input arguments for action DeletePortMappingRange. -type _WANIPConnection2_DeletePortMappingRange_Request struct { - NewStartPort string - - NewEndPort string - - NewProtocol string - - NewManage string -} - -// _WANIPConnection2_DeletePortMappingRange_Response is the XML structure for the output arguments for action DeletePortMappingRange. -type _WANIPConnection2_DeletePortMappingRange_Response struct{} - // DeletePortMappingRange action. // Arguments: // @@ -4877,7 +4542,13 @@ func (client *WANIPConnection2) DeletePortMappingRange( ) ( err error, ) { - var request _WANIPConnection2_DeletePortMappingRange_Request + // Request structure. + var request struct { + NewStartPort string + NewEndPort string + NewProtocol string + NewManage string + } // BEGIN Marshal arguments into request. if request.NewStartPort, err = soap.MarshalUi2(NewStartPort); err != nil { @@ -4898,8 +4569,10 @@ func (client *WANIPConnection2) DeletePortMappingRange( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPConnection2_DeletePortMappingRange_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "DeletePortMappingRange", &request, &response); err != nil { return } @@ -4910,14 +4583,6 @@ func (client *WANIPConnection2) DeletePortMappingRange( return } -// _WANIPConnection2_GetExternalIPAddress_Request is the XML structure for the input arguments for action GetExternalIPAddress. -type _WANIPConnection2_GetExternalIPAddress_Request struct{} - -// _WANIPConnection2_GetExternalIPAddress_Response is the XML structure for the output arguments for action GetExternalIPAddress. -type _WANIPConnection2_GetExternalIPAddress_Response struct { - NewExternalIPAddress string -} - // GetExternalIPAddress action. // Arguments: // @@ -4934,13 +4599,18 @@ func (client *WANIPConnection2) GetExternalIPAddress() ( NewExternalIPAddress string, err error, ) { - var request _WANIPConnection2_GetExternalIPAddress_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewExternalIPAddress string + } + // Perform the SOAP call. - var response _WANIPConnection2_GetExternalIPAddress_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "GetExternalIPAddress", &request, &response); err != nil { return } @@ -4955,24 +4625,6 @@ func (client *WANIPConnection2) GetExternalIPAddress() ( return } -// _WANIPConnection2_GetListOfPortMappings_Request is the XML structure for the input arguments for action GetListOfPortMappings. -type _WANIPConnection2_GetListOfPortMappings_Request struct { - NewStartPort string - - NewEndPort string - - NewProtocol string - - NewManage string - - NewNumberOfPorts string -} - -// _WANIPConnection2_GetListOfPortMappings_Response is the XML structure for the output arguments for action GetListOfPortMappings. -type _WANIPConnection2_GetListOfPortMappings_Response struct { - NewPortListing string -} - // GetListOfPortMappings action. // Arguments: // @@ -5026,7 +4678,14 @@ func (client *WANIPConnection2) GetListOfPortMappings( NewPortListing string, err error, ) { - var request _WANIPConnection2_GetListOfPortMappings_Request + // Request structure. + var request struct { + NewStartPort string + NewEndPort string + NewProtocol string + NewManage string + NewNumberOfPorts string + } // BEGIN Marshal arguments into request. if request.NewStartPort, err = soap.MarshalUi2(NewStartPort); err != nil { @@ -5051,8 +4710,12 @@ func (client *WANIPConnection2) GetListOfPortMappings( // END Marshal arguments into request. + // Response structure. + var response struct { + NewPortListing string + } + // Perform the SOAP call. - var response _WANIPConnection2_GetListOfPortMappings_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "GetListOfPortMappings", &request, &response); err != nil { return } @@ -5067,30 +4730,6 @@ func (client *WANIPConnection2) GetListOfPortMappings( return } -// _WANIPConnection2_AddAnyPortMapping_Request is the XML structure for the input arguments for action AddAnyPortMapping. -type _WANIPConnection2_AddAnyPortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - -// _WANIPConnection2_AddAnyPortMapping_Response is the XML structure for the output arguments for action AddAnyPortMapping. -type _WANIPConnection2_AddAnyPortMapping_Response struct { - NewReservedPort string -} - // AddAnyPortMapping action. // Arguments: // @@ -5165,7 +4804,17 @@ func (client *WANIPConnection2) AddAnyPortMapping( NewReservedPort uint16, err error, ) { - var request _WANIPConnection2_AddAnyPortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -5202,8 +4851,12 @@ func (client *WANIPConnection2) AddAnyPortMapping( // END Marshal arguments into request. + // Response structure. + var response struct { + NewReservedPort string + } + // Perform the SOAP call. - var response _WANIPConnection2_AddAnyPortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANIPConnection_2, "AddAnyPortMapping", &request, &response); err != nil { return } @@ -5223,16 +4876,6 @@ type WANIPv6FirewallControl1 struct { SOAPClient soap.SOAPClient } -// _WANIPv6FirewallControl1_GetFirewallStatus_Request is the XML structure for the input arguments for action GetFirewallStatus. -type _WANIPv6FirewallControl1_GetFirewallStatus_Request struct{} - -// _WANIPv6FirewallControl1_GetFirewallStatus_Response is the XML structure for the output arguments for action GetFirewallStatus. -type _WANIPv6FirewallControl1_GetFirewallStatus_Response struct { - FirewallEnabled string - - InboundPinholeAllowed string -} - // GetFirewallStatus action. // Arguments: // @@ -5256,13 +4899,19 @@ func (client *WANIPv6FirewallControl1) GetFirewallStatus() ( InboundPinholeAllowed bool, err error, ) { - var request _WANIPv6FirewallControl1_GetFirewallStatus_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + FirewallEnabled string + InboundPinholeAllowed string + } + // Perform the SOAP call. - var response _WANIPv6FirewallControl1_GetFirewallStatus_Response if err = client.SOAPClient.PerformAction(URN_WANIPv6FirewallControl_1, "GetFirewallStatus", &request, &response); err != nil { return } @@ -5281,24 +4930,6 @@ func (client *WANIPv6FirewallControl1) GetFirewallStatus() ( return } -// _WANIPv6FirewallControl1_GetOutboundPinholeTimeout_Request is the XML structure for the input arguments for action GetOutboundPinholeTimeout. -type _WANIPv6FirewallControl1_GetOutboundPinholeTimeout_Request struct { - RemoteHost string - - RemotePort string - - InternalClient string - - InternalPort string - - Protocol string -} - -// _WANIPv6FirewallControl1_GetOutboundPinholeTimeout_Response is the XML structure for the output arguments for action GetOutboundPinholeTimeout. -type _WANIPv6FirewallControl1_GetOutboundPinholeTimeout_Response struct { - OutboundPinholeTimeout string -} - // GetOutboundPinholeTimeout action. // Arguments: // @@ -5351,7 +4982,14 @@ func (client *WANIPv6FirewallControl1) GetOutboundPinholeTimeout( OutboundPinholeTimeout uint32, err error, ) { - var request _WANIPv6FirewallControl1_GetOutboundPinholeTimeout_Request + // Request structure. + var request struct { + RemoteHost string + RemotePort string + InternalClient string + InternalPort string + Protocol string + } // BEGIN Marshal arguments into request. if request.RemoteHost, err = soap.MarshalString(RemoteHost); err != nil { @@ -5376,8 +5014,12 @@ func (client *WANIPv6FirewallControl1) GetOutboundPinholeTimeout( // END Marshal arguments into request. + // Response structure. + var response struct { + OutboundPinholeTimeout string + } + // Perform the SOAP call. - var response _WANIPv6FirewallControl1_GetOutboundPinholeTimeout_Response if err = client.SOAPClient.PerformAction(URN_WANIPv6FirewallControl_1, "GetOutboundPinholeTimeout", &request, &response); err != nil { return } @@ -5392,26 +5034,6 @@ func (client *WANIPv6FirewallControl1) GetOutboundPinholeTimeout( return } -// _WANIPv6FirewallControl1_AddPinhole_Request is the XML structure for the input arguments for action AddPinhole. -type _WANIPv6FirewallControl1_AddPinhole_Request struct { - RemoteHost string - - RemotePort string - - InternalClient string - - InternalPort string - - Protocol string - - LeaseTime string -} - -// _WANIPv6FirewallControl1_AddPinhole_Response is the XML structure for the output arguments for action AddPinhole. -type _WANIPv6FirewallControl1_AddPinhole_Response struct { - UniqueID string -} - // AddPinhole action. // Arguments: // @@ -5471,7 +5093,15 @@ func (client *WANIPv6FirewallControl1) AddPinhole( UniqueID uint16, err error, ) { - var request _WANIPv6FirewallControl1_AddPinhole_Request + // Request structure. + var request struct { + RemoteHost string + RemotePort string + InternalClient string + InternalPort string + Protocol string + LeaseTime string + } // BEGIN Marshal arguments into request. if request.RemoteHost, err = soap.MarshalString(RemoteHost); err != nil { @@ -5500,8 +5130,12 @@ func (client *WANIPv6FirewallControl1) AddPinhole( // END Marshal arguments into request. + // Response structure. + var response struct { + UniqueID string + } + // Perform the SOAP call. - var response _WANIPv6FirewallControl1_AddPinhole_Response if err = client.SOAPClient.PerformAction(URN_WANIPv6FirewallControl_1, "AddPinhole", &request, &response); err != nil { return } @@ -5516,16 +5150,6 @@ func (client *WANIPv6FirewallControl1) AddPinhole( return } -// _WANIPv6FirewallControl1_UpdatePinhole_Request is the XML structure for the input arguments for action UpdatePinhole. -type _WANIPv6FirewallControl1_UpdatePinhole_Request struct { - UniqueID string - - NewLeaseTime string -} - -// _WANIPv6FirewallControl1_UpdatePinhole_Response is the XML structure for the output arguments for action UpdatePinhole. -type _WANIPv6FirewallControl1_UpdatePinhole_Response struct{} - // UpdatePinhole action. // Arguments: // @@ -5550,7 +5174,11 @@ func (client *WANIPv6FirewallControl1) UpdatePinhole( ) ( err error, ) { - var request _WANIPv6FirewallControl1_UpdatePinhole_Request + // Request structure. + var request struct { + UniqueID string + NewLeaseTime string + } // BEGIN Marshal arguments into request. if request.UniqueID, err = soap.MarshalUi2(UniqueID); err != nil { @@ -5563,8 +5191,10 @@ func (client *WANIPv6FirewallControl1) UpdatePinhole( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPv6FirewallControl1_UpdatePinhole_Response if err = client.SOAPClient.PerformAction(URN_WANIPv6FirewallControl_1, "UpdatePinhole", &request, &response); err != nil { return } @@ -5575,14 +5205,6 @@ func (client *WANIPv6FirewallControl1) UpdatePinhole( return } -// _WANIPv6FirewallControl1_DeletePinhole_Request is the XML structure for the input arguments for action DeletePinhole. -type _WANIPv6FirewallControl1_DeletePinhole_Request struct { - UniqueID string -} - -// _WANIPv6FirewallControl1_DeletePinhole_Response is the XML structure for the output arguments for action DeletePinhole. -type _WANIPv6FirewallControl1_DeletePinhole_Response struct{} - // DeletePinhole action. // Arguments: // @@ -5600,7 +5222,10 @@ func (client *WANIPv6FirewallControl1) DeletePinhole( ) ( err error, ) { - var request _WANIPv6FirewallControl1_DeletePinhole_Request + // Request structure. + var request struct { + UniqueID string + } // BEGIN Marshal arguments into request. if request.UniqueID, err = soap.MarshalUi2(UniqueID); err != nil { @@ -5609,8 +5234,10 @@ func (client *WANIPv6FirewallControl1) DeletePinhole( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANIPv6FirewallControl1_DeletePinhole_Response if err = client.SOAPClient.PerformAction(URN_WANIPv6FirewallControl_1, "DeletePinhole", &request, &response); err != nil { return } @@ -5621,16 +5248,6 @@ func (client *WANIPv6FirewallControl1) DeletePinhole( return } -// _WANIPv6FirewallControl1_GetPinholePackets_Request is the XML structure for the input arguments for action GetPinholePackets. -type _WANIPv6FirewallControl1_GetPinholePackets_Request struct { - UniqueID string -} - -// _WANIPv6FirewallControl1_GetPinholePackets_Response is the XML structure for the output arguments for action GetPinholePackets. -type _WANIPv6FirewallControl1_GetPinholePackets_Response struct { - PinholePackets string -} - // GetPinholePackets action. // Arguments: // @@ -5655,7 +5272,10 @@ func (client *WANIPv6FirewallControl1) GetPinholePackets( PinholePackets uint32, err error, ) { - var request _WANIPv6FirewallControl1_GetPinholePackets_Request + // Request structure. + var request struct { + UniqueID string + } // BEGIN Marshal arguments into request. if request.UniqueID, err = soap.MarshalUi2(UniqueID); err != nil { @@ -5664,8 +5284,12 @@ func (client *WANIPv6FirewallControl1) GetPinholePackets( // END Marshal arguments into request. + // Response structure. + var response struct { + PinholePackets string + } + // Perform the SOAP call. - var response _WANIPv6FirewallControl1_GetPinholePackets_Response if err = client.SOAPClient.PerformAction(URN_WANIPv6FirewallControl_1, "GetPinholePackets", &request, &response); err != nil { return } @@ -5680,16 +5304,6 @@ func (client *WANIPv6FirewallControl1) GetPinholePackets( return } -// _WANIPv6FirewallControl1_CheckPinholeWorking_Request is the XML structure for the input arguments for action CheckPinholeWorking. -type _WANIPv6FirewallControl1_CheckPinholeWorking_Request struct { - UniqueID string -} - -// _WANIPv6FirewallControl1_CheckPinholeWorking_Response is the XML structure for the output arguments for action CheckPinholeWorking. -type _WANIPv6FirewallControl1_CheckPinholeWorking_Response struct { - IsWorking string -} - // CheckPinholeWorking action. // Arguments: // @@ -5714,7 +5328,10 @@ func (client *WANIPv6FirewallControl1) CheckPinholeWorking( IsWorking bool, err error, ) { - var request _WANIPv6FirewallControl1_CheckPinholeWorking_Request + // Request structure. + var request struct { + UniqueID string + } // BEGIN Marshal arguments into request. if request.UniqueID, err = soap.MarshalUi2(UniqueID); err != nil { @@ -5723,8 +5340,12 @@ func (client *WANIPv6FirewallControl1) CheckPinholeWorking( // END Marshal arguments into request. + // Response structure. + var response struct { + IsWorking string + } + // Perform the SOAP call. - var response _WANIPv6FirewallControl1_CheckPinholeWorking_Response if err = client.SOAPClient.PerformAction(URN_WANIPv6FirewallControl_1, "CheckPinholeWorking", &request, &response); err != nil { return } @@ -5744,18 +5365,6 @@ type WANPOTSLinkConfig1 struct { SOAPClient soap.SOAPClient } -// _WANPOTSLinkConfig1_SetISPInfo_Request is the XML structure for the input arguments for action SetISPInfo. -type _WANPOTSLinkConfig1_SetISPInfo_Request struct { - NewISPPhoneNumber string - - NewISPInfo string - - NewLinkType string -} - -// _WANPOTSLinkConfig1_SetISPInfo_Response is the XML structure for the output arguments for action SetISPInfo. -type _WANPOTSLinkConfig1_SetISPInfo_Response struct{} - // SetISPInfo action. // Arguments: // @@ -5788,7 +5397,12 @@ func (client *WANPOTSLinkConfig1) SetISPInfo( ) ( err error, ) { - var request _WANPOTSLinkConfig1_SetISPInfo_Request + // Request structure. + var request struct { + NewISPPhoneNumber string + NewISPInfo string + NewLinkType string + } // BEGIN Marshal arguments into request. if request.NewISPPhoneNumber, err = soap.MarshalString(NewISPPhoneNumber); err != nil { @@ -5805,8 +5419,10 @@ func (client *WANPOTSLinkConfig1) SetISPInfo( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_SetISPInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "SetISPInfo", &request, &response); err != nil { return } @@ -5817,16 +5433,6 @@ func (client *WANPOTSLinkConfig1) SetISPInfo( return } -// _WANPOTSLinkConfig1_SetCallRetryInfo_Request is the XML structure for the input arguments for action SetCallRetryInfo. -type _WANPOTSLinkConfig1_SetCallRetryInfo_Request struct { - NewNumberOfRetries string - - NewDelayBetweenRetries string -} - -// _WANPOTSLinkConfig1_SetCallRetryInfo_Response is the XML structure for the output arguments for action SetCallRetryInfo. -type _WANPOTSLinkConfig1_SetCallRetryInfo_Response struct{} - // SetCallRetryInfo action. // Arguments: // @@ -5851,7 +5457,11 @@ func (client *WANPOTSLinkConfig1) SetCallRetryInfo( ) ( err error, ) { - var request _WANPOTSLinkConfig1_SetCallRetryInfo_Request + // Request structure. + var request struct { + NewNumberOfRetries string + NewDelayBetweenRetries string + } // BEGIN Marshal arguments into request. if request.NewNumberOfRetries, err = soap.MarshalUi4(NewNumberOfRetries); err != nil { @@ -5864,8 +5474,10 @@ func (client *WANPOTSLinkConfig1) SetCallRetryInfo( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_SetCallRetryInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "SetCallRetryInfo", &request, &response); err != nil { return } @@ -5876,18 +5488,6 @@ func (client *WANPOTSLinkConfig1) SetCallRetryInfo( return } -// _WANPOTSLinkConfig1_GetISPInfo_Request is the XML structure for the input arguments for action GetISPInfo. -type _WANPOTSLinkConfig1_GetISPInfo_Request struct{} - -// _WANPOTSLinkConfig1_GetISPInfo_Response is the XML structure for the output arguments for action GetISPInfo. -type _WANPOTSLinkConfig1_GetISPInfo_Response struct { - NewISPPhoneNumber string - - NewISPInfo string - - NewLinkType string -} - // GetISPInfo action. // Arguments: // @@ -5919,13 +5519,20 @@ func (client *WANPOTSLinkConfig1) GetISPInfo() ( NewLinkType string, err error, ) { - var request _WANPOTSLinkConfig1_GetISPInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewISPPhoneNumber string + NewISPInfo string + NewLinkType string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetISPInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetISPInfo", &request, &response); err != nil { return } @@ -5948,16 +5555,6 @@ func (client *WANPOTSLinkConfig1) GetISPInfo() ( return } -// _WANPOTSLinkConfig1_GetCallRetryInfo_Request is the XML structure for the input arguments for action GetCallRetryInfo. -type _WANPOTSLinkConfig1_GetCallRetryInfo_Request struct{} - -// _WANPOTSLinkConfig1_GetCallRetryInfo_Response is the XML structure for the output arguments for action GetCallRetryInfo. -type _WANPOTSLinkConfig1_GetCallRetryInfo_Response struct { - NewNumberOfRetries string - - NewDelayBetweenRetries string -} - // GetCallRetryInfo action. // Arguments: // @@ -5981,13 +5578,19 @@ func (client *WANPOTSLinkConfig1) GetCallRetryInfo() ( NewDelayBetweenRetries uint32, err error, ) { - var request _WANPOTSLinkConfig1_GetCallRetryInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewNumberOfRetries string + NewDelayBetweenRetries string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetCallRetryInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetCallRetryInfo", &request, &response); err != nil { return } @@ -6006,14 +5609,6 @@ func (client *WANPOTSLinkConfig1) GetCallRetryInfo() ( return } -// _WANPOTSLinkConfig1_GetFclass_Request is the XML structure for the input arguments for action GetFclass. -type _WANPOTSLinkConfig1_GetFclass_Request struct{} - -// _WANPOTSLinkConfig1_GetFclass_Response is the XML structure for the output arguments for action GetFclass. -type _WANPOTSLinkConfig1_GetFclass_Response struct { - NewFclass string -} - // GetFclass action. // Arguments: // @@ -6030,13 +5625,18 @@ func (client *WANPOTSLinkConfig1) GetFclass() ( NewFclass string, err error, ) { - var request _WANPOTSLinkConfig1_GetFclass_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewFclass string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetFclass_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetFclass", &request, &response); err != nil { return } @@ -6051,14 +5651,6 @@ func (client *WANPOTSLinkConfig1) GetFclass() ( return } -// _WANPOTSLinkConfig1_GetDataModulationSupported_Request is the XML structure for the input arguments for action GetDataModulationSupported. -type _WANPOTSLinkConfig1_GetDataModulationSupported_Request struct{} - -// _WANPOTSLinkConfig1_GetDataModulationSupported_Response is the XML structure for the output arguments for action GetDataModulationSupported. -type _WANPOTSLinkConfig1_GetDataModulationSupported_Response struct { - NewDataModulationSupported string -} - // GetDataModulationSupported action. // Arguments: // @@ -6075,13 +5667,18 @@ func (client *WANPOTSLinkConfig1) GetDataModulationSupported() ( NewDataModulationSupported string, err error, ) { - var request _WANPOTSLinkConfig1_GetDataModulationSupported_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDataModulationSupported string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetDataModulationSupported_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetDataModulationSupported", &request, &response); err != nil { return } @@ -6096,14 +5693,6 @@ func (client *WANPOTSLinkConfig1) GetDataModulationSupported() ( return } -// _WANPOTSLinkConfig1_GetDataProtocol_Request is the XML structure for the input arguments for action GetDataProtocol. -type _WANPOTSLinkConfig1_GetDataProtocol_Request struct{} - -// _WANPOTSLinkConfig1_GetDataProtocol_Response is the XML structure for the output arguments for action GetDataProtocol. -type _WANPOTSLinkConfig1_GetDataProtocol_Response struct { - NewDataProtocol string -} - // GetDataProtocol action. // Arguments: // @@ -6120,13 +5709,18 @@ func (client *WANPOTSLinkConfig1) GetDataProtocol() ( NewDataProtocol string, err error, ) { - var request _WANPOTSLinkConfig1_GetDataProtocol_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDataProtocol string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetDataProtocol_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetDataProtocol", &request, &response); err != nil { return } @@ -6141,14 +5735,6 @@ func (client *WANPOTSLinkConfig1) GetDataProtocol() ( return } -// _WANPOTSLinkConfig1_GetDataCompression_Request is the XML structure for the input arguments for action GetDataCompression. -type _WANPOTSLinkConfig1_GetDataCompression_Request struct{} - -// _WANPOTSLinkConfig1_GetDataCompression_Response is the XML structure for the output arguments for action GetDataCompression. -type _WANPOTSLinkConfig1_GetDataCompression_Response struct { - NewDataCompression string -} - // GetDataCompression action. // Arguments: // @@ -6165,13 +5751,18 @@ func (client *WANPOTSLinkConfig1) GetDataCompression() ( NewDataCompression string, err error, ) { - var request _WANPOTSLinkConfig1_GetDataCompression_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewDataCompression string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetDataCompression_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetDataCompression", &request, &response); err != nil { return } @@ -6186,14 +5777,6 @@ func (client *WANPOTSLinkConfig1) GetDataCompression() ( return } -// _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Request is the XML structure for the input arguments for action GetPlusVTRCommandSupported. -type _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Request struct{} - -// _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Response is the XML structure for the output arguments for action GetPlusVTRCommandSupported. -type _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Response struct { - NewPlusVTRCommandSupported string -} - // GetPlusVTRCommandSupported action. // Arguments: // @@ -6210,13 +5793,18 @@ func (client *WANPOTSLinkConfig1) GetPlusVTRCommandSupported() ( NewPlusVTRCommandSupported bool, err error, ) { - var request _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewPlusVTRCommandSupported string + } + // Perform the SOAP call. - var response _WANPOTSLinkConfig1_GetPlusVTRCommandSupported_Response if err = client.SOAPClient.PerformAction(URN_WANPOTSLinkConfig_1, "GetPlusVTRCommandSupported", &request, &response); err != nil { return } @@ -6236,14 +5824,6 @@ type WANPPPConnection1 struct { SOAPClient soap.SOAPClient } -// _WANPPPConnection1_SetConnectionType_Request is the XML structure for the input arguments for action SetConnectionType. -type _WANPPPConnection1_SetConnectionType_Request struct { - NewConnectionType string -} - -// _WANPPPConnection1_SetConnectionType_Response is the XML structure for the output arguments for action SetConnectionType. -type _WANPPPConnection1_SetConnectionType_Response struct{} - // SetConnectionType action. // Arguments: // @@ -6261,7 +5841,10 @@ func (client *WANPPPConnection1) SetConnectionType( ) ( err error, ) { - var request _WANPPPConnection1_SetConnectionType_Request + // Request structure. + var request struct { + NewConnectionType string + } // BEGIN Marshal arguments into request. if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { @@ -6270,8 +5853,10 @@ func (client *WANPPPConnection1) SetConnectionType( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_SetConnectionType_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "SetConnectionType", &request, &response); err != nil { return } @@ -6282,16 +5867,6 @@ func (client *WANPPPConnection1) SetConnectionType( return } -// _WANPPPConnection1_GetConnectionTypeInfo_Request is the XML structure for the input arguments for action GetConnectionTypeInfo. -type _WANPPPConnection1_GetConnectionTypeInfo_Request struct{} - -// _WANPPPConnection1_GetConnectionTypeInfo_Response is the XML structure for the output arguments for action GetConnectionTypeInfo. -type _WANPPPConnection1_GetConnectionTypeInfo_Response struct { - NewConnectionType string - - NewPossibleConnectionTypes string -} - // GetConnectionTypeInfo action. // Arguments: // @@ -6316,13 +5891,19 @@ func (client *WANPPPConnection1) GetConnectionTypeInfo() ( NewPossibleConnectionTypes string, err error, ) { - var request _WANPPPConnection1_GetConnectionTypeInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConnectionType string + NewPossibleConnectionTypes string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetConnectionTypeInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetConnectionTypeInfo", &request, &response); err != nil { return } @@ -6341,16 +5922,6 @@ func (client *WANPPPConnection1) GetConnectionTypeInfo() ( return } -// _WANPPPConnection1_ConfigureConnection_Request is the XML structure for the input arguments for action ConfigureConnection. -type _WANPPPConnection1_ConfigureConnection_Request struct { - NewUserName string - - NewPassword string -} - -// _WANPPPConnection1_ConfigureConnection_Response is the XML structure for the output arguments for action ConfigureConnection. -type _WANPPPConnection1_ConfigureConnection_Response struct{} - // ConfigureConnection action. // Arguments: // @@ -6375,7 +5946,11 @@ func (client *WANPPPConnection1) ConfigureConnection( ) ( err error, ) { - var request _WANPPPConnection1_ConfigureConnection_Request + // Request structure. + var request struct { + NewUserName string + NewPassword string + } // BEGIN Marshal arguments into request. if request.NewUserName, err = soap.MarshalString(NewUserName); err != nil { @@ -6388,8 +5963,10 @@ func (client *WANPPPConnection1) ConfigureConnection( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_ConfigureConnection_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "ConfigureConnection", &request, &response); err != nil { return } @@ -6400,12 +5977,6 @@ func (client *WANPPPConnection1) ConfigureConnection( return } -// _WANPPPConnection1_RequestConnection_Request is the XML structure for the input arguments for action RequestConnection. -type _WANPPPConnection1_RequestConnection_Request struct{} - -// _WANPPPConnection1_RequestConnection_Response is the XML structure for the output arguments for action RequestConnection. -type _WANPPPConnection1_RequestConnection_Response struct{} - // RequestConnection action. // Arguments: // @@ -6415,13 +5986,16 @@ type _WANPPPConnection1_RequestConnection_Response struct{} func (client *WANPPPConnection1) RequestConnection() ( err error, ) { - var request _WANPPPConnection1_RequestConnection_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_RequestConnection_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "RequestConnection", &request, &response); err != nil { return } @@ -6432,12 +6006,6 @@ func (client *WANPPPConnection1) RequestConnection() ( return } -// _WANPPPConnection1_RequestTermination_Request is the XML structure for the input arguments for action RequestTermination. -type _WANPPPConnection1_RequestTermination_Request struct{} - -// _WANPPPConnection1_RequestTermination_Response is the XML structure for the output arguments for action RequestTermination. -type _WANPPPConnection1_RequestTermination_Response struct{} - // RequestTermination action. // Arguments: // @@ -6447,13 +6015,16 @@ type _WANPPPConnection1_RequestTermination_Response struct{} func (client *WANPPPConnection1) RequestTermination() ( err error, ) { - var request _WANPPPConnection1_RequestTermination_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_RequestTermination_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "RequestTermination", &request, &response); err != nil { return } @@ -6464,12 +6035,6 @@ func (client *WANPPPConnection1) RequestTermination() ( return } -// _WANPPPConnection1_ForceTermination_Request is the XML structure for the input arguments for action ForceTermination. -type _WANPPPConnection1_ForceTermination_Request struct{} - -// _WANPPPConnection1_ForceTermination_Response is the XML structure for the output arguments for action ForceTermination. -type _WANPPPConnection1_ForceTermination_Response struct{} - // ForceTermination action. // Arguments: // @@ -6479,13 +6044,16 @@ type _WANPPPConnection1_ForceTermination_Response struct{} func (client *WANPPPConnection1) ForceTermination() ( err error, ) { - var request _WANPPPConnection1_ForceTermination_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_ForceTermination_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "ForceTermination", &request, &response); err != nil { return } @@ -6496,14 +6064,6 @@ func (client *WANPPPConnection1) ForceTermination() ( return } -// _WANPPPConnection1_SetAutoDisconnectTime_Request is the XML structure for the input arguments for action SetAutoDisconnectTime. -type _WANPPPConnection1_SetAutoDisconnectTime_Request struct { - NewAutoDisconnectTime string -} - -// _WANPPPConnection1_SetAutoDisconnectTime_Response is the XML structure for the output arguments for action SetAutoDisconnectTime. -type _WANPPPConnection1_SetAutoDisconnectTime_Response struct{} - // SetAutoDisconnectTime action. // Arguments: // @@ -6521,7 +6081,10 @@ func (client *WANPPPConnection1) SetAutoDisconnectTime( ) ( err error, ) { - var request _WANPPPConnection1_SetAutoDisconnectTime_Request + // Request structure. + var request struct { + NewAutoDisconnectTime string + } // BEGIN Marshal arguments into request. if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { @@ -6530,8 +6093,10 @@ func (client *WANPPPConnection1) SetAutoDisconnectTime( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_SetAutoDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "SetAutoDisconnectTime", &request, &response); err != nil { return } @@ -6542,14 +6107,6 @@ func (client *WANPPPConnection1) SetAutoDisconnectTime( return } -// _WANPPPConnection1_SetIdleDisconnectTime_Request is the XML structure for the input arguments for action SetIdleDisconnectTime. -type _WANPPPConnection1_SetIdleDisconnectTime_Request struct { - NewIdleDisconnectTime string -} - -// _WANPPPConnection1_SetIdleDisconnectTime_Response is the XML structure for the output arguments for action SetIdleDisconnectTime. -type _WANPPPConnection1_SetIdleDisconnectTime_Response struct{} - // SetIdleDisconnectTime action. // Arguments: // @@ -6567,7 +6124,10 @@ func (client *WANPPPConnection1) SetIdleDisconnectTime( ) ( err error, ) { - var request _WANPPPConnection1_SetIdleDisconnectTime_Request + // Request structure. + var request struct { + NewIdleDisconnectTime string + } // BEGIN Marshal arguments into request. if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { @@ -6576,8 +6136,10 @@ func (client *WANPPPConnection1) SetIdleDisconnectTime( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_SetIdleDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "SetIdleDisconnectTime", &request, &response); err != nil { return } @@ -6588,14 +6150,6 @@ func (client *WANPPPConnection1) SetIdleDisconnectTime( return } -// _WANPPPConnection1_SetWarnDisconnectDelay_Request is the XML structure for the input arguments for action SetWarnDisconnectDelay. -type _WANPPPConnection1_SetWarnDisconnectDelay_Request struct { - NewWarnDisconnectDelay string -} - -// _WANPPPConnection1_SetWarnDisconnectDelay_Response is the XML structure for the output arguments for action SetWarnDisconnectDelay. -type _WANPPPConnection1_SetWarnDisconnectDelay_Response struct{} - // SetWarnDisconnectDelay action. // Arguments: // @@ -6613,7 +6167,10 @@ func (client *WANPPPConnection1) SetWarnDisconnectDelay( ) ( err error, ) { - var request _WANPPPConnection1_SetWarnDisconnectDelay_Request + // Request structure. + var request struct { + NewWarnDisconnectDelay string + } // BEGIN Marshal arguments into request. if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { @@ -6622,8 +6179,10 @@ func (client *WANPPPConnection1) SetWarnDisconnectDelay( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_SetWarnDisconnectDelay_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "SetWarnDisconnectDelay", &request, &response); err != nil { return } @@ -6634,18 +6193,6 @@ func (client *WANPPPConnection1) SetWarnDisconnectDelay( return } -// _WANPPPConnection1_GetStatusInfo_Request is the XML structure for the input arguments for action GetStatusInfo. -type _WANPPPConnection1_GetStatusInfo_Request struct{} - -// _WANPPPConnection1_GetStatusInfo_Response is the XML structure for the output arguments for action GetStatusInfo. -type _WANPPPConnection1_GetStatusInfo_Response struct { - NewConnectionStatus string - - NewLastConnectionError string - - NewUptime string -} - // GetStatusInfo action. // Arguments: // @@ -6678,13 +6225,20 @@ func (client *WANPPPConnection1) GetStatusInfo() ( NewUptime uint32, err error, ) { - var request _WANPPPConnection1_GetStatusInfo_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewConnectionStatus string + NewLastConnectionError string + NewUptime string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetStatusInfo_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetStatusInfo", &request, &response); err != nil { return } @@ -6707,16 +6261,6 @@ func (client *WANPPPConnection1) GetStatusInfo() ( return } -// _WANPPPConnection1_GetLinkLayerMaxBitRates_Request is the XML structure for the input arguments for action GetLinkLayerMaxBitRates. -type _WANPPPConnection1_GetLinkLayerMaxBitRates_Request struct{} - -// _WANPPPConnection1_GetLinkLayerMaxBitRates_Response is the XML structure for the output arguments for action GetLinkLayerMaxBitRates. -type _WANPPPConnection1_GetLinkLayerMaxBitRates_Response struct { - NewUpstreamMaxBitRate string - - NewDownstreamMaxBitRate string -} - // GetLinkLayerMaxBitRates action. // Arguments: // @@ -6740,13 +6284,19 @@ func (client *WANPPPConnection1) GetLinkLayerMaxBitRates() ( NewDownstreamMaxBitRate uint32, err error, ) { - var request _WANPPPConnection1_GetLinkLayerMaxBitRates_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUpstreamMaxBitRate string + NewDownstreamMaxBitRate string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetLinkLayerMaxBitRates_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetLinkLayerMaxBitRates", &request, &response); err != nil { return } @@ -6765,14 +6315,6 @@ func (client *WANPPPConnection1) GetLinkLayerMaxBitRates() ( return } -// _WANPPPConnection1_GetPPPEncryptionProtocol_Request is the XML structure for the input arguments for action GetPPPEncryptionProtocol. -type _WANPPPConnection1_GetPPPEncryptionProtocol_Request struct{} - -// _WANPPPConnection1_GetPPPEncryptionProtocol_Response is the XML structure for the output arguments for action GetPPPEncryptionProtocol. -type _WANPPPConnection1_GetPPPEncryptionProtocol_Response struct { - NewPPPEncryptionProtocol string -} - // GetPPPEncryptionProtocol action. // Arguments: // @@ -6789,13 +6331,18 @@ func (client *WANPPPConnection1) GetPPPEncryptionProtocol() ( NewPPPEncryptionProtocol string, err error, ) { - var request _WANPPPConnection1_GetPPPEncryptionProtocol_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewPPPEncryptionProtocol string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetPPPEncryptionProtocol_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetPPPEncryptionProtocol", &request, &response); err != nil { return } @@ -6810,14 +6357,6 @@ func (client *WANPPPConnection1) GetPPPEncryptionProtocol() ( return } -// _WANPPPConnection1_GetPPPCompressionProtocol_Request is the XML structure for the input arguments for action GetPPPCompressionProtocol. -type _WANPPPConnection1_GetPPPCompressionProtocol_Request struct{} - -// _WANPPPConnection1_GetPPPCompressionProtocol_Response is the XML structure for the output arguments for action GetPPPCompressionProtocol. -type _WANPPPConnection1_GetPPPCompressionProtocol_Response struct { - NewPPPCompressionProtocol string -} - // GetPPPCompressionProtocol action. // Arguments: // @@ -6834,13 +6373,18 @@ func (client *WANPPPConnection1) GetPPPCompressionProtocol() ( NewPPPCompressionProtocol string, err error, ) { - var request _WANPPPConnection1_GetPPPCompressionProtocol_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewPPPCompressionProtocol string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetPPPCompressionProtocol_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetPPPCompressionProtocol", &request, &response); err != nil { return } @@ -6855,14 +6399,6 @@ func (client *WANPPPConnection1) GetPPPCompressionProtocol() ( return } -// _WANPPPConnection1_GetPPPAuthenticationProtocol_Request is the XML structure for the input arguments for action GetPPPAuthenticationProtocol. -type _WANPPPConnection1_GetPPPAuthenticationProtocol_Request struct{} - -// _WANPPPConnection1_GetPPPAuthenticationProtocol_Response is the XML structure for the output arguments for action GetPPPAuthenticationProtocol. -type _WANPPPConnection1_GetPPPAuthenticationProtocol_Response struct { - NewPPPAuthenticationProtocol string -} - // GetPPPAuthenticationProtocol action. // Arguments: // @@ -6879,13 +6415,18 @@ func (client *WANPPPConnection1) GetPPPAuthenticationProtocol() ( NewPPPAuthenticationProtocol string, err error, ) { - var request _WANPPPConnection1_GetPPPAuthenticationProtocol_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewPPPAuthenticationProtocol string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetPPPAuthenticationProtocol_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetPPPAuthenticationProtocol", &request, &response); err != nil { return } @@ -6900,14 +6441,6 @@ func (client *WANPPPConnection1) GetPPPAuthenticationProtocol() ( return } -// _WANPPPConnection1_GetUserName_Request is the XML structure for the input arguments for action GetUserName. -type _WANPPPConnection1_GetUserName_Request struct{} - -// _WANPPPConnection1_GetUserName_Response is the XML structure for the output arguments for action GetUserName. -type _WANPPPConnection1_GetUserName_Response struct { - NewUserName string -} - // GetUserName action. // Arguments: // @@ -6924,13 +6457,18 @@ func (client *WANPPPConnection1) GetUserName() ( NewUserName string, err error, ) { - var request _WANPPPConnection1_GetUserName_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewUserName string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetUserName_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetUserName", &request, &response); err != nil { return } @@ -6945,14 +6483,6 @@ func (client *WANPPPConnection1) GetUserName() ( return } -// _WANPPPConnection1_GetPassword_Request is the XML structure for the input arguments for action GetPassword. -type _WANPPPConnection1_GetPassword_Request struct{} - -// _WANPPPConnection1_GetPassword_Response is the XML structure for the output arguments for action GetPassword. -type _WANPPPConnection1_GetPassword_Response struct { - NewPassword string -} - // GetPassword action. // Arguments: // @@ -6969,13 +6499,18 @@ func (client *WANPPPConnection1) GetPassword() ( NewPassword string, err error, ) { - var request _WANPPPConnection1_GetPassword_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewPassword string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetPassword_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetPassword", &request, &response); err != nil { return } @@ -6990,14 +6525,6 @@ func (client *WANPPPConnection1) GetPassword() ( return } -// _WANPPPConnection1_GetAutoDisconnectTime_Request is the XML structure for the input arguments for action GetAutoDisconnectTime. -type _WANPPPConnection1_GetAutoDisconnectTime_Request struct{} - -// _WANPPPConnection1_GetAutoDisconnectTime_Response is the XML structure for the output arguments for action GetAutoDisconnectTime. -type _WANPPPConnection1_GetAutoDisconnectTime_Response struct { - NewAutoDisconnectTime string -} - // GetAutoDisconnectTime action. // Arguments: // @@ -7014,13 +6541,18 @@ func (client *WANPPPConnection1) GetAutoDisconnectTime() ( NewAutoDisconnectTime uint32, err error, ) { - var request _WANPPPConnection1_GetAutoDisconnectTime_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewAutoDisconnectTime string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetAutoDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetAutoDisconnectTime", &request, &response); err != nil { return } @@ -7035,14 +6567,6 @@ func (client *WANPPPConnection1) GetAutoDisconnectTime() ( return } -// _WANPPPConnection1_GetIdleDisconnectTime_Request is the XML structure for the input arguments for action GetIdleDisconnectTime. -type _WANPPPConnection1_GetIdleDisconnectTime_Request struct{} - -// _WANPPPConnection1_GetIdleDisconnectTime_Response is the XML structure for the output arguments for action GetIdleDisconnectTime. -type _WANPPPConnection1_GetIdleDisconnectTime_Response struct { - NewIdleDisconnectTime string -} - // GetIdleDisconnectTime action. // Arguments: // @@ -7059,13 +6583,18 @@ func (client *WANPPPConnection1) GetIdleDisconnectTime() ( NewIdleDisconnectTime uint32, err error, ) { - var request _WANPPPConnection1_GetIdleDisconnectTime_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewIdleDisconnectTime string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetIdleDisconnectTime_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetIdleDisconnectTime", &request, &response); err != nil { return } @@ -7080,14 +6609,6 @@ func (client *WANPPPConnection1) GetIdleDisconnectTime() ( return } -// _WANPPPConnection1_GetWarnDisconnectDelay_Request is the XML structure for the input arguments for action GetWarnDisconnectDelay. -type _WANPPPConnection1_GetWarnDisconnectDelay_Request struct{} - -// _WANPPPConnection1_GetWarnDisconnectDelay_Response is the XML structure for the output arguments for action GetWarnDisconnectDelay. -type _WANPPPConnection1_GetWarnDisconnectDelay_Response struct { - NewWarnDisconnectDelay string -} - // GetWarnDisconnectDelay action. // Arguments: // @@ -7104,13 +6625,18 @@ func (client *WANPPPConnection1) GetWarnDisconnectDelay() ( NewWarnDisconnectDelay uint32, err error, ) { - var request _WANPPPConnection1_GetWarnDisconnectDelay_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewWarnDisconnectDelay string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetWarnDisconnectDelay_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetWarnDisconnectDelay", &request, &response); err != nil { return } @@ -7125,16 +6651,6 @@ func (client *WANPPPConnection1) GetWarnDisconnectDelay() ( return } -// _WANPPPConnection1_GetNATRSIPStatus_Request is the XML structure for the input arguments for action GetNATRSIPStatus. -type _WANPPPConnection1_GetNATRSIPStatus_Request struct{} - -// _WANPPPConnection1_GetNATRSIPStatus_Response is the XML structure for the output arguments for action GetNATRSIPStatus. -type _WANPPPConnection1_GetNATRSIPStatus_Response struct { - NewRSIPAvailable string - - NewNATEnabled string -} - // GetNATRSIPStatus action. // Arguments: // @@ -7158,13 +6674,19 @@ func (client *WANPPPConnection1) GetNATRSIPStatus() ( NewNATEnabled bool, err error, ) { - var request _WANPPPConnection1_GetNATRSIPStatus_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewRSIPAvailable string + NewNATEnabled string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetNATRSIPStatus_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetNATRSIPStatus", &request, &response); err != nil { return } @@ -7183,30 +6705,6 @@ func (client *WANPPPConnection1) GetNATRSIPStatus() ( return } -// _WANPPPConnection1_GetGenericPortMappingEntry_Request is the XML structure for the input arguments for action GetGenericPortMappingEntry. -type _WANPPPConnection1_GetGenericPortMappingEntry_Request struct { - NewPortMappingIndex string -} - -// _WANPPPConnection1_GetGenericPortMappingEntry_Response is the XML structure for the output arguments for action GetGenericPortMappingEntry. -type _WANPPPConnection1_GetGenericPortMappingEntry_Response struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - // GetGenericPortMappingEntry action. // Arguments: // @@ -7281,7 +6779,10 @@ func (client *WANPPPConnection1) GetGenericPortMappingEntry( NewLeaseDuration uint32, err error, ) { - var request _WANPPPConnection1_GetGenericPortMappingEntry_Request + // Request structure. + var request struct { + NewPortMappingIndex string + } // BEGIN Marshal arguments into request. if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { @@ -7290,8 +6791,19 @@ func (client *WANPPPConnection1) GetGenericPortMappingEntry( // END Marshal arguments into request. + // Response structure. + var response struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetGenericPortMappingEntry_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetGenericPortMappingEntry", &request, &response); err != nil { return } @@ -7334,28 +6846,6 @@ func (client *WANPPPConnection1) GetGenericPortMappingEntry( return } -// _WANPPPConnection1_GetSpecificPortMappingEntry_Request is the XML structure for the input arguments for action GetSpecificPortMappingEntry. -type _WANPPPConnection1_GetSpecificPortMappingEntry_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string -} - -// _WANPPPConnection1_GetSpecificPortMappingEntry_Response is the XML structure for the output arguments for action GetSpecificPortMappingEntry. -type _WANPPPConnection1_GetSpecificPortMappingEntry_Response struct { - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - // GetSpecificPortMappingEntry action. // Arguments: // @@ -7423,7 +6913,12 @@ func (client *WANPPPConnection1) GetSpecificPortMappingEntry( NewLeaseDuration uint32, err error, ) { - var request _WANPPPConnection1_GetSpecificPortMappingEntry_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -7440,8 +6935,16 @@ func (client *WANPPPConnection1) GetSpecificPortMappingEntry( // END Marshal arguments into request. + // Response structure. + var response struct { + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetSpecificPortMappingEntry_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetSpecificPortMappingEntry", &request, &response); err != nil { return } @@ -7472,28 +6975,6 @@ func (client *WANPPPConnection1) GetSpecificPortMappingEntry( return } -// _WANPPPConnection1_AddPortMapping_Request is the XML structure for the input arguments for action AddPortMapping. -type _WANPPPConnection1_AddPortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string - - NewInternalPort string - - NewInternalClient string - - NewEnabled string - - NewPortMappingDescription string - - NewLeaseDuration string -} - -// _WANPPPConnection1_AddPortMapping_Response is the XML structure for the output arguments for action AddPortMapping. -type _WANPPPConnection1_AddPortMapping_Response struct{} - // AddPortMapping action. // Arguments: // @@ -7561,7 +7042,17 @@ func (client *WANPPPConnection1) AddPortMapping( ) ( err error, ) { - var request _WANPPPConnection1_AddPortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -7598,8 +7089,10 @@ func (client *WANPPPConnection1) AddPortMapping( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_AddPortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "AddPortMapping", &request, &response); err != nil { return } @@ -7610,18 +7103,6 @@ func (client *WANPPPConnection1) AddPortMapping( return } -// _WANPPPConnection1_DeletePortMapping_Request is the XML structure for the input arguments for action DeletePortMapping. -type _WANPPPConnection1_DeletePortMapping_Request struct { - NewRemoteHost string - - NewExternalPort string - - NewProtocol string -} - -// _WANPPPConnection1_DeletePortMapping_Response is the XML structure for the output arguments for action DeletePortMapping. -type _WANPPPConnection1_DeletePortMapping_Response struct{} - // DeletePortMapping action. // Arguments: // @@ -7654,7 +7135,12 @@ func (client *WANPPPConnection1) DeletePortMapping( ) ( err error, ) { - var request _WANPPPConnection1_DeletePortMapping_Request + // Request structure. + var request struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + } // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -7671,8 +7157,10 @@ func (client *WANPPPConnection1) DeletePortMapping( // END Marshal arguments into request. + // Response structure. + var response struct{} + // Perform the SOAP call. - var response _WANPPPConnection1_DeletePortMapping_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "DeletePortMapping", &request, &response); err != nil { return } @@ -7683,14 +7171,6 @@ func (client *WANPPPConnection1) DeletePortMapping( return } -// _WANPPPConnection1_GetExternalIPAddress_Request is the XML structure for the input arguments for action GetExternalIPAddress. -type _WANPPPConnection1_GetExternalIPAddress_Request struct{} - -// _WANPPPConnection1_GetExternalIPAddress_Response is the XML structure for the output arguments for action GetExternalIPAddress. -type _WANPPPConnection1_GetExternalIPAddress_Response struct { - NewExternalIPAddress string -} - // GetExternalIPAddress action. // Arguments: // @@ -7707,13 +7187,18 @@ func (client *WANPPPConnection1) GetExternalIPAddress() ( NewExternalIPAddress string, err error, ) { - var request _WANPPPConnection1_GetExternalIPAddress_Request + // Request structure. + var request struct{} // BEGIN Marshal arguments into request. // END Marshal arguments into request. + // Response structure. + var response struct { + NewExternalIPAddress string + } + // Perform the SOAP call. - var response _WANPPPConnection1_GetExternalIPAddress_Response if err = client.SOAPClient.PerformAction(URN_WANPPPConnection_1, "GetExternalIPAddress", &request, &response); err != nil { return }