feat: generate code for openhome

This commit is contained in:
2022-11-01 20:03:30 +01:00
parent 31f6bc38c2
commit 00a824fe48
33 changed files with 15297 additions and 106 deletions

View File

@ -1687,7 +1687,6 @@ func (client *WANCableLinkConfig1) GetBPIEncryptionEnabled() (NewBPIEncryptionEn
return client.GetBPIEncryptionEnabledCtx(context.Background())
}
//
// Return values:
//
// * NewCableLinkConfigState: allowed values: notReady, dsSyncComplete, usParamAcquired, rangingComplete, ipComplete, todEstablished, paramTransferComplete, registrationComplete, operational, accessDenied
@ -1799,7 +1798,6 @@ func (client *WANCableLinkConfig1) GetDownstreamFrequency() (NewDownstreamFreque
return client.GetDownstreamFrequencyCtx(context.Background())
}
//
// Return values:
//
// * NewDownstreamModulation: allowed values: 64QAM, 256QAM
@ -1939,7 +1937,6 @@ func (client *WANCableLinkConfig1) GetUpstreamFrequency() (NewUpstreamFrequency
return client.GetUpstreamFrequencyCtx(context.Background())
}
//
// Return values:
//
// * NewUpstreamModulation: allowed values: QPSK, 16QAM
@ -2129,7 +2126,6 @@ func (client *WANCommonInterfaceConfig1) GetActiveConnection(NewActiveConnection
)
}
//
// Return values:
//
// * NewWANAccessType: allowed values: DSL, POTS, Cable, Ethernet
@ -2215,7 +2211,6 @@ func (client *WANCommonInterfaceConfig1) GetEnabledForInternet() (NewEnabledForI
return client.GetEnabledForInternetCtx(context.Background())
}
//
// Return values:
//
// * NewMaximumActiveConnections: allowed value range: minimum=1, step=1
@ -2600,7 +2595,6 @@ func (client *WANDSLLinkConfig1) GetAutoConfig() (NewAutoConfig bool, err error)
return client.GetAutoConfigCtx(context.Background())
}
//
// Return values:
//
// * NewLinkStatus: allowed values: Up, Down
@ -2964,7 +2958,6 @@ func newWANEthernetLinkConfig1ClientsFromGenericClients(genericClients []goupnp.
return clients
}
//
// Return values:
//
// * NewEthernetLinkStatus: allowed values: Up, Down
@ -3275,7 +3268,6 @@ func (client *WANIPConnection1) GetAutoDisconnectTime() (NewAutoDisconnectTime u
return client.GetAutoDisconnectTimeCtx(context.Background())
}
//
// Return values:
//
// * NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, IP_Bridged
@ -3351,7 +3343,6 @@ func (client *WANIPConnection1) GetExternalIPAddress() (NewExternalIPAddress str
return client.GetExternalIPAddressCtx(context.Background())
}
//
// Return values:
//
// * NewProtocol: allowed values: TCP, UDP
@ -3572,7 +3563,6 @@ func (client *WANIPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string
)
}
//
// Return values:
//
// * NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected
@ -4354,7 +4344,6 @@ func (client *WANIPConnection2) GetExternalIPAddress() (NewExternalIPAddress str
return client.GetExternalIPAddressCtx(context.Background())
}
//
// Return values:
//
// * NewProtocol: allowed values: TCP, UDP
@ -4646,7 +4635,6 @@ func (client *WANIPConnection2) GetSpecificPortMappingEntry(NewRemoteHost string
)
}
//
// Return values:
//
// * NewConnectionStatus: allowed values: Unconfigured, Connecting, Connected, PendingDisconnect, Disconnecting, Disconnected
@ -5602,7 +5590,6 @@ func (client *WANPOTSLinkConfig1) GetFclass() (NewFclass string, err error) {
return client.GetFclassCtx(context.Background())
}
//
// Return values:
//
// * NewLinkType: allowed values: PPP_Dialup
@ -6095,7 +6082,6 @@ func (client *WANPPPConnection1) GetAutoDisconnectTime() (NewAutoDisconnectTime
return client.GetAutoDisconnectTimeCtx(context.Background())
}
//
// Return values:
//
// * NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, DHCP_Spoofed, PPPoE_Bridged, PPTP_Relay, L2TP_Relay, PPPoE_Relay
@ -6171,7 +6157,6 @@ func (client *WANPPPConnection1) GetExternalIPAddress() (NewExternalIPAddress st
return client.GetExternalIPAddressCtx(context.Background())
}
//
// Return values:
//
// * NewProtocol: allowed values: TCP, UDP
@ -6566,7 +6551,6 @@ func (client *WANPPPConnection1) GetSpecificPortMappingEntry(NewRemoteHost strin
)
}
//
// Return values:
//
// * NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected