public void AddPipelineStepStatus(ApiPipelineStepStatusClientResponseModel item) { if (!this.PipelineStepStatus.Any(x => x.Id == item.Id)) { this.PipelineStepStatus.Add(item); } }
public virtual ApiPipelineStepStatusClientRequestModel MapClientResponseToRequest( ApiPipelineStepStatusClientResponseModel response) { var request = new ApiPipelineStepStatusClientRequestModel(); request.SetProperties( response.Name); return(request); }
public virtual ApiPipelineStepStatusClientResponseModel MapClientRequestToResponse( int id, ApiPipelineStepStatusClientRequestModel request) { var response = new ApiPipelineStepStatusClientResponseModel(); response.SetProperties(id, request.Name); return(response); }
public void SetPipelineStepStatusIdNavigation(ApiPipelineStepStatusClientResponseModel value) { this.PipelineStepStatusIdNavigation = value; }