Table of Contents

Class UserSessionRepresentation

Namespace
Keycloak.AuthServices.Sdk.Kiota.Admin.Models
Assembly
Keycloak.AuthServices.Sdk.Kiota.dll
public class UserSessionRepresentation : IAdditionalDataHolder, IParsable
Inheritance
UserSessionRepresentation
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

UserSessionRepresentation()

Instantiates a new UserSessionRepresentation and sets the default values.

public UserSessionRepresentation()

Properties

AdditionalData

Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

public IDictionary<string, object> AdditionalData { get; set; }

Property Value

IDictionary<string, object>

Clients

The clients property

public UserSessionRepresentation_clients? Clients { get; set; }

Property Value

UserSessionRepresentation_clients

Id

The id property

public string? Id { get; set; }

Property Value

string

IpAddress

The ipAddress property

public string? IpAddress { get; set; }

Property Value

string

LastAccess

The lastAccess property

public long? LastAccess { get; set; }

Property Value

long?

RememberMe

The rememberMe property

public bool? RememberMe { get; set; }

Property Value

bool?

Start

The start property

public long? Start { get; set; }

Property Value

long?

UserId

The userId property

public string? UserId { get; set; }

Property Value

string

Username

The username property

public string? Username { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static UserSessionRepresentation CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

UserSessionRepresentation

A UserSessionRepresentation

GetFieldDeserializers()

The deserialization information for the current model

public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model