content: /*
   * Selling Partner API for Catalog Items
   * The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog.  For more information, refer to the [Catalog Items API Use Case Guide](doc:catalog-items-api-v2022-04-01-use-case-guide).
   *
   * OpenAPI spec version: 2022-04-01
   * 
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   * Do not edit the class manually.
   */
  
  
  package io.swagger.client.model.CatalogApi;
  
  import java.util.Objects;
  import java.util.Arrays;
  import com.google.gson.TypeAdapter;
  import com.google.gson.annotations.JsonAdapter;
  import com.google.gson.annotations.SerializedName;
  import com.google.gson.stream.JsonReader;
  import com.google.gson.stream.JsonWriter;
  import io.swagger.annotations.ApiModel;
  import io.swagger.annotations.ApiModelProperty;
  import io.swagger.client.model.CatalogApi.ItemIdentifier;
  import java.io.IOException;
  import java.util.ArrayList;
  import java.util.List;
  
  /**
   * Identifiers associated with the item in the Amazon catalog for the indicated Amazon marketplace.
   */
  @ApiModel(description = "Identifiers associated with the item in the Amazon catalog for the indicated Amazon marketplace.")
  @javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2024-06-06T15:53:58.780-07:00")
  public class ItemIdentifiersByMarketplace {
    @SerializedName("marketplaceId")
    private String marketplaceId = null;
  
    @SerializedName("identifiers")
    private List<ItemIdentifier> identifiers = new ArrayList<ItemIdentifier>();
  
    public ItemIdentifiersByMarketplace marketplaceId(String marketplaceId) {
      this.marketplaceId = marketplaceId;
      return this;
    }
  
     /**
     * Amazon marketplace identifier.
     * @return marketplaceId
    **/
    @ApiModelProperty(required = true, value = "Amazon marketplace identifier.")
    public String getMarketplaceId() {
      return marketplaceId;
    }
  
    public void setMarketplaceId(String marketplaceId) {
      this.marketplaceId = marketplaceId;
    }
  
    public ItemIdentifiersByMarketplace identifiers(List<ItemIdentifier> identifiers) {
      this.identifiers = identifiers;
      return this;
    }
  
    public ItemIdentifiersByMarketplace addIdentifiersItem(ItemIdentifier identifiersItem) {
      this.identifiers.add(identifiersItem);
      return this;
    }
  
     /**
     * Identifiers associated with the item in the Amazon catalog for the indicated Amazon marketplace.
     * @return identifiers
    **/
    @ApiModelProperty(required = true, value = "Identifiers associated with the item in the Amazon catalog for the indicated Amazon marketplace.")
    public List<ItemIdentifier> getIdentifiers() {
      return identifiers;
    }
  
    public void setIdentifiers(List<ItemIdentifier> identifiers) {
      this.identifiers = identifiers;
    }
  
  
    @Override
    public boolean equals(java.lang.Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }
      ItemIdentifiersByMarketplace itemIdentifiersByMarketplace = (ItemIdentifiersByMarketplace) o;
      return Objects.equals(this.marketplaceId, itemIdentifiersByMarketplace.marketplaceId) &&
          Objects.equals(this.identifiers, itemIdentifiersByMarketplace.identifiers);
    }
  
    @Override
    public int hashCode() {
      return Objects.hash(marketplaceId, identifiers);
    }
  
  
    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class ItemIdentifiersByMarketplace {\n");
      
      sb.append("    marketplaceId: ").append(toIndentedString(marketplaceId)).append("\n");
      sb.append("    identifiers: ").append(toIndentedString(identifiers)).append("\n");
      sb.append("}");
      return sb.toString();
    }
  
    /**
     * Convert the given object to string with each line indented by 4 spaces
     * (except the first line).
     */
    private String toIndentedString(java.lang.Object o) {
      if (o == null) {
        return "null";
      }
      return o.toString().replace("\n", "\n    ");
    }
  
  }
  
  