Class: Bmc::Sdk::OsConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/dtos.rb

Overview

OsConfiguration is used for OS specific configuration properties

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#rdpAllowedIpsObject

Returns the value of attribute rdpAllowedIps.



117
118
119
# File 'lib/dtos.rb', line 117

def rdpAllowedIps
  @rdpAllowedIps
end

#windowsObject

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