Skip to content

Commit 8c2c52d

Browse files
committed
Add missing model files.
1 parent 31f5150 commit 8c2c52d

File tree

2 files changed

+118
-0
lines changed

2 files changed

+118
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
package org.typesense.model;
2+
3+
4+
import io.swagger.v3.oas.annotations.media.Schema;
5+
import javax.xml.bind.annotation.XmlElement;
6+
import javax.xml.bind.annotation.XmlRootElement;
7+
import javax.xml.bind.annotation.XmlAccessType;
8+
import javax.xml.bind.annotation.XmlAccessorType;
9+
import javax.xml.bind.annotation.XmlType;
10+
import javax.xml.bind.annotation.XmlEnum;
11+
import javax.xml.bind.annotation.XmlEnumValue;
12+
import com.fasterxml.jackson.annotation.JsonProperty;
13+
import com.fasterxml.jackson.annotation.JsonValue;
14+
import com.fasterxml.jackson.annotation.JsonCreator;
15+
16+
public class InlineResponse2002 {
17+
18+
@Schema(description = "")
19+
private String version = null;
20+
/**
21+
* Get version
22+
* @return version
23+
**/
24+
@JsonProperty("version")
25+
public String getVersion() {
26+
return version;
27+
}
28+
29+
public void setVersion(String version) {
30+
this.version = version;
31+
}
32+
33+
public InlineResponse2002 version(String version) {
34+
this.version = version;
35+
return this;
36+
}
37+
38+
39+
@Override
40+
public String toString() {
41+
StringBuilder sb = new StringBuilder();
42+
sb.append("class InlineResponse2002 {\n");
43+
44+
sb.append(" version: ").append(toIndentedString(version)).append("\n");
45+
sb.append("}");
46+
return sb.toString();
47+
}
48+
49+
/**
50+
* Convert the given object to string with each line indented by 4 spaces
51+
* (except the first line).
52+
*/
53+
private static String toIndentedString(java.lang.Object o) {
54+
if (o == null) {
55+
return "null";
56+
}
57+
return o.toString().replace("\n", "\n ");
58+
}
59+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
package org.typesense.model;
2+
3+
4+
import io.swagger.v3.oas.annotations.media.Schema;
5+
import javax.xml.bind.annotation.XmlElement;
6+
import javax.xml.bind.annotation.XmlRootElement;
7+
import javax.xml.bind.annotation.XmlAccessType;
8+
import javax.xml.bind.annotation.XmlAccessorType;
9+
import javax.xml.bind.annotation.XmlType;
10+
import javax.xml.bind.annotation.XmlEnum;
11+
import javax.xml.bind.annotation.XmlEnumValue;
12+
import com.fasterxml.jackson.annotation.JsonProperty;
13+
import com.fasterxml.jackson.annotation.JsonValue;
14+
import com.fasterxml.jackson.annotation.JsonCreator;
15+
16+
public class UpdateDocumentsParameters {
17+
18+
@Schema(example = "num_employees:>100 && country: [USA, UK]", description = "")
19+
private String filterBy = null;
20+
/**
21+
* Get filterBy
22+
* @return filterBy
23+
**/
24+
@JsonProperty("filter_by")
25+
public String getFilterBy() {
26+
return filterBy;
27+
}
28+
29+
public void setFilterBy(String filterBy) {
30+
this.filterBy = filterBy;
31+
}
32+
33+
public UpdateDocumentsParameters filterBy(String filterBy) {
34+
this.filterBy = filterBy;
35+
return this;
36+
}
37+
38+
39+
@Override
40+
public String toString() {
41+
StringBuilder sb = new StringBuilder();
42+
sb.append("class UpdateDocumentsParameters {\n");
43+
44+
sb.append(" filterBy: ").append(toIndentedString(filterBy)).append("\n");
45+
sb.append("}");
46+
return sb.toString();
47+
}
48+
49+
/**
50+
* Convert the given object to string with each line indented by 4 spaces
51+
* (except the first line).
52+
*/
53+
private static String toIndentedString(java.lang.Object o) {
54+
if (o == null) {
55+
return "null";
56+
}
57+
return o.toString().replace("\n", "\n ");
58+
}
59+
}

0 commit comments

Comments
 (0)