Class: OvirtSDK4::Display
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Display
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) address
Returns the value of the
address
attribute. -
- (Object) address=(value)
Sets the value of the
address
attribute. -
- (Boolean) allow_override
Returns the value of the
allow_override
attribute. -
- (Object) allow_override=(value)
Sets the value of the
allow_override
attribute. -
- (Certificate) certificate
Returns the value of the
certificate
attribute. -
- (Object) certificate=(value)
Sets the value of the
certificate
attribute. -
- (Boolean) copy_paste_enabled
Returns the value of the
copy_paste_enabled
attribute. -
- (Object) copy_paste_enabled=(value)
Sets the value of the
copy_paste_enabled
attribute. -
- (String) disconnect_action
Returns the value of the
disconnect_action
attribute. -
- (Object) disconnect_action=(value)
Sets the value of the
disconnect_action
attribute. -
- (Boolean) file_transfer_enabled
Returns the value of the
file_transfer_enabled
attribute. -
- (Object) file_transfer_enabled=(value)
Sets the value of the
file_transfer_enabled
attribute. -
- (Display) initialize(opts = {})
constructor
Creates a new instance of the Display class.
-
- (String) keyboard_layout
Returns the value of the
keyboard_layout
attribute. -
- (Object) keyboard_layout=(value)
Sets the value of the
keyboard_layout
attribute. -
- (Integer) monitors
Returns the value of the
monitors
attribute. -
- (Object) monitors=(value)
Sets the value of the
monitors
attribute. -
- (Integer) port
Returns the value of the
port
attribute. -
- (Object) port=(value)
Sets the value of the
port
attribute. -
- (String) proxy
Returns the value of the
proxy
attribute. -
- (Object) proxy=(value)
Sets the value of the
proxy
attribute. -
- (Integer) secure_port
Returns the value of the
secure_port
attribute. -
- (Object) secure_port=(value)
Sets the value of the
secure_port
attribute. -
- (Boolean) single_qxl_pci
Returns the value of the
single_qxl_pci
attribute. -
- (Object) single_qxl_pci=(value)
Sets the value of the
single_qxl_pci
attribute. -
- (Boolean) smartcard_enabled
Returns the value of the
smartcard_enabled
attribute. -
- (Object) smartcard_enabled=(value)
Sets the value of the
smartcard_enabled
attribute. -
- (DisplayType) type
Returns the value of the
type
attribute. -
- (Object) type=(value)
Sets the value of the
type
attribute.
Methods included from Type
Constructor Details
- (Display) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Display class.
2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 |
# File 'lib/ovirtsdk4/types.rb', line 2430 def initialize(opts = {}) super(opts) self.address = opts[:address] self.allow_override = opts[:allow_override] self.certificate = opts[:certificate] self.copy_paste_enabled = opts[:copy_paste_enabled] self.disconnect_action = opts[:disconnect_action] self.file_transfer_enabled = opts[:file_transfer_enabled] self.keyboard_layout = opts[:keyboard_layout] self.monitors = opts[:monitors] self.port = opts[:port] self.proxy = opts[:proxy] self.secure_port = opts[:secure_port] self.single_qxl_pci = opts[:single_qxl_pci] self.smartcard_enabled = opts[:smartcard_enabled] self.type = opts[:type] end |
Instance Method Details
- (String) address
Returns the value of the address
attribute.
2140 2141 2142 |
# File 'lib/ovirtsdk4/types.rb', line 2140 def address return @address end |
- (Object) address=(value)
Sets the value of the address
attribute.
2149 2150 2151 |
# File 'lib/ovirtsdk4/types.rb', line 2149 def address=(value) @address = value end |
- (Boolean) allow_override
Returns the value of the allow_override
attribute.
2158 2159 2160 |
# File 'lib/ovirtsdk4/types.rb', line 2158 def allow_override return @allow_override end |
- (Object) allow_override=(value)
Sets the value of the allow_override
attribute.
2167 2168 2169 |
# File 'lib/ovirtsdk4/types.rb', line 2167 def allow_override=(value) @allow_override = value end |
- (Certificate) certificate
Returns the value of the certificate
attribute.
2176 2177 2178 |
# File 'lib/ovirtsdk4/types.rb', line 2176 def certificate return @certificate end |
- (Object) certificate=(value)
Sets the value of the certificate
attribute.
The value
parameter can be an instance of Certificate 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.
2189 2190 2191 2192 2193 2194 |
# File 'lib/ovirtsdk4/types.rb', line 2189 def certificate=(value) if value.is_a?(Hash) value = Certificate.new(value) end @certificate = value end |
- (Boolean) copy_paste_enabled
Returns the value of the copy_paste_enabled
attribute.
2201 2202 2203 |
# File 'lib/ovirtsdk4/types.rb', line 2201 def copy_paste_enabled return @copy_paste_enabled end |
- (Object) copy_paste_enabled=(value)
Sets the value of the copy_paste_enabled
attribute.
2210 2211 2212 |
# File 'lib/ovirtsdk4/types.rb', line 2210 def copy_paste_enabled=(value) @copy_paste_enabled = value end |
- (String) disconnect_action
Returns the value of the disconnect_action
attribute.
2219 2220 2221 |
# File 'lib/ovirtsdk4/types.rb', line 2219 def disconnect_action return @disconnect_action end |
- (Object) disconnect_action=(value)
Sets the value of the disconnect_action
attribute.
2228 2229 2230 |
# File 'lib/ovirtsdk4/types.rb', line 2228 def disconnect_action=(value) @disconnect_action = value end |
- (Boolean) file_transfer_enabled
Returns the value of the file_transfer_enabled
attribute.
2237 2238 2239 |
# File 'lib/ovirtsdk4/types.rb', line 2237 def file_transfer_enabled return @file_transfer_enabled end |
- (Object) file_transfer_enabled=(value)
Sets the value of the file_transfer_enabled
attribute.
2246 2247 2248 |
# File 'lib/ovirtsdk4/types.rb', line 2246 def file_transfer_enabled=(value) @file_transfer_enabled = value end |
- (String) keyboard_layout
Returns the value of the keyboard_layout
attribute.
2255 2256 2257 |
# File 'lib/ovirtsdk4/types.rb', line 2255 def keyboard_layout return @keyboard_layout end |
- (Object) keyboard_layout=(value)
Sets the value of the keyboard_layout
attribute.
2264 2265 2266 |
# File 'lib/ovirtsdk4/types.rb', line 2264 def keyboard_layout=(value) @keyboard_layout = value end |
- (Integer) monitors
Returns the value of the monitors
attribute.
2273 2274 2275 |
# File 'lib/ovirtsdk4/types.rb', line 2273 def monitors return @monitors end |
- (Object) monitors=(value)
Sets the value of the monitors
attribute.
2282 2283 2284 |
# File 'lib/ovirtsdk4/types.rb', line 2282 def monitors=(value) @monitors = value end |
- (Integer) port
Returns the value of the port
attribute.
2291 2292 2293 |
# File 'lib/ovirtsdk4/types.rb', line 2291 def port return @port end |
- (Object) port=(value)
Sets the value of the port
attribute.
2300 2301 2302 |
# File 'lib/ovirtsdk4/types.rb', line 2300 def port=(value) @port = value end |
- (String) proxy
Returns the value of the proxy
attribute.
2309 2310 2311 |
# File 'lib/ovirtsdk4/types.rb', line 2309 def proxy return @proxy end |
- (Object) proxy=(value)
Sets the value of the proxy
attribute.
2318 2319 2320 |
# File 'lib/ovirtsdk4/types.rb', line 2318 def proxy=(value) @proxy = value end |
- (Integer) secure_port
Returns the value of the secure_port
attribute.
2327 2328 2329 |
# File 'lib/ovirtsdk4/types.rb', line 2327 def secure_port return @secure_port end |
- (Object) secure_port=(value)
Sets the value of the secure_port
attribute.
2336 2337 2338 |
# File 'lib/ovirtsdk4/types.rb', line 2336 def secure_port=(value) @secure_port = value end |
- (Boolean) single_qxl_pci
Returns the value of the single_qxl_pci
attribute.
2345 2346 2347 |
# File 'lib/ovirtsdk4/types.rb', line 2345 def single_qxl_pci return @single_qxl_pci end |
- (Object) single_qxl_pci=(value)
Sets the value of the single_qxl_pci
attribute.
2354 2355 2356 |
# File 'lib/ovirtsdk4/types.rb', line 2354 def single_qxl_pci=(value) @single_qxl_pci = value end |
- (Boolean) smartcard_enabled
Returns the value of the smartcard_enabled
attribute.
2363 2364 2365 |
# File 'lib/ovirtsdk4/types.rb', line 2363 def smartcard_enabled return @smartcard_enabled end |
- (Object) smartcard_enabled=(value)
Sets the value of the smartcard_enabled
attribute.
2372 2373 2374 |
# File 'lib/ovirtsdk4/types.rb', line 2372 def smartcard_enabled=(value) @smartcard_enabled = value end |
- (DisplayType) type
Returns the value of the type
attribute.
2381 2382 2383 |
# File 'lib/ovirtsdk4/types.rb', line 2381 def type return @type end |
- (Object) type=(value)
Sets the value of the type
attribute.
2390 2391 2392 |
# File 'lib/ovirtsdk4/types.rb', line 2390 def type=(value) @type = value end |