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; /** * 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 Url { protected String raw; protected String protocol; protected List host; protected List path; protected String port; protected List query; protected String hash; protected List variable; public Url(String raw, String protocol, List host, List path, String port, List query, String hash, List variable) { this.raw = raw; this.protocol = protocol; this.host = host; this.path = path; this.port = port; this.query = query; this.hash = hash; this.variable = variable; } public Url() { } /** * The string representation of the request URL, including the protocol, host, path, hash, query parameter(s) and path variable(s). */ public String getRaw() { return raw; } public void setRaw(String raw) { this.raw = raw; } /** * The protocol_ associated with the request, E.g: 'http' */ public String getProtocol() { return protocol; } public void setProtocol(String protocol) { this.protocol = protocol; } /** * The host for the URL, E.g: api.yourdomain.com. Can be stored as a string or as an array of strings. */ public List getHost() { return host; } public void setHost(List host) { this.host = host; } public List getPath() { return path; } public void setPath(List path) { this.path = path; } /** * The port number present in this URL. An empty value implies 80/443 depending on whether the protocol_ field contains http/https. */ public String getPort() { return port; } public void setPort(String port) { this.port = port; } public List getQuery() { return query; } public void setQuery(List query) { this.query = query; } /** * Contains the URL fragment (if any). Usually this is not transmitted over the network, but it could be useful to store this in some cases. */ public String getHash() { return hash; } public void setHash(String hash) { this.hash = hash; } /** * Postman supports path variables with the syntax /path/:variableName/to/somewhere. These variables are stored in this field. */ public List getVariable() { return variable; } public void setVariable(List variable) { this.variable = variable; } }