IPWorks Cloud 2020 macOS Edition

Questions / Feedback?

ShareFileItem Type

A ShareFile Item.

Remarks

Represents an Item retrieved from ShareFile. Typically, the class deals with folder and file items types.

Fields

creationDate
String

The date when the item was created.

This property specifies the creation date of the item. Dates are formatted according to ISO 8601 and are always in UTC time.

creatorFirstName
String

The first name of the creator.

This property specifies first name of the creator.

creatorLastName
String

The last name of the creator.

This property specifies last name of the creator.

description_
String

The description of the item.

This property specifies the description of the item. To modify this property see UpdateItemInfo.

expirationDate
String

The expiration date for the item.

This property specifies the expiration date for the item. After the date ShareFile will move the item into the recycle bin. To modify this property see UpdateItemInfo.

id
String

The id of the item.

This property specifies the id for the item.

name
String

The name of the item.

This property specifies the name of the item. For example, a files name might be example.txt while a folder might be exampleFolder. To modify this field see UpdateItemInfo.

parentId
String

The id of the parent item.

This property specifies the id of the parent item. For example, if the current item is a file in the exampleFolder folder then the ParentId will be the id of the exampleFolder item. To modify this property see UpdateItemInfo.

path
String

The path to the parent folder for an item.

The property specifies the path from the virtual root to the parent folder for an item. This path is determined by ShareFile.

size
Int64

The size of the item.

The property specifies the size of the item. If the item is a file then the size will be in KB and contain the size of the file. If the item is a folder then it will be the size of the children items, recursively.

type
ShareFileItemTypes

The item's type.

This property reflects the item's type. Possible values are:

  • 0 (sfitFile)
  • 1 (sfitFolder)
  • 2 (sfitLink)*
  • 3 (sfitNote)
  • 4 (sfitSymbolicLink)*
*In reference to a folder link rather then a link created by one of the class methods or found in the Links properties.

Constructors

public init()

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 macOS Edition - Version 20.0 [Build 8265]