Sha256: 8898012bc5825e04f99582c89dd567d3259fcbb2c8e0663dd7c3d7b65d1222d7

Contents?: true

Size: 671 Bytes

Versions: 4

Compression:

Stored size: 671 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EventTargetDatadog
      attr_reader :client,
        :attrs,
        :api_key,
        :ddtags,
        :service,
        :ddsite

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @api_key = @attrs['api_key']
        @ddtags = @attrs['ddtags']
        @service = @attrs['service']
        @ddsite = @attrs['ddsite']
      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

4 entries across 4 versions & 1 rubygems

Version Path
ngrok-api-0.24.0 lib/ngrokapi/models/event_target_datadog.rb
ngrok-api-0.23.0 lib/ngrokapi/models/event_target_datadog.rb
ngrok-api-0.22.0 lib/ngrokapi/models/event_target_datadog.rb
ngrok-api-0.21.0 lib/ngrokapi/models/event_target_datadog.rb