package com.eactive.httpmockserver.client.dto;

import javax.validation.constraints.NotEmpty;
import java.util.ArrayList;
import java.util.List;

public class ApiCollectionDTO {

    private String id;

    @NotEmpty
    private String name;

    private List<ApiRequestDTO> apis = new ArrayList<>();

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setApis(List<ApiRequestDTO> apis) {
        this.apis = apis;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public List<ApiRequestDTO> getApis() {
        return apis;
    }
}
