Class: Amocrm::Models::RoleUpdateByIDParams::Rights::StatusRight

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/role_update_by_id_params.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(entity_type: nil, pipeline_id: nil, rights: nil, status_id: nil) ⇒ Object

Parameters:

  • entity_type (String) (defaults to: nil)
  • pipeline_id (Integer) (defaults to: nil)
  • rights (Object) (defaults to: nil)
  • status_id (Integer) (defaults to: nil)


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
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 114

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)


118
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 118

optional :entity_type, String

#pipeline_idInteger?

Returns:

  • (Integer, nil)


123
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 123

optional :pipeline_id, Integer

#rightsObject?

Returns:

  • (Object, nil)


128
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 128

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

#status_idInteger?

Returns:

  • (Integer, nil)


133
# File 'lib/amocrm/models/role_update_by_id_params.rb', line 133

optional :status_id, Integer