XfitPolicyProjection#
- class XfitPolicyProjection(policy_type=None, name=None, description=None, updated_time=None, is_default=False, is_enabled=True, categories=None, parameters=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
XfitPolicy
- Parameters:
policy_type – (
policy_type
)name (min=1 chars, max=256 chars) – (
name
) The name of the policy.description (min=1 chars, max=512 chars) – (
description
) The description of the policy.updated_time – (
updated_time
) Last updated time of the policy in ISO-8601 format.is_default – (
is_default
) Indicates whether the policy is applied by default. (Default False)is_enabled (required) – (
is_enabled
) Indicates if the policy is enabled or disabled. (Default True)categories (required) – (
categories
) List of associated category details for the policy.parameters (required) – (
parameters
) Key value pairs for the relevant properties of a policy. For example, it can hold the lookback period for an Inefficiency exclusion policy.ext_id – (
ext_id
) A globally unique identifier of an instance that is suitable for external consumption.links – (
links
) A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.tenant_id – (
tenant_id
) A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model