Table of Contents

Class AbstractPolicyRepresentation

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

Constructors

AbstractPolicyRepresentation()

Instantiates a new AbstractPolicyRepresentation and sets the default values.

public AbstractPolicyRepresentation()

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>

DecisionStrategy

The decisionStrategy property

public DecisionStrategy? DecisionStrategy { get; set; }

Property Value

DecisionStrategy?

Description

The description property

public string? Description { get; set; }

Property Value

string

Id

The id property

public string? Id { get; set; }

Property Value

string

Logic

The logic property

public Logic? Logic { get; set; }

Property Value

Logic?

Name

The name property

public string? Name { get; set; }

Property Value

string

Owner

The owner property

public string? Owner { get; set; }

Property Value

string

Policies

The policies property

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

Property Value

List<string>

Resources

The resources property

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

Property Value

List<string>

ResourcesData

The resourcesData property

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

Property Value

List<ResourceRepresentation>

Scopes

The scopes property

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

Property Value

List<string>

ScopesData

The scopesData property

public List<ScopeRepresentation>? ScopesData { get; set; }

Property Value

List<ScopeRepresentation>

Type

The type property

public string? Type { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static AbstractPolicyRepresentation CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

AbstractPolicyRepresentation

A AbstractPolicyRepresentation

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