package io.apibuilder.api.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.12.8 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-api/0.12.8/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 OrganizationForm { @NotNull protected String name; protected String key; @NotNull protected String namespace; @NotNull protected Visibility visibility; protected List domains; public OrganizationForm(String name, String key, String namespace, Visibility visibility, List domains) { this.name = name; this.key = key; this.namespace = namespace; this.visibility = visibility; this.domains = domains; } public OrganizationForm() { } public String getName() { return name; } public void setName(String name) { this.name = name; } /** * Defaults to a url friendy version of the name */ public String getKey() { return key; } public void setKey(String key) { this.key = key; } /** * Global namespace for this organization. */ public String getNamespace() { return namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } /** * Public organizations will be listed in apibuilder directory. Organizations with visibility organization will only be visible to members of that org. */ public Visibility getVisibility() { return visibility; } public void setVisibility(Visibility visibility) { this.visibility = visibility; } public List getDomains() { return domains; } public void setDomains(List domains) { this.domains = domains; } }