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

org.openapitools.client.model.BillRunPreviewStateTransitions Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
/*
* Quickstart API Reference
* Zuora Quickstart API is the API that helps you achieve fundamental use cases.
* It provides a much simplified object model and improved performance, enabling developers to easily learn and use.
*/

package org.openapitools.client.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import org.threeten.bp.OffsetDateTime;

import org.openapitools.client.JSON.CustomFieldAdapter;
import org.openapitools.client.JSON.NullableFieldAdapter;
/**
 * The timestamps at which the object's state was updated.
 */
@ApiModel(description = "The timestamps at which the object's state was updated.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class BillRunPreviewStateTransitions {
  public static final String SERIALIZED_NAME_COMPLETE_TIME = "complete_time";
  @SerializedName(SERIALIZED_NAME_COMPLETE_TIME)
  private OffsetDateTime completeTime;

  public static final String SERIALIZED_NAME_PROCESSING_START_TIME = "processing_start_time";
  @SerializedName(SERIALIZED_NAME_PROCESSING_START_TIME)
  private OffsetDateTime processingStartTime;

  public BillRunPreviewStateTransitions() { 
  }

  public BillRunPreviewStateTransitions completeTime(OffsetDateTime completeTime) {
    
    this.completeTime = completeTime;
    return this;
  }

   /**
   * The time when the bill run preview completed.
   * @return completeTime
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The time when the bill run preview completed.")

  public OffsetDateTime getCompleteTime() {
    return completeTime;
  }


  public void setCompleteTime(OffsetDateTime completeTime) {
    this.completeTime = completeTime;
  }


  public BillRunPreviewStateTransitions processingStartTime(OffsetDateTime processingStartTime) {
    
    this.processingStartTime = processingStartTime;
    return this;
  }

   /**
   * The time when the bill run preview started.
   * @return processingStartTime
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The time when the bill run preview started.")

  public OffsetDateTime getProcessingStartTime() {
    return processingStartTime;
  }


  public void setProcessingStartTime(OffsetDateTime processingStartTime) {
    this.processingStartTime = processingStartTime;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    BillRunPreviewStateTransitions billRunPreviewStateTransitions = (BillRunPreviewStateTransitions) o;
    return Objects.equals(this.completeTime, billRunPreviewStateTransitions.completeTime) &&
        Objects.equals(this.processingStartTime, billRunPreviewStateTransitions.processingStartTime);
  }

  @Override
  public int hashCode() {
    return Objects.hash(completeTime, processingStartTime);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class BillRunPreviewStateTransitions {\n");
    sb.append("    completeTime: ").append(toIndentedString(completeTime)).append("\n");
    sb.append("    processingStartTime: ").append(toIndentedString(processingStartTime)).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(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy