Enum CMAType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CMAType>

    public enum CMAType
    extends java.lang.Enum<CMAType>
    A Contentful resource will be of one of those types. If a new type gets added, this enum will be set to null.
    • Enum Constant Detail

      • ApiKey

        public static final CMAType ApiKey
      • Array

        public static final CMAType Array
      • Asset

        public static final CMAType Asset
      • BulkAction

        public static final CMAType BulkAction
      • ContentType

        public static final CMAType ContentType
      • EditorInterface

        public static final CMAType EditorInterface
      • Entry

        public static final CMAType Entry
      • Error

        public static final CMAType Error
      • Environment

        public static final CMAType Environment
      • Link

        public static final CMAType Link
      • Locale

        public static final CMAType Locale
      • Organization

        public static final CMAType Organization
      • OrganizationPeriodicUsage

        public static final CMAType OrganizationPeriodicUsage
      • SpacePeriodicUsage

        public static final CMAType SpacePeriodicUsage
      • PersonalAccessToken

        public static final CMAType PersonalAccessToken
      • PreviewApiKey

        public static final CMAType PreviewApiKey
      • Role

        public static final CMAType Role
      • ScheduledAction

        public static final CMAType ScheduledAction
      • Snapshot

        public static final CMAType Snapshot
      • Space

        public static final CMAType Space
      • SpaceMembership

        public static final CMAType SpaceMembership
      • Tag

        public static final CMAType Tag
      • Upload

        public static final CMAType Upload
      • User

        public static final CMAType User
      • UiExtension

        @SerializedName("Extension")
        public static final CMAType UiExtension
      • Webhook

        public static final CMAType Webhook
      • WebhookCallOverview

        public static final CMAType WebhookCallOverview
      • WebhookDefinition

        public static final CMAType WebhookDefinition
    • Method Detail

      • values

        public static CMAType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CMAType c : CMAType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CMAType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null