Class OrgContact

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class OrgContact extends DirectoryObject implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Org Contact.
  • Field Details

    • addresses

      @SerializedName(value="addresses", alternate="Addresses") @Expose @Nullable public List<PhysicalOfficeAddress> addresses
      The Addresses. Postal addresses for this organizational contact. For now a contact can only have one physical address.
    • companyName

      @SerializedName(value="companyName", alternate="CompanyName") @Expose @Nullable public String companyName
      The Company Name. Name of the company that this organizational contact belong to. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • department

      @SerializedName(value="department", alternate="Department") @Expose @Nullable public String department
      The Department. The name for the department in which the contact works. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
    • givenName

      @SerializedName(value="givenName", alternate="GivenName") @Expose @Nullable public String givenName
      The Given Name. First name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • jobTitle

      @SerializedName(value="jobTitle", alternate="JobTitle") @Expose @Nullable public String jobTitle
      The Job Title. Job title for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • mail

      @SerializedName(value="mail", alternate="Mail") @Expose @Nullable public String mail
      The Mail. The SMTP address for the contact, for example, 'jeff@contoso.onmicrosoft.com'. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • mailNickname

      @SerializedName(value="mailNickname", alternate="MailNickname") @Expose @Nullable public String mailNickname
      The Mail Nickname. Email alias (portion of email address pre-pending the @ symbol) for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • onPremisesLastSyncDateTime

      @SerializedName(value="onPremisesLastSyncDateTime", alternate="OnPremisesLastSyncDateTime") @Expose @Nullable public OffsetDateTime onPremisesLastSyncDateTime
      The On Premises Last Sync Date Time. Date and time when this organizational contact was last synchronized from on-premises AD. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, not, ge, le, in).
    • onPremisesProvisioningErrors

      @SerializedName(value="onPremisesProvisioningErrors", alternate="OnPremisesProvisioningErrors") @Expose @Nullable public List<OnPremisesProvisioningError> onPremisesProvisioningErrors
      The On Premises Provisioning Errors. List of any synchronization provisioning errors for this organizational contact. Supports $filter (eq, not).
    • onPremisesSyncEnabled

      @SerializedName(value="onPremisesSyncEnabled", alternate="OnPremisesSyncEnabled") @Expose @Nullable public Boolean onPremisesSyncEnabled
      The On Premises Sync Enabled. true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced and now mastered in Exchange; null if this object has never been synced from an on-premises directory (default). Supports $filter (eq, ne, not, in, and eq on null values).
    • phones

      @SerializedName(value="phones", alternate="Phones") @Expose @Nullable public List<Phone> phones
      The Phones. List of phones for this organizational contact. Phone types can be mobile, business, and businessFax. Only one of each type can ever be present in the collection. Supports $filter (eq, ne, not, in).
    • proxyAddresses

      @SerializedName(value="proxyAddresses", alternate="ProxyAddresses") @Expose @Nullable public List<String> proxyAddresses
      The Proxy Addresses. For example: 'SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'. The any operator is required for filter expressions on multi-valued properties. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections).
    • surname

      @SerializedName(value="surname", alternate="Surname") @Expose @Nullable public String surname
      The Surname. Last name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values)
    • directReports

      @Nullable public DirectoryObjectCollectionPage directReports
      The Direct Reports. The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.
    • manager

      @SerializedName(value="manager", alternate="Manager") @Expose @Nullable public DirectoryObject manager
      The Manager. The user or contact that is this contact's manager. Read-only. Supports $expand.
    • memberOf

      @Nullable public DirectoryObjectCollectionPage memberOf
      The Member Of. Groups that this contact is a member of. Read-only. Nullable. Supports $expand.
    • transitiveMemberOf

      @Nullable public DirectoryObjectCollectionPage transitiveMemberOf
      The Transitive Member Of.
  • Constructor Details

    • OrgContact

      public OrgContact()
  • 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class DirectoryObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to