Example #1
0
 public static ProjectField WithFields(bool archived                          = false,
                                       bool description                       = false,
                                       bool href                              = false,
                                       bool id                                = false,
                                       bool name                              = false,
                                       bool webUrl                            = false,
                                       ParametersField parameters             = null,
                                       ParentProjectField parentProject       = null,
                                       BuildTypeWrapperField buildTypeWrapper = null,
                                       TemplatesField templates               = null,
                                       ProjectWrapperField projectWrapper     = null,
                                       ProjectFeaturesField projectFeatures   = null)
 {
     return(new ProjectField
     {
         Archived = archived,
         Description = description,
         Href = href,
         Id = id,
         Name = name,
         WebUrl = webUrl,
         Parameters = parameters,
         ParentProject = parentProject,
         BuildTypeWrapper = buildTypeWrapper,
         Templates = templates,
         ProjectWrapper = projectWrapper,
         ProjectFeatures = projectFeatures
     });
 }
 public static ProblemScopeField WithFields(
     ProjectField project             = null,
     BuildTypeWrapperField buildTypes = null,
     BuildTypeField buildType         = null)
 {
     return(new ProblemScopeField
     {
         Project = project,
         BuildTypes = buildTypes,
         BuildType = buildType
     });
 }