class OneviewSDK::API300::Synergy::EthernetNetwork

Ethernet network resource implementation for API300 Synergy

Public Class Methods

new(client, params = {}, api_ver = nil) click to toggle source

Create a resource object, associate it with a client, and set its properties. @param [OneviewSDK::Client] client The client object for the OneView appliance @param [Hash] params The options for this resource (key-value pairs) @param [Integer] api_ver The api version to use when interracting with this resource.

# File lib/oneview-sdk/resource/api300/synergy/ethernet_network.rb, line 26
def initialize(client, params = {}, api_ver = nil)
  @data ||= {}
  # Default values:
  @data['ethernetNetworkType'] ||= 'Tagged'
  @data['type'] ||= 'ethernet-networkV300'
  super
end