class OneviewSDK::API300::Synergy::Switch

Switch resource implementation

Public Class Methods

get_type(client, name) click to toggle source

Retrieves the switch type with the name @param [OneviewSDK::Client] client The client object for the OneView appliance @param [String] name Switch type name @return [Array] Switch type

# File lib/oneview-sdk/resource/api300/synergy/switch.rb, line 31
def self.get_type(client, name)
  OneviewSDK::API200::Switch.get_type(client, name)
end
get_types(client) click to toggle source

Retrieves the switch types @param [OneviewSDK::Client] client The client object for the OneView appliance @return [Array] All the Switch types

# File lib/oneview-sdk/resource/api300/synergy/switch.rb, line 23
def self.get_types(client)
  OneviewSDK::API200::Switch.get_types(client)
end