Package odata.msgraph.client.complex
Class ManagedAppDiagnosticStatus
- java.lang.Object
-
- odata.msgraph.client.complex.ManagedAppDiagnosticStatus
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ManagedAppDiagnosticStatus extends Object implements com.github.davidmoten.odata.client.ODataType
“Represents diagnostics status.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedAppDiagnosticStatus.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringmitigationInstructionprotected StringodataTypeprotected Stringstateprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringvalidationName
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedAppDiagnosticStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedAppDiagnosticStatus.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getMitigationInstruction()“Instruction on how to mitigate a failed validation”Optional<String>getState()“The state of the operation”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getValidationName()“The validation friendly name”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ManagedAppDiagnosticStatuswithMitigationInstruction(String mitigationInstruction)Returns an immutable copy ofthiswith just themitigationInstructionfield changed.ManagedAppDiagnosticStatuswithState(String state)Returns an immutable copy ofthiswith just thestatefield changed.ManagedAppDiagnosticStatuswithUnmappedField(String name, Object value)ManagedAppDiagnosticStatuswithValidationName(String validationName)Returns an immutable copy ofthiswith just thevalidationNamefield changed.
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
mitigationInstruction
protected String mitigationInstruction
-
state
protected String state
-
validationName
protected String validationName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getMitigationInstruction
public Optional<String> getMitigationInstruction()
“Instruction on how to mitigate a failed validation”- Returns:
- property mitigationInstruction
-
withMitigationInstruction
public ManagedAppDiagnosticStatus withMitigationInstruction(String mitigationInstruction)
Returns an immutable copy ofthiswith just themitigationInstructionfield 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.“Instruction on how to mitigate a failed validation”
- Parameters:
mitigationInstruction- new value ofmitigationInstructionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themitigationInstructionfield changed
-
withState
public ManagedAppDiagnosticStatus withState(String state)
Returns an immutable copy ofthiswith just thestatefield 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 state of the operation”
- Parameters:
state- new value ofstatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatefield changed
-
getValidationName
public Optional<String> getValidationName()
“The validation friendly name”- Returns:
- property validationName
-
withValidationName
public ManagedAppDiagnosticStatus withValidationName(String validationName)
Returns an immutable copy ofthiswith just thevalidationNamefield 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 validation friendly name”
- Parameters:
validationName- new value ofvalidationNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevalidationNamefield changed
-
withUnmappedField
public ManagedAppDiagnosticStatus withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static ManagedAppDiagnosticStatus.Builder builder()
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
-
-