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

org.jclouds.azurecompute.arm.domain.AutoValue_DeploymentBody 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_DeploymentBody extends DeploymentBody {

  private final DeploymentTemplate template;
  private final String mode;
  private final DeploymentTemplate.Parameters parameters;

  AutoValue_DeploymentBody(
      @Nullable DeploymentTemplate template,
      @Nullable String mode,
      @Nullable DeploymentTemplate.Parameters parameters) {
    this.template = template;
    this.mode = mode;
    this.parameters = parameters;
  }

  @Nullable
  @Override
  public DeploymentTemplate template() {
    return template;
  }

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

  @Nullable
  @Override
  public DeploymentTemplate.Parameters parameters() {
    return parameters;
  }

  @Override
  public String toString() {
    return "DeploymentBody{"
        + "template=" + template + ", "
        + "mode=" + mode + ", "
        + "parameters=" + parameters
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof DeploymentBody) {
      DeploymentBody that = (DeploymentBody) o;
      return ((this.template == null) ? (that.template() == null) : this.template.equals(that.template()))
           && ((this.mode == null) ? (that.mode() == null) : this.mode.equals(that.mode()))
           && ((this.parameters == null) ? (that.parameters() == null) : this.parameters.equals(that.parameters()));
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy