Table of Contents

Class IdentifiersRestService

Namespace
OpenSettings.Services.Rest
Assembly
OpenSettings.dll
public sealed class IdentifiersRestService : IIdentifiersRestService, IIdentifiersService
Inheritance
IdentifiersRestService
Implements
Inherited Members

Constructors

IdentifiersRestService(HttpClient)

public IdentifiersRestService(HttpClient httpClient)

Parameters

httpClient HttpClient

Methods

CreateIdentifierAsync(CreateIdentifierInput, CancellationToken)

public Task<IResponse> CreateIdentifierAsync(CreateIdentifierInput input, CancellationToken cancellationToken = default)

Parameters

input CreateIdentifierInput
cancellationToken CancellationToken

Returns

Task<IResponse>

DeleteIdentifierAsync(DeleteIdentifierInput, CancellationToken)

public Task<IResponse> DeleteIdentifierAsync(DeleteIdentifierInput input, CancellationToken cancellationToken = default)

Parameters

input DeleteIdentifierInput
cancellationToken CancellationToken

Returns

Task<IResponse>

DeleteUnmappedIdentifiersAsync(CancellationToken)

public Task<IResponse> DeleteUnmappedIdentifiersAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<IResponse>

DragIdentifierAsync(DragItemSortOrderInput, CancellationToken)

public Task<IResponse> DragIdentifierAsync(DragItemSortOrderInput input, CancellationToken cancellationToken = default)

Parameters

input DragItemSortOrderInput
cancellationToken CancellationToken

Returns

Task<IResponse>

GetIdentifierByIdAsync(GetIdentifierInput, CancellationToken)

public Task<IResponse> GetIdentifierByIdAsync(GetIdentifierInput input, CancellationToken cancellationToken = default)

Parameters

input GetIdentifierInput
cancellationToken CancellationToken

Returns

Task<IResponse>

GetIdentifierBySlugAsync(GetIdentifierInput, CancellationToken)

public Task<IResponse> GetIdentifierBySlugAsync(GetIdentifierInput input, CancellationToken cancellationToken = default)

Parameters

input GetIdentifierInput
cancellationToken CancellationToken

Returns

Task<IResponse>

GetIdentifiersAsync(GetIdentifiersInput, CancellationToken)

public Task<IResponse> GetIdentifiersAsync(GetIdentifiersInput input, CancellationToken cancellationToken = default)

Parameters

input GetIdentifiersInput
cancellationToken CancellationToken

Returns

Task<IResponse>

GetOrCreateAsync(string, SetSortOrderPosition, Guid?, CancellationToken)

public Task<IResponse<GetOrCreateResponse>> GetOrCreateAsync(string name, SetSortOrderPosition setSortOrderPosition, Guid? createdById, CancellationToken cancellationToken = default)

Parameters

name string
setSortOrderPosition SetSortOrderPosition
createdById Guid?
cancellationToken CancellationToken

Returns

Task<IResponse<GetOrCreateResponse>>

GetPaginatedIdentifiersAsync(GetPaginatedInput, CancellationToken)

public Task<IResponse> GetPaginatedIdentifiersAsync(GetPaginatedInput input, CancellationToken cancellationToken = default)

Parameters

input GetPaginatedInput
cancellationToken CancellationToken

Returns

Task<IResponse>

ReorderAsync()

public Task<IResponse> ReorderAsync()

Returns

Task<IResponse>

UpdateIdentifierAsync(UpdateIdentifierInput, CancellationToken)

public Task<IResponse> UpdateIdentifierAsync(UpdateIdentifierInput input, CancellationToken cancellationToken = default)

Parameters

input UpdateIdentifierInput
cancellationToken CancellationToken

Returns

Task<IResponse>

UpdateIdentifierSortOrderAsync(UpdateIdentifierSortOrderInput, CancellationToken)

public Task<IResponse> UpdateIdentifierSortOrderAsync(UpdateIdentifierSortOrderInput input, CancellationToken cancellationToken = default)

Parameters

input UpdateIdentifierSortOrderInput
cancellationToken CancellationToken

Returns

Task<IResponse>