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

org.catools.zapi.model.CZApiExecution Maven / Gradle / Ivy

There is a newer version: 0.1.25
Show newest version
package org.catools.zapi.model;

import org.catools.common.date.CDate;

import java.util.Objects;

public class CZApiExecution {
    private Long id;
    private Long orderId;
    private String executionStatus;
    private CDate executedOn;
    private String executedByUserName;
    private String comment;
    private Long cycleId;
    private String cycleName;
    private String versionName;
    private CDate createdOn;
    private Long issueId;
    private String issueKey;
    private String projectKey;
    private String projectName;
    private CZApiExecutionDefects executionDefects;
    private Long executionDefectCount;
    private Long stepDefectCount;
    private Long totalDefectCount;

    public Long getId() {
        return id;
    }

    public CZApiExecution setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getOrderId() {
        return orderId;
    }

    public CZApiExecution setOrderId(Long orderId) {
        this.orderId = orderId;
        return this;
    }

    public String getExecutionStatus() {
        return executionStatus;
    }

    public CZApiExecution setExecutionStatus(String executionStatus) {
        this.executionStatus = executionStatus;
        return this;
    }

    public CDate getExecutedOn() {
        return executedOn;
    }

    public CZApiExecution setExecutedOn(CDate executedOn) {
        this.executedOn = executedOn;
        return this;
    }

    public String getExecutedByUserName() {
        return executedByUserName;
    }

    public CZApiExecution setExecutedByUserName(String executedByUserName) {
        this.executedByUserName = executedByUserName;
        return this;
    }

    public String getComment() {
        return comment;
    }

    public CZApiExecution setComment(String comment) {
        this.comment = comment;
        return this;
    }

    public Long getCycleId() {
        return cycleId;
    }

    public CZApiExecution setCycleId(Long cycleId) {
        this.cycleId = cycleId;
        return this;
    }

    public String getCycleName() {
        return cycleName;
    }

    public CZApiExecution setCycleName(String cycleName) {
        this.cycleName = cycleName;
        return this;
    }

    public String getVersionName() {
        return versionName;
    }

    public CZApiExecution setVersionName(String versionName) {
        this.versionName = versionName;
        return this;
    }

    public CDate getCreatedOn() {
        return createdOn;
    }

    public CZApiExecution setCreatedOn(CDate createdOn) {
        this.createdOn = createdOn;
        return this;
    }

    public Long getIssueId() {
        return issueId;
    }

    public CZApiExecution setIssueId(Long issueId) {
        this.issueId = issueId;
        return this;
    }

    public String getIssueKey() {
        return issueKey;
    }

    public CZApiExecution setIssueKey(String issueKey) {
        this.issueKey = issueKey;
        return this;
    }

    public String getProjectKey() {
        return projectKey;
    }

    public CZApiExecution setProjectKey(String projectKey) {
        this.projectKey = projectKey;
        return this;
    }

    public String getProjectName() {
        return projectName;
    }

    public CZApiExecution setProjectName(String projectName) {
        this.projectName = projectName;
        return this;
    }

    public CZApiExecutionDefects getExecutionDefects() {
        return executionDefects;
    }

    public CZApiExecution setExecutionDefects(CZApiExecutionDefects executionDefects) {
        this.executionDefects = executionDefects;
        return this;
    }

    public Long getExecutionDefectCount() {
        return executionDefectCount;
    }

    public CZApiExecution setExecutionDefectCount(Long executionDefectCount) {
        this.executionDefectCount = executionDefectCount;
        return this;
    }

    public Long getStepDefectCount() {
        return stepDefectCount;
    }

    public CZApiExecution setStepDefectCount(Long stepDefectCount) {
        this.stepDefectCount = stepDefectCount;
        return this;
    }

    public Long getTotalDefectCount() {
        return totalDefectCount;
    }

    public CZApiExecution setTotalDefectCount(Long totalDefectCount) {
        this.totalDefectCount = totalDefectCount;
        return this;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CZApiExecution that = (CZApiExecution) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(orderId, that.orderId) &&
                Objects.equals(executionStatus, that.executionStatus) &&
                Objects.equals(executedOn, that.executedOn) &&
                Objects.equals(executedByUserName, that.executedByUserName) &&
                Objects.equals(comment, that.comment) &&
                Objects.equals(cycleId, that.cycleId) &&
                Objects.equals(cycleName, that.cycleName) &&
                Objects.equals(versionName, that.versionName) &&
                Objects.equals(createdOn, that.createdOn) &&
                Objects.equals(issueId, that.issueId) &&
                Objects.equals(issueKey, that.issueKey) &&
                Objects.equals(projectKey, that.projectKey) &&
                Objects.equals(projectName, that.projectName) &&
                Objects.equals(executionDefects, that.executionDefects) &&
                Objects.equals(executionDefectCount, that.executionDefectCount) &&
                Objects.equals(stepDefectCount, that.stepDefectCount) &&
                Objects.equals(totalDefectCount, that.totalDefectCount);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id,
                orderId,
                executionStatus,
                executedOn,
                executedByUserName,
                comment,
                cycleId,
                cycleName,
                versionName,
                createdOn,
                issueId,
                issueKey,
                projectKey,
                projectName,
                executionDefects,
                executionDefectCount,
                stepDefectCount,
                totalDefectCount);
    }

    @Override
    public String toString() {
        return "CZApiExecution{" +
                "id=" +
                id +
                ", orderId=" +
                orderId +
                ", executionStatus='" +
                executionStatus +
                '\'' +
                ", executedOn=" +
                executedOn +
                ", executedByUserName='" +
                executedByUserName +
                '\'' +
                ", comment='" +
                comment +
                '\'' +
                ", cycleId=" +
                cycleId +
                ", cycleName='" +
                cycleName +
                '\'' +
                ", versionName='" +
                versionName +
                '\'' +
                ", createdOn=" +
                createdOn +
                ", issueId=" +
                issueId +
                ", issueKey='" +
                issueKey +
                '\'' +
                ", projectKey='" +
                projectKey +
                '\'' +
                ", projectName='" +
                projectName +
                '\'' +
                ", executionDefects=" +
                executionDefects +
                ", executionDefectCount=" +
                executionDefectCount +
                ", stepDefectCount=" +
                stepDefectCount +
                ", totalDefectCount=" +
                totalDefectCount +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy