Class: Amocrm::Models::RoleCreateParams::Body::Rights
Overview
Defined Under Namespace
Classes: StatusRight
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
114
|
# File 'sig/amocrm/models/role_create_params.rbs', line 114
def initialize: (
|
Instance Attribute Details
#catalog_access ⇒ Boolean?
45
|
# File 'lib/amocrm/models/role_create_params.rb', line 45
optional :catalog_access, Amocrm::Internal::Type::Boolean
|
#companies ⇒ Object?
50
|
# File 'lib/amocrm/models/role_create_params.rb', line 50
optional :companies, Amocrm::Internal::Type::Unknown
|
55
|
# File 'lib/amocrm/models/role_create_params.rb', line 55
optional :contacts, Amocrm::Internal::Type::Unknown
|
#group_id ⇒ Integer?
60
|
# File 'lib/amocrm/models/role_create_params.rb', line 60
optional :group_id, Integer, nil?: true
|
#is_active ⇒ Boolean?
65
|
# File 'lib/amocrm/models/role_create_params.rb', line 65
optional :is_active, Amocrm::Internal::Type::Boolean
|
#is_admin ⇒ Boolean?
70
|
# File 'lib/amocrm/models/role_create_params.rb', line 70
optional :is_admin, Amocrm::Internal::Type::Boolean
|
#is_free ⇒ Boolean?
75
|
# File 'lib/amocrm/models/role_create_params.rb', line 75
optional :is_free, Amocrm::Internal::Type::Boolean
|
#leads ⇒ Object?
80
|
# File 'lib/amocrm/models/role_create_params.rb', line 80
optional :leads, Amocrm::Internal::Type::Unknown
|
#mail_access ⇒ Boolean?
85
|
# File 'lib/amocrm/models/role_create_params.rb', line 85
optional :mail_access, Amocrm::Internal::Type::Boolean
|
#role_id ⇒ Integer?
90
|
# File 'lib/amocrm/models/role_create_params.rb', line 90
optional :role_id, Integer, nil?: true
|
95
96
97
98
99
|
# File 'lib/amocrm/models/role_create_params.rb', line 95
optional :status_rights,
-> {
Amocrm::Internal::Type::ArrayOf[Amocrm::RoleCreateParams::Body::Rights::StatusRight]
},
nil?: true
|
#tasks ⇒ Object?
104
|
# File 'lib/amocrm/models/role_create_params.rb', line 104
optional :tasks, Amocrm::Internal::Type::Unknown
|
Instance Method Details
#to_hash ⇒ {
129
|
# File 'sig/amocrm/models/role_create_params.rbs', line 129
def to_hash: -> {
|