/**
 * 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;

/**
 * Operation info for an event result.
 */
public class EventsOperationInfo {
    /**
     * Name of the operation.
     */
    @JsonProperty(value = "name")
    private String name;

    /**
     * ID of the operation.
     */
    @JsonProperty(value = "id")
    private String id;

    /**
     * Parent ID of the operation.
     */
    @JsonProperty(value = "parentId")
    private String parentId;

    /**
     * Synthetic source of the operation.
     */
    @JsonProperty(value = "syntheticSource")
    private String syntheticSource;

    /**
     * Get name of the operation.
     *
     * @return the name value
     */
    public String name() {
        return this.name;
    }

    /**
     * Set name of the operation.
     *
     * @param name the name value to set
     * @return the EventsOperationInfo object itself.
     */
    public EventsOperationInfo withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get iD of the operation.
     *
     * @return the id value
     */
    public String id() {
        return this.id;
    }

    /**
     * Set iD of the operation.
     *
     * @param id the id value to set
     * @return the EventsOperationInfo object itself.
     */
    public EventsOperationInfo withId(String id) {
        this.id = id;
        return this;
    }

    /**
     * Get parent ID of the operation.
     *
     * @return the parentId value
     */
    public String parentId() {
        return this.parentId;
    }

    /**
     * Set parent ID of the operation.
     *
     * @param parentId the parentId value to set
     * @return the EventsOperationInfo object itself.
     */
    public EventsOperationInfo withParentId(String parentId) {
        this.parentId = parentId;
        return this;
    }

    /**
     * Get synthetic source of the operation.
     *
     * @return the syntheticSource value
     */
    public String syntheticSource() {
        return this.syntheticSource;
    }

    /**
     * Set synthetic source of the operation.
     *
     * @param syntheticSource the syntheticSource value to set
     * @return the EventsOperationInfo object itself.
     */
    public EventsOperationInfo withSyntheticSource(String syntheticSource) {
        this.syntheticSource = syntheticSource;
        return this;
    }

}
