text:
// Copyright 2016 Rolosoft Ltd
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// <copyright file="AuthorizationCodeStoreTests.cs" company="Rolosoft Ltd">
// Copyright (c) Rolosoft Ltd. All rights reserved.
// </copyright>

namespace Rsft.Identity3.CacheRedis.Tests.Integration.Logic.Stores
{
    using System;
    using System.Collections.Generic;
    using System.Diagnostics;
    using System.Linq;
    using System.Security.Claims;
    using CacheRedis.Logic;
    using CacheRedis.Stores;
    using Entities;
    using IdentityServer3.Core;
    using IdentityServer3.Core.Models;
    using Interfaces;
    using Moq;
    using Newtonsoft.Json;
    using NUnit.Framework;
    using TestHelpers;

    /// <summary>
    /// The Authorization CodeStore Tests
    /// </summary>
    /// <seealso cref="TestBase" />
    [TestFixture]
    [Ignore("Set REDIS Connection string in TestHelpers.RedisHelpers to your local dev store")]
    public sealed class AuthorizationCodeStoreTests : TestBase
    {
        /// <summary>
        /// Gets the asynchronous when called expect response.
        /// </summary>
        [Test]
        public void GetAsync_WhenCalled_ExpectResponse()
        {
            // Arrange
            var mockCacheConfiguration = new Mock<IConfiguration<RedisCacheConfigurationEntity>>();
            mockCacheConfiguration.Setup(r => r.Get).Returns(
                new RedisCacheConfigurationEntity
                {
                    CacheDuration = 10,
                    RedisCacheDefaultPrefix = "DEFAULT",
                    UseObjectCompression = false
                });

            var jsonSettingsFactory = new JsonSettingsFactory(new CustomMappersConfiguration());

            var cacheManager = new RedisCacheManager<AuthorizationCode>(
                RedisHelpers.ConnectionMultiplexer,
                mockCacheConfiguration.Object,
                jsonSettingsFactory.Create());

            var authorizationCodeStore = new AuthorizationCodeStore(
                cacheManager,
                mockCacheConfiguration.Object);

            // Act
            var stopwatch = Stopwatch.StartNew();

            var authorizationCode = authorizationCodeStore.GetAsync("Existing").Result;

            stopwatch.Stop();

            // Assert
            this.WriteTimeElapsed(stopwatch);

            Assert.That(authorizationCode, Is.Not.Null);

            Assert.That(authorizationCode.Client, Is.Not.Null);
            Assert.That(authorizationCode.ClientId, Is.EqualTo("cid"));
            Assert.That(authorizationCode.CodeChallenge, Is.EqualTo("CodeChallenge"));
            Assert.That(authorizationCode.CodeChallengeMethod, Is.EqualTo("CodeChallengeMethod"));
            Assert.That(authorizationCode.CreationTime, Is.EqualTo(new DateTimeOffset(new DateTime(2016, 1, 1))));
            Assert.That(authorizationCode.IsOpenId, Is.True);
            Assert.That(authorizationCode.Nonce, Is.EqualTo("Nonce"));
            Assert.That(authorizationCode.RedirectUri, Is.EqualTo("RedirectUri"));

            Assert.That(authorizationCode.RequestedScopes, Is.Not.Null);
            Assert.That(authorizationCode.RequestedScopes.Count(), Is.EqualTo(1));

            Assert.That(authorizationCode.Scopes, Is.Not.Null);
            Assert.That(authorizationCode.Scopes.Count(), Is.EqualTo(1));

            Assert.That(authorizationCode.SessionId, Is.EqualTo("SessionId"));
            Assert.That(authorizationCode.WasConsentShown, Is.True);
            Assert.That(authorizationCode.Subject, Is.Not.Null);
        }

        /// <summary>
        /// Removes the asynchronous when called expect response.
        /// </summary>
        [Test]
        public void RemoveAsync_WhenCalled_ExpectAction()
        {
            // Arrange
            var mockCacheConfiguration = new Mock<IConfiguration<RedisCacheConfigurationEntity>>();
            mockCacheConfiguration.Setup(r => r.Get).Returns(
                new RedisCacheConfigurationEntity
                {
                    CacheDuration = 10,
                    RedisCacheDefaultPrefix = "DEFAULT",
                    UseObjectCompression = false
                });

            var jsonSettingsFactory = new JsonSettingsFactory(new CustomMappersConfiguration());

            var cacheManager = new RedisCacheManager<AuthorizationCode>(
                RedisHelpers.ConnectionMultiplexer,
                mockCacheConfiguration.Object,
                jsonSettingsFactory.Create());

            var authorizationCodeStore = new AuthorizationCodeStore(
                cacheManager,
                mockCacheConfiguration.Object);

            // Act
            var stopwatch = Stopwatch.StartNew();

            authorizationCodeStore.RemoveAsync("Delete").Wait();

            stopwatch.Stop();

            // Assert
            this.WriteTimeElapsed(stopwatch);

            var redisValue = RedisHelpers.ConnectionMultiplexer.GetDatabase().StringGet("DEFAULT_ACS_Delete");

            Assert.That(redisValue.HasValue, Is.False);
        }

        /// <summary>
        /// Stores the asynchronous when called expect action.
        /// </summary>
        [Test]
        public void StoreAsync_WhenCalled_ExpectAction()
        {
            // Arrange
            var mockCacheConfiguration = new Mock<IConfiguration<RedisCacheConfigurationEntity>>();
            mockCacheConfiguration.Setup(r => r.Get).Returns(
                new RedisCacheConfigurationEntity
                {
                    CacheDuration = 10,
                    RedisCacheDefaultPrefix = "DEFAULT",
                    UseObjectCompression = false
                });

            var jsonSettingsFactory = new JsonSettingsFactory(new CustomMappersConfiguration());

            var cacheManager = new RedisCacheManager<AuthorizationCode>(
                RedisHelpers.ConnectionMultiplexer,
                mockCacheConfiguration.Object,
                jsonSettingsFactory.Create());

            var authorizationCodeStore = new AuthorizationCodeStore(
                cacheManager,
                mockCacheConfiguration.Object);

            var subject =
                new ClaimsPrincipal(
                    new List<ClaimsIdentity>
                    {
                        new ClaimsIdentity(
                            new List<Claim>
                            {
                                new Claim(Constants.ClaimTypes.Subject, "sid")
                            })
                    });

            var code = new AuthorizationCode
            {
                Client = new Client
                {
                    ClientId = "cid"
                },
                RequestedScopes = new List<Scope> { new Scope { Description = "this is description", Enabled = true, Name = "Scope", DisplayName = "Display Name" } },
                Subject = subject
            };

            // Act
            var stopwatch = Stopwatch.StartNew();
            authorizationCodeStore.StoreAsync("KeyToStore", code).Wait();
            stopwatch.Stop();

            // Assert
            this.WriteTimeElapsed(stopwatch);

            var redisValue = RedisHelpers.ConnectionMultiplexer.GetDatabase().StringGet("DEFAULT_ACS_KeyToStore");

            Assert.That(redisValue.HasValue, Is.True);
            Console.WriteLine(redisValue);
        }

