示例#1
0
        /// <summary>
        /// Get IP address for a domain
        /// </summary>
        /// <exception cref="mailslurp.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="name"></param>
        /// <returns>Task of IPAddressResult</returns>
        public async System.Threading.Tasks.Task <IPAddressResult> GetIpAddressAsync(string name)
        {
            mailslurp.Client.ApiResponse <IPAddressResult> localVarResponse = await GetIpAddressAsyncWithHttpInfo(name);

            return(localVarResponse.Data);
        }
示例#2
0
 /// <summary>
 /// Verify the existence of an email address at a given mail server.
 /// </summary>
 /// <exception cref="mailslurp.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="verifyEmailAddressOptions"></param>
 /// <returns>EmailVerificationResult</returns>
 public EmailVerificationResult VerifyEmailAddress(VerifyEmailAddressOptions verifyEmailAddressOptions)
 {
     mailslurp.Client.ApiResponse <EmailVerificationResult> localVarResponse = VerifyEmailAddressWithHttpInfo(verifyEmailAddressOptions);
     return(localVarResponse.Data);
 }
示例#3
0
 /// <summary>
 /// Get IP address for a domain
 /// </summary>
 /// <exception cref="mailslurp.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="name"></param>
 /// <returns>IPAddressResult</returns>
 public IPAddressResult GetIpAddress(string name)
 {
     mailslurp.Client.ApiResponse <IPAddressResult> localVarResponse = GetIpAddressWithHttpInfo(name);
     return(localVarResponse.Data);
 }
示例#4
0
        /// <summary>
        /// Lookup DNS records for a domain
        /// </summary>
        /// <exception cref="mailslurp.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="dNSLookupOptions"></param>
        /// <returns>Task of DNSLookupResults</returns>
        public async System.Threading.Tasks.Task <DNSLookupResults> GetDnsLookupAsync(DNSLookupOptions dNSLookupOptions)
        {
            mailslurp.Client.ApiResponse <DNSLookupResults> localVarResponse = await GetDnsLookupAsyncWithHttpInfo(dNSLookupOptions);

            return(localVarResponse.Data);
        }
示例#5
0
 /// <summary>
 /// Lookup DNS records for a domain
 /// </summary>
 /// <exception cref="mailslurp.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="dNSLookupOptions"></param>
 /// <returns>DNSLookupResults</returns>
 public DNSLookupResults GetDnsLookup(DNSLookupOptions dNSLookupOptions)
 {
     mailslurp.Client.ApiResponse <DNSLookupResults> localVarResponse = GetDnsLookupWithHttpInfo(dNSLookupOptions);
     return(localVarResponse.Data);
 }
示例#6
0
        /// <summary>
        /// Get DNS Mail Server records for a domain
        /// </summary>
        /// <exception cref="mailslurp.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="describeDomainOptions"></param>
        /// <returns>Task of DescribeMailServerDomainResult</returns>
        public async System.Threading.Tasks.Task <DescribeMailServerDomainResult> DescribeMailServerDomainAsync(DescribeDomainOptions describeDomainOptions)
        {
            mailslurp.Client.ApiResponse <DescribeMailServerDomainResult> localVarResponse = await DescribeMailServerDomainAsyncWithHttpInfo(describeDomainOptions);

            return(localVarResponse.Data);
        }
示例#7
0
 /// <summary>
 /// Get DNS Mail Server records for a domain
 /// </summary>
 /// <exception cref="mailslurp.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="describeDomainOptions"></param>
 /// <returns>DescribeMailServerDomainResult</returns>
 public DescribeMailServerDomainResult DescribeMailServerDomain(DescribeDomainOptions describeDomainOptions)
 {
     mailslurp.Client.ApiResponse <DescribeMailServerDomainResult> localVarResponse = DescribeMailServerDomainWithHttpInfo(describeDomainOptions);
     return(localVarResponse.Data);
 }