Sha256: 8a6bb1fed8da724d09e318990acc22b04bc1cf308f4cba104b2705e5d9854d23

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

module Dnsimple
  module Struct

    class ZoneRecord < Base
      # @return [Fixnum] The record ID in DNSimple.
      attr_accessor :id

      # @return [String] The associated zone ID.
      attr_accessor :zone_id

      # @return [Fixnum] The ID of the parent record, if this record is dependent on another record.
      attr_accessor :parent_id

      # @return [String] The type of record, in uppercase.
      attr_accessor :type

      # @return [String] The record name (without the domain name).
      attr_accessor :name

      # @return [String] The plain-text record content.
      attr_accessor :content

      # @return [Fixnum] The TTL value.
      attr_accessor :ttl

      # @return [Fixnum] The priority value, if the type of record accepts a priority.
      attr_accessor :priority

      # @return [Bool] True if this is a system record created by DNSimple. System records are read-only.
      attr_accessor :system_record

      # @return [Array<String>] The regions where the record is propagated. This is optional.
      attr_accessor :regions

      # @return [String] When the record was created in DNSimple.
      attr_accessor :created_at

      # @return [String] When the record was last updated in DNSimple.
      attr_accessor :updated_at
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dnsimple-4.0.0 lib/dnsimple/struct/zone_record.rb