Class ContentBackupClient
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
public class ContentBackupClient : ClientBase
Constructors
ContentBackupClient(ICloudManagerServiceSettings, Http.HttpClient)
Declaration
public ContentBackupClient(ICloudManagerServiceSettings configuration, Http.HttpClient httpClient)
Parameters
Picturepark.SDK.V1.CloudManager.Picturepark.SDK.V1.CloudManager.ICloudManagerServiceSettings
configuration
|
System.Net.Http.HttpClient
httpClient
|
Properties
JsonSerializerSettings
Declaration
protected Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
Newtonsoft.Json.JsonSerializerSettings
|
ReadResponseAsString
Declaration
public bool ReadResponseAsString { get; set; }
Property Value
System.Boolean
|
Methods
AckBackupAsync(String, String, CancellationToken)
Declaration
public virtual async Task<ContentBackupAcknowledgementResult> AckBackupAsync(string customerId, string filePath, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
customerId
|
System.String
filePath
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<ContentBackupAcknowledgementResult>
|
AckBackupManyAsync(String, IEnumerable<String>, CancellationToken)
Declaration
public virtual async Task<ICollection<ContentBackupAcknowledgementResult>> AckBackupManyAsync(string customerId, IEnumerable<string> filePaths, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
customerId
|
System.Collections.Generic.IEnumerable<System.String>
filePaths
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<System.Collections.Generic.ICollection<ContentBackupAcknowledgementResult>>
|
AckBackupManyWithHashesAsync(String, IEnumerable<ContentBackupAcknowledgementRequest>, CancellationToken)
Declaration
public virtual async Task<ICollection<ContentBackupAcknowledgementResult>> AckBackupManyWithHashesAsync(string customerId, IEnumerable<ContentBackupAcknowledgementRequest> requests, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
customerId
|
System.Collections.Generic.IEnumerable<ContentBackupAcknowledgementRequest>
requests
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<System.Collections.Generic.ICollection<ContentBackupAcknowledgementResult>>
|
AnyBackupRequestedAsync(String, CancellationToken)
Declaration
public virtual async Task<bool> AnyBackupRequestedAsync(string customerId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
customerId
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<System.Boolean>
|
CancelRecoveryAsync(ContentBackupCancelRecoveryRequest, CancellationToken)
Declaration
public virtual async Task CancelRecoveryAsync(ContentBackupCancelRecoveryRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
ContentBackupCancelRecoveryRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task
|
CancelResetAsync(String, CancellationToken)
Declaration
public virtual async Task CancelResetAsync(string customerId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
customerId
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task
|
DisableAsync(ContentBackupDisableRequest, CancellationToken)
Declaration
public virtual async Task DisableAsync(ContentBackupDisableRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
ContentBackupDisableRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task
|
EnableAsync(ContentBackupEnableRequest, CancellationToken)
Declaration
public virtual async Task EnableAsync(ContentBackupEnableRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
ContentBackupEnableRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task
|
ForceRecoveryAsync(ContentBackupForceCompleteRecoveryRequest, CancellationToken)
Declaration
public virtual async Task ForceRecoveryAsync(ContentBackupForceCompleteRecoveryRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
ContentBackupForceCompleteRecoveryRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task
|
NotAcknowledgedCountAsync(CancellationToken)
Declaration
public virtual async Task<long> NotAcknowledgedCountAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<System.Int64>
|
ReadObjectResponseAsync<T>(Http.HttpResponseMessage, IReadOnlyDictionary<String, IEnumerable<String>>, CancellationToken)
Declaration
protected virtual async Task<ContentBackupClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(Http.HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
System.Net.Http.HttpResponseMessage
response
|
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>>
headers
|
System.Threading.CancellationToken
cancellationToken
|
Returns
System.Threading.Tasks.Task<ContentBackupClient.ObjectResponseResult<T>>
|
Type Parameters
T
|
ResetAsync(String, CancellationToken)
Declaration
public virtual async Task ResetAsync(string customerId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
customerId
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task
|
SearchMissingOriginalsAsync(ContentBackupSearchRequest, CancellationToken)
Declaration
public virtual async Task<ContentBackupSearchResult> SearchMissingOriginalsAsync(ContentBackupSearchRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
ContentBackupSearchRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<ContentBackupSearchResult>
|