Sha256: 259524b24d7461f62dd13fcc6eef1f0f433bc578ed9c7c77226a5a4820c4398b

Contents?: true

Size: 990 Bytes

Versions: 4

Compression:

Stored size: 990 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EndpointOAuth
      attr_reader :client,
        :attrs,
        :enabled,
        :provider,
        :options_passthrough,
        :cookie_prefix,
        :inactivity_timeout,
        :maximum_duration,
        :auth_check_interval

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @enabled = @attrs['enabled']
        @provider = @attrs['provider']
        @options_passthrough = @attrs['options_passthrough']
        @cookie_prefix = @attrs['cookie_prefix']
        @inactivity_timeout = @attrs['inactivity_timeout']
        @maximum_duration = @attrs['maximum_duration']
        @auth_check_interval = @attrs['auth_check_interval']
      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_o_auth.rb
ngrok-api-0.23.0 lib/ngrokapi/models/endpoint_o_auth.rb
ngrok-api-0.22.0 lib/ngrokapi/models/endpoint_o_auth.rb
ngrok-api-0.21.0 lib/ngrokapi/models/endpoint_o_auth.rb