* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			275 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			275 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from typing import Optional
 | 
						|
 | 
						|
from pydantic import BaseModel, ConfigDict
 | 
						|
 | 
						|
 | 
						|
class UpdateShortlinkRequest(BaseModel):
 | 
						|
    """Request to update a shortlink."""
 | 
						|
 | 
						|
    password: Optional[str] = None
 | 
						|
 | 
						|
    restrict_to_org: bool
 | 
						|
 | 
						|
    model_config = ConfigDict(protected_namespaces=())
 |