public final class LiveChatMembershipGiftingDetails 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LiveChatMembershipGiftingDetails() |
Modifier and Type | Method and Description |
---|---|
LiveChatMembershipGiftingDetails |
clone() |
Integer |
getGiftMembershipsCount()
The number of gift memberships purchased by the user.
|
String |
getGiftMembershipsLevelName()
The name of the level of the gift memberships purchased by the user.
|
LiveChatMembershipGiftingDetails |
set(String fieldName,
Object value) |
LiveChatMembershipGiftingDetails |
setGiftMembershipsCount(Integer giftMembershipsCount)
The number of gift memberships purchased by the user.
|
LiveChatMembershipGiftingDetails |
setGiftMembershipsLevelName(String giftMembershipsLevelName)
The name of the level of the gift memberships purchased by the user.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Integer getGiftMembershipsCount()
null
for nonepublic LiveChatMembershipGiftingDetails setGiftMembershipsCount(Integer giftMembershipsCount)
giftMembershipsCount
- giftMembershipsCount or null
for nonepublic String getGiftMembershipsLevelName()
null
for nonepublic LiveChatMembershipGiftingDetails setGiftMembershipsLevelName(String giftMembershipsLevelName)
giftMembershipsLevelName
- giftMembershipsLevelName or null
for nonepublic LiveChatMembershipGiftingDetails set(String fieldName, Object value)
set
in class GenericJson
public LiveChatMembershipGiftingDetails clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.