/// <summary> /// Initializes a new instance of the <see cref="GroupsV2GroupResponse" /> class. /// </summary> /// <param name="detail">detail.</param> /// <param name="founder">founder.</param> /// <param name="alliedIds">alliedIds.</param> /// <param name="parentGroup">parentGroup.</param> /// <param name="allianceStatus">allianceStatus.</param> /// <param name="groupJoinInviteCount">groupJoinInviteCount.</param> /// <param name="currentUserMembershipsInactiveForDestiny">A convenience property that indicates if every membership you (the current user) have that is a part of this group are part of an account that is considered inactive - for example, overridden accounts in Cross Save..</param> /// <param name="currentUserMemberMap">This property will be populated if the authenticated user is a member of the group. Note that because of account linking, a user can sometimes be part of a clan more than once. As such, this returns the highest member type available..</param> /// <param name="currentUserPotentialMemberMap">This property will be populated if the authenticated user is an applicant or has an outstanding invitation to join. Note that because of account linking, a user can sometimes be part of a clan more than once..</param> public GroupsV2GroupResponse(GroupsV2GroupV2 detail = default(GroupsV2GroupV2), GroupsV2GroupMember founder = default(GroupsV2GroupMember), List <long> alliedIds = default(List <long>), GroupsV2GroupV2 parentGroup = default(GroupsV2GroupV2), int allianceStatus = default(int), int groupJoinInviteCount = default(int), bool currentUserMembershipsInactiveForDestiny = default(bool), Dictionary <string, GroupsV2GroupMember> currentUserMemberMap = default(Dictionary <string, GroupsV2GroupMember>), Dictionary <string, GroupsV2GroupPotentialMember> currentUserPotentialMemberMap = default(Dictionary <string, GroupsV2GroupPotentialMember>)) { this.Detail = detail; this.Founder = founder; this.AlliedIds = alliedIds; this.ParentGroup = parentGroup; this.AllianceStatus = allianceStatus; this.GroupJoinInviteCount = groupJoinInviteCount; this.CurrentUserMembershipsInactiveForDestiny = currentUserMembershipsInactiveForDestiny; this.CurrentUserMemberMap = currentUserMemberMap; this.CurrentUserPotentialMemberMap = currentUserPotentialMemberMap; }
/// <summary> /// Initializes a new instance of the <see cref="GroupsV2GroupMemberLeaveResult" /> class. /// </summary> /// <param name="group">group.</param> /// <param name="groupDeleted">groupDeleted.</param> public GroupsV2GroupMemberLeaveResult(GroupsV2GroupV2 group = default(GroupsV2GroupV2), bool groupDeleted = default(bool)) { this.Group = group; this.GroupDeleted = groupDeleted; }
/// <summary> /// Initializes a new instance of the <see cref="GroupsV2GroupMembershipBase" /> class. /// </summary> /// <param name="group">group.</param> public GroupsV2GroupMembershipBase(GroupsV2GroupV2 group = default(GroupsV2GroupV2)) { this.Group = group; }
/// <summary> /// Initializes a new instance of the <see cref="GroupsV2GroupPotentialMembership" /> class. /// </summary> /// <param name="member">member.</param> /// <param name="group">group.</param> public GroupsV2GroupPotentialMembership(GroupsV2GroupPotentialMember member = default(GroupsV2GroupPotentialMember), GroupsV2GroupV2 group = default(GroupsV2GroupV2)) { this.Member = member; this.Group = group; }