Sha256: 2e02a33503f6c202edfbefa91271d660c2ffe6c8918b978eaad9f1132e0bdf65

Contents?: true

Size: 855 Bytes

Versions: 576

Compression:

Stored size: 855 Bytes

Contents

module Seahorse
  module Model
    class Operation

      def initialize
        @http_method = 'POST'
        @http_request_uri = '/'
        @deprecated = false
        @errors = []
        @metadata = {}
      end

      # @return [String, nil]
      attr_accessor :name

      # @return [String]
      attr_accessor :http_method

      # @return [String]
      attr_accessor :http_request_uri

      # @return [Boolean]
      attr_accessor :deprecated

      # @return [String, nil]
      attr_accessor :documentation

      # @return [ShapeRef, nil]
      attr_accessor :input

      # @return [ShapeRef, nil]
      attr_accessor :output

      # @return [Array<ShapeRef>]
      attr_accessor :errors

      def [](key)
        @metadata[key.to_s]
      end

      def []=(key, value)
        @metadata[key.to_s] = value
      end

    end
  end
end

Version data entries

576 entries across 576 versions & 2 rubygems

Version Path
aws-sdk-core-2.3.23 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.175 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.174 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.173 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.172 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.171 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.170 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.169 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.168 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.167 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.166 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.165 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.164 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.163 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.162 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.161 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.160 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.159 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.158 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.157 lib/seahorse/model/operation.rb