Class ServiceAgreementViolationSummaryRequest
Provides filtering criteria for returning service agreement violations summary.
Inheritance
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ServiceAgreementViolationSummaryRequest
Constructors
ServiceAgreementViolationSummaryRequest()
Declaration
public ServiceAgreementViolationSummaryRequest()
Properties
EndDateTime
Gets ors sets the end of the time interval when violations occurred (must match the time zone of the corresponding service agreement). If not specified, all violations occured after StartDateTime will be returned.
Declaration
public DateTime? EndDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ErrorMessage
Gets validation error message.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
FolderId
Gets or sets the identifier of the folder containing service agreements. If not specified then all folders are considered. If it is set to 0 then only service aggrements in the root folder is considered. Folder and collection of metrics cannot be used together.
Declaration
public int? FolderId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Metrics
Gets collection of service agreement metrics identifiers. All metrics must be defined within the same time zone. At least one metric must be provided, if search by metric is used. At most 10 metrics can be provided. Folder and collection of metrics cannot be used together.
Declaration
public Collection<int> Metrics { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<System.Int32> |
StartDateTime
Gets or sets the begining of the time interval when violations occurred (must match the time zone of the corresponding service agreement).
Declaration
public DateTime StartDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
TimeResolution
Gets or sets the length of the aggregation interval (defined in time inits specified in TimeUnit property).
Declaration
public int TimeResolution { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TimeUnit
Gets or sets the aggregation interval time measurement unit.
Declaration
public TimeUnit TimeUnit { get; set; }
Property Value
Type | Description |
---|---|
TimeUnit |
TimeZoneId
Gets or sets the time zone identifier of the service agreements which violations need to be returned. This property is required.
Declaration
public string TimeZoneId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Validate()
Validates object properties returns the result.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True, if object state is valid. False, if one or more properties have invalid values. |