Class: OvirtSDK4::Vlan
- Inherits:
- 
      Struct
      
        - Object
- Struct
- OvirtSDK4::Vlan
 
- Defined in:
- lib/ovirtsdk4/types.rb,
 lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
- 
  
    
      - (Integer) id 
    
    
  
  
  
  
  
  
  
  
  
    Returns the value of the idattribute.
- 
  
    
      - (Object) id=(value) 
    
    
  
  
  
  
  
  
  
  
  
    Sets the value of the idattribute.
- 
  
    
      - (Vlan) initialize(opts = {}) 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    Creates a new instance of the Vlan class. 
Methods included from Type
Constructor Details
- (Vlan) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Vlan class.
| 18565 18566 18567 18568 | # File 'lib/ovirtsdk4/types.rb', line 18565 def initialize(opts = {}) super(opts) self.id = opts[:id] end | 
Instance Method Details
- (Integer) id
Returns the value of the id attribute.
| 18542 18543 18544 | # File 'lib/ovirtsdk4/types.rb', line 18542 def id return @id end | 
- (Object) id=(value)
Sets the value of the id attribute.
| 18551 18552 18553 | # File 'lib/ovirtsdk4/types.rb', line 18551 def id=(value) @id = value end |