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

de.cinovo.cloudconductor.api.model.Host Maven / Gradle / Ivy

There is a newer version: 3.12
Show newest version
package de.cinovo.cloudconductor.api.model;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo.As;
import com.fasterxml.jackson.annotation.JsonTypeInfo.Id;
import de.cinovo.cloudconductor.api.enums.ServiceState;
import de.cinovo.cloudconductor.api.interfaces.INamed;

import java.util.Map;

/**
 * Copyright 2017 Cinovo AG
*
* * @author psigloch */ @JsonTypeInfo(include = As.PROPERTY, use = Id.CLASS) public class Host implements INamed { private String name; private String agent; private String uuid; private String description; private String template; private Long lastSeen; private Map services; private Map packages; /** * @return the name */ @Override public String getName() { return this.name; } /** * @param name the name to set */ public void setName(String name) { this.name = name; } /** * @return the agent */ public String getAgent() { return this.agent; } /** * @param agent the agent to set */ public void setAgent(String agent) { this.agent = agent; } /** * @return the description */ public String getDescription() { return this.description; } /** * @param description the description to set */ public void setDescription(String description) { this.description = description; } /** * @return the template */ public String getTemplate() { return this.template; } /** * @param template the template to set */ public void setTemplate(String template) { this.template = template; } /** * @return the lastSeen */ public Long getLastSeen() { return this.lastSeen; } /** * @param lastSeen the lastSeen to set */ public void setLastSeen(Long lastSeen) { this.lastSeen = lastSeen; } /** * @return the services */ public Map getServices() { return this.services; } /** * @param services the services to set */ public void setServices(Map services) { this.services = services; } /** * @return the packages */ public Map getPackages() { return this.packages; } /** * @param packages the packages to set */ public void setPackages(Map packages) { this.packages = packages; } /** * @return the uuid */ public String getUuid() { return this.uuid; } /** * @param uuid the uuid to set */ public void setUuid(String uuid) { this.uuid = uuid; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy