46 lines
		
	
	
		
			896 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			896 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Core.Abstractions.Models;
 | |
| using Core.DomainObjects.L10n;
 | |
| 
 | |
| namespace WeatherForecast.Models.Responses.L10n {
 | |
| 
 | |
|   /// <summary>
 | |
|   /// 
 | |
|   /// </summary>
 | |
|   public class MediaAttachmentL10nModel : ResponseModelBase {
 | |
| 
 | |
|     /// <summary>
 | |
|     /// 
 | |
|     /// </summary>
 | |
|     public string Locale { get; set; }
 | |
| 
 | |
|     /// <summary>
 | |
|     /// 
 | |
|     /// </summary>
 | |
|     public string Alt { get; set; }
 | |
| 
 | |
|     /// <summary>
 | |
|     /// 
 | |
|     /// </summary>
 | |
|     public string? Target { get; set; }
 | |
|     
 | |
|     /// <summary>
 | |
|     /// 
 | |
|     /// </summary>
 | |
|     public string? Title { get; set; }
 | |
|     
 | |
|     /// <summary>
 | |
|     /// 
 | |
|     /// </summary>
 | |
|     public string? Description { get; set; }
 | |
| 
 | |
|     /// <summary>
 | |
|     /// 
 | |
|     /// </summary>
 | |
|     /// <param name="imageL10n"></param>
 | |
|     public MediaAttachmentL10nModel(MediaAttachmentL10n imageL10n) {
 | |
|       Locale = imageL10n.Locale.Name;
 | |
|       Alt = imageL10n.Alt;
 | |
|     }
 | |
|   }
 | |
| }
 |