@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultFeature extends AbstractInstanceResource<Feature> implements Feature
properties
readLock, writeLock
Constructor and Description |
---|
DefaultFeature(InternalDataStore dataStore) |
DefaultFeature(InternalDataStore dataStore,
Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
FeatureList |
getDependencies()
Success
|
FeatureList |
getDependents()
Success
|
String |
getDescription() |
String |
getId() |
Map<String,Object> |
getLinks() |
String |
getName() |
Map<String,Property> |
getPropertyDescriptors() |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
FeatureStage |
getStage() |
EnabledStatus |
getStatus() |
FeatureType |
getType() |
Feature |
setDescription(String description) |
Feature |
setName(String name) |
Feature |
setStage(FeatureStage stage) |
Feature |
setStatus(EnabledStatus status) |
Feature |
setType(FeatureType type) |
Feature |
updateLifecycle(String lifecycle)
Success
|
Feature |
updateLifecycle(String lifecycle,
String mode)
Success
|
delete, save
clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, values
getBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setProperty
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public DefaultFeature(InternalDataStore dataStore)
public DefaultFeature(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors
in class AbstractResource
public Class<? extends Resource> getResourceClass()
AbstractInstanceResource
Foo
, in this case this method may return Foo.class
.
(Defaults to getClass()
.)getResourceClass
in class AbstractInstanceResource<Feature>
public String getDescription()
getDescription
in interface Feature
public Feature setDescription(String description)
setDescription
in interface Feature
public FeatureStage getStage()
public Feature setStage(FeatureStage stage)
public EnabledStatus getStatus()
public Feature setStatus(EnabledStatus status)
public FeatureType getType()
public Feature setType(FeatureType type)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/features/{featureId}/{lifecycle}") public Feature updateLifecycle(String lifecycle, String mode)
updateLifecycle
in interface Feature
lifecycle
- (required)mode
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/features/{featureId}/{lifecycle}") public Feature updateLifecycle(String lifecycle)
updateLifecycle
in interface Feature
lifecycle
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/features/{featureId}/dependencies") public FeatureList getDependencies()
getDependencies
in interface Feature
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/features/{featureId}/dependents") public FeatureList getDependents()
getDependents
in interface Feature
Copyright © 2017–2023 Okta. All rights reserved.