2022-12-22 17:56:47 +03:00
|
|
|
// List of method groups for the user
|
2022-10-03 16:56:47 +03:00
|
|
|
package cloudapi
|
|
|
|
|
|
|
|
|
|
import (
|
2023-03-17 12:54:34 +03:00
|
|
|
"repository.basistech.ru/BASIS/decort-golang-sdk/interfaces"
|
2022-10-03 16:56:47 +03:00
|
|
|
)
|
|
|
|
|
|
2022-12-22 17:56:47 +03:00
|
|
|
// Structure for creating request to CloudAPI groups
|
|
|
|
|
type CloudAPI struct {
|
2022-10-03 16:56:47 +03:00
|
|
|
client interfaces.Caller
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-22 17:56:47 +03:00
|
|
|
// Builder to get access to CloudAPI
|
|
|
|
|
func New(client interfaces.Caller) *CloudAPI {
|
|
|
|
|
return &CloudAPI{
|
2022-10-03 16:56:47 +03:00
|
|
|
client: client,
|
|
|
|
|
}
|
|
|
|
|
}
|