mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
21 lines
492 B
Ruby
21 lines
492 B
Ruby
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
|