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 Stringdescriptionprotected StringdisplayNameprotected List<TemplateParameter>parametersprotected StringparametersNextLinkprotected 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagementTemplate.BuilderbuilderManagementTemplate()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()ManagementTemplateCollectionCollectionRequestgetManagementTemplateCollections()ManagementTemplateStepCollectionRequestgetManagementTemplateSteps()com.github.davidmoten.odata.client.CollectionPage<TemplateParameter>getParameters()com.github.davidmoten.odata.client.CollectionPage<TemplateParameter>getParameters(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getVersion()com.github.davidmoten.odata.client.CollectionPage<WorkloadAction>getWorkloadActions()com.github.davidmoten.odata.client.CollectionPage<WorkloadAction>getWorkloadActions(com.github.davidmoten.odata.client.HttpRequestOptions options)StringodataTypeName()ManagementTemplatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagementTemplateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagementTemplatewithCategory(ManagementCategory category)ManagementTemplatewithDescription(String description)ManagementTemplatewithDisplayName(String displayName)ManagementTemplatewithParameters(List<TemplateParameter> parameters)ManagementTemplatewithUnmappedField(String name, String value)ManagementTemplatewithVersion(Integer version)ManagementTemplatewithWorkloadActions(List<WorkloadAction> workloadActions)
-
-
-
Field Detail
-
category
protected ManagementCategory category
-
description
protected String description
-
displayName
protected String displayName
-
parameters
protected List<TemplateParameter> parameters
-
parametersNextLink
protected String parametersNextLink
-
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)
-
withDescription
public ManagementTemplate withDescription(String description)
-
withDisplayName
public ManagementTemplate withDisplayName(String displayName)
-
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)
-
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).
-
-