Class: Jamf::OAPISchemas::ComputerDisk

Inherits:
Jamf::OAPIObject show all
Defined in:
lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb

Overview

OAPI Object Model and Enums for: ComputerDisk

This class was automatically generated from the api/schema URL path on a Jamf Pro server version 11.6.1-t1718634702

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

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#deviceString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 77

#idString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 69

#modelString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 84

#partitionsArray<Jamf::OAPISchemas::ComputerPartition>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 130

#revisionString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 91

#serialNumberString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 98

#sizeMegabytesInteger (readonly)

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 105

#smartStatusString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 114

#typeString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb', line 122