/// <summary> /// Returns true if AvatarList instances are equal /// </summary> /// <param name="other">Instance of AvatarList to be compared</param> /// <returns>Boolean</returns> public bool Equals(AvatarList other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) { return(false); } return(false); }
/// <summary> /// Initializes a new instance of the <see cref="UserV2" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="EmailAddress">EmailAddress.</param> /// <param name="FirstName">FirstName.</param> /// <param name="LastName">LastName.</param> /// <param name="DisplayName">DisplayName.</param> /// <param name="Title">Title.</param> /// <param name="Company">Company.</param> /// <param name="Username">Username.</param> /// <param name="Location">Location.</param> /// <param name="Avatars">avatar urls for both original size and small size.</param> /// <param name="WorkPhoneNumber">Note: only available if the application has the extended user or contact permission.</param> /// <param name="MobilePhoneNumber">Note: only available if the application has the extended user or contact permission.</param> /// <param name="JobFunction">Note: only available if the application has the extended user or contact permission.</param> /// <param name="Department">Note: only available if the application has the extended user or contact permission.</param> /// <param name="Division">Note: only available if the application has the extended user or contact permission.</param> public UserV2(long?Id = default(long?), string EmailAddress = default(string), string FirstName = default(string), string LastName = default(string), string DisplayName = default(string), string Title = default(string), string Company = default(string), string Username = default(string), string Location = default(string), AvatarList Avatars = default(AvatarList), string WorkPhoneNumber = default(string), string MobilePhoneNumber = default(string), string JobFunction = default(string), string Department = default(string), string Division = default(string)) { this.Id = Id; this.EmailAddress = EmailAddress; this.FirstName = FirstName; this.LastName = LastName; this.DisplayName = DisplayName; this.Title = Title; this.Company = Company; this.Username = Username; this.Location = Location; this.Avatars = Avatars; this.WorkPhoneNumber = WorkPhoneNumber; this.MobilePhoneNumber = MobilePhoneNumber; this.JobFunction = JobFunction; this.Department = Department; this.Division = Division; }
/// <summary> /// Initializes a new instance of the <see cref="UserV2" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="EmailAddress">EmailAddress.</param> /// <param name="FirstName">FirstName.</param> /// <param name="LastName">LastName.</param> /// <param name="DisplayName">DisplayName.</param> /// <param name="Title">Title.</param> /// <param name="Company">Company.</param> /// <param name="Username">Username.</param> /// <param name="Location">Location.</param> /// <param name="Avatars">avatar urls for both original size and small size.</param> public UserV2(long?Id = null, string EmailAddress = null, string FirstName = null, string LastName = null, string DisplayName = null, string Title = null, string Company = null, string Username = null, string Location = null, AvatarList Avatars = null) { this.Id = Id; this.EmailAddress = EmailAddress; this.FirstName = FirstName; this.LastName = LastName; this.DisplayName = DisplayName; this.Title = Title; this.Company = Company; this.Username = Username; this.Location = Location; this.Avatars = Avatars; }