Table of Contents

Class PolicyEvaluationRequest

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

Constructors

PolicyEvaluationRequest()

Instantiates a new PolicyEvaluationRequest and sets the default values.

public PolicyEvaluationRequest()

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>

ClientId

The clientId property

public string? ClientId { get; set; }

Property Value

string

Context

The context property

public PolicyEvaluationRequest_context? Context { get; set; }

Property Value

PolicyEvaluationRequest_context

Entitlements

The entitlements property

public bool? Entitlements { get; set; }

Property Value

bool?

Resources

The resources property

public List<ResourceRepresentation>? Resources { get; set; }

Property Value

List<ResourceRepresentation>

RoleIds

The roleIds property

public List<string>? RoleIds { get; set; }

Property Value

List<string>

UserId

The userId property

public string? UserId { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static PolicyEvaluationRequest CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

PolicyEvaluationRequest

A PolicyEvaluationRequest

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