
org.jclouds.azurecompute.arm.domain.AutoValue_StorageServiceUpdateParams 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 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;
}
}