summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/StatusFileserver.java
diff options
context:
space:
mode:
authorManuel Bentele2021-12-23 15:13:52 +0100
committerManuel Bentele2021-12-23 15:13:52 +0100
commit14e7f8024066253b312b942b8f2f3491b5ef19d8 (patch)
treeb82e9017832621e24b9ee4952d1e27242a592574 /dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/StatusFileserver.java
parent[SERVER] Add Maven profile to generate server API automatically (diff)
downloadtutor-module-feature/dsmd-openapi.tar.gz
tutor-module-feature/dsmd-openapi.tar.xz
tutor-module-feature/dsmd-openapi.zip
[SERVER] Add source code of autogenerated server APIfeature/dsmd-openapi
Diffstat (limited to 'dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/StatusFileserver.java')
-rw-r--r--dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/StatusFileserver.java109
1 files changed, 109 insertions, 0 deletions
diff --git a/dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/StatusFileserver.java b/dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/StatusFileserver.java
new file mode 100644
index 00000000..7a95dd74
--- /dev/null
+++ b/dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/StatusFileserver.java
@@ -0,0 +1,109 @@
+package org.openslx.bwlp.sat.api.model;
+
+import java.net.URI;
+import java.util.Objects;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import org.openapitools.jackson.nullable.JsonNullable;
+import java.time.OffsetDateTime;
+import javax.validation.Valid;
+import javax.validation.constraints.*;
+
+
+import java.util.*;
+
+/**
+ * StatusFileserver
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2021-12-23T15:12:42.264617368+01:00[Europe/Berlin]")
+public class StatusFileserver {
+ @JsonProperty("activeUploads")
+ private Integer activeUploads;
+
+ @JsonProperty("activeDownloads")
+ private Integer activeDownloads;
+
+ public StatusFileserver activeUploads(Integer activeUploads) {
+ this.activeUploads = activeUploads;
+ return this;
+ }
+
+ /**
+ * Get activeUploads
+ * @return activeUploads
+ */
+ @ApiModelProperty(value = "")
+
+
+ public Integer getActiveUploads() {
+ return activeUploads;
+ }
+
+ public void setActiveUploads(Integer activeUploads) {
+ this.activeUploads = activeUploads;
+ }
+
+ public StatusFileserver activeDownloads(Integer activeDownloads) {
+ this.activeDownloads = activeDownloads;
+ return this;
+ }
+
+ /**
+ * Get activeDownloads
+ * @return activeDownloads
+ */
+ @ApiModelProperty(value = "")
+
+
+ public Integer getActiveDownloads() {
+ return activeDownloads;
+ }
+
+ public void setActiveDownloads(Integer activeDownloads) {
+ this.activeDownloads = activeDownloads;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ StatusFileserver statusFileserver = (StatusFileserver) o;
+ return Objects.equals(this.activeUploads, statusFileserver.activeUploads) &&
+ Objects.equals(this.activeDownloads, statusFileserver.activeDownloads);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(activeUploads, activeDownloads);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class StatusFileserver {\n");
+
+ sb.append(" activeUploads: ").append(toIndentedString(activeUploads)).append("\n");
+ sb.append(" activeDownloads: ").append(toIndentedString(activeDownloads)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+}
+