Skip to content

Commit

Permalink
Deploying from phrase/openapi@9f64b1e0
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Aug 3, 2020
1 parent d1ce30d commit 50f3507
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/models/ProjectCreateParameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ export interface ProjectCreateParameters {
* @memberof ProjectCreateParameters
*/
accountId?: string;
/**
* When a source project ID is given, a clone of that project will be created, including all locales, keys and translations as well as the main project settings if they are not defined otherwise through the params.
* @type {string}
* @memberof ProjectCreateParameters
*/
sourceProjectId?: string;
}

export function ProjectCreateParametersFromJSON(json: any): ProjectCreateParameters {
Expand All @@ -72,6 +78,7 @@ export function ProjectCreateParametersFromJSONTyped(json: any, ignoreDiscrimina
'projectImage': !exists(json, 'project_image') ? undefined : json['project_image'],
'removeProjectImage': !exists(json, 'remove_project_image') ? undefined : json['remove_project_image'],
'accountId': !exists(json, 'account_id') ? undefined : json['account_id'],
'sourceProjectId': !exists(json, 'source_project_id') ? undefined : json['source_project_id'],
};
}

Expand All @@ -90,6 +97,7 @@ export function ProjectCreateParametersToJSON(value?: ProjectCreateParameters |
'project_image': value.projectImage,
'remove_project_image': value.removeProjectImage,
'account_id': value.accountId,
'source_project_id': value.sourceProjectId,
};
}

Expand Down

0 comments on commit 50f3507

Please sign in to comment.