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

package com.azure.resourcemanager.desktopvirtualization.models;

import com.azure.core.management.SystemData;
import com.azure.resourcemanager.desktopvirtualization.fluent.models.UserSessionInner;
import java.time.OffsetDateTime;

/** An immutable client-side representation of UserSession. */
public interface UserSession {
    /**
     * Gets the id property: Fully qualified resource Id for the resource.
     *
     * @return the id value.
     */
    String id();

    /**
     * Gets the name property: The name of the resource.
     *
     * @return the name value.
     */
    String name();

    /**
     * Gets the type property: The type of the resource.
     *
     * @return the type value.
     */
    String type();

    /**
     * Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
     *
     * @return the systemData value.
     */
    SystemData systemData();

    /**
     * Gets the objectId property: ObjectId of user session. (internal use).
     *
     * @return the objectId value.
     */
    String objectId();

    /**
     * Gets the userPrincipalName property: The user principal name.
     *
     * @return the userPrincipalName value.
     */
    String userPrincipalName();

    /**
     * Gets the applicationType property: Application type of application.
     *
     * @return the applicationType value.
     */
    ApplicationType applicationType();

    /**
     * Gets the sessionState property: State of user session.
     *
     * @return the sessionState value.
     */
    SessionState sessionState();

    /**
     * Gets the activeDirectoryUsername property: The active directory user name.
     *
     * @return the activeDirectoryUsername value.
     */
    String activeDirectoryUsername();

    /**
     * Gets the createTime property: The timestamp of the user session create.
     *
     * @return the createTime value.
     */
    OffsetDateTime createTime();

    /**
     * Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.UserSessionInner object.
     *
     * @return the inner object.
     */
    UserSessionInner innerModel();
}
