From 9cff43d4b31a64d28d13c599bbcdf6ac7a39d0e6 Mon Sep 17 00:00:00 2001 From: John Beisley Date: Mon, 13 Jun 2022 07:30:53 +0100 Subject: [PATCH] First two generated service code packages. --- .../inetgw2/lanhostcfgmng1/lanhostcfgmng1.go | 581 ++++++++++++++ .../srv/inetgw2/wanpppconn1/wanpppconn1.go | 710 ++++++++++++++++++ 2 files changed, 1291 insertions(+) create mode 100644 v2alpha/srv/inetgw2/lanhostcfgmng1/lanhostcfgmng1.go create mode 100644 v2alpha/srv/inetgw2/wanpppconn1/wanpppconn1.go diff --git a/v2alpha/srv/inetgw2/lanhostcfgmng1/lanhostcfgmng1.go b/v2alpha/srv/inetgw2/lanhostcfgmng1/lanhostcfgmng1.go new file mode 100644 index 0000000..be6d32e --- /dev/null +++ b/v2alpha/srv/inetgw2/lanhostcfgmng1/lanhostcfgmng1.go @@ -0,0 +1,581 @@ +// Package lanhostcfgmng1 provides types for the "urn:schemas-upnp-org:service:LANHostConfigManagement:1" service. +package lanhostcfgmng1 + +import ( + pkg1 "github.com/huin/goupnp/v2alpha/soap" + pkg2 "github.com/huin/goupnp/v2alpha/soap/types" +) + +const ServiceType = "urn:schemas-upnp-org:service:LANHostConfigManagement:1" + +// DeleteDNSServer provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type DeleteDNSServer struct { + Request DeleteDNSServerRequest + Response DeleteDNSServerResponse +} + +var _ pkg1.Action = &DeleteDNSServer{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteDNSServer) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteDNSServer) ActionName() string { return "DeleteDNSServer" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteDNSServer) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteDNSServer) RefResponse() any { return &a.Response } + +// DeleteDNSServerRequest contains the "in" args for the "DeleteDNSServer" action. +type DeleteDNSServerRequest struct { + NewDNSServers string +} + +// DeleteDNSServerResponse contains the "out" args for the "DeleteDNSServer" action. +type DeleteDNSServerResponse struct{} + +// DeleteIPRouter provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type DeleteIPRouter struct { + Request DeleteIPRouterRequest + Response DeleteIPRouterResponse +} + +var _ pkg1.Action = &DeleteIPRouter{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteIPRouter) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteIPRouter) ActionName() string { return "DeleteIPRouter" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteIPRouter) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteIPRouter) RefResponse() any { return &a.Response } + +// DeleteIPRouterRequest contains the "in" args for the "DeleteIPRouter" action. +type DeleteIPRouterRequest struct { + NewIPRouters string +} + +// DeleteIPRouterResponse contains the "out" args for the "DeleteIPRouter" action. +type DeleteIPRouterResponse struct{} + +// DeleteReservedAddress provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type DeleteReservedAddress struct { + Request DeleteReservedAddressRequest + Response DeleteReservedAddressResponse +} + +var _ pkg1.Action = &DeleteReservedAddress{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteReservedAddress) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteReservedAddress) ActionName() string { return "DeleteReservedAddress" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteReservedAddress) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeleteReservedAddress) RefResponse() any { return &a.Response } + +// DeleteReservedAddressRequest contains the "in" args for the "DeleteReservedAddress" action. +type DeleteReservedAddressRequest struct { + NewReservedAddresses string +} + +// DeleteReservedAddressResponse contains the "out" args for the "DeleteReservedAddress" action. +type DeleteReservedAddressResponse struct{} + +// GetAddressRange provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetAddressRange struct { + Request GetAddressRangeRequest + Response GetAddressRangeResponse +} + +var _ pkg1.Action = &GetAddressRange{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetAddressRange) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetAddressRange) ActionName() string { return "GetAddressRange" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetAddressRange) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetAddressRange) RefResponse() any { return &a.Response } + +// GetAddressRangeRequest contains the "in" args for the "GetAddressRange" action. +type GetAddressRangeRequest struct{} + +// GetAddressRangeResponse contains the "out" args for the "GetAddressRange" action. +type GetAddressRangeResponse struct { + NewMinAddress string + NewMaxAddress string +} + +// GetDHCPRelay provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetDHCPRelay struct { + Request GetDHCPRelayRequest + Response GetDHCPRelayResponse +} + +var _ pkg1.Action = &GetDHCPRelay{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDHCPRelay) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDHCPRelay) ActionName() string { return "GetDHCPRelay" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDHCPRelay) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDHCPRelay) RefResponse() any { return &a.Response } + +// GetDHCPRelayRequest contains the "in" args for the "GetDHCPRelay" action. +type GetDHCPRelayRequest struct{} + +// GetDHCPRelayResponse contains the "out" args for the "GetDHCPRelay" action. +type GetDHCPRelayResponse struct { + NewDHCPRelay pkg2.Boolean +} + +// GetDHCPServerConfigurable provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetDHCPServerConfigurable struct { + Request GetDHCPServerConfigurableRequest + Response GetDHCPServerConfigurableResponse +} + +var _ pkg1.Action = &GetDHCPServerConfigurable{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDHCPServerConfigurable) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDHCPServerConfigurable) ActionName() string { return "GetDHCPServerConfigurable" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDHCPServerConfigurable) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDHCPServerConfigurable) RefResponse() any { return &a.Response } + +// GetDHCPServerConfigurableRequest contains the "in" args for the "GetDHCPServerConfigurable" action. +type GetDHCPServerConfigurableRequest struct{} + +// GetDHCPServerConfigurableResponse contains the "out" args for the "GetDHCPServerConfigurable" action. +type GetDHCPServerConfigurableResponse struct { + NewDHCPServerConfigurable pkg2.Boolean +} + +// GetDNSServers provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetDNSServers struct { + Request GetDNSServersRequest + Response GetDNSServersResponse +} + +var _ pkg1.Action = &GetDNSServers{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDNSServers) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDNSServers) ActionName() string { return "GetDNSServers" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDNSServers) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDNSServers) RefResponse() any { return &a.Response } + +// GetDNSServersRequest contains the "in" args for the "GetDNSServers" action. +type GetDNSServersRequest struct{} + +// GetDNSServersResponse contains the "out" args for the "GetDNSServers" action. +type GetDNSServersResponse struct { + NewDNSServers string +} + +// GetDomainName provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetDomainName struct { + Request GetDomainNameRequest + Response GetDomainNameResponse +} + +var _ pkg1.Action = &GetDomainName{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDomainName) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDomainName) ActionName() string { return "GetDomainName" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDomainName) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetDomainName) RefResponse() any { return &a.Response } + +// GetDomainNameRequest contains the "in" args for the "GetDomainName" action. +type GetDomainNameRequest struct{} + +// GetDomainNameResponse contains the "out" args for the "GetDomainName" action. +type GetDomainNameResponse struct { + NewDomainName string +} + +// GetIPRoutersList provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetIPRoutersList struct { + Request GetIPRoutersListRequest + Response GetIPRoutersListResponse +} + +var _ pkg1.Action = &GetIPRoutersList{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetIPRoutersList) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetIPRoutersList) ActionName() string { return "GetIPRoutersList" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetIPRoutersList) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetIPRoutersList) RefResponse() any { return &a.Response } + +// GetIPRoutersListRequest contains the "in" args for the "GetIPRoutersList" action. +type GetIPRoutersListRequest struct{} + +// GetIPRoutersListResponse contains the "out" args for the "GetIPRoutersList" action. +type GetIPRoutersListResponse struct { + NewIPRouters string +} + +// GetReservedAddresses provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetReservedAddresses struct { + Request GetReservedAddressesRequest + Response GetReservedAddressesResponse +} + +var _ pkg1.Action = &GetReservedAddresses{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetReservedAddresses) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetReservedAddresses) ActionName() string { return "GetReservedAddresses" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetReservedAddresses) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetReservedAddresses) RefResponse() any { return &a.Response } + +// GetReservedAddressesRequest contains the "in" args for the "GetReservedAddresses" action. +type GetReservedAddressesRequest struct{} + +// GetReservedAddressesResponse contains the "out" args for the "GetReservedAddresses" action. +type GetReservedAddressesResponse struct { + NewReservedAddresses string +} + +// GetSubnetMask provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetSubnetMask struct { + Request GetSubnetMaskRequest + Response GetSubnetMaskResponse +} + +var _ pkg1.Action = &GetSubnetMask{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetSubnetMask) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetSubnetMask) ActionName() string { return "GetSubnetMask" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetSubnetMask) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetSubnetMask) RefResponse() any { return &a.Response } + +// GetSubnetMaskRequest contains the "in" args for the "GetSubnetMask" action. +type GetSubnetMaskRequest struct{} + +// GetSubnetMaskResponse contains the "out" args for the "GetSubnetMask" action. +type GetSubnetMaskResponse struct { + NewSubnetMask string +} + +// SetAddressRange provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetAddressRange struct { + Request SetAddressRangeRequest + Response SetAddressRangeResponse +} + +var _ pkg1.Action = &SetAddressRange{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetAddressRange) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetAddressRange) ActionName() string { return "SetAddressRange" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetAddressRange) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetAddressRange) RefResponse() any { return &a.Response } + +// SetAddressRangeRequest contains the "in" args for the "SetAddressRange" action. +type SetAddressRangeRequest struct { + NewMinAddress string + NewMaxAddress string +} + +// SetAddressRangeResponse contains the "out" args for the "SetAddressRange" action. +type SetAddressRangeResponse struct{} + +// SetDHCPRelay provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetDHCPRelay struct { + Request SetDHCPRelayRequest + Response SetDHCPRelayResponse +} + +var _ pkg1.Action = &SetDHCPRelay{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDHCPRelay) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDHCPRelay) ActionName() string { return "SetDHCPRelay" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDHCPRelay) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDHCPRelay) RefResponse() any { return &a.Response } + +// SetDHCPRelayRequest contains the "in" args for the "SetDHCPRelay" action. +type SetDHCPRelayRequest struct { + NewDHCPRelay pkg2.Boolean +} + +// SetDHCPRelayResponse contains the "out" args for the "SetDHCPRelay" action. +type SetDHCPRelayResponse struct{} + +// SetDHCPServerConfigurable provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetDHCPServerConfigurable struct { + Request SetDHCPServerConfigurableRequest + Response SetDHCPServerConfigurableResponse +} + +var _ pkg1.Action = &SetDHCPServerConfigurable{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDHCPServerConfigurable) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDHCPServerConfigurable) ActionName() string { return "SetDHCPServerConfigurable" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDHCPServerConfigurable) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDHCPServerConfigurable) RefResponse() any { return &a.Response } + +// SetDHCPServerConfigurableRequest contains the "in" args for the "SetDHCPServerConfigurable" action. +type SetDHCPServerConfigurableRequest struct { + NewDHCPServerConfigurable pkg2.Boolean +} + +// SetDHCPServerConfigurableResponse contains the "out" args for the "SetDHCPServerConfigurable" action. +type SetDHCPServerConfigurableResponse struct{} + +// SetDNSServer provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetDNSServer struct { + Request SetDNSServerRequest + Response SetDNSServerResponse +} + +var _ pkg1.Action = &SetDNSServer{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDNSServer) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDNSServer) ActionName() string { return "SetDNSServer" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDNSServer) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDNSServer) RefResponse() any { return &a.Response } + +// SetDNSServerRequest contains the "in" args for the "SetDNSServer" action. +type SetDNSServerRequest struct { + NewDNSServers string +} + +// SetDNSServerResponse contains the "out" args for the "SetDNSServer" action. +type SetDNSServerResponse struct{} + +// SetDomainName provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetDomainName struct { + Request SetDomainNameRequest + Response SetDomainNameResponse +} + +var _ pkg1.Action = &SetDomainName{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDomainName) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDomainName) ActionName() string { return "SetDomainName" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDomainName) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetDomainName) RefResponse() any { return &a.Response } + +// SetDomainNameRequest contains the "in" args for the "SetDomainName" action. +type SetDomainNameRequest struct { + NewDomainName string +} + +// SetDomainNameResponse contains the "out" args for the "SetDomainName" action. +type SetDomainNameResponse struct{} + +// SetIPRouter provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetIPRouter struct { + Request SetIPRouterRequest + Response SetIPRouterResponse +} + +var _ pkg1.Action = &SetIPRouter{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetIPRouter) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetIPRouter) ActionName() string { return "SetIPRouter" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetIPRouter) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetIPRouter) RefResponse() any { return &a.Response } + +// SetIPRouterRequest contains the "in" args for the "SetIPRouter" action. +type SetIPRouterRequest struct { + NewIPRouters string +} + +// SetIPRouterResponse contains the "out" args for the "SetIPRouter" action. +type SetIPRouterResponse struct{} + +// SetReservedAddress provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetReservedAddress struct { + Request SetReservedAddressRequest + Response SetReservedAddressResponse +} + +var _ pkg1.Action = &SetReservedAddress{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetReservedAddress) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetReservedAddress) ActionName() string { return "SetReservedAddress" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetReservedAddress) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetReservedAddress) RefResponse() any { return &a.Response } + +// SetReservedAddressRequest contains the "in" args for the "SetReservedAddress" action. +type SetReservedAddressRequest struct { + NewReservedAddresses string +} + +// SetReservedAddressResponse contains the "out" args for the "SetReservedAddress" action. +type SetReservedAddressResponse struct{} + +// SetSubnetMask provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetSubnetMask struct { + Request SetSubnetMaskRequest + Response SetSubnetMaskResponse +} + +var _ pkg1.Action = &SetSubnetMask{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetSubnetMask) ServiceType() string { return ServiceType } + +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetSubnetMask) ActionName() string { return "SetSubnetMask" } + +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetSubnetMask) RefRequest() any { return &a.Request } + +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetSubnetMask) RefResponse() any { return &a.Response } + +// SetSubnetMaskRequest contains the "in" args for the "SetSubnetMask" action. +type SetSubnetMaskRequest struct { + NewSubnetMask string +} + +// SetSubnetMaskResponse contains the "out" args for the "SetSubnetMask" action. +type SetSubnetMaskResponse struct{} diff --git a/v2alpha/srv/inetgw2/wanpppconn1/wanpppconn1.go b/v2alpha/srv/inetgw2/wanpppconn1/wanpppconn1.go new file mode 100644 index 0000000..01541b9 --- /dev/null +++ b/v2alpha/srv/inetgw2/wanpppconn1/wanpppconn1.go @@ -0,0 +1,710 @@ +// Package wanpppconn1 provides types for the "urn:schemas-upnp-org:service:WANPPPConnection:1" service. +package wanpppconn1 + +import ( + pkg1 "github.com/huin/goupnp/v2alpha/soap" + pkg2 "github.com/huin/goupnp/v2alpha/soap/types" +) + +const ServiceType = "urn:schemas-upnp-org:service:WANPPPConnection:1" + +// AddPortMapping provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type AddPortMapping struct{ + Request AddPortMappingRequest + Response AddPortMappingResponse +} + +var _ pkg1.Action = &AddPortMapping{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *AddPortMapping) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *AddPortMapping) ActionName() string { return "AddPortMapping" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *AddPortMapping) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *AddPortMapping) RefResponse() any { return &a.Response } + +// AddPortMappingRequest contains the "in" args for the "AddPortMapping" action. +type AddPortMappingRequest struct{ + NewRemoteHost string + NewExternalPort pkg2.UI2 + NewProtocol string + NewInternalPort pkg2.UI2 + NewInternalClient string + NewEnabled pkg2.Boolean + NewPortMappingDescription string + NewLeaseDuration pkg2.UI4 +} + +// AddPortMappingResponse contains the "out" args for the "AddPortMapping" action. +type AddPortMappingResponse struct{} + +// ConfigureConnection provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type ConfigureConnection struct{ + Request ConfigureConnectionRequest + Response ConfigureConnectionResponse +} + +var _ pkg1.Action = &ConfigureConnection{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *ConfigureConnection) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *ConfigureConnection) ActionName() string { return "ConfigureConnection" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *ConfigureConnection) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *ConfigureConnection) RefResponse() any { return &a.Response } + +// ConfigureConnectionRequest contains the "in" args for the "ConfigureConnection" action. +type ConfigureConnectionRequest struct{ + NewUserName string + NewPassword string +} + +// ConfigureConnectionResponse contains the "out" args for the "ConfigureConnection" action. +type ConfigureConnectionResponse struct{} + +// DeletePortMapping provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type DeletePortMapping struct{ + Request DeletePortMappingRequest + Response DeletePortMappingResponse +} + +var _ pkg1.Action = &DeletePortMapping{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeletePortMapping) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeletePortMapping) ActionName() string { return "DeletePortMapping" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeletePortMapping) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *DeletePortMapping) RefResponse() any { return &a.Response } + +// DeletePortMappingRequest contains the "in" args for the "DeletePortMapping" action. +type DeletePortMappingRequest struct{ + NewRemoteHost string + NewExternalPort pkg2.UI2 + NewProtocol string +} + +// DeletePortMappingResponse contains the "out" args for the "DeletePortMapping" action. +type DeletePortMappingResponse struct{} + +// ForceTermination provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type ForceTermination struct{ + Request ForceTerminationRequest + Response ForceTerminationResponse +} + +var _ pkg1.Action = &ForceTermination{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *ForceTermination) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *ForceTermination) ActionName() string { return "ForceTermination" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *ForceTermination) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *ForceTermination) RefResponse() any { return &a.Response } + +// ForceTerminationRequest contains the "in" args for the "ForceTermination" action. +type ForceTerminationRequest struct{} + +// ForceTerminationResponse contains the "out" args for the "ForceTermination" action. +type ForceTerminationResponse struct{} + +// GetAutoDisconnectTime provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetAutoDisconnectTime struct{ + Request GetAutoDisconnectTimeRequest + Response GetAutoDisconnectTimeResponse +} + +var _ pkg1.Action = &GetAutoDisconnectTime{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetAutoDisconnectTime) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetAutoDisconnectTime) ActionName() string { return "GetAutoDisconnectTime" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetAutoDisconnectTime) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetAutoDisconnectTime) RefResponse() any { return &a.Response } + +// GetAutoDisconnectTimeRequest contains the "in" args for the "GetAutoDisconnectTime" action. +type GetAutoDisconnectTimeRequest struct{} + +// GetAutoDisconnectTimeResponse contains the "out" args for the "GetAutoDisconnectTime" action. +type GetAutoDisconnectTimeResponse struct{ + NewAutoDisconnectTime pkg2.UI4 +} + +// GetConnectionTypeInfo provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetConnectionTypeInfo struct{ + Request GetConnectionTypeInfoRequest + Response GetConnectionTypeInfoResponse +} + +var _ pkg1.Action = &GetConnectionTypeInfo{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetConnectionTypeInfo) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetConnectionTypeInfo) ActionName() string { return "GetConnectionTypeInfo" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetConnectionTypeInfo) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetConnectionTypeInfo) RefResponse() any { return &a.Response } + +// GetConnectionTypeInfoRequest contains the "in" args for the "GetConnectionTypeInfo" action. +type GetConnectionTypeInfoRequest struct{} + +// GetConnectionTypeInfoResponse contains the "out" args for the "GetConnectionTypeInfo" action. +type GetConnectionTypeInfoResponse struct{ + NewConnectionType string + NewPossibleConnectionTypes string +} + +// GetExternalIPAddress provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetExternalIPAddress struct{ + Request GetExternalIPAddressRequest + Response GetExternalIPAddressResponse +} + +var _ pkg1.Action = &GetExternalIPAddress{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetExternalIPAddress) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetExternalIPAddress) ActionName() string { return "GetExternalIPAddress" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetExternalIPAddress) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetExternalIPAddress) RefResponse() any { return &a.Response } + +// GetExternalIPAddressRequest contains the "in" args for the "GetExternalIPAddress" action. +type GetExternalIPAddressRequest struct{} + +// GetExternalIPAddressResponse contains the "out" args for the "GetExternalIPAddress" action. +type GetExternalIPAddressResponse struct{ + NewExternalIPAddress string +} + +// GetGenericPortMappingEntry provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetGenericPortMappingEntry struct{ + Request GetGenericPortMappingEntryRequest + Response GetGenericPortMappingEntryResponse +} + +var _ pkg1.Action = &GetGenericPortMappingEntry{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetGenericPortMappingEntry) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetGenericPortMappingEntry) ActionName() string { return "GetGenericPortMappingEntry" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetGenericPortMappingEntry) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetGenericPortMappingEntry) RefResponse() any { return &a.Response } + +// GetGenericPortMappingEntryRequest contains the "in" args for the "GetGenericPortMappingEntry" action. +type GetGenericPortMappingEntryRequest struct{ + NewPortMappingIndex pkg2.UI2 +} + +// GetGenericPortMappingEntryResponse contains the "out" args for the "GetGenericPortMappingEntry" action. +type GetGenericPortMappingEntryResponse struct{ + NewRemoteHost string + NewExternalPort pkg2.UI2 + NewProtocol string + NewInternalPort pkg2.UI2 + NewInternalClient string + NewEnabled pkg2.Boolean + NewPortMappingDescription string + NewLeaseDuration pkg2.UI4 +} + +// GetIdleDisconnectTime provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetIdleDisconnectTime struct{ + Request GetIdleDisconnectTimeRequest + Response GetIdleDisconnectTimeResponse +} + +var _ pkg1.Action = &GetIdleDisconnectTime{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetIdleDisconnectTime) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetIdleDisconnectTime) ActionName() string { return "GetIdleDisconnectTime" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetIdleDisconnectTime) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetIdleDisconnectTime) RefResponse() any { return &a.Response } + +// GetIdleDisconnectTimeRequest contains the "in" args for the "GetIdleDisconnectTime" action. +type GetIdleDisconnectTimeRequest struct{} + +// GetIdleDisconnectTimeResponse contains the "out" args for the "GetIdleDisconnectTime" action. +type GetIdleDisconnectTimeResponse struct{ + NewIdleDisconnectTime pkg2.UI4 +} + +// GetLinkLayerMaxBitRates provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetLinkLayerMaxBitRates struct{ + Request GetLinkLayerMaxBitRatesRequest + Response GetLinkLayerMaxBitRatesResponse +} + +var _ pkg1.Action = &GetLinkLayerMaxBitRates{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetLinkLayerMaxBitRates) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetLinkLayerMaxBitRates) ActionName() string { return "GetLinkLayerMaxBitRates" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetLinkLayerMaxBitRates) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetLinkLayerMaxBitRates) RefResponse() any { return &a.Response } + +// GetLinkLayerMaxBitRatesRequest contains the "in" args for the "GetLinkLayerMaxBitRates" action. +type GetLinkLayerMaxBitRatesRequest struct{} + +// GetLinkLayerMaxBitRatesResponse contains the "out" args for the "GetLinkLayerMaxBitRates" action. +type GetLinkLayerMaxBitRatesResponse struct{ + NewUpstreamMaxBitRate pkg2.UI4 + NewDownstreamMaxBitRate pkg2.UI4 +} + +// GetNATRSIPStatus provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetNATRSIPStatus struct{ + Request GetNATRSIPStatusRequest + Response GetNATRSIPStatusResponse +} + +var _ pkg1.Action = &GetNATRSIPStatus{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetNATRSIPStatus) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetNATRSIPStatus) ActionName() string { return "GetNATRSIPStatus" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetNATRSIPStatus) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetNATRSIPStatus) RefResponse() any { return &a.Response } + +// GetNATRSIPStatusRequest contains the "in" args for the "GetNATRSIPStatus" action. +type GetNATRSIPStatusRequest struct{} + +// GetNATRSIPStatusResponse contains the "out" args for the "GetNATRSIPStatus" action. +type GetNATRSIPStatusResponse struct{ + NewRSIPAvailable pkg2.Boolean + NewNATEnabled pkg2.Boolean +} + +// GetPPPAuthenticationProtocol provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetPPPAuthenticationProtocol struct{ + Request GetPPPAuthenticationProtocolRequest + Response GetPPPAuthenticationProtocolResponse +} + +var _ pkg1.Action = &GetPPPAuthenticationProtocol{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPAuthenticationProtocol) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPAuthenticationProtocol) ActionName() string { return "GetPPPAuthenticationProtocol" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPAuthenticationProtocol) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPAuthenticationProtocol) RefResponse() any { return &a.Response } + +// GetPPPAuthenticationProtocolRequest contains the "in" args for the "GetPPPAuthenticationProtocol" action. +type GetPPPAuthenticationProtocolRequest struct{} + +// GetPPPAuthenticationProtocolResponse contains the "out" args for the "GetPPPAuthenticationProtocol" action. +type GetPPPAuthenticationProtocolResponse struct{ + NewPPPAuthenticationProtocol string +} + +// GetPPPCompressionProtocol provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetPPPCompressionProtocol struct{ + Request GetPPPCompressionProtocolRequest + Response GetPPPCompressionProtocolResponse +} + +var _ pkg1.Action = &GetPPPCompressionProtocol{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPCompressionProtocol) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPCompressionProtocol) ActionName() string { return "GetPPPCompressionProtocol" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPCompressionProtocol) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPCompressionProtocol) RefResponse() any { return &a.Response } + +// GetPPPCompressionProtocolRequest contains the "in" args for the "GetPPPCompressionProtocol" action. +type GetPPPCompressionProtocolRequest struct{} + +// GetPPPCompressionProtocolResponse contains the "out" args for the "GetPPPCompressionProtocol" action. +type GetPPPCompressionProtocolResponse struct{ + NewPPPCompressionProtocol string +} + +// GetPPPEncryptionProtocol provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetPPPEncryptionProtocol struct{ + Request GetPPPEncryptionProtocolRequest + Response GetPPPEncryptionProtocolResponse +} + +var _ pkg1.Action = &GetPPPEncryptionProtocol{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPEncryptionProtocol) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPEncryptionProtocol) ActionName() string { return "GetPPPEncryptionProtocol" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPEncryptionProtocol) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPPPEncryptionProtocol) RefResponse() any { return &a.Response } + +// GetPPPEncryptionProtocolRequest contains the "in" args for the "GetPPPEncryptionProtocol" action. +type GetPPPEncryptionProtocolRequest struct{} + +// GetPPPEncryptionProtocolResponse contains the "out" args for the "GetPPPEncryptionProtocol" action. +type GetPPPEncryptionProtocolResponse struct{ + NewPPPEncryptionProtocol string +} + +// GetPassword provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetPassword struct{ + Request GetPasswordRequest + Response GetPasswordResponse +} + +var _ pkg1.Action = &GetPassword{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPassword) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPassword) ActionName() string { return "GetPassword" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPassword) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetPassword) RefResponse() any { return &a.Response } + +// GetPasswordRequest contains the "in" args for the "GetPassword" action. +type GetPasswordRequest struct{} + +// GetPasswordResponse contains the "out" args for the "GetPassword" action. +type GetPasswordResponse struct{ + NewPassword string +} + +// GetSpecificPortMappingEntry provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetSpecificPortMappingEntry struct{ + Request GetSpecificPortMappingEntryRequest + Response GetSpecificPortMappingEntryResponse +} + +var _ pkg1.Action = &GetSpecificPortMappingEntry{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetSpecificPortMappingEntry) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetSpecificPortMappingEntry) ActionName() string { return "GetSpecificPortMappingEntry" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetSpecificPortMappingEntry) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetSpecificPortMappingEntry) RefResponse() any { return &a.Response } + +// GetSpecificPortMappingEntryRequest contains the "in" args for the "GetSpecificPortMappingEntry" action. +type GetSpecificPortMappingEntryRequest struct{ + NewRemoteHost string + NewExternalPort pkg2.UI2 + NewProtocol string +} + +// GetSpecificPortMappingEntryResponse contains the "out" args for the "GetSpecificPortMappingEntry" action. +type GetSpecificPortMappingEntryResponse struct{ + NewInternalPort pkg2.UI2 + NewInternalClient string + NewEnabled pkg2.Boolean + NewPortMappingDescription string + NewLeaseDuration pkg2.UI4 +} + +// GetStatusInfo provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetStatusInfo struct{ + Request GetStatusInfoRequest + Response GetStatusInfoResponse +} + +var _ pkg1.Action = &GetStatusInfo{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetStatusInfo) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetStatusInfo) ActionName() string { return "GetStatusInfo" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetStatusInfo) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetStatusInfo) RefResponse() any { return &a.Response } + +// GetStatusInfoRequest contains the "in" args for the "GetStatusInfo" action. +type GetStatusInfoRequest struct{} + +// GetStatusInfoResponse contains the "out" args for the "GetStatusInfo" action. +type GetStatusInfoResponse struct{ + NewConnectionStatus string + NewLastConnectionError string + NewUptime pkg2.UI4 +} + +// GetUserName provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetUserName struct{ + Request GetUserNameRequest + Response GetUserNameResponse +} + +var _ pkg1.Action = &GetUserName{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetUserName) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetUserName) ActionName() string { return "GetUserName" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetUserName) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetUserName) RefResponse() any { return &a.Response } + +// GetUserNameRequest contains the "in" args for the "GetUserName" action. +type GetUserNameRequest struct{} + +// GetUserNameResponse contains the "out" args for the "GetUserName" action. +type GetUserNameResponse struct{ + NewUserName string +} + +// GetWarnDisconnectDelay provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type GetWarnDisconnectDelay struct{ + Request GetWarnDisconnectDelayRequest + Response GetWarnDisconnectDelayResponse +} + +var _ pkg1.Action = &GetWarnDisconnectDelay{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetWarnDisconnectDelay) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetWarnDisconnectDelay) ActionName() string { return "GetWarnDisconnectDelay" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetWarnDisconnectDelay) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *GetWarnDisconnectDelay) RefResponse() any { return &a.Response } + +// GetWarnDisconnectDelayRequest contains the "in" args for the "GetWarnDisconnectDelay" action. +type GetWarnDisconnectDelayRequest struct{} + +// GetWarnDisconnectDelayResponse contains the "out" args for the "GetWarnDisconnectDelay" action. +type GetWarnDisconnectDelayResponse struct{ + NewWarnDisconnectDelay pkg2.UI4 +} + +// RequestConnection provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type RequestConnection struct{ + Request RequestConnectionRequest + Response RequestConnectionResponse +} + +var _ pkg1.Action = &RequestConnection{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *RequestConnection) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *RequestConnection) ActionName() string { return "RequestConnection" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *RequestConnection) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *RequestConnection) RefResponse() any { return &a.Response } + +// RequestConnectionRequest contains the "in" args for the "RequestConnection" action. +type RequestConnectionRequest struct{} + +// RequestConnectionResponse contains the "out" args for the "RequestConnection" action. +type RequestConnectionResponse struct{} + +// RequestTermination provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type RequestTermination struct{ + Request RequestTerminationRequest + Response RequestTerminationResponse +} + +var _ pkg1.Action = &RequestTermination{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *RequestTermination) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *RequestTermination) ActionName() string { return "RequestTermination" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *RequestTermination) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *RequestTermination) RefResponse() any { return &a.Response } + +// RequestTerminationRequest contains the "in" args for the "RequestTermination" action. +type RequestTerminationRequest struct{} + +// RequestTerminationResponse contains the "out" args for the "RequestTermination" action. +type RequestTerminationResponse struct{} + +// SetAutoDisconnectTime provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetAutoDisconnectTime struct{ + Request SetAutoDisconnectTimeRequest + Response SetAutoDisconnectTimeResponse +} + +var _ pkg1.Action = &SetAutoDisconnectTime{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetAutoDisconnectTime) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetAutoDisconnectTime) ActionName() string { return "SetAutoDisconnectTime" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetAutoDisconnectTime) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetAutoDisconnectTime) RefResponse() any { return &a.Response } + +// SetAutoDisconnectTimeRequest contains the "in" args for the "SetAutoDisconnectTime" action. +type SetAutoDisconnectTimeRequest struct{ + NewAutoDisconnectTime pkg2.UI4 +} + +// SetAutoDisconnectTimeResponse contains the "out" args for the "SetAutoDisconnectTime" action. +type SetAutoDisconnectTimeResponse struct{} + +// SetConnectionType provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetConnectionType struct{ + Request SetConnectionTypeRequest + Response SetConnectionTypeResponse +} + +var _ pkg1.Action = &SetConnectionType{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetConnectionType) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetConnectionType) ActionName() string { return "SetConnectionType" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetConnectionType) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetConnectionType) RefResponse() any { return &a.Response } + +// SetConnectionTypeRequest contains the "in" args for the "SetConnectionType" action. +type SetConnectionTypeRequest struct{ + NewConnectionType string +} + +// SetConnectionTypeResponse contains the "out" args for the "SetConnectionType" action. +type SetConnectionTypeResponse struct{} + +// SetIdleDisconnectTime provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetIdleDisconnectTime struct{ + Request SetIdleDisconnectTimeRequest + Response SetIdleDisconnectTimeResponse +} + +var _ pkg1.Action = &SetIdleDisconnectTime{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetIdleDisconnectTime) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetIdleDisconnectTime) ActionName() string { return "SetIdleDisconnectTime" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetIdleDisconnectTime) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetIdleDisconnectTime) RefResponse() any { return &a.Response } + +// SetIdleDisconnectTimeRequest contains the "in" args for the "SetIdleDisconnectTime" action. +type SetIdleDisconnectTimeRequest struct{ + NewIdleDisconnectTime pkg2.UI4 +} + +// SetIdleDisconnectTimeResponse contains the "out" args for the "SetIdleDisconnectTime" action. +type SetIdleDisconnectTimeResponse struct{} + +// SetWarnDisconnectDelay provides request and response for the action. +// +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action, self-describing the SOAP action. +type SetWarnDisconnectDelay struct{ + Request SetWarnDisconnectDelayRequest + Response SetWarnDisconnectDelayResponse +} + +var _ pkg1.Action = &SetWarnDisconnectDelay{} + +// ServiceType implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetWarnDisconnectDelay) ServiceType() string { return ServiceType } +// ActionName implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetWarnDisconnectDelay) ActionName() string { return "SetWarnDisconnectDelay" } +// RefRequest implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetWarnDisconnectDelay) RefRequest() any { return &a.Request } +// RefResponse implements "github.com/huin/goupnp/v2alpha/soap".Action. +func (a *SetWarnDisconnectDelay) RefResponse() any { return &a.Response } + +// SetWarnDisconnectDelayRequest contains the "in" args for the "SetWarnDisconnectDelay" action. +type SetWarnDisconnectDelayRequest struct{ + NewWarnDisconnectDelay pkg2.UI4 +} + +// SetWarnDisconnectDelayResponse contains the "out" args for the "SetWarnDisconnectDelay" action. +type SetWarnDisconnectDelayResponse struct{}