Class: Amocrm::Models::RoleUpdateByIDParams::Rights
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(id:, name: nil, request_id: nil, rights: nil, request_options: {}) ⇒ Object
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 37
class Rights < Amocrm::Internal::Type::BaseModel
optional :catalog_access, Amocrm::Internal::Type::Boolean
optional :companies, Amocrm::Internal::Type::Unknown
optional :contacts, Amocrm::Internal::Type::Unknown
optional :group_id, Integer, nil?: true
optional :is_active, Amocrm::Internal::Type::Boolean
optional :is_admin, Amocrm::Internal::Type::Boolean
optional :is_free, Amocrm::Internal::Type::Boolean
optional :leads, Amocrm::Internal::Type::Unknown
optional :mail_access, Amocrm::Internal::Type::Boolean
optional :role_id, Integer, nil?: true
optional :status_rights,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::RoleUpdateByIDParams::Rights::StatusRight] },
nil?: true
optional :tasks, Amocrm::Internal::Type::Unknown
class StatusRight < Amocrm::Internal::Type::BaseModel
optional :entity_type, String
optional :pipeline_id, Integer
optional :rights, Amocrm::Internal::Type::Unknown
optional :status_id, Integer
end
end
|
Instance Attribute Details
#catalog_access ⇒ Boolean?
41
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 41
optional :catalog_access, Amocrm::Internal::Type::Boolean
|
#companies ⇒ Object?
46
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 46
optional :companies, Amocrm::Internal::Type::Unknown
|
51
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 51
optional :contacts, Amocrm::Internal::Type::Unknown
|
#group_id ⇒ Integer?
56
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 56
optional :group_id, Integer, nil?: true
|
#is_active ⇒ Boolean?
61
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 61
optional :is_active, Amocrm::Internal::Type::Boolean
|
#is_admin ⇒ Boolean?
66
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 66
optional :is_admin, Amocrm::Internal::Type::Boolean
|
#is_free ⇒ Boolean?
71
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 71
optional :is_free, Amocrm::Internal::Type::Boolean
|
#leads ⇒ Object?
76
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 76
optional :leads, Amocrm::Internal::Type::Unknown
|
#mail_access ⇒ Boolean?
81
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 81
optional :mail_access, Amocrm::Internal::Type::Boolean
|
#role_id ⇒ Integer?
86
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 86
optional :role_id, Integer, nil?: true
|
91
92
93
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 91
optional :status_rights,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::RoleUpdateByIDParams::Rights::StatusRight] },
nil?: true
|
#tasks ⇒ Object?
98
|
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 98
optional :tasks, Amocrm::Internal::Type::Unknown
|
Instance Method Details
#to_hash ⇒ {
118
|
# File 'sig/amocrm/models/role_update_by_id_params.rbs', line 118
def to_hash: -> {
|