        /// <summary>
        /// Tests the fixture setup.
        /// </summary>
        [TestFixtureSetUp]
        public void TestFixtureSetup()
        {
            var database = RedisHelpers.ConnectionMultiplexer.GetDatabase();

            var subject =
                new ClaimsPrincipal(
                    new List<ClaimsIdentity>
                    {
                        new ClaimsIdentity(
                            new List<Claim>
                            {
                                new Claim(Constants.ClaimTypes.Subject, "sid")
                            })
                    });

            var code = new AuthorizationCode
            {
                Client = new Client
                {
                    ClientId = "cid"
                },
                RequestedScopes =
                    new List<Scope>
                    {
                        new Scope
                        {
                            Description = "this is description",
                            Enabled = true,
                            Name = "Scope",
                            DisplayName = "Display Name"
                        }
                    },
                Subject = subject,
                CodeChallenge = "CodeChallenge",
                CodeChallengeMethod = "CodeChallengeMethod",
                CreationTime = new DateTimeOffset(new DateTime(2016, 1, 1)),
                IsOpenId = true,
                Nonce = "Nonce",
                RedirectUri = "RedirectUri",
                SessionId = "SessionId",
                WasConsentShown = true
            };

            var settings = new JsonSettingsFactory(new CustomMappersConfiguration()).Create();

            var serialized = JsonConvert.SerializeObject(code, settings);

            database.StringSet("DEFAULT_ACS_Existing", serialized);
            database.StringSet("DEFAULT_ACS_Delete", serialized);
        }

        /// <summary>
        /// Tests the fixture tear down.
        /// </summary>
        [TestFixtureTearDown]
        public void TestFixtureTearDown()
        {
            var database = RedisHelpers.ConnectionMultiplexer.GetDatabase();

            database.KeyDelete("DEFAULT_ACS_Existing");
            database.KeyDelete("DEFAULT_ACS_KeyToStore");
            database.KeyDelete("DEFAULT_ACS_Delete");
        }
    }
}


text:
package fr.openwide.core.infinispan.model.impl;

import java.io.Serializable;
import java.util.Date;

import org.jgroups.Address;

import fr.openwide.core.commons.util.CloneUtils;
import fr.openwide.core.infinispan.model.INode;

public class Node implements Serializable, INode {

	private static final long serialVersionUID = 5121676759539404734L;

	private final Address address;

	private final String name;

	private final Date creationDate;

	private final Date leaveDate;

	private final boolean anonymous;

	private Node(Address address, String name, Date creationDate, Date leaveDate, boolean anonymous) {
		super();
		this.name = name;
		this.address = address;
		this.creationDate = CloneUtils.clone(creationDate);
		this.leaveDate = CloneUtils.clone(leaveDate);
		this.anonymous = anonymous;
	}

