/// <summary> /// Initializes a new instance of the <see cref="BroadcastDataInput" /> class. /// </summary> /// <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="Tags">Tags.</param> /// <param name="Presenters">Presenters.</param> public BroadcastDataInput(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?), List <int?> Tags = default(List <int?>), List <int?> Presenters = default(List <int?>)) { 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.Tags = Tags; this.Presenters = Presenters; }
/// <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; }