Ejemplo n.º 1
0
 public static ProblemField WithFields(
     // Fields
     bool id       = false,
     bool type     = false,
     bool identity = false,
     bool href     = false,
     // Group Fields
     MutesField mutes = null,
     InvestigationsField investigations         = null,
     ProblemOccurrencesField problemOccurrences = null
     )
 {
     return(new ProblemField
     {
         // Fields
         Id = id,
         Type = type,
         Identity = identity,
         Href = href,
         // Group Fields
         Mutes = mutes,
         Investigations = investigations,
         ProblemOccurrences = problemOccurrences
     });
 }
Ejemplo n.º 2
0
        public static TestField WithFields(
            // Fields
            bool id   = false,
            bool name = false,
            bool href = false,
            // Group fields
            MutesField mutes = null,
            InvestigationsField investigations   = null,
            TestOccurrencesField testOccurrences = null
            )
        {
            return(new TestField
            {
                // Fields
                Id = id,
                Name = name,
                Href = href,

                // Group Fields
                Mutes = mutes,
                Investigations = investigations,
                TestOccurrences = testOccurrences
            });
        }