mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Fix parsing when space is disabled
This commit is contained in:
		
							parent
							
								
									f06c030813
								
							
						
					
					
						commit
						21969fa98c
					
				| @ -51,10 +51,10 @@ data class OwnerResponse( | ||||
| 
 | ||||
| @JsonClass(generateAdapter = true) | ||||
| data class QuotaResponse( | ||||
|     val remaining: Long, | ||||
|     val state: String, | ||||
|     val remaining: Long?, | ||||
|     val state: String?, | ||||
|     val total: Long, | ||||
|     val used: Long | ||||
|     val used: Long?, | ||||
| ) | ||||
| 
 | ||||
| @JsonClass(generateAdapter = true) | ||||
| @ -62,7 +62,8 @@ data class RootResponse( | ||||
|     val eTag: String, | ||||
|     val id: String, | ||||
|     val permissions: List<PermissionResponse>?, | ||||
|     val webDavUrl: String | ||||
|     val webDavUrl: String, | ||||
|     val deleted: DeleteResponse?, | ||||
| ) | ||||
| 
 | ||||
| @JsonClass(generateAdapter = true) | ||||
| @ -92,6 +93,11 @@ data class GrantedToResponse( | ||||
|     val user: UserResponse | ||||
| ) | ||||
| 
 | ||||
| @JsonClass(generateAdapter = true) | ||||
| data class DeleteResponse( | ||||
|     val state: String, | ||||
| ) | ||||
| 
 | ||||
| @JsonClass(generateAdapter = true) | ||||
| data class PermissionResponse( | ||||
|     val grantedTo: List<GrantedToResponse>, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user