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

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

The newest version!

package org.jclouds.azurecompute.arm.domain;

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

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

  private final Map tags;
  private final StorageServiceUpdateParams.StorageServiceUpdateProperties storageServiceProperties;

  AutoValue_StorageServiceUpdateParams(
      @Nullable Map tags,
      StorageServiceUpdateParams.StorageServiceUpdateProperties storageServiceProperties) {
    this.tags = tags;
    if (storageServiceProperties == null) {
      throw new NullPointerException("Null storageServiceProperties");
    }
    this.storageServiceProperties = storageServiceProperties;
  }

  @Nullable
  @Override
  public Map tags() {
    return tags;
  }

  @Override
  public StorageServiceUpdateParams.StorageServiceUpdateProperties storageServiceProperties() {
    return storageServiceProperties;
  }

  @Override
  public String toString() {
    return "StorageServiceUpdateParams{"
        + "tags=" + tags + ", "
        + "storageServiceProperties=" + storageServiceProperties
        + "}";
  }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy