public class Licenses
extends Base
The schema that defines the Licenses resource is defined below.
<xs:element name="License">
<xs:complexType>
<xs:sequence>
<xs:element name="Id" type="xs:int"/>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Installed" type="xs:boolean"/>
<xs:element name="DateInstalled" type="xs:long" minOccurs="0"/>
<xs:element name="ShortDescription" type="xs:string"/>
<xs:element name="DetailedDescription" type="xs:string"/>
<xs:element name="Dependencies" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Licenses">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0"/>
<xs:element ref="License" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="LicenseColumnNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="Id"/>
<xs:enumeration value="Name"/>
<xs:enumeration value="Installed"/>
<xs:enumeration value="DateInstalled"/>
<xs:enumeration value="ShortDescription"/>
<xs:enumeration value="DetailedDescription"/>
<xs:enumeration value="Dependencies"/>
</xs:restriction>
</xs:simpleType>
Modifier and Type | Field and Description |
---|---|
static int |
CAPACITY |
static int |
DEDUP |
static int |
DISK_ENCRYPTION |
static int |
INTEGRATED_PTT |
static int |
NAS |
static int |
OST |
static int |
PTT |
static int |
REP |
static int |
VISION |
static int |
VISION_FOR_SERVICE |
static int |
VTL |
Constructor and Description |
---|
Licenses() |
Modifier and Type | Method and Description |
---|---|
StringScalarType |
addLicense(javax.servlet.http.HttpServletRequest request,
StringScalarType licenseKey,
java.lang.String errorType)
PUT /rest/Licenses
|
License |
getLicense(javax.servlet.http.HttpServletRequest request,
int licenseId,
java.lang.String errorType)
GET /rest/Licenses/{id}
|
java.lang.Object |
getLicenses(javax.servlet.http.HttpServletRequest request,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String actionString,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/Licenses
|
NumericScalarType |
getLicensesCount(javax.servlet.http.HttpServletRequest request,
int start,
int limit,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/Licenses/getRowCount
|
public static int VTL
public static int NAS
public static int INTEGRATED_PTT
public static int PTT
public static int DEDUP
public static int REP
public static int CAPACITY
public static int OST
public static int VISION
public static int VISION_FOR_SERVICE
public static int DISK_ENCRYPTION
public NumericScalarType getLicensesCount(@Context javax.servlet.http.HttpServletRequest request, int start, int limit, java.lang.String filterString, java.lang.String errorType)
Get the number of licenses on the system.
getLicensesCount
supports the table query parameters for filtering by column name.
Column names are defined in <xs:element name="LicenseColumnName">
Response Entity type: <xs:element name="NumericScalarType">
public java.lang.Object getLicenses(@Context javax.servlet.http.HttpServletRequest request, int start, int limit, java.lang.String sortColumn, java.lang.String sortDirection, @Deprecated java.lang.String actionString, java.lang.String filterString, java.lang.String errorType)
Get the list of licenses on the system.
Response Entity type: <xs:element name="Licenses">
<xs:element name="Licenses">
supports the table query parameters.
Column names for sorting and filtering are defined in <xs:element name="LicenseColumnName">
Deprecated as of 1.1:
The "action" query parameter is deprecated.
?action=getRowCount replaced by getLicensesCount(HttpServletRequest, int, int, String, String)
Response Entity type: <xs:element name="NumericScalarType">
for query parameter ?action=getRowCount
public License getLicense(@Context javax.servlet.http.HttpServletRequest request, int licenseId, java.lang.String errorType)
Get the license from the system identified by {id}
.
Response Entity type: <xs:element name="License">
public StringScalarType addLicense(@Context javax.servlet.http.HttpServletRequest request, StringScalarType licenseKey, java.lang.String errorType)
Installs a license on the system.
Request Entity type: <xs:element name="StringScalarType">
Response Entity type: <xs:element name="StringScalarType">
Since 1.2
Copyright © 2011-2024 Quantum Corporation. All Rights Reserved.