gitlab.com/evatix-go/core@v1.3.55/coreinstruction/RequestSpecification.go (about)

     1  package coreinstruction
     2  
     3  type RequestSpecification struct {
     4  	BaseIdentifier
     5  	BaseTypeDotFilter
     6  	BaseTags
     7  	BaseIsGlobal
     8  	BaseIsContinueOnError
     9  	BaseIsRunAll
    10  }
    11  
    12  func (r RequestSpecification) Clone() *RequestSpecification {
    13  	return &RequestSpecification{
    14  		BaseIdentifier: BaseIdentifier{r.Id},
    15  		BaseTypeDotFilter: BaseTypeDotFilter{
    16  			splitDotFilters: nil,
    17  			TypeDotFilter:   r.TypeDotFilter,
    18  		},
    19  		BaseTags: BaseTags{
    20  			Tags: r.Tags,
    21  		},
    22  		BaseIsGlobal:          BaseIsGlobal{r.IsGlobal},
    23  		BaseIsContinueOnError: BaseIsContinueOnError{r.IsContinueOnError},
    24  		BaseIsRunAll:          BaseIsRunAll{r.IsRunAll},
    25  	}
    26  }