Class: Jamf::OAPISchemas::FileData

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

Overview

OAPI Object Model and Enums for: FileData

Description of this class from the OAPI Schema:

Metadata pertaining to the file.

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.

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.

- '/v1/jcds/files:GET' needs permissions:
  - Read Jamf Content Distribution Server Files

Constant Summary collapse

OAPI_PROPERTIES =
{

  # The name of the file
  # @!attribute [r] fileName
  #   @return [String]
  fileName: {
    class: :string,
    readonly: true
  },

  # The length in bytes
  # @!attribute [r] length
  #   @return [Integer]
  length: {
    class: :integer,
    readonly: true
  },

  # The MD5 in hex
  # @!attribute [r] md5
  #   @return [String]
  md5: {
    class: :string,
    readonly: true
  },

  # The region the file is hosted in
  # @!attribute [r] region
  #   @return [String]
  region: {
    class: :string,
    readonly: true
  },

  # The SHA3_512 in hex
  # @!attribute [r] sha3
  #   @return [String]
  sha3: {
    class: :string,
    readonly: true
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#fileNameString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/file_data.rb', line 71

#lengthInteger (readonly)

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/file_data.rb', line 79

#md5String (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/file_data.rb', line 87

#regionString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/file_data.rb', line 95

#sha3String (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/file_data.rb', line 103