class Seahorse::Model::Operation

Attributes

deprecated[RW]

@return [Boolean]

documentation[RW]

@return [String, nil]

errors[RW]

@return [Array<ShapeRef>]

http_method[RW]

@return [String]

http_request_uri[RW]

@return [String]

input[RW]

@return [ShapeRef, nil]

name[RW]

@return [String, nil]

output[RW]

@return [ShapeRef, nil]

Public Class Methods

new() click to toggle source
# File lib/seahorse/model/operation.rb, line 5
def initialize
  @http_method = 'POST'
  @http_request_uri = '/'
  @deprecated = false
  @errors = []
  @metadata = {}
end

Public Instance Methods

[](key) click to toggle source
# File lib/seahorse/model/operation.rb, line 37
def [](key)
  @metadata[key.to_s]
end
[]=(key, value) click to toggle source
# File lib/seahorse/model/operation.rb, line 41
def []=(key, value)
  @metadata[key.to_s] = value
end