Class: Permission

Inherits:
DynamicData show all
Defined in:
lib/vmware/soap/vim25.rb

Overview

urn:vim25Permission

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
entity - ManagedObjectReference
principal - SOAP::SOAPString
group - SOAP::SOAPBoolean
roleId - SOAP::SOAPInt
propagate - SOAP::SOAPBoolean

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dynamicType = nil, dynamicProperty = [], entity = nil, principal = nil, group = nil, roleId = nil, propagate = nil) ⇒ Permission

Returns a new instance of Permission.



385
386
387
388
389
390
391
392
393
# File 'lib/vmware/soap/vim25.rb', line 385

def initialize(dynamicType = nil, dynamicProperty = [], entity = nil, principal = nil, group = nil, roleId = nil, propagate = nil)
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @entity = entity
  @principal = principal
  @group = group
  @roleId = roleId
  @propagate = propagate
end

Instance Attribute Details

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



378
379
380
# File 'lib/vmware/soap/vim25.rb', line 378

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



377
378
379
# File 'lib/vmware/soap/vim25.rb', line 377

def dynamicType
  @dynamicType
end

#entityObject

Returns the value of attribute entity.



379
380
381
# File 'lib/vmware/soap/vim25.rb', line 379

def entity
  @entity
end

#groupObject

Returns the value of attribute group.



381
382
383
# File 'lib/vmware/soap/vim25.rb', line 381

def group
  @group
end

#principalObject

Returns the value of attribute principal.



380
381
382
# File 'lib/vmware/soap/vim25.rb', line 380

def principal
  @principal
end

#propagateObject

Returns the value of attribute propagate.



383
384
385
# File 'lib/vmware/soap/vim25.rb', line 383

def propagate
  @propagate
end

#roleIdObject

Returns the value of attribute roleId.



382
383
384
# File 'lib/vmware/soap/vim25.rb', line 382

def roleId
  @roleId
end