Service#

class Service(name=None, license_type=None, is_compliant=None, enforcement_level=None, enforcement_actions=None, violations=None, *args, **kwargs)#

Bases: object

Model for capturing Service details.

Parameters:
  • name – (name)

  • license_type – (license_type)

  • is_compliant – (is_compliant) Attribute for capturing the whether the service is compliant.

  • enforcement_level – (enforcement_level)

  • enforcement_actions – (enforcement_actions) Attribute for capturing the list of enforcement actions corresponding to this service.

  • violations – (violations) Attribute for capturing the list of violations corresponding to this service.

property enforcement_actions#

Attribute for capturing the list of enforcement actions corresponding to this service.

Type:

list[ EnforcementActions ]

property enforcement_level#
Type:

EnforcementLevel

property is_compliant#

Attribute for capturing the whether the service is compliant.

Type:

bool

property license_type#
Type:

LicenseType

property name#
Type:

ProductName

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property violations#

Attribute for capturing the list of violations corresponding to this service.

Type:

list[ ServiceViolation ]