package io.flow.github.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Boolean; import java.lang.Long; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.5.10 * User agent: apibuilder app.apibuilder.io/flow/github/0.5.10/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 Repository { @NotNull protected Long id; @NotNull protected User owner; @NotNull protected String name; @NotNull protected String fullName; @NotNull protected Boolean private_; protected String description; @NotNull protected String url; @NotNull protected String htmlUrl; @NotNull protected String defaultBranch; public Repository(Long id, User owner, String name, String fullName, Boolean private_, String description, String url, String htmlUrl, String defaultBranch) { this.id = id; this.owner = owner; this.name = name; this.fullName = fullName; this.private_ = private_; this.description = description; this.url = url; this.htmlUrl = htmlUrl; this.defaultBranch = defaultBranch; } public Repository() { } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public User getOwner() { return owner; } public void setOwner(User owner) { this.owner = owner; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getFullName() { return fullName; } public void setFullName(String fullName) { this.fullName = fullName; } public Boolean getPrivate() { return private_; } public void setPrivate(Boolean private_) { this.private_ = private_; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getHtmlUrl() { return htmlUrl; } public void setHtmlUrl(String htmlUrl) { this.htmlUrl = htmlUrl; } public String getDefaultBranch() { return defaultBranch; } public void setDefaultBranch(String defaultBranch) { this.defaultBranch = defaultBranch; } }