Class: IControl::Management::MXRecord

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/management.rb,
lib/icontrol/management.rb

Overview

struct that describes a DNS "MX" Record

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from Base::Struct

from_soap, icontrol_attribute, #to_soap

Instance Attribute Details

- (String) domain_name

The domain name of the record

Returns:

  • (String)

    the current value of domain_name



198
199
200
# File 'lib/icontrol/management.rb', line 198

def domain_name
  @domain_name
end

- (String) mail

The mail-exchanger for this record

Returns:

  • (String)

    the current value of mail



198
199
200
# File 'lib/icontrol/management.rb', line 198

def mail
  @mail
end

- (Numeric) preference

The preference to use for this record

Returns:

  • (Numeric)

    the current value of preference



198
199
200
# File 'lib/icontrol/management.rb', line 198

def preference
  @preference
end

- (Numeric) ttl

The TTL for this record

Returns:

  • (Numeric)

    the current value of ttl



198
199
200
# File 'lib/icontrol/management.rb', line 198

def ttl
  @ttl
end