Sha256: 156664888becc8c094a3690b7e96c34955e0ac105e4ef2a74dd777aa2f33c958

Contents?: true

Size: 1.03 KB

Versions: 451

Compression:

Stored size: 1.03 KB

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 [Boolean]
      attr_accessor :endpoint_operation

      # @return [Hash]
      attr_accessor :endpoint_discovery

      # @return [String, nil]
      attr_accessor :documentation

      # @return [Hash, nil]
      attr_accessor :endpoint_pattern

      # @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

451 entries across 451 versions & 1 rubygems

Version Path
aws-sdk-core-2.11.632 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.631 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.630 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.629 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.628 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.627 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.626 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.625 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.624 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.623 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.622 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.621 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.620 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.619 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.618 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.617 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.616 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.615 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.614 lib/seahorse/model/operation.rb
aws-sdk-core-2.11.613 lib/seahorse/model/operation.rb