Class HostReputation
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.HostReputation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class HostReputation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHostReputation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected HostReputationClassificationclassificationprotected List<HostReputationRule>rulesprotected StringrulesNextLinkprotected Integerscore-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHostReputation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostReputation.BuilderbuilderHostReputation()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<HostReputationClassification>getClassification()com.github.davidmoten.odata.client.CollectionPage<HostReputationRule>getRules()com.github.davidmoten.odata.client.CollectionPage<HostReputationRule>getRules(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<Integer>getScore()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()HostReputationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)HostReputationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()HostReputationwithClassification(HostReputationClassification classification)HostReputationwithRules(List<HostReputationRule> rules)HostReputationwithScore(Integer score)HostReputationwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
classification
protected HostReputationClassification classification
-
rules
protected List<HostReputationRule> rules
-
rulesNextLink
protected String rulesNextLink
-
score
protected Integer score
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderHostReputation
public static HostReputation.Builder builderHostReputation()
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
-
getClassification
public Optional<HostReputationClassification> getClassification()
-
withClassification
public HostReputation withClassification(HostReputationClassification classification)
-
getRules
public com.github.davidmoten.odata.client.CollectionPage<HostReputationRule> getRules()
-
withRules
public HostReputation withRules(List<HostReputationRule> rules)
-
getRules
public com.github.davidmoten.odata.client.CollectionPage<HostReputationRule> getRules(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withScore
public HostReputation withScore(Integer score)
-
withUnmappedField
public HostReputation withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public HostReputation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public HostReputation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-