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
IAMMetadataThe 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
stringThe user's Id on IAM.
tenantName
stringThe name of the tenant the user belongs to on IAM.
connectionName
stringThe name of the connection the user belongs to on IAM.
isIamVerified
boolWhether 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
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
TenantName
Gets or sets the name of the tenant the user belongs to on IAM.
public string TenantName { get; set; }
Property Value
UserId
Gets or sets the user's Id on IAM.
public string UserId { get; set; }
Property Value
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
Returns
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.