-
-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathParameter.java
More file actions
44 lines (36 loc) · 929 Bytes
/
Parameter.java
File metadata and controls
44 lines (36 loc) · 929 Bytes
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
package com.whatsapp.api.domain.messages;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.whatsapp.api.domain.messages.type.ParameterType;
/**
* The type Parameter.
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Parameter {
@JsonProperty("type")
private final ParameterType type;
@JsonProperty("parameter_name")
private String parameterName;
/**
* Instantiates a new Parameter.
*
* @param type the type
*/
protected Parameter(ParameterType type) {
this.type = type;
}
/**
* Gets type.
*
* @return the type
*/
public ParameterType getType() {
return type;
}
public String getParameterName() {
return parameterName;
}
public void setParameterName(String parameterName) {
this.parameterName = parameterName;
}
}