Struct CreateAnnotationAttachmentResult
Represents the result of creating an annotation attachment, including the attachment ID and upload URLs.
Inherited Members
Namespace: Unity.Cloud.Collaboration.Models.AttachmentRequest
Assembly: Unity.Cloud.Collaboration.dll
Syntax
public readonly struct CreateAnnotationAttachmentResult
Constructors
CreateAnnotationAttachmentResult(AttachmentId, string, Dictionary<string, string>)
Initializes a new instance of the CreateAnnotationAttachmentResult struct.
Declaration
public CreateAnnotationAttachmentResult(AttachmentId attachmentId = default, string uploadUrl = null, Dictionary<string, string> uploadUrls = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AttachmentId | attachmentId | The unique identifier of the created annotation attachment. |
| string | uploadUrl | The upload URL for the sole file in the attachment. |
| Dictionary<string, string> | uploadUrls | A dictionary of upload URLs for the files in the created attachment. |
Fields
AttachmentId
Attachment ID of created Annotation attachment
Declaration
public readonly AttachmentId AttachmentId
Field Value
| Type | Description |
|---|---|
| AttachmentId |
UploadUrl
The upload url for the sole file in the attachment. Only returned if there is a single file in the attachment, otherwise UploadUrls will be used.
Declaration
public readonly string UploadUrl
Field Value
| Type | Description |
|---|---|
| string |
UploadUrls
A dictionary of upload URLs for the files in the created attachment. Only returned if there are multiple file in the attachment, otherwise UploadUrl will be used.
Declaration
public readonly IReadOnlyDictionary<string, string> UploadUrls
Field Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, string> |