Method: OneviewSDK::API300::C7000::VolumeTemplate#initialize

Defined in:
lib/oneview-sdk/resource/api300/c7000/volume_template.rb

#initialize(client, params = {}, api_ver = nil) ⇒ VolumeTemplate

Create the client object, establishes connection, and set up the logging and api version. Defaults to client.api_version if exists, or OneviewSDK::Client::DEFAULT_API_VERSION. Defaults type to StorageVolumeTemplate when API version is 120 Defaults type to StorageVolumeTemplateV3 when API version is 200

Parameters:

  • client (OneviewSDK::Client)

    The client object for the OneView appliance

  • params (Hash) (defaults to: {})

    The options for this resource (key-value pairs)

  • api_ver (Integer) (defaults to: nil)

    The api version to use when interracting with this resource.



26
27
28
# File 'lib/oneview-sdk/resource/api300/c7000/volume_template.rb', line 26

def initialize(client, params = {}, api_ver = nil)
  super
end