Public Member Functions | |
int | describeContents () |
PropertyValue (Boolean canhibernate, Boolean canreboot, Boolean canshutdown, Boolean cansuspend) | |
PropertyValue (JsonNode node) | |
JsonNode | toJsonNode () |
void | writeToParcel (Parcel parcel, int flags) |
Public Attributes | |
final Boolean | canhibernate |
final Boolean | canreboot |
final Boolean | canshutdown |
final Boolean | cansuspend |
Static Public Attributes | |
static final String | API_TYPE = "System.Property.Value" |
static final String | CANHIBERNATE = "canhibernate" |
static final String | CANREBOOT = "canreboot" |
static final String | CANSHUTDOWN = "canshutdown" |
static final String | CANSUSPEND = "cansuspend" |
static final Parcelable.Creator < PropertyValue > | CREATOR |
Protected Member Functions | |
PropertyValue (Parcel parcel) | |
Static Package Functions | |
static List< PropertyValue > | getSystemModelPropertyValueList (JsonNode node, String key) |
API Name: System.Property.Value
Note: This class is used as result only.
This class was generated automatically from XBMC's JSON-RPC introspect.
Definition at line 43 of file SystemModel.java.
org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.PropertyValue | ( | Boolean | canhibernate, |
Boolean | canreboot, | ||
Boolean | canshutdown, | ||
Boolean | cansuspend | ||
) | [inline] |
canhibernate | |
canreboot | |
canshutdown | |
cansuspend |
Definition at line 64 of file SystemModel.java.
org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.PropertyValue | ( | JsonNode | node | ) | [inline] |
Construct from JSON object.
node | JSON object representing a PropertyValue object |
Definition at line 75 of file SystemModel.java.
org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.PropertyValue | ( | Parcel | parcel | ) | [inline, protected] |
Construct via parcel.
Definition at line 125 of file SystemModel.java.
Implements android.os.Parcelable.
Definition at line 147 of file SystemModel.java.
static List<PropertyValue> org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.getSystemModelPropertyValueList | ( | JsonNode | node, |
String | key | ||
) | [inline, static, package] |
Extracts a list of PropertyValue objects from a JSON array.
node | ObjectNode containing the list of objects. |
key | Key pointing to the node where the list is stored. |
Definition at line 97 of file SystemModel.java.
JsonNode org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.toJsonNode | ( | ) | [inline, virtual] |
Returns a JSON-serialized version of this object.
Implements org.xbmc.android.jsonrpc.api.JsonSerializable.
Definition at line 83 of file SystemModel.java.
void org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.writeToParcel | ( | Parcel | parcel, |
int | flags | ||
) | [inline] |
Flatten this object into a Parcel.
parcel | the Parcel in which the object should be written. |
flags | additional flags about how the object should be written. |
Implements android.os.Parcelable.
Definition at line 115 of file SystemModel.java.
final String org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.API_TYPE = "System.Property.Value" [static] |
Definition at line 44 of file SystemModel.java.
final String org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.CANHIBERNATE = "canhibernate" [static] |
Definition at line 47 of file SystemModel.java.
Definition at line 53 of file SystemModel.java.
final String org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.CANREBOOT = "canreboot" [static] |
Definition at line 48 of file SystemModel.java.
Definition at line 54 of file SystemModel.java.
final String org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.CANSHUTDOWN = "canshutdown" [static] |
Definition at line 49 of file SystemModel.java.
Definition at line 55 of file SystemModel.java.
final String org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.CANSUSPEND = "cansuspend" [static] |
Definition at line 50 of file SystemModel.java.
Definition at line 56 of file SystemModel.java.
final Parcelable.Creator<PropertyValue> org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.CREATOR [static] |
new Parcelable.Creator<PropertyValue>() { @Override public PropertyValue createFromParcel(Parcel parcel) { return new PropertyValue(parcel); } @Override public PropertyValue[] newArray(int n) { return new PropertyValue[n]; } }
Generates instances of this Parcelable class from a Parcel.
Definition at line 135 of file SystemModel.java.