Class: Windoo::Requirement
- Inherits:
-
BaseClasses::Criterion
- Object
- BaseClasses::JSONObject
- BaseClasses::Criterion
- Windoo::Requirement
- Includes:
- Mixins::APICollection
- Defined in:
- lib/windoo/objects/requirement.rb
Overview
The class for dealing with Software Title Requirements in the TitleEditor
A requirement is one criterion, a group of which define which computers have the title installed, regardless of version.
Constant Summary collapse
- RSRC_PATH =
Constants
'requirements'
- CONTAINER_CLASS =
Windoo::SoftwareTitle
- JSON_ATTRIBUTES =
Attributes
{ # @!attribute requirementId # @return [Integer] The id number of this requirement in the Title Editor requirementId: { class: :Integer, identifier: :primary, readonly: true }, # @!attribute softwareTitleId # @return [Integer] The id number of the title which uses this requirement softwareTitleId: { class: :Integer, readonly: true } }.freeze
Constants inherited from BaseClasses::Criterion
BaseClasses::Criterion::ATTRIBUTES_TO_UPDATE_TOGETHER, BaseClasses::Criterion::TYPES, BaseClasses::Criterion::TYPE_EA, BaseClasses::Criterion::TYPE_RECON
Constants inherited from BaseClasses::JSONObject
BaseClasses::JSONObject::PP_OMITTED_INST_VARS
Instance Attribute Summary collapse
-
#requirementId ⇒ Integer
The id number of this requirement in the Title Editor.
-
#softwareTitleId ⇒ Integer
The id number of the title which uses this requirement.
Attributes inherited from BaseClasses::Criterion
#absoluteOrderId, #and_or, #name, #operator, #type, #value
Attributes inherited from BaseClasses::JSONObject
Class Method Summary collapse
Methods included from Mixins::APICollection
#==, #cnx, #container, #create_on_server, #delete, #deleted_id, included, #initialize, #pretty_print_instance_variables, #primary_id, #softwareTitle, #update_on_server
Methods inherited from BaseClasses::Criterion
#initialize, #local_absoluteOrderId=, #to_api
Methods included from Mixins::Immutable
Methods inherited from BaseClasses::JSONObject
attribute_already_parsed?, ident_keys, #initialize, json_attributes, json_attributes_parsed, mutable?, parse_json_attributes, #pretty_print_instance_variables, primary_id_key, required_attributes, #to_api, #to_json, validate_attr
Instance Attribute Details
#requirementId ⇒ Integer
Returns The id number of this requirement in the Title Editor.
|
# File 'lib/windoo/objects/requirement.rb', line 35
|
#softwareTitleId ⇒ Integer
Returns The id number of the title which uses this requirement.
|
# File 'lib/windoo/objects/requirement.rb', line 43
|
Class Method Details
.fetch(*_args) ⇒ Object
56 57 58 |
# File 'lib/windoo/objects/requirement.rb', line 56 def self.fetch(*_args) raise Windoo::UnsupportedError, 'Requirements are fetched as part of the SoftwareTitle that contains them' end |