Class: Jamf::OAPISchemas::PrestagePurchasingInformation

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

Overview

OAPI Object Model and Enums for: PrestagePurchasingInformation

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::DeviceEnrollmentPrestage

Sub Objects: Other object models used by this model’s attributes.

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 id
  #   @return [Integer]
  id: {
    class: :j_id,
    required: true,
    identifier: :primary
  },

  # @!attribute isLeased
  #   @return [Boolean]
  isLeased: {
    class: :boolean,
    required: true
  },

  # @!attribute isPurchased
  #   @return [Boolean]
  isPurchased: {
    class: :boolean,
    required: true
  },

  # @!attribute appleCareID
  #   @return [String]
  appleCareID: {
    class: :string,
    required: true
  },

  # @!attribute poNumber
  #   @return [String]
  poNumber: {
    class: :string,
    required: true
  },

  # @!attribute vendor
  #   @return [String]
  vendor: {
    class: :string,
    required: true
  },

  # @!attribute purchasePrice
  #   @return [String]
  purchasePrice: {
    class: :string,
    required: true
  },

  # @!attribute lifeExpectancy
  #   @return [Integer]
  lifeExpectancy: {
    class: :integer,
    required: true
  },

  # @!attribute purchasingAccount
  #   @return [String]
  purchasingAccount: {
    class: :string,
    required: true
  },

  # @!attribute purchasingContact
  #   @return [String]
  purchasingContact: {
    class: :string,
    required: true
  },

  # @!attribute leaseDate
  #   @return [String]
  leaseDate: {
    class: :string,
    required: true
  },

  # @!attribute poDate
  #   @return [String]
  poDate: {
    class: :string,
    required: true
  },

  # @!attribute warrantyDate
  #   @return [String]
  warrantyDate: {
    class: :string,
    required: true
  },

  # @!attribute versionLock
  #   @return [Integer]
  versionLock: {
    class: :integer,
    required: true
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#appleCareIDString

Returns:



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

#idInteger

Returns:

  • (Integer)


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

#isLeasedBoolean

Returns:

  • (Boolean)


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

#isPurchasedBoolean

Returns:

  • (Boolean)


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

#leaseDateString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb', line 140

#lifeExpectancyInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb', line 119

#poDateString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb', line 147

#poNumberString

Returns:



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

#purchasePriceString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb', line 112

#purchasingAccountString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb', line 126

#purchasingContactString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb', line 133

#vendorString

Returns:



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

#versionLockInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb', line 161

#warrantyDateString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb', line 154