Sha256: 0ef9f9d3114182a5a6ded3f3522e83a3e841b6b2458f8c6623e49858e8596f54

Contents?: true

Size: 746 Bytes

Versions: 1

Compression:

Stored size: 746 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EventTarget
      attr_reader :client,
        :attrs,
        :firehose,
        :kinesis,
        :cloudwatch_logs,
        :debug,
        :datadog

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @firehose = @attrs['firehose']
        @kinesis = @attrs['kinesis']
        @cloudwatch_logs = @attrs['cloudwatch_logs']
        @debug = @attrs['debug']
        @datadog = @attrs['datadog']
      end

      def ==(other)
        @attrs == other.attrs
      end

      def to_s
        @attrs.to_s
      end

      def to_h
        @attrs.to_h
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ngrok-api-0.21.0 lib/ngrokapi/models/event_target.rb