Sha256: f73452604bfa3477c44b74f98ae1b563a81fca6ecffb6034495c8c00b6b96988

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

require 'neows/models/base_model'
require 'neows/models/close_approach_data'
require 'neows/models/estimated_diameter'
require 'neows/models/orbital_data'

module Neows
  module Models
    class NearEarthObject < Neows::Models::BaseModel
      attribute :isPotentiallyHazardousAsteroid, Boolean
      # @!attribute [rw]
      # @return [Boolean]
      alias_method :is_potentially_hazardous_asteroid, :isPotentiallyHazardousAsteroid

      # @!attribute [rw]
      # @return [Integer]
      attribute :neo_reference_id, Integer

      # @!attribute [rw]
      # @return [String]
      attribute :name, String

      # @!attribute [rw]
      # @return [String]
      attribute :nasa_jpl_url, String

      # @!attribute [rw]
      # @return [Float]
      attribute :absolute_magnitude_h, Float

      # @!attribute [rw]
      # @return [Neows::Models::EstimatedDiameter]
      attribute :estimated_diameter, Neows::Models::EstimatedDiameter

      # @!attribute [rw]
      # @return [Neows::Models::CloseApproachData]
      attribute :close_approach_data, Array[Neows::Models::CloseApproachData]

      # @!attribute [rw]
      # @return [Neows::Models::OrbitalData]
      attribute :orbital_data, Neows::Models::OrbitalData
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
neows-0.0.2 lib/neows/models/near_earth_object.rb