Package com.microsoft.graph.models
Class Domain
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Domain
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Domain
extends Entity
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 Domain
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the authenticationType property value.Gets the availabilityStatus property value.Gets the domainNameReferences property value.Gets the federationConfiguration property value.The deserialization information for the current modelGets the isAdminManaged property value.Gets the isDefault property value.Gets the isInitial property value.Gets the isRoot property value.Gets the isVerified property value.Gets the manufacturer property value.getModel()
Gets the model property value.Gets the passwordNotificationWindowInDays property value.Gets the passwordValidityPeriodInDays property value.Gets the rootDomain property value.Gets the serviceConfigurationRecords property value.getState()
Gets the state property value.Gets the supportedServices property value.Gets the verificationDnsRecords property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAuthenticationType
(String value) Sets the authenticationType property value.void
setAvailabilityStatus
(String value) Sets the availabilityStatus property value.void
Sets the domainNameReferences property value.void
Sets the federationConfiguration property value.void
setIsAdminManaged
(Boolean value) Sets the isAdminManaged property value.void
setIsDefault
(Boolean value) Sets the isDefault property value.void
setIsInitial
(Boolean value) Sets the isInitial property value.void
Sets the isRoot property value.void
setIsVerified
(Boolean value) Sets the isVerified property value.void
setManufacturer
(String value) Sets the manufacturer property value.void
Sets the model property value.void
Sets the passwordNotificationWindowInDays property value.void
Sets the passwordValidityPeriodInDays property value.void
setRootDomain
(Domain value) Sets the rootDomain property value.void
Sets the serviceConfigurationRecords property value.void
setState
(DomainState value) Sets the state property value.void
setSupportedServices
(List<String> value) Sets the supportedServices property value.void
Sets the verificationDnsRecords property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Domain
public Domain()Instantiates a newDomain
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Domain 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
Domain
-
getAuthenticationType
Gets the authenticationType property value. Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Microsoft Entra ID performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable. To update this property in delegated scenarios, the calling app must be assigned the Directory.AccessAsUser.All delegated permission.- Returns:
- a
String
-
getAvailabilityStatus
Gets the availabilityStatus property value. This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled.- Returns:
- a
String
-
getDomainNameReferences
Gets the domainNameReferences property value. The objects such as users and groups that reference the domain ID. Read-only, Nullable. Doesn't support $expand. Supports $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group.- Returns:
- a
List<DirectoryObject>
-
getFederationConfiguration
Gets the federationConfiguration property value. Domain settings configured by a customer when federated with Microsoft Entra ID. Doesn't support $expand.- Returns:
- a
List<InternalDomainFederation>
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsAdminManaged
Gets the isAdminManaged property value. The value of the property is false if the DNS record management of the domain is delegated to Microsoft 365. Otherwise, the value is true. Not nullable- Returns:
- a
Boolean
-
getIsDefault
Gets the isDefault property value. true if this is the default domain that is used for user creation. There's only one default domain per company. Not nullable.- Returns:
- a
Boolean
-
getIsInitial
Gets the isInitial property value. true if this is the initial domain created by Microsoft Online Services (contoso.com). There's only one initial domain per company. Not nullable- Returns:
- a
Boolean
-
getIsRoot
Gets the isRoot property value. true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable.- Returns:
- a
Boolean
-
getIsVerified
Gets the isVerified property value. true if the domain completed domain ownership verification. Not nullable.- Returns:
- a
Boolean
-
getManufacturer
Gets the manufacturer property value. The manufacturer property- Returns:
- a
String
-
getModel
Gets the model property value. The model property- Returns:
- a
String
-
getPasswordNotificationWindowInDays
Gets the passwordNotificationWindowInDays property value. Specifies the number of days before a user receives notification that their password expires. If the property isn't set, a default value of 14 days is used.- Returns:
- a
Integer
-
getPasswordValidityPeriodInDays
Gets the passwordValidityPeriodInDays property value. Specifies the length of time that a password is valid before it must be changed. If the property isn't set, a default value of 90 days is used.- Returns:
- a
Integer
-
getRootDomain
Gets the rootDomain property value. Root domain of a subdomain. Read-only, Nullable. Supports $expand.- Returns:
- a
Domain
-
getServiceConfigurationRecords
Gets the serviceConfigurationRecords property value. DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Doesn't support $expand.- Returns:
- a
List<DomainDnsRecord>
-
getState
Gets the state property value. Status of asynchronous operations scheduled for the domain.- Returns:
- a
DomainState
-
getSupportedServices
Gets the supportedServices property value. The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values that you can add or remove using the API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable. -
getVerificationDnsRecords
Gets the verificationDnsRecords property value. DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Doesn't support $expand.- Returns:
- a
List<DomainDnsRecord>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAuthenticationType
Sets the authenticationType property value. Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Microsoft Entra ID performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable. To update this property in delegated scenarios, the calling app must be assigned the Directory.AccessAsUser.All delegated permission.- Parameters:
value
- Value to set for the authenticationType property.
-
setAvailabilityStatus
Sets the availabilityStatus property value. This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled.- Parameters:
value
- Value to set for the availabilityStatus property.
-
setDomainNameReferences
Sets the domainNameReferences property value. The objects such as users and groups that reference the domain ID. Read-only, Nullable. Doesn't support $expand. Supports $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group.- Parameters:
value
- Value to set for the domainNameReferences property.
-
setFederationConfiguration
Sets the federationConfiguration property value. Domain settings configured by a customer when federated with Microsoft Entra ID. Doesn't support $expand.- Parameters:
value
- Value to set for the federationConfiguration property.
-
setIsAdminManaged
Sets the isAdminManaged property value. The value of the property is false if the DNS record management of the domain is delegated to Microsoft 365. Otherwise, the value is true. Not nullable- Parameters:
value
- Value to set for the isAdminManaged property.
-
setIsDefault
Sets the isDefault property value. true if this is the default domain that is used for user creation. There's only one default domain per company. Not nullable.- Parameters:
value
- Value to set for the isDefault property.
-
setIsInitial
Sets the isInitial property value. true if this is the initial domain created by Microsoft Online Services (contoso.com). There's only one initial domain per company. Not nullable- Parameters:
value
- Value to set for the isInitial property.
-
setIsRoot
Sets the isRoot property value. true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable.- Parameters:
value
- Value to set for the isRoot property.
-
setIsVerified
Sets the isVerified property value. true if the domain completed domain ownership verification. Not nullable.- Parameters:
value
- Value to set for the isVerified property.
-
setManufacturer
Sets the manufacturer property value. The manufacturer property- Parameters:
value
- Value to set for the manufacturer property.
-
setModel
Sets the model property value. The model property- Parameters:
value
- Value to set for the model property.
-
setPasswordNotificationWindowInDays
Sets the passwordNotificationWindowInDays property value. Specifies the number of days before a user receives notification that their password expires. If the property isn't set, a default value of 14 days is used.- Parameters:
value
- Value to set for the passwordNotificationWindowInDays property.
-
setPasswordValidityPeriodInDays
Sets the passwordValidityPeriodInDays property value. Specifies the length of time that a password is valid before it must be changed. If the property isn't set, a default value of 90 days is used.- Parameters:
value
- Value to set for the passwordValidityPeriodInDays property.
-
setRootDomain
Sets the rootDomain property value. Root domain of a subdomain. Read-only, Nullable. Supports $expand.- Parameters:
value
- Value to set for the rootDomain property.
-
setServiceConfigurationRecords
Sets the serviceConfigurationRecords property value. DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Doesn't support $expand.- Parameters:
value
- Value to set for the serviceConfigurationRecords property.
-
setState
Sets the state property value. Status of asynchronous operations scheduled for the domain.- Parameters:
value
- Value to set for the state property.
-
setSupportedServices
Sets the supportedServices property value. The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values that you can add or remove using the API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable.- Parameters:
value
- Value to set for the supportedServices property.
-
setVerificationDnsRecords
Sets the verificationDnsRecords property value. DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Doesn't support $expand.- Parameters:
value
- Value to set for the verificationDnsRecords property.
-