
org.jclouds.profitbricks.domain.AutoValue_Firewall_Request_AddRulePayload 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.profitbricks.domain;
import java.util.List;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Firewall_Request_AddRulePayload extends Firewall.Request.AddRulePayload {
private final String nicId;
private final List rules;
AutoValue_Firewall_Request_AddRulePayload(
String nicId,
List rules) {
if (nicId == null) {
throw new NullPointerException("Null nicId");
}
this.nicId = nicId;
if (rules == null) {
throw new NullPointerException("Null rules");
}
this.rules = rules;
}
@Override
public String nicId() {
return nicId;
}
@Override
public List rules() {
return rules;
}
@Override
public String toString() {
return "AddRulePayload{"
+ "nicId=" + nicId + ", "
+ "rules=" + rules
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Firewall.Request.AddRulePayload) {
Firewall.Request.AddRulePayload that = (Firewall.Request.AddRulePayload) o;
return (this.nicId.equals(that.nicId()))
&& (this.rules.equals(that.rules()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.nicId.hashCode();
h *= 1000003;
h ^= this.rules.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy