-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathArgument.java
More file actions
56 lines (41 loc) · 1.55 KB
/
Copy pathArgument.java
File metadata and controls
56 lines (41 loc) · 1.55 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
package org.typeapi.model;
import com.fasterxml.jackson.annotation.*;
@JsonClassDescription("Describes an argument passed to an operation.")
public class Argument {
@JsonPropertyDescription("The content type to use when the payload cannot be described by a TypeSchema.")
@JsonProperty("contentType")
private String contentType;
@JsonPropertyDescription("Specifies where the argument value is located: path, query, header, or body. If set to path, the operation path must include a matching path variable.")
@JsonProperty("in")
private String in;
@JsonPropertyDescription("Optional name of the parameter in the path, query, or header. If omitted, the key of the arguments map is used.")
@JsonProperty("name")
private String name;
@JsonPropertyDescription("TypeSchema describing the structure of the argument payload.")
@JsonProperty("schema")
private org.typeschema.model.PropertyType schema;
public void setContentType(String contentType) {
this.contentType = contentType;
}
public String getContentType() {
return this.contentType;
}
public void setIn(String in) {
this.in = in;
}
public String getIn() {
return this.in;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return this.name;
}
public void setSchema(org.typeschema.model.PropertyType schema) {
this.schema = schema;
}
public org.typeschema.model.PropertyType getSchema() {
return this.schema;
}
}