Class: UU::OS::Company::CompanySetAttributes Deprecated
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::Company::CompanySetAttributes
- Defined in:
- uu_os-0.29.16/lib/uu/os/company/company_set_attributes.rb
Overview
Instance Attribute Summary (collapse)
-
- (Object) code
The new code of the company.
-
- (Object) description
The new description of the company.
-
- (Object) icon_uri
URI of the company's icon.
-
- (Object) name
The new name of the company.
-
- (Object) security_level
The new security level of the company.
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) code
The new code of the company. When null is set, the code is not modified. When blank string is set, the code is generated automatically using the system sequence. The code must be unique in a given territory, otherwise the setAttributes command fails.
20 21 22 |
# File 'uu_os-0.29.16/lib/uu/os/company/company_set_attributes.rb', line 20 def code @code end |
- (Object) description
The new description of the company. When null is set, the description is not modified.
23 24 25 |
# File 'uu_os-0.29.16/lib/uu/os/company/company_set_attributes.rb', line 23 def description @description end |
- (Object) icon_uri
URI of the company's icon. When null is set, the icon is not modified. If nil URI ("ues:[-1]:[-1]:") is set, the company icon is removed and the company uses icon from meta artifact.
39 40 41 |
# File 'uu_os-0.29.16/lib/uu/os/company/company_set_attributes.rb', line 39 def icon_uri @icon_uri end |
- (Object) name
The new name of the company. When null is set, the name is not modified.
14 15 16 |
# File 'uu_os-0.29.16/lib/uu/os/company/company_set_attributes.rb', line 14 def name @name end |
- (Object) security_level
The new security level of the company. When null is set, the security level is not modified. If the meta artifact default security level is higher than the user's security clearance, the setAttributes command fails.
28 29 30 |
# File 'uu_os-0.29.16/lib/uu/os/company/company_set_attributes.rb', line 28 def security_level @security_level end |