Class: OvirtSDK4::GraphicsConsole
- Inherits:
 - 
      Identified
      
        
- Object
 - Struct
 - Identified
 - OvirtSDK4::GraphicsConsole
 
 - Defined in:
 - lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb 
Instance Method Summary (collapse)
- 
  
    
      - (String) address 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
addressattribute. - 
  
    
      - (Object) address=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
addressattribute. - 
  
    
      - (String) comment 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
commentattribute. - 
  
    
      - (Object) comment=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
commentattribute. - 
  
    
      - (String) description 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
descriptionattribute. - 
  
    
      - (Object) description=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
descriptionattribute. - 
  
    
      - (String) id 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
idattribute. - 
  
    
      - (Object) id=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
idattribute. - 
  
    
      - (GraphicsConsole) initialize(opts = {}) 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Creates a new instance of the GraphicsConsole class.
 - 
  
    
      - (InstanceType) instance_type 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
instance_typeattribute. - 
  
    
      - (Object) instance_type=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
instance_typeattribute. - 
  
    
      - (String) name 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
nameattribute. - 
  
    
      - (Object) name=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
nameattribute. - 
  
    
      - (Integer) port 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
portattribute. - 
  
    
      - (Object) port=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
portattribute. - 
  
    
      - (GraphicsType) protocol 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
protocolattribute. - 
  
    
      - (Object) protocol=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
protocolattribute. - 
  
    
      - (Template) template 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
templateattribute. - 
  
    
      - (Object) template=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
templateattribute. - 
  
    
      - (Integer) tls_port 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
tls_portattribute. - 
  
    
      - (Object) tls_port=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
tls_portattribute. - 
  
    
      - (Vm) vm 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the value of the
vmattribute. - 
  
    
      - (Object) vm=(value) 
    
    
  
  
  
  
  
  
  
  
  
    
Sets the value of the
vmattribute. 
Methods included from Type
Constructor Details
- (GraphicsConsole) initialize(opts = {})
Creates a new instance of the OvirtSDK4::GraphicsConsole class.
      31961 31962 31963 31964 31965 31966 31967 31968 31969 31970 31971 31972 31973 31974  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31961 def initialize(opts = {}) super(opts) self.address = opts[:address] self.comment = opts[:comment] self.description = opts[:description] self.id = opts[:id] self.instance_type = opts[:instance_type] self.name = opts[:name] self.port = opts[:port] self.protocol = opts[:protocol] self.template = opts[:template] self.tls_port = opts[:tls_port] self.vm = opts[:vm] end  | 
  
Instance Method Details
- (String) address
Returns the value of the address attribute.
      31717 31718 31719  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31717 def address return @address end  | 
  
- (Object) address=(value)
Sets the value of the address attribute.
      31726 31727 31728  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31726 def address=(value) @address = value end  | 
  
- (String) comment
Returns the value of the comment attribute.
      31735 31736 31737  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31735 def comment return @comment end  | 
  
- (Object) comment=(value)
Sets the value of the comment attribute.
      31744 31745 31746  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31744 def comment=(value) @comment = value end  | 
  
- (String) description
Returns the value of the description attribute.
      31753 31754 31755  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31753 def description return @description end  | 
  
- (Object) description=(value)
Sets the value of the description attribute.
      31762 31763 31764  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31762 def description=(value) @description = value end  | 
  
- (String) id
Returns the value of the id attribute.
      31771 31772 31773  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31771 def id return @id end  | 
  
- (Object) id=(value)
Sets the value of the id attribute.
      31780 31781 31782  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31780 def id=(value) @id = value end  | 
  
- (InstanceType) instance_type
Returns the value of the instance_type attribute.
      31789 31790 31791  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31789 def instance_type return @instance_type end  | 
  
- (Object) instance_type=(value)
Sets the value of the instance_type attribute.
The value parameter can be an instance of InstanceType or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts parameter to the constructor.
      31802 31803 31804 31805 31806 31807  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31802 def instance_type=(value) if value.is_a?(Hash) value = InstanceType.new(value) end @instance_type = value end  | 
  
- (String) name
Returns the value of the name attribute.
      31814 31815 31816  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31814 def name return @name end  | 
  
- (Object) name=(value)
Sets the value of the name attribute.
      31823 31824 31825  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31823 def name=(value) @name = value end  | 
  
- (Integer) port
Returns the value of the port attribute.
      31832 31833 31834  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31832 def port return @port end  | 
  
- (Object) port=(value)
Sets the value of the port attribute.
      31841 31842 31843  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31841 def port=(value) @port = value end  | 
  
- (GraphicsType) protocol
Returns the value of the protocol attribute.
      31850 31851 31852  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31850 def protocol return @protocol end  | 
  
- (Object) protocol=(value)
Sets the value of the protocol attribute.
      31859 31860 31861  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31859 def protocol=(value) @protocol = value end  | 
  
- (Template) template
Returns the value of the template attribute.
      31868 31869 31870  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31868 def template return @template end  | 
  
- (Object) template=(value)
Sets the value of the template attribute.
The value parameter can be an instance of Template or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts parameter to the constructor.
      31881 31882 31883 31884 31885 31886  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31881 def template=(value) if value.is_a?(Hash) value = Template.new(value) end @template = value end  | 
  
- (Integer) tls_port
Returns the value of the tls_port attribute.
      31893 31894 31895  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31893 def tls_port return @tls_port end  | 
  
- (Object) tls_port=(value)
Sets the value of the tls_port attribute.
      31902 31903 31904  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31902 def tls_port=(value) @tls_port = value end  | 
  
- (Vm) vm
Returns the value of the vm attribute.
      31911 31912 31913  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31911 def vm return @vm end  | 
  
- (Object) vm=(value)
Sets the value of the vm attribute.
The value parameter can be an instance of Vm or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts parameter to the constructor.
      31924 31925 31926 31927 31928 31929  | 
    
      # File 'lib/ovirtsdk4/types.rb', line 31924 def vm=(value) if value.is_a?(Hash) value = Vm.new(value) end @vm = value end  |