Package net.webpdf.wsclient.openapi
Class AdminServerVersionInfo
- java.lang.Object
-
- net.webpdf.wsclient.openapi.AdminServerVersionInfo
-
public class AdminServerVersionInfo extends Object
Provides the server´s license and version information
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_LICENSE_TEXTstatic StringJSON_PROPERTY_MAIN_VERSIONstatic StringJSON_PROPERTY_MINOR_VERSIONstatic StringJSON_PROPERTY_SERVER_STARTstatic StringJSON_PROPERTY_SERVER_VERSION
-
Constructor Summary
Constructors Constructor Description AdminServerVersionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable StringgetLicenseText()A string summarizing the server´s current license.@Nullable IntegergetMainVersion()The numeric major version of the server.@Nullable IntegergetMinorVersion()The numeric minor version of the server.@Nullable LonggetServerStart()The server start data and time (UTC) as Epoch Unix Timestamp@Nullable StringgetServerVersion()A formatted string containing the server´s name and version.inthashCode()AdminServerVersionInfolicenseText(String licenseText)AdminServerVersionInfomainVersion(Integer mainVersion)AdminServerVersionInfominorVersion(Integer minorVersion)AdminServerVersionInfoserverStart(Long serverStart)AdminServerVersionInfoserverVersion(String serverVersion)voidsetLicenseText(String licenseText)voidsetMainVersion(Integer mainVersion)voidsetMinorVersion(Integer minorVersion)voidsetServerStart(Long serverStart)voidsetServerVersion(String serverVersion)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LICENSE_TEXT
public static final String JSON_PROPERTY_LICENSE_TEXT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAIN_VERSION
public static final String JSON_PROPERTY_MAIN_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MINOR_VERSION
public static final String JSON_PROPERTY_MINOR_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVER_START
public static final String JSON_PROPERTY_SERVER_START
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVER_VERSION
public static final String JSON_PROPERTY_SERVER_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
licenseText
public AdminServerVersionInfo licenseText(String licenseText)
-
getLicenseText
@Nullable public @Nullable String getLicenseText()
A string summarizing the server´s current license.- Returns:
- licenseText
-
setLicenseText
public void setLicenseText(String licenseText)
-
mainVersion
public AdminServerVersionInfo mainVersion(Integer mainVersion)
-
getMainVersion
@Nullable public @Nullable Integer getMainVersion()
The numeric major version of the server.- Returns:
- mainVersion
-
setMainVersion
public void setMainVersion(Integer mainVersion)
-
minorVersion
public AdminServerVersionInfo minorVersion(Integer minorVersion)
-
getMinorVersion
@Nullable public @Nullable Integer getMinorVersion()
The numeric minor version of the server.- Returns:
- minorVersion
-
setMinorVersion
public void setMinorVersion(Integer minorVersion)
-
serverStart
public AdminServerVersionInfo serverStart(Long serverStart)
-
getServerStart
@Nullable public @Nullable Long getServerStart()
The server start data and time (UTC) as Epoch Unix Timestamp- Returns:
- serverStart
-
setServerStart
public void setServerStart(Long serverStart)
-
serverVersion
public AdminServerVersionInfo serverVersion(String serverVersion)
-
getServerVersion
@Nullable public @Nullable String getServerVersion()
A formatted string containing the server´s name and version.- Returns:
- serverVersion
-
setServerVersion
public void setServerVersion(String serverVersion)
-
-