public Task <MigrationDeprecationsResponse> DeprecationsAsync(Action <MigrationDeprecationsRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new MigrationDeprecationsRequestDescriptor(); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequestAsync <MigrationDeprecationsRequestDescriptor, MigrationDeprecationsResponse>(descriptor)); }
public MigrationDeprecationsResponse Deprecations(Action <MigrationDeprecationsRequestDescriptor> configureRequest = null) { var descriptor = new MigrationDeprecationsRequestDescriptor(); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequest <MigrationDeprecationsRequestDescriptor, MigrationDeprecationsResponse>(descriptor)); }