	@Override
	public Address getAddress() {
		return address;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public Date getCreationDate() {
		return creationDate;
	}

	@Override
	public Date getLeaveDate() {
		return leaveDate;
	}

	@Override
	public boolean isAnonymous() {
		return anonymous;
	}

	@Override
	public String toString() {
		return String.format("%s<%s-%s>", getClass().getSimpleName(), address, name);
	}

	public static final Node from(Address address, String name) {
		return new Node(address, name, new Date(), null, false);
	}

	public static final Node from(Address address) {
		return new Node(address, "anonymous", new Date(), null, true);
	}

	public static final Node from(INode node, Date leaveDate) {
		return new Node(
				node.getAddress(),
				node.getName(),
				node.getCreationDate(),
				leaveDate,
				node.isAnonymous()
		);
	}

}

redpajama_set_name: RedPajamaGithub


text:
package com.microsoft.bingads.v12.customermanagement;

import java.util.concurrent.Future;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.AsyncHandler;
import javax.xml.ws.Response;

/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.9-b130926.1035
 * Generated source version: 2.1
 *
 */
@WebService(name = "ICustomerManagementService", targetNamespace = "https://bingads.microsoft.com/Customer/v12")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@XmlSeeAlso({
    ObjectFactory.class
})
public interface ICustomerManagementService {

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.GetAccountsInfoResponse>
     */
    @WebMethod(operationName = "GetAccountsInfo", action = "GetAccountsInfo")
    public Response<GetAccountsInfoResponse> getAccountsInfoAsync(
        @WebParam(name = "GetAccountsInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetAccountsInfoRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "GetAccountsInfo", action = "GetAccountsInfo")
    public Future<?> getAccountsInfoAsync(
        @WebParam(name = "GetAccountsInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetAccountsInfoRequest parameters,
        @WebParam(name = "GetAccountsInfoResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<GetAccountsInfoResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.GetAccountsInfoResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "GetAccountsInfo", action = "GetAccountsInfo")
    @WebResult(name = "GetAccountsInfoResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public GetAccountsInfoResponse getAccountsInfo(
        @WebParam(name = "GetAccountsInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetAccountsInfoRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.FindAccountsResponse>
     */
    @WebMethod(operationName = "FindAccounts", action = "FindAccounts")
    public Response<FindAccountsResponse> findAccountsAsync(
        @WebParam(name = "FindAccountsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        FindAccountsRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "FindAccounts", action = "FindAccounts")
    public Future<?> findAccountsAsync(
        @WebParam(name = "FindAccountsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        FindAccountsRequest parameters,
        @WebParam(name = "FindAccountsResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<FindAccountsResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.FindAccountsResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "FindAccounts", action = "FindAccounts")
    @WebResult(name = "FindAccountsResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public FindAccountsResponse findAccounts(
        @WebParam(name = "FindAccountsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        FindAccountsRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.AddAccountResponse>
     */
    @WebMethod(operationName = "AddAccount", action = "AddAccount")
    public Response<AddAccountResponse> addAccountAsync(
        @WebParam(name = "AddAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        AddAccountRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "AddAccount", action = "AddAccount")
    public Future<?> addAccountAsync(
        @WebParam(name = "AddAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        AddAccountRequest parameters,
        @WebParam(name = "AddAccountResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<AddAccountResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.AddAccountResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "AddAccount", action = "AddAccount")
    @WebResult(name = "AddAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public AddAccountResponse addAccount(
        @WebParam(name = "AddAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        AddAccountRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.UpdateAccountResponse>
     */
    @WebMethod(operationName = "UpdateAccount", action = "UpdateAccount")
    public Response<UpdateAccountResponse> updateAccountAsync(
        @WebParam(name = "UpdateAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateAccountRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "UpdateAccount", action = "UpdateAccount")
    public Future<?> updateAccountAsync(
        @WebParam(name = "UpdateAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateAccountRequest parameters,
        @WebParam(name = "UpdateAccountResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<UpdateAccountResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.UpdateAccountResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "UpdateAccount", action = "UpdateAccount")
    @WebResult(name = "UpdateAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public UpdateAccountResponse updateAccount(
        @WebParam(name = "UpdateAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateAccountRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.GetCustomerResponse>
     */
    @WebMethod(operationName = "GetCustomer", action = "GetCustomer")
    public Response<GetCustomerResponse> getCustomerAsync(
        @WebParam(name = "GetCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCustomerRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "GetCustomer", action = "GetCustomer")
    public Future<?> getCustomerAsync(
        @WebParam(name = "GetCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCustomerRequest parameters,
        @WebParam(name = "GetCustomerResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<GetCustomerResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.GetCustomerResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "GetCustomer", action = "GetCustomer")
    @WebResult(name = "GetCustomerResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public GetCustomerResponse getCustomer(
        @WebParam(name = "GetCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCustomerRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.UpdateCustomerResponse>
     */
    @WebMethod(operationName = "UpdateCustomer", action = "UpdateCustomer")
    public Response<UpdateCustomerResponse> updateCustomerAsync(
        @WebParam(name = "UpdateCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateCustomerRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "UpdateCustomer", action = "UpdateCustomer")
    public Future<?> updateCustomerAsync(
        @WebParam(name = "UpdateCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateCustomerRequest parameters,
        @WebParam(name = "UpdateCustomerResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<UpdateCustomerResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.UpdateCustomerResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "UpdateCustomer", action = "UpdateCustomer")
    @WebResult(name = "UpdateCustomerResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public UpdateCustomerResponse updateCustomer(
        @WebParam(name = "UpdateCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateCustomerRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.SignupCustomerResponse>
     */
    @WebMethod(operationName = "SignupCustomer", action = "SignupCustomer")
    public Response<SignupCustomerResponse> signupCustomerAsync(
        @WebParam(name = "SignupCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SignupCustomerRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "SignupCustomer", action = "SignupCustomer")
    public Future<?> signupCustomerAsync(
        @WebParam(name = "SignupCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SignupCustomerRequest parameters,
        @WebParam(name = "SignupCustomerResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<SignupCustomerResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.SignupCustomerResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "SignupCustomer", action = "SignupCustomer")
    @WebResult(name = "SignupCustomerResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public SignupCustomerResponse signupCustomer(
        @WebParam(name = "SignupCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SignupCustomerRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.GetAccountResponse>
     */
    @WebMethod(operationName = "GetAccount", action = "GetAccount")
    public Response<GetAccountResponse> getAccountAsync(
        @WebParam(name = "GetAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetAccountRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "GetAccount", action = "GetAccount")
    public Future<?> getAccountAsync(
        @WebParam(name = "GetAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetAccountRequest parameters,
        @WebParam(name = "GetAccountResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<GetAccountResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.GetAccountResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "GetAccount", action = "GetAccount")
    @WebResult(name = "GetAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public GetAccountResponse getAccount(
        @WebParam(name = "GetAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetAccountRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.GetCustomersInfoResponse>
     */
    @WebMethod(operationName = "GetCustomersInfo", action = "GetCustomersInfo")
    public Response<GetCustomersInfoResponse> getCustomersInfoAsync(
        @WebParam(name = "GetCustomersInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCustomersInfoRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "GetCustomersInfo", action = "GetCustomersInfo")
    public Future<?> getCustomersInfoAsync(
        @WebParam(name = "GetCustomersInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCustomersInfoRequest parameters,
        @WebParam(name = "GetCustomersInfoResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<GetCustomersInfoResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.GetCustomersInfoResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "GetCustomersInfo", action = "GetCustomersInfo")
    @WebResult(name = "GetCustomersInfoResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public GetCustomersInfoResponse getCustomersInfo(
        @WebParam(name = "GetCustomersInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCustomersInfoRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.DeleteAccountResponse>
     */
    @WebMethod(operationName = "DeleteAccount", action = "DeleteAccount")
    public Response<DeleteAccountResponse> deleteAccountAsync(
        @WebParam(name = "DeleteAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        DeleteAccountRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "DeleteAccount", action = "DeleteAccount")
    public Future<?> deleteAccountAsync(
        @WebParam(name = "DeleteAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        DeleteAccountRequest parameters,
        @WebParam(name = "DeleteAccountResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<DeleteAccountResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.DeleteAccountResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "DeleteAccount", action = "DeleteAccount")
    @WebResult(name = "DeleteAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public DeleteAccountResponse deleteAccount(
        @WebParam(name = "DeleteAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        DeleteAccountRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.DeleteCustomerResponse>
     */
    @WebMethod(operationName = "DeleteCustomer", action = "DeleteCustomer")
    public Response<DeleteCustomerResponse> deleteCustomerAsync(
        @WebParam(name = "DeleteCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        DeleteCustomerRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "DeleteCustomer", action = "DeleteCustomer")
    public Future<?> deleteCustomerAsync(
        @WebParam(name = "DeleteCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        DeleteCustomerRequest parameters,
        @WebParam(name = "DeleteCustomerResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<DeleteCustomerResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.DeleteCustomerResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "DeleteCustomer", action = "DeleteCustomer")
    @WebResult(name = "DeleteCustomerResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public DeleteCustomerResponse deleteCustomer(
        @WebParam(name = "DeleteCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        DeleteCustomerRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.UpdateUserResponse>
     */
    @WebMethod(operationName = "UpdateUser", action = "UpdateUser")
    public Response<UpdateUserResponse> updateUserAsync(
        @WebParam(name = "UpdateUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateUserRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "UpdateUser", action = "UpdateUser")
    public Future<?> updateUserAsync(
        @WebParam(name = "UpdateUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateUserRequest parameters,
        @WebParam(name = "UpdateUserResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<UpdateUserResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.UpdateUserResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "UpdateUser", action = "UpdateUser")
    @WebResult(name = "UpdateUserResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public UpdateUserResponse updateUser(
        @WebParam(name = "UpdateUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateUserRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.UpdateUserRolesResponse>
     */
    @WebMethod(operationName = "UpdateUserRoles", action = "UpdateUserRoles")
    public Response<UpdateUserRolesResponse> updateUserRolesAsync(
        @WebParam(name = "UpdateUserRolesRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateUserRolesRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "UpdateUserRoles", action = "UpdateUserRoles")
    public Future<?> updateUserRolesAsync(
        @WebParam(name = "UpdateUserRolesRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateUserRolesRequest parameters,
        @WebParam(name = "UpdateUserRolesResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<UpdateUserRolesResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.UpdateUserRolesResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "UpdateUserRoles", action = "UpdateUserRoles")
    @WebResult(name = "UpdateUserRolesResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public UpdateUserRolesResponse updateUserRoles(
        @WebParam(name = "UpdateUserRolesRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateUserRolesRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.GetUserResponse>
     */
    @WebMethod(operationName = "GetUser", action = "GetUser")
    public Response<GetUserResponse> getUserAsync(
        @WebParam(name = "GetUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetUserRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "GetUser", action = "GetUser")
    public Future<?> getUserAsync(
        @WebParam(name = "GetUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetUserRequest parameters,
        @WebParam(name = "GetUserResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<GetUserResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.GetUserResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "GetUser", action = "GetUser")
    @WebResult(name = "GetUserResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public GetUserResponse getUser(
        @WebParam(name = "GetUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetUserRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.GetCurrentUserResponse>
     */
    @WebMethod(operationName = "GetCurrentUser", action = "GetCurrentUser")
    public Response<GetCurrentUserResponse> getCurrentUserAsync(
        @WebParam(name = "GetCurrentUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCurrentUserRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "GetCurrentUser", action = "GetCurrentUser")
    public Future<?> getCurrentUserAsync(
        @WebParam(name = "GetCurrentUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCurrentUserRequest parameters,
        @WebParam(name = "GetCurrentUserResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<GetCurrentUserResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.GetCurrentUserResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "GetCurrentUser", action = "GetCurrentUser")
    @WebResult(name = "GetCurrentUserResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public GetCurrentUserResponse getCurrentUser(
        @WebParam(name = "GetCurrentUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCurrentUserRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.DeleteUserResponse>
     */
    @WebMethod(operationName = "DeleteUser", action = "DeleteUser")
    public Response<DeleteUserResponse> deleteUserAsync(
        @WebParam(name = "DeleteUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        DeleteUserRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "DeleteUser", action = "DeleteUser")
    public Future<?> deleteUserAsync(
        @WebParam(name = "DeleteUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        DeleteUserRequest parameters,
        @WebParam(name = "DeleteUserResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<DeleteUserResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.DeleteUserResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "DeleteUser", action = "DeleteUser")
    @WebResult(name = "DeleteUserResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public DeleteUserResponse deleteUser(
        @WebParam(name = "DeleteUserRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        DeleteUserRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.GetUsersInfoResponse>
     */
    @WebMethod(operationName = "GetUsersInfo", action = "GetUsersInfo")
    public Response<GetUsersInfoResponse> getUsersInfoAsync(
        @WebParam(name = "GetUsersInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetUsersInfoRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "GetUsersInfo", action = "GetUsersInfo")
    public Future<?> getUsersInfoAsync(
        @WebParam(name = "GetUsersInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetUsersInfoRequest parameters,
        @WebParam(name = "GetUsersInfoResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<GetUsersInfoResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.GetUsersInfoResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "GetUsersInfo", action = "GetUsersInfo")
    @WebResult(name = "GetUsersInfoResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public GetUsersInfoResponse getUsersInfo(
        @WebParam(name = "GetUsersInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetUsersInfoRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.GetCustomerPilotFeaturesResponse>
     */
    @WebMethod(operationName = "GetCustomerPilotFeatures", action = "GetCustomerPilotFeatures")
    public Response<GetCustomerPilotFeaturesResponse> getCustomerPilotFeaturesAsync(
        @WebParam(name = "GetCustomerPilotFeaturesRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCustomerPilotFeaturesRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "GetCustomerPilotFeatures", action = "GetCustomerPilotFeatures")
    public Future<?> getCustomerPilotFeaturesAsync(
        @WebParam(name = "GetCustomerPilotFeaturesRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCustomerPilotFeaturesRequest parameters,
        @WebParam(name = "GetCustomerPilotFeaturesResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<GetCustomerPilotFeaturesResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.GetCustomerPilotFeaturesResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "GetCustomerPilotFeatures", action = "GetCustomerPilotFeatures")
    @WebResult(name = "GetCustomerPilotFeaturesResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public GetCustomerPilotFeaturesResponse getCustomerPilotFeatures(
        @WebParam(name = "GetCustomerPilotFeaturesRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetCustomerPilotFeaturesRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.GetPilotFeaturesCountriesResponse>
     */
    @WebMethod(operationName = "GetPilotFeaturesCountries", action = "GetPilotFeaturesCountries")
    public Response<GetPilotFeaturesCountriesResponse> getPilotFeaturesCountriesAsync(
        @WebParam(name = "GetPilotFeaturesCountriesRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetPilotFeaturesCountriesRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "GetPilotFeaturesCountries", action = "GetPilotFeaturesCountries")
    public Future<?> getPilotFeaturesCountriesAsync(
        @WebParam(name = "GetPilotFeaturesCountriesRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetPilotFeaturesCountriesRequest parameters,
        @WebParam(name = "GetPilotFeaturesCountriesResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<GetPilotFeaturesCountriesResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.GetPilotFeaturesCountriesResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "GetPilotFeaturesCountries", action = "GetPilotFeaturesCountries")
    @WebResult(name = "GetPilotFeaturesCountriesResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public GetPilotFeaturesCountriesResponse getPilotFeaturesCountries(
        @WebParam(name = "GetPilotFeaturesCountriesRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetPilotFeaturesCountriesRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.GetAccessibleCustomerResponse>
     */
    @WebMethod(operationName = "GetAccessibleCustomer", action = "GetAccessibleCustomer")
    public Response<GetAccessibleCustomerResponse> getAccessibleCustomerAsync(
        @WebParam(name = "GetAccessibleCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetAccessibleCustomerRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "GetAccessibleCustomer", action = "GetAccessibleCustomer")
    public Future<?> getAccessibleCustomerAsync(
        @WebParam(name = "GetAccessibleCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetAccessibleCustomerRequest parameters,
        @WebParam(name = "GetAccessibleCustomerResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<GetAccessibleCustomerResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.GetAccessibleCustomerResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "GetAccessibleCustomer", action = "GetAccessibleCustomer")
    @WebResult(name = "GetAccessibleCustomerResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public GetAccessibleCustomerResponse getAccessibleCustomer(
        @WebParam(name = "GetAccessibleCustomerRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        GetAccessibleCustomerRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.FindAccountsOrCustomersInfoResponse>
     */
    @WebMethod(operationName = "FindAccountsOrCustomersInfo", action = "FindAccountsOrCustomersInfo")
    public Response<FindAccountsOrCustomersInfoResponse> findAccountsOrCustomersInfoAsync(
        @WebParam(name = "FindAccountsOrCustomersInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        FindAccountsOrCustomersInfoRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "FindAccountsOrCustomersInfo", action = "FindAccountsOrCustomersInfo")
    public Future<?> findAccountsOrCustomersInfoAsync(
        @WebParam(name = "FindAccountsOrCustomersInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        FindAccountsOrCustomersInfoRequest parameters,
        @WebParam(name = "FindAccountsOrCustomersInfoResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<FindAccountsOrCustomersInfoResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.FindAccountsOrCustomersInfoResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "FindAccountsOrCustomersInfo", action = "FindAccountsOrCustomersInfo")
    @WebResult(name = "FindAccountsOrCustomersInfoResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public FindAccountsOrCustomersInfoResponse findAccountsOrCustomersInfo(
        @WebParam(name = "FindAccountsOrCustomersInfoRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        FindAccountsOrCustomersInfoRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.UpgradeCustomerToAgencyResponse>
     */
    @WebMethod(operationName = "UpgradeCustomerToAgency", action = "UpgradeCustomerToAgency")
    public Response<UpgradeCustomerToAgencyResponse> upgradeCustomerToAgencyAsync(
        @WebParam(name = "UpgradeCustomerToAgencyRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpgradeCustomerToAgencyRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "UpgradeCustomerToAgency", action = "UpgradeCustomerToAgency")
    public Future<?> upgradeCustomerToAgencyAsync(
        @WebParam(name = "UpgradeCustomerToAgencyRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpgradeCustomerToAgencyRequest parameters,
        @WebParam(name = "UpgradeCustomerToAgencyResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<UpgradeCustomerToAgencyResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.UpgradeCustomerToAgencyResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "UpgradeCustomerToAgency", action = "UpgradeCustomerToAgency")
    @WebResult(name = "UpgradeCustomerToAgencyResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public UpgradeCustomerToAgencyResponse upgradeCustomerToAgency(
        @WebParam(name = "UpgradeCustomerToAgencyRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpgradeCustomerToAgencyRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.AddPrepayAccountResponse>
     */
    @WebMethod(operationName = "AddPrepayAccount", action = "AddPrepayAccount")
    public Response<AddPrepayAccountResponse> addPrepayAccountAsync(
        @WebParam(name = "AddPrepayAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        AddPrepayAccountRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "AddPrepayAccount", action = "AddPrepayAccount")
    public Future<?> addPrepayAccountAsync(
        @WebParam(name = "AddPrepayAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        AddPrepayAccountRequest parameters,
        @WebParam(name = "AddPrepayAccountResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<AddPrepayAccountResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.AddPrepayAccountResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "AddPrepayAccount", action = "AddPrepayAccount")
    @WebResult(name = "AddPrepayAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public AddPrepayAccountResponse addPrepayAccount(
        @WebParam(name = "AddPrepayAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        AddPrepayAccountRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.UpdatePrepayAccountResponse>
     */
    @WebMethod(operationName = "UpdatePrepayAccount", action = "UpdatePrepayAccount")
    public Response<UpdatePrepayAccountResponse> updatePrepayAccountAsync(
        @WebParam(name = "UpdatePrepayAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdatePrepayAccountRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "UpdatePrepayAccount", action = "UpdatePrepayAccount")
    public Future<?> updatePrepayAccountAsync(
        @WebParam(name = "UpdatePrepayAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdatePrepayAccountRequest parameters,
        @WebParam(name = "UpdatePrepayAccountResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<UpdatePrepayAccountResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.UpdatePrepayAccountResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "UpdatePrepayAccount", action = "UpdatePrepayAccount")
    @WebResult(name = "UpdatePrepayAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public UpdatePrepayAccountResponse updatePrepayAccount(
        @WebParam(name = "UpdatePrepayAccountRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdatePrepayAccountRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.MapCustomerIdToExternalCustomerIdResponse>
     */
    @WebMethod(operationName = "MapCustomerIdToExternalCustomerId", action = "MapCustomerIdToExternalCustomerId")
    public Response<MapCustomerIdToExternalCustomerIdResponse> mapCustomerIdToExternalCustomerIdAsync(
        @WebParam(name = "MapCustomerIdToExternalCustomerIdRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        MapCustomerIdToExternalCustomerIdRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "MapCustomerIdToExternalCustomerId", action = "MapCustomerIdToExternalCustomerId")
    public Future<?> mapCustomerIdToExternalCustomerIdAsync(
        @WebParam(name = "MapCustomerIdToExternalCustomerIdRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        MapCustomerIdToExternalCustomerIdRequest parameters,
        @WebParam(name = "MapCustomerIdToExternalCustomerIdResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<MapCustomerIdToExternalCustomerIdResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.MapCustomerIdToExternalCustomerIdResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "MapCustomerIdToExternalCustomerId", action = "MapCustomerIdToExternalCustomerId")
    @WebResult(name = "MapCustomerIdToExternalCustomerIdResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public MapCustomerIdToExternalCustomerIdResponse mapCustomerIdToExternalCustomerId(
        @WebParam(name = "MapCustomerIdToExternalCustomerIdRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        MapCustomerIdToExternalCustomerIdRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.MapAccountIdToExternalAccountIdsResponse>
     */
    @WebMethod(operationName = "MapAccountIdToExternalAccountIds", action = "MapAccountIdToExternalAccountIds")
    public Response<MapAccountIdToExternalAccountIdsResponse> mapAccountIdToExternalAccountIdsAsync(
        @WebParam(name = "MapAccountIdToExternalAccountIdsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        MapAccountIdToExternalAccountIdsRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "MapAccountIdToExternalAccountIds", action = "MapAccountIdToExternalAccountIds")
    public Future<?> mapAccountIdToExternalAccountIdsAsync(
        @WebParam(name = "MapAccountIdToExternalAccountIdsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        MapAccountIdToExternalAccountIdsRequest parameters,
        @WebParam(name = "MapAccountIdToExternalAccountIdsResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<MapAccountIdToExternalAccountIdsResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.MapAccountIdToExternalAccountIdsResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "MapAccountIdToExternalAccountIds", action = "MapAccountIdToExternalAccountIds")
    @WebResult(name = "MapAccountIdToExternalAccountIdsResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public MapAccountIdToExternalAccountIdsResponse mapAccountIdToExternalAccountIds(
        @WebParam(name = "MapAccountIdToExternalAccountIdsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        MapAccountIdToExternalAccountIdsRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.SearchCustomersResponse>
     */
    @WebMethod(operationName = "SearchCustomers", action = "SearchCustomers")
    public Response<SearchCustomersResponse> searchCustomersAsync(
        @WebParam(name = "SearchCustomersRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchCustomersRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "SearchCustomers", action = "SearchCustomers")
    public Future<?> searchCustomersAsync(
        @WebParam(name = "SearchCustomersRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchCustomersRequest parameters,
        @WebParam(name = "SearchCustomersResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<SearchCustomersResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.SearchCustomersResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "SearchCustomers", action = "SearchCustomers")
    @WebResult(name = "SearchCustomersResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public SearchCustomersResponse searchCustomers(
        @WebParam(name = "SearchCustomersRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchCustomersRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.AddClientLinksResponse>
     */
    @WebMethod(operationName = "AddClientLinks", action = "AddClientLinks")
    public Response<AddClientLinksResponse> addClientLinksAsync(
        @WebParam(name = "AddClientLinksRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        AddClientLinksRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "AddClientLinks", action = "AddClientLinks")
    public Future<?> addClientLinksAsync(
        @WebParam(name = "AddClientLinksRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        AddClientLinksRequest parameters,
        @WebParam(name = "AddClientLinksResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<AddClientLinksResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.AddClientLinksResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "AddClientLinks", action = "AddClientLinks")
    @WebResult(name = "AddClientLinksResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public AddClientLinksResponse addClientLinks(
        @WebParam(name = "AddClientLinksRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        AddClientLinksRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.UpdateClientLinksResponse>
     */
    @WebMethod(operationName = "UpdateClientLinks", action = "UpdateClientLinks")
    public Response<UpdateClientLinksResponse> updateClientLinksAsync(
        @WebParam(name = "UpdateClientLinksRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateClientLinksRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "UpdateClientLinks", action = "UpdateClientLinks")
    public Future<?> updateClientLinksAsync(
        @WebParam(name = "UpdateClientLinksRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateClientLinksRequest parameters,
        @WebParam(name = "UpdateClientLinksResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<UpdateClientLinksResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.UpdateClientLinksResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "UpdateClientLinks", action = "UpdateClientLinks")
    @WebResult(name = "UpdateClientLinksResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public UpdateClientLinksResponse updateClientLinks(
        @WebParam(name = "UpdateClientLinksRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        UpdateClientLinksRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.SearchClientLinksResponse>
     */
    @WebMethod(operationName = "SearchClientLinks", action = "SearchClientLinks")
    public Response<SearchClientLinksResponse> searchClientLinksAsync(
        @WebParam(name = "SearchClientLinksRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchClientLinksRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "SearchClientLinks", action = "SearchClientLinks")
    public Future<?> searchClientLinksAsync(
        @WebParam(name = "SearchClientLinksRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchClientLinksRequest parameters,
        @WebParam(name = "SearchClientLinksResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<SearchClientLinksResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.SearchClientLinksResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "SearchClientLinks", action = "SearchClientLinks")
    @WebResult(name = "SearchClientLinksResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public SearchClientLinksResponse searchClientLinks(
        @WebParam(name = "SearchClientLinksRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchClientLinksRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.SearchAccountsResponse>
     */
    @WebMethod(operationName = "SearchAccounts", action = "SearchAccounts")
    public Response<SearchAccountsResponse> searchAccountsAsync(
        @WebParam(name = "SearchAccountsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchAccountsRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "SearchAccounts", action = "SearchAccounts")
    public Future<?> searchAccountsAsync(
        @WebParam(name = "SearchAccountsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchAccountsRequest parameters,
        @WebParam(name = "SearchAccountsResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<SearchAccountsResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.SearchAccountsResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "SearchAccounts", action = "SearchAccounts")
    @WebResult(name = "SearchAccountsResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public SearchAccountsResponse searchAccounts(
        @WebParam(name = "SearchAccountsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchAccountsRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.SendUserInvitationResponse>
     */
    @WebMethod(operationName = "SendUserInvitation", action = "SendUserInvitation")
    public Response<SendUserInvitationResponse> sendUserInvitationAsync(
        @WebParam(name = "SendUserInvitationRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SendUserInvitationRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "SendUserInvitation", action = "SendUserInvitation")
    public Future<?> sendUserInvitationAsync(
        @WebParam(name = "SendUserInvitationRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SendUserInvitationRequest parameters,
        @WebParam(name = "SendUserInvitationResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<SendUserInvitationResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.SendUserInvitationResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "SendUserInvitation", action = "SendUserInvitation")
    @WebResult(name = "SendUserInvitationResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public SendUserInvitationResponse sendUserInvitation(
        @WebParam(name = "SendUserInvitationRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SendUserInvitationRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.SearchUserInvitationsResponse>
     */
    @WebMethod(operationName = "SearchUserInvitations", action = "SearchUserInvitations")
    public Response<SearchUserInvitationsResponse> searchUserInvitationsAsync(
        @WebParam(name = "SearchUserInvitationsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchUserInvitationsRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "SearchUserInvitations", action = "SearchUserInvitations")
    public Future<?> searchUserInvitationsAsync(
        @WebParam(name = "SearchUserInvitationsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchUserInvitationsRequest parameters,
        @WebParam(name = "SearchUserInvitationsResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<SearchUserInvitationsResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.SearchUserInvitationsResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "SearchUserInvitations", action = "SearchUserInvitations")
    @WebResult(name = "SearchUserInvitationsResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public SearchUserInvitationsResponse searchUserInvitations(
        @WebParam(name = "SearchUserInvitationsRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        SearchUserInvitationsRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

    /**
     *
     * @param parameters
     * @return
     *     returns javax.xml.ws.Response<com.microsoft.bingads.v12.customermanagement.ValidateAddressResponse>
     */
    @WebMethod(operationName = "ValidateAddress", action = "ValidateAddress")
    public Response<ValidateAddressResponse> validateAddressAsync(
        @WebParam(name = "ValidateAddressRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        ValidateAddressRequest parameters);

    /**
     *
     * @param asyncHandler
     * @param parameters
     * @return
     *     returns java.util.concurrent.Future<? extends java.lang.Object>
     */
    @WebMethod(operationName = "ValidateAddress", action = "ValidateAddress")
    public Future<?> validateAddressAsync(
        @WebParam(name = "ValidateAddressRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        ValidateAddressRequest parameters,
        @WebParam(name = "ValidateAddressResponse", targetNamespace = "", partName = "asyncHandler")
        AsyncHandler<ValidateAddressResponse> asyncHandler);

    /**
     *
     * @param parameters
     * @return
     *     returns com.microsoft.bingads.v12.customermanagement.ValidateAddressResponse
     * @throws ApiFault_Exception
     * @throws AdApiFaultDetail_Exception
     */
    @WebMethod(operationName = "ValidateAddress", action = "ValidateAddress")
    @WebResult(name = "ValidateAddressResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
    public ValidateAddressResponse validateAddress(
        @WebParam(name = "ValidateAddressRequest", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters")
        ValidateAddressRequest parameters)
        throws AdApiFaultDetail_Exception, ApiFault_Exception
    ;

}


text:
client_id = None
passphrase = None
api_url = 'https://api.mangopay.com/v2.01/'
api_sandbox_url = 'https://api.sandbox.mangopay.com/v2.01/'
temp_dir = None
api_version = 2.01
sandbox = True

package_version = None
try:
    with open('./setup.py', 'r') as f:
        for line in f:
            if line.startswith('    version'):
                package_version = line.split('=')[1].replace("'", "").replace(",", "").replace("\n", "")
except:
    None

from .utils import memoize
from .api import APIRequest  # noqa

def _get_default_handler():
    return APIRequest()

get_default_handler = memoize(_get_default_handler, {}, 0)


text:
%%
%% KDE5xHb - Bindings libraries for Harbour/xHarbour and KDE 5
%%
%% Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
%%

$project=KDE5xHb
$module=KWidgetsAddons

$header

$includes

$beginSlotsClass
$signal=|titleChanged()
$signal=|expandedChanged()
$endSlotsClass


text:
package com.sirmvit.vtufest2k17;

import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;

import com.google.android.gms.maps.model.LatLng;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.List;

public class DetailsActivity extends AppCompatActivity{
    String loc;
    String jsonLoc;
    List<EventItem> data;
    RecyclerView recyclerView;
    RecyclerView.LayoutManager mLayoutManager;
    RecyclerView.Adapter mAdapter;
    final List<MapsItem> mMapsItems = MapsContent.ITEMS;
    Bitmap image;
    String map;
    CollapsingToolbarLayout mActionBarToolbar;
    ImageView imageView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_details);

        loc = MapsActivity.Data.getTitle();
        image = getImage(loc);
        imageView = (ImageView) findViewById(R.id.toolbarImage);
        imageView.setImageBitmap(image);

        jsonLoc = MapsActivity.jsonData;

        try {
            JSONObject jObject = new JSONObject(jsonLoc);
            JSONArray jArray = jObject.getJSONArray(loc);
            data = new ArrayList<>();
            for (int i = 0; i < jArray.length(); i++) {
                EventItem mEventItem = new EventItem();
                mEventItem.name = jArray.getJSONObject(i).getString("eventName");
                mEventItem.day = jArray.getJSONObject(i).getString("eventDay");
                mEventItem.time = jArray.getJSONObject(i).getString("eventTime");
                data.add(mEventItem);
            }
        }
        catch (JSONException e) {
            e.printStackTrace();
        }
        //////////////////////////////////////////////////////////////

        mActionBarToolbar = (CollapsingToolbarLayout) findViewById(R.id.collapsingToolbar);
        mActionBarToolbar.setTitle(loc);

        //fab
        final FloatingActionButton navifab = (FloatingActionButton) findViewById(R.id.nav_button);
        navifab.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                LatLng latlng = getLoc(loc);
                map = "http://maps.google.co.in/maps?q=loc:"+latlng.latitude+","+latlng.longitude+"("+loc+")";
                Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(map));
                intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity");
                startActivity(intent);

            }
        });

        //recyclerView
        recyclerView = (RecyclerView)findViewById(R.id.event_list);
        recyclerView.setHasFixedSize(true);
        mLayoutManager = new LinearLayoutManager(this);
        recyclerView.setLayoutManager(mLayoutManager);
        mAdapter = new EventListAdapter(DetailsActivity.this,data);
        recyclerView.setAdapter(mAdapter);

    }

    //get image
    Bitmap getImage(String str) {
        //default image
        int res=-1;
        Bitmap bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.collegelogo);
        for (int i = 0; i < mMapsItems.size(); i++) {
            MapsItem current = mMapsItems.get(i);
            //get image for specific loc
            if (current.title.equals(str)) {
                res = current.id;
                break;
            }
        }
        switch(res) {
            case 0 : bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.collegelogo); break;
            case 1 : bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.sciblk); break;
            case 2 : bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.mainblk); break;
            case 3 : bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.newaudi); break;
            case 4 : bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.oldaudi); break;
            case 5 : bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.library); break;
            case 6 : bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.parking); break;
            case 7 : bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.coffee); break;
            case 8 : bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.rolls); break;
            case 9 : bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.mechblk); break;
            case 10: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.civblk); break;
            case 11: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.mba); break;
            case 12: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.dental); break;
            case 13: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.work); break;
            case 14: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.gnd); break;
            case 15: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.caneshop); break;
            case 16: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.atm); break;
            case 17: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.canteen); break;
            case 18: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.busdpo); break;
            case 19: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.ht); break;
            case 20: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.la); break;
            case 21: bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.mess); break;
            case 22: bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.food1); break;
            case 23: bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.stall); break;
            case 24: bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.badcourt); break;
            case 25: bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.men); break;
            case 26: bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.ladhostel); break;
        }
        return bitmap;
    }

    LatLng getLoc(String str) {
        int res=-1;
        for(int i = 0; i< mMapsItems.size();i++) {
            MapsItem current = mMapsItems.get(i);
            if(current.title.equals(str)) {
                res = current.id;
                break;
            }
        }
        return mMapsItems.get(res).navi;
    }

}


text:
using System.Linq;
using System.Text;
using LambdaCore_Skeleton.Interfaces;

namespace LambdaCore_Skeleton.Commands
{
   public class StatusCommand : Command
    {
        public StatusCommand(string[] parameters) : base(parameters)
        {
        }

        public override string Execute()
        {
            StringBuilder sb = new StringBuilder();
            sb.AppendLine("Lambda Core Power Plant Status:");
            sb.AppendLine($"Total Durability: {this.aec.Values.Sum(c => c.Durability)}");
            sb.AppendLine($"Total Cores: {this.aec.Count}");
            sb.AppendLine($"Total Fragments: {this.aec.Values.Sum(c => c.Fragments.Count)}");

            foreach (ICore core in this.aec.Values)
            {
                 sb.AppendLine($"Core {core.Name}:");
                var pressureAffection = core.Fragments.Sum(f => f.PressureAffection);

                if (pressureAffection <= 0)
                {
                    sb.AppendLine($"####Durability: {core.Durability:f0}");
                    sb.AppendLine("####Status: NORMAL");
                }
                else
                {
                    sb.AppendLine($"####Durability: {core.Durability:f0}");
                    sb.AppendLine("####Status: CRITICAL");
                }

            }

            return sb.ToString().Trim();
        }
    }
}


text:
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class Kind {

    private YesNo usesymbolsField;

    private bool usesymbolsFieldSpecified;

    private string textField;

    private YesNo stackdegreesField;

    private bool stackdegreesFieldSpecified;

    private YesNo parenthesesdegreesField;

    private bool parenthesesdegreesFieldSpecified;

    private YesNo bracketdegreesField;

    private bool bracketdegreesFieldSpecified;

    private LeftCenterRight halignField;

    private bool halignFieldSpecified;

    private VAlign _vAlignField;

    private bool valignFieldSpecified;

    private KindValue valueField;

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute("use-symbols")]
    public YesNo usesymbols {
        get {
            return this.usesymbolsField;
        }
        set {
            this.usesymbolsField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool usesymbolsSpecified {
        get {
            return this.usesymbolsFieldSpecified;
        }
        set {
            this.usesymbolsFieldSpecified = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute(DataType="token")]
    public string text {
        get {
            return this.textField;
        }
        set {
            this.textField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute("stack-degrees")]
    public YesNo stackdegrees {
        get {
            return this.stackdegreesField;
        }
        set {
            this.stackdegreesField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool stackdegreesSpecified {
        get {
            return this.stackdegreesFieldSpecified;
        }
        set {
            this.stackdegreesFieldSpecified = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute("parentheses-degrees")]
    public YesNo parenthesesdegrees {
        get {
            return this.parenthesesdegreesField;
        }
        set {
            this.parenthesesdegreesField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool parenthesesdegreesSpecified {
        get {
            return this.parenthesesdegreesFieldSpecified;
        }
        set {
            this.parenthesesdegreesFieldSpecified = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute("bracket-degrees")]
    public YesNo bracketdegrees {
        get {
            return this.bracketdegreesField;
        }
        set {
            this.bracketdegreesField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool bracketdegreesSpecified {
        get {
            return this.bracketdegreesFieldSpecified;
        }
        set {
            this.bracketdegreesFieldSpecified = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public LeftCenterRight halign {
        get {
            return this.halignField;
        }
        set {
            this.halignField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool halignSpecified {
        get {
            return this.halignFieldSpecified;
        }
        set {
            this.halignFieldSpecified = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public VAlign VAlign {
        get {
            return this._vAlignField;
        }
        set {
            this._vAlignField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool valignSpecified {
        get {
            return this.valignFieldSpecified;
        }
        set {
            this.valignFieldSpecified = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlTextAttribute()]
    public KindValue Value {
        get {
            return this.valueField;
        }
        set {
            this.valueField = value;
        }
    }
}


text:
BayesDB
=======

This repository contained a previous implementation of BayesDB which
has been replaced by the new implementation Bayeslite. For the new
repository, visit https://github.com/probcomp/bayeslite. For
information about BayesDB in general, visit
http://probcomp.csail.mit.edu/bayesdb

BayesDB, a Bayesian database, lets users query the probable
implications of their data as easily as a SQL database lets them query
the data itself. Using the built-in Bayesian Query Language (BQL),
users with no statistics training can solve basic data science
problems, such as detecting predictive relationships between
variables, inferring missing values, simulating probable observations,
and identifying statistically similar database entries.

# License

[Apache License, Version 2.0](https://github.com/probcomp/bayesdb/blob/master/LICENSE)


text:
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Orchard.ContentManagement.MetaData.Models;
using Orchard.ContentManagement.ViewModels;
using Orchard.Utility.Extensions;
using Orchard.ContentTypes.Extensions;

namespace Orchard.ContentTypes.ViewModels {
    public class EditPartViewModel {
        public EditPartViewModel() {
            Fields = new List<EditPartFieldViewModel>();
            Settings = new SettingsDictionary();
        }

        public EditPartViewModel(ContentPartDefinition contentPartDefinition) {
            Name = contentPartDefinition.Name;
            Fields = contentPartDefinition.Fields.Select((f, i) => new EditPartFieldViewModel(i, f) { Part = this }).ToList();
            Settings = contentPartDefinition.Settings;
            _Definition = contentPartDefinition;
        }

        public string Prefix { get { return "PartDefinition"; } }
        public string Name { get; set; }

        private string _displayName;
        [Required]
        public string DisplayName {
            get { return !string.IsNullOrWhiteSpace(_displayName) ? _displayName : Name.TrimEnd("Part").CamelFriendly(); }
            set { _displayName = value; }
        }

        public string Description {
            get { return Settings.ContainsKey("ContentPartSettings.Description") ? Settings["ContentPartSettings.Description"] : null; }
            set { Settings["ContentPartSettings.Description"] = value;}
        }

        public IEnumerable<TemplateViewModel> Templates { get; set; }
        public IEnumerable<EditPartFieldViewModel> Fields { get; set; }
        public SettingsDictionary Settings { get; set; }
        public ContentPartDefinition _Definition { get; private set; }
    }
}