package com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.views;


import static com.sequenceiq.cloudbreak.doc.ModelDescriptions.HostGroupModelDescription.METADATA;
import static com.sequenceiq.cloudbreak.doc.ModelDescriptions.ID;
import static com.sequenceiq.cloudbreak.doc.ModelDescriptions.NAME;

import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.sequenceiq.common.model.JsonEntity;

import io.swagger.annotations.ApiModelProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class HostGroupViewV4Response implements JsonEntity {
    @ApiModelProperty(ID)
    private Long id;

    @ApiModelProperty(value = NAME, required = true)
    private String name;

    @ApiModelProperty(METADATA)
    private Set<HostMetadataViewV4Response> metadata = new HashSet<>();

    public Long getId() {
        return id;
    }

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

    public Set<HostMetadataViewV4Response> getMetadata() {
        return metadata;
    }

    public void setMetadata(Set<HostMetadataViewV4Response> metadata) {
        this.metadata = metadata;
    }

    public String getName() {
        return name;
    }

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