[docs]classCassandraKeyspace(Cassandra):"""Description"""type_name:str=Field(default="CassandraKeyspace",allow_mutation=False)@validator("type_name")defvalidate_type_name(cls,v):ifv!="CassandraKeyspace":raiseValueError("must be CassandraKeyspace")returnvdef__setattr__(self,name,value):ifnameinCassandraKeyspace._convenience_properties:returnobject.__setattr__(self,name,value)super().__setattr__(name,value)CASSANDRA_KEYSPACE_DURABLE_WRITES:ClassVar[BooleanField]=BooleanField("cassandraKeyspaceDurableWrites","cassandraKeyspaceDurableWrites")""" Indicates whether durable writes are enabled for the CassandraKeyspace. """CASSANDRA_KEYSPACE_REPLICATION:ClassVar[KeywordField]=KeywordField("cassandraKeyspaceReplication","cassandraKeyspaceReplication")""" Replication class for the CassandraKeyspace. """CASSANDRA_KEYSPACE_VIRTUAL:ClassVar[BooleanField]=BooleanField("cassandraKeyspaceVirtual","cassandraKeyspaceVirtual")""" Indicates whether the CassandraKeyspace is virtual. """CASSANDRA_KEYSPACE_QUERY:ClassVar[KeywordField]=KeywordField("cassandraKeyspaceQuery","cassandraKeyspaceQuery")""" Query associated with the CassandraKeyspace. """CASSANDRA_TABLES:ClassVar[RelationField]=RelationField("cassandraTables")""" TBC """CASSANDRA_VIEWS:ClassVar[RelationField]=RelationField("cassandraViews")""" TBC """_convenience_properties:ClassVar[List[str]]=["cassandra_keyspace_durable_writes","cassandra_keyspace_replication","cassandra_keyspace_virtual","cassandra_keyspace_query","cassandra_tables","cassandra_views",]@propertydefcassandra_keyspace_durable_writes(self)->Optional[bool]:return(Noneifself.attributesisNoneelseself.attributes.cassandra_keyspace_durable_writes)@cassandra_keyspace_durable_writes.setterdefcassandra_keyspace_durable_writes(self,cassandra_keyspace_durable_writes:Optional[bool]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.cassandra_keyspace_durable_writes=(cassandra_keyspace_durable_writes)@propertydefcassandra_keyspace_replication(self)->Optional[Dict[str,str]]:return(Noneifself.attributesisNoneelseself.attributes.cassandra_keyspace_replication)@cassandra_keyspace_replication.setterdefcassandra_keyspace_replication(self,cassandra_keyspace_replication:Optional[Dict[str,str]]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.cassandra_keyspace_replication=cassandra_keyspace_replication@propertydefcassandra_keyspace_virtual(self)->Optional[bool]:return(Noneifself.attributesisNoneelseself.attributes.cassandra_keyspace_virtual)@cassandra_keyspace_virtual.setterdefcassandra_keyspace_virtual(self,cassandra_keyspace_virtual:Optional[bool]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.cassandra_keyspace_virtual=cassandra_keyspace_virtual@propertydefcassandra_keyspace_query(self)->Optional[str]:return(Noneifself.attributesisNoneelseself.attributes.cassandra_keyspace_query)@cassandra_keyspace_query.setterdefcassandra_keyspace_query(self,cassandra_keyspace_query:Optional[str]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.cassandra_keyspace_query=cassandra_keyspace_query@propertydefcassandra_tables(self)->Optional[List[CassandraTable]]:returnNoneifself.attributesisNoneelseself.attributes.cassandra_tables@cassandra_tables.setterdefcassandra_tables(self,cassandra_tables:Optional[List[CassandraTable]]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.cassandra_tables=cassandra_tables@propertydefcassandra_views(self)->Optional[List[CassandraView]]:returnNoneifself.attributesisNoneelseself.attributes.cassandra_views@cassandra_views.setterdefcassandra_views(self,cassandra_views:Optional[List[CassandraView]]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.cassandra_views=cassandra_viewsclassAttributes(Cassandra.Attributes):cassandra_keyspace_durable_writes:Optional[bool]=Field(default=None,description="")cassandra_keyspace_replication:Optional[Dict[str,str]]=Field(default=None,description="")cassandra_keyspace_virtual:Optional[bool]=Field(default=None,description="")cassandra_keyspace_query:Optional[str]=Field(default=None,description="")cassandra_tables:Optional[List[CassandraTable]]=Field(default=None,description="")# relationshipcassandra_views:Optional[List[CassandraView]]=Field(default=None,description="")# relationshipattributes:CassandraKeyspace.Attributes=Field(default_factory=lambda:CassandraKeyspace.Attributes(),description=("Map of attributes in the instance and their values. ""The specific keys of this map will vary by type, ""so are described in the sub-types of this schema."),)