This commit is contained in:
@@ -7,4 +7,10 @@ import lombok.Data;
|
||||
public class ImageSearchRequest {
|
||||
@JsonProperty("file_id")
|
||||
private String fileId;
|
||||
|
||||
@JsonProperty("page")
|
||||
private Integer page = 1;
|
||||
|
||||
@JsonProperty("page_size")
|
||||
private Integer pageSize = 10;
|
||||
}
|
||||
|
||||
@@ -42,4 +42,12 @@ public class YandexSearchResponse {
|
||||
@JsonProperty("host")
|
||||
private String host;
|
||||
}
|
||||
|
||||
private int page;
|
||||
|
||||
private int pageSize;
|
||||
|
||||
private int totalResults;
|
||||
|
||||
private int totalPages;
|
||||
}
|
||||
Reference in New Issue
Block a user