wangmengmeng
2024-12-24 24432a361d5c6bd6f3d8c008693e9f1155d62517
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
package com.dji.sdk.cloudapi.map;
 
import com.dji.sdk.common.BaseModel;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
 
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.util.List;
 
/**
 * @author sean
 * @version 1.7
 * @date 2023/6/19
 */
@Schema(description = "BizCode: map_group_refresh. <p>When several elements have changed on the server end, such as drag an element on web end, the user end can be notified through WebSocket. " +
        "The downward parameter has the layer group_id. The user end can call \"*Obtain Map Element List*\" to refresh the element list through http after receiving the ID.</p>")
public class MapGroupRefreshWsResponse extends BaseModel {
 
    @JsonProperty("ids")
    @NotNull
    @Size(min = 1)
    @Schema(description = "group id collection", format = "uuid")
    private List<@Pattern(regexp = "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$") String> ids;
 
    public MapGroupRefreshWsResponse() {
    }
 
    @Override
    public String toString() {
        return "MapGroupRefreshWsResponse{" +
                "ids=" + ids +
                '}';
    }
 
    public List<String> getIds() {
        return ids;
    }
 
    public MapGroupRefreshWsResponse setIds(List<String> ids) {
        this.ids = ids;
        return this;
    }
}