package io.apibuilder.postman.collection.v21.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.List; 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 Collection { @NotNull protected Info info; @NotNull protected List item; @NotNull protected List event; @NotNull protected List variable; protected Auth auth; public Collection(Info info, List item, List event, List variable, Auth auth) { this.info = info; this.item = item; this.event = event; this.variable = variable; this.auth = auth; } public Collection() { } /** * Detailed description of the info block */ public Info getInfo() { return info; } public void setInfo(Info info) { this.info = info; } /** * Items are the basic unit for a Postman collection. You can think of them as corresponding to a single API endpoint. Each Item has one request and may have multiple API responses associated with it. */ public List getItem() { return item; } public void setItem(List item) { this.item = item; } /** * Postman allows you to configure scripts to run when specific events occur. These scripts are stored here, and can be referenced in the collection by their ID. */ public List getEvent() { return event; } public void setEvent(List event) { this.event = event; } /** * Collection variables allow you to define a set of variables, that are a part of the collection, as opposed to environments, which are separate entities.Note: Collection variables must not contain any sensitive information. */ public List getVariable() { return variable; } public void setVariable(List variable) { this.variable = variable; } /** * Represents authentication helpers provided by Postman */ public Auth getAuth() { return auth; } public void setAuth(Auth auth) { this.auth = auth; } }