Phone Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. Phone
- com.
public class Phone
Phone Property details.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
countryCode()
Get the countryCode value. |
Integer |
index()
Get the index value. |
String |
text()
Get the text value. |
Phone |
withCountryCode(String countryCode)
Set the countryCode value. |
Phone |
withIndex(Integer index)
Set the index value. |
Phone |
withText(String text)
Set the text value. |
Method Details
countryCode
public String countryCode()
Get the countryCode value.
Returns:
index
public Integer index()
Get the index value.
Returns:
text
public String text()
Get the text value.
Returns:
withCountryCode
public Phone withCountryCode(String countryCode)
Set the countryCode value.
Parameters:
Returns:
withIndex
public Phone withIndex(Integer index)
Set the index value.
Parameters:
Returns:
withText
public Phone withText(String text)
Set the text value.
Parameters:
Returns:
Applies to
Azure SDK for Java