Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AaaAuditRecord" /> 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="_Event">The operation that has been done by the user, such as Create, Modify plus affected Managed Object type  .</param>
 /// <param name="MoType">The type of the modifed object  .</param>
 /// <param name="ObjectMoid">The moid of the modified object  .</param>
 /// <param name="Request">The configuration changes made by the user, it is a JSON format document with properties and desired value.  .</param>
 /// <param name="TraceId">The trace id of the transaction.   .</param>
 /// <param name="Account">The account of the user who performed the operation. .</param>
 /// <param name="Email">The email of the associated user that made the change.  This is needed in case that user is later deleted, we still have some reference to the information.  .</param>
 /// <param name="InstId">The instance id of AuditRecordLocal, which is used to identify if the comming AuditRecordLocal was already processed before.  .</param>
 /// <param name="Sessions">The sessions of the user who performed the operation. .</param>
 /// <param name="SourceIp">The source IP of the client  .</param>
 /// <param name="User">The user who performed the operation. .</param>
 public AaaAuditRecord(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), string _Event = default(string), string MoType = default(string), string ObjectMoid = default(string), Object Request = default(Object), string TraceId = default(string), IamAccountRef Account = default(IamAccountRef), string Email = default(string), string InstId = default(string), IamSessionRef Sessions = default(IamSessionRef), string SourceIp = 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._Event         = _Event;
     this.MoType         = MoType;
     this.ObjectMoid     = ObjectMoid;
     this.Request        = Request;
     this.TraceId        = TraceId;
     this.Account        = Account;
     this.Email          = Email;
     this.InstId         = InstId;
     this.Sessions       = Sessions;
     this.SourceIp       = SourceIp;
     this.User           = User;
 }
