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

com.google.api.ads.dfp.axis.v201605.WorkflowProgress Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version
/**
 * WorkflowProgress.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
 */

package com.google.api.ads.dfp.axis.v201605;


/**
 * The progress indicator of a {@link Proposal proposal's} workflow.
 */
public class WorkflowProgress  implements java.io.Serializable {
    /* The steps in this workflow. */
    private com.google.api.ads.dfp.axis.v201605.ProgressStep[] steps;

    /* The {@link User#Id ID} of the user who submitted the {@link
     * Proposal}. */
    private java.lang.Long submitterId;

    /* The status of this workflow. */
    private com.google.api.ads.dfp.axis.v201605.EvaluationStatus evaluationStatus;

    /* The {@link DateTime} the proposal was submitted. */
    private com.google.api.ads.dfp.axis.v201605.DateTime submissionTime;

    /* The {@link DateTime} this workflow was evaluated. */
    private com.google.api.ads.dfp.axis.v201605.DateTime evaluationTime;

    /* Whether any offline processing is occurring. */
    private java.lang.Boolean isProcessing;

    public WorkflowProgress() {
    }

    public WorkflowProgress(
           com.google.api.ads.dfp.axis.v201605.ProgressStep[] steps,
           java.lang.Long submitterId,
           com.google.api.ads.dfp.axis.v201605.EvaluationStatus evaluationStatus,
           com.google.api.ads.dfp.axis.v201605.DateTime submissionTime,
           com.google.api.ads.dfp.axis.v201605.DateTime evaluationTime,
           java.lang.Boolean isProcessing) {
           this.steps = steps;
           this.submitterId = submitterId;
           this.evaluationStatus = evaluationStatus;
           this.submissionTime = submissionTime;
           this.evaluationTime = evaluationTime;
           this.isProcessing = isProcessing;
    }


    /**
     * Gets the steps value for this WorkflowProgress.
     * 
     * @return steps   * The steps in this workflow.
     */
    public com.google.api.ads.dfp.axis.v201605.ProgressStep[] getSteps() {
        return steps;
    }


    /**
     * Sets the steps value for this WorkflowProgress.
     * 
     * @param steps   * The steps in this workflow.
     */
    public void setSteps(com.google.api.ads.dfp.axis.v201605.ProgressStep[] steps) {
        this.steps = steps;
    }

    public com.google.api.ads.dfp.axis.v201605.ProgressStep getSteps(int i) {
        return this.steps[i];
    }

    public void setSteps(int i, com.google.api.ads.dfp.axis.v201605.ProgressStep _value) {
        this.steps[i] = _value;
    }


    /**
     * Gets the submitterId value for this WorkflowProgress.
     * 
     * @return submitterId   * The {@link User#Id ID} of the user who submitted the {@link
     * Proposal}.
     */
    public java.lang.Long getSubmitterId() {
        return submitterId;
    }


    /**
     * Sets the submitterId value for this WorkflowProgress.
     * 
     * @param submitterId   * The {@link User#Id ID} of the user who submitted the {@link
     * Proposal}.
     */
    public void setSubmitterId(java.lang.Long submitterId) {
        this.submitterId = submitterId;
    }


    /**
     * Gets the evaluationStatus value for this WorkflowProgress.
     * 
     * @return evaluationStatus   * The status of this workflow.
     */
    public com.google.api.ads.dfp.axis.v201605.EvaluationStatus getEvaluationStatus() {
        return evaluationStatus;
    }


    /**
     * Sets the evaluationStatus value for this WorkflowProgress.
     * 
     * @param evaluationStatus   * The status of this workflow.
     */
    public void setEvaluationStatus(com.google.api.ads.dfp.axis.v201605.EvaluationStatus evaluationStatus) {
        this.evaluationStatus = evaluationStatus;
    }


    /**
     * Gets the submissionTime value for this WorkflowProgress.
     * 
     * @return submissionTime   * The {@link DateTime} the proposal was submitted.
     */
    public com.google.api.ads.dfp.axis.v201605.DateTime getSubmissionTime() {
        return submissionTime;
    }


    /**
     * Sets the submissionTime value for this WorkflowProgress.
     * 
     * @param submissionTime   * The {@link DateTime} the proposal was submitted.
     */
    public void setSubmissionTime(com.google.api.ads.dfp.axis.v201605.DateTime submissionTime) {
        this.submissionTime = submissionTime;
    }


    /**
     * Gets the evaluationTime value for this WorkflowProgress.
     * 
     * @return evaluationTime   * The {@link DateTime} this workflow was evaluated.
     */
    public com.google.api.ads.dfp.axis.v201605.DateTime getEvaluationTime() {
        return evaluationTime;
    }


    /**
     * Sets the evaluationTime value for this WorkflowProgress.
     * 
     * @param evaluationTime   * The {@link DateTime} this workflow was evaluated.
     */
    public void setEvaluationTime(com.google.api.ads.dfp.axis.v201605.DateTime evaluationTime) {
        this.evaluationTime = evaluationTime;
    }


    /**
     * Gets the isProcessing value for this WorkflowProgress.
     * 
     * @return isProcessing   * Whether any offline processing is occurring.
     */
    public java.lang.Boolean getIsProcessing() {
        return isProcessing;
    }


    /**
     * Sets the isProcessing value for this WorkflowProgress.
     * 
     * @param isProcessing   * Whether any offline processing is occurring.
     */
    public void setIsProcessing(java.lang.Boolean isProcessing) {
        this.isProcessing = isProcessing;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof WorkflowProgress)) return false;
        WorkflowProgress other = (WorkflowProgress) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.steps==null && other.getSteps()==null) || 
             (this.steps!=null &&
              java.util.Arrays.equals(this.steps, other.getSteps()))) &&
            ((this.submitterId==null && other.getSubmitterId()==null) || 
             (this.submitterId!=null &&
              this.submitterId.equals(other.getSubmitterId()))) &&
            ((this.evaluationStatus==null && other.getEvaluationStatus()==null) || 
             (this.evaluationStatus!=null &&
              this.evaluationStatus.equals(other.getEvaluationStatus()))) &&
            ((this.submissionTime==null && other.getSubmissionTime()==null) || 
             (this.submissionTime!=null &&
              this.submissionTime.equals(other.getSubmissionTime()))) &&
            ((this.evaluationTime==null && other.getEvaluationTime()==null) || 
             (this.evaluationTime!=null &&
              this.evaluationTime.equals(other.getEvaluationTime()))) &&
            ((this.isProcessing==null && other.getIsProcessing()==null) || 
             (this.isProcessing!=null &&
              this.isProcessing.equals(other.getIsProcessing())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getSteps() != null) {
            for (int i=0;
                 i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy