예제 #1
0
        public Task <ClusterPostVotingConfigExclusionsResponse> PostVotingConfigExclusionsAsync(Action <ClusterPostVotingConfigExclusionsRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new ClusterPostVotingConfigExclusionsRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <ClusterPostVotingConfigExclusionsRequestDescriptor, ClusterPostVotingConfigExclusionsResponse>(descriptor));
        }
예제 #2
0
        public ClusterPostVotingConfigExclusionsResponse PostVotingConfigExclusions(Action <ClusterPostVotingConfigExclusionsRequestDescriptor> configureRequest = null)
        {
            var descriptor = new ClusterPostVotingConfigExclusionsRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <ClusterPostVotingConfigExclusionsRequestDescriptor, ClusterPostVotingConfigExclusionsResponse>(descriptor));
        }