public static SnapshotDependencyField WithFields(SourceBuildTypeField sourceBuildType = null,
                                                  PropertiesField properties           = null,
                                                  bool id   = false,
                                                  bool type = false)
 {
     return(new SnapshotDependencyField
     {
         SourceBuildType = sourceBuildType,
         Properties = properties,
         Id = id,
         Type = type,
     });
 }
 public static ArtifactDependencyField WithFields(SourceBuildTypeField sourceBuildType = null,
                                                  PropertiesField properties           = null,
                                                  bool id        = false,
                                                  bool type      = false,
                                                  bool inherited = false)
 {
     return(new ArtifactDependencyField
     {
         SourceBuildType = sourceBuildType,
         Properties = properties,
         Id = id,
         Type = type,
         Inherited = inherited
     });
 }