Skip to content

Commit 85239e9

Browse files
committed
undo remove
1 parent 6b1d7a4 commit 85239e9

20 files changed

+2640
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
package com.algolia.model.analytics;
2+
3+
import com.google.gson.annotations.SerializedName;
4+
import java.util.Objects;
5+
6+
/** GetAverageClickPositionResponseDates */
7+
public class GetAverageClickPositionResponseDates {
8+
9+
@SerializedName("average")
10+
private Double average;
11+
12+
@SerializedName("clickCount")
13+
private Integer clickCount;
14+
15+
@SerializedName("date")
16+
private String date;
17+
18+
public GetAverageClickPositionResponseDates setAverage(Double average) {
19+
this.average = average;
20+
return this;
21+
}
22+
23+
/**
24+
* The average of all the click count event.
25+
*
26+
* @return average
27+
*/
28+
@javax.annotation.Nonnull
29+
public Double getAverage() {
30+
return average;
31+
}
32+
33+
public GetAverageClickPositionResponseDates setClickCount(Integer clickCount) {
34+
this.clickCount = clickCount;
35+
return this;
36+
}
37+
38+
/**
39+
* The number of click event.
40+
*
41+
* @return clickCount
42+
*/
43+
@javax.annotation.Nonnull
44+
public Integer getClickCount() {
45+
return clickCount;
46+
}
47+
48+
public GetAverageClickPositionResponseDates setDate(String date) {
49+
this.date = date;
50+
return this;
51+
}
52+
53+
/**
54+
* Date of the event.
55+
*
56+
* @return date
57+
*/
58+
@javax.annotation.Nonnull
59+
public String getDate() {
60+
return date;
61+
}
62+
63+
@Override
64+
public boolean equals(Object o) {
65+
if (this == o) {
66+
return true;
67+
}
68+
if (o == null || getClass() != o.getClass()) {
69+
return false;
70+
}
71+
GetAverageClickPositionResponseDates getAverageClickPositionResponseDates = (GetAverageClickPositionResponseDates) o;
72+
return (
73+
Objects.equals(this.average, getAverageClickPositionResponseDates.average) &&
74+
Objects.equals(this.clickCount, getAverageClickPositionResponseDates.clickCount) &&
75+
Objects.equals(this.date, getAverageClickPositionResponseDates.date)
76+
);
77+
}
78+
79+
@Override
80+
public int hashCode() {
81+
return Objects.hash(average, clickCount, date);
82+
}
83+
84+
@Override
85+
public String toString() {
86+
StringBuilder sb = new StringBuilder();
87+
sb.append("class GetAverageClickPositionResponseDates {\n");
88+
sb.append(" average: ").append(toIndentedString(average)).append("\n");
89+
sb.append(" clickCount: ").append(toIndentedString(clickCount)).append("\n");
90+
sb.append(" date: ").append(toIndentedString(date)).append("\n");
91+
sb.append("}");
92+
return sb.toString();
93+
}
94+
95+
/**
96+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
97+
*/
98+
private String toIndentedString(Object o) {
99+
if (o == null) {
100+
return "null";
101+
}
102+
return o.toString().replace("\n", "\n ");
103+
}
104+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
package com.algolia.model.analytics;
2+
3+
import com.google.gson.annotations.SerializedName;
4+
import java.util.ArrayList;
5+
import java.util.List;
6+
import java.util.Objects;
7+
8+
/** GetClickPositionsResponsePositions */
9+
public class GetClickPositionsResponsePositions {
10+
11+
@SerializedName("position")
12+
private List<Integer> position = new ArrayList<>();
13+
14+
@SerializedName("clickCount")
15+
private Integer clickCount;
16+
17+
public GetClickPositionsResponsePositions setPosition(List<Integer> position) {
18+
this.position = position;
19+
return this;
20+
}
21+
22+
public GetClickPositionsResponsePositions addPosition(Integer positionItem) {
23+
this.position.add(positionItem);
24+
return this;
25+
}
26+
27+
/**
28+
* Range of positions with the following pattern: - Positions from 1 to 10 included are displayed
29+
* in separated groups. - Positions from 11 to 20 included are grouped together. - Positions from
30+
* 21 and up are grouped together.
31+
*
32+
* @return position
33+
*/
34+
@javax.annotation.Nonnull
35+
public List<Integer> getPosition() {
36+
return position;
37+
}
38+
39+
public GetClickPositionsResponsePositions setClickCount(Integer clickCount) {
40+
this.clickCount = clickCount;
41+
return this;
42+
}
43+
44+
/**
45+
* The number of click event.
46+
*
47+
* @return clickCount
48+
*/
49+
@javax.annotation.Nonnull
50+
public Integer getClickCount() {
51+
return clickCount;
52+
}
53+
54+
@Override
55+
public boolean equals(Object o) {
56+
if (this == o) {
57+
return true;
58+
}
59+
if (o == null || getClass() != o.getClass()) {
60+
return false;
61+
}
62+
GetClickPositionsResponsePositions getClickPositionsResponsePositions = (GetClickPositionsResponsePositions) o;
63+
return (
64+
Objects.equals(this.position, getClickPositionsResponsePositions.position) &&
65+
Objects.equals(this.clickCount, getClickPositionsResponsePositions.clickCount)
66+
);
67+
}
68+
69+
@Override
70+
public int hashCode() {
71+
return Objects.hash(position, clickCount);
72+
}
73+
74+
@Override
75+
public String toString() {
76+
StringBuilder sb = new StringBuilder();
77+
sb.append("class GetClickPositionsResponsePositions {\n");
78+
sb.append(" position: ").append(toIndentedString(position)).append("\n");
79+
sb.append(" clickCount: ").append(toIndentedString(clickCount)).append("\n");
80+
sb.append("}");
81+
return sb.toString();
82+
}
83+
84+
/**
85+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
86+
*/
87+
private String toIndentedString(Object o) {
88+
if (o == null) {
89+
return "null";
90+
}
91+
return o.toString().replace("\n", "\n ");
92+
}
93+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
package com.algolia.model.analytics;
2+
3+
import com.google.gson.annotations.SerializedName;
4+
import java.util.Objects;
5+
6+
/** GetClickThroughRateResponseDates */
7+
public class GetClickThroughRateResponseDates {
8+
9+
@SerializedName("rate")
10+
private Double rate;
11+
12+
@SerializedName("clickCount")
13+
private Integer clickCount;
14+
15+
@SerializedName("trackedSearchCount")
16+
private Integer trackedSearchCount;
17+
18+
@SerializedName("date")
19+
private String date;
20+
21+
public GetClickThroughRateResponseDates setRate(Double rate) {
22+
this.rate = rate;
23+
return this;
24+
}
25+
26+
/**
27+
* The click-through rate.
28+
*
29+
* @return rate
30+
*/
31+
@javax.annotation.Nonnull
32+
public Double getRate() {
33+
return rate;
34+
}
35+
36+
public GetClickThroughRateResponseDates setClickCount(Integer clickCount) {
37+
this.clickCount = clickCount;
38+
return this;
39+
}
40+
41+
/**
42+
* The number of click event.
43+
*
44+
* @return clickCount
45+
*/
46+
@javax.annotation.Nonnull
47+
public Integer getClickCount() {
48+
return clickCount;
49+
}
50+
51+
public GetClickThroughRateResponseDates setTrackedSearchCount(Integer trackedSearchCount) {
52+
this.trackedSearchCount = trackedSearchCount;
53+
return this;
54+
}
55+
56+
/**
57+
* The number of tracked search click.
58+
*
59+
* @return trackedSearchCount
60+
*/
61+
@javax.annotation.Nonnull
62+
public Integer getTrackedSearchCount() {
63+
return trackedSearchCount;
64+
}
65+
66+
public GetClickThroughRateResponseDates setDate(String date) {
67+
this.date = date;
68+
return this;
69+
}
70+
71+
/**
72+
* Date of the event.
73+
*
74+
* @return date
75+
*/
76+
@javax.annotation.Nonnull
77+
public String getDate() {
78+
return date;
79+
}
80+
81+
@Override
82+
public boolean equals(Object o) {
83+
if (this == o) {
84+
return true;
85+
}
86+
if (o == null || getClass() != o.getClass()) {
87+
return false;
88+
}
89+
GetClickThroughRateResponseDates getClickThroughRateResponseDates = (GetClickThroughRateResponseDates) o;
90+
return (
91+
Objects.equals(this.rate, getClickThroughRateResponseDates.rate) &&
92+
Objects.equals(this.clickCount, getClickThroughRateResponseDates.clickCount) &&
93+
Objects.equals(this.trackedSearchCount, getClickThroughRateResponseDates.trackedSearchCount) &&
94+
Objects.equals(this.date, getClickThroughRateResponseDates.date)
95+
);
96+
}
97+
98+
@Override
99+
public int hashCode() {
100+
return Objects.hash(rate, clickCount, trackedSearchCount, date);
101+
}
102+
103+
@Override
104+
public String toString() {
105+
StringBuilder sb = new StringBuilder();
106+
sb.append("class GetClickThroughRateResponseDates {\n");
107+
sb.append(" rate: ").append(toIndentedString(rate)).append("\n");
108+
sb.append(" clickCount: ").append(toIndentedString(clickCount)).append("\n");
109+
sb.append(" trackedSearchCount: ").append(toIndentedString(trackedSearchCount)).append("\n");
110+
sb.append(" date: ").append(toIndentedString(date)).append("\n");
111+
sb.append("}");
112+
return sb.toString();
113+
}
114+
115+
/**
116+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
117+
*/
118+
private String toIndentedString(Object o) {
119+
if (o == null) {
120+
return "null";
121+
}
122+
return o.toString().replace("\n", "\n ");
123+
}
124+
}

0 commit comments

Comments
 (0)