Class: ModerationAPI::Models::AuthorUpdateParams::Metadata
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModerationAPI::Models::AuthorUpdateParams::Metadata
- Defined in:
- lib/moderation_api/models/author_update_params.rb
Instance Attribute Summary collapse
-
#email_verified ⇒ Boolean?
Whether the author’s email is verified.
-
#identity_verified ⇒ Boolean?
Whether the author’s identity is verified.
-
#is_paying_customer ⇒ Boolean?
Whether the author is a paying customer.
-
#phone_verified ⇒ Boolean?
Whether the author’s phone number is verified.
Instance Method Summary collapse
-
#initialize(email_verified: nil, identity_verified: nil, is_paying_customer: nil, phone_verified: nil) ⇒ Object
constructor
Additional metadata provided by your system.
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(email_verified: nil, identity_verified: nil, is_paying_customer: nil, phone_verified: nil) ⇒ Object
Additional metadata provided by your system. We recommend including any relevant information that may assist in the moderation process.
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
# File 'lib/moderation_api/models/author_update_params.rb', line 88 class Metadata < ModerationAPI::Internal::Type::BaseModel # @!attribute email_verified # Whether the author's email is verified # # @return [Boolean, nil] optional :email_verified, ModerationAPI::Internal::Type::Boolean, nil?: true # @!attribute identity_verified # Whether the author's identity is verified # # @return [Boolean, nil] optional :identity_verified, ModerationAPI::Internal::Type::Boolean, nil?: true # @!attribute is_paying_customer # Whether the author is a paying customer # # @return [Boolean, nil] optional :is_paying_customer, ModerationAPI::Internal::Type::Boolean, nil?: true # @!attribute phone_verified # Whether the author's phone number is verified # # @return [Boolean, nil] optional :phone_verified, ModerationAPI::Internal::Type::Boolean, nil?: true # @!method initialize(email_verified: nil, identity_verified: nil, is_paying_customer: nil, phone_verified: nil) # Additional metadata provided by your system. We recommend including any relevant # information that may assist in the moderation process. # # @param email_verified [Boolean, nil] Whether the author's email is verified # # @param identity_verified [Boolean, nil] Whether the author's identity is verified # # @param is_paying_customer [Boolean, nil] Whether the author is a paying customer # # @param phone_verified [Boolean, nil] Whether the author's phone number is verified end |
Instance Attribute Details
#email_verified ⇒ Boolean?
Whether the author’s email is verified
93 |
# File 'lib/moderation_api/models/author_update_params.rb', line 93 optional :email_verified, ModerationAPI::Internal::Type::Boolean, nil?: true |
#identity_verified ⇒ Boolean?
Whether the author’s identity is verified
99 |
# File 'lib/moderation_api/models/author_update_params.rb', line 99 optional :identity_verified, ModerationAPI::Internal::Type::Boolean, nil?: true |
#is_paying_customer ⇒ Boolean?
Whether the author is a paying customer
105 |
# File 'lib/moderation_api/models/author_update_params.rb', line 105 optional :is_paying_customer, ModerationAPI::Internal::Type::Boolean, nil?: true |
#phone_verified ⇒ Boolean?
Whether the author’s phone number is verified
111 |
# File 'lib/moderation_api/models/author_update_params.rb', line 111 optional :phone_verified, ModerationAPI::Internal::Type::Boolean, nil?: true |