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

org.jclouds.azurecompute.arm.domain.AutoValue_VirtualMachineScaleSetPlan 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_VirtualMachineScaleSetPlan extends VirtualMachineScaleSetPlan {

  private final String name;
  private final String publisher;
  private final String product;

  AutoValue_VirtualMachineScaleSetPlan(
      @Nullable String name,
      @Nullable String publisher,
      @Nullable String product) {
    this.name = name;
    this.publisher = publisher;
    this.product = product;
  }

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

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

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

  @Override
  public String toString() {
    return "VirtualMachineScaleSetPlan{"
        + "name=" + name + ", "
        + "publisher=" + publisher + ", "
        + "product=" + product
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof VirtualMachineScaleSetPlan) {
      VirtualMachineScaleSetPlan that = (VirtualMachineScaleSetPlan) o;
      return ((this.name == null) ? (that.name() == null) : this.name.equals(that.name()))
           && ((this.publisher == null) ? (that.publisher() == null) : this.publisher.equals(that.publisher()))
           && ((this.product == null) ? (that.product() == null) : this.product.equals(that.product()));
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy