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

org.jclouds.digitalocean2.domain.AutoValue_DropletCreate_Links Maven / Gradle / Ivy

The newest version!

package org.jclouds.digitalocean2.domain;

import java.util.List;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_DropletCreate_Links extends DropletCreate.Links {

  private final List actions;

  AutoValue_DropletCreate_Links(
      List actions) {
    if (actions == null) {
      throw new NullPointerException("Null actions");
    }
    this.actions = actions;
  }

  @Override
  public List actions() {
    return actions;
  }

  @Override
  public String toString() {
    return "Links{"
        + "actions=" + actions
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof DropletCreate.Links) {
      DropletCreate.Links that = (DropletCreate.Links) o;
      return (this.actions.equals(that.actions()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= this.actions.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy