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

com.google.api.services.plus.model.PlusAclentryResource Maven / Gradle / Ivy

There is a newer version: v1-rev20190328-1.30.10
Show newest version
/*
 * 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: 2016-05-27 16:00:31 UTC)
 * on 2016-07-11 at 21:53:31 UTC 
 * Modify at your own risk.
 */

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

/**
 * Model definition for PlusAclentryResource.
 *
 * 

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+ 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 PlusAclentryResource extends com.google.api.client.json.GenericJson { /** * A descriptive name for this entry. Suitable for display. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String displayName; /** * The ID of the entry. For entries of type "person" or "circle", this is the ID of the resource. * For other types, this property is not set. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * The type of entry describing to whom access is granted. Possible values are: - "person" - * Access to an individual. - "circle" - Access to members of a circle. - "myCircles" - Access * to members of all the person's circles. - "extendedCircles" - Access to members of all the * person's circles, plus all of the people in their circles. - "domain" - Access to members of * the person's Google Apps domain. - "public" - Access to anyone on the web. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * A descriptive name for this entry. Suitable for display. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { return displayName; } /** * A descriptive name for this entry. Suitable for display. * @param displayName displayName or {@code null} for none */ public PlusAclentryResource setDisplayName(java.lang.String displayName) { this.displayName = displayName; return this; } /** * The ID of the entry. For entries of type "person" or "circle", this is the ID of the resource. * For other types, this property is not set. * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * The ID of the entry. For entries of type "person" or "circle", this is the ID of the resource. * For other types, this property is not set. * @param id id or {@code null} for none */ public PlusAclentryResource setId(java.lang.String id) { this.id = id; return this; } /** * The type of entry describing to whom access is granted. Possible values are: - "person" - * Access to an individual. - "circle" - Access to members of a circle. - "myCircles" - Access * to members of all the person's circles. - "extendedCircles" - Access to members of all the * person's circles, plus all of the people in their circles. - "domain" - Access to members of * the person's Google Apps domain. - "public" - Access to anyone on the web. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * The type of entry describing to whom access is granted. Possible values are: - "person" - * Access to an individual. - "circle" - Access to members of a circle. - "myCircles" - Access * to members of all the person's circles. - "extendedCircles" - Access to members of all the * person's circles, plus all of the people in their circles. - "domain" - Access to members of * the person's Google Apps domain. - "public" - Access to anyone on the web. * @param type type or {@code null} for none */ public PlusAclentryResource setType(java.lang.String type) { this.type = type; return this; } @Override public PlusAclentryResource set(String fieldName, Object value) { return (PlusAclentryResource) super.set(fieldName, value); } @Override public PlusAclentryResource clone() { return (PlusAclentryResource) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy