Class ManagementTemplate
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.managed.tenants.entity.ManagementTemplate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagementTemplate extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagementTemplate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ManagementCategorycategoryprotected StringcreatedByUserIdprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected List<ActionUrl>informationLinksprotected StringinformationLinksNextLinkprotected StringlastActionByUserIdprotected OffsetDateTimelastActionDateTimeprotected List<TemplateParameter>parametersprotected StringparametersNextLinkprotected Integerpriorityprotected ManagementProviderproviderprotected StringuserImpactprotected Integerversionprotected 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 protectedManagementTemplate()
-
Method Summary
-
-
-
Field Detail
-
category
protected ManagementCategory category
-
createdByUserId
protected String createdByUserId
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
informationLinksNextLink
protected String informationLinksNextLink
-
lastActionByUserId
protected String lastActionByUserId
-
lastActionDateTime
protected OffsetDateTime lastActionDateTime
-
parameters
protected List<TemplateParameter> parameters
-
parametersNextLink
protected String parametersNextLink
-
priority
protected Integer priority
-
provider
protected ManagementProvider provider
-
userImpact
protected String userImpact
-
version
protected Integer version
-
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
-
builderManagementTemplate
public static ManagementTemplate.Builder builderManagementTemplate()
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 ManagementTemplate withCategory(ManagementCategory category)
-
withCreatedByUserId
public ManagementTemplate withCreatedByUserId(String createdByUserId)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public ManagementTemplate withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDescription
public ManagementTemplate withDescription(String description)
-
withDisplayName
public ManagementTemplate withDisplayName(String displayName)
-
getInformationLinks
public com.github.davidmoten.odata.client.CollectionPage<ActionUrl> getInformationLinks()
-
withInformationLinks
public ManagementTemplate withInformationLinks(List<ActionUrl> informationLinks)
-
getInformationLinks
public com.github.davidmoten.odata.client.CollectionPage<ActionUrl> getInformationLinks(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withLastActionByUserId
public ManagementTemplate withLastActionByUserId(String lastActionByUserId)
-
getLastActionDateTime
public Optional<OffsetDateTime> getLastActionDateTime()
-
withLastActionDateTime
public ManagementTemplate withLastActionDateTime(OffsetDateTime lastActionDateTime)
-
getParameters
public com.github.davidmoten.odata.client.CollectionPage<TemplateParameter> getParameters()
-
withParameters
public ManagementTemplate withParameters(List<TemplateParameter> parameters)
-
getParameters
public com.github.davidmoten.odata.client.CollectionPage<TemplateParameter> getParameters(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withPriority
public ManagementTemplate withPriority(Integer priority)
-
getProvider
public Optional<ManagementProvider> getProvider()
-
withProvider
public ManagementTemplate withProvider(ManagementProvider provider)
-
withUserImpact
public ManagementTemplate withUserImpact(String userImpact)
-
withVersion
public ManagementTemplate withVersion(Integer version)
-
getWorkloadActions
public com.github.davidmoten.odata.client.CollectionPage<WorkloadAction> getWorkloadActions()
-
withWorkloadActions
public ManagementTemplate withWorkloadActions(List<WorkloadAction> workloadActions)
-
getWorkloadActions
public com.github.davidmoten.odata.client.CollectionPage<WorkloadAction> getWorkloadActions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public ManagementTemplate withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getManagementTemplateCollections
public ManagementTemplateCollectionCollectionRequest getManagementTemplateCollections()
-
getManagementTemplateSteps
public ManagementTemplateStepCollectionRequest getManagementTemplateSteps()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ManagementTemplate patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagementTemplate put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-