coding-blocks/DigitalOceanApp

View on GitHub
doandroidlib/src/main/java/in/tosc/doandroidlib/objects/Volumes.java

Summary

Maintainability
A
35 mins
Test Coverage
/**
 * Copyright (c) Jeevanandam M. (https://github.com/jeevatkm)
 * 
 * digitalocean-api-client source code and usage is governed by a MIT style license that can be
 * found in the LICENSE file
 */

package in.tosc.doandroidlib.objects;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.util.List;

/**
 * Represents list of volumes.
 * 
 * @author Eugene Strokin (https://github.com/strokine)
 * 
 * @since v2.7
 */
public class Volumes extends Base {

  private static final long serialVersionUID = 1739002259344347687L;

  private List<Volume> volumes;

  @Override
  public String toString() {
    return ReflectionToStringBuilder.toString(this);
  }

  /**
   * @return the volumes
   */
  public List<Volume> getVolumes() {
    return volumes;
  }

  /**
   * @param volumes the volumes to set
   */
  public void setVolumes(List<Volume> volumes) {
    this.volumes = volumes;
  }

}