Skip to content

Commit

Permalink
Add parameters list subscription data (#416)
Browse files Browse the repository at this point in the history
* Missing params

---------

Co-authored-by: Einar <[email protected]>
  • Loading branch information
muradsater and einarmo authored Jan 24, 2025
1 parent 2aa4efb commit 995cb07
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,29 @@ public class ListSubscriptionData
/// Note that InitializeCursors is not exact, a deviation of some seconds can occur.
/// </summary>
public string InitializeCursors { get; set; }
// <summary>
// The maximum time to wait for data to arrive, in seconds. As soon as data is available,
// the request will return immediately with the data. If the timeout is reached while waiting
// for data, the request will return an empty data response.
// Default value is 5, range is from 0 to 5.
// </summary>
public int? PollTimeoutSeconds { get; set; }

Check warning on line 62 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ListSubscriptionData.PollTimeoutSeconds'

Check warning on line 62 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ListSubscriptionData.PollTimeoutSeconds'

Check warning on line 62 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ListSubscriptionData.PollTimeoutSeconds'

Check warning on line 62 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / Build Release Package

Missing XML comment for publicly visible type or member 'ListSubscriptionData.PollTimeoutSeconds'

Check warning on line 62 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / Build Release Package

Missing XML comment for publicly visible type or member 'ListSubscriptionData.PollTimeoutSeconds'
// <summary>
// Show the status code for each data point in the response. Good (code = 0) status codes are always
// omitted.
// Default value false.
// </summary>
public bool? IncludeStatus { get; set; }

Check warning on line 68 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ListSubscriptionData.IncludeStatus'

Check warning on line 68 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ListSubscriptionData.IncludeStatus'

Check warning on line 68 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / Build Release Package

Missing XML comment for publicly visible type or member 'ListSubscriptionData.IncludeStatus'
// <summary>
// Treat data points with a Bad status code as if they do not exist. Set to false to include all data
// points.
// Default value true.
// </summary>
public bool? IgnoreBadDataPoints { get; set; }

Check warning on line 74 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ListSubscriptionData.IgnoreBadDataPoints'

Check warning on line 74 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ListSubscriptionData.IgnoreBadDataPoints'

Check warning on line 74 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / Build Release Package

Missing XML comment for publicly visible type or member 'ListSubscriptionData.IgnoreBadDataPoints'
// <summary>
// Treat data points with Uncertain status codes as Bad. Set to false to include uncertain data points.
// Default value true.
// </summary>
public bool? TreatUncertainAsBad { get; set; }

Check warning on line 79 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ListSubscriptionData.TreatUncertainAsBad'

Check warning on line 79 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ListSubscriptionData.TreatUncertainAsBad'

Check warning on line 79 in CogniteSdk.Types/Beta/Subscriptions/ListSubscriptionData.cs

View workflow job for this annotation

GitHub Actions / Build Release Package

Missing XML comment for publicly visible type or member 'ListSubscriptionData.TreatUncertainAsBad'
}
}
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.12.0
4.13.0

0 comments on commit 995cb07

Please sign in to comment.