azure-docs-sdk-java/docs-ref-autogen/com.azure.communication.pho...

113 строки
7.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute"
fullName: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute"
name: "SipTrunkRoute"
nameWithType: "SipTrunkRoute"
summary: "Represents a trunk route for routing calls."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **SipTrunkRoute**"
constructors:
- uid: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.SipTrunkRoute(java.lang.String,java.lang.String)"
fullName: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.SipTrunkRoute(String name, String numberPattern)"
name: "SipTrunkRoute(String name, String numberPattern)"
nameWithType: "SipTrunkRoute.SipTrunkRoute(String name, String numberPattern)"
summary: "Constructor with required properties."
parameters:
- description: "the name of the route."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the regex number pattern for routing calls."
name: "numberPattern"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SipTrunkRoute(String name, String numberPattern)"
desc: "Constructor with required properties."
methods:
- uid: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.getDescription()"
fullName: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.getDescription()"
name: "getDescription()"
nameWithType: "SipTrunkRoute.getDescription()"
summary: "Get the description property: Gets or sets description of the route."
syntax: "public String getDescription()"
desc: "Get the description property: Gets or sets description of the route."
returns:
description: "the description value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.getName()"
fullName: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.getName()"
name: "getName()"
nameWithType: "SipTrunkRoute.getName()"
summary: "Get the name property: Gets or sets name of the route."
syntax: "public String getName()"
desc: "Get the name property: Gets or sets name of the route."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.getNumberPattern()"
fullName: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.getNumberPattern()"
name: "getNumberPattern()"
nameWithType: "SipTrunkRoute.getNumberPattern()"
summary: "Get the number<wbr>Pattern property: Gets or sets regex number pattern for routing calls."
syntax: "public String getNumberPattern()"
desc: "Get the numberPattern property: Gets or sets regex number pattern for routing calls. .NET regex format is supported. The regex should match only digits with an optional '+' prefix without spaces. I.e. \"^\\\\+\\[1-9\\]\\[0-9\\]\\{3,23\\}$\"."
returns:
description: "the numberPattern value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.getTrunks()"
fullName: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.getTrunks()"
name: "getTrunks()"
nameWithType: "SipTrunkRoute.getTrunks()"
summary: "Get the trunks property: Gets or sets list of SIP trunks for routing calls."
syntax: "public List<String> getTrunks()"
desc: "Get the trunks property: Gets or sets list of SIP trunks for routing calls. Trunks are represented as FQDN."
returns:
description: "the trunks value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.setDescription(java.lang.String)"
fullName: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.setDescription(String description)"
name: "setDescription(String description)"
nameWithType: "SipTrunkRoute.setDescription(String description)"
summary: "Set the description property: Gets or sets description of the route."
parameters:
- description: "the description value to set."
name: "description"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SipTrunkRoute setDescription(String description)"
desc: "Set the description property: Gets or sets description of the route."
returns:
description: "the SipTrunkRoute object itself."
type: "<xref href=\"com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute?alt=com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute&text=SipTrunkRoute\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.setTrunks(java.util.List<java.lang.String>)"
fullName: "com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute.setTrunks(List<String> trunks)"
name: "setTrunks(List<String> trunks)"
nameWithType: "SipTrunkRoute.setTrunks(List<String> trunks)"
summary: "Set the trunks property: Gets or sets list of SIP trunks for routing calls."
parameters:
- description: "the trunks value to set."
name: "trunks"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public SipTrunkRoute setTrunks(List<String> trunks)"
desc: "Set the trunks property: Gets or sets list of SIP trunks for routing calls. Trunks are represented as FQDN."
returns:
description: "the SipTrunkRoute object itself."
type: "<xref href=\"com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute?alt=com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute&text=SipTrunkRoute\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Represents a trunk route for routing calls."
metadata: {}
package: "com.azure.communication.phonenumbers.siprouting.models"
artifact: com.azure:azure-communication-phonenumbers:1.1.18