Sha256: 410c43f4c82d894667dffa79ccd7f0b2b6958445b1f9ef893fb5c7c53e88497d

Contents?: true

Size: 511 Bytes

Versions: 10

Compression:

Stored size: 511 Bytes

Contents

require "fog/brightbox/model"

module Fog
  module Compute
    class Brightbox
      # @api private
      class Event < Fog::Brightbox::Model

        identity :id
        attribute :url
        attribute :resource_type

        attribute :action
        attribute :message
        attribute :short_message

        # Times
        attribute :created_at, :type => :time

        # Links - to be replaced
        attribute :resource
        attribute :client
        attribute :user

      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fog-brightbox-0.6.1 lib/fog/brightbox/models/compute/event.rb
fog-brightbox-0.6.0 lib/fog/brightbox/models/compute/event.rb
fog-brightbox-0.5.1 lib/fog/brightbox/models/compute/event.rb
fog-brightbox-0.5.0 lib/fog/brightbox/models/compute/event.rb
fog-brightbox-0.4.1 lib/fog/brightbox/models/compute/event.rb
fog-brightbox-0.4.0 lib/fog/brightbox/models/compute/event.rb
fog-brightbox-0.3.0 lib/fog/brightbox/models/compute/event.rb
fog-brightbox-0.2.0 lib/fog/brightbox/models/compute/event.rb
fog-brightbox-0.1.1 lib/fog/brightbox/models/compute/event.rb
fog-brightbox-0.1.0 lib/fog/brightbox/models/compute/event.rb