示例#1
0
 public void AddPipelineStepStatus(ApiPipelineStepStatusClientResponseModel item)
 {
     if (!this.PipelineStepStatus.Any(x => x.Id == item.Id))
     {
         this.PipelineStepStatus.Add(item);
     }
 }
示例#2
0
        public virtual ApiPipelineStepStatusClientRequestModel MapClientResponseToRequest(
            ApiPipelineStepStatusClientResponseModel response)
        {
            var request = new ApiPipelineStepStatusClientRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
示例#3
0
        public virtual ApiPipelineStepStatusClientResponseModel MapClientRequestToResponse(
            int id,
            ApiPipelineStepStatusClientRequestModel request)
        {
            var response = new ApiPipelineStepStatusClientResponseModel();

            response.SetProperties(id,
                                   request.Name);
            return(response);
        }
示例#4
0
 public void SetPipelineStepStatusIdNavigation(ApiPipelineStepStatusClientResponseModel value)
 {
     this.PipelineStepStatusIdNavigation = value;
 }