Package odata.msgraph.client.beta.entity
Class ManagementConditionStatement
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagementConditionStatement
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagementConditionStatement extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“A management condition statement is a group of management conditions that enable /disable device/application configurations when all contained management conditions are met.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagementConditionStatement.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<DevicePlatformType>applicablePlatformsprotected StringapplicablePlatformsNextLinkprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected StringeTagprotected ManagementConditionExpressionexpressionprotected OffsetDateTimemodifiedDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagementConditionStatement()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagementConditionStatement.BuilderbuilderManagementConditionStatement()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType>getApplicablePlatforms()“This is calculated from looking the management conditions associated to the management condition statement and finding the intersection of applicable platforms.”com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType>getApplicablePlatforms(com.github.davidmoten.odata.client.HttpRequestOptions options)“This is calculated from looking the management conditions associated to the management condition statement and finding the intersection of applicable platforms.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“The time the management condition statement was created.Optional<String>getDescription()“The admin defined description of the management condition statement.”Optional<String>getDisplayName()“The admin defined name of the management condition statement.”Optional<String>getETag()“ETag of the management condition statement.Optional<ManagementConditionExpression>getExpression()“The management condition statement expression used to evaluate if a management condition statement was activated/deactivated.”ManagementConditionCollectionRequestgetManagementConditions()“The management conditions associated to the management condition statement.”com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<ManagementConditionExpressionString>getManagementConditionStatementExpressionString()Optional<OffsetDateTime>getModifiedDateTime()“The time the management condition statement was last modified.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ManagementConditionStatementpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagementConditionStatementput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagementConditionStatementwithApplicablePlatforms(List<DevicePlatformType> applicablePlatforms)Returns an immutable copy ofthiswith just theapplicablePlatformsfield changed.ManagementConditionStatementwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.ManagementConditionStatementwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.ManagementConditionStatementwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.ManagementConditionStatementwithETag(String eTag)Returns an immutable copy ofthiswith just theeTagfield changed.ManagementConditionStatementwithExpression(ManagementConditionExpression expression)Returns an immutable copy ofthiswith just theexpressionfield changed.ManagementConditionStatementwithModifiedDateTime(OffsetDateTime modifiedDateTime)Returns an immutable copy ofthiswith just themodifiedDateTimefield changed.ManagementConditionStatementwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
applicablePlatforms
protected List<DevicePlatformType> applicablePlatforms
-
applicablePlatformsNextLink
protected String applicablePlatformsNextLink
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
eTag
protected String eTag
-
expression
protected ManagementConditionExpression expression
-
modifiedDateTime
protected OffsetDateTime modifiedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagementConditionStatement
public static ManagementConditionStatement.Builder builderManagementConditionStatement()
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
-
getApplicablePlatforms
public com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType> getApplicablePlatforms()
“This is calculated from looking the management conditions associated to the management condition statement and finding the intersection of applicable platforms.”- Returns:
- property applicablePlatforms
-
withApplicablePlatforms
public ManagementConditionStatement withApplicablePlatforms(List<DevicePlatformType> applicablePlatforms)
Returns an immutable copy ofthiswith just theapplicablePlatformsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“This is calculated from looking the management conditions associated to the management condition statement and finding the intersection of applicable platforms.”
- Parameters:
applicablePlatforms- new value ofapplicablePlatformsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicablePlatformsfield changed
-
getApplicablePlatforms
public com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType> getApplicablePlatforms(com.github.davidmoten.odata.client.HttpRequestOptions options)
“This is calculated from looking the management conditions associated to the management condition statement and finding the intersection of applicable platforms.”- Parameters:
options- specify connect and read timeouts- Returns:
- property applicablePlatforms
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“The time the management condition statement was created. Generated service side.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public ManagementConditionStatement withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The time the management condition statement was created. Generated service side.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDescription
public Optional<String> getDescription()
“The admin defined description of the management condition statement.”- Returns:
- property description
-
withDescription
public ManagementConditionStatement withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The admin defined description of the management condition statement.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The admin defined name of the management condition statement.”- Returns:
- property displayName
-
withDisplayName
public ManagementConditionStatement withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The admin defined name of the management condition statement.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getETag
public Optional<String> getETag()
“ETag of the management condition statement. Updated service side.”- Returns:
- property eTag
-
withETag
public ManagementConditionStatement withETag(String eTag)
Returns an immutable copy ofthiswith just theeTagfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“ETag of the management condition statement. Updated service side.”
- Parameters:
eTag- new value ofeTagfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeTagfield changed
-
getExpression
public Optional<ManagementConditionExpression> getExpression()
“The management condition statement expression used to evaluate if a management condition statement was activated/deactivated.”- Returns:
- property expression
-
withExpression
public ManagementConditionStatement withExpression(ManagementConditionExpression expression)
Returns an immutable copy ofthiswith just theexpressionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The management condition statement expression used to evaluate if a management condition statement was activated/deactivated.”
- Parameters:
expression- new value ofexpressionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexpressionfield changed
-
getModifiedDateTime
public Optional<OffsetDateTime> getModifiedDateTime()
“The time the management condition statement was last modified. Updated service side.”- Returns:
- property modifiedDateTime
-
withModifiedDateTime
public ManagementConditionStatement withModifiedDateTime(OffsetDateTime modifiedDateTime)
Returns an immutable copy ofthiswith just themodifiedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The time the management condition statement was last modified. Updated service side.”
- Parameters:
modifiedDateTime- new value ofmodifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themodifiedDateTimefield changed
-
withUnmappedField
public ManagementConditionStatement withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getManagementConditions
public ManagementConditionCollectionRequest getManagementConditions()
“The management conditions associated to the management condition statement.”- Returns:
- navigational property managementConditions
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ManagementConditionStatement patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagementConditionStatement put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
getManagementConditionStatementExpressionString
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<ManagementConditionExpressionString> getManagementConditionStatementExpressionString()
-
-