Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ListUpdateDetail" /> class.
 /// </summary>
 /// <param name="BriefText">Notes associated with the list at the time of this update.</param>
 /// <param name="ExcludeQuery">The query rule that defines the records to exclude from this list at the time of this update.</param>
 /// <param name="IncludeQuery">The query rule that defines the records to start with when defining this list at the time of this update.</param>
 /// <param name="BodyQuery">The query rule that defines the records that will make up this list at the time of this update..</param>
 /// <param name="SelectionModifiers">A definition of how to limit the number of records selected in the nett query built from the exclude, include and body queries.</param>
 /// <param name="Id">The list update&#39;s id (required).</param>
 /// <param name="Timestamp">The timestamp of when the update happened (required).</param>
 /// <param name="User">The user that created this update (required).</param>
 /// <param name="Title">The title of the list at the time of this update (required).</param>
 /// <param name="Description">The description of the list at the time of this update (required).</param>
 /// <param name="Owner">The details of the user that owns this list at the time of this update (required).</param>
 /// <param name="IsDeleted">Whether this update set the list to be deleted or not (required).</param>
 /// <param name="ResolveTableName">The FastStats table that the list is defined against at the time of this update (required).</param>
 public ListUpdateDetail(string BriefText = default(string), Query ExcludeQuery = default(Query), Query IncludeQuery = default(Query), Query BodyQuery = default(Query), SelectionModifiers SelectionModifiers = default(SelectionModifiers), int?Id = default(int?), DateTime?Timestamp = default(DateTime?), UserDisplayDetails User = default(UserDisplayDetails), string Title = default(string), string Description = default(string), UserDisplayDetails Owner = default(UserDisplayDetails), bool?IsDeleted = default(bool?), string ResolveTableName = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for ListUpdateDetail and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "Timestamp" is required (not null)
     if (Timestamp == null)
     {
         throw new InvalidDataException("Timestamp is a required property for ListUpdateDetail and cannot be null");
     }
     else
     {
         this.Timestamp = Timestamp;
     }
     // to ensure "User" is required (not null)
     if (User == null)
     {
         throw new InvalidDataException("User is a required property for ListUpdateDetail and cannot be null");
     }
     else
     {
         this.User = User;
     }
     // to ensure "Title" is required (not null)
     if (Title == null)
     {
         throw new InvalidDataException("Title is a required property for ListUpdateDetail and cannot be null");
     }
     else
     {
         this.Title = Title;
     }
     // to ensure "Description" is required (not null)
     if (Description == null)
     {
         throw new InvalidDataException("Description is a required property for ListUpdateDetail and cannot be null");
     }
     else
     {
         this.Description = Description;
     }
     // to ensure "Owner" is required (not null)
     if (Owner == null)
     {
         throw new InvalidDataException("Owner is a required property for ListUpdateDetail and cannot be null");
     }
     else
     {
         this.Owner = Owner;
     }
     // to ensure "IsDeleted" is required (not null)
     if (IsDeleted == null)
     {
         throw new InvalidDataException("IsDeleted is a required property for ListUpdateDetail and cannot be null");
     }
     else
     {
         this.IsDeleted = IsDeleted;
     }
     // to ensure "ResolveTableName" is required (not null)
     if (ResolveTableName == null)
     {
         throw new InvalidDataException("ResolveTableName is a required property for ListUpdateDetail and cannot be null");
     }
     else
     {
         this.ResolveTableName = ResolveTableName;
     }
     this.BriefText          = BriefText;
     this.ExcludeQuery       = ExcludeQuery;
     this.IncludeQuery       = IncludeQuery;
     this.BodyQuery          = BodyQuery;
     this.SelectionModifiers = SelectionModifiers;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModifyUserListDetail" /> class.
 /// </summary>
 /// <param name="Status">The status of the list.</param>
 /// <param name="Title">The title of the collection.</param>
 /// <param name="Description">The description of the collection.</param>
 /// <param name="BriefText">Notes associated with the list.</param>
 /// <param name="ExcludeQuery">The query rule that defines the records to exclude from this list.</param>
 /// <param name="IncludeQuery">The query rule that defines the records to start with when defining this list.</param>
 /// <param name="BodyQuery">The query rule that defines the records that will make up this list, after starting with the records defined by the include query (if specified) and then removing the records defined by the exclude query (if specified).</param>
 /// <param name="SelectionModifiers">A definition of how to limit the number of records selected in the nett query built from the exclude, include and body queries.</param>
 public ModifyUserListDetail(StatusEnum?Status = default(StatusEnum?), string Title = default(string), string Description = default(string), string BriefText = default(string), Query ExcludeQuery = default(Query), Query IncludeQuery = default(Query), Query BodyQuery = default(Query), SelectionModifiers SelectionModifiers = default(SelectionModifiers))
 {
     this.Status             = Status;
     this.Title              = Title;
     this.Description        = Description;
     this.BriefText          = BriefText;
     this.ExcludeQuery       = ExcludeQuery;
     this.IncludeQuery       = IncludeQuery;
     this.BodyQuery          = BodyQuery;
     this.SelectionModifiers = SelectionModifiers;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateListUpdate" /> class.
 /// </summary>
 /// <param name="Title">The title of the list.</param>
 /// <param name="Description">The description of the collection.</param>
 /// <param name="IsDeleted">Whether this list should be deleted or not.</param>
 /// <param name="ExcludeQuery">A query rule that defines the records to exclude from this list.</param>
 /// <param name="IncludeQuery">A query rule that defines the records to start with when defining this list.</param>
 /// <param name="BodyQuery">A query rule that defines the records that will make up this list, after starting with the records defined by the include query (if specified) and then removing the records defined by the exclude query (if specified).</param>
 /// <param name="SelectionModifiers">A definition of how to limit the number of records selected in the nett query built from the exclude, include and body queries.</param>
 /// <param name="BriefText">Notes associated with the list.</param>
 public CreateListUpdate(string Title = default(string), string Description = default(string), bool?IsDeleted = default(bool?), Query ExcludeQuery = default(Query), Query IncludeQuery = default(Query), Query BodyQuery = default(Query), SelectionModifiers SelectionModifiers = default(SelectionModifiers), string BriefText = default(string))
 {
     this.Title              = Title;
     this.Description        = Description;
     this.IsDeleted          = IsDeleted;
     this.ExcludeQuery       = ExcludeQuery;
     this.IncludeQuery       = IncludeQuery;
     this.BodyQuery          = BodyQuery;
     this.SelectionModifiers = SelectionModifiers;
     this.BriefText          = BriefText;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ListDetail" /> class.
 /// </summary>
 /// <param name="BriefText">Notes associated with the list.</param>
 /// <param name="ExcludeQuery">The query rule that defines the records to exclude from this list.</param>
 /// <param name="IncludeQuery">The query rule that defines the records to start with when defining this list.</param>
 /// <param name="BodyQuery">The query rule that defines the records that will make up this list, after starting with the records defined by the include query (if specified) and then removing the records defined by the exclude query (if specified).</param>
 /// <param name="SelectionModifiers">A definition of how to limit the number of records selected in the nett query built from the exclude, include and body queries.</param>
 /// <param name="QueriesLookup">A set of description lookups for variables used in the exclude, include and body queries.</param>
 /// <param name="LastResult">If this list has been calculated, the last calculation result.</param>
 /// <param name="Id">The list&#39;s id (required).</param>
 /// <param name="Title">The title of the list (required).</param>
 /// <param name="Description">The description of the list (required).</param>
 /// <param name="CreationDate">The date the list was created (required).</param>
 /// <param name="Owner">The details of the user that owns this list (required).</param>
 /// <param name="DeletionDate">The date the list was deleted, or null if it has not been deleted (required).</param>
 /// <param name="ResolveTableName">The FastStats table that the list is defined against (required).</param>
 /// <param name="ResolveTableNettCount">If the list has been counted, the latest overall count for the resolve table.</param>
 /// <param name="NumberOfUsersSharedWith">The number of people this list has been shared with (required).</param>
 /// <param name="ShareId">The id of the share associated with this list, or null if the  list has not yet been shared (required).</param>
 /// <param name="NumberOfHits">The number of hits associated with this list (required).</param>
 /// <param name="SystemName">The FastStats system that this list has been created against (required).</param>
 /// <param name="LastUpdatedUser">The details of the user that last updated this list (required).</param>
 /// <param name="LastUpdatedDate">The date the list was last updated (required).</param>
 /// <param name="LastUpdateId">The id of the last update for this list (required).</param>
 public ListDetail(string BriefText = default(string), Query ExcludeQuery = default(Query), Query IncludeQuery = default(Query), Query BodyQuery = default(Query), SelectionModifiers SelectionModifiers = default(SelectionModifiers), SystemLookup QueriesLookup = default(SystemLookup), ListResultDetail LastResult = default(ListResultDetail), int?Id = default(int?), string Title = default(string), string Description = default(string), DateTime?CreationDate = default(DateTime?), UserDisplayDetails Owner = default(UserDisplayDetails), DateTime?DeletionDate = default(DateTime?), string ResolveTableName = default(string), long?ResolveTableNettCount = default(long?), int?NumberOfUsersSharedWith = default(int?), int?ShareId = default(int?), int?NumberOfHits = default(int?), string SystemName = default(string), UserDisplayDetails LastUpdatedUser = default(UserDisplayDetails), DateTime?LastUpdatedDate = default(DateTime?), int?LastUpdateId = default(int?))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "Title" is required (not null)
     if (Title == null)
     {
         throw new InvalidDataException("Title is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.Title = Title;
     }
     // to ensure "Description" is required (not null)
     if (Description == null)
     {
         throw new InvalidDataException("Description is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.Description = Description;
     }
     // to ensure "CreationDate" is required (not null)
     if (CreationDate == null)
     {
         throw new InvalidDataException("CreationDate is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.CreationDate = CreationDate;
     }
     // to ensure "Owner" is required (not null)
     if (Owner == null)
     {
         throw new InvalidDataException("Owner is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.Owner = Owner;
     }
     // to ensure "DeletionDate" is required (not null)
     if (DeletionDate == null)
     {
         throw new InvalidDataException("DeletionDate is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.DeletionDate = DeletionDate;
     }
     // to ensure "ResolveTableName" is required (not null)
     if (ResolveTableName == null)
     {
         throw new InvalidDataException("ResolveTableName is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.ResolveTableName = ResolveTableName;
     }
     // to ensure "NumberOfUsersSharedWith" is required (not null)
     if (NumberOfUsersSharedWith == null)
     {
         throw new InvalidDataException("NumberOfUsersSharedWith is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.NumberOfUsersSharedWith = NumberOfUsersSharedWith;
     }
     // to ensure "ShareId" is required (not null)
     if (ShareId == null)
     {
         throw new InvalidDataException("ShareId is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.ShareId = ShareId;
     }
     // to ensure "NumberOfHits" is required (not null)
     if (NumberOfHits == null)
     {
         throw new InvalidDataException("NumberOfHits is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.NumberOfHits = NumberOfHits;
     }
     // to ensure "SystemName" is required (not null)
     if (SystemName == null)
     {
         throw new InvalidDataException("SystemName is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.SystemName = SystemName;
     }
     // to ensure "LastUpdatedUser" is required (not null)
     if (LastUpdatedUser == null)
     {
         throw new InvalidDataException("LastUpdatedUser is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.LastUpdatedUser = LastUpdatedUser;
     }
     // to ensure "LastUpdatedDate" is required (not null)
     if (LastUpdatedDate == null)
     {
         throw new InvalidDataException("LastUpdatedDate is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.LastUpdatedDate = LastUpdatedDate;
     }
     // to ensure "LastUpdateId" is required (not null)
     if (LastUpdateId == null)
     {
         throw new InvalidDataException("LastUpdateId is a required property for ListDetail and cannot be null");
     }
     else
     {
         this.LastUpdateId = LastUpdateId;
     }
     this.BriefText             = BriefText;
     this.ExcludeQuery          = ExcludeQuery;
     this.IncludeQuery          = IncludeQuery;
     this.BodyQuery             = BodyQuery;
     this.SelectionModifiers    = SelectionModifiers;
     this.QueriesLookup         = QueriesLookup;
     this.LastResult            = LastResult;
     this.ResolveTableNettCount = ResolveTableNettCount;
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateListDetail" /> class.
 /// </summary>
 /// <param name="Title">The title of the list (required).</param>
 /// <param name="Description">The description of the list.</param>
 /// <param name="ExcludeQuery">A query rule that defines the records to exclude from this list.</param>
 /// <param name="IncludeQuery">A query rule that defines the records to start with when defining this list.</param>
 /// <param name="BodyQuery">A query rule that defines the records that will make up this list, after starting with the records defined by the include query (if specified) and then removing the records defined by the exclude query (if specified).</param>
 /// <param name="SelectionModifiers">A definition of how to limit the number of records selected in the nett query built from the exclude, include and body queries.</param>
 /// <param name="BriefText">Notes associated with the list.</param>
 /// <param name="SystemName">The name of the FastStats system this list is to be calculated against (required).</param>
 public CreateListDetail(string Title = default(string), string Description = default(string), Query ExcludeQuery = default(Query), Query IncludeQuery = default(Query), Query BodyQuery = default(Query), SelectionModifiers SelectionModifiers = default(SelectionModifiers), string BriefText = default(string), string SystemName = default(string))
 {
     // to ensure "Title" is required (not null)
     if (Title == null)
     {
         throw new InvalidDataException("Title is a required property for CreateListDetail and cannot be null");
     }
     else
     {
         this.Title = Title;
     }
     // to ensure "SystemName" is required (not null)
     if (SystemName == null)
     {
         throw new InvalidDataException("SystemName is a required property for CreateListDetail and cannot be null");
     }
     else
     {
         this.SystemName = SystemName;
     }
     this.Description        = Description;
     this.ExcludeQuery       = ExcludeQuery;
     this.IncludeQuery       = IncludeQuery;
     this.BodyQuery          = BodyQuery;
     this.SelectionModifiers = SelectionModifiers;
     this.BriefText          = BriefText;
 }