def METHOD_NAME(self):
    _content_value, _builder = self.new_content_builder(
        self.ctx.args,
        typ=AAZObjectType,
        typ_kwargs={"flags": {"required": True, "client_flatten": True}}
    )
    _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})
    properties = _builder.get(".properties")
    if properties is not None:
        properties.set_prop("requiresClientAuthorization", AAZBoolType, ".requires_client_authorization")
        properties.set_prop("userMetadata", AAZStrType, ".user_metadata")
    return self.serialize_content(_content_value)