TelephonyPhoneNumbers Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. TelephonyPhoneNumbers
- com.
Implements
public final class TelephonyPhoneNumbers
implements JsonSerializable<TelephonyPhoneNumbers>
A telephone number for the Telephony channel.
Constructor Summary
| Constructor | Description |
|---|---|
| TelephonyPhoneNumbers() |
Creates an instance of Telephony |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
acsEndpoint()
Get the acs |
| String |
acsResourceId()
Get the acs |
| String |
acsSecret()
Get the acs |
| String |
cognitiveServiceRegion()
Get the cognitive |
| String |
cognitiveServiceResourceId()
Get the cognitive |
| String |
cognitiveServiceSubscriptionKey()
Get the cognitive |
| String |
defaultLocale()
Get the default |
|
static
Telephony |
fromJson(JsonReader jsonReader)
Reads an instance of Telephony |
| String |
id()
Get the id property: The element id. |
| String |
offerType()
Get the offer |
| String |
phoneNumber()
Get the phone |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Telephony |
withAcsEndpoint(String acsEndpoint)
Set the acs |
|
Telephony |
withAcsResourceId(String acsResourceId)
Set the acs |
|
Telephony |
withAcsSecret(String acsSecret)
Set the acs |
|
Telephony |
withCognitiveServiceRegion(String cognitiveServiceRegion)
Set the cognitive |
|
Telephony |
withCognitiveServiceResourceId(String cognitiveServiceResourceId)
Set the cognitive |
|
Telephony |
withCognitiveServiceSubscriptionKey(String cognitiveServiceSubscriptionKey)
Set the cognitive |
|
Telephony |
withDefaultLocale(String defaultLocale)
Set the default |
|
Telephony |
withId(String id)
Set the id property: The element id. |
|
Telephony |
withOfferType(String offerType)
Set the offer |
|
Telephony |
withPhoneNumber(String phoneNumber)
Set the phone |
Methods inherited from java.lang.Object
Constructor Details
TelephonyPhoneNumbers
public TelephonyPhoneNumbers()
Creates an instance of TelephonyPhoneNumbers class.
Method Details
acsEndpoint
public String acsEndpoint()
Get the acsEndpoint property: The endpoint of ACS.
Returns:
acsResourceId
public String acsResourceId()
Get the acsResourceId property: The resource id of ACS.
Returns:
acsSecret
public String acsSecret()
Get the acsSecret property: The secret of ACS.
Returns:
cognitiveServiceRegion
public String cognitiveServiceRegion()
Get the cognitiveServiceRegion property: The service region of cognitive service.
Returns:
cognitiveServiceResourceId
public String cognitiveServiceResourceId()
Get the cognitiveServiceResourceId property: The resource id of cognitive service.
Returns:
cognitiveServiceSubscriptionKey
public String cognitiveServiceSubscriptionKey()
Get the cognitiveServiceSubscriptionKey property: The subscription key of cognitive service.
Returns:
defaultLocale
public String defaultLocale()
Get the defaultLocale property: The default locale of the phone number.
Returns:
fromJson
public static TelephonyPhoneNumbers fromJson(JsonReader jsonReader)
Reads an instance of TelephonyPhoneNumbers from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The element id.
Returns:
offerType
public String offerType()
Get the offerType property: Optional Property that will determine the offering type of the phone.
Returns:
phoneNumber
public String phoneNumber()
Get the phoneNumber property: The phone number.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAcsEndpoint
public TelephonyPhoneNumbers withAcsEndpoint(String acsEndpoint)
Set the acsEndpoint property: The endpoint of ACS.
Parameters:
Returns:
withAcsResourceId
public TelephonyPhoneNumbers withAcsResourceId(String acsResourceId)
Set the acsResourceId property: The resource id of ACS.
Parameters:
Returns:
withAcsSecret
public TelephonyPhoneNumbers withAcsSecret(String acsSecret)
Set the acsSecret property: The secret of ACS.
Parameters:
Returns:
withCognitiveServiceRegion
public TelephonyPhoneNumbers withCognitiveServiceRegion(String cognitiveServiceRegion)
Set the cognitiveServiceRegion property: The service region of cognitive service.
Parameters:
Returns:
withCognitiveServiceResourceId
public TelephonyPhoneNumbers withCognitiveServiceResourceId(String cognitiveServiceResourceId)
Set the cognitiveServiceResourceId property: The resource id of cognitive service.
Parameters:
Returns:
withCognitiveServiceSubscriptionKey
public TelephonyPhoneNumbers withCognitiveServiceSubscriptionKey(String cognitiveServiceSubscriptionKey)
Set the cognitiveServiceSubscriptionKey property: The subscription key of cognitive service.
Parameters:
Returns:
withDefaultLocale
public TelephonyPhoneNumbers withDefaultLocale(String defaultLocale)
Set the defaultLocale property: The default locale of the phone number.
Parameters:
Returns:
withId
public TelephonyPhoneNumbers withId(String id)
Set the id property: The element id.
Parameters:
Returns:
withOfferType
public TelephonyPhoneNumbers withOfferType(String offerType)
Set the offerType property: Optional Property that will determine the offering type of the phone.
Parameters:
Returns:
withPhoneNumber
public TelephonyPhoneNumbers withPhoneNumber(String phoneNumber)
Set the phoneNumber property: The phone number.
Parameters:
Returns: