@@ -39,10 +39,10 @@ public class CreateDownloadAlphaInput {
39
39
@ SerializedName (SERIALIZED_NAME_WORKSPACE_ID )
40
40
private String workspaceId ;
41
41
42
- public static final String SERIALIZED_NAME_START_TIME = "startTime " ;
42
+ public static final String SERIALIZED_NAME_HOUR = "hour " ;
43
43
44
- @ SerializedName (SERIALIZED_NAME_START_TIME )
45
- private String startTime ;
44
+ @ SerializedName (SERIALIZED_NAME_HOUR )
45
+ private String hour ;
46
46
47
47
public CreateDownloadAlphaInput () {}
48
48
@@ -86,25 +86,25 @@ public void setWorkspaceId(String workspaceId) {
86
86
this .workspaceId = workspaceId ;
87
87
}
88
88
89
- public CreateDownloadAlphaInput startTime (String startTime ) {
89
+ public CreateDownloadAlphaInput hour (String hour ) {
90
90
91
- this .startTime = startTime ;
91
+ this .hour = hour ;
92
92
return this ;
93
93
}
94
94
95
95
/**
96
- * The ISO8601 formatted timestamp corresponding to the beginning of the time range. Currently,
97
- * there is a month of data retained.
96
+ * The ISO8601 formatted timestamp corresponding to a specific hour and day to retrieve data
97
+ * for. E.g.: 2025-05-07T23:00:00Z Objects are bucketed by hour and a month of data is retained.
98
98
*
99
- * @return startTime
99
+ * @return hour
100
100
*/
101
101
@ javax .annotation .Nonnull
102
- public String getStartTime () {
103
- return startTime ;
102
+ public String getHour () {
103
+ return hour ;
104
104
}
105
105
106
- public void setStartTime (String startTime ) {
107
- this .startTime = startTime ;
106
+ public void setHour (String hour ) {
107
+ this .hour = hour ;
108
108
}
109
109
110
110
@ Override
@@ -118,12 +118,12 @@ public boolean equals(Object o) {
118
118
CreateDownloadAlphaInput createDownloadAlphaInput = (CreateDownloadAlphaInput ) o ;
119
119
return Objects .equals (this .collectionId , createDownloadAlphaInput .collectionId )
120
120
&& Objects .equals (this .workspaceId , createDownloadAlphaInput .workspaceId )
121
- && Objects .equals (this .startTime , createDownloadAlphaInput .startTime );
121
+ && Objects .equals (this .hour , createDownloadAlphaInput .hour );
122
122
}
123
123
124
124
@ Override
125
125
public int hashCode () {
126
- return Objects .hash (collectionId , workspaceId , startTime );
126
+ return Objects .hash (collectionId , workspaceId , hour );
127
127
}
128
128
129
129
@ Override
@@ -132,7 +132,7 @@ public String toString() {
132
132
sb .append ("class CreateDownloadAlphaInput {\n " );
133
133
sb .append (" collectionId: " ).append (toIndentedString (collectionId )).append ("\n " );
134
134
sb .append (" workspaceId: " ).append (toIndentedString (workspaceId )).append ("\n " );
135
- sb .append (" startTime : " ).append (toIndentedString (startTime )).append ("\n " );
135
+ sb .append (" hour : " ).append (toIndentedString (hour )).append ("\n " );
136
136
sb .append ("}" );
137
137
return sb .toString ();
138
138
}
@@ -156,13 +156,13 @@ private String toIndentedString(Object o) {
156
156
openapiFields = new HashSet <String >();
157
157
openapiFields .add ("collectionId" );
158
158
openapiFields .add ("workspaceId" );
159
- openapiFields .add ("startTime " );
159
+ openapiFields .add ("hour " );
160
160
161
161
// a set of required properties/fields (JSON key names)
162
162
openapiRequiredFields = new HashSet <String >();
163
163
openapiRequiredFields .add ("collectionId" );
164
164
openapiRequiredFields .add ("workspaceId" );
165
- openapiRequiredFields .add ("startTime " );
165
+ openapiRequiredFields .add ("hour " );
166
166
}
167
167
168
168
/**
@@ -219,12 +219,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
219
219
+ " string but got `%s`" ,
220
220
jsonObj .get ("workspaceId" ).toString ()));
221
221
}
222
- if (!jsonObj .get ("startTime " ).isJsonPrimitive ()) {
222
+ if (!jsonObj .get ("hour " ).isJsonPrimitive ()) {
223
223
throw new IllegalArgumentException (
224
224
String .format (
225
- "Expected the field `startTime ` to be a primitive type in the JSON"
226
- + " string but got `%s`" ,
227
- jsonObj .get ("startTime " ).toString ()));
225
+ "Expected the field `hour ` to be a primitive type in the JSON string "
226
+ + " but got `%s`" ,
227
+ jsonObj .get ("hour " ).toString ()));
228
228
}
229
229
}
230
230
0 commit comments