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

org.jclouds.azurecompute.arm.domain.AutoValue_Key_KeyOperationResult 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_Key_KeyOperationResult extends Key.KeyOperationResult {

  private final String keyId;
  private final String value;

  AutoValue_Key_KeyOperationResult(
      @Nullable String keyId,
      @Nullable String value) {
    this.keyId = keyId;
    this.value = value;
  }

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

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

  @Override
  public String toString() {
    return "KeyOperationResult{"
        + "keyId=" + keyId + ", "
        + "value=" + value
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Key.KeyOperationResult) {
      Key.KeyOperationResult that = (Key.KeyOperationResult) o;
      return ((this.keyId == null) ? (that.keyId() == null) : this.keyId.equals(that.keyId()))
           && ((this.value == null) ? (that.value() == null) : this.value.equals(that.value()));
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy