Class ContentType.File
- java.lang.Object
-
- com.iknowbase.api.contentservices.v1.model.ContentType.File
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ContentType
public static class ContentType.File extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="filename" type="{http://www.w3.org/2001/XMLSchema}string"/> <choice minOccurs="0"> <element name="textContent" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="binaryContent" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> </choice> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.activation.DataHandler
binaryContent
protected String
filename
protected String
textContent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.activation.DataHandler
getBinaryContent()
Gets the value of the binaryContent property.String
getFilename()
Gets the value of the filename property.String
getTextContent()
Gets the value of the textContent property.void
setBinaryContent(javax.activation.DataHandler value)
Sets the value of the binaryContent property.void
setFilename(String value)
Sets the value of the filename property.void
setTextContent(String value)
Sets the value of the textContent property.ContentType.File
withBinaryContent(javax.activation.DataHandler value)
ContentType.File
withFilename(String value)
ContentType.File
withTextContent(String value)
-
-
-
Method Detail
-
getFilename
public String getFilename()
Gets the value of the filename property.- Returns:
- possible object is
String
-
setFilename
public void setFilename(String value)
Sets the value of the filename property.- Parameters:
value
- allowed object isString
-
getTextContent
public String getTextContent()
Gets the value of the textContent property.- Returns:
- possible object is
String
-
setTextContent
public void setTextContent(String value)
Sets the value of the textContent property.- Parameters:
value
- allowed object isString
-
getBinaryContent
public javax.activation.DataHandler getBinaryContent()
Gets the value of the binaryContent property.- Returns:
- possible object is
DataHandler
-
setBinaryContent
public void setBinaryContent(javax.activation.DataHandler value)
Sets the value of the binaryContent property.- Parameters:
value
- allowed object isDataHandler
-
withFilename
public ContentType.File withFilename(String value)
-
withTextContent
public ContentType.File withTextContent(String value)
-
withBinaryContent
public ContentType.File withBinaryContent(javax.activation.DataHandler value)
-
-