1 package io.apicurio.registry.maven;
2
3 import io.apicurio.registry.rest.v3.beans.IfArtifactExists;
4
5 import java.io.File;
6 import java.util.List;
7
8 public class RegisterArtifact {
9
10 private String groupId;
11 private String artifactId;
12 private String version;
13 private String artifactType;
14 private File file;
15 private IfArtifactExists ifExists;
16 private Boolean canonicalize;
17 private Boolean minify;
18 private Boolean analyzeDirectory;
19 private Boolean autoRefs;
20 private Boolean isDraft;
21 private String contentType;
22 private List<RegisterArtifactReference> references;
23 private List<ExistingReference> existingReferences;
24
25
26
27
28 public RegisterArtifact() {
29 }
30
31
32
33
34 public String getGroupId() {
35 return groupId;
36 }
37
38
39
40
41 public void setGroupId(String groupId) {
42 this.groupId = groupId;
43 }
44
45
46
47
48 public String getArtifactId() {
49 return artifactId;
50 }
51
52
53
54
55 public void setArtifactId(String artifactId) {
56 this.artifactId = artifactId;
57 }
58
59
60
61
62 public File getFile() {
63 return file;
64 }
65
66
67
68
69 public void setFile(File file) {
70 this.file = file;
71 }
72
73
74
75
76 public IfArtifactExists getIfExists() {
77 return ifExists;
78 }
79
80
81
82
83 public void setIfExists(IfArtifactExists ifExists) {
84 this.ifExists = ifExists;
85 }
86
87
88
89
90 public Boolean getCanonicalize() {
91 return canonicalize;
92 }
93
94
95
96
97 public void setCanonicalize(Boolean canonicalize) {
98 this.canonicalize = canonicalize;
99 }
100
101
102
103
104 public Boolean getMinify() {
105 return minify;
106 }
107
108
109
110
111 public void setMinify(Boolean minify) {
112 this.minify = minify;
113 }
114
115
116
117
118 public String getArtifactType() {
119 return artifactType;
120 }
121
122
123
124
125 public void setArtifactType(String artifactType) {
126 this.artifactType = artifactType;
127 }
128
129
130
131
132 public String getVersion() {
133 return version;
134 }
135
136
137
138
139 public void setVersion(String version) {
140 this.version = version;
141 }
142
143
144
145
146 public String getContentType() {
147 return contentType;
148 }
149
150
151
152
153 public void setContentType(String contentType) {
154 this.contentType = contentType;
155 }
156
157
158
159
160 public List<RegisterArtifactReference> getReferences() {
161 return references;
162 }
163
164
165
166
167 public void setReferences(List<RegisterArtifactReference> references) {
168 this.references = references;
169 }
170
171 public Boolean getAnalyzeDirectory() {
172 return analyzeDirectory;
173 }
174
175 public void setAnalyzeDirectory(Boolean analyzeDirectory) {
176 this.analyzeDirectory = analyzeDirectory;
177 }
178
179 public Boolean getAutoRefs() {
180 return autoRefs;
181 }
182
183 public void setAutoRefs(Boolean autoRefs) {
184 this.autoRefs = autoRefs;
185 }
186
187 public Boolean getIsDraft() {
188 return isDraft;
189 }
190
191 public void setIsDraft(Boolean isDraft) {
192 this.isDraft = isDraft;
193 }
194
195 public List<ExistingReference> getExistingReferences() {
196 return existingReferences;
197 }
198
199 public void setExistingReferences(List<ExistingReference> existingReferences) {
200 this.existingReferences = existingReferences;
201 }
202 }