Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REST_BASE_PATH
'machines' the base path to access entity
|
filterForUpdateMethod
filterForToStringMethod
Constructor and Description |
---|
Machine() |
Machine(java.lang.String name,
java.lang.String ip,
java.lang.String platform) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getId()
The ID of this model in the repository
|
java.lang.String |
getIp() |
java.lang.String |
getName() |
java.lang.String |
getPlatform() |
java.lang.String |
getRestPath()
The base REST path to make request to this model entity.
|
void |
setId(java.lang.Long id) |
void |
setIp(java.lang.String ip) |
void |
setName(java.lang.String name) |
void |
setPlatform(java.lang.String platform) |
getFieldNamesIgnoredByToStringMethod, getFieldNamesIgnoredByUpdateMethod, update
toString
public static final java.lang.String REST_BASE_PATH
public Machine()
public Machine(java.lang.String name, java.lang.String ip, java.lang.String platform)
name
- ip
- platform
- public java.lang.Long getId()
RestModel
public void setId(java.lang.Long id)
id
- the id to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getIp()
public void setIp(java.lang.String ip)
ip
- the ip to setpublic java.lang.String getPlatform()
public void setPlatform(java.lang.String platform)
platform
- the platform to setpublic java.lang.String getRestPath()
RestModel
getRestPath
in interface RestModel
Copyright © SAS Institute. All Rights Reserved.