ApplicationBranch

ApplicationBranch
ApplicationBranch

Holds the information about a single branch of applications.

AllOf
This class requires all of the following:
JSON Example
{
    "product": {
        "created_at": "2022-11-14T16:00:00.000Z",
        "updated_at": "2022-11-14T16:00:00.000Z",
        "applied_policy": {
            "deprecation_policy": {
                "key": "wordpress-6-deprecation",
                "name": "Deprecation of Wordpress 6",
                "deprecation_date": "2022-12-14T00:00:00.000Z",
                "grace_period_days": 30,
                "reason": "We will only maintain newest versions of Wordpress",
                "alternative": "Wordpress 7 can be used instead",
                "deprecation_policy_id": "49b8ee44-2945-4d93-8e87-a608399cfc3a"
            },
            "nonsupport_policy": {
                "key": "memcached-nonsupport",
                "name": "Memcached is not supported anymore",
                "reason": "Upstream project has been discontinued.",
                "nonsupport_policy_id": "49b8ee44-2945-4d93-8e87-a608399cfc3a"
            }
        },
        "marked_draft": false
    },
    "branch": {
        "latest_discovered_version": {
            "version": "6.1",
            "version_id": "22303119-5443-40b5-b95f-8914e7709ca5",
            "license": {
                "license_id": "99a07a3f-25fd-4dcb-9bf1-cdcb375033ca",
                "name": "APACHE2"
            },
            "discovered_at": "2022-11-14T16:00:00.000Z"
        }
    },
    "versions": [
        {
            "version": {
                "version": "6.1",
                "version_id": "22303119-5443-40b5-b95f-8914e7709ca5",
                "license": {
                    "license_id": "99a07a3f-25fd-4dcb-9bf1-cdcb375033ca",
                    "name": "APACHE2"
                },
                "discovered_at": "2022-11-14T16:00:00.000Z"
            },
            "platforms": [
                {
                    "created_at": "2022-11-14T16:00:00.000Z",
                    "updated_at": "2022-11-14T16:00:00.000Z",
                    "platform": {
                        "created_at": "2022-11-14T16:00:00.000Z",
                        "updated_at": "2022-11-14T16:00:00.000Z",
                        "distro": {
                            "key": "debian-11",
                            "os": "debian",
                            "version": "11",
                            "name": "Debian 11",
                            "fips_compliant": true,
                            "os_family": "linux",
                            "public_offering": true,
                            "distro_id": "b1471ead-0a0e-4069-b8b5-59780b57d17f"
                        },
                        "applied_policy": {
                            "deprecation_policy": {
                                "key": "wordpress-6-deprecation",
                                "name": "Deprecation of Wordpress 6",
                                "deprecation_date": "2022-12-14T00:00:00.000Z",
                                "grace_period_days": 30,
                                "reason": "We will only maintain newest versions of Wordpress",
                                "alternative": "Wordpress 7 can be used instead",
                                "deprecation_policy_id": "49b8ee44-2945-4d93-8e87-a608399cfc3a"
                            },
                            "nonsupport_policy": {
                                "key": "memcached-nonsupport",
                                "name": "Memcached is not supported anymore",
                                "reason": "Upstream project has been discontinued.",
                                "nonsupport_policy_id": "49b8ee44-2945-4d93-8e87-a608399cfc3a"
                            }
                        },
                        "marked_draft": false
                    },
                    "status": "string",
                    "applied_policy": {
                        "deprecation_policy": {
                            "key": "wordpress-6-deprecation",
                            "name": "Deprecation of Wordpress 6",
                            "deprecation_date": "2022-12-14T00:00:00.000Z",
                            "grace_period_days": 30,
                            "reason": "We will only maintain newest versions of Wordpress",
                            "alternative": "Wordpress 7 can be used instead",
                            "deprecation_policy_id": "49b8ee44-2945-4d93-8e87-a608399cfc3a"
                        },
                        "nonsupport_policy": {
                            "key": "memcached-nonsupport",
                            "name": "Memcached is not supported anymore",
                            "reason": "Upstream project has been discontinued.",
                            "nonsupport_policy_id": "49b8ee44-2945-4d93-8e87-a608399cfc3a"
                        }
                    },
                    "testing_environments_features": [
                        "fips-compliant",
                        "arm64-compliant"
                    ],
                    "latest_built_version": {
                        "version": "6.1",
                        "version_id": "22303119-5443-40b5-b95f-8914e7709ca5",
                        "license": {
                            "license_id": "99a07a3f-25fd-4dcb-9bf1-cdcb375033ca",
                            "name": "APACHE2"
                        },
                        "discovered_at": "2022-11-14T16:00:00.000Z"
                    },
                    "last_built_at": "2023-10-20T13:56:27.000Z"
                }
            ]
        }
    ]
}