Class WorkloadAction
- java.lang.Object
-
- odata.msgraph.client.beta.managed.tenants.complex.WorkloadAction
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WorkloadAction extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkloadAction.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringactionIdprotected WorkloadActionCategorycategoryprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringdescriptionprotected StringdisplayNameprotected List<String>licensesprotected StringlicensesNextLinkprotected StringodataTypeprotected Stringserviceprotected List<Setting>settingsprotected StringsettingsNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWorkloadAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkloadAction.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getActionId()Optional<WorkloadActionCategory>getCategory()Optional<String>getDescription()Optional<String>getDisplayName()com.github.davidmoten.odata.client.CollectionPage<String>getLicenses()com.github.davidmoten.odata.client.CollectionPage<String>getLicenses(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getService()com.github.davidmoten.odata.client.CollectionPage<Setting>getSettings()com.github.davidmoten.odata.client.CollectionPage<Setting>getSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WorkloadActionwithActionId(String actionId)WorkloadActionwithCategory(WorkloadActionCategory category)WorkloadActionwithDescription(String description)WorkloadActionwithDisplayName(String displayName)WorkloadActionwithService(String service)WorkloadActionwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
actionId
protected String actionId
-
category
protected WorkloadActionCategory category
-
description
protected String description
-
displayName
protected String displayName
-
licensesNextLink
protected String licensesNextLink
-
service
protected String service
-
settingsNextLink
protected String settingsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withActionId
public WorkloadAction withActionId(String actionId)
-
getCategory
public Optional<WorkloadActionCategory> getCategory()
-
withCategory
public WorkloadAction withCategory(WorkloadActionCategory category)
-
withDescription
public WorkloadAction withDescription(String description)
-
withDisplayName
public WorkloadAction withDisplayName(String displayName)
-
getLicenses
public com.github.davidmoten.odata.client.CollectionPage<String> getLicenses()
-
getLicenses
public com.github.davidmoten.odata.client.CollectionPage<String> getLicenses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withService
public WorkloadAction withService(String service)
-
getSettings
public com.github.davidmoten.odata.client.CollectionPage<Setting> getSettings()
-
getSettings
public com.github.davidmoten.odata.client.CollectionPage<Setting> getSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public WorkloadAction withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static WorkloadAction.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-