Fix: pgsql fix (#10)
* fix: remove license header from files * fix: updated docs and sample --------- Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
This commit is contained in:
parent
99f2853ae5
commit
9e04ab2630
61 changed files with 1159 additions and 1412 deletions
|
|
@ -217,7 +217,7 @@ type DefaultApi interface {
|
|||
@param region The region which should be addressed
|
||||
@return ApiGetFlavorsRequestRequest
|
||||
*/
|
||||
GetFlavorsRequest(ctx context.Context, projectId, region string, page, size *int64, sort FlavorSort) ApiGetFlavorsRequestRequest
|
||||
GetFlavorsRequest(ctx context.Context, projectId string, region string, page, size *int64, sort *FlavorSort) ApiGetFlavorsRequestRequest
|
||||
/*
|
||||
GetFlavorsRequestExecute executes the request
|
||||
|
||||
|
|
@ -227,7 +227,7 @@ type DefaultApi interface {
|
|||
@return GetFlavorsResponse
|
||||
|
||||
*/
|
||||
GetFlavorsRequestExecute(ctx context.Context, projectId, region string, page, size *int64, sort FlavorSort) (*GetFlavorsResponse, error)
|
||||
GetFlavorsRequestExecute(ctx context.Context, projectId string, region string, page, size *int64, sort *FlavorSort) (*GetFlavorsResponse, error)
|
||||
/*
|
||||
GetInstanceRequest Get Specific Instance
|
||||
Get information about a specific available instance
|
||||
|
|
@ -2700,19 +2700,19 @@ Get all available flavors for a project.
|
|||
@param region The region which should be addressed
|
||||
@return ApiGetFlavorsRequestRequest
|
||||
*/
|
||||
func (a *APIClient) GetFlavorsRequest(ctx context.Context, projectId, region string, page, size *int64, sort FlavorSort) ApiGetFlavorsRequestRequest {
|
||||
func (a *APIClient) GetFlavorsRequest(ctx context.Context, projectId string, region string, page, size *int64, sort *FlavorSort) ApiGetFlavorsRequestRequest {
|
||||
return GetFlavorsRequestRequest{
|
||||
ctx: ctx,
|
||||
apiService: a.defaultApi,
|
||||
ctx: ctx,
|
||||
projectId: projectId,
|
||||
region: region,
|
||||
page: page,
|
||||
size: size,
|
||||
sort: &sort,
|
||||
sort: sort,
|
||||
}
|
||||
}
|
||||
|
||||
func (a *APIClient) GetFlavorsRequestExecute(ctx context.Context, projectId, region string, page, size *int64, sort FlavorSort) (*GetFlavorsResponse, error) {
|
||||
func (a *APIClient) GetFlavorsRequestExecute(ctx context.Context, projectId string, region string, page, size *int64, sort *FlavorSort) (*GetFlavorsResponse, error) {
|
||||
r := GetFlavorsRequestRequest{
|
||||
apiService: a.defaultApi,
|
||||
ctx: ctx,
|
||||
|
|
@ -2720,7 +2720,7 @@ func (a *APIClient) GetFlavorsRequestExecute(ctx context.Context, projectId, reg
|
|||
region: region,
|
||||
page: page,
|
||||
size: size,
|
||||
sort: &sort,
|
||||
sort: sort,
|
||||
}
|
||||
return r.Execute()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
// Copyright (c) STACKIT
|
||||
|
||||
/*
|
||||
STACKIT MSSQL Service API
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,22 @@ var _ MappedNullable = &GetBackupResponse{}
|
|||
types and functions for completionTime
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetCompletionTimeAttributeType = any
|
||||
//type GetBackupResponseGetCompletionTimeArgType = any
|
||||
//type GetBackupResponseGetCompletionTimeRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetCompletionTimeAttributeTypeOk(arg GetBackupResponseGetCompletionTimeAttributeType) (ret GetBackupResponseGetCompletionTimeRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetCompletionTimeAttributeType(arg *GetBackupResponseGetCompletionTimeAttributeType, val GetBackupResponseGetCompletionTimeRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetCompletionTimeAttributeType = *string
|
||||
type GetBackupResponseGetCompletionTimeArgType = string
|
||||
|
|
@ -41,6 +57,22 @@ func setGetBackupResponseGetCompletionTimeAttributeType(arg *GetBackupResponseGe
|
|||
types and functions for id
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetIdAttributeType = any
|
||||
//type GetBackupResponseGetIdArgType = any
|
||||
//type GetBackupResponseGetIdRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetIdAttributeTypeOk(arg GetBackupResponseGetIdAttributeType) (ret GetBackupResponseGetIdRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetIdAttributeType(arg *GetBackupResponseGetIdAttributeType, val GetBackupResponseGetIdRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetIdAttributeType = *int64
|
||||
type GetBackupResponseGetIdArgType = int64
|
||||
|
|
@ -60,6 +92,23 @@ func setGetBackupResponseGetIdAttributeType(arg *GetBackupResponseGetIdAttribute
|
|||
/*
|
||||
types and functions for name
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetNameAttributeType = any
|
||||
//type GetBackupResponseGetNameArgType = any
|
||||
//type GetBackupResponseGetNameRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetNameAttributeTypeOk(arg GetBackupResponseGetNameAttributeType) (ret GetBackupResponseGetNameRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetNameAttributeType(arg *GetBackupResponseGetNameAttributeType, val GetBackupResponseGetNameRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetNameAttributeType = *string
|
||||
type GetBackupResponseGetNameArgType = string
|
||||
|
|
@ -80,6 +129,22 @@ func setGetBackupResponseGetNameAttributeType(arg *GetBackupResponseGetNameAttri
|
|||
types and functions for retainedUntil
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetRetainedUntilAttributeType = any
|
||||
//type GetBackupResponseGetRetainedUntilArgType = any
|
||||
//type GetBackupResponseGetRetainedUntilRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetRetainedUntilAttributeTypeOk(arg GetBackupResponseGetRetainedUntilAttributeType) (ret GetBackupResponseGetRetainedUntilRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetRetainedUntilAttributeType(arg *GetBackupResponseGetRetainedUntilAttributeType, val GetBackupResponseGetRetainedUntilRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetRetainedUntilAttributeType = *string
|
||||
type GetBackupResponseGetRetainedUntilArgType = string
|
||||
|
|
@ -100,6 +165,22 @@ func setGetBackupResponseGetRetainedUntilAttributeType(arg *GetBackupResponseGet
|
|||
types and functions for size
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetSizeAttributeType = any
|
||||
//type GetBackupResponseGetSizeArgType = any
|
||||
//type GetBackupResponseGetSizeRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetSizeAttributeTypeOk(arg GetBackupResponseGetSizeAttributeType) (ret GetBackupResponseGetSizeRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetSizeAttributeType(arg *GetBackupResponseGetSizeAttributeType, val GetBackupResponseGetSizeRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetSizeAttributeType = *int64
|
||||
type GetBackupResponseGetSizeArgType = int64
|
||||
|
|
@ -120,6 +201,22 @@ func setGetBackupResponseGetSizeAttributeType(arg *GetBackupResponseGetSizeAttri
|
|||
types and functions for type
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetTypeAttributeType = any
|
||||
//type GetBackupResponseGetTypeArgType = any
|
||||
//type GetBackupResponseGetTypeRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetTypeAttributeTypeOk(arg GetBackupResponseGetTypeAttributeType) (ret GetBackupResponseGetTypeRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetTypeAttributeType(arg *GetBackupResponseGetTypeAttributeType, val GetBackupResponseGetTypeRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetTypeAttributeType = *string
|
||||
type GetBackupResponseGetTypeArgType = string
|
||||
|
|
|
|||
|
|
@ -21,6 +21,22 @@ var _ MappedNullable = &ListBackup{}
|
|||
types and functions for completionTime
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type ListBackupGetCompletionTimeAttributeType = any
|
||||
//type ListBackupGetCompletionTimeArgType = any
|
||||
//type ListBackupGetCompletionTimeRetType = any
|
||||
//
|
||||
//func getListBackupGetCompletionTimeAttributeTypeOk(arg ListBackupGetCompletionTimeAttributeType) (ret ListBackupGetCompletionTimeRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setListBackupGetCompletionTimeAttributeType(arg *ListBackupGetCompletionTimeAttributeType, val ListBackupGetCompletionTimeRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type ListBackupGetCompletionTimeAttributeType = *string
|
||||
type ListBackupGetCompletionTimeArgType = string
|
||||
|
|
@ -41,6 +57,22 @@ func setListBackupGetCompletionTimeAttributeType(arg *ListBackupGetCompletionTim
|
|||
types and functions for id
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type ListBackupGetIdAttributeType = any
|
||||
//type ListBackupGetIdArgType = any
|
||||
//type ListBackupGetIdRetType = any
|
||||
//
|
||||
//func getListBackupGetIdAttributeTypeOk(arg ListBackupGetIdAttributeType) (ret ListBackupGetIdRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setListBackupGetIdAttributeType(arg *ListBackupGetIdAttributeType, val ListBackupGetIdRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type ListBackupGetIdAttributeType = *int64
|
||||
type ListBackupGetIdArgType = int64
|
||||
|
|
@ -61,6 +93,22 @@ func setListBackupGetIdAttributeType(arg *ListBackupGetIdAttributeType, val List
|
|||
types and functions for name
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type ListBackupGetNameAttributeType = any
|
||||
//type ListBackupGetNameArgType = any
|
||||
//type ListBackupGetNameRetType = any
|
||||
//
|
||||
//func getListBackupGetNameAttributeTypeOk(arg ListBackupGetNameAttributeType) (ret ListBackupGetNameRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setListBackupGetNameAttributeType(arg *ListBackupGetNameAttributeType, val ListBackupGetNameRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type ListBackupGetNameAttributeType = *string
|
||||
type ListBackupGetNameArgType = string
|
||||
|
|
@ -81,6 +129,22 @@ func setListBackupGetNameAttributeType(arg *ListBackupGetNameAttributeType, val
|
|||
types and functions for retainedUntil
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type ListBackupGetRetainedUntilAttributeType = any
|
||||
//type ListBackupGetRetainedUntilArgType = any
|
||||
//type ListBackupGetRetainedUntilRetType = any
|
||||
//
|
||||
//func getListBackupGetRetainedUntilAttributeTypeOk(arg ListBackupGetRetainedUntilAttributeType) (ret ListBackupGetRetainedUntilRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setListBackupGetRetainedUntilAttributeType(arg *ListBackupGetRetainedUntilAttributeType, val ListBackupGetRetainedUntilRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type ListBackupGetRetainedUntilAttributeType = *string
|
||||
type ListBackupGetRetainedUntilArgType = string
|
||||
|
|
@ -97,6 +161,26 @@ func setListBackupGetRetainedUntilAttributeType(arg *ListBackupGetRetainedUntilA
|
|||
*arg = &val
|
||||
}
|
||||
|
||||
/*
|
||||
types and functions for size
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type ListBackupGetSizeAttributeType = any
|
||||
//type ListBackupGetSizeArgType = any
|
||||
//type ListBackupGetSizeRetType = any
|
||||
//
|
||||
//func getListBackupGetSizeAttributeTypeOk(arg ListBackupGetSizeAttributeType) (ret ListBackupGetSizeRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setListBackupGetSizeAttributeType(arg *ListBackupGetSizeAttributeType, val ListBackupGetSizeRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type ListBackupGetSizeAttributeType = *int64
|
||||
type ListBackupGetSizeArgType = int64
|
||||
|
|
@ -113,6 +197,26 @@ func setListBackupGetSizeAttributeType(arg *ListBackupGetSizeAttributeType, val
|
|||
*arg = &val
|
||||
}
|
||||
|
||||
/*
|
||||
types and functions for type
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type ListBackupGetTypeAttributeType = any
|
||||
//type ListBackupGetTypeArgType = any
|
||||
//type ListBackupGetTypeRetType = any
|
||||
//
|
||||
//func getListBackupGetTypeAttributeTypeOk(arg ListBackupGetTypeAttributeType) (ret ListBackupGetTypeRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setListBackupGetTypeAttributeType(arg *ListBackupGetTypeAttributeType, val ListBackupGetTypeRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type ListBackupGetTypeAttributeType = *string
|
||||
type ListBackupGetTypeArgType = string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue