public class TemplateCreateRequest.Params extends TemplateObject
| 构造器和说明 |
|---|
Params() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addGroupId(java.lang.Integer id) |
void |
addHostId(java.lang.Integer id) |
void |
addMacroId(java.lang.String macro,
java.lang.String value) |
void |
addTemplateId(java.lang.Integer id) |
java.util.List<HostgroupObject> |
getGroups()
Gets groups.
|
java.util.List<HostObject> |
getHosts()
Gets hosts.
|
java.util.List<Macro> |
getMacros()
Gets macros.
|
java.util.List<TemplateObject> |
getTemplates()
Gets templates.
|
void |
setGroups(java.util.List<HostgroupObject> groups)
Sets new groups.
|
void |
setHosts(java.util.List<HostObject> hosts)
Sets new hosts.
|
void |
setMacros(java.util.List<Macro> macros)
Sets new macros.
|
void |
setTemplates(java.util.List<TemplateObject> templates)
Sets new templates.
|
getHost, getName, getTemplateid, setHost, setName, setTemplateidpublic void addGroupId(java.lang.Integer id)
public void addTemplateId(java.lang.Integer id)
public void addMacroId(java.lang.String macro,
java.lang.String value)
public void addHostId(java.lang.Integer id)
public java.util.List<HostObject> getHosts()
public void setHosts(java.util.List<HostObject> hosts)
hosts - New value of hosts.public java.util.List<TemplateObject> getTemplates()
public void setTemplates(java.util.List<TemplateObject> templates)
templates - New value of templates.public java.util.List<HostgroupObject> getGroups()
public void setGroups(java.util.List<HostgroupObject> groups)
groups - New value of groups.public java.util.List<Macro> getMacros()
public void setMacros(java.util.List<Macro> macros)
macros - New value of macros.