def update(attributes = {}, header = self.class::DEFAULT_REQUEST_HEADER)
      set_all(attributes)
      ensure_client && ensure_uri
      options = {}.merge(header).merge('body' => @data)
      response = @client.rest_put(@data['uri'], options, @api_version)
      @client.response_handler(response)
      self
    end
def update(attributes = {}, header = self.class::DEFAULT_REQUEST_HEADER)
      set_all(attributes)
      ensure_client && ensure_uri
      options = {}.merge(header).merge('body' => @data)
      response = @client.rest_put(@data['uri'], options, @api_version)
      @client.response_handler(response)
      self
    end
Set data and save to OneView
 @param [Hash] attributes The attributes to add/change for this resource (key-value pairs)
 @param [Hash] header The header options for the request (key-value pairs)
 @raise [OneviewSDK::IncompleteResource] if the client or uri is not set
 @raise [StandardError] if the resource save fails
 @return [Resource] self