/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.applicationinsights.query.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * A parsed stack entry.
 */
public class EventsExceptionDetailsParsedStack {
    /**
     * The assembly of the stack entry.
     */
    @JsonProperty(value = "assembly")
    private String assembly;

    /**
     * The method of the stack entry.
     */
    @JsonProperty(value = "method")
    private String method;

    /**
     * The level of the stack entry.
     */
    @JsonProperty(value = "level")
    private Long level;

    /**
     * The line of the stack entry.
     */
    @JsonProperty(value = "line")
    private Long line;

    /**
     * Get the assembly of the stack entry.
     *
     * @return the assembly value
     */
    public String assembly() {
        return this.assembly;
    }

    /**
     * Set the assembly of the stack entry.
     *
     * @param assembly the assembly value to set
     * @return the EventsExceptionDetailsParsedStack object itself.
     */
    public EventsExceptionDetailsParsedStack withAssembly(String assembly) {
        this.assembly = assembly;
        return this;
    }

    /**
     * Get the method of the stack entry.
     *
     * @return the method value
     */
    public String method() {
        return this.method;
    }

    /**
     * Set the method of the stack entry.
     *
     * @param method the method value to set
     * @return the EventsExceptionDetailsParsedStack object itself.
     */
    public EventsExceptionDetailsParsedStack withMethod(String method) {
        this.method = method;
        return this;
    }

    /**
     * Get the level of the stack entry.
     *
     * @return the level value
     */
    public Long level() {
        return this.level;
    }

    /**
     * Set the level of the stack entry.
     *
     * @param level the level value to set
     * @return the EventsExceptionDetailsParsedStack object itself.
     */
    public EventsExceptionDetailsParsedStack withLevel(Long level) {
        this.level = level;
        return this;
    }

    /**
     * Get the line of the stack entry.
     *
     * @return the line value
     */
    public Long line() {
        return this.line;
    }

    /**
     * Set the line of the stack entry.
     *
     * @param line the line value to set
     * @return the EventsExceptionDetailsParsedStack object itself.
     */
    public EventsExceptionDetailsParsedStack withLine(Long line) {
        this.line = line;
        return this;
    }

}
