package io.apibuilder.postman.collection.v21.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.16.74 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-postman-collection-v2-1/0.16.74/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 * */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Info { @NotNull protected String name; protected String postmanId; protected Description description; protected String version; @NotNull protected String schema; public Info(String name, String postmanId, Description description, String version, String schema) { this.name = name; this.postmanId = postmanId; this.description = description; this.version = version; this.schema = schema; } public Info() { } /** * A collection's friendly name is defined by this field. You would want to set this field to a value that would allow you to easily identify this collection among a bunch of other collections, as such outlining its usage or content. */ public String getName() { return name; } public void setName(String name) { this.name = name; } /** * Every collection is identified by the unique value of this field. The value of this field is usually easiest to generate using a UID generator function. If you already have a collection, it is recommended that you maintain the same id since changing the id usually implies that is a different collection than it was originally.Note: This field exists for compatibility reasons with Collection Format V1. */ public String getPostmanId() { return postmanId; } public void setPostmanId(String postmanId) { this.postmanId = postmanId; } /** * A Description can be a raw text, or be an object, which holds the description along with its format. */ public Description getDescription() { return description; } public void setDescription(Description description) { this.description = description; } /** * Postman allows you to version your collections as they grow, and this field holds the version number. While optional, it is recommended that you use this field to its fullest extent! */ public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } /** * This should ideally hold a link to the Postman schema that is used to validate this collection. E.g: https://schema.getpostman.com/collection/v1 */ public String getSchema() { return schema; } public void setSchema(String schema) { this.schema = schema; } }