Class: Bmc::Sdk::OsConfiguration
- Inherits:
-
Object
- Object
- Bmc::Sdk::OsConfiguration
- Defined in:
- lib/dtos.rb
Overview
OsConfiguration is used for OS specific configuration properties
Instance Attribute Summary collapse
-
#rdpAllowedIps ⇒ Object
Returns the value of attribute rdpAllowedIps.
-
#windows ⇒ Object
Returns the value of attribute windows.
Instance Method Summary collapse
-
#initialize(windows, rdpAllowedIps) ⇒ OsConfiguration
constructor
A new instance of OsConfiguration.
- #to_json(*a) ⇒ Object
Constructor Details
#initialize(windows, rdpAllowedIps) ⇒ OsConfiguration
Returns a new instance of OsConfiguration.
118 119 120 121 |
# File 'lib/dtos.rb', line 118 def initialize(windows, rdpAllowedIps) @windows = windows @rdpAllowedIps = rdpAllowedIps end |
Instance Attribute Details
#rdpAllowedIps ⇒ Object
Returns the value of attribute rdpAllowedIps.
117 118 119 |
# File 'lib/dtos.rb', line 117 def rdpAllowedIps @rdpAllowedIps end |
#windows ⇒ Object
Returns the value of attribute windows.
117 118 119 |
# File 'lib/dtos.rb', line 117 def windows @windows end |
Instance Method Details
#to_json(*a) ⇒ Object
122 123 124 |
# File 'lib/dtos.rb', line 122 def to_json(*a) {windows: @windows, rdpAllowedIps: @rdpAllowedIps} end |