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

org.jclouds.azurecompute.arm.domain.AutoValue_ManagedDiskParameters Maven / Gradle / Ivy

The newest version!

package org.jclouds.azurecompute.arm.domain;

import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_ManagedDiskParameters extends ManagedDiskParameters {

  private final String id;
  private final StorageAccountType storageAccountType;

  AutoValue_ManagedDiskParameters(
      @Nullable String id,
      @Nullable StorageAccountType storageAccountType) {
    this.id = id;
    this.storageAccountType = storageAccountType;
  }

  @Nullable
  @Override
  public String id() {
    return id;
  }

  @Nullable
  @Override
  public StorageAccountType storageAccountType() {
    return storageAccountType;
  }

  @Override
  public String toString() {
    return "ManagedDiskParameters{"
        + "id=" + id + ", "
        + "storageAccountType=" + storageAccountType
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ManagedDiskParameters) {
      ManagedDiskParameters that = (ManagedDiskParameters) o;
      return ((this.id == null) ? (that.id() == null) : this.id.equals(that.id()))
           && ((this.storageAccountType == null) ? (that.storageAccountType() == null) : this.storageAccountType.equals(that.storageAccountType()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= (id == null) ? 0 : this.id.hashCode();
    h *= 1000003;
    h ^= (storageAccountType == null) ? 0 : this.storageAccountType.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy