Skip to content

Lhcone

Product type for LHCONE.

LHCOneInactive

Bases: BaseL3SubscriptionModel

A LHCOne product that is inactive.

Source code in gso/products/product_types/lhcone.py
class LHCOneInactive(BaseL3SubscriptionModel, is_base=True):
    """A LHCOne product that is inactive."""

    lhcone: LHCOneBlockInactive

    @property
    def l3_core(self) -> L3CoreServiceBlockInactive:
        """Getter: Retrieve the l3_core from the lhcone attribute."""
        return self.lhcone.l3_core

    @l3_core.setter
    def l3_core(self, value: L3CoreServiceBlockInactive) -> None:
        """Setter: Set the l3_core on the lhcone attribute."""
        self.lhcone.l3_core = value

    @property
    def service_name_attribute(self) -> str:
        """Get the service name."""
        return "lhcone"

l3_core property writable

Getter: Retrieve the l3_core from the lhcone attribute.

service_name_attribute property

Get the service name.

LHCOneProvisioning

Bases: LHCOneInactive

A LHCOne product that is being provisioned.

Source code in gso/products/product_types/lhcone.py
class LHCOneProvisioning(LHCOneInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]):
    """A LHCOne product that is being provisioned."""

    lhcone: LHCOneBlockProvisioning

LHCOne

Bases: LHCOneProvisioning

A LHCOne product that is active.

Source code in gso/products/product_types/lhcone.py
class LHCOne(LHCOneProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
    """A LHCOne product that is active."""

    lhcone: LHCOneBlock

ImportedLHCOneInactive

Bases: BaseL3SubscriptionModel

An imported LHCOne product that is inactive.

Source code in gso/products/product_types/lhcone.py
class ImportedLHCOneInactive(BaseL3SubscriptionModel, is_base=True):
    """An imported LHCOne product that is inactive."""

    lhcone: LHCOneBlockInactive

    @property
    def l3_core(self) -> L3CoreServiceBlockInactive:
        """Getter: Retrieve the l3_core from the lhcone attribute."""
        return self.lhcone.l3_core

    @l3_core.setter
    def l3_core(self, value: L3CoreServiceBlockInactive) -> None:
        """Setter: Set the l3_core on the lhcone attribute."""
        self.lhcone.l3_core = value

    @property
    def service_name_attribute(self) -> str:
        """Get the service name."""
        return "lhcone"

l3_core property writable

Getter: Retrieve the l3_core from the lhcone attribute.

service_name_attribute property

Get the service name.

ImportedLHCOne

Bases: ImportedLHCOneInactive

An imported LHCOne product that is active.

Source code in gso/products/product_types/lhcone.py
class ImportedLHCOne(
    ImportedLHCOneInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING, SubscriptionLifecycle.ACTIVE]
):
    """An imported LHCOne product that is active."""

    lhcone: LHCOneBlock