Remove spurious spaces from between req/resp struct members in generated code.
This commit is contained in:
@ -390,7 +390,6 @@ func (client *LANHostConfigManagement1) SetAddressRange(NewMinAddress string, Ne
|
||||
// Request structure.
|
||||
request := &struct {
|
||||
NewMinAddress string
|
||||
|
||||
NewMaxAddress string
|
||||
}{}
|
||||
// BEGIN Marshal arguments into request.
|
||||
@ -427,7 +426,6 @@ func (client *LANHostConfigManagement1) GetAddressRange() (NewMinAddress string,
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewMinAddress string
|
||||
|
||||
NewMaxAddress string
|
||||
}{}
|
||||
|
||||
@ -792,8 +790,7 @@ func (client *WANCableLinkConfig1) GetCableLinkConfigInfo() (NewCableLinkConfigS
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewCableLinkConfigState string
|
||||
|
||||
NewLinkType string
|
||||
NewLinkType string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -1182,13 +1179,10 @@ func (client *WANCommonInterfaceConfig1) GetCommonLinkProperties() (NewWANAccess
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewWANAccessType string
|
||||
|
||||
NewLayer1UpstreamMaxBitRate string
|
||||
|
||||
NewWANAccessType string
|
||||
NewLayer1UpstreamMaxBitRate string
|
||||
NewLayer1DownstreamMaxBitRate string
|
||||
|
||||
NewPhysicalLinkStatus string
|
||||
NewPhysicalLinkStatus string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -1389,7 +1383,6 @@ func (client *WANCommonInterfaceConfig1) GetActiveConnection(NewActiveConnection
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewActiveConnDeviceContainer string
|
||||
|
||||
NewActiveConnectionServiceID string
|
||||
}{}
|
||||
|
||||
@ -1509,8 +1502,7 @@ func (client *WANDSLLinkConfig1) GetDSLLinkInfo() (NewLinkType string, NewLinkSt
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewLinkType string
|
||||
|
||||
NewLinkType string
|
||||
NewLinkStatus string
|
||||
}{}
|
||||
|
||||
@ -1928,8 +1920,7 @@ func (client *WANIPConnection1) GetConnectionTypeInfo() (NewConnectionType strin
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewConnectionType string
|
||||
|
||||
NewConnectionType string
|
||||
NewPossibleConnectionTypes string
|
||||
}{}
|
||||
|
||||
@ -2106,11 +2097,9 @@ func (client *WANIPConnection1) GetStatusInfo() (NewConnectionStatus string, New
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewConnectionStatus string
|
||||
|
||||
NewConnectionStatus string
|
||||
NewLastConnectionError string
|
||||
|
||||
NewUptime string
|
||||
NewUptime string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -2221,8 +2210,7 @@ func (client *WANIPConnection1) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNA
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewRSIPAvailable string
|
||||
|
||||
NewNATEnabled string
|
||||
NewNATEnabled string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -2260,21 +2248,14 @@ func (client *WANIPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex u
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewRemoteHost string
|
||||
|
||||
NewExternalPort string
|
||||
|
||||
NewProtocol string
|
||||
|
||||
NewInternalPort string
|
||||
|
||||
NewInternalClient string
|
||||
|
||||
NewEnabled string
|
||||
|
||||
NewRemoteHost string
|
||||
NewExternalPort string
|
||||
NewProtocol string
|
||||
NewInternalPort string
|
||||
NewInternalClient string
|
||||
NewEnabled string
|
||||
NewPortMappingDescription string
|
||||
|
||||
NewLeaseDuration string
|
||||
NewLeaseDuration string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -2320,11 +2301,9 @@ func (client *WANIPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex u
|
||||
func (client *WANIPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) {
|
||||
// Request structure.
|
||||
request := &struct {
|
||||
NewRemoteHost string
|
||||
|
||||
NewRemoteHost string
|
||||
NewExternalPort string
|
||||
|
||||
NewProtocol string
|
||||
NewProtocol string
|
||||
}{}
|
||||
// BEGIN Marshal arguments into request.
|
||||
|
||||
@ -2341,15 +2320,11 @@ func (client *WANIPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewInternalPort string
|
||||
|
||||
NewInternalClient string
|
||||
|
||||
NewEnabled string
|
||||
|
||||
NewInternalPort string
|
||||
NewInternalClient string
|
||||
NewEnabled string
|
||||
NewPortMappingDescription string
|
||||
|
||||
NewLeaseDuration string
|
||||
NewLeaseDuration string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -2386,21 +2361,14 @@ func (client *WANIPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string
|
||||
func (client *WANIPConnection1) AddPortMapping(NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32) (err error) {
|
||||
// Request structure.
|
||||
request := &struct {
|
||||
NewRemoteHost string
|
||||
|
||||
NewExternalPort string
|
||||
|
||||
NewProtocol string
|
||||
|
||||
NewInternalPort string
|
||||
|
||||
NewInternalClient string
|
||||
|
||||
NewEnabled string
|
||||
|
||||
NewRemoteHost string
|
||||
NewExternalPort string
|
||||
NewProtocol string
|
||||
NewInternalPort string
|
||||
NewInternalClient string
|
||||
NewEnabled string
|
||||
NewPortMappingDescription string
|
||||
|
||||
NewLeaseDuration string
|
||||
NewLeaseDuration string
|
||||
}{}
|
||||
// BEGIN Marshal arguments into request.
|
||||
|
||||
@ -2452,11 +2420,9 @@ func (client *WANIPConnection1) AddPortMapping(NewRemoteHost string, NewExternal
|
||||
func (client *WANIPConnection1) DeletePortMapping(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (err error) {
|
||||
// Request structure.
|
||||
request := &struct {
|
||||
NewRemoteHost string
|
||||
|
||||
NewRemoteHost string
|
||||
NewExternalPort string
|
||||
|
||||
NewProtocol string
|
||||
NewProtocol string
|
||||
}{}
|
||||
// BEGIN Marshal arguments into request.
|
||||
|
||||
@ -2580,10 +2546,8 @@ func (client *WANPOTSLinkConfig1) SetISPInfo(NewISPPhoneNumber string, NewISPInf
|
||||
// Request structure.
|
||||
request := &struct {
|
||||
NewISPPhoneNumber string
|
||||
|
||||
NewISPInfo string
|
||||
|
||||
NewLinkType string
|
||||
NewISPInfo string
|
||||
NewLinkType string
|
||||
}{}
|
||||
// BEGIN Marshal arguments into request.
|
||||
|
||||
@ -2615,8 +2579,7 @@ func (client *WANPOTSLinkConfig1) SetISPInfo(NewISPPhoneNumber string, NewISPInf
|
||||
func (client *WANPOTSLinkConfig1) SetCallRetryInfo(NewNumberOfRetries uint32, NewDelayBetweenRetries uint32) (err error) {
|
||||
// Request structure.
|
||||
request := &struct {
|
||||
NewNumberOfRetries string
|
||||
|
||||
NewNumberOfRetries string
|
||||
NewDelayBetweenRetries string
|
||||
}{}
|
||||
// BEGIN Marshal arguments into request.
|
||||
@ -2657,10 +2620,8 @@ func (client *WANPOTSLinkConfig1) GetISPInfo() (NewISPPhoneNumber string, NewISP
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewISPPhoneNumber string
|
||||
|
||||
NewISPInfo string
|
||||
|
||||
NewLinkType string
|
||||
NewISPInfo string
|
||||
NewLinkType string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -2692,8 +2653,7 @@ func (client *WANPOTSLinkConfig1) GetCallRetryInfo() (NewNumberOfRetries uint32,
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewNumberOfRetries string
|
||||
|
||||
NewNumberOfRetries string
|
||||
NewDelayBetweenRetries string
|
||||
}{}
|
||||
|
||||
@ -2943,8 +2903,7 @@ func (client *WANPPPConnection1) GetConnectionTypeInfo() (NewConnectionType stri
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewConnectionType string
|
||||
|
||||
NewConnectionType string
|
||||
NewPossibleConnectionTypes string
|
||||
}{}
|
||||
|
||||
@ -2969,7 +2928,6 @@ func (client *WANPPPConnection1) ConfigureConnection(NewUserName string, NewPass
|
||||
// Request structure.
|
||||
request := &struct {
|
||||
NewUserName string
|
||||
|
||||
NewPassword string
|
||||
}{}
|
||||
// BEGIN Marshal arguments into request.
|
||||
@ -3152,11 +3110,9 @@ func (client *WANPPPConnection1) GetStatusInfo() (NewConnectionStatus string, Ne
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewConnectionStatus string
|
||||
|
||||
NewConnectionStatus string
|
||||
NewLastConnectionError string
|
||||
|
||||
NewUptime string
|
||||
NewUptime string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -3188,8 +3144,7 @@ func (client *WANPPPConnection1) GetLinkLayerMaxBitRates() (NewUpstreamMaxBitRat
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewUpstreamMaxBitRate string
|
||||
|
||||
NewUpstreamMaxBitRate string
|
||||
NewDownstreamMaxBitRate string
|
||||
}{}
|
||||
|
||||
@ -3428,8 +3383,7 @@ func (client *WANPPPConnection1) GetNATRSIPStatus() (NewRSIPAvailable bool, NewN
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewRSIPAvailable string
|
||||
|
||||
NewNATEnabled string
|
||||
NewNATEnabled string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -3467,21 +3421,14 @@ func (client *WANPPPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewRemoteHost string
|
||||
|
||||
NewExternalPort string
|
||||
|
||||
NewProtocol string
|
||||
|
||||
NewInternalPort string
|
||||
|
||||
NewInternalClient string
|
||||
|
||||
NewEnabled string
|
||||
|
||||
NewRemoteHost string
|
||||
NewExternalPort string
|
||||
NewProtocol string
|
||||
NewInternalPort string
|
||||
NewInternalClient string
|
||||
NewEnabled string
|
||||
NewPortMappingDescription string
|
||||
|
||||
NewLeaseDuration string
|
||||
NewLeaseDuration string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -3527,11 +3474,9 @@ func (client *WANPPPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex
|
||||
func (client *WANPPPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) {
|
||||
// Request structure.
|
||||
request := &struct {
|
||||
NewRemoteHost string
|
||||
|
||||
NewRemoteHost string
|
||||
NewExternalPort string
|
||||
|
||||
NewProtocol string
|
||||
NewProtocol string
|
||||
}{}
|
||||
// BEGIN Marshal arguments into request.
|
||||
|
||||
@ -3548,15 +3493,11 @@ func (client *WANPPPConnection1) GetSpecificPortMappingEntry(NewRemoteHost strin
|
||||
|
||||
// Response structure.
|
||||
response := &struct {
|
||||
NewInternalPort string
|
||||
|
||||
NewInternalClient string
|
||||
|
||||
NewEnabled string
|
||||
|
||||
NewInternalPort string
|
||||
NewInternalClient string
|
||||
NewEnabled string
|
||||
NewPortMappingDescription string
|
||||
|
||||
NewLeaseDuration string
|
||||
NewLeaseDuration string
|
||||
}{}
|
||||
|
||||
// Perform the SOAP call.
|
||||
@ -3593,21 +3534,14 @@ func (client *WANPPPConnection1) GetSpecificPortMappingEntry(NewRemoteHost strin
|
||||
func (client *WANPPPConnection1) AddPortMapping(NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32) (err error) {
|
||||
// Request structure.
|
||||
request := &struct {
|
||||
NewRemoteHost string
|
||||
|
||||
NewExternalPort string
|
||||
|
||||
NewProtocol string
|
||||
|
||||
NewInternalPort string
|
||||
|
||||
NewInternalClient string
|
||||
|
||||
NewEnabled string
|
||||
|
||||
NewRemoteHost string
|
||||
NewExternalPort string
|
||||
NewProtocol string
|
||||
NewInternalPort string
|
||||
NewInternalClient string
|
||||
NewEnabled string
|
||||
NewPortMappingDescription string
|
||||
|
||||
NewLeaseDuration string
|
||||
NewLeaseDuration string
|
||||
}{}
|
||||
// BEGIN Marshal arguments into request.
|
||||
|
||||
@ -3659,11 +3593,9 @@ func (client *WANPPPConnection1) AddPortMapping(NewRemoteHost string, NewExterna
|
||||
func (client *WANPPPConnection1) DeletePortMapping(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (err error) {
|
||||
// Request structure.
|
||||
request := &struct {
|
||||
NewRemoteHost string
|
||||
|
||||
NewRemoteHost string
|
||||
NewExternalPort string
|
||||
|
||||
NewProtocol string
|
||||
NewProtocol string
|
||||
}{}
|
||||
// BEGIN Marshal arguments into request.
|
||||
|
||||
|
Reference in New Issue
Block a user