@@ -1576,6 +1576,31 @@ export interface NotificationsSettingDto {
15761576 */
15771577 isEnabled ?: boolean ;
15781578}
1579+ /**
1580+ *
1581+ * @export
1582+ * @interface PostSolutionModel
1583+ */
1584+ export interface PostSolutionModel {
1585+ /**
1586+ *
1587+ * @type {string }
1588+ * @memberof PostSolutionModel
1589+ */
1590+ githubUrl ?: string ;
1591+ /**
1592+ *
1593+ * @type {string }
1594+ * @memberof PostSolutionModel
1595+ */
1596+ comment ?: string ;
1597+ /**
1598+ *
1599+ * @type {Array<string> }
1600+ * @memberof PostSolutionModel
1601+ */
1602+ groupMateIds ?: Array < string > ;
1603+ }
15791604/**
15801605 *
15811606 * @export
@@ -8054,11 +8079,11 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura
80548079 /**
80558080 *
80568081 * @param {number } taskId
8057- * @param {SolutionViewModel } [body]
8082+ * @param {PostSolutionModel } [body]
80588083 * @param {* } [options] Override http request option.
80598084 * @throws {RequiredError }
80608085 */
8061- solutionsPostSolution ( taskId : number , body ?: SolutionViewModel , options : any = { } ) : FetchArgs {
8086+ solutionsPostSolution ( taskId : number , body ?: PostSolutionModel , options : any = { } ) : FetchArgs {
80628087 // verify required parameter 'taskId' is not null or undefined
80638088 if ( taskId === null || taskId === undefined ) {
80648089 throw new RequiredError ( 'taskId' , 'Required parameter taskId was null or undefined when calling solutionsPostSolution.' ) ;
@@ -8084,7 +8109,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura
80848109 // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
80858110 localVarUrlObj . search = null ;
80868111 localVarRequestOptions . headers = Object . assign ( { } , localVarHeaderParameter , options . headers ) ;
8087- const needsSerialization = ( < any > "SolutionViewModel " !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ;
8112+ const needsSerialization = ( < any > "PostSolutionModel " !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ;
80888113 localVarRequestOptions . body = needsSerialization ? JSON . stringify ( body || { } ) : ( body || "" ) ;
80898114
80908115 return {
@@ -8329,11 +8354,11 @@ export const SolutionsApiFp = function(configuration?: Configuration) {
83298354 /**
83308355 *
83318356 * @param {number } taskId
8332- * @param {SolutionViewModel } [body]
8357+ * @param {PostSolutionModel } [body]
83338358 * @param {* } [options] Override http request option.
83348359 * @throws {RequiredError }
83358360 */
8336- solutionsPostSolution ( taskId : number , body ?: SolutionViewModel , options ?: any ) : ( fetch ?: FetchAPI , basePath ?: string ) => Promise < number > {
8361+ solutionsPostSolution ( taskId : number , body ?: PostSolutionModel , options ?: any ) : ( fetch ?: FetchAPI , basePath ?: string ) => Promise < number > {
83378362 const localVarFetchArgs = SolutionsApiFetchParamCreator ( configuration ) . solutionsPostSolution ( taskId , body , options ) ;
83388363 return ( fetch : FetchAPI = isomorphicFetch , basePath : string = BASE_PATH ) => {
83398364 return fetch ( basePath + localVarFetchArgs . url , localVarFetchArgs . options ) . then ( ( response ) => {
@@ -8470,11 +8495,11 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc
84708495 /**
84718496 *
84728497 * @param {number } taskId
8473- * @param {SolutionViewModel } [body]
8498+ * @param {PostSolutionModel } [body]
84748499 * @param {* } [options] Override http request option.
84758500 * @throws {RequiredError }
84768501 */
8477- solutionsPostSolution ( taskId : number , body ?: SolutionViewModel , options ?: any ) {
8502+ solutionsPostSolution ( taskId : number , body ?: PostSolutionModel , options ?: any ) {
84788503 return SolutionsApiFp ( configuration ) . solutionsPostSolution ( taskId , body , options ) ( fetch , basePath ) ;
84798504 } ,
84808505 /**
@@ -8614,12 +8639,12 @@ export class SolutionsApi extends BaseAPI {
86148639 /**
86158640 *
86168641 * @param {number } taskId
8617- * @param {SolutionViewModel } [body]
8642+ * @param {PostSolutionModel } [body]
86188643 * @param {* } [options] Override http request option.
86198644 * @throws {RequiredError }
86208645 * @memberof SolutionsApi
86218646 */
8622- public solutionsPostSolution ( taskId : number , body ?: SolutionViewModel , options ?: any ) {
8647+ public solutionsPostSolution ( taskId : number , body ?: PostSolutionModel , options ?: any ) {
86238648 return SolutionsApiFp ( this . configuration ) . solutionsPostSolution ( taskId , body , options ) ( this . fetch , this . basePath ) ;
86248649 }
86258650
0 commit comments