Files
decort-golang-sdk/pkg/cloudapi/stpolicy/storage_policy.go

16 lines
319 B
Go
Raw Normal View History

2025-09-11 15:56:44 +03:00
package stpolicy
2025-08-29 12:51:25 +03:00
import "repository.basistech.ru/BASIS/decort-golang-sdk/interfaces"
// Structure for creating request to storage policy
2025-09-11 15:56:44 +03:00
type StPolicy struct {
2025-08-29 12:51:25 +03:00
client interfaces.Caller
}
2025-12-08 16:16:35 +03:00
// Builder for storage policy endpoint
2025-09-11 15:56:44 +03:00
func New(client interfaces.Caller) *StPolicy {
return &StPolicy{
2025-08-29 12:51:25 +03:00
client: client,
}
}