-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathParameter.java
More file actions
68 lines (52 loc) · 1.24 KB
/
Parameter.java
File metadata and controls
68 lines (52 loc) · 1.24 KB
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
package com.apiflows.model;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Parameter {
private String name;
private String in;
private Object value;
private String reference;
@JsonProperty("name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@JsonProperty("in")
public String getIn() {
return in;
}
public void setIn(String in) {
this.in = in;
}
@JsonProperty("value")
public Object getValue() {
return value;
}
public void setValue(Object value) {
this.value = value;
}
@JsonProperty("reference")
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public Parameter name(String name) {
this.name = name;
return this;
}
public Parameter in(String in) {
this.in = in;
return this;
}
public Parameter value(Object value) {
this.value = value;
return this;
}
public Parameter reference(String reference) {
this.reference = reference;
return this;
}
}