Partager via


ProjectFileProperties interface

Base class for file properties.

Properties

extension

Optional File extension. If submitted it should not have a leading period and must match the extension from filePath.

filePath

Relative path of this file resource. This property can be set when creating or updating the file resource.

lastModified

Modification DateTime. NOTE: This property will not be serialized. It can only be populated by the server.

mediaType

File content type. This property can be modified to reflect the file content type.

size

File size. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

extension

Optional File extension. If submitted it should not have a leading period and must match the extension from filePath.

extension?: string

Property Value

string

filePath

Relative path of this file resource. This property can be set when creating or updating the file resource.

filePath?: string

Property Value

string

lastModified

Modification DateTime. NOTE: This property will not be serialized. It can only be populated by the server.

lastModified?: Date

Property Value

Date

mediaType

File content type. This property can be modified to reflect the file content type.

mediaType?: string

Property Value

string

size

File size. NOTE: This property will not be serialized. It can only be populated by the server.

size?: number

Property Value

number