All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liberologico.cloudesire.cmw.model.dto.ApplicationDTO Maven / Gradle / Ivy

The newest version!
package com.liberologico.cloudesire.cmw.model.dto;

import javax.validation.Valid;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ApplicationDTO
{
    private Integer id;

    @Deprecated
    private List endpoint;
    @Valid
    private UrlEntityDTO applicationFile;
    @Valid
    private List availableVersions;
    private String name;
    private List metricEndpoints;
    private Map environment = new HashMap<>();

    public Integer getId()
    {
        return id;
    }

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

    public UrlEntityDTO getApplicationFile()
    {
        return applicationFile;
    }

    public void setApplicationFile( UrlEntityDTO applicationFile )
    {
        this.applicationFile = applicationFile;
    }

    public String getName()
    {
        return name;
    }

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

    @Deprecated
    public List getEndpoint()
    {
        return endpoint;
    }

    @Deprecated
    public void setEndpoint( List endpoint )
    {
        this.endpoint = endpoint;
    }

    public List getAvailableVersions()
    {
        return availableVersions;
    }

    public void setAvailableVersions( List availableVersions )
    {
        this.availableVersions = availableVersions;
    }

    public List getMetricEndpoints()
    {
        return metricEndpoints;
    }

    public void setMetricEndpoints( List metricEndpoints )
    {
        this.metricEndpoints = metricEndpoints;
    }

    public Map getEnvironment()
    {
        return environment;
    }

    public void setEnvironment( Map environment )
    {
        this.environment = environment;
    }

    @Override
    public String toString()
    {
        return "ApplicationDTO{" +
                "id=" + id +
                ", endpoint=" + endpoint +
                ", applicationFile=" + applicationFile +
                ", availableVersions=" + availableVersions +
                ", name='" + name + '\'' +
                ", metricEndpoints=" + metricEndpoints +
                ", environment=" + environment +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy