public final class PropertyValue
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the YouTube Data API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
PropertyValue() |
Modifier and Type | Method and Description |
---|---|
PropertyValue |
clone() |
java.lang.String |
getProperty()
A property.
|
java.lang.String |
getValue()
The property's value.
|
PropertyValue |
set(java.lang.String fieldName,
java.lang.Object value) |
PropertyValue |
setProperty(java.lang.String property)
A property.
|
PropertyValue |
setValue(java.lang.String value)
The property's value.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getProperty()
null
for nonepublic PropertyValue setProperty(java.lang.String property)
property
- property or null
for nonepublic java.lang.String getValue()
null
for nonepublic PropertyValue setValue(java.lang.String value)
value
- value or null
for nonepublic PropertyValue set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PropertyValue clone()
clone
in class com.google.api.client.json.GenericJson