package de.nccloud.common.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/common/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 * * Represents a link with some meta information. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class LinkObject implements Link { @NotNull protected String href; protected String title; protected String type; public LinkObject(String href, String title, String type) { this.href = href; this.title = title; this.type = type; } public LinkObject() { } /** * An URI-reference pointing to the links target. */ public String getHref() { return href; } public void setHref(String href) { this.href = href; } /** * A human-readable label for the link. */ public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } /** * Optional media type of the link's target. */ public String getType() { return type; } public void setType(String type) { this.type = type; } }