Blame view

src/main/java/etunicorn/generated/model/UpdateEvenementByIdRequest.java 2.91 KB
6ae819f3   badetitou   Go to JSON
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
  
  package etunicorn.generated.model;
  
  import java.util.HashMap;
  import java.util.Map;
  import com.fasterxml.jackson.annotation.JsonAnyGetter;
  import com.fasterxml.jackson.annotation.JsonAnySetter;
  import com.fasterxml.jackson.annotation.JsonIgnore;
  import com.fasterxml.jackson.annotation.JsonInclude;
  import com.fasterxml.jackson.annotation.JsonProperty;
  import com.fasterxml.jackson.annotation.JsonPropertyOrder;
  import org.apache.commons.lang.builder.EqualsBuilder;
  import org.apache.commons.lang.builder.HashCodeBuilder;
  import org.apache.commons.lang.builder.ToStringBuilder;
  
  @JsonInclude(JsonInclude.Include.NON_NULL)
  @JsonPropertyOrder({
      "nom",
      "prix",
      "date"
  })
  public class UpdateEvenementByIdRequest {
  
      /**
       * 
       */
      @JsonProperty("nom")
      private String nom;
      /**
       * 
       */
      @JsonProperty("prix")
      private Float prix;
      /**
       * 
       */
      @JsonProperty("date")
e0956603   badetitou   Raml with java.ut...
38
      private String date;
6ae819f3   badetitou   Go to JSON
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
      @JsonIgnore
      private Map<String, Object> additionalProperties = new HashMap<String, Object>();
  
      /**
       * 
       * @return
       *     The nom
       */
      @JsonProperty("nom")
      public String getNom() {
          return nom;
      }
  
      /**
       * 
       * @param nom
       *     The nom
       */
      @JsonProperty("nom")
      public void setNom(String nom) {
          this.nom = nom;
      }
  
      /**
       * 
       * @return
       *     The prix
       */
      @JsonProperty("prix")
      public Float getPrix() {
          return prix;
      }
  
      /**
       * 
       * @param prix
       *     The prix
       */
      @JsonProperty("prix")
      public void setPrix(Float prix) {
          this.prix = prix;
      }
  
      /**
       * 
       * @return
       *     The date
       */
      @JsonProperty("date")
e0956603   badetitou   Raml with java.ut...
88
      public String getDate() {
6ae819f3   badetitou   Go to JSON
89
90
91
92
93
94
95
96
97
          return date;
      }
  
      /**
       * 
       * @param date
       *     The date
       */
      @JsonProperty("date")
e0956603   badetitou   Raml with java.ut...
98
      public void setDate(String date) {
6ae819f3   badetitou   Go to JSON
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
          this.date = date;
      }
  
      @Override
      public String toString() {
          return ToStringBuilder.reflectionToString(this);
      }
  
      @JsonAnyGetter
      public Map<String, Object> getAdditionalProperties() {
          return this.additionalProperties;
      }
  
      @JsonAnySetter
      public void setAdditionalProperty(String name, Object value) {
          this.additionalProperties.put(name, value);
      }
  
      @Override
      public int hashCode() {
          return new HashCodeBuilder().append(nom).append(prix).append(date).append(additionalProperties).toHashCode();
      }
  
      @Override
      public boolean equals(Object other) {
          if (other == this) {
              return true;
          }
          if ((other instanceof UpdateEvenementByIdRequest) == false) {
              return false;
          }
          UpdateEvenementByIdRequest rhs = ((UpdateEvenementByIdRequest) other);
          return new EqualsBuilder().append(nom, rhs.nom).append(prix, rhs.prix).append(date, rhs.date).append(additionalProperties, rhs.additionalProperties).isEquals();
      }
  
  }