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

com.kibocommerce.sdk.fulfillment.model.EntityModelOfDashboardResponse 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.DashboardStep;
import com.kibocommerce.sdk.fulfillment.model.Links;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 * EntityModelOfDashboardResponse
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-12-08T12:42:53.880-06:00[America/Chicago]")
public class EntityModelOfDashboardResponse {
  public static final String SERIALIZED_NAME_LINKS = "_links";
  @SerializedName(SERIALIZED_NAME_LINKS)
  private Links links = null;

  public static final String SERIALIZED_NAME_SHIPMENT_TYPE = "shipmentType";
  @SerializedName(SERIALIZED_NAME_SHIPMENT_TYPE)
  private String shipmentType;

  public static final String SERIALIZED_NAME_SHIPMENT_TYPE_DISPLAY_NAME = "shipmentTypeDisplayName";
  @SerializedName(SERIALIZED_NAME_SHIPMENT_TYPE_DISPLAY_NAME)
  private String shipmentTypeDisplayName;

  public static final String SERIALIZED_NAME_STEPS = "steps";
  @SerializedName(SERIALIZED_NAME_STEPS)
  private List steps = null;

  public EntityModelOfDashboardResponse links(Links links) {
    this.links = links;
    return this;
  }

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

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

  public EntityModelOfDashboardResponse shipmentType(String shipmentType) {
    this.shipmentType = shipmentType;
    return this;
  }

   /**
   * Get shipmentType
   * @return shipmentType
  **/
  @ApiModelProperty(value = "")
  public String getShipmentType() {
    return shipmentType;
  }

  public void setShipmentType(String shipmentType) {
    this.shipmentType = shipmentType;
  }

  public EntityModelOfDashboardResponse shipmentTypeDisplayName(String shipmentTypeDisplayName) {
    this.shipmentTypeDisplayName = shipmentTypeDisplayName;
    return this;
  }

   /**
   * Get shipmentTypeDisplayName
   * @return shipmentTypeDisplayName
  **/
  @ApiModelProperty(value = "")
  public String getShipmentTypeDisplayName() {
    return shipmentTypeDisplayName;
  }

  public void setShipmentTypeDisplayName(String shipmentTypeDisplayName) {
    this.shipmentTypeDisplayName = shipmentTypeDisplayName;
  }

  public EntityModelOfDashboardResponse steps(List steps) {
    this.steps = steps;
    return this;
  }

  public EntityModelOfDashboardResponse addStepsItem(DashboardStep stepsItem) {
    if (this.steps == null) {
      this.steps = new ArrayList();
    }
    this.steps.add(stepsItem);
    return this;
  }

   /**
   * Get steps
   * @return steps
  **/
  @ApiModelProperty(value = "")
  public List getSteps() {
    return steps;
  }

  public void setSteps(List steps) {
    this.steps = steps;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    EntityModelOfDashboardResponse entityModelOfDashboardResponse = (EntityModelOfDashboardResponse) o;
    return Objects.equals(this.links, entityModelOfDashboardResponse.links) &&
        Objects.equals(this.shipmentType, entityModelOfDashboardResponse.shipmentType) &&
        Objects.equals(this.shipmentTypeDisplayName, entityModelOfDashboardResponse.shipmentTypeDisplayName) &&
        Objects.equals(this.steps, entityModelOfDashboardResponse.steps);
  }

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


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