class OneviewSDK::API200::FCNetwork
FC network resource implementation
Constants
- BASE_URI
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.
Calls superclass method
OneviewSDK::Resource::new
# File lib/oneview-sdk/resource/api200/fc_network.rb, line 24 def initialize(client, params = {}, api_ver = nil) super # Default values @data['autoLoginRedistribution'] ||= false @data['type'] ||= 'fc-networkV2' @data['linkStabilityTime'] ||= 30 @data['fabricType'] ||= 'FabricAttach' end