137 строки
6.6 KiB
YAML
137 строки
6.6 KiB
YAML
### YamlMime:JavaType
|
|
constructors:
|
|
- fullName: com.microsoft.azure.documentdb.Attachment.Attachment()
|
|
name: Attachment()
|
|
nameWithType: Attachment.Attachment()
|
|
summary: <p>Initialize an attachment object. </p>
|
|
syntax: public Attachment()
|
|
uid: com.microsoft.azure.documentdb.Attachment.Attachment()
|
|
- fullName: com.microsoft.azure.documentdb.Attachment.Attachment(JSONObject jsonObject)
|
|
name: Attachment(JSONObject jsonObject)
|
|
nameWithType: Attachment.Attachment(JSONObject jsonObject)
|
|
parameters:
|
|
- description: <p>the json object representation of the Attachment. </p>
|
|
name: jsonObject
|
|
type: <xref href="JSONObject?alt=JSONObject&text=JSONObject" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Initialize an attachment object from json object.</p>
|
|
|
|
<p></p>
|
|
syntax: public Attachment(JSONObject jsonObject)
|
|
uid: com.microsoft.azure.documentdb.Attachment.Attachment(JSONObject)
|
|
- fullName: com.microsoft.azure.documentdb.Attachment.Attachment(String source)
|
|
name: Attachment(String source)
|
|
nameWithType: Attachment.Attachment(String source)
|
|
parameters:
|
|
- description: <p>the json string representation of the Attachment. </p>
|
|
name: source
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Initialize an attachment object from json string.</p>
|
|
|
|
<p></p>
|
|
syntax: public Attachment(String source)
|
|
uid: com.microsoft.azure.documentdb.Attachment.Attachment(String)
|
|
inheritances:
|
|
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
|
|
- <xref href="Serializable" data-throw-if-not-resolved="False"/>
|
|
- <xref href="com.microsoft.azure.documentdb.JsonSerializable" data-throw-if-not-resolved="False"/>
|
|
- <xref href="com.microsoft.azure.documentdb.Resource?alt=com.microsoft.azure.documentdb.Resource&text=Resource" data-throw-if-not-resolved="False"/>
|
|
inheritedMembers:
|
|
- com.microsoft.azure.documentdb.JsonSerializable.get(String)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getBoolean(String)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getCollection(String)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getDouble(String)
|
|
- com.microsoft.azure.documentdb.Resource.getETag()
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getHashMap()
|
|
- com.microsoft.azure.documentdb.Resource.getId()
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getInt(String)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getLogger()
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getLong(String)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getMapper()
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getObject(String)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getObjectByPath(Collection<String>)
|
|
- com.microsoft.azure.documentdb.Resource.getResourceId()
|
|
- com.microsoft.azure.documentdb.Resource.getSelfLink()
|
|
- com.microsoft.azure.documentdb.JsonSerializable.getString(String)
|
|
- com.microsoft.azure.documentdb.Resource.getTimestamp()
|
|
- com.microsoft.azure.documentdb.JsonSerializable.has(String)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.JsonSerializable()
|
|
- com.microsoft.azure.documentdb.JsonSerializable.JsonSerializable(String,ObjectMapper)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.JsonSerializable(String)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.JsonSerializable(JSONObject)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.remove(String)
|
|
- com.microsoft.azure.documentdb.Resource.Resource()
|
|
- com.microsoft.azure.documentdb.Resource.Resource(String,ObjectMapper)
|
|
- com.microsoft.azure.documentdb.Resource.Resource(String)
|
|
- com.microsoft.azure.documentdb.Resource.Resource(JSONObject)
|
|
- com.microsoft.azure.documentdb.Resource.setId(String)
|
|
- com.microsoft.azure.documentdb.Resource.setResourceId(String)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.toJson()
|
|
- com.microsoft.azure.documentdb.JsonSerializable.toJson(SerializationFormattingPolicy)
|
|
- com.microsoft.azure.documentdb.JsonSerializable.toString()
|
|
- com.microsoft.azure.documentdb.JsonSerializable.toString(int)
|
|
methods:
|
|
- fullName: com.microsoft.azure.documentdb.Attachment.getContentType()
|
|
name: getContentType()
|
|
nameWithType: Attachment.getContentType()
|
|
returns:
|
|
description: <p>the content type. </p>
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Gets the MIME content type of the attachment.</p>
|
|
|
|
<p></p>
|
|
syntax: public String getContentType()
|
|
uid: com.microsoft.azure.documentdb.Attachment.getContentType()
|
|
- fullName: com.microsoft.azure.documentdb.Attachment.getMediaLink()
|
|
name: getMediaLink()
|
|
nameWithType: Attachment.getMediaLink()
|
|
returns:
|
|
description: <p>the media link. </p>
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Gets the media link associated with the attachment content.</p>
|
|
|
|
<p></p>
|
|
syntax: public String getMediaLink()
|
|
uid: com.microsoft.azure.documentdb.Attachment.getMediaLink()
|
|
- fullName: com.microsoft.azure.documentdb.Attachment.setContentType(String contentType)
|
|
name: setContentType(String contentType)
|
|
nameWithType: Attachment.setContentType(String contentType)
|
|
parameters:
|
|
- description: <p>the content type to use. </p>
|
|
name: contentType
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Sets the MIME content type of the attachment.</p>
|
|
|
|
<p></p>
|
|
syntax: public void setContentType(String contentType)
|
|
uid: com.microsoft.azure.documentdb.Attachment.setContentType(String)
|
|
- fullName: com.microsoft.azure.documentdb.Attachment.setMediaLink(String mediaLink)
|
|
name: setMediaLink(String mediaLink)
|
|
nameWithType: Attachment.setMediaLink(String mediaLink)
|
|
parameters:
|
|
- description: <p>the media link to use. </p>
|
|
name: mediaLink
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Sets the media link associated with the attachment content.</p>
|
|
|
|
<p></p>
|
|
syntax: public void setMediaLink(String mediaLink)
|
|
uid: com.microsoft.azure.documentdb.Attachment.setMediaLink(String)
|
|
nameWithType: Attachment
|
|
syntax: public class Attachment extends Resource
|
|
type: class
|
|
uid: com.microsoft.azure.documentdb.Attachment
|
|
fullName: com.microsoft.azure.documentdb.Attachment
|
|
name: Attachment
|
|
package: com.microsoft.azure.documentdb
|
|
summary: >-
|
|
<p>Represents a document attachment in the Azure Cosmos DB database service. </p>
|
|
|
|
<p>Each document may contain zero or more attachemnts. Attachments can be of any MIME type - text, image, binary data. These are stored externally in Azure Blob storage. Attachments are automatically deleted when the parent document is deleted. </p>
|
|
metadata: {}
|