Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 2.13 KB

File metadata and controls

46 lines (40 loc) · 2.13 KB

UltracartClient::SfvbFileEntry

Properties

Name Type Description Notes
auto_compiled Boolean True when this file is generated by the CJSON compiler and must not be edited directly. Its .cjson sibling is the source. [optional]
directory Boolean True when this entry is a directory. [optional]
fs_directory_oid Integer StoreFront file system directory oid. For a directory this is its own oid; for a file it is the parent. [optional]
fs_file_oid Integer StoreFront file system file oid. Absent on a directory entry, which has no file oid. [optional]
hash_sha256 String SHA-256 of the content. Use as the If-Match value when writing. [optional]
i18n_violation Boolean True when the file has internationalization violations. [optional]
last_modified String Last modified timestamp. [optional]
merge_conflict Boolean True when the file carries an unresolved theme merge conflict. Blocks theme activation. [optional]
mime_type String Mime type. Only text/* files can be read as content or searched by text. [optional]
name String File or directory name. [optional]
path String Full path of the file or directory. [optional]
read_only Boolean True when the file is marked read only. [optional]
size Integer Size in bytes. Zero for directories. [optional]
valid Boolean False when the file failed Velocity validation on its last write. [optional]
version Integer Current version number of the file. Absent on a directory entry, which is not versioned. [optional]

Example

require 'ultracart_api'

instance = UltracartClient::SfvbFileEntry.new(
  auto_compiled: null,
  directory: null,
  fs_directory_oid: null,
  fs_file_oid: null,
  hash_sha256: null,
  i18n_violation: null,
  last_modified: null,
  merge_conflict: null,
  mime_type: null,
  name: null,
  path: null,
  read_only: null,
  size: null,
  valid: null,
  version: null
)