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

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

The newest version!

package org.jclouds.azurecompute.arm.domain;

import java.util.List;
import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_Deployment_Provider extends Deployment.Provider {

  private final String id;
  private final String namespace;
  private final String registrationState;
  private final List resourceTypes;

  AutoValue_Deployment_Provider(
      @Nullable String id,
      @Nullable String namespace,
      @Nullable String registrationState,
      @Nullable List resourceTypes) {
    this.id = id;
    this.namespace = namespace;
    this.registrationState = registrationState;
    this.resourceTypes = resourceTypes;
  }

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

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

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

  @Nullable
  @Override
  public List resourceTypes() {
    return resourceTypes;
  }

  @Override
  public String toString() {
    return "Provider{"
        + "id=" + id + ", "
        + "namespace=" + namespace + ", "
        + "registrationState=" + registrationState + ", "
        + "resourceTypes=" + resourceTypes
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Deployment.Provider) {
      Deployment.Provider that = (Deployment.Provider) o;
      return ((this.id == null) ? (that.id() == null) : this.id.equals(that.id()))
           && ((this.namespace == null) ? (that.namespace() == null) : this.namespace.equals(that.namespace()))
           && ((this.registrationState == null) ? (that.registrationState() == null) : this.registrationState.equals(that.registrationState()))
           && ((this.resourceTypes == null) ? (that.resourceTypes() == null) : this.resourceTypes.equals(that.resourceTypes()));
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy