Class: JSS::RemovableMacAddress
- Defined in:
- lib/jss/api_object/removable_macaddr.rb,
lib/jss.rb
Overview
A removable_macaddr in the JSS
These are simple, in that they only have an ID and a name
Constant Summary collapse
- RSRC_BASE =
The base for REST resources of this class
"removablemacaddresses"
- RSRC_LIST_KEY =
the hash key used for the JSON list output of all objects in the JSS
:removable_mac_addresses
- RSRC_OBJECT_KEY =
The hash key used for the JSON object output. It's also used in various error messages
:removable_mac_address
- OBJECT_HISTORY_OBJECT_TYPE =
the object type for this object in the object history table. See APIObject#add_object_history_entry
77
Instance Attribute Summary collapse
-
#need_to_update ⇒ Boolean
included
from Updatable
readonly
Do we have unsaved changes?.
Instance Method Summary collapse
-
#clone(new_name, api: nil) ⇒ APIObject
included
from Creatable
make a clone of this API object, with a new name.
-
#create ⇒ Integer
included
from Creatable
Create a new object in the JSS.
-
#name=(newname) ⇒ void
included
from Updatable
Change the name of this item Remember to #update to push changes to the server.
-
#update ⇒ Boolean
included
from Updatable
Save changes to the JSS.
Constructor Details
This class inherits a constructor from JSS::APIObject
Instance Attribute Details
#need_to_update ⇒ Boolean (readonly) Originally defined in module Updatable
Returns do we have unsaved changes?.
Instance Method Details
#clone(new_name, api: nil) ⇒ APIObject Originally defined in module Creatable
make a clone of this API object, with a new name. The class must be creatable
#create ⇒ Integer Originally defined in module Creatable
Create a new object in the JSS.
#name=(newname) ⇒ void Originally defined in module Updatable
This method returns an undefined value.
Change the name of this item Remember to #update to push changes to the server.
#update ⇒ Boolean Originally defined in module Updatable
Save changes to the JSS