Table of Contents

Class ResourceRepresentation

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

Constructors

ResourceRepresentation()

Instantiates a new ResourceRepresentation and sets the default values.

public ResourceRepresentation()

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>

Attributes

The attributes property

public ResourceRepresentation_attributes? Attributes { get; set; }

Property Value

ResourceRepresentation_attributes

DisplayName

The displayName property

public string? DisplayName { get; set; }

Property Value

string

IconUri

The icon_uri property

public string? IconUri { get; set; }

Property Value

string

Id

The _id property

public string? Id { get; set; }

Property Value

string

Name

The name property

public string? Name { get; set; }

Property Value

string

Owner

The owner property

public ResourceRepresentation_owner? Owner { get; }

Property Value

ResourceRepresentation_owner

OwnerManagedAccess

The ownerManagedAccess property

public bool? OwnerManagedAccess { get; set; }

Property Value

bool?

Scopes

The scopes property

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

Property Value

List<ScopeRepresentation>

ScopesUma

The scopesUma property

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

Property Value

List<ScopeRepresentation>

Type

The type property

public string? Type { get; set; }

Property Value

string

Uri

The uri property

[Obsolete("")]
public string? Uri { get; set; }

Property Value

string

Uris

The uris property

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

Property Value

List<string>

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static ResourceRepresentation CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

ResourceRepresentation

A ResourceRepresentation

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