package io.apibuilder.postman.collection.v21.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; 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 Item implements Items { protected String id; protected String name; protected Description description; protected List variable; protected List event; @NotNull protected Request request; protected List response; public Item(String id, String name, Description description, List variable, List event, Request request, List response) { this.id = id; this.name = name; this.description = description; this.variable = variable; this.event = event; this.request = request; this.response = response; } public Item() { } /** * A unique ID that is used to identify collections internally */ public String getId() { return id; } public void setId(String id) { this.id = id; } /** * A human readable identifier for the current item. */ public String getName() { return name; } public void setName(String name) { this.name = name; } /** * 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; } /** * 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. */ public List getVariable() { return variable; } public void setVariable(List variable) { this.variable = variable; } /** * 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; } public Request getRequest() { return request; } public void setRequest(Request request) { this.request = request; } public List getResponse() { return response; } public void setResponse(List response) { this.response = response; } }