ansys.sherlock.core.types.layer_types.RectangularShape#
- class ansys.sherlock.core.types.layer_types.RectangularShape(**data)#
Contains the properties for a rectangular shape.
Methods
RectangularShape.construct
([_fields_set])RectangularShape.copy
(*[, include, exclude, ...])Returns a copy of the model.
RectangularShape.dict
(*[, include, exclude, ...])RectangularShape.json
(*[, include, exclude, ...])RectangularShape.model_construct
([_fields_set])Creates a new instance of the Model class with validated data.
RectangularShape.model_copy
(*[, update, deep])!!! abstract "Usage Documentation"
RectangularShape.model_dump
(*[, mode, ...])!!! abstract "Usage Documentation"
RectangularShape.model_dump_json
(*[, ...])!!! abstract "Usage Documentation"
Generates a JSON schema for a model class.
Compute the class name for parametrizations of generic classes.
RectangularShape.model_post_init
(context, /)Override this method to perform additional initialization after __init__ and model_construct.
RectangularShape.model_rebuild
(*[, force, ...])Try to rebuild the pydantic-core schema for the model.
RectangularShape.model_validate
(obj, *[, ...])Validate a pydantic model instance.
RectangularShape.model_validate_json
(...[, ...])!!! abstract "Usage Documentation"
Validate the given object with string data against the Pydantic model.
RectangularShape.parse_file
(path, *[, ...])RectangularShape.parse_raw
(b, *[, ...])RectangularShape.schema
([by_alias, ref_template])RectangularShape.schema_json
(*[, by_alias, ...])RectangularShape.update_forward_refs
(**localns)RectangularShape.validate
(value)Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Get extra fields set during validation.
Returns the set of fields that have been explicitly set on this model instance.
float
float
float
float
float