// Path: src/main/java/io/apigee/buildTools/enterprise4g/rest/ActionFlags.java
// public enum ActionFlags {
// 
// 	VALIDATE,
// 	UPDATE,
// 	CLEAN,
// 	INACTIVE,
// 	OVERRIDE,
// 	FORCE;
// 
// 	public static ActionFlags valueOfIgnoreCase(String flag) {
// 		return ActionFlags.valueOf(flag.toUpperCase());
// 	}
// 
// 
// }


import io.apigee.buildTools.enterprise4g.rest.ActionFlags;
import org.apache.http.client.HttpClient;
import java.util.EnumSet;
/**
 * Copyright (C) 2014 Apigee Corporation
 * <p>
 * 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
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * 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.
 */
package io.apigee.buildTools.enterprise4g.utils;



public class ServerProfile {

	// general configuration
	private String hostURL; // hostname & scheme e.g. https://api.enterprise.apigee.com
	private String org;
	private String environment; // prod or test
	private String api_version; // v2 or v1 in the server url

	// authentication bits
	private String tokenURL; // Mgmt API OAuth token endpoint
	private String mfaToken; // Mgmt API OAuth MFA - TOTP
	private String clientId; //Mgmt API OAuth Client Id (optional)
	private String clientSecret; //Mgmt API OAuth Client Secret (optional)
	private String bearerToken; //Mgmt API OAuth Token
	private String refreshToken; //Mgmt API OAuth Refresh Token
	private String authType; // Mgmt API Auth Type oauth|basic
	private String credential_user;
	private String credential_pwd; //

	// packaging configuration
	private String bundle_zip_full_path;
	private String profileId; //Profile id as in parent pom

// Path: src/main/java/io/apigee/buildTools/enterprise4g/rest/ActionFlags.java
// public enum ActionFlags {
// 
// 	VALIDATE,
// 	UPDATE,
// 	CLEAN,
// 	INACTIVE,
// 	OVERRIDE,
// 	FORCE;
// 
// 	public static ActionFlags valueOfIgnoreCase(String flag) {
// 		return ActionFlags.valueOf(flag.toUpperCase());
// 	}
// 
// 
// }


// Path: src/main/java/io/apigee/buildTools/enterprise4g/utils/ServerProfile.java
import io.apigee.buildTools.enterprise4g.rest.ActionFlags;
import org.apache.http.client.HttpClient;
import java.util.EnumSet;

/**
 * Copyright (C) 2014 Apigee Corporation
 * <p>
 * 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
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * 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.
 */
package io.apigee.buildTools.enterprise4g.utils;



public class ServerProfile {

	// general configuration
	private String hostURL; // hostname & scheme e.g. https://api.enterprise.apigee.com
	private String org;
	private String environment; // prod or test
	private String api_version; // v2 or v1 in the server url

	// authentication bits
	private String tokenURL; // Mgmt API OAuth token endpoint
	private String mfaToken; // Mgmt API OAuth MFA - TOTP
	private String clientId; //Mgmt API OAuth Client Id (optional)
	private String clientSecret; //Mgmt API OAuth Client Secret (optional)
	private String bearerToken; //Mgmt API OAuth Token
	private String refreshToken; //Mgmt API OAuth Refresh Token
	private String authType; // Mgmt API Auth Type oauth|basic
	private String credential_user;
	private String credential_pwd; //

	// packaging configuration
	private String bundle_zip_full_path;
	private String profileId; //Profile id as in parent pom

	private EnumSet<ActionFlags> actions = EnumSet.noneOf(ActionFlags.class);