Package odata.msgraph.client.entity
Class AttackSimulationOperation
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.LongRunningOperation
-
- odata.msgraph.client.entity.AttackSimulationOperation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AttackSimulationOperation extends LongRunningOperation implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttackSimulationOperation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerpercentageCompletedprotected StringtenantIdprotected AttackSimulationOperationTypetype-
Fields inherited from class odata.msgraph.client.entity.LongRunningOperation
createdDateTime, lastActionDateTime, resourceLocation, status, statusDetail
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttackSimulationOperation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttackSimulationOperation.BuilderbuilderAttackSimulationOperation()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.internal.ChangedFieldsgetChangedFields()Optional<Integer>getPercentageCompleted()Optional<String>getTenantId()Optional<AttackSimulationOperationType>getType()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AttackSimulationOperationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AttackSimulationOperationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AttackSimulationOperationwithPercentageCompleted(Integer percentageCompleted)AttackSimulationOperationwithTenantId(String tenantId)AttackSimulationOperationwithType(AttackSimulationOperationType type)AttackSimulationOperationwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.LongRunningOperation
builderLongRunningOperation, getCreatedDateTime, getLastActionDateTime, getResourceLocation, getStatus, getStatusDetail, withCreatedDateTime, withLastActionDateTime, withResourceLocation, withStatus, withStatusDetail
-
-
-
-
Field Detail
-
percentageCompleted
protected Integer percentageCompleted
-
tenantId
protected String tenantId
-
type
protected AttackSimulationOperationType type
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classLongRunningOperation
-
builderAttackSimulationOperation
public static AttackSimulationOperation.Builder builderAttackSimulationOperation()
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 classLongRunningOperation
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classLongRunningOperation
-
withPercentageCompleted
public AttackSimulationOperation withPercentageCompleted(Integer percentageCompleted)
-
withTenantId
public AttackSimulationOperation withTenantId(String tenantId)
-
getType
public Optional<AttackSimulationOperationType> getType()
-
withType
public AttackSimulationOperation withType(AttackSimulationOperationType type)
-
withUnmappedField
public AttackSimulationOperation withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classLongRunningOperation
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classLongRunningOperation
-
patch
public AttackSimulationOperation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classLongRunningOperation- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AttackSimulationOperation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classLongRunningOperation- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classLongRunningOperation
-
-