# Path: fds/model/put_object_result.py
# class PutObjectResult(object):
#   '''
#   The Put Object Result class.
#   '''
# 
#   def __init__(self, json):
#     self.bucket_name = json['bucketName']
#     self.object_name = json['objectName']
#     self.access_key_id = json['accessKeyId']
#     self.signature = json['signature']
#     self.expires = json['expires']
#     if 'previousVersionId' in json:
#       self.previous_version_id = json['previousVersionId']
#     else:
#       self.previous_version_id = None


from fds.model.put_object_result import PutObjectResult


class CopyObjectResult(PutObjectResult):
  def from_put_object_result(self, put_object_result):
    self.access_key_id = put_object_result.access_key_id
    self.bucket_name = put_object_result.bucket_name
    self.expires = put_object_result.expires
    self.object_name = put_object_result.object_name

# Path: fds/model/put_object_result.py
# class PutObjectResult(object):
#   '''
#   The Put Object Result class.
#   '''
# 
#   def __init__(self, json):
#     self.bucket_name = json['bucketName']
#     self.object_name = json['objectName']
#     self.access_key_id = json['accessKeyId']
#     self.signature = json['signature']
#     self.expires = json['expires']
#     if 'previousVersionId' in json:
#       self.previous_version_id = json['previousVersionId']
#     else:
#       self.previous_version_id = None


# Path: fds/model/copy_object_result.py
from fds.model.put_object_result import PutObjectResult



class CopyObjectResult(PutObjectResult):
  def from_put_object_result(self, put_object_result):
    self.access_key_id = put_object_result.access_key_id
    self.bucket_name = put_object_result.bucket_name
    self.expires = put_object_result.expires
    self.object_name = put_object_result.object_name

    self.previous_version_id = put_object_result.previous_version_id