Class: Anthropic::Models::Beta::BetaUserProfileEnrollmentURL
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaUserProfileEnrollmentURL
- Defined in:
- lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#expires_at ⇒ Time
A timestamp in RFC 3339 format.
-
#type ⇒ Symbol, Anthropic::Models::Beta::BetaUserProfileEnrollmentURL::Type
Object type.
-
#url ⇒ String
Enrollment URL to send to the end user.
Instance Method Summary collapse
- #initialize(expires_at:, type:, url:) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, 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(expires_at:, type:, url:) ⇒ Object
|
|
# File 'lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb', line 26
|
Instance Attribute Details
#expires_at ⇒ Time
A timestamp in RFC 3339 format
12 |
# File 'lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb', line 12 required :expires_at, Time |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaUserProfileEnrollmentURL::Type
Object type. Always ‘enrollment_url`.
18 |
# File 'lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb', line 18 required :type, enum: -> { Anthropic::Beta::BetaUserProfileEnrollmentURL::Type } |
#url ⇒ String
Enrollment URL to send to the end user. Valid until ‘expires_at`.
24 |
# File 'lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb', line 24 required :url, String |