Class: OneviewSDK::API1200::C7000::NetworkSet
- Inherits:
-
OneviewSDK::API1000::C7000::NetworkSet
- Object
- Resource
- OneviewSDK::API200::Resource
- OneviewSDK::API200::NetworkSet
- OneviewSDK::API300::C7000::NetworkSet
- OneviewSDK::API500::C7000::NetworkSet
- OneviewSDK::API600::C7000::NetworkSet
- OneviewSDK::API800::C7000::NetworkSet
- OneviewSDK::API1000::C7000::NetworkSet
- OneviewSDK::API1200::C7000::NetworkSet
- Defined in:
- lib/oneview-sdk/resource/api1200/c7000/network_set.rb
Overview
Network set resource implementation for API1200 C7000
Direct Known Subclasses
Constant Summary
Constants inherited from OneviewSDK::API200::NetworkSet
OneviewSDK::API200::NetworkSet::BASE_URI
Constants inherited from Resource
Resource::BASE_URI, Resource::DEFAULT_REQUEST_HEADER, Resource::UNIQUE_IDENTIFIERS
Instance Attribute Summary
Attributes inherited from Resource
#api_version, #client, #data, #logger
Instance Method Summary collapse
-
#initialize(client, params = {}, api_ver = nil) ⇒ NetworkSet
constructor
Create a resource object, associate it with a client, and set its properties.
Methods included from OneviewSDK::API300::C7000::Scope::ScopeHelperMethods
#add_scope, #patch, #remove_scope, #replace_scopes
Methods inherited from OneviewSDK::API200::NetworkSet
#add_ethernet_network, #get_without_ethernet, get_without_ethernet, #remove_ethernet_network, #set_native_network
Methods inherited from Resource
#==, #[], #[]=, build_query, #create, #create!, #deep_merge!, #delete, #each, #eql?, #exists?, find_by, find_with_pagination, from_file, get_all, get_all_with_query, #like?, #refresh, #retrieve!, #schema, schema, #set, #set_all, #to_file, #update
Constructor Details
#initialize(client, params = {}, api_ver = nil) ⇒ NetworkSet
Create a resource object, associate it with a client, and set its properties.
23 24 25 26 27 28 |
# File 'lib/oneview-sdk/resource/api1200/c7000/network_set.rb', line 23 def initialize(client, params = {}, api_ver = nil) # Default values: @data ||= {} @data['type'] ||= 'network-setV5' super end |