Exemple #2
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="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>), 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.PrivateKey = PrivateKey;
     this.Purpose    = Purpose;
     this.User       = User;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TerminalAuditLog" /> 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="DeviceRegistration">DeviceRegistration.</param>
 /// <param name="User">User.</param>
 public TerminalAuditLog(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), AssetDeviceConnectionRef DeviceRegistration = default(AssetDeviceConnectionRef), IamUserRef User = default(IamUserRef))
 {
     this.Ancestors          = Ancestors;
     this.Moid               = Moid;
     this.Owners             = Owners;
     this.Parent             = Parent;
     this.Tags               = Tags;
     this.VersionContext     = VersionContext;
     this.DeviceRegistration = DeviceRegistration;
     this.User               = User;
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AssetDeviceRegistration" /> 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="AccessKeyId">An identifier for the credential used by the device connector to authenticate with Starship.  .</param>
 /// <param name="Account">The account to which the device has been claimed. .</param>
 /// <param name="ClaimedByUser">The user who claimed the device for the account. .</param>
 /// <param name="ClusterMembers">ClusterMembers.</param>
 /// <param name="DeviceClaim">The user who claimed the device for the account. .</param>
 /// <param name="DeviceConfiguration">DeviceConfiguration.</param>
 /// <param name="DeviceHostname">The hostnames of the managed device. There can be multiple hostnames depending on the number of elements managed (ie HA clusters).  .</param>
 /// <param name="DeviceIpAddress">The IP Addresses of the managed device. There can be multiple management IPs depending on the number of elements managed (ie HA clusters) and in-band/out-of-band connectivity.  .</param>
 /// <param name="DomainGroup">The domain group to which the device has been assigned. .</param>
 /// <param name="ExecutionMode">Indicates if the platform is an actual device or an emulated device for testing, demos, etc. Permitted values [Normal, Emulator, ContainerEmulator]   (default to null).</param>
 /// <param name="Pid">The product Id of the managed device.  .</param>
 /// <param name="PlatformType">The platform type on which device connector is executing.   (default to null).</param>
 /// <param name="SecurityToken">SecurityToken.</param>
 /// <param name="Serial">A list of serial numbers of the individual device elements (eg HA primary/secondary or cluster members) which are exposed as a single unit of management by the device connector.  .</param>
 public AssetDeviceRegistration(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), string AccessKeyId = default(string), IamAccountRef Account = default(IamAccountRef), IamUserRef ClaimedByUser = default(IamUserRef), List <AssetClusterMemberRef> ClusterMembers = default(List <AssetClusterMemberRef>), AssetDeviceClaimRef DeviceClaim = default(AssetDeviceClaimRef), AssetDeviceConfigurationRef DeviceConfiguration = default(AssetDeviceConfigurationRef), List <string> DeviceHostname = default(List <string>), List <string> DeviceIpAddress = default(List <string>), IamDomainGroupRef DomainGroup = default(IamDomainGroupRef), ExecutionModeEnum?ExecutionMode = null, List <string> Pid = default(List <string>), PlatformTypeEnum?PlatformType = null, AssetSecurityTokenRef SecurityToken = default(AssetSecurityTokenRef), List <string> Serial = default(List <string>))
 {
     this.Ancestors           = Ancestors;
     this.Moid                = Moid;
     this.Owners              = Owners;
     this.Parent              = Parent;
     this.Tags                = Tags;
     this.VersionContext      = VersionContext;
     this.AccessKeyId         = AccessKeyId;
     this.Account             = Account;
     this.ClaimedByUser       = ClaimedByUser;
     this.ClusterMembers      = ClusterMembers;
     this.DeviceClaim         = DeviceClaim;
     this.DeviceConfiguration = DeviceConfiguration;
     this.DeviceHostname      = DeviceHostname;
     this.DeviceIpAddress     = DeviceIpAddress;
     this.DomainGroup         = DomainGroup;
     // use default value if no "ExecutionMode" provided
     if (ExecutionMode == null)
     {
         this.ExecutionMode = null;
     }
     else
     {
         this.ExecutionMode = ExecutionMode;
     }
     this.Pid = Pid;
     // use default value if no "PlatformType" provided
     if (PlatformType == null)
     {
         this.PlatformType = null;
     }
     else
     {
         this.PlatformType = PlatformType;
     }
     this.SecurityToken = SecurityToken;
     this.Serial        = Serial;
 }
 /// <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="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>), IamUserRef User = default(IamUserRef))
 {
     this.Ancestors = Ancestors;
     this.Moid      = Moid;
     this.Owners    = Owners;
     this.Parent    = Parent;
     this.Tags      = Tags;
     this.User      = User;
 }
Exemple #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OauthRedirectUrl" /> 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="Account">Account.</param>
 /// <param name="User">User.</param>
 public OauthRedirectUrl(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>), IamAccountRef Account = default(IamAccountRef), IamUserRef User = default(IamUserRef))
 {
     this.Ancestors = Ancestors;
     this.Moid      = Moid;
     this.Owners    = Owners;
     this.Parent    = Parent;
     this.Tags      = Tags;
     this.Account   = Account;
     this.User      = User;
 }
Exemple #7
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;
 }
Exemple #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OauthAccessToken" /> 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="Account">Account.</param>
 /// <param name="ApiType">Oauth api type  .</param>
 /// <param name="Status">Access token status    (default to StatusEnum.Inactive).</param>
 /// <param name="User">User.</param>
 /// <param name="UserId">User name   .</param>
 public OauthAccessToken(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>), IamAccountRef Account = default(IamAccountRef), string ApiType = default(string), StatusEnum?Status = StatusEnum.Inactive, IamUserRef User = default(IamUserRef), string UserId = default(string))
 {
     this.Ancestors = Ancestors;
     this.Moid      = Moid;
     this.Owners    = Owners;
     this.Parent    = Parent;
     this.Tags      = Tags;
     this.Account   = Account;
     this.ApiType   = ApiType;
     // use default value if no "Status" provided
     if (Status == null)
     {
         this.Status = StatusEnum.Inactive;
     }
     else
     {
         this.Status = Status;
     }
     this.User   = User;
     this.UserId = UserId;
 }