All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kibocommerce.sdk.fulfillment.model.CollectionModelOfEntityModelOfWorkflowProcess Maven / Gradle / Ivy

The newest version!
/*
 * Kibo Fulfillment API - Production Profile
 * REST API backing the Kibo Fulfiller User Interface
 *
 * OpenAPI spec version: 1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package com.kibocommerce.sdk.fulfillment.model;

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 com.kibocommerce.sdk.fulfillment.model.EntityModelOfWorkflowProcess;
import com.kibocommerce.sdk.fulfillment.model.Link;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * CollectionModelOfEntityModelOfWorkflowProcess
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-12-08T12:42:53.880-06:00[America/Chicago]")
public class CollectionModelOfEntityModelOfWorkflowProcess {
  public static final String SERIALIZED_NAME_EMBEDDED = "_embedded";
  @SerializedName(SERIALIZED_NAME_EMBEDDED)
  private Map> embedded = null;

  public static final String SERIALIZED_NAME_LINKS = "_links";
  @SerializedName(SERIALIZED_NAME_LINKS)
  private Map links = null;

  public CollectionModelOfEntityModelOfWorkflowProcess embedded(Map> embedded) {
    this.embedded = embedded;
    return this;
  }

  public CollectionModelOfEntityModelOfWorkflowProcess putEmbeddedItem(String key, List embeddedItem) {
    if (this.embedded == null) {
      this.embedded = new HashMap>();
    }
    this.embedded.put(key, embeddedItem);
    return this;
  }

   /**
   * Get embedded
   * @return embedded
  **/
  @ApiModelProperty(value = "")
  public Map> getEmbedded() {
    return embedded;
  }

  public void setEmbedded(Map> embedded) {
    this.embedded = embedded;
  }

  public CollectionModelOfEntityModelOfWorkflowProcess links(Map links) {
    this.links = links;
    return this;
  }

  public CollectionModelOfEntityModelOfWorkflowProcess putLinksItem(String key, Link linksItem) {
    if (this.links == null) {
      this.links = new HashMap();
    }
    this.links.put(key, linksItem);
    return this;
  }

   /**
   * Get links
   * @return links
  **/
  @ApiModelProperty(value = "")
  public Map getLinks() {
    return links;
  }

  public void setLinks(Map links) {
    this.links = links;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CollectionModelOfEntityModelOfWorkflowProcess collectionModelOfEntityModelOfWorkflowProcess = (CollectionModelOfEntityModelOfWorkflowProcess) o;
    return Objects.equals(this.embedded, collectionModelOfEntityModelOfWorkflowProcess.embedded) &&
        Objects.equals(this.links, collectionModelOfEntityModelOfWorkflowProcess.links);
  }

  @Override
  public int hashCode() {
    return Objects.hash(embedded, links);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CollectionModelOfEntityModelOfWorkflowProcess {\n");
    
    sb.append("    embedded: ").append(toIndentedString(embedded)).append("\n");
    sb.append("    links: ").append(toIndentedString(links)).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    ");
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy