@@ -31,7 +31,7 @@ internal ReleaseItem(Stack stack, string releaseUID)
3131 /// </code></pre>
3232 /// </example>
3333 /// <returns>The <see cref="ContentstackResponse"/></returns>
34- public ContentstackResponse GetAll ( ParameterCollection parameters = null )
34+ public ContentstackResponse GetAll ( ParameterCollection ? parameters = null )
3535 {
3636 stack . ThrowIfNotLoggedIn ( ) ;
3737 ThrowIfUidEmpty ( ) ;
@@ -52,7 +52,7 @@ public ContentstackResponse GetAll(ParameterCollection parameters = null)
5252 /// </code></pre>
5353 /// </example>
5454 /// <returns>The Task</returns>
55- public Task < ContentstackResponse > GetAllAsync ( ParameterCollection parameters = null )
55+ public Task < ContentstackResponse > GetAllAsync ( ParameterCollection ? parameters = null )
5656 {
5757 stack . ThrowIfNotLoggedIn ( ) ;
5858 ThrowIfUidEmpty ( ) ;
@@ -75,7 +75,7 @@ public Task<ContentstackResponse> GetAllAsync(ParameterCollection parameters = n
7575 /// </example>
7676 /// <param name="model">ReleaseItem Model for creating ReleaseItem.</param>
7777 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
78- public ContentstackResponse Create ( ReleaseItemModel model , ParameterCollection collection = null )
78+ public ContentstackResponse Create ( ReleaseItemModel model , ParameterCollection ? collection = null )
7979 {
8080 stack . ThrowIfNotLoggedIn ( ) ;
8181 ThrowIfUidEmpty ( ) ;
@@ -97,7 +97,7 @@ public ContentstackResponse Create(ReleaseItemModel model, ParameterCollection c
9797 /// </example>
9898 /// <param name="model">ReleaseItem Model for creating ReleaseItem.</param>
9999 /// <returns>The Task.</returns>
100- public Task < ContentstackResponse > CreateAsync ( ReleaseItemModel model , ParameterCollection collection = null )
100+ public Task < ContentstackResponse > CreateAsync ( ReleaseItemModel model , ParameterCollection ? collection = null )
101101 {
102102 ThrowIfUidEmpty ( ) ;
103103 stack . ThrowIfNotLoggedIn ( ) ;
@@ -124,7 +124,7 @@ public Task<ContentstackResponse> CreateAsync(ReleaseItemModel model, ParameterC
124124 /// </example>
125125 /// <param name="model">ReleaseItem Model for creating ReleaseItem.</param>
126126 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
127- public ContentstackResponse CreateMultiple ( List < ReleaseItemModel > models , ParameterCollection collection = null )
127+ public ContentstackResponse CreateMultiple ( List < ReleaseItemModel > models , ParameterCollection ? collection = null )
128128 {
129129 stack . ThrowIfNotLoggedIn ( ) ;
130130 ThrowIfUidEmpty ( ) ;
@@ -150,7 +150,7 @@ public ContentstackResponse CreateMultiple(List<ReleaseItemModel> models, Parame
150150 /// </example>
151151 /// <param name="model">ReleaseItem Model for creating ReleaseItem.</param>
152152 /// <returns>The Task.</returns>
153- public Task < ContentstackResponse > CreateMultipleAsync ( List < ReleaseItemModel > model , ParameterCollection collection = null )
153+ public Task < ContentstackResponse > CreateMultipleAsync ( List < ReleaseItemModel > model , ParameterCollection ? collection = null )
154154 {
155155 ThrowIfUidEmpty ( ) ;
156156 stack . ThrowIfNotLoggedIn ( ) ;
@@ -219,7 +219,7 @@ public Task<ContentstackResponse> UpdateReleaseItemAsync(List<string> items)
219219 /// </code></pre>
220220 /// </example>
221221 /// <returns>The <see cref="ContentstackResponse"/>.</returns>
222- public ContentstackResponse Delete ( List < ReleaseItemModel > models , ParameterCollection collection = null )
222+ public ContentstackResponse Delete ( List < ReleaseItemModel > models , ParameterCollection ? collection = null )
223223 {
224224 stack . ThrowIfNotLoggedIn ( ) ;
225225 ThrowIfUidEmpty ( ) ;
@@ -243,7 +243,7 @@ public ContentstackResponse Delete(List<ReleaseItemModel> models, ParameterColle
243243 /// </code></pre>
244244 /// </example>
245245 /// <returns>The Task.</returns>
246- public Task < ContentstackResponse > DeleteAsync ( List < ReleaseItemModel > models , ParameterCollection collection = null )
246+ public Task < ContentstackResponse > DeleteAsync ( List < ReleaseItemModel > models , ParameterCollection ? collection = null )
247247 {
248248 stack . ThrowIfNotLoggedIn ( ) ;
249249 ThrowIfUidEmpty ( ) ;
0 commit comments