Class: Amocrm::Models::RoleCreateParams::Body::Rights

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/role_create_params.rb

Overview

See Also:

Defined Under Namespace

Classes: StatusRight

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Amocrm::Internal::Type::BaseModel

Instance Attribute Details

#catalog_accessBoolean?

Returns:

  • (Boolean, nil)


45
# File 'lib/amocrm/models/role_create_params.rb', line 45

optional :catalog_access, Amocrm::Internal::Type::Boolean

#companiesObject?

Returns:

  • (Object, nil)


50
# File 'lib/amocrm/models/role_create_params.rb', line 50

optional :companies, Amocrm::Internal::Type::Unknown

#contactsObject?

Returns:

  • (Object, nil)


55
# File 'lib/amocrm/models/role_create_params.rb', line 55

optional :contacts, Amocrm::Internal::Type::Unknown

#group_idInteger?

Returns:

  • (Integer, nil)


60
# File 'lib/amocrm/models/role_create_params.rb', line 60

optional :group_id, Integer, nil?: true

#is_activeBoolean?

Returns:

  • (Boolean, nil)


65
# File 'lib/amocrm/models/role_create_params.rb', line 65

optional :is_active, Amocrm::Internal::Type::Boolean

#is_adminBoolean?

Returns:

  • (Boolean, nil)


70
# File 'lib/amocrm/models/role_create_params.rb', line 70

optional :is_admin, Amocrm::Internal::Type::Boolean

#is_freeBoolean?

Returns:

  • (Boolean, nil)


75
# File 'lib/amocrm/models/role_create_params.rb', line 75

optional :is_free, Amocrm::Internal::Type::Boolean

#leadsObject?

Returns:

  • (Object, nil)


80
# File 'lib/amocrm/models/role_create_params.rb', line 80

optional :leads, Amocrm::Internal::Type::Unknown

#mail_accessBoolean?

Returns:

  • (Boolean, nil)


85
# File 'lib/amocrm/models/role_create_params.rb', line 85

optional :mail_access, Amocrm::Internal::Type::Boolean

#role_idInteger?

Returns:

  • (Integer, nil)


90
# File 'lib/amocrm/models/role_create_params.rb', line 90

optional :role_id, Integer, nil?: true

#status_rightsArray<Amocrm::Models::RoleCreateParams::Body::Rights::StatusRight>?



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

#tasksObject?

Returns:

  • (Object, nil)


104
# File 'lib/amocrm/models/role_create_params.rb', line 104

optional :tasks, Amocrm::Internal::Type::Unknown