2022-12-22 17:56:47 +03:00
|
|
|
// API Actor for managing Disk. This actor is a final API for admin to manage Disk
|
2022-10-03 16:56:47 +03:00
|
|
|
package disks
|
|
|
|
|
|
2023-03-17 12:54:34 +03:00
|
|
|
import "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 disks
|
2022-10-03 16:56:47 +03:00
|
|
|
type Disks struct {
|
|
|
|
|
client interfaces.Caller
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-22 17:56:47 +03:00
|
|
|
// Builder for disks endpoints
|
2022-10-03 16:56:47 +03:00
|
|
|
func New(client interfaces.Caller) *Disks {
|
|
|
|
|
return &Disks{
|
|
|
|
|
client: client,
|
|
|
|
|
}
|
|
|
|
|
}
|