
com.connectifier.xeroclient.models.BrandingTheme Maven / Gradle / Ivy
package com.connectifier.xeroclient.models;
import java.math.BigInteger;
import java.util.Date;
import java.util.List;
/**
* Schema fragment(s) for this class:
*
* <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BrandingTheme">
* <xs:all>
* <xs:element type="ArrayOfValidationError" name="ValidationErrors" minOccurs="0" maxOccurs="1"/>
* <xs:element type="ArrayOfWarning" name="Warnings" minOccurs="0" maxOccurs="1"/>
* <xs:element type="xs:string" name="BrandingThemeID" minOccurs="1" maxOccurs="1"/>
* <xs:element type="xs:string" name="Name" minOccurs="0" maxOccurs="1"/>
* <xs:element type="xs:integer" name="SortOrder" minOccurs="0" maxOccurs="1"/>
* <xs:element type="xs:dateTime" name="CreatedDateUTC" minOccurs="0" maxOccurs="1"/>
* </xs:all>
* <xs:attribute type="entityValidationStatus" use="optional" name="status"/>
* </xs:complexType>
*
*/
public class BrandingTheme
{
private ArrayOfValidationError validationErrors;
private ArrayOfWarning warnings;
private String brandingThemeID;
private String name;
private BigInteger sortOrder;
private Date createdDateUTC;
private EntityValidationStatus status;
/**
* Get the 'ValidationErrors' element value.
*
* @return value
*/
public ArrayOfValidationError getValidationErrors() {
return validationErrors;
}
/**
* Set the 'ValidationErrors' element value.
*
* @param validationErrors
*/
public void setValidationErrors(ArrayOfValidationError validationErrors) {
this.validationErrors = validationErrors;
}
public List getValidationErrorsAsList() {
if (validationErrors == null)
validationErrors = new ArrayOfValidationError();
return validationErrors.getValidationErrorList();
}
/**
* Get the 'Warnings' element value.
*
* @return value
*/
public ArrayOfWarning getWarnings() {
return warnings;
}
/**
* Set the 'Warnings' element value.
*
* @param warnings
*/
public void setWarnings(ArrayOfWarning warnings) {
this.warnings = warnings;
}
public List getWarningsAsList() {
if (warnings == null)
warnings = new ArrayOfWarning();
return warnings.getWarningList();
}
/**
* Get the 'BrandingThemeID' element value.
*
* @return value
*/
public String getBrandingThemeID() {
return brandingThemeID;
}
/**
* Set the 'BrandingThemeID' element value.
*
* @param brandingThemeID
*/
public void setBrandingThemeID(String brandingThemeID) {
this.brandingThemeID = brandingThemeID;
}
/**
* Get the 'Name' element value.
*
* @return value
*/
public String getName() {
return name;
}
/**
* Set the 'Name' element value.
*
* @param name
*/
public void setName(String name) {
this.name = name;
}
/**
* Get the 'SortOrder' element value.
*
* @return value
*/
public BigInteger getSortOrder() {
return sortOrder;
}
/**
* Set the 'SortOrder' element value.
*
* @param sortOrder
*/
public void setSortOrder(BigInteger sortOrder) {
this.sortOrder = sortOrder;
}
/**
* Get the 'CreatedDateUTC' element value.
*
* @return value
*/
public Date getCreatedDateUTC() {
return createdDateUTC;
}
/**
* Set the 'CreatedDateUTC' element value.
*
* @param createdDateUTC
*/
public void setCreatedDateUTC(Date createdDateUTC) {
this.createdDateUTC = createdDateUTC;
}
/**
* Get the 'status' attribute value.
*
* @return value
*/
public EntityValidationStatus getStatus() {
return status;
}
/**
* Set the 'status' attribute value.
*
* @param status
*/
public void setStatus(EntityValidationStatus status) {
this.status = status;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy