content: /*
   ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
   ~                                                                               ~
   ~ The MIT License (MIT)                                                         ~
   ~                                                                               ~
   ~ Copyright (c) 2015-2025 miaixz.org gitlab4j and other contributors.           ~
   ~                                                                               ~
   ~ Permission is hereby granted, free of charge, to any person obtaining a copy  ~
   ~ of this software and associated documentation files (the "Software"), to deal ~
   ~ in the Software without restriction, including without limitation the rights  ~
   ~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell     ~
   ~ copies of the Software, and to permit persons to whom the Software is         ~
   ~ furnished to do so, subject to the following conditions:                      ~
   ~                                                                               ~
   ~ The above copyright notice and this permission notice shall be included in    ~
   ~ all copies or substantial portions of the Software.                           ~
   ~                                                                               ~
   ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR    ~
   ~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,      ~
   ~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE   ~
   ~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER        ~
   ~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ~
   ~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN     ~
   ~ THE SOFTWARE.                                                                 ~
   ~                                                                               ~
   ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  */
  package org.miaixz.bus.gitlab.models;
  
  import java.io.Serializable;
  import java.util.Date;
  
  import org.miaixz.bus.gitlab.support.JacksonJson;
  import java.io.Serial;
  
  public class Pipeline implements Serializable {
  
      @Serial
      private static final long serialVersionUID = 2852269321958L;
  
      private Long id;
      private Long iid;
      private Long projectId;
      private PipelineStatus status;
      private String source;
      private String ref;
      private String sha;
      private String beforeSha;
      private Boolean tag;
      private String yamlErrors;
      private User user;
      private Date createdAt;
      private Date updatedAt;
      private Date startedAt;
      private Date finishedAt;
      private Date committedAt;
      private String coverage;
      private Integer duration;
      private Float queuedDuration;
      private String webUrl;
      private DetailedStatus detailedStatus;
      private String name;
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public Long getIid() {
          return iid;
      }
  
      public void setIid(Long iid) {
          this.iid = iid;
      }
  
      public Long getProjectId() {
          return projectId;
      }
  
      public void setProjectId(Long projectId) {
          this.projectId = projectId;
      }
  
      public PipelineStatus getStatus() {
          return status;
      }
  
      public void setStatus(PipelineStatus status) {
          this.status = status;
      }
  
      public String getSource() {
          return source;
      }
  
      public void setSource(String source) {
          this.source = source;
      }
  
      public String getRef() {
          return ref;
      }
  
      public void setRef(String ref) {
          this.ref = ref;
      }
  
      public String getSha() {
          return sha;
      }
  
      public void setSha(String sha) {
          this.sha = sha;
      }
  
      public String getBeforeSha() {
          return beforeSha;
      }
  
      public void setBeforeSha(String beforeSha) {
          this.beforeSha = beforeSha;
      }
  
      public Boolean getTag() {
          return tag;
      }
  
      public void setTag(Boolean tag) {
          this.tag = tag;
      }
  
      public String getYamlErrors() {
          return yamlErrors;
      }
  
      public void setYamlErrors(String yamlErrors) {
          this.yamlErrors = yamlErrors;
      }
  
      public User getUser() {
          return user;
      }
  
      public void setUser(User user) {
          this.user = user;
      }
  
      public Date getCreatedAt() {
          return createdAt;
      }
  
      public void setCreatedAt(Date createdAt) {
          this.createdAt = createdAt;
      }
  
      public Date getUpdatedAt() {
          return updatedAt;
      }
  
      public void setUpdatedAt(Date updatedAt) {
          this.updatedAt = updatedAt;
      }
  
      public Date getStartedAt() {
          return startedAt;
      }
  
      public void setStartedAt(Date startedAt) {
          this.startedAt = startedAt;
      }
  
      public Date getFinishedAt() {
          return finishedAt;
      }
  
      public void setFinishedAt(Date finishedAt) {
          this.finishedAt = finishedAt;
      }
  
      public Date getCommittedAt() {
          return committedAt;
      }
  
      public void setCommittedAt(Date committedAt) {
          this.committedAt = committedAt;
      }
  
      public String getCoverage() {
          return coverage;
      }
  
      public void setCoverage(String coverage) {
          this.coverage = coverage;
      }
  
      public Integer getDuration() {
          return duration;
      }
  
      public void setDuration(Integer duration) {
          this.duration = duration;
      }
  
      public Float getQueuedDuration() {
          return queuedDuration;
      }
  
      public void setQueuedDuration(Float queuedDuration) {
          this.queuedDuration = queuedDuration;
      }
  
      public String getWebUrl() {
          return webUrl;
      }
  
      public void setWebUrl(String webUrl) {
          this.webUrl = webUrl;
      }
  
      public DetailedStatus getDetailedStatus() {
          return detailedStatus;
      }
  
      public void setDetailedStatus(DetailedStatus detailedStatus) {
          this.detailedStatus = detailedStatus;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      @Override
      public String toString() {
          return (JacksonJson.toJsonString(this));
      }
  
  }
  