Class GetProfileObjectTypeTemplateResponse

    • Method Detail

      • templateId

        public final String templateId()

        A unique identifier for the object template.

        Returns:
        A unique identifier for the object template.
      • sourceName

        public final String sourceName()

        The name of the source of the object template.

        Returns:
        The name of the source of the object template.
      • sourceObject

        public final String sourceObject()

        The source of the object template.

        Returns:
        The source of the object template.
      • allowProfileCreation

        public final Boolean allowProfileCreation()

        Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE. If the AllowProfileCreation flag is set to FALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE, and if no match is found, then the service creates a new standard profile.

        Returns:
        Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE. If the AllowProfileCreation flag is set to FALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE, and if no match is found, then the service creates a new standard profile.
      • sourceLastUpdatedTimestampFormat

        public final String sourceLastUpdatedTimestampFormat()

        The format of your sourceLastUpdatedTimestamp that was previously set up.

        Returns:
        The format of your sourceLastUpdatedTimestamp that was previously set up.
      • hasFields

        public final boolean hasFields()
        For responses, this returns true if the service returned a value for the Fields property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • fields

        public final Map<String,​ObjectTypeField> fields()

        A map of the name and ObjectType field.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasFields() method.

        Returns:
        A map of the name and ObjectType field.
      • hasKeys

        public final boolean hasKeys()
        For responses, this returns true if the service returned a value for the Keys property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • keys

        public final Map<String,​List<ObjectTypeKey>> keys()

        A list of unique keys that can be used to map data to the profile.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasKeys() method.

        Returns:
        A list of unique keys that can be used to map data to the profile.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object