Package com.microsoft.graph.models
Class Endpoint
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryObject
com.microsoft.graph.models.Endpoint
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Endpoint
extends DirectoryObject
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EndpointcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the capability property value.The deserialization information for the current modelGets the providerId property value.Gets the providerName property value.Gets the providerResourceId property value.getUri()Gets the uri property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCapability(String value) Sets the capability property value.voidsetProviderId(String value) Sets the providerId property value.voidsetProviderName(String value) Sets the providerName property value.voidsetProviderResourceId(String value) Sets the providerResourceId property value.voidSets the uri property value.Methods inherited from class com.microsoft.graph.models.DirectoryObject
getDeletedDateTime, setDeletedDateTimeMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Endpoint
public Endpoint()Instantiates a newEndpointand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Endpoint createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
Endpoint
-
getCapability
Gets the capability property value. The capability property- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classDirectoryObject- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getProviderId
Gets the providerId property value. The providerId property- Returns:
- a
String
-
getProviderName
Gets the providerName property value. The providerName property- Returns:
- a
String
-
getProviderResourceId
Gets the providerResourceId property value. The providerResourceId property- Returns:
- a
String
-
getUri
Gets the uri property value. The uri property- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classDirectoryObject- Parameters:
writer- Serialization writer to use to serialize this model
-
setCapability
Sets the capability property value. The capability property- Parameters:
value- Value to set for the capability property.
-
setProviderId
Sets the providerId property value. The providerId property- Parameters:
value- Value to set for the providerId property.
-
setProviderName
Sets the providerName property value. The providerName property- Parameters:
value- Value to set for the providerName property.
-
setProviderResourceId
Sets the providerResourceId property value. The providerResourceId property- Parameters:
value- Value to set for the providerResourceId property.
-
setUri
Sets the uri property value. The uri property- Parameters:
value- Value to set for the uri property.
-