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

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

/**
 * DashboardResponse
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-12-08T12:42:53.880-06:00[America/Chicago]")
public class DashboardResponse {
  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 DashboardResponse 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 DashboardResponse 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 DashboardResponse steps(List steps) {
    this.steps = steps;
    return this;
  }

  public DashboardResponse 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;
    }
    DashboardResponse dashboardResponse = (DashboardResponse) o;
    return Objects.equals(this.shipmentType, dashboardResponse.shipmentType) &&
        Objects.equals(this.shipmentTypeDisplayName, dashboardResponse.shipmentTypeDisplayName) &&
        Objects.equals(this.steps, dashboardResponse.steps);
  }

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


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DashboardResponse {\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