001package com.box.sdkgen.schemas.v2025r0.shieldlistcontentintegrationv2025r0;
002
003import com.box.sdkgen.internal.NullableFieldTracker;
004import com.box.sdkgen.internal.SerializableObject;
005import com.fasterxml.jackson.annotation.JsonFilter;
006import java.util.Objects;
007
008@JsonFilter("nullablePropertyFilter")
009public class ShieldListContentIntegrationV2025R0IntegrationsField extends SerializableObject {
010
011  /** The ID of the integration. */
012  protected String id;
013
014  public ShieldListContentIntegrationV2025R0IntegrationsField() {
015    super();
016  }
017
018  protected ShieldListContentIntegrationV2025R0IntegrationsField(Builder builder) {
019    super();
020    this.id = builder.id;
021    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
022  }
023
024  public String getId() {
025    return id;
026  }
027
028  @Override
029  public boolean equals(Object o) {
030    if (this == o) {
031      return true;
032    }
033    if (o == null || getClass() != o.getClass()) {
034      return false;
035    }
036    ShieldListContentIntegrationV2025R0IntegrationsField casted =
037        (ShieldListContentIntegrationV2025R0IntegrationsField) o;
038    return Objects.equals(id, casted.id);
039  }
040
041  @Override
042  public int hashCode() {
043    return Objects.hash(id);
044  }
045
046  @Override
047  public String toString() {
048    return "ShieldListContentIntegrationV2025R0IntegrationsField{" + "id='" + id + '\'' + "}";
049  }
050
051  public static class Builder extends NullableFieldTracker {
052
053    protected String id;
054
055    public Builder id(String id) {
056      this.id = id;
057      return this;
058    }
059
060    public ShieldListContentIntegrationV2025R0IntegrationsField build() {
061      return new ShieldListContentIntegrationV2025R0IntegrationsField(this);
062    }
063  }
064}