// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.automation.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.automation.models.HttpStatusCode;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The response model for the undo edit runbook operation. */
@Fluent
public final class RunbookDraftUndoEditResultInner {
    /*
     * The statusCode property.
     */
    @JsonProperty(value = "statusCode")
    private HttpStatusCode statusCode;

    /*
     * The requestId property.
     */
    @JsonProperty(value = "requestId")
    private String requestId;

    /**
     * Get the statusCode property: The statusCode property.
     *
     * @return the statusCode value.
     */
    public HttpStatusCode statusCode() {
        return this.statusCode;
    }

    /**
     * Set the statusCode property: The statusCode property.
     *
     * @param statusCode the statusCode value to set.
     * @return the RunbookDraftUndoEditResultInner object itself.
     */
    public RunbookDraftUndoEditResultInner withStatusCode(HttpStatusCode statusCode) {
        this.statusCode = statusCode;
        return this;
    }

    /**
     * Get the requestId property: The requestId property.
     *
     * @return the requestId value.
     */
    public String requestId() {
        return this.requestId;
    }

    /**
     * Set the requestId property: The requestId property.
     *
     * @param requestId the requestId value to set.
     * @return the RunbookDraftUndoEditResultInner object itself.
     */
    public RunbookDraftUndoEditResultInner withRequestId(String requestId) {
        this.requestId = requestId;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
