Table of Contents

Class IAMMetadata

Namespace
Geotab.Checkmate.ObjectModel.Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

Metadata for a user on IAM.

public class IAMMetadata : Entity, IEntity, IComparable, IIdentifiable, IInstanceSizeEstimate
Inheritance
IAMMetadata
Implements
Inherited Members

Constructors

IAMMetadata()

Initializes a new instance of the IAMMetadata class.

public IAMMetadata()

IAMMetadata(IAMMetadata)

Initializes a new instance of the IAMMetadata class.

public IAMMetadata(IAMMetadata iamMetadata)

Parameters

iamMetadata IAMMetadata

The IAM metadata.

IAMMetadata(string, string, string, bool)

Initializes a new instance of the IAMMetadata class.

public IAMMetadata(string userId, string tenantName, string connectionName, bool isIamVerified)

Parameters

userId string

The user's Id on IAM.

tenantName string

The name of the tenant the user belongs to on IAM.

connectionName string

The name of the connection the user belongs to on IAM.

isIamVerified bool

Whether the user was verified via IAM.

Properties

ConnectionName

Gets or sets the name of the connection the user belongs to on IAM.

public string ConnectionName { get; set; }

Property Value

string

ConnectionName

IsIAMVerified

Gets or sets a value indicating whether the user is verified on IAM, if [true] the user is verified on IAM, otherwise [false]. Default [false].

public bool IsIAMVerified { get; set; }

Property Value

bool

IsIAMVerified

TenantName

Gets or sets the name of the tenant the user belongs to on IAM.

public string TenantName { get; set; }

Property Value

string

TenantName

UserId

Gets or sets the user's Id on IAM.

public string UserId { get; set; }

Property Value

string

UserId

Methods

Clone()

Creates a new object that is a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of this instance.

Equals(object?)

Determines whether the specified object, is equal to this instance.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

GetHashCode()

Returns a hash code for this instance.

public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

GetSize()

Gets the size estimate of this instance in bytes.

public long GetSize()

Returns

long

Returns the size of the entity.