/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.tenant; import java.util.List; import java.util.HashMap; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.time.DateTime; import java.io.IOException; import java.lang.ClassNotFoundException; import com.mozu.api.contracts.tenant.MasterCatalog; import com.mozu.api.contracts.tenant.Site; /** * Properties of a tenant, which the logical grouping of all a company's sites and catalogs. */ @JsonIgnoreProperties(ignoreUnknown = true) public class Tenant implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * The domain associated with the site and/or tenant. */ protected String domain; public String getDomain() { return this.domain; } public void setDomain(String domain) { this.domain = domain; } /** * Unique identifier of the Mozu tenant. */ protected Integer id; public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; } /** * Indicates if the tenant is a development tenant. If true, the tenant represents a collection of master catalogs and catalogs for a development tenant, used by a developer account to test applications and themes. */ protected Boolean isDevTenant; public Boolean getIsDevTenant() { return this.isDevTenant; } public void setIsDevTenant(Boolean isDevTenant) { this.isDevTenant = isDevTenant; } /** * The display name of the source product property. For a product field it will be the display name of the field. For a product attribute it will be the Attribute Name. */ protected String name; public String getName() { return this.name; } public void setName(String name) { this.name = name; } /** * Collection of master catalogs associated with the tenant. */ protected List<MasterCatalog> masterCatalogs; public List<MasterCatalog> getMasterCatalogs() { return this.masterCatalogs; } public void setMasterCatalogs(List<MasterCatalog> masterCatalogs) { this.masterCatalogs = masterCatalogs; } /** * Collection of sites associated with the tenant. */ protected List<Site> sites; public List<Site> getSites() { return this.sites; } public void setSites(List<Site> sites) { this.sites = sites; } }