public void AddPipelineStatus(ApiPipelineStatusClientResponseModel item) { if (!this.PipelineStatus.Any(x => x.Id == item.Id)) { this.PipelineStatus.Add(item); } }
public virtual ApiPipelineStatusClientRequestModel MapClientResponseToRequest( ApiPipelineStatusClientResponseModel response) { var request = new ApiPipelineStatusClientRequestModel(); request.SetProperties( response.Name); return(request); }
public virtual ApiPipelineStatusClientResponseModel MapClientRequestToResponse( int id, ApiPipelineStatusClientRequestModel request) { var response = new ApiPipelineStatusClientResponseModel(); response.SetProperties(id, request.Name); return(response); }
public void SetPipelineStatusIdNavigation(ApiPipelineStatusClientResponseModel value) { this.PipelineStatusIdNavigation = value; }