Class: Jamf::SoftwareUpdateServer
- Defined in:
- lib/jamf/api/classic/api_objects/software_update_server.rb
Overview
A Software Update Server in the JSS
Only minimally implemented, for access to the APIObject list methods
Constant Summary collapse
- RSRC_BASE =
The base for REST resources of this class
'softwareupdateservers'- RSRC_LIST_KEY =
the hash key used for the JSON list output of all objects in the JSS
:software_update_servers- RSRC_OBJECT_KEY =
The hash key used for the JSON object output. It’s also used in various error messages
:software_update_server- OBJECT_HISTORY_OBJECT_TYPE =
the object type for this object in the object history table. See APIObject#add_object_history_entry
82
Instance Attribute Summary collapse
- #ip_address ⇒ String readonly
- #port ⇒ Integer readonly
- #set_system_wide ⇒ Boolean readonly
Instance Method Summary collapse
-
#initialize(**args) ⇒ SoftwareUpdateServer
constructor
A new instance of SoftwareUpdateServer.
Constructor Details
#initialize(**args) ⇒ SoftwareUpdateServer
Returns a new instance of SoftwareUpdateServer.
79 80 81 82 83 84 |
# File 'lib/jamf/api/classic/api_objects/software_update_server.rb', line 79 def initialize(**args) super @ip_address = @init_data[:ip_address] @port = @init_data[:port] @set_system_wide = @init_data[:set_system_wide] end |
Instance Attribute Details
#ip_address ⇒ String (readonly)
64 65 66 |
# File 'lib/jamf/api/classic/api_objects/software_update_server.rb', line 64 def ip_address @ip_address end |
#port ⇒ Integer (readonly)
67 68 69 |
# File 'lib/jamf/api/classic/api_objects/software_update_server.rb', line 67 def port @port end |
#set_system_wide ⇒ Boolean (readonly)
70 71 72 |
# File 'lib/jamf/api/classic/api_objects/software_update_server.rb', line 70 def set_system_wide @set_system_wide end |