|
| 1 | +package org.gitlab4j.api.models; |
| 2 | + |
| 3 | +import java.io.Serializable; |
| 4 | +import java.util.Date; |
| 5 | + |
| 6 | +import org.gitlab4j.models.utils.JacksonJson; |
| 7 | + |
| 8 | +public class PullMirror implements Serializable { |
| 9 | + private static final long serialVersionUID = 1L; |
| 10 | + |
| 11 | + private Long id; |
| 12 | + private String lastError; |
| 13 | + private Date lastSuccessfulUpdateAt; |
| 14 | + private Date lastUpdateAt; |
| 15 | + private Date lastUpdateStartedAt; |
| 16 | + private String updatedStatus; |
| 17 | + private String url; |
| 18 | + private Boolean enabled; |
| 19 | + private Boolean mirrorTriggerBuilds; |
| 20 | + private Boolean onlyMirrorProtectedBranches; |
| 21 | + private Boolean mirrorOverwritesDivergedBranches; |
| 22 | + private String mirrorBranchRegex; |
| 23 | + |
| 24 | + public Long getId() { |
| 25 | + return id; |
| 26 | + } |
| 27 | + |
| 28 | + public void setId(Long id) { |
| 29 | + this.id = id; |
| 30 | + } |
| 31 | + |
| 32 | + public String getLastError() { |
| 33 | + return lastError; |
| 34 | + } |
| 35 | + |
| 36 | + public void setLastError(String lastError) { |
| 37 | + this.lastError = lastError; |
| 38 | + } |
| 39 | + |
| 40 | + public Date getLastSuccessfulUpdateAt() { |
| 41 | + return lastSuccessfulUpdateAt; |
| 42 | + } |
| 43 | + |
| 44 | + public void setLastSuccessfulUpdateAt(Date lastSuccessfulUpdateAt) { |
| 45 | + this.lastSuccessfulUpdateAt = lastSuccessfulUpdateAt; |
| 46 | + } |
| 47 | + |
| 48 | + public Date getLastUpdateAt() { |
| 49 | + return lastUpdateAt; |
| 50 | + } |
| 51 | + |
| 52 | + public void setLastUpdateAt(Date lastUpdateAt) { |
| 53 | + this.lastUpdateAt = lastUpdateAt; |
| 54 | + } |
| 55 | + |
| 56 | + public Date getLastUpdateStartedAt() { |
| 57 | + return lastUpdateStartedAt; |
| 58 | + } |
| 59 | + |
| 60 | + public void setLastUpdateStartedAt(Date lastUpdateStartedAt) { |
| 61 | + this.lastUpdateStartedAt = lastUpdateStartedAt; |
| 62 | + } |
| 63 | + |
| 64 | + public String getUpdatedStatus() { |
| 65 | + return updatedStatus; |
| 66 | + } |
| 67 | + |
| 68 | + public void setUpdatedStatus(String updatedStatus) { |
| 69 | + this.updatedStatus = updatedStatus; |
| 70 | + } |
| 71 | + |
| 72 | + public String getUrl() { |
| 73 | + return url; |
| 74 | + } |
| 75 | + |
| 76 | + public void setUrl(String url) { |
| 77 | + this.url = url; |
| 78 | + } |
| 79 | + |
| 80 | + public Boolean getEnabled() { |
| 81 | + return enabled; |
| 82 | + } |
| 83 | + |
| 84 | + public void setEnabled(Boolean enabled) { |
| 85 | + this.enabled = enabled; |
| 86 | + } |
| 87 | + |
| 88 | + public Boolean getMirrorTriggerBuilds() { |
| 89 | + return mirrorTriggerBuilds; |
| 90 | + } |
| 91 | + |
| 92 | + public void setMirrorTriggerBuilds(Boolean mirrorTriggerBuilds) { |
| 93 | + this.mirrorTriggerBuilds = mirrorTriggerBuilds; |
| 94 | + } |
| 95 | + |
| 96 | + public Boolean getOnlyMirrorProtectedBranches() { |
| 97 | + return onlyMirrorProtectedBranches; |
| 98 | + } |
| 99 | + |
| 100 | + public void setOnlyMirrorProtectedBranches(Boolean onlyMirrorProtectedBranches) { |
| 101 | + this.onlyMirrorProtectedBranches = onlyMirrorProtectedBranches; |
| 102 | + } |
| 103 | + |
| 104 | + public Boolean getMirrorOverwritesDivergedBranches() { |
| 105 | + return mirrorOverwritesDivergedBranches; |
| 106 | + } |
| 107 | + |
| 108 | + public void setMirrorOverwritesDivergedBranches(Boolean mirrorOverwritesDivergedBranches) { |
| 109 | + this.mirrorOverwritesDivergedBranches = mirrorOverwritesDivergedBranches; |
| 110 | + } |
| 111 | + |
| 112 | + public String getMirrorBranchRegex() { |
| 113 | + return mirrorBranchRegex; |
| 114 | + } |
| 115 | + |
| 116 | + public void setMirrorBranchRegex(String mirrorBranchRegex) { |
| 117 | + this.mirrorBranchRegex = mirrorBranchRegex; |
| 118 | + } |
| 119 | + |
| 120 | + @Override |
| 121 | + public String toString() { |
| 122 | + return JacksonJson.toJsonString(this); |
| 123 | + } |
| 124 | +} |
0 commit comments