# Path: fds/galaxy_fds_client_exception.py
# class GalaxyFDSClientException(Error):
#   def __init__(self, message):
#     self.message = message
# 
#   def __str__(self):
#     if self.message:
#       return super.__str__(self) + ": " + str(self.message)
#     return super.__str__(self)


from ..galaxy_fds_client_exception import GalaxyFDSClientException


class ListDomainMappingsResult(object):
  '''
  The List Domain Mappings Result class:
  '''

  def __init__(self, json):
    if json is not None:
      if 'domainMappings' in json.keys():
        self.domain_mappings = json['domainMappings']
      else:
        self.domain_mappings = None
    else:

# Path: fds/galaxy_fds_client_exception.py
# class GalaxyFDSClientException(Error):
#   def __init__(self, message):
#     self.message = message
# 
#   def __str__(self):
#     if self.message:
#       return super.__str__(self) + ": " + str(self.message)
#     return super.__str__(self)


# Path: fds/model/list_domain_mappings_result.py
from ..galaxy_fds_client_exception import GalaxyFDSClientException



class ListDomainMappingsResult(object):
  '''
  The List Domain Mappings Result class:
  '''

  def __init__(self, json):
    if json is not None:
      if 'domainMappings' in json.keys():
        self.domain_mappings = json['domainMappings']
      else:
        self.domain_mappings = None
    else:

      raise GalaxyFDSClientException("Json data cannot be None")