blob: 04697a5473ec8dc4cf6ca56f3c402643e2293fcb [file] [edit]
// Code generated by cdpgen. DO NOT EDIT.
package tethering
// BindArgs represents the arguments for Bind in the Tethering domain.
type BindArgs struct {
Port int `json:"port"` // Port number to bind.
}
// NewBindArgs initializes BindArgs with the required arguments.
func NewBindArgs(port int) *BindArgs {
args := new(BindArgs)
args.Port = port
return args
}
// UnbindArgs represents the arguments for Unbind in the Tethering domain.
type UnbindArgs struct {
Port int `json:"port"` // Port number to unbind.
}
// NewUnbindArgs initializes UnbindArgs with the required arguments.
func NewUnbindArgs(port int) *UnbindArgs {
args := new(UnbindArgs)
args.Port = port
return args
}