BodyMetadata Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. BodyMetadata
- com.
public class BodyMetadata
Metadata of the list.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
keyOne()
Get the keyOne value. |
String |
keyTwo()
Get the keyTwo value. |
Body |
withKeyOne(String keyOne)
Set the keyOne value. |
Body |
withKeyTwo(String keyTwo)
Set the keyTwo value. |
Method Details
keyOne
public String keyOne()
Get the keyOne value.
Returns:
the keyOne value
keyTwo
public String keyTwo()
Get the keyTwo value.
Returns:
the keyTwo value
withKeyOne
public BodyMetadata withKeyOne(String keyOne)
Set the keyOne value.
Parameters:
keyOne
- the keyOne value to set
Returns:
the BodyMetadata object itself.
withKeyTwo
public BodyMetadata withKeyTwo(String keyTwo)
Set the keyTwo value.
Parameters:
keyTwo
- the keyTwo value to set
Returns:
the BodyMetadata object itself.