/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.appdev; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.time.DateTime; import java.io.IOException; import java.lang.ClassNotFoundException; import com.mozu.api.contracts.core.AuditInfo; /** * Properties of the metadata associated with a file or subfolder in a development or release package associated with an application version. */ @JsonIgnoreProperties(ignoreUnknown = true) public class FileMetadata implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * Checksum function used to validate the local version of the file against the version on the server. */ protected String checkSum; public String getCheckSum() { return this.checkSum; } public void setCheckSum(String checkSum) { this.checkSum = checkSum; } /** * Unique identifier of the source property, such as a catalog, discount, order, or email template.For a product field it will be the name of the field.For a category ID, must be a positive integer not greater than 2000000. By default, auto-generates a category ID when categories are created. If you want to specify an ID during creation (which preserves category link relationships when migrating tenant data from one sandbox to another), you must also include the query string in the endpoint. For example, . Then, use the property to specify the desired category ID.For a product attribute it will be the Attribute FQN.For a document, the ID must be specified as a 32 character, case-insensitive, alphanumeric string. You can specify the ID as 32 sequential characters or as groups separated by dashes in the format 8-4-4-4-12. For example, or.For email templates, the ID must be one of the following values: */ protected String id; public String getId() { return this.id; } public void setId(String id) { this.id = id; } /** * The path and file name that represents the file location. */ protected String path; public String getPath() { return this.path; } public void setPath(String path) { this.path = path; } /** * The total size of the package file, in bytes. */ protected Long sizeInBytes; public Long getSizeInBytes() { return this.sizeInBytes; } public void setSizeInBytes(Long sizeInBytes) { this.sizeInBytes = sizeInBytes; } /** * The type of file in the package. */ protected String type; public String getType() { return this.type; } public void setType(String type) { this.type = type; } /** * Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. */ protected AuditInfo auditInfo; public AuditInfo getAuditInfo() { return this.auditInfo; } public void setAuditInfo(AuditInfo auditInfo) { this.auditInfo = auditInfo; } }