class OneviewSDK::API200::Event

Event 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/event.rb, line 24
def initialize(client, params = {}, api_ver = nil)
  super
  # Default values:
  @data['type'] ||= 'EventResourceV3'
end

Public Instance Methods

delete(*) click to toggle source

Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available

# File lib/oneview-sdk/resource/api200/event.rb, line 32
def delete(*)
  unavailable_method
end
update(*) click to toggle source

Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available

# File lib/oneview-sdk/resource/api200/event.rb, line 38
def update(*)
  unavailable_method
end