All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.findify.s3mock.response.ListAllMyBuckets.scala Maven / Gradle / Ivy

The newest version!
package io.findify.s3mock.response

import akka.http.scaladsl.model.DateTime


/**
  * Created by shutty on 8/9/16.
  */
case class Bucket(name:String, creationDate:DateTime)
case class ListAllMyBuckets(ownerName:String, ownerUUID:String, buckets:List[Bucket]) {
  def toXML =
    
      
        {ownerUUID}
        {ownerName}
      
      
        {
        buckets.map(bucket =>
          
            {bucket.name}
            {bucket.creationDate.toString}Z
          )
        }
      
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy