Sha256: e9cba0548db622115e4bd7446355274c023207ac0ee20f7084147b15d2f890df

Contents?: true

Size: 791 Bytes

Versions: 2

Compression:

Stored size: 791 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,
        :datadog,
        :azure_logs_ingestion

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @firehose = @attrs['firehose']
        @kinesis = @attrs['kinesis']
        @cloudwatch_logs = @attrs['cloudwatch_logs']
        @datadog = @attrs['datadog']
        @azure_logs_ingestion = @attrs['azure_logs_ingestion']
      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

2 entries across 2 versions & 1 rubygems

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