text: # coding: utf-8
  
  """
      Cloud Manager API
  
      This API allows access to Cloud Manager programs, pipelines, and environments by an authorized technical account created through the Adobe I/O Console. The base url for this API is https://cloudmanager.adobe.io, e.g. to get the list of programs for an organization, you would make a GET request to https://cloudmanager.adobe.io/api/programs (with the correct set of headers as described below). This swagger file can be downloaded from https://raw.githubusercontent.com/AdobeDocs/cloudmanager-api-docs/master/swagger-specs/api.yaml.  # noqa: E501
  
      The version of the OpenAPI document: 1.0.0
      Contact: opensource@shinesolutions.com
      Generated by: https://openapi-generator.tech
  """
  
  
  from __future__ import absolute_import
  
  import unittest
  import datetime
  
  import pyaemcloudmanagerapi
  from pyaemcloudmanagerapi.models.environment_log import EnvironmentLog  # noqa: E501
  from pyaemcloudmanagerapi.rest import ApiException
  
  class TestEnvironmentLog(unittest.TestCase):
      """EnvironmentLog unit test stubs"""
  
      def setUp(self):
          pass
  
      def tearDown(self):
          pass
  
      def make_instance(self, include_optional):
          """Test EnvironmentLog
              include_option is a boolean, when False only required
              params are included, when True both required and
              optional params are included """
          # model = pyaemcloudmanagerapi.models.environment_log.EnvironmentLog()  # noqa: E501
          if include_optional :
              return EnvironmentLog(
                  service = 'author', 
                  name = 'aemerror', 
                  date = '2019-04-05', 
                  program_id = 56, 
                  environment_id = 56, 
                  links = pyaemcloudmanagerapi.models.environment_log__links.EnvironmentLog__links(
                      http://ns/adobe/com/adobecloud/rel/logs/download = pyaemcloudmanagerapi.models.hal_link.HalLink(
                          href = '0', 
                          templated = True, 
                          type = '0', 
                          deprecation = '0', 
                          profile = '0', 
                          title = '0', 
                          hreflang = '0', 
                          name = '0', ), 
                      http://ns/adobe/com/adobecloud/rel/logs/tail = pyaemcloudmanagerapi.models.hal_link.HalLink(
                          href = '0', 
                          templated = True, 
                          type = '0', 
                          deprecation = '0', 
                          profile = '0', 
                          title = '0', 
                          hreflang = '0', 
                          name = '0', ), )
              )
          else :
              return EnvironmentLog(
          )
  
      def testEnvironmentLog(self):
          """Test EnvironmentLog"""
          inst_req_only = self.make_instance(include_optional=False)
          inst_req_and_optional = self.make_instance(include_optional=True)
  
  
  if __name__ == '__main__':
      unittest.main()
  