Request

Response

    Class MatchId

    Namespace: Autodesk.ModelDerivative.Model
    Assembly: Autodesk.ModelDerivative.dll

    Describes a query for retrieving objects having the specified Object IDs or External IDs.

    [DataContract]
    public class MatchId : ISpecificPropertiesPayloadQuery
    

    Inheritance

    object ← MatchId

    Implements

    ISpecificPropertiesPayloadQuery

    Inherited Members

    object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

    Constructors

    MatchId()

    Initializes a new instance of the class.

    public MatchId()
    

    Properties

    In

    Returns only the objects with their objectid or externalId attribute exactly matching one of the values specified in the array.

    The first element of the array contains the name of the attribute to match (objectid or externalId). Use the MatchIdType enum to pick the value for the first element. Subsequent elements contain the values to match.

    For example, if you specify an array as: "$in":["objectid",1,2], the request will only return the properties of the objects with objectid = 1 and 2. If you specify an array as "$in":["externalId","doc_982afc8a","doc_afd75233" ] the request will only return the properties of the objects with externalId = doc_982afc8a and doc_afd75233.

    [DataMember(Name = "$in", EmitDefaultValue = false)]
    public List<object> In { get; set; }
    

    Property Value

    List <object >

    Methods

    ToString()

    Returns the string presentation of the object

    public override string ToString()
    

    Returns

    string

    String presentation of the object