A class indicates the ResortRestriction request type.
상속: AddressBookRequestBodyBase
        /// <summary>
        /// This method is used by the client to sort the objects in the restricted address book container.
        /// </summary>
        /// <param name="resortRestrictionRequestBody">The ResortRestriction request type request body.</param>
        /// <returns>The response body of the ResortRestriction request type.</returns>
        public ResortRestrictionResponseBody ResortRestriction(ResortRestrictionRequestBody resortRestrictionRequestBody)
        {
            CommonResponse commonResponse = this.SendAddressBookRequest(resortRestrictionRequestBody, RequestType.ResortRestriction);
            ResortRestrictionResponseBody resortRestrictionResponseBody = ResortRestrictionResponseBody.Parse(commonResponse.ResponseBodyRawData);

            this.VerifyResortRestrictionResponseBody(resortRestrictionResponseBody);

            return(resortRestrictionResponseBody);
        }
        /// <summary>
        /// Build the ResortRestriction request body.
        /// </summary>
        /// <param name="hasState">A Boolean value that specifies whether the State field is present.</param>
        /// <param name="state">A STAT structure that specifies the state of a specific address book container.</param>
        /// <param name="hasMinimalIds">A Boolean value that specifies whether the MinimalIdCount and MinimalIds fields are present.</param>
        /// <param name="minimalIdCount">An unsigned integer that specifies the number of structures in the MinimalIds field.</param>
        /// <param name="minimalIds">An array of MinimalEntryID structures that compose a restricted address book container.</param>
        /// <returns>The ResortRestriction request body.</returns>
        private ResortRestrictionRequestBody BuildResortRestriction(bool hasState, STAT state, bool hasMinimalIds, uint minimalIdCount, uint[] minimalIds)
        {
            ResortRestrictionRequestBody resortRestrictionRequestBody = new ResortRestrictionRequestBody();

            byte[] auxIn = new byte[] { };

            resortRestrictionRequestBody.Reserved = 0x0;
            resortRestrictionRequestBody.HasState = hasState;
            if (hasState)
            {
                resortRestrictionRequestBody.State = state;
            }

            resortRestrictionRequestBody.HasMinimalIds = hasMinimalIds;
            if (hasMinimalIds)
            {
                resortRestrictionRequestBody.MinimalIdCount = minimalIdCount;
                resortRestrictionRequestBody.MinimalIds = minimalIds;
            }

            resortRestrictionRequestBody.AuxiliaryBuffer = auxIn;
            resortRestrictionRequestBody.AuxiliaryBufferSize = (uint)auxIn.Length;

            return resortRestrictionRequestBody;
        }
        /// <summary>
        /// This method is used by the client to sort the objects in the restricted address book container.
        /// </summary>
        /// <param name="resortRestrictionRequestBody">The ResortRestriction request type request body.</param>
        /// <returns>The response body of the ResortRestriction request type.</returns>
        public ResortRestrictionResponseBody ResortRestriction(ResortRestrictionRequestBody resortRestrictionRequestBody)
        {
            CommonResponse commonResponse = this.SendAddressBookRequest(resortRestrictionRequestBody, RequestType.ResortRestriction);
            ResortRestrictionResponseBody resortRestrictionResponseBody = ResortRestrictionResponseBody.Parse(commonResponse.ResponseBodyRawData);
            this.VerifyResortRestrictionResponseBody(resortRestrictionResponseBody);

            return resortRestrictionResponseBody;
        }