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

com.google.api.services.orkut.model.Acl 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 Acl.
 *
 * 

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 Acl extends com.google.api.client.json.GenericJson { /** * Human readable description of the access granted. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * The list of ACL entries. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List items; static { // hack to force ProGuard to consider Items used, since otherwise it would be stripped out // see http://code.google.com/p/google-api-java-client/issues/detail?id=528 com.google.api.client.util.Data.nullOf(Items.class); } /** * Identifies this resource as an access control list. Value: "orkut#acl" * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * The total count of participants of the parent resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer totalParticipants; /** * Human readable description of the access granted. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * Human readable description of the access granted. * @param description description or {@code null} for none */ public Acl setDescription(java.lang.String description) { this.description = description; return this; } /** * The list of ACL entries. * @return value or {@code null} for none */ public java.util.List getItems() { return items; } /** * The list of ACL entries. * @param items items or {@code null} for none */ public Acl setItems(java.util.List items) { this.items = items; return this; } /** * Identifies this resource as an access control list. Value: "orkut#acl" * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * Identifies this resource as an access control list. Value: "orkut#acl" * @param kind kind or {@code null} for none */ public Acl setKind(java.lang.String kind) { this.kind = kind; return this; } /** * The total count of participants of the parent resource. * @return value or {@code null} for none */ public java.lang.Integer getTotalParticipants() { return totalParticipants; } /** * The total count of participants of the parent resource. * @param totalParticipants totalParticipants or {@code null} for none */ public Acl setTotalParticipants(java.lang.Integer totalParticipants) { this.totalParticipants = totalParticipants; return this; } @Override public Acl set(String fieldName, Object value) { return (Acl) super.set(fieldName, value); } @Override public Acl clone() { return (Acl) super.clone(); } /** * Model definition for AclItems. */ public static final class Items extends com.google.api.client.json.GenericJson { /** * The ID of the entity. For entities of type "person" or "circle", this is the ID of the * resource. For other types, this will be unset. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * The type of entity to whom access is granted. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * The ID of the entity. For entities of type "person" or "circle", this is the ID of the * resource. For other types, this will be unset. * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * The ID of the entity. For entities of type "person" or "circle", this is the ID of the * resource. For other types, this will be unset. * @param id id or {@code null} for none */ public Items setId(java.lang.String id) { this.id = id; return this; } /** * The type of entity to whom access is granted. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * The type of entity to whom access is granted. * @param type type or {@code null} for none */ public Items setType(java.lang.String type) { this.type = type; return this; } @Override public Items set(String fieldName, Object value) { return (Items) super.set(fieldName, value); } @Override public Items clone() { return (Items) super.clone(); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy