Class: GrowsurfRuby::Models::TeamResendOwnerVerificationEmailResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/growsurf_ruby/models/team_resend_owner_verification_email_response.rb,
sig/growsurf_ruby/models/team_resend_owner_verification_email_response.rbs

Overview

See Also:

  • GrowsurfRuby::Resources::Team#resend_owner_verification_email

Defined Under Namespace

Modules: Status

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeObject



13
# File 'sig/growsurf_ruby/models/team_resend_owner_verification_email_response.rbs', line 13

def initialize: (

Instance Attribute Details

#statusSymbol, GrowsurfRuby::Models::TeamResendOwnerVerificationEmailResponse::Status

Status of the verification email request.

Parameters:

  • value (GrowsurfRuby::Models::TeamResendOwnerVerificationEmailResponse::status)

Returns:



11
# File 'lib/growsurf_ruby/models/team_resend_owner_verification_email_response.rb', line 11

required :status, enum: -> { GrowsurfRuby::Models::TeamResendOwnerVerificationEmailResponse::Status }

#successBoolean

Whether the verification email request was accepted.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


17
# File 'lib/growsurf_ruby/models/team_resend_owner_verification_email_response.rb', line 17

required :success, GrowsurfRuby::Internal::Type::Boolean

Instance Method Details

#to_hashGrowsurfRuby::Models::team_resend_owner_verification_email_response

Returns:

  • (GrowsurfRuby::Models::team_resend_owner_verification_email_response)


18
# File 'sig/growsurf_ruby/models/team_resend_owner_verification_email_response.rbs', line 18

def to_hash: -> GrowsurfRuby::Models::team_resend_owner_verification_email_response