Class ManagementAction
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.managed.tenants.entity.ManagementAction
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagementAction extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagementAction.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ManagementCategorycategoryprotected Stringdescriptionprotected StringdisplayNameprotected StringreferenceTemplateIdprotected IntegerreferenceTemplateVersionprotected List<WorkloadAction>workloadActionsprotected StringworkloadActionsNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagementAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<ManagementActionDeploymentStatus>apply(String tenantId, String tenantGroupId, String managementTemplateId, Boolean includeAllUsers, List<String> includeGroups, List<String> excludeGroups)static ManagementAction.BuilderbuilderManagementAction()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<ManagementCategory>getCategory()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDescription()Optional<String>getDisplayName()Optional<String>getReferenceTemplateId()Optional<Integer>getReferenceTemplateVersion()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()com.github.davidmoten.odata.client.CollectionPage<WorkloadAction>getWorkloadActions()com.github.davidmoten.odata.client.CollectionPage<WorkloadAction>getWorkloadActions(com.github.davidmoten.odata.client.HttpRequestOptions options)StringodataTypeName()ManagementActionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagementActionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagementActionwithCategory(ManagementCategory category)ManagementActionwithDescription(String description)ManagementActionwithDisplayName(String displayName)ManagementActionwithReferenceTemplateId(String referenceTemplateId)ManagementActionwithReferenceTemplateVersion(Integer referenceTemplateVersion)ManagementActionwithUnmappedField(String name, String value)ManagementActionwithWorkloadActions(List<WorkloadAction> workloadActions)
-
-
-
Field Detail
-
category
protected ManagementCategory category
-
description
protected String description
-
displayName
protected String displayName
-
referenceTemplateId
protected String referenceTemplateId
-
referenceTemplateVersion
protected Integer referenceTemplateVersion
-
workloadActions
protected List<WorkloadAction> workloadActions
-
workloadActionsNextLink
protected String workloadActionsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagementAction
public static ManagementAction.Builder builderManagementAction()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCategory
public Optional<ManagementCategory> getCategory()
-
withCategory
public ManagementAction withCategory(ManagementCategory category)
-
withDescription
public ManagementAction withDescription(String description)
-
withDisplayName
public ManagementAction withDisplayName(String displayName)
-
withReferenceTemplateId
public ManagementAction withReferenceTemplateId(String referenceTemplateId)
-
withReferenceTemplateVersion
public ManagementAction withReferenceTemplateVersion(Integer referenceTemplateVersion)
-
getWorkloadActions
public com.github.davidmoten.odata.client.CollectionPage<WorkloadAction> getWorkloadActions()
-
withWorkloadActions
public ManagementAction withWorkloadActions(List<WorkloadAction> workloadActions)
-
getWorkloadActions
public com.github.davidmoten.odata.client.CollectionPage<WorkloadAction> getWorkloadActions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public ManagementAction withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ManagementAction patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagementAction put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
apply
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<ManagementActionDeploymentStatus> apply(String tenantId, String tenantGroupId, String managementTemplateId, Boolean includeAllUsers, List<String> includeGroups, List<String> excludeGroups)
-
-