Click or drag to resize

HpsvResponseBase Class

Base class for Response (both incoming service request and Before Response Service Call Activity response).
Inheritance Hierarchy

Namespace:  HP.SV.DotNetRuleApi
Assembly:  HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 5.3.0.9999-localBuild
Syntax
C#
public abstract class HpsvResponseBase : HpsvObjectWithSubtypes

The HpsvResponseBase type exposes the following members.

Properties
  NameDescription
Public propertyForwardToRealService
Gets or Sets whether Data Simulator should forward the request to the real service or simply simulate it. The value is subject of simulation priority, e.g. if the value is set by a rule with higher priority then setting the value does not have any effect. If the protocol of the virtual service does not support Hybrid simulation then setting the value has no effect.
Public propertyItem
Gets or sets the value associated with the property name.
(Inherited from HpsvObject.)
Public propertyMultiResponse
Public propertyType
Gets or sets the type of the HpsvObject.
(Inherited from HpsvObjectWithSubtypes.)
Top
Methods
  NameDescription
Public methodGetAllProperties
Gets all available properties
(Inherited from HpsvObject.)
Public methodGetPropertyNames
Gets all available property names
(Inherited from HpsvObject.)
Public methodIsNil
Checks if value for specified property is Nil.
(Inherited from HpsvObject.)
Public methodIsNotPresent
Checks if value for specified property is present or not.
(Inherited from HpsvObject.)
Protected methodRegisterNotStandardPropertyName
Internal use only
(Inherited from HpsvObject.)
Public methodSetFromJson
Updates the content from the JSON string
(Inherited from HpsvProxyObject.)
Public methodSetNil
Sets value for property to Nil.
(Inherited from HpsvObject.)
Public methodSetNotPresent
Sets value for property to not present.
(Inherited from HpsvObject.)
Protected methodShallowCopyInto
Internal use only
(Inherited from HpsvObject.)
Public methodToJson
Serializes to content of the object to JSON string
(Inherited from HpsvProxyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from HpsvObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetValue
Extension method allowing to get a child structure based on a string path
(Defined by HpSvExtensions.)
Top
Remarks
This class is inherited in generated rule assemblies as HpsvResponse available via Response The derived class has all properties from Data Model
See Also