/// <summary> /// Initializes a new instance of the <see cref="CSClientSideUser" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="organisationId">organisationId.</param> /// <param name="userName">userName.</param> /// <param name="firstName">firstName.</param> /// <param name="lastName">lastName.</param> /// <param name="emailAddress">emailAddress.</param> /// <param name="roles">roles.</param> /// <param name="alertSettings">alertSettings.</param> /// <param name="setupWizardRequired">setupWizardRequired.</param> /// <param name="isSubscribedToNewsletter">isSubscribedToNewsletter.</param> /// <param name="organisation">organisation.</param> /// <param name="isPrimaryAccount">isPrimaryAccount.</param> public CSClientSideUser(int?id = default(int?), int?organisationId = default(int?), string userName = default(string), string firstName = default(string), string lastName = default(string), string emailAddress = default(string), long?roles = default(long?), long?alertSettings = default(long?), bool?setupWizardRequired = default(bool?), bool?isSubscribedToNewsletter = default(bool?), CSOrganisation organisation = default(CSOrganisation), bool?isPrimaryAccount = default(bool?)) { this.Id = id; this.OrganisationId = organisationId; this.UserName = userName; this.FirstName = firstName; this.LastName = lastName; this.EmailAddress = emailAddress; this.Roles = roles; this.AlertSettings = alertSettings; this.SetupWizardRequired = setupWizardRequired; this.IsSubscribedToNewsletter = isSubscribedToNewsletter; this.Organisation = organisation; this.IsPrimaryAccount = isPrimaryAccount; }
/// <summary> /// Initializes a new instance of the <see cref="CSClientSideUser" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="OrganisationId">OrganisationId.</param> /// <param name="UserName">UserName.</param> /// <param name="FirstName">FirstName.</param> /// <param name="LastName">LastName.</param> /// <param name="EmailAddress">EmailAddress.</param> /// <param name="Roles">Roles.</param> /// <param name="AlertSettings">AlertSettings.</param> /// <param name="SetupWizardRequired">SetupWizardRequired.</param> /// <param name="IsSubscribedToNewsletter">IsSubscribedToNewsletter.</param> /// <param name="Organisation">Organisation.</param> public CSClientSideUser(int?Id = default(int?), int?OrganisationId = default(int?), string UserName = default(string), string FirstName = default(string), string LastName = default(string), string EmailAddress = default(string), long?Roles = default(long?), long?AlertSettings = default(long?), bool?SetupWizardRequired = default(bool?), bool?IsSubscribedToNewsletter = default(bool?), CSOrganisation Organisation = default(CSOrganisation)) { this.Id = Id; this.OrganisationId = OrganisationId; this.UserName = UserName; this.FirstName = FirstName; this.LastName = LastName; this.EmailAddress = EmailAddress; this.Roles = Roles; this.AlertSettings = AlertSettings; this.SetupWizardRequired = SetupWizardRequired; this.IsSubscribedToNewsletter = IsSubscribedToNewsletter; this.Organisation = Organisation; }
/// <summary> /// Initializes a new instance of the <see cref="CSApiResponseOrganisation" /> class. /// </summary> /// <param name="data">The main Data of the response.</param> /// <param name="status">The API response status. Indicates if the request was successful, failed or was unauthorised..</param> /// <param name="message">A message to accompany the response status. If the Status is failed, this message will hint why it failed and what you need to do..</param> public CSApiResponseOrganisation(CSOrganisation data = default(CSOrganisation), StatusEnum?status = default(StatusEnum?), string message = default(string)) { this.Data = data; this.Status = status; this.Message = message; }
/// <summary> /// Initializes a new instance of the <see cref="CSApiResponseOrganisation" /> class. /// </summary> /// <param name="Data">Data.</param> /// <param name="Status">Status.</param> /// <param name="Message">Message.</param> public CSApiResponseOrganisation(CSOrganisation Data = default(CSOrganisation), StatusEnum?Status = default(StatusEnum?), string Message = default(string)) { this.Data = Data; this.Status = Status; this.Message = Message; }