/// <summary> /// Initializes a new instance of the <see cref="BroadcastRelations" /> class. /// </summary> /// <param name="Items">Items.</param> /// <param name="Blocks">Blocks.</param> /// <param name="Program">Program.</param> /// <param name="Tags">Tags.</param> /// <param name="Presenters">Presenters.</param> /// <param name="ModelType">ModelType.</param> public BroadcastRelations(BroadcastRelationsItems Items = default(BroadcastRelationsItems), BroadcastRelationsBlocks Blocks = default(BroadcastRelationsBlocks), BlockRelationsProgram Program = default(BlockRelationsProgram), BroadcastRelationsTags Tags = default(BroadcastRelationsTags), BroadcastRelationsPresenters Presenters = default(BroadcastRelationsPresenters), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { this.Items = Items; this.Blocks = Blocks; this.Program = Program; this.Tags = Tags; this.Presenters = Presenters; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="CampaignResult" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="UpdatedAt">UpdatedAt (required).</param> /// <param name="CreatedAt">CreatedAt (required).</param> /// <param name="DeletedAt">DeletedAt (required).</param> /// <param name="Item">Item.</param> /// <param name="ExternalStationId">ExternalStationId.</param> /// <param name="ModelTypeId">ModelTypeId (required).</param> /// <param name="FieldValues">FieldValues.</param> /// <param name="Title">Title.</param> /// <param name="Start">Start (required).</param> /// <param name="Stop">Stop (required).</param> /// <param name="Recommended">Recommended.</param> /// <param name="Description">Description.</param> /// <param name="Items">Items.</param> /// <param name="ModelType">ModelType.</param> public CampaignResult(long?Id = default(long?), DateTime?UpdatedAt = default(DateTime?), DateTime?CreatedAt = default(DateTime?), DateTime?DeletedAt = default(DateTime?), List <Item> Item = default(List <Item>), long?ExternalStationId = default(long?), long?ModelTypeId = default(long?), List <Object> FieldValues = default(List <Object>), string Title = default(string), DateTime?Start = default(DateTime?), DateTime?Stop = default(DateTime?), bool?Recommended = default(bool?), string Description = default(string), CampaignRelationsItems Items = default(CampaignRelationsItems), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for CampaignResult and cannot be null"); } else { this.Id = Id; } // to ensure "UpdatedAt" is required (not null) if (UpdatedAt == null) { throw new InvalidDataException("UpdatedAt is a required property for CampaignResult and cannot be null"); } else { this.UpdatedAt = UpdatedAt; } // to ensure "CreatedAt" is required (not null) if (CreatedAt == null) { throw new InvalidDataException("CreatedAt is a required property for CampaignResult and cannot be null"); } else { this.CreatedAt = CreatedAt; } // to ensure "DeletedAt" is required (not null) if (DeletedAt == null) { throw new InvalidDataException("DeletedAt is a required property for CampaignResult and cannot be null"); } else { this.DeletedAt = DeletedAt; } // to ensure "ModelTypeId" is required (not null) if (ModelTypeId == null) { throw new InvalidDataException("ModelTypeId is a required property for CampaignResult and cannot be null"); } else { this.ModelTypeId = ModelTypeId; } // to ensure "Start" is required (not null) if (Start == null) { throw new InvalidDataException("Start is a required property for CampaignResult and cannot be null"); } else { this.Start = Start; } // to ensure "Stop" is required (not null) if (Stop == null) { throw new InvalidDataException("Stop is a required property for CampaignResult and cannot be null"); } else { this.Stop = Stop; } this.Item = Item; this.ExternalStationId = ExternalStationId; this.FieldValues = FieldValues; this.Title = Title; this.Recommended = Recommended; this.Description = Description; this.Items = Items; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="BroadcastResult" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="UpdatedAt">UpdatedAt (required).</param> /// <param name="CreatedAt">CreatedAt (required).</param> /// <param name="DeletedAt">DeletedAt (required).</param> /// <param name="ExternalStationId">ExternalStationId.</param> /// <param name="ProgramId">ProgramId.</param> /// <param name="ModelTypeId">ModelTypeId.</param> /// <param name="StationId">StationId.</param> /// <param name="FieldValues">FieldValues.</param> /// <param name="Title">Title.</param> /// <param name="Start">Start.</param> /// <param name="Stop">Stop.</param> /// <param name="GenreId">GenreId.</param> /// <param name="Description">Description.</param> /// <param name="ShortName">ShortName.</param> /// <param name="MediumName">MediumName.</param> /// <param name="Website">Website.</param> /// <param name="Email">Email.</param> /// <param name="Recommended">Recommended.</param> /// <param name="Language">Language.</param> /// <param name="Published">Published.</param> /// <param name="RepetitionUid">RepetitionUid.</param> /// <param name="RepetitionType">RepetitionType.</param> /// <param name="RepetitionEnd">RepetitionEnd.</param> /// <param name="RepetitionStart">RepetitionStart.</param> /// <param name="RepetitionDays">RepetitionDays.</param> /// <param name="PtyCodeId">PtyCodeId.</param> /// <param name="Items">Items.</param> /// <param name="Blocks">Blocks.</param> /// <param name="Program">Program.</param> /// <param name="Tags">Tags.</param> /// <param name="Presenters">Presenters.</param> /// <param name="ModelType">ModelType.</param> public BroadcastResult(long?Id = default(long?), DateTime?UpdatedAt = default(DateTime?), DateTime?CreatedAt = default(DateTime?), DateTime?DeletedAt = default(DateTime?), long?ExternalStationId = default(long?), long?ProgramId = default(long?), long?ModelTypeId = default(long?), long?StationId = default(long?), BroadcastFieldValues FieldValues = default(BroadcastFieldValues), string Title = default(string), DateTime?Start = default(DateTime?), DateTime?Stop = default(DateTime?), long?GenreId = default(long?), string Description = default(string), string ShortName = default(string), string MediumName = default(string), string Website = default(string), string Email = default(string), bool?Recommended = default(bool?), string Language = default(string), bool?Published = default(bool?), string RepetitionUid = default(string), RepetitionTypeEnum?RepetitionType = default(RepetitionTypeEnum?), DateTime?RepetitionEnd = default(DateTime?), DateTime?RepetitionStart = default(DateTime?), List <bool?> RepetitionDays = default(List <bool?>), long?PtyCodeId = default(long?), BroadcastRelationsItems Items = default(BroadcastRelationsItems), BroadcastRelationsBlocks Blocks = default(BroadcastRelationsBlocks), BlockRelationsProgram Program = default(BlockRelationsProgram), BroadcastRelationsTags Tags = default(BroadcastRelationsTags), BroadcastRelationsPresenters Presenters = default(BroadcastRelationsPresenters), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for BroadcastResult and cannot be null"); } else { this.Id = Id; } // to ensure "UpdatedAt" is required (not null) if (UpdatedAt == null) { throw new InvalidDataException("UpdatedAt is a required property for BroadcastResult and cannot be null"); } else { this.UpdatedAt = UpdatedAt; } // to ensure "CreatedAt" is required (not null) if (CreatedAt == null) { throw new InvalidDataException("CreatedAt is a required property for BroadcastResult and cannot be null"); } else { this.CreatedAt = CreatedAt; } // to ensure "DeletedAt" is required (not null) if (DeletedAt == null) { throw new InvalidDataException("DeletedAt is a required property for BroadcastResult and cannot be null"); } else { this.DeletedAt = DeletedAt; } this.ExternalStationId = ExternalStationId; this.ProgramId = ProgramId; this.ModelTypeId = ModelTypeId; this.StationId = StationId; this.FieldValues = FieldValues; this.Title = Title; this.Start = Start; this.Stop = Stop; this.GenreId = GenreId; this.Description = Description; this.ShortName = ShortName; this.MediumName = MediumName; this.Website = Website; this.Email = Email; this.Recommended = Recommended; this.Language = Language; this.Published = Published; this.RepetitionUid = RepetitionUid; this.RepetitionType = RepetitionType; this.RepetitionEnd = RepetitionEnd; this.RepetitionStart = RepetitionStart; this.RepetitionDays = RepetitionDays; this.PtyCodeId = PtyCodeId; this.Items = Items; this.Blocks = Blocks; this.Program = Program; this.Tags = Tags; this.Presenters = Presenters; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="StoryRelations" /> class. /// </summary> /// <param name="Tags">Tags.</param> /// <param name="Items">Items.</param> /// <param name="ModelType">ModelType.</param> public StoryRelations(StoryRelationsTags Tags = default(StoryRelationsTags), StoryRelationsItems Items = default(StoryRelationsItems), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { this.Tags = Tags; this.Items = Items; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="StoryResult" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="UpdatedAt">UpdatedAt.</param> /// <param name="DeletedAt">DeletedAt.</param> /// <param name="ExternalStationId">ExternalStationId.</param> /// <param name="ModelTypeId">ModelTypeId (required).</param> /// <param name="Recommended">Recommended.</param> /// <param name="FieldValues">FieldValues.</param> /// <param name="Name">Name (required).</param> /// <param name="Description">Description.</param> /// <param name="Tags">Tags.</param> /// <param name="Items">Items.</param> /// <param name="ModelType">ModelType.</param> public StoryResult(long?Id = default(long?), DateTime?CreatedAt = default(DateTime?), DateTime?UpdatedAt = default(DateTime?), DateTime?DeletedAt = default(DateTime?), long?ExternalStationId = default(long?), long?ModelTypeId = default(long?), bool?Recommended = default(bool?), Object FieldValues = default(Object), string Name = default(string), string Description = default(string), StoryRelationsTags Tags = default(StoryRelationsTags), StoryRelationsItems Items = default(StoryRelationsItems), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { // to ensure "ModelTypeId" is required (not null) if (ModelTypeId == null) { throw new InvalidDataException("ModelTypeId is a required property for StoryResult and cannot be null"); } else { this.ModelTypeId = ModelTypeId; } // to ensure "Name" is required (not null) if (Name == null) { throw new InvalidDataException("Name is a required property for StoryResult and cannot be null"); } else { this.Name = Name; } this.Id = Id; this.CreatedAt = CreatedAt; this.UpdatedAt = UpdatedAt; this.DeletedAt = DeletedAt; this.ExternalStationId = ExternalStationId; this.Recommended = Recommended; this.FieldValues = FieldValues; this.Description = Description; this.Tags = Tags; this.Items = Items; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="ProgramRelations" /> class. /// </summary> /// <param name="Items">Items.</param> /// <param name="Blocks">Blocks.</param> /// <param name="Broadcasts">Broadcasts.</param> /// <param name="Presenters">Presenters.</param> /// <param name="Tags">Tags.</param> /// <param name="ModelType">ModelType.</param> public ProgramRelations(ProgramRelationsItems Items = default(ProgramRelationsItems), ProgramRelationsBlocks Blocks = default(ProgramRelationsBlocks), ProgramRelationsBroadcasts Broadcasts = default(ProgramRelationsBroadcasts), ProgramRelationsPresenters Presenters = default(ProgramRelationsPresenters), ProgramRelationsTags Tags = default(ProgramRelationsTags), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { this.Items = Items; this.Blocks = Blocks; this.Broadcasts = Broadcasts; this.Presenters = Presenters; this.Tags = Tags; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="PresenterResult" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="UpdatedAt">UpdatedAt (required).</param> /// <param name="CreatedAt">CreatedAt (required).</param> /// <param name="DeletedAt">DeletedAt (required).</param> /// <param name="ExternalStationId">ExternalStationId.</param> /// <param name="ModelTypeId">ModelTypeId (required).</param> /// <param name="FieldValues">FieldValues.</param> /// <param name="Firstname">Firstname.</param> /// <param name="Lastname">Lastname.</param> /// <param name="Active">Active.</param> /// <param name="Name">Name.</param> /// <param name="Programs">Programs.</param> /// <param name="Broadcasts">Broadcasts.</param> /// <param name="ModelType">ModelType.</param> public PresenterResult(long?Id = default(long?), DateTime?UpdatedAt = default(DateTime?), DateTime?CreatedAt = default(DateTime?), DateTime?DeletedAt = default(DateTime?), long?ExternalStationId = default(long?), long?ModelTypeId = default(long?), List <Object> FieldValues = default(List <Object>), string Firstname = default(string), string Lastname = default(string), bool?Active = default(bool?), string Name = default(string), PresenterRelationsPrograms Programs = default(PresenterRelationsPrograms), PresenterRelationsBroadcasts Broadcasts = default(PresenterRelationsBroadcasts), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for PresenterResult and cannot be null"); } else { this.Id = Id; } // to ensure "UpdatedAt" is required (not null) if (UpdatedAt == null) { throw new InvalidDataException("UpdatedAt is a required property for PresenterResult and cannot be null"); } else { this.UpdatedAt = UpdatedAt; } // to ensure "CreatedAt" is required (not null) if (CreatedAt == null) { throw new InvalidDataException("CreatedAt is a required property for PresenterResult and cannot be null"); } else { this.CreatedAt = CreatedAt; } // to ensure "DeletedAt" is required (not null) if (DeletedAt == null) { throw new InvalidDataException("DeletedAt is a required property for PresenterResult and cannot be null"); } else { this.DeletedAt = DeletedAt; } // to ensure "ModelTypeId" is required (not null) if (ModelTypeId == null) { throw new InvalidDataException("ModelTypeId is a required property for PresenterResult and cannot be null"); } else { this.ModelTypeId = ModelTypeId; } this.ExternalStationId = ExternalStationId; this.FieldValues = FieldValues; this.Firstname = Firstname; this.Lastname = Lastname; this.Active = Active; this.Name = Name; this.Programs = Programs; this.Broadcasts = Broadcasts; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="ItemRelations" /> class. /// </summary> /// <param name="Block">Block.</param> /// <param name="Broadcast">Broadcast.</param> /// <param name="Program">Program.</param> /// <param name="Contacts">Contacts.</param> /// <param name="Tags">Tags.</param> /// <param name="Campaign">Campaign.</param> /// <param name="ModelType">ModelType.</param> public ItemRelations(ItemRelationsBlock Block = default(ItemRelationsBlock), BlockRelationsBroadcast Broadcast = default(BlockRelationsBroadcast), ItemRelationsProgram Program = default(ItemRelationsProgram), ItemRelationsContacts Contacts = default(ItemRelationsContacts), ItemRelationsTags Tags = default(ItemRelationsTags), ItemRelationsCampaign Campaign = default(ItemRelationsCampaign), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { this.Block = Block; this.Broadcast = Broadcast; this.Program = Program; this.Contacts = Contacts; this.Tags = Tags; this.Campaign = Campaign; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="ItemResult" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="UpdatedAt">UpdatedAt.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="DeletedAt">DeletedAt.</param> /// <param name="DataModified">DataModified.</param> /// <param name="Order">Order.</param> /// <param name="TemplateblockId">TemplateblockId.</param> /// <param name="TemplateitemId">TemplateitemId.</param> /// <param name="ExternalStationId">ExternalStationId.</param> /// <param name="ModelTypeId">ModelTypeId (required).</param> /// <param name="BlockId">BlockId.</param> /// <param name="ExternalId">ExternalId (required).</param> /// <param name="FieldValues">FieldValues.</param> /// <param name="Title">Title.</param> /// <param name="Duration">Duration.</param> /// <param name="Start">Start.</param> /// <param name="Status">Status.</param> /// <param name="Import">Import.</param> /// <param name="CampaignId">CampaignId.</param> /// <param name="Recommended">Recommended.</param> /// <param name="StationDraftId">StationDraftId.</param> /// <param name="ProgramDraftId">ProgramDraftId.</param> /// <param name="UserDraftId">UserDraftId.</param> /// <param name="StaticStart">StaticStart.</param> /// <param name="Details">Details.</param> /// <param name="Block">Block.</param> /// <param name="Broadcast">Broadcast.</param> /// <param name="Program">Program.</param> /// <param name="Contacts">Contacts.</param> /// <param name="Tags">Tags.</param> /// <param name="Campaign">Campaign.</param> /// <param name="ModelType">ModelType.</param> public ItemResult(long?Id = default(long?), DateTime?UpdatedAt = default(DateTime?), DateTime?CreatedAt = default(DateTime?), DateTime?DeletedAt = default(DateTime?), long?DataModified = default(long?), long?Order = default(long?), long?TemplateblockId = default(long?), long?TemplateitemId = default(long?), long?ExternalStationId = default(long?), long?ModelTypeId = default(long?), long?BlockId = default(long?), long?ExternalId = default(long?), ImportItemFieldValues FieldValues = default(ImportItemFieldValues), string Title = default(string), long?Duration = default(long?), DateTime?Start = default(DateTime?), StatusEnum?Status = default(StatusEnum?), long?Import = default(long?), long?CampaignId = default(long?), bool?Recommended = default(bool?), long?StationDraftId = default(long?), long?ProgramDraftId = default(long?), long?UserDraftId = default(long?), bool?StaticStart = default(bool?), string Details = default(string), ItemRelationsBlock Block = default(ItemRelationsBlock), BlockRelationsBroadcast Broadcast = default(BlockRelationsBroadcast), ItemRelationsProgram Program = default(ItemRelationsProgram), ItemRelationsContacts Contacts = default(ItemRelationsContacts), ItemRelationsTags Tags = default(ItemRelationsTags), ItemRelationsCampaign Campaign = default(ItemRelationsCampaign), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { // to ensure "ModelTypeId" is required (not null) if (ModelTypeId == null) { throw new InvalidDataException("ModelTypeId is a required property for ItemResult and cannot be null"); } else { this.ModelTypeId = ModelTypeId; } // to ensure "ExternalId" is required (not null) if (ExternalId == null) { throw new InvalidDataException("ExternalId is a required property for ItemResult and cannot be null"); } else { this.ExternalId = ExternalId; } this.Id = Id; this.UpdatedAt = UpdatedAt; this.CreatedAt = CreatedAt; this.DeletedAt = DeletedAt; this.DataModified = DataModified; this.Order = Order; this.TemplateblockId = TemplateblockId; this.TemplateitemId = TemplateitemId; this.ExternalStationId = ExternalStationId; this.BlockId = BlockId; this.FieldValues = FieldValues; this.Title = Title; this.Duration = Duration; this.Start = Start; this.Status = Status; this.Import = Import; this.CampaignId = CampaignId; this.Recommended = Recommended; this.StationDraftId = StationDraftId; this.ProgramDraftId = ProgramDraftId; this.UserDraftId = UserDraftId; this.StaticStart = StaticStart; this.Details = Details; this.Block = Block; this.Broadcast = Broadcast; this.Program = Program; this.Contacts = Contacts; this.Tags = Tags; this.Campaign = Campaign; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="ProgramResult" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="UpdatedAt">UpdatedAt (required).</param> /// <param name="CreatedAt">CreatedAt (required).</param> /// <param name="DeletedAt">DeletedAt (required).</param> /// <param name="ExternalStationId">ExternalStationId.</param> /// <param name="ModelTypeId">ModelTypeId (required).</param> /// <param name="FieldValues">FieldValues.</param> /// <param name="Title">Title (required).</param> /// <param name="Disabled">Disabled.</param> /// <param name="GenreId">GenreId.</param> /// <param name="Description">Description.</param> /// <param name="ShortName">ShortName.</param> /// <param name="MediumName">MediumName.</param> /// <param name="Website">Website.</param> /// <param name="Email">Email.</param> /// <param name="Recommended">Recommended.</param> /// <param name="Language">Language.</param> /// <param name="PtyCodeId">PtyCodeId.</param> /// <param name="Items">Items.</param> /// <param name="Blocks">Blocks.</param> /// <param name="Broadcasts">Broadcasts.</param> /// <param name="Presenters">Presenters.</param> /// <param name="Tags">Tags.</param> /// <param name="ModelType">ModelType.</param> public ProgramResult(long?Id = default(long?), DateTime?UpdatedAt = default(DateTime?), DateTime?CreatedAt = default(DateTime?), DateTime?DeletedAt = default(DateTime?), long?ExternalStationId = default(long?), long?ModelTypeId = default(long?), ProgramFieldValues FieldValues = default(ProgramFieldValues), string Title = default(string), bool?Disabled = default(bool?), long?GenreId = default(long?), string Description = default(string), string ShortName = default(string), string MediumName = default(string), string Website = default(string), string Email = default(string), bool?Recommended = default(bool?), string Language = default(string), long?PtyCodeId = default(long?), ProgramRelationsItems Items = default(ProgramRelationsItems), ProgramRelationsBlocks Blocks = default(ProgramRelationsBlocks), ProgramRelationsBroadcasts Broadcasts = default(ProgramRelationsBroadcasts), ProgramRelationsPresenters Presenters = default(ProgramRelationsPresenters), ProgramRelationsTags Tags = default(ProgramRelationsTags), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for ProgramResult and cannot be null"); } else { this.Id = Id; } // to ensure "UpdatedAt" is required (not null) if (UpdatedAt == null) { throw new InvalidDataException("UpdatedAt is a required property for ProgramResult and cannot be null"); } else { this.UpdatedAt = UpdatedAt; } // to ensure "CreatedAt" is required (not null) if (CreatedAt == null) { throw new InvalidDataException("CreatedAt is a required property for ProgramResult and cannot be null"); } else { this.CreatedAt = CreatedAt; } // to ensure "DeletedAt" is required (not null) if (DeletedAt == null) { throw new InvalidDataException("DeletedAt is a required property for ProgramResult and cannot be null"); } else { this.DeletedAt = DeletedAt; } // to ensure "ModelTypeId" is required (not null) if (ModelTypeId == null) { throw new InvalidDataException("ModelTypeId is a required property for ProgramResult and cannot be null"); } else { this.ModelTypeId = ModelTypeId; } // to ensure "Title" is required (not null) if (Title == null) { throw new InvalidDataException("Title is a required property for ProgramResult and cannot be null"); } else { this.Title = Title; } this.ExternalStationId = ExternalStationId; this.FieldValues = FieldValues; this.Disabled = Disabled; this.GenreId = GenreId; this.Description = Description; this.ShortName = ShortName; this.MediumName = MediumName; this.Website = Website; this.Email = Email; this.Recommended = Recommended; this.Language = Language; this.PtyCodeId = PtyCodeId; this.Items = Items; this.Blocks = Blocks; this.Broadcasts = Broadcasts; this.Presenters = Presenters; this.Tags = Tags; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="CampaignRelations" /> class. /// </summary> /// <param name="Items">Items.</param> /// <param name="ModelType">ModelType.</param> public CampaignRelations(CampaignRelationsItems Items = default(CampaignRelationsItems), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { this.Items = Items; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="ContactRelations" /> class. /// </summary> /// <param name="Tags">Tags.</param> /// <param name="Items">Items.</param> /// <param name="ModelType">ModelType.</param> public ContactRelations(ContactRelationsTags Tags = default(ContactRelationsTags), ContactRelationsItems Items = default(ContactRelationsItems), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { this.Tags = Tags; this.Items = Items; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="PresenterRelations" /> class. /// </summary> /// <param name="Programs">Programs.</param> /// <param name="Broadcasts">Broadcasts.</param> /// <param name="ModelType">ModelType.</param> public PresenterRelations(PresenterRelationsPrograms Programs = default(PresenterRelationsPrograms), PresenterRelationsBroadcasts Broadcasts = default(PresenterRelationsBroadcasts), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { this.Programs = Programs; this.Broadcasts = Broadcasts; this.ModelType = ModelType; }
/// <summary> /// Initializes a new instance of the <see cref="ContactResult" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="UpdatedAt">UpdatedAt.</param> /// <param name="DeletedAt">DeletedAt.</param> /// <param name="ExternalStationId">ExternalStationId.</param> /// <param name="ModelTypeId">ModelTypeId (required).</param> /// <param name="FieldValues">FieldValues.</param> /// <param name="Email">Email.</param> /// <param name="Firstname">Firstname (required).</param> /// <param name="Lastname">Lastname (required).</param> /// <param name="Phone">Phone.</param> /// <param name="Tags">Tags.</param> /// <param name="Items">Items.</param> /// <param name="ModelType">ModelType.</param> public ContactResult(long?Id = default(long?), DateTime?CreatedAt = default(DateTime?), DateTime?UpdatedAt = default(DateTime?), DateTime?DeletedAt = default(DateTime?), long?ExternalStationId = default(long?), long?ModelTypeId = default(long?), ContactFieldValues FieldValues = default(ContactFieldValues), string Email = default(string), string Firstname = default(string), string Lastname = default(string), string Phone = default(string), ContactRelationsTags Tags = default(ContactRelationsTags), ContactRelationsItems Items = default(ContactRelationsItems), BroadcastRelationsModelType ModelType = default(BroadcastRelationsModelType)) { // to ensure "ModelTypeId" is required (not null) if (ModelTypeId == null) { throw new InvalidDataException("ModelTypeId is a required property for ContactResult and cannot be null"); } else { this.ModelTypeId = ModelTypeId; } // to ensure "Firstname" is required (not null) if (Firstname == null) { throw new InvalidDataException("Firstname is a required property for ContactResult and cannot be null"); } else { this.Firstname = Firstname; } // to ensure "Lastname" is required (not null) if (Lastname == null) { throw new InvalidDataException("Lastname is a required property for ContactResult and cannot be null"); } else { this.Lastname = Lastname; } this.Id = Id; this.CreatedAt = CreatedAt; this.UpdatedAt = UpdatedAt; this.DeletedAt = DeletedAt; this.ExternalStationId = ExternalStationId; this.FieldValues = FieldValues; this.Email = Email; this.Phone = Phone; this.Tags = Tags; this.Items = Items; this.ModelType = ModelType; }