Class: OpenAI::Models::Webhooks::AgentSessionCreatedWebhookEvent::Data::Connect

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/webhooks/agent_session_created_webhook_event.rb,
sig/openai/models/webhooks/agent_session_created_webhook_event.rbs

Overview

See Also:

  • OpenAI::Models::Webhooks::AgentSessionCreatedWebhookEvent::Data#connect

Instance Attribute Summary collapse

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, #inspect, inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(remote_url:) ⇒ Connect

Returns a new instance of Connect.

Parameters:

  • remote_url —

    The URL used to connect the self-hosted environment.

  • remote_url: (String)


# File 'lib/openai/models/webhooks/agent_session_created_webhook_event.rb', line 98

Instance Attribute Details

#remote_url ⇒ String

The URL used to connect the self-hosted environment.

Returns:

  • (String)


96
# File 'lib/openai/models/webhooks/agent_session_created_webhook_event.rb', line 96

required :remote_url, String

Instance Method Details

#to_hash ⇒ { remote_url: String }

Returns:

  • ({ remote_url: String })


109
# File 'sig/openai/models/webhooks/agent_session_created_webhook_event.rbs', line 109

def to_hash: -> { remote_url: String }