public final class MembershipsDuration
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
MembershipsDuration() |
| Modifier and Type | Method and Description |
|---|---|
MembershipsDuration |
clone() |
java.lang.String |
getMemberSince()
The date and time when the user became a continuous member across all levels.
|
java.lang.Integer |
getMemberTotalDurationMonths()
The cumulative time the user has been a member across all levels in complete months (the time
is rounded down to the nearest integer).
|
MembershipsDuration |
set(java.lang.String fieldName,
java.lang.Object value) |
MembershipsDuration |
setMemberSince(java.lang.String memberSince)
The date and time when the user became a continuous member across all levels.
|
MembershipsDuration |
setMemberTotalDurationMonths(java.lang.Integer memberTotalDurationMonths)
The cumulative time the user has been a member across all levels in complete months (the time
is rounded down to the nearest integer).
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getMemberSince()
null for nonepublic MembershipsDuration setMemberSince(java.lang.String memberSince)
memberSince - memberSince or null for nonepublic java.lang.Integer getMemberTotalDurationMonths()
null for nonepublic MembershipsDuration setMemberTotalDurationMonths(java.lang.Integer memberTotalDurationMonths)
memberTotalDurationMonths - memberTotalDurationMonths or null for nonepublic MembershipsDuration set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic MembershipsDuration clone()
clone in class com.google.api.client.json.GenericJson