@@ -13,7 +13,7 @@ public class Asset
1313
1414 internal string resourcePath ;
1515
16- internal Asset ( Stack stack , string uid = null )
16+ internal Asset ( Stack stack , string ? uid = null )
1717 {
1818 stack . ThrowIfAPIKeyEmpty ( ) ;
1919
@@ -49,7 +49,7 @@ public Query Query()
4949 /// </code></pre>
5050 /// </example>
5151 /// <returns>The <see cref="Models.Folder"/></returns>
52- public Folder Folder ( string uid = null )
52+ public Folder Folder ( string ? uid = null )
5353 {
5454 ThrowIfUidNotEmpty ( ) ;
5555 return new Folder ( stack , uid ) ;
@@ -83,7 +83,7 @@ public Version Version(int? versionNumber = null)
8383 /// </code></pre>
8484 /// </example>
8585 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
86- public virtual ContentstackResponse Create ( AssetModel model , ParameterCollection collection = null )
86+ public virtual ContentstackResponse Create ( AssetModel model , ParameterCollection ? collection = null )
8787 {
8888 ThrowIfUidNotEmpty ( ) ;
8989
@@ -104,7 +104,7 @@ public virtual ContentstackResponse Create(AssetModel model, ParameterCollection
104104 /// </code></pre>
105105 /// </example>
106106 /// <returns>The Task.</returns>
107- public virtual Task < ContentstackResponse > CreateAsync ( AssetModel model , ParameterCollection collection = null )
107+ public virtual Task < ContentstackResponse > CreateAsync ( AssetModel model , ParameterCollection ? collection = null )
108108 {
109109 ThrowIfUidNotEmpty ( ) ;
110110 stack . ThrowIfNotLoggedIn ( ) ;
@@ -126,7 +126,7 @@ public virtual Task<ContentstackResponse> CreateAsync(AssetModel model, Paramete
126126 /// </code></pre>
127127 /// </example>
128128 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
129- public virtual ContentstackResponse Update ( AssetModel model , ParameterCollection collection = null )
129+ public virtual ContentstackResponse Update ( AssetModel model , ParameterCollection ? collection = null )
130130 {
131131 ThrowIfUidEmpty ( ) ;
132132
@@ -147,7 +147,7 @@ public virtual ContentstackResponse Update(AssetModel model, ParameterCollection
147147 /// </code></pre>
148148 /// </example>
149149 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
150- public virtual Task < ContentstackResponse > UpdateAsync ( AssetModel model , ParameterCollection collection = null )
150+ public virtual Task < ContentstackResponse > UpdateAsync ( AssetModel model , ParameterCollection ? collection = null )
151151 {
152152 stack . ThrowIfNotLoggedIn ( ) ;
153153 ThrowIfUidEmpty ( ) ;
@@ -167,7 +167,7 @@ public virtual Task<ContentstackResponse> UpdateAsync(AssetModel model, Paramete
167167 /// </code></pre>
168168 /// </example>
169169 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
170- public virtual ContentstackResponse Fetch ( ParameterCollection collection = null )
170+ public virtual ContentstackResponse Fetch ( ParameterCollection ? collection = null )
171171 {
172172 stack . ThrowIfNotLoggedIn ( ) ;
173173 ThrowIfUidEmpty ( ) ;
@@ -187,7 +187,7 @@ public virtual ContentstackResponse Fetch(ParameterCollection collection = null)
187187 /// </code></pre>
188188 /// </example>
189189 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
190- public virtual Task < ContentstackResponse > FetchAsync ( ParameterCollection collection = null )
190+ public virtual Task < ContentstackResponse > FetchAsync ( ParameterCollection ? collection = null )
191191 {
192192 stack . ThrowIfNotLoggedIn ( ) ;
193193 ThrowIfUidEmpty ( ) ;
@@ -247,7 +247,7 @@ public virtual Task<ContentstackResponse> DeleteAsync()
247247 /// </code></pre>
248248 /// </example>
249249 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
250- public virtual ContentstackResponse Publish ( PublishUnpublishDetails details , string apiVersion = null )
250+ public virtual ContentstackResponse Publish ( PublishUnpublishDetails details , string ? apiVersion = null )
251251 {
252252 stack . ThrowIfNotLoggedIn ( ) ;
253253 ThrowIfUidEmpty ( ) ;
@@ -267,7 +267,7 @@ public virtual ContentstackResponse Publish(PublishUnpublishDetails details, str
267267 /// </code></pre>
268268 /// </example>
269269 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
270- public virtual Task < ContentstackResponse > PublishAsync ( PublishUnpublishDetails details , string apiVersion = null )
270+ public virtual Task < ContentstackResponse > PublishAsync ( PublishUnpublishDetails details , string ? apiVersion = null )
271271 {
272272 stack . ThrowIfNotLoggedIn ( ) ;
273273 ThrowIfUidEmpty ( ) ;
@@ -287,7 +287,7 @@ public virtual Task<ContentstackResponse> PublishAsync(PublishUnpublishDetails d
287287 /// </code></pre>
288288 /// </example>
289289 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
290- public virtual ContentstackResponse Unpublish ( PublishUnpublishDetails details , string apiVersion = null )
290+ public virtual ContentstackResponse Unpublish ( PublishUnpublishDetails details , string ? apiVersion = null )
291291 {
292292 stack . ThrowIfNotLoggedIn ( ) ;
293293 ThrowIfUidEmpty ( ) ;
@@ -307,7 +307,7 @@ public virtual ContentstackResponse Unpublish(PublishUnpublishDetails details, s
307307 /// </code></pre>
308308 /// </example>
309309 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
310- public virtual Task < ContentstackResponse > UnpublishAsync ( PublishUnpublishDetails details , string apiVersion = null )
310+ public virtual Task < ContentstackResponse > UnpublishAsync ( PublishUnpublishDetails details , string ? apiVersion = null )
311311 {
312312 stack . ThrowIfNotLoggedIn ( ) ;
313313 ThrowIfUidEmpty ( ) ;
@@ -326,7 +326,7 @@ public virtual Task<ContentstackResponse> UnpublishAsync(PublishUnpublishDetails
326326 /// </code></pre>
327327 /// </example>
328328 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
329- public virtual ContentstackResponse References ( ParameterCollection collection = null )
329+ public virtual ContentstackResponse References ( ParameterCollection ? collection = null )
330330 {
331331 stack . ThrowIfNotLoggedIn ( ) ;
332332 ThrowIfUidEmpty ( ) ;
@@ -345,7 +345,7 @@ public virtual ContentstackResponse References(ParameterCollection collection =
345345 /// </code></pre>
346346 /// </example>
347347 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
348- public virtual Task < ContentstackResponse > ReferencesAsync ( ParameterCollection collection = null )
348+ public virtual Task < ContentstackResponse > ReferencesAsync ( ParameterCollection ? collection = null )
349349 {
350350 stack . ThrowIfNotLoggedIn ( ) ;
351351 ThrowIfUidEmpty ( ) ;
0 commit comments