Request

Response

    Class Messages

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

    An array of objects where each object represents a message logged to the manifest during translation. For example, error messages and warning messages.

    [DataContract]
    public class Messages
    

    Inheritance

    object ← Messages

    Inherited Members

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

    Constructors

    Messages()

    Initializes a new instance of the class.

    public Messages()
    

    Properties

    Code

    The ID of the message. For example, the error code reported by an error message.

    [DataMember(Name = "code", EmitDefaultValue = false)]
    public string Code { get; set; }
    

    Property Value

    string

    Message

    A human-readable explanation of the event being reported. Can be a string or an array of string.

    [DataMember(Name = "message", EmitDefaultValue = false)]
    public object Message { get; set; }
    

    Property Value

    object

    Type

    Indicates the type of the message. For example, warning indicates a warning message and error indicates an error message.

    [DataMember(Name = "type", EmitDefaultValue = false)]
    public string Type { get; set; }
    

    Property Value

    string

    Methods

    ToString()

    Returns the string presentation of the object

    public override string ToString()
    

    Returns

    string

    String presentation of the object