Class: UU::OS::Friend::FriendAttributes
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::Friend::FriendAttributes
- Defined in:
- uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb
Instance Attribute Summary (collapse)
-
- (Object) artifact_type
deprecated
Deprecated.
Always returns nil.
-
- (Object) code
Code of the friend.
-
- (Object) competent_role_uri
URI of the competent role.
-
- (Object) creation_stamp
Creation stamp of the friend.
-
- (Object) creation_time
Creation time of the friend.
-
- (Object) description
Description of the friend.
-
- (Object) first_name
First name of the friend.
-
- (Object) icon_uri
URI of the friend's icon.
-
- (Object) location_uri
URI of the friend's container.
-
- (Object) meta_artifact_uri
URI of the meta artifact.
-
- (Object) modification_stamp
Modification stamp of the friend.
-
- (Object) modification_time
Modification time of the friend.
-
- (Object) organizational_unit_uri
URI of the organizational unit in which the friend role lies.
-
- (Object) security_level
Security level of the friend.
-
- (Object) surname
Surname of the friend.
-
- (Object) universe_id
Universe identifier of the personal role (user).
-
- (Object) uri
Normalized UESURI of the friend.
-
- (Object) version
Version of the friend.
Instance Method Summary (collapse)
-
- (Object) revision
deprecated
Deprecated.
Use #version instead.
-
- (Object) revision=(val)
deprecated
Deprecated.
Use #version instead.
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) artifact_type
Always returns nil.
65 66 67 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 65 def artifact_type @artifact_type end |
- (Object) code
Code of the friend. Never nil.
21 22 23 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 21 def code @code end |
- (Object) competent_role_uri
URI of the competent role. Never nil.
39 40 41 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 39 def competent_role_uri @competent_role_uri end |
- (Object) creation_stamp
Creation stamp of the friend.
47 48 49 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 47 def creation_stamp @creation_stamp end |
- (Object) creation_time
Creation time of the friend.
50 51 52 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 50 def creation_time @creation_time end |
- (Object) description
Description of the friend. Never nil.
24 25 26 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 24 def description @description end |
- (Object) first_name
First name of the friend. Never nil.
15 16 17 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 15 def first_name @first_name end |
- (Object) icon_uri
URI of the friend's icon. If nil is set, the friend uses icon from meta artifact.
62 63 64 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 62 def icon_uri @icon_uri end |
- (Object) location_uri
URI of the friend's container. Never nil.
27 28 29 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 27 def location_uri @location_uri end |
- (Object) meta_artifact_uri
URI of the meta artifact. Never nil.
33 34 35 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 33 def @meta_artifact_uri end |
- (Object) modification_stamp
Modification stamp of the friend.
53 54 55 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 53 def modification_stamp @modification_stamp end |
- (Object) modification_time
Modification time of the friend.
56 57 58 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 56 def modification_time @modification_time end |
- (Object) organizational_unit_uri
URI of the organizational unit in which the friend role lies. Never nil.
30 31 32 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 30 def organizational_unit_uri @organizational_unit_uri end |
- (Object) security_level
Security level of the friend. Never nil.
44 45 46 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 44 def security_level @security_level end |
- (Object) surname
Surname of the friend. Never nil.
18 19 20 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 18 def surname @surname end |
- (Object) universe_id
Universe identifier of the personal role (user). Never nil.
36 37 38 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 36 def universe_id @universe_id end |
- (Object) uri
Normalized UESURI of the friend. Never nil.
12 13 14 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 12 def uri @uri end |
- (Object) version
Version of the friend.
59 60 61 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 59 def version @version end |
Instance Method Details
- (Object) revision
Use #version instead.
217 218 219 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 217 def revision attributes[:version] end |
- (Object) revision=(val)
Use #version instead.
222 223 224 |
# File 'uu_os-0.29.16/lib/uu/os/friend/friend_attributes.rb', line 222 def revision=(val) attributes[:version] = val end |