Example #1
0
        /// <summary>Snippet for ValidateAttestationOccurrenceAsync</summary>
        public async Task ValidateAttestationOccurrenceRequestObjectAsync()
        {
            // Snippet: ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest, CallSettings)
            // Additional: ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest, CancellationToken)
            // Create client
            ValidationHelperV1Client validationHelperV1Client = await ValidationHelperV1Client.CreateAsync();

            // Initialize request argument(s)
            ValidateAttestationOccurrenceRequest request = new ValidateAttestationOccurrenceRequest
            {
                Attestor              = "",
                Attestation           = new AttestationOccurrence(),
                OccurrenceNote        = "",
                OccurrenceResourceUri = "",
            };
            // Make the request
            ValidateAttestationOccurrenceResponse response = await validationHelperV1Client.ValidateAttestationOccurrenceAsync(request);

            // End snippet
        }