class Seahorse::Model::Shapes::ShapeRef

def initialize(options = {})

def initialize(options = {})
  @metadata = {}
  @required = false
  @deprecated = false
  @location = nil
  @location_name = nil
  @event = false
  @eventstream = false
  @eventpayload = false
  @eventpayload_type = ''.freeze
  @eventheader = false
  @eventheader_type = ''.freeze
  options.each do |key, value|
    if key == :metadata
      value.each do |k,v|
        self[k] = v
      end
    else
      send("#{key}=", value)
    end
  end
end