Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the NodeReferenceApiModel class.
 /// </summary>
 /// <param name="referenceTypeId">Reference Type id</param>
 /// <param name="direction">Possible values include: 'Forward',
 /// 'Backward', 'Both'</param>
 public NodeReferenceApiModel(NodeApiModel target, string referenceTypeId = default(string), BrowseDirection?direction = default(BrowseDirection?))
 {
     ReferenceTypeId = referenceTypeId;
     Direction       = direction;
     Target          = target;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the NodePathTargetApiModel class.
 /// </summary>
 /// <param name="browsePath">The target browse path</param>
 /// <param name="target">Target node</param>
 /// <param name="remainingPathIndex">Remaining index in path</param>
 public NodePathTargetApiModel(IList <string> browsePath = default(IList <string>), NodeApiModel target = default(NodeApiModel), int?remainingPathIndex = default(int?))
 {
     BrowsePath         = browsePath;
     Target             = target;
     RemainingPathIndex = remainingPathIndex;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the BrowseResponseApiModel class.
 /// </summary>
 /// <param name="node">Node info for the currently browsed node</param>
 /// <param name="references">References, if included, otherwise
 /// null.</param>
 /// <param name="continuationToken">Continuation token if more results
 /// pending.</param>
 /// <param name="errorInfo">Service result in case of error</param>
 public BrowseResponseApiModel(NodeApiModel node = default(NodeApiModel), IList <NodeReferenceApiModel> references = default(IList <NodeReferenceApiModel>), string continuationToken = default(string), ServiceResultApiModel errorInfo = default(ServiceResultApiModel))
 {
     Node              = node;
     References        = references;
     ContinuationToken = continuationToken;
     ErrorInfo         = errorInfo;
     CustomInit();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the MethodMetadataArgumentApiModel
 /// class.
 /// </summary>
 /// <param name="name">Argument name</param>
 /// <param name="description">Optional description</param>
 /// <param name="type">Data type node of the argument</param>
 /// <param name="defaultValue">Default value</param>
 /// <param name="valueRank">Optional, scalar if not set. Possible
 /// values include: 'ScalarOrOneDimension', 'Any', 'Scalar',
 /// 'OneOrMoreDimensions', 'OneDimension', 'TwoDimensions'</param>
 /// <param name="arrayDimensions">Optional, array dimension</param>
 public MethodMetadataArgumentApiModel(string name = default(string), string description = default(string), NodeApiModel type = default(NodeApiModel), object defaultValue = default(object), NodeValueRank?valueRank = default(NodeValueRank?), IList <int?> arrayDimensions = default(IList <int?>))
 {
     Name            = name;
     Description     = description;
     Type            = type;
     DefaultValue    = defaultValue;
     ValueRank       = valueRank;
     ArrayDimensions = arrayDimensions;
     CustomInit();
 }