class ExecutionLink: href = "/hcli/cli/__edef" profile = profile.ProfileLink().href + semantic.hcli_execution_type def __init__(self, uid=None, command=None): if uid != None and command != None: self.href = self.href + "/" + uid + "?command=" + urllib.parse.quote(command)
class FinalPostExecutionLink: href = "/hcli/cli/exec/postexecute" profile = profile.ProfileLink().href + semantic.hcli_execution_type def __init__(self, command=None): if command != None: self.href = self.href + "?command=" + command
class OptionLink: href = "/hcli/cli/__odef" profile = profile.ProfileLink().href + semantic.hcli_option_type def __init__(self, uid=None, option=None, href=None): if uid != None and option != None and href != None: self.href = self.href + "/" + uid + "?command=" + urllib.parse.quote( option) + "&href=" + href
class ParameterLink: href = "/hcli/cli/__pdef" profile = profile.ProfileLink().href + semantic.hcli_parameter_type def __init__(self, uid=None, command=None, href=None): if uid != None and command != None and href != None: self.href = self.href + "/" + uid + "?command=" + urllib.parse.quote( command) + "&href=" + href