コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TeammateInviteSentEvent" /> class.
 /// </summary>
 /// <param name="teammate">The deleted teammate.</param>
 /// <param name="user">User who sent the invitation.</param>
 /// <param name="eventName">The event name.</param>
 /// <param name="flipdishEventId">The identitfier of the event.</param>
 /// <param name="createTime">The time of creation of the event.</param>
 /// <param name="position">Position.</param>
 /// <param name="appId">App id.</param>
 /// <param name="ipAddress">Ip Address.</param>
 public TeammateInviteSentEvent(Teammate teammate = default(Teammate), UserEventInfo user = default(UserEventInfo), string eventName = default(string), Guid?flipdishEventId = default(Guid?), DateTime?createTime = default(DateTime?), int?position = default(int?), string appId = default(string), string ipAddress = default(string))
 {
     this.Teammate        = teammate;
     this.User            = user;
     this.EventName       = eventName;
     this.FlipdishEventId = flipdishEventId;
     this.CreateTime      = createTime;
     this.Position        = position;
     this.AppId           = appId;
     this.IpAddress       = ipAddress;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApiResultTeammate" /> class.
 /// </summary>
 /// <param name="data">Generic data object. (required).</param>
 public RestApiResultTeammate(Teammate data = default(Teammate))
 {
     // to ensure "data" is required (not null)
     if (data == null)
     {
         throw new InvalidDataException("data is a required property for RestApiResultTeammate and cannot be null");
     }
     else
     {
         this.Data = data;
     }
 }