
org.jclouds.azurecompute.arm.domain.AutoValue_Certificate_KeyProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jclouds-shaded Show documentation
Show all versions of jclouds-shaded Show documentation
Provides a shaded jclouds with relocated guava and guice
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_Certificate_KeyProperties extends Certificate.KeyProperties {
private final Boolean exportable;
private final Integer keySize;
private final String keyType;
private final Boolean reuseKey;
AutoValue_Certificate_KeyProperties(
@Nullable Boolean exportable,
@Nullable Integer keySize,
@Nullable String keyType,
@Nullable Boolean reuseKey) {
this.exportable = exportable;
this.keySize = keySize;
this.keyType = keyType;
this.reuseKey = reuseKey;
}
@Nullable
@Override
public Boolean exportable() {
return exportable;
}
@Nullable
@Override
public Integer keySize() {
return keySize;
}
@Nullable
@Override
public String keyType() {
return keyType;
}
@Nullable
@Override
public Boolean reuseKey() {
return reuseKey;
}
@Override
public String toString() {
return "KeyProperties{"
+ "exportable=" + exportable + ", "
+ "keySize=" + keySize + ", "
+ "keyType=" + keyType + ", "
+ "reuseKey=" + reuseKey
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Certificate.KeyProperties) {
Certificate.KeyProperties that = (Certificate.KeyProperties) o;
return ((this.exportable == null) ? (that.exportable() == null) : this.exportable.equals(that.exportable()))
&& ((this.keySize == null) ? (that.keySize() == null) : this.keySize.equals(that.keySize()))
&& ((this.keyType == null) ? (that.keyType() == null) : this.keyType.equals(that.keyType()))
&& ((this.reuseKey == null) ? (that.reuseKey() == null) : this.reuseKey.equals(that.reuseKey()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= (exportable == null) ? 0 : this.exportable.hashCode();
h *= 1000003;
h ^= (keySize == null) ? 0 : this.keySize.hashCode();
h *= 1000003;
h ^= (keyType == null) ? 0 : this.keyType.hashCode();
h *= 1000003;
h ^= (reuseKey == null) ? 0 : this.reuseKey.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy