Class ProtectSite
- java.lang.Object
-
- odata.msgraph.client.beta.complex.LabelActionBase
-
- odata.msgraph.client.beta.complex.ProtectSite
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ProtectSite extends LabelActionBase implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProtectSite.Builder
-
Field Summary
Fields Modifier and Type Field Description protected SiteAccessTypeaccessTypeprotected StringconditionalAccessProtectionLevelId-
Fields inherited from class odata.msgraph.client.beta.complex.LabelActionBase
contextPath, name, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedProtectSite()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtectSite.BuilderbuilderProtectSite()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<SiteAccessType>getAccessType()Optional<String>getConditionalAccessProtectionLevelId()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ProtectSitewithAccessType(SiteAccessType accessType)ProtectSitewithConditionalAccessProtectionLevelId(String conditionalAccessProtectionLevelId)ProtectSitewithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.LabelActionBase
getName, withName
-
-
-
-
Field Detail
-
accessType
protected SiteAccessType accessType
-
conditionalAccessProtectionLevelId
protected String conditionalAccessProtectionLevelId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classLabelActionBase
-
getAccessType
public Optional<SiteAccessType> getAccessType()
-
withAccessType
public ProtectSite withAccessType(SiteAccessType accessType)
-
getConditionalAccessProtectionLevelId
public Optional<String> getConditionalAccessProtectionLevelId()
-
withConditionalAccessProtectionLevelId
public ProtectSite withConditionalAccessProtectionLevelId(String conditionalAccessProtectionLevelId)
-
withUnmappedField
public ProtectSite withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classLabelActionBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classLabelActionBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classLabelActionBase
-
builderProtectSite
public static ProtectSite.Builder builderProtectSite()
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
-
toString
public String toString()
- Overrides:
toStringin classLabelActionBase
-
-