Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Package Functions
org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue Class Reference
Inheritance diagram for org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue:
Inheritance graph
[legend]

List of all members.

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< PropertyValuegetSystemModelPropertyValueList (JsonNode node, String key)

Detailed Description

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.


Constructor & Destructor Documentation

org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.PropertyValue ( Boolean  canhibernate,
Boolean  canreboot,
Boolean  canshutdown,
Boolean  cansuspend 
) [inline]
Parameters:
canhibernate
canreboot
canshutdown
cansuspend

Definition at line 64 of file SystemModel.java.

Construct from JSON object.

Parameters:
nodeJSON object representing a PropertyValue object

Definition at line 75 of file SystemModel.java.

Construct via parcel.

Definition at line 125 of file SystemModel.java.


Member Function Documentation

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.

Parameters:
nodeObjectNode containing the list of objects.
keyKey pointing to the node where the list is stored.

Definition at line 97 of file SystemModel.java.

Returns a JSON-serialized version of this object.

Returns:
Deserialized Json Node

Implements org.xbmc.android.jsonrpc.api.JsonSerializable.

Definition at line 83 of file SystemModel.java.

Flatten this object into a Parcel.

Parameters:
parcelthe Parcel in which the object should be written.
flagsadditional flags about how the object should be written.

Implements android.os.Parcelable.

Definition at line 115 of file SystemModel.java.


Member Data Documentation

final String org.xbmc.android.jsonrpc.api.model.SystemModel.PropertyValue.API_TYPE = "System.Property.Value" [static]

Definition at line 44 of file SystemModel.java.

Definition at line 47 of file SystemModel.java.

Definition at line 53 of file SystemModel.java.

Definition at line 48 of file SystemModel.java.

Definition at line 54 of file SystemModel.java.

Definition at line 49 of file SystemModel.java.

Definition at line 55 of file SystemModel.java.

Definition at line 50 of file SystemModel.java.

Definition at line 56 of file SystemModel.java.

Initial value:
 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.


The documentation for this class was generated from the following file:


smarthome_media_kodi_driver
Author(s): Mickael Gaillard , Erwan Le Huitouze
autogenerated on Thu Jun 6 2019 21:03:51