com.google.api.services.youtube.model.LiveChatFanFundingEventDetails Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/google/apis-client-generator/
* (build: 2017-01-11 18:31:16 UTC)
* on 2017-02-02 at 07:18:31 UTC
* Modify at your own risk.
*/
package com.google.api.services.youtube.model;
/**
* Model definition for LiveChatFanFundingEventDetails.
*
* 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
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class LiveChatFanFundingEventDetails extends com.google.api.client.json.GenericJson {
/**
* A rendered string that displays the fund amount and currency to the user.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String amountDisplayString;
/**
* The amount of the fund.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.math.BigInteger amountMicros;
/**
* The currency in which the fund was made.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String currency;
/**
* The comment added by the user to this fan funding event.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String userComment;
/**
* A rendered string that displays the fund amount and currency to the user.
* @return value or {@code null} for none
*/
public java.lang.String getAmountDisplayString() {
return amountDisplayString;
}
/**
* A rendered string that displays the fund amount and currency to the user.
* @param amountDisplayString amountDisplayString or {@code null} for none
*/
public LiveChatFanFundingEventDetails setAmountDisplayString(java.lang.String amountDisplayString) {
this.amountDisplayString = amountDisplayString;
return this;
}
/**
* The amount of the fund.
* @return value or {@code null} for none
*/
public java.math.BigInteger getAmountMicros() {
return amountMicros;
}
/**
* The amount of the fund.
* @param amountMicros amountMicros or {@code null} for none
*/
public LiveChatFanFundingEventDetails setAmountMicros(java.math.BigInteger amountMicros) {
this.amountMicros = amountMicros;
return this;
}
/**
* The currency in which the fund was made.
* @return value or {@code null} for none
*/
public java.lang.String getCurrency() {
return currency;
}
/**
* The currency in which the fund was made.
* @param currency currency or {@code null} for none
*/
public LiveChatFanFundingEventDetails setCurrency(java.lang.String currency) {
this.currency = currency;
return this;
}
/**
* The comment added by the user to this fan funding event.
* @return value or {@code null} for none
*/
public java.lang.String getUserComment() {
return userComment;
}
/**
* The comment added by the user to this fan funding event.
* @param userComment userComment or {@code null} for none
*/
public LiveChatFanFundingEventDetails setUserComment(java.lang.String userComment) {
this.userComment = userComment;
return this;
}
@Override
public LiveChatFanFundingEventDetails set(String fieldName, Object value) {
return (LiveChatFanFundingEventDetails) super.set(fieldName, value);
}
@Override
public LiveChatFanFundingEventDetails clone() {
return (LiveChatFanFundingEventDetails) super.clone();
}
}