Class: Cadenya::Models::SubjectInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::SubjectInfo
- Defined in:
- lib/cadenya/models/subject_info.rb,
sig/cadenya/models/subject_info.rbs
Instance Attribute Summary collapse
-
#objective_count ⇒ Integer?
readonly
Returns the value of attribute objective_count.
-
#tenant ⇒ Cadenya::TenantReference?
readonly
Returns the value of attribute tenant.
Instance Method Summary collapse
-
#initialize(objective_count: nil, tenant: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see SubjectInfo for more details.
- #objective_count ⇒ Integer readonly
- #tenant ⇒ Cadenya::TenantReference readonly
- #to_hash ⇒ {
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(objective_count: nil, tenant: nil) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::SubjectInfo for more details.
SubjectInfo provides read-only server-derived data about a subject.
|
|
# File 'lib/cadenya/models/subject_info.rb', line 21
|
Instance Attribute Details
#objective_count ⇒ Integer? (readonly)
Returns the value of attribute objective_count.
7 8 9 |
# File 'sig/cadenya/models/subject_info.rbs', line 7 def objective_count @objective_count end |
#tenant ⇒ Cadenya::TenantReference? (readonly)
Returns the value of attribute tenant.
11 12 13 |
# File 'sig/cadenya/models/subject_info.rbs', line 11 def tenant @tenant end |
Instance Method Details
#objective_count= ⇒ Integer (readonly)
9 |
# File 'sig/cadenya/models/subject_info.rbs', line 9
def objective_count=: (Integer) -> Integer
|
#tenant= ⇒ Cadenya::TenantReference (readonly)
13 |
# File 'sig/cadenya/models/subject_info.rbs', line 13
def tenant=: (Cadenya::TenantReference) -> Cadenya::TenantReference
|
#to_hash ⇒ {
20 |
# File 'sig/cadenya/models/subject_info.rbs', line 20
def to_hash: -> {
|