io.swagger.client.model.TemplateGroup Maven / Gradle / Ivy
/*
* DocxMerge
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.swagger.client.model;
import java.util.Objects;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.client.model.Group;
import io.swagger.client.model.Template;
import io.swagger.client.model.Tenant;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import org.threeten.bp.OffsetDateTime;
/**
* TemplateGroup
*/
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2018-12-11T02:42:35.962+01:00[Europe/Madrid]")public class TemplateGroup {
@SerializedName("template")
private Template template = null;
@SerializedName("templateId")
private String templateId = null;
@SerializedName("group")
private Group group = null;
@SerializedName("groupId")
private String groupId = null;
@SerializedName("id")
private String id = null;
@SerializedName("created")
private OffsetDateTime created = null;
@SerializedName("modified")
private OffsetDateTime modified = null;
@SerializedName("tenant")
private Tenant tenant = null;
@SerializedName("tenantId")
private String tenantId = null;
public TemplateGroup template(Template template) {
this.template = template;
return this;
}
/**
* Get template
* @return template
**/
@Schema(description = "")
public Template getTemplate() {
return template;
}
public void setTemplate(Template template) {
this.template = template;
}
public TemplateGroup templateId(String templateId) {
this.templateId = templateId;
return this;
}
/**
* Get templateId
* @return templateId
**/
@Schema(description = "")
public String getTemplateId() {
return templateId;
}
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
public TemplateGroup group(Group group) {
this.group = group;
return this;
}
/**
* Get group
* @return group
**/
@Schema(description = "")
public Group getGroup() {
return group;
}
public void setGroup(Group group) {
this.group = group;
}
public TemplateGroup groupId(String groupId) {
this.groupId = groupId;
return this;
}
/**
* Get groupId
* @return groupId
**/
@Schema(description = "")
public String getGroupId() {
return groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public TemplateGroup id(String id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@Schema(description = "")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public TemplateGroup created(OffsetDateTime created) {
this.created = created;
return this;
}
/**
* Get created
* @return created
**/
@Schema(description = "")
public OffsetDateTime getCreated() {
return created;
}
public void setCreated(OffsetDateTime created) {
this.created = created;
}
public TemplateGroup modified(OffsetDateTime modified) {
this.modified = modified;
return this;
}
/**
* Get modified
* @return modified
**/
@Schema(description = "")
public OffsetDateTime getModified() {
return modified;
}
public void setModified(OffsetDateTime modified) {
this.modified = modified;
}
public TemplateGroup tenant(Tenant tenant) {
this.tenant = tenant;
return this;
}
/**
* Get tenant
* @return tenant
**/
@Schema(description = "")
public Tenant getTenant() {
return tenant;
}
public void setTenant(Tenant tenant) {
this.tenant = tenant;
}
public TemplateGroup tenantId(String tenantId) {
this.tenantId = tenantId;
return this;
}
/**
* Get tenantId
* @return tenantId
**/
@Schema(required = true, description = "")
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TemplateGroup templateGroup = (TemplateGroup) o;
return Objects.equals(this.template, templateGroup.template) &&
Objects.equals(this.templateId, templateGroup.templateId) &&
Objects.equals(this.group, templateGroup.group) &&
Objects.equals(this.groupId, templateGroup.groupId) &&
Objects.equals(this.id, templateGroup.id) &&
Objects.equals(this.created, templateGroup.created) &&
Objects.equals(this.modified, templateGroup.modified) &&
Objects.equals(this.tenant, templateGroup.tenant) &&
Objects.equals(this.tenantId, templateGroup.tenantId);
}
@Override
public int hashCode() {
return java.util.Objects.hash(template, templateId, group, groupId, id, created, modified, tenant, tenantId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateGroup {\n");
sb.append(" template: ").append(toIndentedString(template)).append("\n");
sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n");
sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" created: ").append(toIndentedString(created)).append("\n");
sb.append(" modified: ").append(toIndentedString(modified)).append("\n");
sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n");
sb.append(" tenantId: ").append(toIndentedString(tenantId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy