Class StaticResponseConfiguration
Represents a service version configuration related to providing static responses to operation requests without making outbound service calls.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class StaticResponseConfiguration : IValidator
Constructors
StaticResponseConfiguration()
Declaration
public StaticResponseConfiguration()
Properties
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| string |
Operations
Gets collection of static operation identifiers.
Declaration
[DataMember]
public Collection<int> Operations { get; }
Property Value
| Type | Description |
|---|---|
| Collection<int> |
Responses
Gets collection of message samples to be used as static responses.
Declaration
[DataMember]
public Collection<MessageSample> Responses { get; }
Property Value
| Type | Description |
|---|---|
| Collection<MessageSample> |
ServiceVersionId
Gets or sets identifier of the service version this configuration is related to.
Declaration
[DataMember]
public int ServiceVersionId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Validate()
Evaluates the state of the object.
Declaration
public bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if state is valid; otherwise, false. |