Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Meeting" /> class.
 /// </summary>
 /// <param name="uuid">uuid.</param>
 /// <param name="title">title (required) (default to &quot;My Test Meeting&quot;).</param>
 /// <param name="description">description.</param>
 /// <param name="start">A [UNIX Timestamp](https://currentmillis.com/) in milliseconds (required).</param>
 /// <param name="end">A [UNIX Timestamp](https://currentmillis.com/) in milliseconds (required).</param>
 /// <param name="timezone">timezone (default to &quot;America/New_York&quot;).</param>
 /// <param name="advancedMeetingOptions">advancedMeetingOptions.</param>
 /// <param name="notificationUrl">this property is not used in the BlueJeans Meetings product.</param>
 /// <param name="notificationData">this property is not used in the BlueJeans Meetings product.</param>
 /// <param name="moderator">moderator.</param>
 /// <param name="addAttendeePasscode">Indicate if you want the attendees to be forced to enter a passcode on entry for extra security. The passcode will be randomly generated at schedule and will be returned in attendeePasscode property of the meeting..</param>
 /// <param name="delete">delete.</param>
 /// <param name="allow720p">allow720p.</param>
 /// <param name="status">status.</param>
 /// <param name="locked">locked.</param>
 /// <param name="seqeuenceNumber">seqeuenceNumber.</param>
 /// <param name="icsUid">icsUid.</param>
 /// <param name="endPointType">endPointType (required) (default to &quot;WEB_APP&quot;).</param>
 /// <param name="endPointVersion">endPointVersion (required) (default to &quot;2.10&quot;).</param>
 /// <param name="attendees">attendees.</param>
 /// <param name="isLargeMeeting">If true, the meeting is assumed to be large and thus no announcement will be made when a participant joins..</param>
 /// <param name="created">This is the epoch-based time (in milliseconds) when the meeting was initially created..</param>
 /// <param name="lastModified">This is the epoch-based time (in milliseconds) when the meeting was last changed..</param>
 /// <param name="isExpired">isExpired.</param>
 /// <param name="parentMeetingId">This field contains the Meeting Id of the first meeting in a recurrence chain of meetings..</param>
 /// <param name="parentMeetingUUID">parentMeetingUUID.</param>
 /// <param name="nextOccurrence">nextOccurrence.</param>
 /// <param name="timelessMeeting">timelessMeeting.</param>
 /// <param name="endlessMeeting">endlessMeeting.</param>
 /// <param name="recurrencePattern">recurrencePattern.</param>
 /// <param name="first">Starting and ending times of the first meeting in a chain of recurring meetings..</param>
 /// <param name="last">Starting and ending times of the last meeting in a chain of recurring meetings..</param>
 /// <param name="next">Starting and ending times of the next meeting in a chain of recurring meetings..</param>
 /// <param name="nextStart">nextStart.</param>
 /// <param name="nextEnd">nextEnd.</param>
 /// <param name="isPersonalMeeting">Use the scheduler&#39;s personal meeting room and Id for this meeting. (default to false).</param>
 /// <param name="inviteeJoinOption">inviteeJoinOption.</param>
 public Meeting(string uuid = default(string), string title = "My Test Meeting", string description = default(string), int?start = default(int?), int?end = default(int?), string timezone = "America/New_York", MeetingAdvancedMeetingOptions advancedMeetingOptions = default(MeetingAdvancedMeetingOptions), string notificationUrl = default(string), string notificationData = default(string), MeetingModerator moderator = default(MeetingModerator), bool?addAttendeePasscode = default(bool?), bool?delete = default(bool?), bool?allow720p = default(bool?), string status = default(string), bool?locked = default(bool?), int?seqeuenceNumber = default(int?), string icsUid = default(string), string endPointType = "WEB_APP", string endPointVersion = "2.10", List <Attendee> attendees = default(List <Attendee>), bool?isLargeMeeting = default(bool?), int?created = default(int?), int?lastModified = default(int?), bool?isExpired = default(bool?), int?parentMeetingId = default(int?), string parentMeetingUUID = default(string), string nextOccurrence = default(string), bool?timelessMeeting = default(bool?), bool?endlessMeeting = default(bool?), MeetingRecurrencePattern recurrencePattern = default(MeetingRecurrencePattern), StartEnd first = default(StartEnd), StartEnd last = default(StartEnd), StartEnd next = default(StartEnd), int?nextStart = default(int?), int?nextEnd = default(int?), bool?isPersonalMeeting = false, int?inviteeJoinOption = default(int?))
 {
     // to ensure "title" is required (not null)
     if (title == null)
     {
         throw new InvalidDataException("title is a required property for Meeting and cannot be null");
     }
     else
     {
         this.Title = title;
     }
     // to ensure "start" is required (not null)
     if (start == null)
     {
         throw new InvalidDataException("start is a required property for Meeting and cannot be null");
     }
     else
     {
         this.Start = start;
     }
     // to ensure "end" is required (not null)
     if (end == null)
     {
         throw new InvalidDataException("end is a required property for Meeting and cannot be null");
     }
     else
     {
         this.End = end;
     }
     // to ensure "endPointType" is required (not null)
     if (endPointType == null)
     {
         throw new InvalidDataException("endPointType is a required property for Meeting and cannot be null");
     }
     else
     {
         this.EndPointType = endPointType;
     }
     // to ensure "endPointVersion" is required (not null)
     if (endPointVersion == null)
     {
         throw new InvalidDataException("endPointVersion is a required property for Meeting and cannot be null");
     }
     else
     {
         this.EndPointVersion = endPointVersion;
     }
     this.Uuid        = uuid;
     this.Description = description;
     // use default value if no "timezone" provided
     if (timezone == null)
     {
         this.Timezone = "America/New_York";
     }
     else
     {
         this.Timezone = timezone;
     }
     this.AdvancedMeetingOptions = advancedMeetingOptions;
     this.NotificationUrl        = notificationUrl;
     this.NotificationData       = notificationData;
     this.Moderator           = moderator;
     this.AddAttendeePasscode = addAttendeePasscode;
     this.Delete            = delete;
     this.Allow720p         = allow720p;
     this.Status            = status;
     this.Locked            = locked;
     this.SeqeuenceNumber   = seqeuenceNumber;
     this.IcsUid            = icsUid;
     this.Attendees         = attendees;
     this.IsLargeMeeting    = isLargeMeeting;
     this.Created           = created;
     this.LastModified      = lastModified;
     this.IsExpired         = isExpired;
     this.ParentMeetingId   = parentMeetingId;
     this.ParentMeetingUUID = parentMeetingUUID;
     this.NextOccurrence    = nextOccurrence;
     this.TimelessMeeting   = timelessMeeting;
     this.EndlessMeeting    = endlessMeeting;
     this.RecurrencePattern = recurrencePattern;
     this.First             = first;
     this.Last      = last;
     this.Next      = next;
     this.NextStart = nextStart;
     this.NextEnd   = nextEnd;
     // use default value if no "isPersonalMeeting" provided
     if (isPersonalMeeting == null)
     {
         this.IsPersonalMeeting = false;
     }
     else
     {
         this.IsPersonalMeeting = isPersonalMeeting;
     }
     this.InviteeJoinOption = inviteeJoinOption;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Meeting" /> class.
 /// </summary>
 /// <param name="Title">Title (required) (default to &quot;My Test Meeting&quot;).</param>
 /// <param name="Description">Description.</param>
 /// <param name="Start">A [UNIX Timestamp](https://currentmillis.com/) in milliseconds (required).</param>
 /// <param name="End">A [UNIX Timestamp](https://currentmillis.com/) in milliseconds (required).</param>
 /// <param name="Timezone">Timezone (default to &quot;America/New_York&quot;).</param>
 /// <param name="AddAttendeePasscode">Indicate if you want the attendees to be forced to enter a passcode on entry for extra security. The passcode will be randomly generated at schedule and will be returned in attendeePasscode property of the meeting..</param>
 /// <param name="EndPointVersion">EndPointVersion (required) (default to &quot;2.10&quot;).</param>
 /// <param name="EndPointType">EndPointType (required) (default to &quot;WEB_APP&quot;).</param>
 /// <param name="Attendees">Attendees.</param>
 /// <param name="AdvancedMeetingOptions">AdvancedMeetingOptions.</param>
 public Meeting(string Title = "My Test Meeting", string Description = default(string), long?Start = default(long?), long?End = default(long?), string Timezone = "America/New_York", bool?AddAttendeePasscode = default(bool?), string EndPointVersion = "2.10", string EndPointType = "WEB_APP", List <Attendee> Attendees = default(List <Attendee>), MeetingAdvancedMeetingOptions AdvancedMeetingOptions = default(MeetingAdvancedMeetingOptions))
 {
     // to ensure "Title" is required (not null)
     if (Title == null)
     {
         throw new InvalidDataException("Title is a required property for Meeting and cannot be null");
     }
     else
     {
         this.Title = Title;
     }
     // to ensure "Start" is required (not null)
     if (Start == null)
     {
         throw new InvalidDataException("Start is a required property for Meeting and cannot be null");
     }
     else
     {
         this.Start = Start;
     }
     // to ensure "End" is required (not null)
     if (End == null)
     {
         throw new InvalidDataException("End is a required property for Meeting and cannot be null");
     }
     else
     {
         this.End = End;
     }
     // to ensure "EndPointVersion" is required (not null)
     if (EndPointVersion == null)
     {
         throw new InvalidDataException("EndPointVersion is a required property for Meeting and cannot be null");
     }
     else
     {
         this.EndPointVersion = EndPointVersion;
     }
     // to ensure "EndPointType" is required (not null)
     if (EndPointType == null)
     {
         throw new InvalidDataException("EndPointType is a required property for Meeting and cannot be null");
     }
     else
     {
         this.EndPointType = EndPointType;
     }
     this.Description = Description;
     // use default value if no "Timezone" provided
     if (Timezone == null)
     {
         this.Timezone = "America/New_York";
     }
     else
     {
         this.Timezone = Timezone;
     }
     this.AddAttendeePasscode    = AddAttendeePasscode;
     this.Attendees              = Attendees;
     this.AdvancedMeetingOptions = AdvancedMeetingOptions;
 }