com.sforce.soap.tooling.StaticResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sforce-tooling-api Show documentation
Show all versions of sforce-tooling-api Show documentation
Salesforce Tooling API client
The newest version!
package com.sforce.soap.tooling;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for StaticResource complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StaticResource">
* <complexContent>
* <extension base="{urn:tooling.soap.sforce.com}sObject">
* <sequence>
* <element name="Body" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
* <element name="BodyLength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="CacheControl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="CreatedBy" type="{urn:tooling.soap.sforce.com}User" minOccurs="0"/>
* <element name="CreatedById" type="{urn:tooling.soap.sforce.com}ID" minOccurs="0"/>
* <element name="CreatedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="LastModifiedBy" type="{urn:tooling.soap.sforce.com}User" minOccurs="0"/>
* <element name="LastModifiedById" type="{urn:tooling.soap.sforce.com}ID" minOccurs="0"/>
* <element name="LastModifiedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="NamespacePrefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="SystemModstamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StaticResource", propOrder = {
"body",
"bodyLength",
"cacheControl",
"contentType",
"createdBy",
"createdById",
"createdDate",
"description",
"lastModifiedBy",
"lastModifiedById",
"lastModifiedDate",
"name",
"namespacePrefix",
"systemModstamp"
})
public class StaticResource
extends SObject
{
@XmlElement(name = "Body", nillable = true)
protected byte[] body;
@XmlElement(name = "BodyLength", nillable = true)
protected Integer bodyLength;
@XmlElement(name = "CacheControl", nillable = true)
protected String cacheControl;
@XmlElement(name = "ContentType", nillable = true)
protected String contentType;
@XmlElement(name = "CreatedBy", nillable = true)
protected User createdBy;
@XmlElement(name = "CreatedById", nillable = true)
protected String createdById;
@XmlElement(name = "CreatedDate", nillable = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar createdDate;
@XmlElement(name = "Description", nillable = true)
protected String description;
@XmlElement(name = "LastModifiedBy", nillable = true)
protected User lastModifiedBy;
@XmlElement(name = "LastModifiedById", nillable = true)
protected String lastModifiedById;
@XmlElement(name = "LastModifiedDate", nillable = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar lastModifiedDate;
@XmlElement(name = "Name", nillable = true)
protected String name;
@XmlElement(name = "NamespacePrefix", nillable = true)
protected String namespacePrefix;
@XmlElement(name = "SystemModstamp", nillable = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar systemModstamp;
/**
* Gets the value of the body property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getBody() {
return body;
}
/**
* Sets the value of the body property.
*
* @param value
* allowed object is
* byte[]
*/
public void setBody(byte[] value) {
this.body = value;
}
/**
* Gets the value of the bodyLength property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getBodyLength() {
return bodyLength;
}
/**
* Sets the value of the bodyLength property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setBodyLength(Integer value) {
this.bodyLength = value;
}
/**
* Gets the value of the cacheControl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCacheControl() {
return cacheControl;
}
/**
* Sets the value of the cacheControl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCacheControl(String value) {
this.cacheControl = value;
}
/**
* Gets the value of the contentType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContentType() {
return contentType;
}
/**
* Sets the value of the contentType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContentType(String value) {
this.contentType = value;
}
/**
* Gets the value of the createdBy property.
*
* @return
* possible object is
* {@link User }
*
*/
public User getCreatedBy() {
return createdBy;
}
/**
* Sets the value of the createdBy property.
*
* @param value
* allowed object is
* {@link User }
*
*/
public void setCreatedBy(User value) {
this.createdBy = value;
}
/**
* Gets the value of the createdById property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreatedById() {
return createdById;
}
/**
* Sets the value of the createdById property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatedById(String value) {
this.createdById = value;
}
/**
* Gets the value of the createdDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCreatedDate() {
return createdDate;
}
/**
* Sets the value of the createdDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCreatedDate(XMLGregorianCalendar value) {
this.createdDate = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the lastModifiedBy property.
*
* @return
* possible object is
* {@link User }
*
*/
public User getLastModifiedBy() {
return lastModifiedBy;
}
/**
* Sets the value of the lastModifiedBy property.
*
* @param value
* allowed object is
* {@link User }
*
*/
public void setLastModifiedBy(User value) {
this.lastModifiedBy = value;
}
/**
* Gets the value of the lastModifiedById property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLastModifiedById() {
return lastModifiedById;
}
/**
* Sets the value of the lastModifiedById property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastModifiedById(String value) {
this.lastModifiedById = value;
}
/**
* Gets the value of the lastModifiedDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getLastModifiedDate() {
return lastModifiedDate;
}
/**
* Sets the value of the lastModifiedDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setLastModifiedDate(XMLGregorianCalendar value) {
this.lastModifiedDate = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the namespacePrefix property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespacePrefix() {
return namespacePrefix;
}
/**
* Sets the value of the namespacePrefix property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespacePrefix(String value) {
this.namespacePrefix = value;
}
/**
* Gets the value of the systemModstamp property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getSystemModstamp() {
return systemModstamp;
}
/**
* Sets the value of the systemModstamp property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setSystemModstamp(XMLGregorianCalendar value) {
this.systemModstamp = value;
}
}