Class: UU::OS::Cast::CastAttributes
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::Cast::CastAttributes
- Defined in:
- uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb
Instance Attribute Summary (collapse)
-
- (Object) cast_direction
Specifies direction of the cast.
-
- (Object) casted_subject_code
Code of the subject (role or group) which is casted to the subjectUri.
-
- (Object) casted_subject_entity_type_uri
Entity type URI of casted subject.
-
- (Object) casted_subject_name
Name of the subject (role or group) which is casted to the subjectUri.
-
- (Object) casted_subject_uri
UESURI of the subject (role or group) which is casted to the subjectUri.
-
- (Object) date_from
Creation time of the cast.
-
- (Object) date_to
The informative field describing the date when the cast should expire.
-
- (Object) level
The level of the cast relation.
-
- (Object) primary
Specifies if the cast is the primary cast to the role.
-
- (Object) state
Specifies the state of the cast.
-
- (Object) subject_code
Code of the subject (role or group) to which the castedSubjectUri is casted.
-
- (Object) subject_entity_type_uri
Entity type URI of subject.
-
- (Object) subject_name
Name of the subject (role or group) to which the castedSubjectUri is casted.
-
- (Object) subject_uri
UESURI of the subject (role or group) to which the castedSubjectUri is casted.
Method Summary
Methods inherited from REST::DTO
#initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from UU::OS::REST::DTO
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO
Instance Attribute Details
- (Object) cast_direction
Specifies direction of the cast.
57 58 59 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 57 def cast_direction @cast_direction end |
- (Object) casted_subject_code
Code of the subject (role or group) which is casted to the subjectUri. Never nil.
51 52 53 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 51 def casted_subject_code @casted_subject_code end |
- (Object) casted_subject_entity_type_uri
Entity type URI of casted subject. Never nil.
54 55 56 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 54 def casted_subject_entity_type_uri @casted_subject_entity_type_uri end |
- (Object) casted_subject_name
Name of the subject (role or group) which is casted to the subjectUri. Never nil.
48 49 50 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 48 def casted_subject_name @casted_subject_name end |
- (Object) casted_subject_uri
UESURI of the subject (role or group) which is casted to the subjectUri. Never nil.
15 16 17 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 15 def casted_subject_uri @casted_subject_uri end |
- (Object) date_from
Creation time of the cast. Never nil.
25 26 27 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 25 def date_from @date_from end |
- (Object) date_to
The informative field describing the date when the cast should expire. Note that there is no business logic behind this field at the moment, so it serves only as a note. When nil is set, no date is specified.
30 31 32 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 30 def date_to @date_to end |
- (Object) level
The level of the cast relation. Never nil.
18 19 20 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 18 def level @level end |
- (Object) primary
Specifies if the cast is the primary cast to the role. Applicable only for EXECUTIVE cast level. Also subjectUri has to be a role. Never nil.
22 23 24 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 22 def primary @primary end |
- (Object) state
Specifies the state of the cast. Only ACTIVE casts are involved in the business rules computations. Never nil.
34 35 36 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 34 def state @state end |
- (Object) subject_code
Code of the subject (role or group) to which the castedSubjectUri is casted. Never nil.
42 43 44 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 42 def subject_code @subject_code end |
- (Object) subject_entity_type_uri
Entity type URI of subject. Never nil.
45 46 47 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 45 def subject_entity_type_uri @subject_entity_type_uri end |
- (Object) subject_name
Name of the subject (role or group) to which the castedSubjectUri is casted. Never nil.
38 39 40 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 38 def subject_name @subject_name end |
- (Object) subject_uri
UESURI of the subject (role or group) to which the castedSubjectUri is casted. Never nil.
12 13 14 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_attributes.rb', line 12 def subject_uri @subject_uri end |