NameAndUserDataContract Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.faceapi.models.NameAndUserDataContract

public class NameAndUserDataContract

A combination of user defined name and user specified data for the person, personGroup, and faceList.

Method Summary

Modifier and Type Method and Description
String name()

Get the name value.

String userData()

Get the userData value.

NameAndUserDataContract withName(String name)

Set the name value.

NameAndUserDataContract withUserData(String userData)

Set the userData value.

Method Details

name

public String name()

Get the name value.

Returns:

the name value

userData

public String userData()

Get the userData value.

Returns:

the userData value

withName

public NameAndUserDataContract withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the NameAndUserDataContract object itself.

withUserData

public NameAndUserDataContract withUserData(String userData)

Set the userData value.

Parameters:

userData - the userData value to set

Returns:

the NameAndUserDataContract object itself.

Applies to