Class TrashBinTableRow
- Namespace
- DocuWare.Platform.ServerClient
- Assembly
- DocuWare.Platform.ServerClient.dll
Defines a row of the table result from document query
[Raccoon]
public class TrashBinTableRow : IRelationsWithProxy, IRelations, IHttpClientProxy
- Inheritance
-
TrashBinTableRow
- Implements
- Inherited Members
Properties
AnnotationAsSvgRelationLink
Gets the Uri of the link for the relation “annotationAsSvg”.
public string AnnotationAsSvgRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “annotationAsSvg” if it exists, or
DocumentRelationLink
Gets the Uri of the link for the relation “document”.
public string DocumentRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “document” if it exists, or
Id
Id of the trashed document represented by the current row.
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Items
public List<object> Items { get; set; }
Property Value
| Type | Description |
|---|---|
| List<object> |
Links
public Link[] Links { get; set; }
Property Value
| Type | Description |
|---|---|
| Link[] |
LowQualityImageRelationLink
Gets the Uri of the link for the relation “lowQualityImage”.
public string LowQualityImageRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “lowQualityImage” if it exists, or
Methods
GetDocumentFromDocumentRelation()
Calls the HTTP Get method on the link for the relation “document”.
public Document GetDocumentFromDocumentRelation()
Returns
| Type | Description |
|---|---|
| Document | The content of the response. |
GetDocumentFromDocumentRelationAsync()
Calls the HTTP Get method on the link for the relation “document” asynchronously.
public Task<DeserializedHttpResponse<Document>> GetDocumentFromDocumentRelationAsync()
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<Document>> | A task which runs the request. |
Remarks
This method follows the link for the relation “document”.
GetDocumentFromDocumentRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “document” asynchronously.
public Task<DeserializedHttpResponse<Document>> GetDocumentFromDocumentRelationAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<Document>> | A task which runs the request. |
Remarks
This method follows the link for the relation “document”.
GetStreamFromAnnotationAsSvgRelation()
Calls the HTTP Get method on the link for the relation “annotationAsSvg”.
public Stream GetStreamFromAnnotationAsSvgRelation()
Returns
| Type | Description |
|---|---|
| Stream | The content of the response. |
GetStreamFromAnnotationAsSvgRelationAsync()
Calls the HTTP Get method on the link for the relation “annotationAsSvg” asynchronously.
public Task<DeserializedHttpResponse<Stream>> GetStreamFromAnnotationAsSvgRelationAsync()
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotationAsSvg”.
GetStreamFromAnnotationAsSvgRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “annotationAsSvg” asynchronously.
public Task<DeserializedHttpResponse<Stream>> GetStreamFromAnnotationAsSvgRelationAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotationAsSvg”.
GetStreamFromLowQualityImageRelation()
Calls the HTTP Get method on the link for the relation “lowQualityImage”.
public Stream GetStreamFromLowQualityImageRelation()
Returns
| Type | Description |
|---|---|
| Stream | The content of the response. |
GetStreamFromLowQualityImageRelationAsync()
Calls the HTTP Get method on the link for the relation “lowQualityImage” asynchronously.
public Task<DeserializedHttpResponse<Stream>> GetStreamFromLowQualityImageRelationAsync()
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “lowQualityImage”.
GetStreamFromLowQualityImageRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “lowQualityImage” asynchronously.
public Task<DeserializedHttpResponse<Stream>> GetStreamFromLowQualityImageRelationAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “lowQualityImage”.
SetProxy(HttpClientProxy)
Sets the HTTP communication proxy which is used in further HTTP communication.
public void SetProxy(HttpClientProxy proxy)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpClientProxy | proxy | The HttpClient instance which is used in further HTTP communication. |
Remarks
The HTTP proxy is used to handle the HTTP requests which are created by this instance. The proxy is used in case a request is sent to a URL which is resolved from a link.