All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.cloudchannel.v1.model.GoogleCloudChannelV1ReportValue Maven / Gradle / Ivy

There is a newer version: v1-rev20241202-2.0.0
Show newest version
/*
 * 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/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.cloudchannel.v1.model;

/**
 * A single report value.
 *
 * 

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 Cloud Channel 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 GoogleCloudChannelV1ReportValue extends com.google.api.client.json.GenericJson { /** * A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset * or timezone.) * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleTypeDateTime dateTimeValue; /** * A value of type `google.type.Date` (year, month, day). * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleTypeDate dateValue; /** * A value of type `google.type.Decimal`, representing non-integer numeric values. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleTypeDecimal decimalValue; /** * A value of type `int`. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long intValue; /** * A value of type `google.type.Money` (currency code, whole units, decimal units). * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleTypeMoney moneyValue; /** * A value of type `string`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String stringValue; /** * A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset * or timezone.) * @return value or {@code null} for none */ public GoogleTypeDateTime getDateTimeValue() { return dateTimeValue; } /** * A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset * or timezone.) * @param dateTimeValue dateTimeValue or {@code null} for none */ public GoogleCloudChannelV1ReportValue setDateTimeValue(GoogleTypeDateTime dateTimeValue) { this.dateTimeValue = dateTimeValue; return this; } /** * A value of type `google.type.Date` (year, month, day). * @return value or {@code null} for none */ public GoogleTypeDate getDateValue() { return dateValue; } /** * A value of type `google.type.Date` (year, month, day). * @param dateValue dateValue or {@code null} for none */ public GoogleCloudChannelV1ReportValue setDateValue(GoogleTypeDate dateValue) { this.dateValue = dateValue; return this; } /** * A value of type `google.type.Decimal`, representing non-integer numeric values. * @return value or {@code null} for none */ public GoogleTypeDecimal getDecimalValue() { return decimalValue; } /** * A value of type `google.type.Decimal`, representing non-integer numeric values. * @param decimalValue decimalValue or {@code null} for none */ public GoogleCloudChannelV1ReportValue setDecimalValue(GoogleTypeDecimal decimalValue) { this.decimalValue = decimalValue; return this; } /** * A value of type `int`. * @return value or {@code null} for none */ public java.lang.Long getIntValue() { return intValue; } /** * A value of type `int`. * @param intValue intValue or {@code null} for none */ public GoogleCloudChannelV1ReportValue setIntValue(java.lang.Long intValue) { this.intValue = intValue; return this; } /** * A value of type `google.type.Money` (currency code, whole units, decimal units). * @return value or {@code null} for none */ public GoogleTypeMoney getMoneyValue() { return moneyValue; } /** * A value of type `google.type.Money` (currency code, whole units, decimal units). * @param moneyValue moneyValue or {@code null} for none */ public GoogleCloudChannelV1ReportValue setMoneyValue(GoogleTypeMoney moneyValue) { this.moneyValue = moneyValue; return this; } /** * A value of type `string`. * @return value or {@code null} for none */ public java.lang.String getStringValue() { return stringValue; } /** * A value of type `string`. * @param stringValue stringValue or {@code null} for none */ public GoogleCloudChannelV1ReportValue setStringValue(java.lang.String stringValue) { this.stringValue = stringValue; return this; } @Override public GoogleCloudChannelV1ReportValue set(String fieldName, Object value) { return (GoogleCloudChannelV1ReportValue) super.set(fieldName, value); } @Override public GoogleCloudChannelV1ReportValue clone() { return (GoogleCloudChannelV1ReportValue) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy