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

com.google.api.services.analytics.model.WebPropertySummary Maven / Gradle / Ivy

There is a newer version: v3-rev20190807-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.analytics.model;

/**
 * JSON template for an Analytics WebPropertySummary. WebPropertySummary returns basic information
 * (i.e., summary) for a web property.
 *
 * 

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 Google Analytics 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 WebPropertySummary extends com.google.api.client.json.GenericJson { /** * Web property ID of the form UA-XXXXX-YY. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * Internal ID for this web property. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String internalWebPropertyId; /** * Resource type for Analytics WebPropertySummary. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * Level for this web property. Possible values are STANDARD or PREMIUM. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String level; /** * Web property name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * List of profiles under this web property. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List profiles; static { // hack to force ProGuard to consider ProfileSummary used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(ProfileSummary.class); } /** * Indicates whether this web property is starred or not. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean starred; /** * Website url for this web property. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String websiteUrl; /** * Web property ID of the form UA-XXXXX-YY. * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * Web property ID of the form UA-XXXXX-YY. * @param id id or {@code null} for none */ public WebPropertySummary setId(java.lang.String id) { this.id = id; return this; } /** * Internal ID for this web property. * @return value or {@code null} for none */ public java.lang.String getInternalWebPropertyId() { return internalWebPropertyId; } /** * Internal ID for this web property. * @param internalWebPropertyId internalWebPropertyId or {@code null} for none */ public WebPropertySummary setInternalWebPropertyId(java.lang.String internalWebPropertyId) { this.internalWebPropertyId = internalWebPropertyId; return this; } /** * Resource type for Analytics WebPropertySummary. * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * Resource type for Analytics WebPropertySummary. * @param kind kind or {@code null} for none */ public WebPropertySummary setKind(java.lang.String kind) { this.kind = kind; return this; } /** * Level for this web property. Possible values are STANDARD or PREMIUM. * @return value or {@code null} for none */ public java.lang.String getLevel() { return level; } /** * Level for this web property. Possible values are STANDARD or PREMIUM. * @param level level or {@code null} for none */ public WebPropertySummary setLevel(java.lang.String level) { this.level = level; return this; } /** * Web property name. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Web property name. * @param name name or {@code null} for none */ public WebPropertySummary setName(java.lang.String name) { this.name = name; return this; } /** * List of profiles under this web property. * @return value or {@code null} for none */ public java.util.List getProfiles() { return profiles; } /** * List of profiles under this web property. * @param profiles profiles or {@code null} for none */ public WebPropertySummary setProfiles(java.util.List profiles) { this.profiles = profiles; return this; } /** * Indicates whether this web property is starred or not. * @return value or {@code null} for none */ public java.lang.Boolean getStarred() { return starred; } /** * Indicates whether this web property is starred or not. * @param starred starred or {@code null} for none */ public WebPropertySummary setStarred(java.lang.Boolean starred) { this.starred = starred; return this; } /** * Website url for this web property. * @return value or {@code null} for none */ public java.lang.String getWebsiteUrl() { return websiteUrl; } /** * Website url for this web property. * @param websiteUrl websiteUrl or {@code null} for none */ public WebPropertySummary setWebsiteUrl(java.lang.String websiteUrl) { this.websiteUrl = websiteUrl; return this; } @Override public WebPropertySummary set(String fieldName, Object value) { return (WebPropertySummary) super.set(fieldName, value); } @Override public WebPropertySummary clone() { return (WebPropertySummary) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy