Sha256: 21fde88ce042a9097f92bc150056fba6090d1b7eb5a058df8f9303930838a868

Contents?: true

Size: 579 Bytes

Versions: 4

Compression:

Stored size: 579 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EndpointBackendMutate
      attr_reader :client,
        :attrs,
        :enabled,
        :backend_id

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @enabled = @attrs['enabled']
        @backend_id = @attrs['backend_id']
      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/endpoint_backend_mutate.rb
ngrok-api-0.23.0 lib/ngrokapi/models/endpoint_backend_mutate.rb
ngrok-api-0.22.0 lib/ngrokapi/models/endpoint_backend_mutate.rb
ngrok-api-0.21.0 lib/ngrokapi/models/endpoint_backend_mutate.rb