public class TrunkGroupDeviceMultipleContactEndpointAdd extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String[] |
contact |
protected String |
linePort |
protected String |
name |
Constructor and Description |
---|
TrunkGroupDeviceMultipleContactEndpointAdd()
Serializable Constructor
|
TrunkGroupDeviceMultipleContactEndpointAdd(String name,
String linePort) |
Modifier and Type | Method and Description |
---|---|
static Element |
formRequest(Request<?> request,
TrunkGroupDeviceMultipleContactEndpointAdd datatype,
String elementName)
Appends this DataType to the given Request
|
static TrunkGroupDeviceMultipleContactEndpointAdd[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type TrunkGroupDeviceMultipleContactEndpointAdd by parsing the XML node.
|
String[] |
getContact() |
static TrunkGroupDeviceMultipleContactEndpointAdd |
getFromNode(Node node)
Retrieves an elements of type TrunkGroupDeviceMultipleContactEndpointAdd by parsing an XML node.
|
String |
getLinePort() |
String |
getName() |
TrunkGroupDeviceMultipleContactEndpointAdd |
setContact(String... contact) |
TrunkGroupDeviceMultipleContactEndpointAdd |
setLinePort(String linePort) |
TrunkGroupDeviceMultipleContactEndpointAdd |
setName(String name) |
@Size(min=1, max=30) protected String name
@Pattern(regexp="[a-zA-Z0-9._!~*\'()+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}") @Size(min=1, max=161) protected String linePort
@Size(min=1, max=1020) protected String[] contact
public TrunkGroupDeviceMultipleContactEndpointAdd(String name, String linePort)
public TrunkGroupDeviceMultipleContactEndpointAdd()
public String getName()
public TrunkGroupDeviceMultipleContactEndpointAdd setName(String name)
public String getLinePort()
public TrunkGroupDeviceMultipleContactEndpointAdd setLinePort(String linePort)
public String[] getContact()
public TrunkGroupDeviceMultipleContactEndpointAdd setContact(String... contact)
@GwtIncompatible public static Element formRequest(Request<?> request, TrunkGroupDeviceMultipleContactEndpointAdd datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static TrunkGroupDeviceMultipleContactEndpointAdd getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static TrunkGroupDeviceMultipleContactEndpointAdd[] getArrayFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.Copyright © 2016 ECG. All rights reserved.