Class: UU::OS::Cast::CastCreate
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::Cast::CastCreate
- Defined in:
- uu_os_client-0.10.6/lib/uu/os/cast/cast_create.rb
Instance Attribute Summary (collapse)
-
- (Object) casted_subject_uri
UESURI of the subject (role or group) which is casted to the subject identified by the command main entity.
-
- (Object) date_to
The informative field describing the date when the cast should expire.
-
- (Object) level
The level of the new cast relation.
-
- (Object) primary
Specifies if the cast will be the primary cast to the role.
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) casted_subject_uri
UESURI of the subject (role or group) which is casted to the subject identified by the command main entity. Cannot be nil.
14 15 16 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_create.rb', line 14 def casted_subject_uri @casted_subject_uri 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 set.
28 29 30 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_create.rb', line 28 def date_to @date_to end |
- (Object) level
The level of the new cast relation. When nil is set EXECUTIVE level is used.
17 18 19 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_create.rb', line 17 def level @level end |
- (Object) primary
Specifies if the cast will be the primary cast to the role. Applicable only for EXECUTIVE cast level. Also main entity has to be a role. When true value is set, the new cast will be the primary executive cast. When nil or false value is set, will be an ordinary executive cast.
23 24 25 |
# File 'uu_os_client-0.10.6/lib/uu/os/cast/cast_create.rb', line 23 def primary @primary end |