Class Relation
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.termstore.models.Relation
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Relation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe From Term.The Relationship.The Set.The To Term. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
relationship
@SerializedName(value="relationship", alternate="Relationship") @Expose @Nullable public RelationType relationshipThe Relationship. The type of relation. Possible values are: pin, reuse. -
fromTerm
The From Term. The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. -
set
The Set. The [set] in which the relation is relevant. -
toTerm
The To Term. The to [term] of the relation. The term to which the relationship is defined.
-
-
Constructor Details
-
Relation
public Relation()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-