-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
474 additions
and
35 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
cloudapi-model/src/main/kotlin/cn/edu/buaa/scs/model/Host.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package cn.edu.buaa.scs.model | ||
|
||
data class Host( | ||
val ip: String, | ||
val status: String, | ||
val totalMem: Double, | ||
val usedMem: Double, | ||
val totalCPU: Double, | ||
val usedCPU: Double, | ||
val totalStorage: Long, | ||
val usedStorage: Long, | ||
val count: Int, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/controller/models/DepartmentModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* cloudapi_v2 | ||
* buaa scs cloud api v2 | ||
* | ||
* The version of the OpenAPI document: 2.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
package cn.edu.buaa.scs.controller.models | ||
|
||
|
||
/** | ||
* | ||
* @param id | ||
* @param name | ||
*/ | ||
data class DepartmentModel( | ||
val id: kotlin.String, | ||
val name: kotlin.String | ||
) | ||
|
38 changes: 38 additions & 0 deletions
38
cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/controller/models/Host.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* cloudapi_v2 | ||
* buaa scs cloud api v2 | ||
* | ||
* The version of the OpenAPI document: 2.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
package cn.edu.buaa.scs.controller.models | ||
|
||
|
||
/** | ||
* | ||
* @param ip | ||
* @param status | ||
* @param totalMem | ||
* @param usedMem | ||
* @param totalCPU | ||
* @param usedCPU | ||
* @param totalStorage | ||
* @param usedStorage | ||
* @param count | ||
*/ | ||
data class Host( | ||
val ip: kotlin.String, | ||
val status: kotlin.String, | ||
val totalMem: kotlin.Double, | ||
val usedMem: kotlin.Double, | ||
val totalCPU: kotlin.Double, | ||
val usedCPU: kotlin.Double, | ||
val totalStorage: kotlin.Long, | ||
val usedStorage: kotlin.Long, | ||
val count: kotlin.Int | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/controller/models/TermsGetRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* cloudapi_v2 | ||
* buaa scs cloud api v2 | ||
* | ||
* The version of the OpenAPI document: 2.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
package cn.edu.buaa.scs.controller.models | ||
|
||
|
||
/** | ||
* | ||
* @param name 学期名称 | ||
*/ | ||
data class TermsGetRequest( | ||
/* 学期名称 */ | ||
val name: kotlin.String? = null | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.