示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IamApiKey" /> class.
 /// </summary>
 /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param>
 /// <param name="Moid">A unique identifier of this Managed Object instance.  .</param>
 /// <param name="Owners">An array of owners which represent effective ownership of this object.   .</param>
 /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param>
 /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects.  .</param>
 /// <param name="VersionContext">The versioning info for this managed object   .</param>
 /// <param name="Permission">Permissions associated with the API key. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. .</param>
 /// <param name="PrivateKey">Holds private key for API key.   .</param>
 /// <param name="Purpose">Specifies the purpose of API Key.   .</param>
 /// <param name="User">User.</param>
 public IamApiKey(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), MoVersionContext VersionContext = default(MoVersionContext), IamPermissionRef Permission = default(IamPermissionRef), string PrivateKey = default(string), string Purpose = default(string), IamUserRef User = default(IamUserRef))
 {
     this.Ancestors      = Ancestors;
     this.Moid           = Moid;
     this.Owners         = Owners;
     this.Parent         = Parent;
     this.Tags           = Tags;
     this.VersionContext = VersionContext;
     this.Permission     = Permission;
     this.PrivateKey     = PrivateKey;
     this.Purpose        = Purpose;
     this.User           = User;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IamSession" /> class.
 /// </summary>
 /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param>
 /// <param name="Moid">A unique identifier of this Managed Object instance.  .</param>
 /// <param name="Owners">An array of owners which represent effective ownership of this object.   .</param>
 /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param>
 /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects.  .</param>
 /// <param name="VersionContext">The versioning info for this managed object   .</param>
 /// <param name="AccountPermissions">Specifies the accounts and the permissions within each account which a user can select after authentication. After authentication if user has access to multiple permissions, then user and session object are created in onboarding user account and asked to select one of these permissions.  .</param>
 /// <param name="Permission">Permissions associated with the web session. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. .</param>
 /// <param name="User">User.</param>
 public IamSession(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), MoVersionContext VersionContext = default(MoVersionContext), List <IamAccountPermissions> AccountPermissions = default(List <IamAccountPermissions>), IamPermissionRef Permission = default(IamPermissionRef), IamUserRef User = default(IamUserRef))
 {
     this.Ancestors          = Ancestors;
     this.Moid               = Moid;
     this.Owners             = Owners;
     this.Parent             = Parent;
     this.Tags               = Tags;
     this.VersionContext     = VersionContext;
     this.AccountPermissions = AccountPermissions;
     this.Permission         = Permission;
     this.User               = User;
 }