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

com.google.api.services.compute.model.DiskList Maven / Gradle / Ivy

There is a newer version: v1-rev20241105-2.0.0
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://code.google.com/p/google-apis-client-generator/
 * (build: 2013-05-14 03:07:32 UTC)
 * on 2013-05-15 at 01:58:25 UTC 
 * Modify at your own risk.
 */

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

/**
 * Contains a list of persistent disk resources.
 *
 * 

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

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class DiskList extends com.google.api.client.json.GenericJson { /** * Unique identifier for the resource; defined by the server (output only). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * The persistent disk resources. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List items; /** * Type of resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * A token used to continue a truncated list request (output only). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String nextPageToken; /** * Server defined URL for this resource (output only). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String selfLink; /** * Unique identifier for the resource; defined by the server (output only). * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * Unique identifier for the resource; defined by the server (output only). * @param id id or {@code null} for none */ public DiskList setId(java.lang.String id) { this.id = id; return this; } /** * The persistent disk resources. * @return value or {@code null} for none */ public java.util.List getItems() { return items; } /** * The persistent disk resources. * @param items items or {@code null} for none */ public DiskList setItems(java.util.List items) { this.items = items; return this; } /** * Type of resource. * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * Type of resource. * @param kind kind or {@code null} for none */ public DiskList setKind(java.lang.String kind) { this.kind = kind; return this; } /** * A token used to continue a truncated list request (output only). * @return value or {@code null} for none */ public java.lang.String getNextPageToken() { return nextPageToken; } /** * A token used to continue a truncated list request (output only). * @param nextPageToken nextPageToken or {@code null} for none */ public DiskList setNextPageToken(java.lang.String nextPageToken) { this.nextPageToken = nextPageToken; return this; } /** * Server defined URL for this resource (output only). * @return value or {@code null} for none */ public java.lang.String getSelfLink() { return selfLink; } /** * Server defined URL for this resource (output only). * @param selfLink selfLink or {@code null} for none */ public DiskList setSelfLink(java.lang.String selfLink) { this.selfLink = selfLink; return this; } @Override public DiskList set(String fieldName, Object value) { return (DiskList) super.set(fieldName, value); } @Override public DiskList clone() { return (DiskList) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy