Class: Jamf::OAPISchemas::ComputerDisk
- Inherits:
-
Jamf::OAPIObject
- Object
- Jamf::OAPIObject
- Jamf::OAPISchemas::ComputerDisk
- Defined in:
- lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb
Overview
OAPI Object Model and Enums for: ComputerDisk
This class was automatically genereated from the api/schema URL path on a Jamf Pro server version 10.46.0-t1681398190
This class may be used directly, e.g instances of other classes may use instances of this class as one of their own properties/attributes.
It may also be used as a superclass when implementing Jamf Pro API Resources in ruby-jss. The subclasses include appropriate mixins, and should expand on the basic functionality provided here.
Container Objects: Other object models that use this model as the value in one of their attributes.
- Jamf::OAPISchemas::ComputerStorage
Sub Objects: Other object models used by this model’s attributes.
- Jamf::OAPISchemas::ComputerPartition
Endpoints and Privileges: API endpoints and HTTP operations that use this object model, and the Jamf Pro privileges needed to access them.
Constant Summary collapse
- OAPI_PROPERTIES =
{ # @!attribute [r] id # @return [String] id: { class: :j_id, identifier: :primary, readonly: true }, # @!attribute [r] device # @return [String] device: { class: :string, readonly: true }, # @!attribute [r] model # @return [String] model: { class: :string, readonly: true }, # @!attribute [r] revision # @return [String] revision: { class: :string, readonly: true }, # @!attribute [r] serialNumber # @return [String] serialNumber: { class: :string, readonly: true }, # Disk Size in MB. # @!attribute [r] sizeMegabytes # @return [Integer] sizeMegabytes: { class: :integer, format: 'int64', readonly: true }, # S.M.A.R.T Status # @!attribute [r] smartStatus # @return [String] smartStatus: { class: :string, readonly: true }, # Connection type attribute. # @!attribute [r] type # @return [String] type: { class: :string, readonly: true }, # @!attribute partitions # @return [Array<Jamf::OAPISchemas::ComputerPartition>] partitions: { class: Jamf::OAPISchemas::ComputerPartition, multi: true } }
Instance Attribute Summary collapse
- #device ⇒ String readonly
- #id ⇒ String readonly
- #model ⇒ String readonly
- #partitions ⇒ Array<Jamf::OAPISchemas::ComputerPartition>
- #revision ⇒ String readonly
- #serialNumber ⇒ String readonly
- #sizeMegabytes ⇒ Integer readonly
- #smartStatus ⇒ String readonly
- #type ⇒ String readonly
Constructor Details
This class inherits a constructor from Jamf::OAPIObject
Instance Attribute Details
#partitions ⇒ Array<Jamf::OAPISchemas::ComputerPartition>
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 130
|
#serialNumber ⇒ String (readonly)
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 98
|
#sizeMegabytes ⇒ Integer (readonly)
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 105
|
#smartStatus ⇒ String (readonly)
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 114
|