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
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
public Collection<int> Operations { get; }
Property Value
Type | Description |
---|---|
Collection<Int32> |
Responses
Gets collection of message samples to be used as static responses.
Declaration
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
public int ServiceVersionId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
Validate()
Evaluates the state of the object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |