public class AlertEmailRecipients
extends Base
The schema that defines the AlertEmailRecipients resource is defined below.
<xs:element name="AlertEmailRecipients">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0">
<xs:annotation>
<xs:documentation>Total number of alert email recipients</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="AlertEmailRecipient" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AlertEmailRecipient">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string">
<xs:annotation>
<xs:documentation>This is the unique key</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Address" type="xs:string"/>
<xs:element name="NotificationType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="HIGH"/>
<xs:enumeration value="HIGH_AND_MEDIUM"/>
<xs:enumeration value="ALL"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Enabled" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="AlertEmailRecipientColumnNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="Name"/>
<xs:enumeration value="Address"/>
<xs:enumeration value="NotificationType"/>
<xs:enumeration value="Enabled"/>
</xs:restriction>
</xs:simpleType>
| Constructor and Description |
|---|
AlertEmailRecipients() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addAlertEmailRecipient(javax.servlet.http.HttpServletRequest request,
AlertEmailRecipient alertEmailRecipient,
java.lang.String errorType)
POST /rest/AlertEmailRecipients
|
void |
deleteAlertEmailRecipient(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String errorType)
DELETE /rest/AlertEmailRecipients/{name}
|
AlertEmailRecipient |
getAlertEmailRecipient(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String errorType)
GET /rest/AlertEmailRecipients/{name}
|
com.quantum.dxi.dao.types.AlertEmailRecipients |
getAlertEmailRecipients(javax.servlet.http.HttpServletRequest request,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/AlertEmailRecipients
|
NumericScalarType |
getAlertEmailRecipientsCount(javax.servlet.http.HttpServletRequest request,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/AlertEmailRecipients/getRowCount
|
StringListScalarType |
getAlertEmailRecipientsNames(javax.servlet.http.HttpServletRequest request,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/AlertEmailRecipients/getNames
|
javax.ws.rs.core.Response |
sendTestEmail(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
POST /rest/AlertEmailRecipients/test/{name}
|
AlertEmailRecipient |
updateAlertEmailRecipient(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
AlertEmailRecipient alertEmailRecipient,
java.lang.String errorType)
PUT /rest/AlertEmailRecipients/{name}
|
public NumericScalarType getAlertEmailRecipientsCount(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String filterString,
java.lang.String errorType)
Get the number of AlertEmailRecipients configured on the system.
getAlertEmailRecipientsCount supports the table query parameters for filtering by column name.
Column names are defined in <xs:element name="AlertEmailRecipientColumnName">
Response Entity type: <xs:element name="NumericScalarType">
public StringListScalarType getAlertEmailRecipientsNames(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String filterString,
java.lang.String errorType)
Get the names of AlertEmailRecipients configured on the system.
getAlertEmailRecipientsNames supports the table query parameters for filtering by column name.
Column names are defined in <xs:element name="AlertEmailRecipientColumnName">
Response Entity type: <xs:element name="StringListScalarType">
public com.quantum.dxi.dao.types.AlertEmailRecipients getAlertEmailRecipients(@Context
javax.servlet.http.HttpServletRequest request,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString,
java.lang.String errorType)
Get the AlertEmailRecipients configured on the system.
Response Entity type: <xs:element name="AlertEmailRecipients">
<xs:element name="AlertEmailRecipients"> supports the table query parameters.
Column names for sorting and filtering are defined in <xs:element name="AlertEmailRecipientColumnName">
public AlertEmailRecipient getAlertEmailRecipient(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String errorType)
Get the AlertEmailRecipient on the system identified by {name}.
Response Entity type: <xs:element name="AlertEmailRecipient">
public void deleteAlertEmailRecipient(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String errorType)
Delete the AlertEmailRecipient on the system identified by {name}.
public AlertEmailRecipient updateAlertEmailRecipient(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String name,
AlertEmailRecipient alertEmailRecipient,
java.lang.String errorType)
Update the AlertEmailRecipient on the system identified by {name}.
Request Entity type: <xs:element name="AlertEmailRecipient">
Response Entity type: <xs:element name="AlertEmailRecipient">
public javax.ws.rs.core.Response addAlertEmailRecipient(@Context
javax.servlet.http.HttpServletRequest request,
AlertEmailRecipient alertEmailRecipient,
java.lang.String errorType)
Create a new AlertEmailRecipient on the system.
Request Entity type: <xs:element name="AlertEmailRecipient">
Response Entity type: <xs:element name="AlertEmailRecipient">
public javax.ws.rs.core.Response sendTestEmail(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Send a test email to an alert recipient. Note that {name} refers to an AlertEmailRecipient's name,
not an email address.
Copyright © 2011-2023 Quantum Corporation. All Rights Reserved.