Class ContentType
- java.lang.Object
-
- aero.panasonic.inflight.services.contentdiscovery.v1.data.ContentType
-
public class ContentType extends java.lang.ObjectThis class is ContentType model class. Each ContentType consists of the type and number of items (count).
The type is the string defined byContentType.Type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContentType.TypeA namespaced string that describes the type of content.
-
Constructor Summary
Constructors Constructor Description ContentType(JSONObject jsonObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetCount()Number of items listed under the content type.java.lang.StringgetType()A namespaced string that describes the type of content, such as movie, audio and tv series.java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
A namespaced string that describes the type of content, such as movie, audio and tv series. Example: media.video.movie
The content type is defined by the airline.
-
getCount
public java.lang.Integer getCount()
Number of items listed under the content type. Example: type: "media.video.movie" item count: "10"
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-