Class ServiceAgreementDefinition
Represents a service agreement definition. This class allow to create, update, or delete all related entities (metrics, scope) with a single service call.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ServiceAgreementDefinition : ServiceAgreement, IValidator, IExtensibleDataObject, IEquatable<ServiceAgreement>, IFolderEntity
Constructors
ServiceAgreementDefinition()
Initializes an empty instance.
Declaration
public ServiceAgreementDefinition()
ServiceAgreementDefinition(ServiceAgreement)
Initializes new instance from provided service agreement.
Declaration
public ServiceAgreementDefinition(ServiceAgreement serviceAgreement)
Parameters
Type | Name | Description |
---|---|---|
ServiceAgreement | serviceAgreement | Service agreement to initialize from. |
Properties
Metrics
Gets collection of service metrics with their limits which describes service performance and quality levels.
Declaration
public Collection<ServiceAgreementMetric> Metrics { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<ServiceAgreementMetric> |
Properties
Gets collection of general properties assigned to the service.
Declaration
public Collection<Property> Properties { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<Property> |
Rules
Gets collection of authorization rule assignments defining the scope of the service agreement.
Declaration
public Collection<AuthorizationRuleAssignment> Rules { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<AuthorizationRuleAssignment> |
TimeZoneOffset
Gets the difference between the time in time zone defined in TimeZoneId property and the current Coordinated Universal Time (UTC). Property returns Null, if time zone is not set.
Declaration
public TimeSpan? TimeZoneOffset { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
Implements
System.Runtime.Serialization.IExtensibleDataObject
System.IEquatable<T>