PHP Class Mailgun\Resource\Api\Domain\CreateResponse

Author: Tobias Nyholm ([email protected])
Inheritance: implements Mailgun\Resource\ApiResponse
Show file Open project: mailgun/mailgun-php

Public Methods

Method Description
create ( array $data ) : self
getDomain ( ) : Domain
getInboundDNSRecords ( ) : DnsRecord[]
getMessage ( ) : string
getOutboundDNSRecords ( ) : DnsRecord[]

Private Methods

Method Description
__construct ( Domain $domainInfo, array $rxRecords, array $txRecords, string $message )

Method Details

create() public static method

public static create ( array $data ) : self
$data array
return self

getDomain() public method

public getDomain ( ) : Domain
return Domain

getInboundDNSRecords() public method

public getInboundDNSRecords ( ) : DnsRecord[]
return DnsRecord[]

getMessage() public method

public getMessage ( ) : string
return string

getOutboundDNSRecords() public method

public getOutboundDNSRecords ( ) : DnsRecord[]
return DnsRecord[]