com.huawei.openstack4j.model.identity.v3.Project Maven / Gradle / Ivy
/*******************************************************************************
* Copyright 2016 ContainX and OpenStack4j
*
* 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.
*******************************************************************************/
package com.huawei.openstack4j.model.identity.v3;
import java.util.Map;
import com.huawei.openstack4j.common.Buildable;
import com.huawei.openstack4j.model.ModelEntity;
import com.huawei.openstack4j.model.identity.v3.builder.ProjectBuilder;
/**
* Project Model class use to group/isolate resources and/or identity objects
*
* @see API reference
*/
public interface Project extends ModelEntity, Buildable {
/**
* Globally unique within the owning domain.
*
* @return the Id of the project
*/
String getId();
/**
* @return the DomainId of the project
*/
String getDomainId();
/**
*
* @return the domain
*/
Domain getDomain();
/**
* @return the Description of the project
*/
String getDescription();
/**
*
* @return the Name of the project
*/
String getName();
/**
*
* @return the links of the project
*/
Map getLinks();
/**
*
* @return the parentId of the project
*/
String getParentId();
/**
*
* @return the subtree of the project
*/
String getSubtree();
/**
*
* @return the parents of the project
*/
String getParents();
/**
*
* @return if the project is enabled
*/
boolean isEnabled();
/**
*
* @return value for the given key
*/
String getExtra(String key);
}