GuardRailSummary¶
- pydantic model openapi_client.models.guard_rail_summary.GuardRailSummary¶
Summary information about a guard rail for listing.
- Fields:
- field guard_rail_id: Optional[StrictStr] = None (alias 'GuardRailId')¶
The unique identifier of the guard rail.
- field guard_rail_name: Optional[StrictStr] = None (alias 'GuardRailName')¶
The name of the guard rail.
- field guard_rail_version: Optional[StrictStr] = None (alias 'GuardRailVersion')¶
The version of the guard rail (e.g., DRAFT).
- field description: Optional[StrictStr] = None (alias 'Description')¶
The description of the guard rail.
- field tier: Optional[StrictStr] = None (alias 'Tier')¶
The tier of the guard rail (CLASSIC or STANDARD).
- field is_cross_region_enabled: Optional[StrictBool] = None (alias 'IsCrossRegionEnabled')¶
Whether cross-region configuration is enabled for the guard rail.
- field scope: Optional[StrictStr] = None (alias 'Scope')¶
The scope of the guard rail (global or private).
- field owner: Optional[StrictStr] = None (alias 'Owner')¶
The owner of the guard rail (user ID for private, system user for global scope).
- field last_modified_time: Optional[StrictStr] = None (alias 'LastModifiedTime')¶
The timestamp when the guard rail was last modified.
- field last_modified_by: Optional[StrictStr] = None (alias 'LastModifiedBy')¶
The user who last modified the guard rail.
- field is_default: Optional[StrictBool] = None (alias 'IsDefault')¶
Whether the guard rail is the default guard rail.
- field created_by: Optional[StrictStr] = None (alias 'CreatedBy')¶
The user who created the guard rail.
- field creation_time: Optional[StrictStr] = None (alias 'CreationTime')¶
The timestamp when the guard rail was created.
- field access_type: Optional[StrictStr] = None (alias 'AccessType')¶
The access type of the guard rail.
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of GuardRailSummary from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of GuardRailSummary from a dict
- Return type:
Optional[Self]