1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/cloudsigma/models/fwpolicy.rb

20 lines
490 B
Ruby
Raw Normal View History

2013-09-16 09:08:45 -04:00
require 'fog/cloudsigma/nested_model'
require 'fog/core/collection'
require 'fog/cloudsigma/models/rule'
module Fog
module Compute
class CloudSigma
class FWPolicy < Fog::CloudSigma::CloudsigmaModel
identity :uuid
attribute :name, :type => :string
attribute :meta
attribute :owner
attribute :resource_uri, :type => :string
attribute :servers, :type => :array
model_attribute_array :rules, Rule
end
end
end
end