package com.gilt.ionroller.api.v1.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Integer; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 1.0.1 * User agent: apibuilder app.apibuilder.io/gilt/ionroller-api/1.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 * * Mapping from port in Docker container to external host port */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class PortMapping { @NotNull protected Integer internal; @NotNull protected Integer external; public PortMapping(Integer internal, Integer external) { this.internal = internal; this.external = external; } public PortMapping() { } /** * Port to be forwarded from Docker container */ public Integer getInternal() { return internal; } public void setInternal(Integer internal) { this.internal = internal; } /** * Port to be mapped to on external hosts */ public Integer getExternal() { return external; } public void setExternal(Integer external) { this.external = external; } }