AccessTokenPutInput

pydantic model openapi_client.models.access_token_put_input.AccessTokenPutInput

Body used when operation=update. Ignored for activate and deactivate. For update, body is required at the event level (else GE-1001); fields themselves are optional and fall back to existing DynamoDB values. Providing only one of ExpirationAlertOne/Two on an old token without both stored values returns IPV-1008.

Fields:
field description: Optional[StrictStr] = None (alias 'Description')

Updated description . Defaults to existing Description.

field expiration_alert_one: Optional[StrictInt] = None (alias 'ExpirationAlertOne')

Updated first reminder days. Same validation rules as create when both alerts are present.

field expiration_alert_two: Optional[StrictInt] = None (alias 'ExpirationAlertTwo')

Updated second reminder days. Must be smaller than ExpirationAlertOne.

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 AccessTokenPutInput 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 AccessTokenPutInput from a dict

Return type:

Optional[Self]