github.com/ActiveState/cli@v0.0.0-20240508170324-6801f60cd051/pkg/platform/api/svc/request/deprecation.go (about) 1 package request 2 3 type DeprecationRequest struct { 4 } 5 6 func NewDeprecationRequest() *DeprecationRequest { 7 return &DeprecationRequest{} 8 } 9 10 func (d *DeprecationRequest) Query() string { 11 return `query { 12 checkDeprecation { 13 version 14 date 15 dateReached 16 reason 17 } 18 }` 19 } 20 21 func (d *DeprecationRequest) Vars() (map[string]interface{}, error) { 22 return nil, nil 23 }