public AnnotationReplacement_File(File toBeAddedFile, string type = "net.app.core.oembed", string format = "oembed") { file = toBeAddedFile; this.type = type; value = new replacement(); value.netAppCoreFile_dummy_for_replacement.file_id = file.id; value.netAppCoreFile_dummy_for_replacement.file_token = file.file_token; value.netAppCoreFile_dummy_for_replacement.format = format; }