Phone Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.Phone

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:

the countryCode value

index

public Integer index()

Get the index value.

Returns:

the index value

text

public String text()

Get the text value.

Returns:

the text value

withCountryCode

public Phone withCountryCode(String countryCode)

Set the countryCode value.

Parameters:

countryCode - the countryCode value to set

Returns:

the Phone object itself.

withIndex

public Phone withIndex(Integer index)

Set the index value.

Parameters:

index - the index value to set

Returns:

the Phone object itself.

withText

public Phone withText(String text)

Set the text value.

Parameters:

text - the text value to set

Returns:

the Phone object itself.

Applies to