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

com.google.api.services.analytics.model.WebPropertyRef 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 a web property reference.
 *
 * 

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 WebPropertyRef extends com.google.api.client.json.GenericJson { /** * Account ID to which this web property belongs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String accountId; /** * Link for this web property. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String href; /** * 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; /** * Analytics web property reference. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * Name of this web property. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Account ID to which this web property belongs. * @return value or {@code null} for none */ public java.lang.String getAccountId() { return accountId; } /** * Account ID to which this web property belongs. * @param accountId accountId or {@code null} for none */ public WebPropertyRef setAccountId(java.lang.String accountId) { this.accountId = accountId; return this; } /** * Link for this web property. * @return value or {@code null} for none */ public java.lang.String getHref() { return href; } /** * Link for this web property. * @param href href or {@code null} for none */ public WebPropertyRef setHref(java.lang.String href) { this.href = href; return this; } /** * 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 WebPropertyRef 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 WebPropertyRef setInternalWebPropertyId(java.lang.String internalWebPropertyId) { this.internalWebPropertyId = internalWebPropertyId; return this; } /** * Analytics web property reference. * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * Analytics web property reference. * @param kind kind or {@code null} for none */ public WebPropertyRef setKind(java.lang.String kind) { this.kind = kind; return this; } /** * Name of this web property. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Name of this web property. * @param name name or {@code null} for none */ public WebPropertyRef setName(java.lang.String name) { this.name = name; return this; } @Override public WebPropertyRef set(String fieldName, Object value) { return (WebPropertyRef) super.set(fieldName, value); } @Override public WebPropertyRef clone() { return (WebPropertyRef) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy