Sha256: 9ac19de2d7628a1c9c88f0fae8808297e7953c6b278ad50065e1f3a7b55f4e4c

Contents?: true

Size: 1.33 KB

Versions: 12

Compression:

Stored size: 1.33 KB

Contents

# frozen_string_literal: true

module Dnsimple
  module Struct

    class Certificate < Base
      # @return [Integer] The certificate ID in DNSimple.
      attr_accessor :id

      # @return [Integer] The associated domain ID.
      attr_accessor :domain_id

      # @return [Integer] The associated contact ID.
      attr_accessor :contact_id

      # @return [String] The certificate common name.
      attr_accessor :common_name

      # @return [Array<String>] The certificate alternate names.
      attr_accessor :alternate_names

      # @return [Integer] The years the certificate will last.
      attr_accessor :years

      # @return [String] The certificate CSR.
      attr_accessor :csr

      # @return [String] The certificate state.
      attr_accessor :state

      # @return [String] The Certificate Authority (CA) that issued the certificate.
      attr_accessor :authority_identifier

      # @return [Boolean] True if the certificate is set to auto-renew on expiration.
      attr_accessor :auto_renew

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

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

      # @return [String] The timestamp when the certificate will expire.
      attr_accessor :expires_at
    end

  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dnsimple-8.7.1 lib/dnsimple/struct/certificate.rb
dnsimple-8.7.0 lib/dnsimple/struct/certificate.rb
dnsimple-8.6.0 lib/dnsimple/struct/certificate.rb
dnsimple-8.5.0 lib/dnsimple/struct/certificate.rb
dnsimple-8.4.0 lib/dnsimple/struct/certificate.rb
dnsimple-8.3.1 lib/dnsimple/struct/certificate.rb
dnsimple-8.1.0 lib/dnsimple/struct/certificate.rb
dnsimple-8.0.0 lib/dnsimple/struct/certificate.rb
dnsimple-7.1.1 lib/dnsimple/struct/certificate.rb
dnsimple-7.1.0 lib/dnsimple/struct/certificate.rb
dnsimple-7.0.0 lib/dnsimple/struct/certificate.rb
dnsimple-6.0.0 lib/dnsimple/struct/certificate.rb