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

com.google.api.services.orkut.model.OrkutCounterResource 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://code.google.com/p/google-apis-client-generator/
 * (build: 2013-08-01 15:32:38 UTC)
 * on 2013-08-06 at 21:02:08 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.orkut.model;

/**
 * Model definition for OrkutCounterResource.
 *
 * 

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 Orkut API. For a detailed explanation see: * http://code.google.com/p/google-http-java-client/wiki/JSON *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class OrkutCounterResource extends com.google.api.client.json.GenericJson { /** * Link to the collection being counted. * The value may be {@code null}. */ @com.google.api.client.util.Key private OrkutLinkResource link; /** * The name of the counted collection. Currently supported collections are: - scraps - The scraps * of the user. - photos - The photos of the user. - videos - The videos of the user. - * pendingTestimonials - The pending testimonials of the user. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * The number of resources on the counted collection. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer total; /** * Link to the collection being counted. * @return value or {@code null} for none */ public OrkutLinkResource getLink() { return link; } /** * Link to the collection being counted. * @param link link or {@code null} for none */ public OrkutCounterResource setLink(OrkutLinkResource link) { this.link = link; return this; } /** * The name of the counted collection. Currently supported collections are: - scraps - The scraps * of the user. - photos - The photos of the user. - videos - The videos of the user. - * pendingTestimonials - The pending testimonials of the user. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * The name of the counted collection. Currently supported collections are: - scraps - The scraps * of the user. - photos - The photos of the user. - videos - The videos of the user. - * pendingTestimonials - The pending testimonials of the user. * @param name name or {@code null} for none */ public OrkutCounterResource setName(java.lang.String name) { this.name = name; return this; } /** * The number of resources on the counted collection. * @return value or {@code null} for none */ public java.lang.Integer getTotal() { return total; } /** * The number of resources on the counted collection. * @param total total or {@code null} for none */ public OrkutCounterResource setTotal(java.lang.Integer total) { this.total = total; return this; } @Override public OrkutCounterResource set(String fieldName, Object value) { return (OrkutCounterResource) super.set(fieldName, value); } @Override public OrkutCounterResource clone() { return (OrkutCounterResource) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy