Class: Amocrm::Models::UserGetByIDResponse::User::Rights::StatusRight

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

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

#initialize(catalog_access: nil, companies: nil, contacts: nil, group_id: nil, is_active: nil, is_admin: nil, is_free: nil, leads: nil, mail_access: nil, role_id: nil, status_rights: nil, tasks: nil) ⇒ Object

Parameters:

  • catalog_access (Boolean) (defaults to: nil)
  • companies (Object) (defaults to: nil)
  • contacts (Object) (defaults to: nil)
  • group_id (Integer, nil) (defaults to: nil)
  • is_active (Boolean) (defaults to: nil)
  • is_admin (Boolean) (defaults to: nil)
  • is_free (Boolean) (defaults to: nil)
  • leads (Object) (defaults to: nil)
  • mail_access (Boolean) (defaults to: nil)
  • role_id (Integer, nil) (defaults to: nil)
  • status_rights (Array<Amocrm::Models::UserGetByIDResponse::User::Rights::StatusRight>, nil) (defaults to: nil)
  • tasks (Object) (defaults to: nil)


364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
# File 'lib/amocrm/models/user_get_by_id_response.rb', line 364

class StatusRight < Amocrm::Internal::Type::BaseModel
  # @!attribute entity_type
  #
  #   @return [String, nil]
  optional :entity_type, String

  # @!attribute pipeline_id
  #
  #   @return [Integer, nil]
  optional :pipeline_id, Integer

  # @!attribute rights
  #
  #   @return [Object, nil]
  optional :rights, Amocrm::Internal::Type::Unknown

  # @!attribute status_id
  #
  #   @return [Integer, nil]
  optional :status_id, Integer

  # @!method initialize(entity_type: nil, pipeline_id: nil, rights: nil, status_id: nil)
  #   @param entity_type [String]
  #   @param pipeline_id [Integer]
  #   @param rights [Object]
  #   @param status_id [Integer]
end

Instance Attribute Details

#entity_typeString?

Returns:

  • (String, nil)


368
# File 'lib/amocrm/models/user_get_by_id_response.rb', line 368

optional :entity_type, String

#pipeline_idInteger?

Returns:

  • (Integer, nil)


373
# File 'lib/amocrm/models/user_get_by_id_response.rb', line 373

optional :pipeline_id, Integer

#rightsObject?

Returns:

  • (Object, nil)


378
# File 'lib/amocrm/models/user_get_by_id_response.rb', line 378

optional :rights, Amocrm::Internal::Type::Unknown

#status_idInteger?

Returns:

  • (Integer, nil)


383
# File 'lib/amocrm/models/user_get_by_id_response.rb', line 383

optional :status_id, Integer