class Seahorse::Model::Operation
def initialize(definition = {}, options = {})
(**options)
-
:shape_map
(ShapeMap
) --
Parameters:
-
definition
(Hash
) --
def initialize(definition = {}, options = {}) @definition = definition @shape_map = options[:shape_map] || ShapeMap.new @name = definition['name'] @input = shape_for(definition['input']) if definition['input'] @output = shape_for(definition['output']) if definition['output'] @deprecated = !!definition['deprecated'] @documentation = definition['documentation'] @paging = definition['paging'] || {} end