@@ -40,8 +40,7 @@ public sealed partial class DeploymentSummary
4040 /// The ID of the project that this deployment is scoped to.
4141 /// </summary>
4242 [ global ::System . Text . Json . Serialization . JsonPropertyName ( "projectId" ) ]
43- [ global ::System . Text . Json . Serialization . JsonRequired ]
44- public required string ProjectId { get ; set ; }
43+ public string ? ProjectId { get ; set ; }
4544
4645 /// <summary>
4746 /// The ID of the version that this deployment is scoped to.
@@ -82,9 +81,6 @@ public sealed partial class DeploymentSummary
8281 /// <param name="chatId">
8382 /// The ID of the chat that this deployment is scoped to.
8483 /// </param>
85- /// <param name="projectId">
86- /// The ID of the project that this deployment is scoped to.
87- /// </param>
8884 /// <param name="versionId">
8985 /// The ID of the version that this deployment is scoped to.
9086 /// </param>
@@ -94,6 +90,9 @@ public sealed partial class DeploymentSummary
9490 /// <param name="webUrl">
9591 /// The web URL where the deployment can be viewed or managed.
9692 /// </param>
93+ /// <param name="projectId">
94+ /// The ID of the project that this deployment is scoped to.
95+ /// </param>
9796 /// <param name="object">
9897 /// Fixed value identifying this object as a deployment.
9998 /// </param>
@@ -104,17 +103,17 @@ public DeploymentSummary(
104103 string id ,
105104 string inspectorUrl ,
106105 string chatId ,
107- string projectId ,
108106 string versionId ,
109107 string apiUrl ,
110108 string webUrl ,
109+ string ? projectId ,
111110 string @object = "deployment" )
112111 {
113112 this . Id = id ?? throw new global ::System . ArgumentNullException ( nameof ( id ) ) ;
114113 this . Object = @object ;
115114 this . InspectorUrl = inspectorUrl ?? throw new global ::System . ArgumentNullException ( nameof ( inspectorUrl ) ) ;
116115 this . ChatId = chatId ?? throw new global ::System . ArgumentNullException ( nameof ( chatId ) ) ;
117- this . ProjectId = projectId ?? throw new global :: System . ArgumentNullException ( nameof ( projectId ) ) ;
116+ this . ProjectId = projectId ;
118117 this . VersionId = versionId ?? throw new global ::System . ArgumentNullException ( nameof ( versionId ) ) ;
119118 this . ApiUrl = apiUrl ?? throw new global ::System . ArgumentNullException ( nameof ( apiUrl ) ) ;
120119 this . WebUrl = webUrl ?? throw new global ::System . ArgumentNullException ( nameof ( webUrl ) ) ;
0 commit comments