Class: OvirtSDK4::Ssh
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Ssh
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) authentication_method
Returns the value of the
authentication_method
attribute. -
- (Object) authentication_method=(value)
Sets the value of the
authentication_method
attribute. -
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (String) fingerprint
Returns the value of the
fingerprint
attribute. -
- (Object) fingerprint=(value)
Sets the value of the
fingerprint
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (Ssh) initialize(opts = {})
constructor
Creates a new instance of the Ssh class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (Integer) port
Returns the value of the
port
attribute. -
- (Object) port=(value)
Sets the value of the
port
attribute. -
- (User) user
Returns the value of the
user
attribute. -
- (Object) user=(value)
Sets the value of the
user
attribute.
Methods included from Type
Constructor Details
- (Ssh) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Ssh class.
14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 |
# File 'lib/ovirtsdk4/types.rb', line 14307 def initialize(opts = {}) super(opts) self.authentication_method = opts[:authentication_method] self.comment = opts[:comment] self.description = opts[:description] self.fingerprint = opts[:fingerprint] self.id = opts[:id] self.name = opts[:name] self.port = opts[:port] self.user = opts[:user] end |
Instance Method Details
- (String) authentication_method
Returns the value of the authentication_method
attribute.
14137 14138 14139 |
# File 'lib/ovirtsdk4/types.rb', line 14137 def authentication_method return @authentication_method end |
- (Object) authentication_method=(value)
Sets the value of the authentication_method
attribute.
14146 14147 14148 |
# File 'lib/ovirtsdk4/types.rb', line 14146 def authentication_method=(value) @authentication_method = value end |
- (String) comment
Returns the value of the comment
attribute.
14155 14156 14157 |
# File 'lib/ovirtsdk4/types.rb', line 14155 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
14164 14165 14166 |
# File 'lib/ovirtsdk4/types.rb', line 14164 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
14173 14174 14175 |
# File 'lib/ovirtsdk4/types.rb', line 14173 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
14182 14183 14184 |
# File 'lib/ovirtsdk4/types.rb', line 14182 def description=(value) @description = value end |
- (String) fingerprint
Returns the value of the fingerprint
attribute.
14191 14192 14193 |
# File 'lib/ovirtsdk4/types.rb', line 14191 def fingerprint return @fingerprint end |
- (Object) fingerprint=(value)
Sets the value of the fingerprint
attribute.
14200 14201 14202 |
# File 'lib/ovirtsdk4/types.rb', line 14200 def fingerprint=(value) @fingerprint = value end |
- (String) id
Returns the value of the id
attribute.
14209 14210 14211 |
# File 'lib/ovirtsdk4/types.rb', line 14209 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
14218 14219 14220 |
# File 'lib/ovirtsdk4/types.rb', line 14218 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
14227 14228 14229 |
# File 'lib/ovirtsdk4/types.rb', line 14227 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
14236 14237 14238 |
# File 'lib/ovirtsdk4/types.rb', line 14236 def name=(value) @name = value end |
- (Integer) port
Returns the value of the port
attribute.
14245 14246 14247 |
# File 'lib/ovirtsdk4/types.rb', line 14245 def port return @port end |
- (Object) port=(value)
Sets the value of the port
attribute.
14254 14255 14256 |
# File 'lib/ovirtsdk4/types.rb', line 14254 def port=(value) @port = value end |
- (User) user
Returns the value of the user
attribute.
14263 14264 14265 |
# File 'lib/ovirtsdk4/types.rb', line 14263 def user return @user end |
- (Object) user=(value)
Sets the value of the user
attribute.
The value
parameter can be an instance of User 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.
14276 14277 14278 14279 14280 14281 |
# File 'lib/ovirtsdk4/types.rb', line 14276 def user=(value) if value.is_a?(Hash) value = User.new(value) end @user = value end |