delete_routine_request_model.go raw

   1  // This file is auto-generated, don't edit it. Thanks.
   2  package client
   3  
   4  import (
   5  	"github.com/alibabacloud-go/tea/dara"
   6  )
   7  
   8  type iDeleteRoutineRequest interface {
   9  	dara.Model
  10  	String() string
  11  	GoString() string
  12  	SetName(v string) *DeleteRoutineRequest
  13  	GetName() *string
  14  }
  15  
  16  type DeleteRoutineRequest struct {
  17  	// The routine name.
  18  	//
  19  	// This parameter is required.
  20  	//
  21  	// example:
  22  	//
  23  	// test-routine1
  24  	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
  25  }
  26  
  27  func (s DeleteRoutineRequest) String() string {
  28  	return dara.Prettify(s)
  29  }
  30  
  31  func (s DeleteRoutineRequest) GoString() string {
  32  	return s.String()
  33  }
  34  
  35  func (s *DeleteRoutineRequest) GetName() *string {
  36  	return s.Name
  37  }
  38  
  39  func (s *DeleteRoutineRequest) SetName(v string) *DeleteRoutineRequest {
  40  	s.Name = &v
  41  	return s
  42  }
  43  
  44  func (s *DeleteRoutineRequest) Validate() error {
  45  	return dara.Validate(s)
  46  }
  47