public final class MembershipsDurationAtLevel extends 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 v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MembershipsDurationAtLevel() |
| Modifier and Type | Method and Description |
|---|---|
MembershipsDurationAtLevel |
clone() |
String |
getLevel()
Pricing level ID.
|
String |
getMemberSince()
The date and time when the user became a continuous member for the given level.
|
Integer |
getMemberTotalDurationMonths()
The cumulative time the user has been a member for the given level in complete months (the time
is rounded down to the nearest integer).
|
MembershipsDurationAtLevel |
set(String fieldName,
Object value) |
MembershipsDurationAtLevel |
setLevel(String level)
Pricing level ID.
|
MembershipsDurationAtLevel |
setMemberSince(String memberSince)
The date and time when the user became a continuous member for the given level.
|
MembershipsDurationAtLevel |
setMemberTotalDurationMonths(Integer memberTotalDurationMonths)
The cumulative time the user has been a member for the given level in complete months (the time
is rounded down to the nearest integer).
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getLevel()
null for nonepublic MembershipsDurationAtLevel setLevel(String level)
level - level or null for nonepublic String getMemberSince()
null for nonepublic MembershipsDurationAtLevel setMemberSince(String memberSince)
memberSince - memberSince or null for nonepublic Integer getMemberTotalDurationMonths()
null for nonepublic MembershipsDurationAtLevel setMemberTotalDurationMonths(Integer memberTotalDurationMonths)
memberTotalDurationMonths - memberTotalDurationMonths or null for nonepublic MembershipsDurationAtLevel set(String fieldName, Object value)
set in class GenericJsonpublic MembershipsDurationAtLevel clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.