package de.nccloud.registry.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1 * User agent: apibuilder app.apibuilder.io/nccloud/registry-api/0.0.1/java_aws_lambda_pojo_client * * WARNING: not all features (notably unions) and data types work with the java generator yet. * Java POJO generator is designed to be used with AWS Lambdas. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact daniel.kirby@gilt.com * * A single available service. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Service { @NotNull protected String name; @NotNull protected String version; @NotNull protected ServiceState state; @NotNull protected ServiceType type; @NotNull protected String uri; protected String title; protected String description; public Service(String name, String version, ServiceState state, ServiceType type, String uri, String title, String description) { this.name = name; this.version = version; this.state = state; this.type = type; this.uri = uri; this.title = title; this.description = description; } public Service() { } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } public ServiceState getState() { return state; } public void setState(ServiceState state) { this.state = state; } public ServiceType getType() { return type; } public void setType(ServiceType type) { this.type = type; } /** * URI under which this service is deployed. */ public String getUri() { return uri; } public void setUri(String uri) { this.uri = uri; } /** * A human-readable title of the service. */ public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } /** * A human-readable description of the service. */ public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } }