summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/StatusFileserver.java
blob: 7a95dd7485ae87401fbfb2c871d6710b4b908a69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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    ");
  }
}