GetLatestUserAgreementResponse¶
- pydantic model openapi_client.models.get_latest_user_agreement_response.GetLatestUserAgreementResponse¶
GET /user-agreements/latest-version 200 body. Stored fields plus S3PresignedUrl. None are required in the schema because a non-empty projectionExpression is accepted (and currently fails at runtime).
- Fields:
- field agreement_name: Optional[StrictStr] = None (alias 'AgreementName')¶
Unique agreement name.
- field description: Optional[StrictStr] = None (alias 'Description')¶
Free-text description. Default agreement uses Default Agreement.
- field version: Optional[StrictStr] = None (alias 'Version')¶
Unix epoch seconds as a decimal string. Latest is the maximum value.
- field s3_path: Optional[StrictStr] = None (alias 'S3Path')¶
s3 URI of the markdown object. Required internally to build S3PresignedUrl.
- field s3_presigned_url: Optional[StrictStr] = None (alias 'S3PresignedUrl')¶
GET URL for the markdown file. Added after projection. Expires in 3600 seconds. Always present on a successful response when projectionExpression is omitted.
- field created_by: Optional[StrictStr] = None (alias 'CreatedBy')¶
Creating user id. System when the default agreement is auto-created.
- field creation_time: Optional[StrictStr] = None (alias 'CreationTime')¶
Create timestamp at agreement creation.
- 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 GetLatestUserAgreementResponse 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 GetLatestUserAgreementResponse from a dict
- Return type:
Optional[Self]