eilam_test 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/README.md +0 -15
 - data/docs/SystemType.md +1 -1
 - data/docs/SystemTypeCreate.md +1 -1
 - data/lib/eilam_test/models/system_type.rb +3 -3
 - data/lib/eilam_test/models/system_type_create.rb +3 -3
 - data/lib/eilam_test/version.rb +2 -2
 - data/lib/eilam_test.rb +0 -8
 - data/spec/models/system_type_create_spec.rb +1 -1
 - data/spec/models/system_type_spec.rb +1 -1
 - metadata +62 -94
 - data/docs/Event.md +0 -32
 - data/docs/EventApi.md +0 -276
 - data/docs/User.md +0 -38
 - data/docs/UserApi.md +0 -346
 - data/docs/UserCreate.md +0 -38
 - data/docs/UserUpdate.md +0 -30
 - data/docs/ValidateSystem.md +0 -26
 - data/docs/ValidateSystemApi.md +0 -75
 - data/lib/eilam_test/api/event_api.rb +0 -254
 - data/lib/eilam_test/api/user_api.rb +0 -321
 - data/lib/eilam_test/api/validate_system_api.rb +0 -83
 - data/lib/eilam_test/models/event.rb +0 -289
 - data/lib/eilam_test/models/user.rb +0 -395
 - data/lib/eilam_test/models/user_create.rb +0 -395
 - data/lib/eilam_test/models/user_update.rb +0 -280
 - data/lib/eilam_test/models/validate_system.rb +0 -260
 - data/spec/api/event_api_spec.rb +0 -74
 - data/spec/api/user_api_spec.rb +0 -85
 - data/spec/api/validate_system_api_spec.rb +0 -45
 - data/spec/models/event_spec.rb +0 -76
 - data/spec/models/user_create_spec.rb +0 -94
 - data/spec/models/user_spec.rb +0 -94
 - data/spec/models/user_update_spec.rb +0 -70
 - data/spec/models/validate_system_spec.rb +0 -58
 
| 
         @@ -1,260 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            =begin
         
     | 
| 
       2 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
            The version of the OpenAPI document: 1.0.0
         
     | 
| 
       7 
     | 
    
         
            -
            Contact: autosde@il.ibm.com
         
     | 
| 
       8 
     | 
    
         
            -
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version: 5.0.0
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
            =end
         
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
            require 'date'
         
     | 
| 
       14 
     | 
    
         
            -
            require 'time'
         
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
            module EilamTest
         
     | 
| 
       17 
     | 
    
         
            -
              # ValidateSystem object represents the validation of the storage system credentials.
         
     | 
| 
       18 
     | 
    
         
            -
              class ValidateSystem
         
     | 
| 
       19 
     | 
    
         
            -
                # management_ip
         
     | 
| 
       20 
     | 
    
         
            -
                attr_accessor :management_ip
         
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
                # name
         
     | 
| 
       23 
     | 
    
         
            -
                attr_accessor :name
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
                # password
         
     | 
| 
       26 
     | 
    
         
            -
                attr_accessor :password
         
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
                # system_type
         
     | 
| 
       29 
     | 
    
         
            -
                attr_accessor :system_type
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
                # user
         
     | 
| 
       32 
     | 
    
         
            -
                attr_accessor :user
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       35 
     | 
    
         
            -
                def self.attribute_map
         
     | 
| 
       36 
     | 
    
         
            -
                  {
         
     | 
| 
       37 
     | 
    
         
            -
                    :'management_ip' => :'management_ip',
         
     | 
| 
       38 
     | 
    
         
            -
                    :'name' => :'name',
         
     | 
| 
       39 
     | 
    
         
            -
                    :'password' => :'password',
         
     | 
| 
       40 
     | 
    
         
            -
                    :'system_type' => :'system_type',
         
     | 
| 
       41 
     | 
    
         
            -
                    :'user' => :'user'
         
     | 
| 
       42 
     | 
    
         
            -
                  }
         
     | 
| 
       43 
     | 
    
         
            -
                end
         
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
                # Returns all the JSON keys this model knows about
         
     | 
| 
       46 
     | 
    
         
            -
                def self.acceptable_attributes
         
     | 
| 
       47 
     | 
    
         
            -
                  attribute_map.values
         
     | 
| 
       48 
     | 
    
         
            -
                end
         
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
                # Attribute type mapping.
         
     | 
| 
       51 
     | 
    
         
            -
                def self.openapi_types
         
     | 
| 
       52 
     | 
    
         
            -
                  {
         
     | 
| 
       53 
     | 
    
         
            -
                    :'management_ip' => :'String',
         
     | 
| 
       54 
     | 
    
         
            -
                    :'name' => :'String',
         
     | 
| 
       55 
     | 
    
         
            -
                    :'password' => :'String',
         
     | 
| 
       56 
     | 
    
         
            -
                    :'system_type' => :'String',
         
     | 
| 
       57 
     | 
    
         
            -
                    :'user' => :'String'
         
     | 
| 
       58 
     | 
    
         
            -
                  }
         
     | 
| 
       59 
     | 
    
         
            -
                end
         
     | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
                # List of attributes with nullable: true
         
     | 
| 
       62 
     | 
    
         
            -
                def self.openapi_nullable
         
     | 
| 
       63 
     | 
    
         
            -
                  Set.new([
         
     | 
| 
       64 
     | 
    
         
            -
                  ])
         
     | 
| 
       65 
     | 
    
         
            -
                end
         
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
                # Initializes the object
         
     | 
| 
       68 
     | 
    
         
            -
                # @param [Hash] attributes Model attributes in the form of hash
         
     | 
| 
       69 
     | 
    
         
            -
                def initialize(attributes = {})
         
     | 
| 
       70 
     | 
    
         
            -
                  if (!attributes.is_a?(Hash))
         
     | 
| 
       71 
     | 
    
         
            -
                    fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::ValidateSystem` initialize method"
         
     | 
| 
       72 
     | 
    
         
            -
                  end
         
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
       74 
     | 
    
         
            -
                  # check to see if the attribute exists and convert string to symbol for hash key
         
     | 
| 
       75 
     | 
    
         
            -
                  attributes = attributes.each_with_object({}) { |(k, v), h|
         
     | 
| 
       76 
     | 
    
         
            -
                    if (!self.class.attribute_map.key?(k.to_sym))
         
     | 
| 
       77 
     | 
    
         
            -
                      fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::ValidateSystem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
         
     | 
| 
       78 
     | 
    
         
            -
                    end
         
     | 
| 
       79 
     | 
    
         
            -
                    h[k.to_sym] = v
         
     | 
| 
       80 
     | 
    
         
            -
                  }
         
     | 
| 
       81 
     | 
    
         
            -
             
     | 
| 
       82 
     | 
    
         
            -
                  if attributes.key?(:'management_ip')
         
     | 
| 
       83 
     | 
    
         
            -
                    self.management_ip = attributes[:'management_ip']
         
     | 
| 
       84 
     | 
    
         
            -
                  end
         
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
       86 
     | 
    
         
            -
                  if attributes.key?(:'name')
         
     | 
| 
       87 
     | 
    
         
            -
                    self.name = attributes[:'name']
         
     | 
| 
       88 
     | 
    
         
            -
                  end
         
     | 
| 
       89 
     | 
    
         
            -
             
     | 
| 
       90 
     | 
    
         
            -
                  if attributes.key?(:'password')
         
     | 
| 
       91 
     | 
    
         
            -
                    self.password = attributes[:'password']
         
     | 
| 
       92 
     | 
    
         
            -
                  end
         
     | 
| 
       93 
     | 
    
         
            -
             
     | 
| 
       94 
     | 
    
         
            -
                  if attributes.key?(:'system_type')
         
     | 
| 
       95 
     | 
    
         
            -
                    self.system_type = attributes[:'system_type']
         
     | 
| 
       96 
     | 
    
         
            -
                  end
         
     | 
| 
       97 
     | 
    
         
            -
             
     | 
| 
       98 
     | 
    
         
            -
                  if attributes.key?(:'user')
         
     | 
| 
       99 
     | 
    
         
            -
                    self.user = attributes[:'user']
         
     | 
| 
       100 
     | 
    
         
            -
                  end
         
     | 
| 
       101 
     | 
    
         
            -
                end
         
     | 
| 
       102 
     | 
    
         
            -
             
     | 
| 
       103 
     | 
    
         
            -
                # Show invalid properties with the reasons. Usually used together with valid?
         
     | 
| 
       104 
     | 
    
         
            -
                # @return Array for valid properties with the reasons
         
     | 
| 
       105 
     | 
    
         
            -
                def list_invalid_properties
         
     | 
| 
       106 
     | 
    
         
            -
                  invalid_properties = Array.new
         
     | 
| 
       107 
     | 
    
         
            -
                  invalid_properties
         
     | 
| 
       108 
     | 
    
         
            -
                end
         
     | 
| 
       109 
     | 
    
         
            -
             
     | 
| 
       110 
     | 
    
         
            -
                # Check to see if the all the properties in the model are valid
         
     | 
| 
       111 
     | 
    
         
            -
                # @return true if the model is valid
         
     | 
| 
       112 
     | 
    
         
            -
                def valid?
         
     | 
| 
       113 
     | 
    
         
            -
                  true
         
     | 
| 
       114 
     | 
    
         
            -
                end
         
     | 
| 
       115 
     | 
    
         
            -
             
     | 
| 
       116 
     | 
    
         
            -
                # Checks equality by comparing each attribute.
         
     | 
| 
       117 
     | 
    
         
            -
                # @param [Object] Object to be compared
         
     | 
| 
       118 
     | 
    
         
            -
                def ==(o)
         
     | 
| 
       119 
     | 
    
         
            -
                  return true if self.equal?(o)
         
     | 
| 
       120 
     | 
    
         
            -
                  self.class == o.class &&
         
     | 
| 
       121 
     | 
    
         
            -
                      management_ip == o.management_ip &&
         
     | 
| 
       122 
     | 
    
         
            -
                      name == o.name &&
         
     | 
| 
       123 
     | 
    
         
            -
                      password == o.password &&
         
     | 
| 
       124 
     | 
    
         
            -
                      system_type == o.system_type &&
         
     | 
| 
       125 
     | 
    
         
            -
                      user == o.user
         
     | 
| 
       126 
     | 
    
         
            -
                end
         
     | 
| 
       127 
     | 
    
         
            -
             
     | 
| 
       128 
     | 
    
         
            -
                # @see the `==` method
         
     | 
| 
       129 
     | 
    
         
            -
                # @param [Object] Object to be compared
         
     | 
| 
       130 
     | 
    
         
            -
                def eql?(o)
         
     | 
| 
       131 
     | 
    
         
            -
                  self == o
         
     | 
| 
       132 
     | 
    
         
            -
                end
         
     | 
| 
       133 
     | 
    
         
            -
             
     | 
| 
       134 
     | 
    
         
            -
                # Calculates hash code according to all attributes.
         
     | 
| 
       135 
     | 
    
         
            -
                # @return [Integer] Hash code
         
     | 
| 
       136 
     | 
    
         
            -
                def hash
         
     | 
| 
       137 
     | 
    
         
            -
                  [management_ip, name, password, system_type, user].hash
         
     | 
| 
       138 
     | 
    
         
            -
                end
         
     | 
| 
       139 
     | 
    
         
            -
             
     | 
| 
       140 
     | 
    
         
            -
                # Builds the object from hash
         
     | 
| 
       141 
     | 
    
         
            -
                # @param [Hash] attributes Model attributes in the form of hash
         
     | 
| 
       142 
     | 
    
         
            -
                # @return [Object] Returns the model itself
         
     | 
| 
       143 
     | 
    
         
            -
                def self.build_from_hash(attributes)
         
     | 
| 
       144 
     | 
    
         
            -
                  new.build_from_hash(attributes)
         
     | 
| 
       145 
     | 
    
         
            -
                end
         
     | 
| 
       146 
     | 
    
         
            -
             
     | 
| 
       147 
     | 
    
         
            -
                # Builds the object from hash
         
     | 
| 
       148 
     | 
    
         
            -
                # @param [Hash] attributes Model attributes in the form of hash
         
     | 
| 
       149 
     | 
    
         
            -
                # @return [Object] Returns the model itself
         
     | 
| 
       150 
     | 
    
         
            -
                def build_from_hash(attributes)
         
     | 
| 
       151 
     | 
    
         
            -
                  return nil unless attributes.is_a?(Hash)
         
     | 
| 
       152 
     | 
    
         
            -
                  self.class.openapi_types.each_pair do |key, type|
         
     | 
| 
       153 
     | 
    
         
            -
                    if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
         
     | 
| 
       154 
     | 
    
         
            -
                      self.send("#{key}=", nil)
         
     | 
| 
       155 
     | 
    
         
            -
                    elsif type =~ /\AArray<(.*)>/i
         
     | 
| 
       156 
     | 
    
         
            -
                      # check to ensure the input is an array given that the attribute
         
     | 
| 
       157 
     | 
    
         
            -
                      # is documented as an array but the input is not
         
     | 
| 
       158 
     | 
    
         
            -
                      if attributes[self.class.attribute_map[key]].is_a?(Array)
         
     | 
| 
       159 
     | 
    
         
            -
                        self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
         
     | 
| 
       160 
     | 
    
         
            -
                      end
         
     | 
| 
       161 
     | 
    
         
            -
                    elsif !attributes[self.class.attribute_map[key]].nil?
         
     | 
| 
       162 
     | 
    
         
            -
                      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
         
     | 
| 
       163 
     | 
    
         
            -
                    end
         
     | 
| 
       164 
     | 
    
         
            -
                  end
         
     | 
| 
       165 
     | 
    
         
            -
             
     | 
| 
       166 
     | 
    
         
            -
                  self
         
     | 
| 
       167 
     | 
    
         
            -
                end
         
     | 
| 
       168 
     | 
    
         
            -
             
     | 
| 
       169 
     | 
    
         
            -
                # Deserializes the data based on type
         
     | 
| 
       170 
     | 
    
         
            -
                # @param string type Data type
         
     | 
| 
       171 
     | 
    
         
            -
                # @param string value Value to be deserialized
         
     | 
| 
       172 
     | 
    
         
            -
                # @return [Object] Deserialized data
         
     | 
| 
       173 
     | 
    
         
            -
                def _deserialize(type, value)
         
     | 
| 
       174 
     | 
    
         
            -
                  case type.to_sym
         
     | 
| 
       175 
     | 
    
         
            -
                  when :Time
         
     | 
| 
       176 
     | 
    
         
            -
                    Time.parse(value)
         
     | 
| 
       177 
     | 
    
         
            -
                  when :Date
         
     | 
| 
       178 
     | 
    
         
            -
                    Date.parse(value)
         
     | 
| 
       179 
     | 
    
         
            -
                  when :String
         
     | 
| 
       180 
     | 
    
         
            -
                    value.to_s
         
     | 
| 
       181 
     | 
    
         
            -
                  when :Integer
         
     | 
| 
       182 
     | 
    
         
            -
                    value.to_i
         
     | 
| 
       183 
     | 
    
         
            -
                  when :Float
         
     | 
| 
       184 
     | 
    
         
            -
                    value.to_f
         
     | 
| 
       185 
     | 
    
         
            -
                  when :Boolean
         
     | 
| 
       186 
     | 
    
         
            -
                    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
         
     | 
| 
       187 
     | 
    
         
            -
                      true
         
     | 
| 
       188 
     | 
    
         
            -
                    else
         
     | 
| 
       189 
     | 
    
         
            -
                      false
         
     | 
| 
       190 
     | 
    
         
            -
                    end
         
     | 
| 
       191 
     | 
    
         
            -
                  when :Object
         
     | 
| 
       192 
     | 
    
         
            -
                    # generic object (usually a Hash), return directly
         
     | 
| 
       193 
     | 
    
         
            -
                    value
         
     | 
| 
       194 
     | 
    
         
            -
                  when /\AArray<(?<inner_type>.+)>\z/
         
     | 
| 
       195 
     | 
    
         
            -
                    inner_type = Regexp.last_match[:inner_type]
         
     | 
| 
       196 
     | 
    
         
            -
                    value.map { |v| _deserialize(inner_type, v) }
         
     | 
| 
       197 
     | 
    
         
            -
                  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
         
     | 
| 
       198 
     | 
    
         
            -
                    k_type = Regexp.last_match[:k_type]
         
     | 
| 
       199 
     | 
    
         
            -
                    v_type = Regexp.last_match[:v_type]
         
     | 
| 
       200 
     | 
    
         
            -
                    {}.tap do |hash|
         
     | 
| 
       201 
     | 
    
         
            -
                      value.each do |k, v|
         
     | 
| 
       202 
     | 
    
         
            -
                        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
         
     | 
| 
       203 
     | 
    
         
            -
                      end
         
     | 
| 
       204 
     | 
    
         
            -
                    end
         
     | 
| 
       205 
     | 
    
         
            -
                  else # model
         
     | 
| 
       206 
     | 
    
         
            -
                    # models (e.g. Pet) or oneOf
         
     | 
| 
       207 
     | 
    
         
            -
                    klass = EilamTest.const_get(type)
         
     | 
| 
       208 
     | 
    
         
            -
                    klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
         
     | 
| 
       209 
     | 
    
         
            -
                  end
         
     | 
| 
       210 
     | 
    
         
            -
                end
         
     | 
| 
       211 
     | 
    
         
            -
             
     | 
| 
       212 
     | 
    
         
            -
                # Returns the string representation of the object
         
     | 
| 
       213 
     | 
    
         
            -
                # @return [String] String presentation of the object
         
     | 
| 
       214 
     | 
    
         
            -
                def to_s
         
     | 
| 
       215 
     | 
    
         
            -
                  to_hash.to_s
         
     | 
| 
       216 
     | 
    
         
            -
                end
         
     | 
| 
       217 
     | 
    
         
            -
             
     | 
| 
       218 
     | 
    
         
            -
                # to_body is an alias to to_hash (backward compatibility)
         
     | 
| 
       219 
     | 
    
         
            -
                # @return [Hash] Returns the object in the form of hash
         
     | 
| 
       220 
     | 
    
         
            -
                def to_body
         
     | 
| 
       221 
     | 
    
         
            -
                  to_hash
         
     | 
| 
       222 
     | 
    
         
            -
                end
         
     | 
| 
       223 
     | 
    
         
            -
             
     | 
| 
       224 
     | 
    
         
            -
                # Returns the object in the form of hash
         
     | 
| 
       225 
     | 
    
         
            -
                # @return [Hash] Returns the object in the form of hash
         
     | 
| 
       226 
     | 
    
         
            -
                def to_hash
         
     | 
| 
       227 
     | 
    
         
            -
                  hash = {}
         
     | 
| 
       228 
     | 
    
         
            -
                  self.class.attribute_map.each_pair do |attr, param|
         
     | 
| 
       229 
     | 
    
         
            -
                    value = self.send(attr)
         
     | 
| 
       230 
     | 
    
         
            -
                    if value.nil?
         
     | 
| 
       231 
     | 
    
         
            -
                      is_nullable = self.class.openapi_nullable.include?(attr)
         
     | 
| 
       232 
     | 
    
         
            -
                      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
         
     | 
| 
       233 
     | 
    
         
            -
                    end
         
     | 
| 
       234 
     | 
    
         
            -
             
     | 
| 
       235 
     | 
    
         
            -
                    hash[param] = _to_hash(value)
         
     | 
| 
       236 
     | 
    
         
            -
                  end
         
     | 
| 
       237 
     | 
    
         
            -
                  hash
         
     | 
| 
       238 
     | 
    
         
            -
                end
         
     | 
| 
       239 
     | 
    
         
            -
             
     | 
| 
       240 
     | 
    
         
            -
                # Outputs non-array value in the form of hash
         
     | 
| 
       241 
     | 
    
         
            -
                # For object, use to_hash. Otherwise, just return the value
         
     | 
| 
       242 
     | 
    
         
            -
                # @param [Object] value Any valid value
         
     | 
| 
       243 
     | 
    
         
            -
                # @return [Hash] Returns the value in the form of hash
         
     | 
| 
       244 
     | 
    
         
            -
                def _to_hash(value)
         
     | 
| 
       245 
     | 
    
         
            -
                  if value.is_a?(Array)
         
     | 
| 
       246 
     | 
    
         
            -
                    value.compact.map { |v| _to_hash(v) }
         
     | 
| 
       247 
     | 
    
         
            -
                  elsif value.is_a?(Hash)
         
     | 
| 
       248 
     | 
    
         
            -
                    {}.tap do |hash|
         
     | 
| 
       249 
     | 
    
         
            -
                      value.each { |k, v| hash[k] = _to_hash(v) }
         
     | 
| 
       250 
     | 
    
         
            -
                    end
         
     | 
| 
       251 
     | 
    
         
            -
                  elsif value.respond_to? :to_hash
         
     | 
| 
       252 
     | 
    
         
            -
                    value.to_hash
         
     | 
| 
       253 
     | 
    
         
            -
                  else
         
     | 
| 
       254 
     | 
    
         
            -
                    value
         
     | 
| 
       255 
     | 
    
         
            -
                  end
         
     | 
| 
       256 
     | 
    
         
            -
                end
         
     | 
| 
       257 
     | 
    
         
            -
             
     | 
| 
       258 
     | 
    
         
            -
              end
         
     | 
| 
       259 
     | 
    
         
            -
             
     | 
| 
       260 
     | 
    
         
            -
            end
         
     | 
    
        data/spec/api/event_api_spec.rb
    DELETED
    
    | 
         @@ -1,74 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            =begin
         
     | 
| 
       2 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
            The version of the OpenAPI document: 1.0.0
         
     | 
| 
       7 
     | 
    
         
            -
            Contact: autosde@il.ibm.com
         
     | 
| 
       8 
     | 
    
         
            -
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version: 5.0.0
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
            =end
         
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
            require 'spec_helper'
         
     | 
| 
       14 
     | 
    
         
            -
            require 'json'
         
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
            # Unit tests for EilamTest::EventApi
         
     | 
| 
       17 
     | 
    
         
            -
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         
     | 
| 
       18 
     | 
    
         
            -
            # Please update as you see appropriate
         
     | 
| 
       19 
     | 
    
         
            -
            describe 'EventApi' do
         
     | 
| 
       20 
     | 
    
         
            -
              before do
         
     | 
| 
       21 
     | 
    
         
            -
                # run before each test
         
     | 
| 
       22 
     | 
    
         
            -
                @api_instance = EilamTest::EventApi.new
         
     | 
| 
       23 
     | 
    
         
            -
              end
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
              after do
         
     | 
| 
       26 
     | 
    
         
            -
                # run after each test
         
     | 
| 
       27 
     | 
    
         
            -
              end
         
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
              describe 'test an instance of EventApi' do
         
     | 
| 
       30 
     | 
    
         
            -
                it 'should create an instance of EventApi' do
         
     | 
| 
       31 
     | 
    
         
            -
                  expect(@api_instance).to be_instance_of(EilamTest::EventApi)
         
     | 
| 
       32 
     | 
    
         
            -
                end
         
     | 
| 
       33 
     | 
    
         
            -
              end
         
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
              # unit tests for events_get
         
     | 
| 
       36 
     | 
    
         
            -
              # @param [Hash] opts the optional parameters
         
     | 
| 
       37 
     | 
    
         
            -
              # @return [Array<Event>]
         
     | 
| 
       38 
     | 
    
         
            -
              describe 'events_get test' do
         
     | 
| 
       39 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       40 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       41 
     | 
    
         
            -
                end
         
     | 
| 
       42 
     | 
    
         
            -
              end
         
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
              # unit tests for events_pk_delete
         
     | 
| 
       45 
     | 
    
         
            -
              # @param pk 
         
     | 
| 
       46 
     | 
    
         
            -
              # @param [Hash] opts the optional parameters
         
     | 
| 
       47 
     | 
    
         
            -
              # @return [Array<Event>]
         
     | 
| 
       48 
     | 
    
         
            -
              describe 'events_pk_delete test' do
         
     | 
| 
       49 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       50 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       51 
     | 
    
         
            -
                end
         
     | 
| 
       52 
     | 
    
         
            -
              end
         
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
              # unit tests for events_pk_get
         
     | 
| 
       55 
     | 
    
         
            -
              # @param pk 
         
     | 
| 
       56 
     | 
    
         
            -
              # @param [Hash] opts the optional parameters
         
     | 
| 
       57 
     | 
    
         
            -
              # @return [Array<Event>]
         
     | 
| 
       58 
     | 
    
         
            -
              describe 'events_pk_get test' do
         
     | 
| 
       59 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       60 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       61 
     | 
    
         
            -
                end
         
     | 
| 
       62 
     | 
    
         
            -
              end
         
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
              # unit tests for events_post
         
     | 
| 
       65 
     | 
    
         
            -
              # @param event 
         
     | 
| 
       66 
     | 
    
         
            -
              # @param [Hash] opts the optional parameters
         
     | 
| 
       67 
     | 
    
         
            -
              # @return [Event]
         
     | 
| 
       68 
     | 
    
         
            -
              describe 'events_post test' do
         
     | 
| 
       69 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       70 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       71 
     | 
    
         
            -
                end
         
     | 
| 
       72 
     | 
    
         
            -
              end
         
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
       74 
     | 
    
         
            -
            end
         
     | 
    
        data/spec/api/user_api_spec.rb
    DELETED
    
    | 
         @@ -1,85 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            =begin
         
     | 
| 
       2 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
            The version of the OpenAPI document: 1.0.0
         
     | 
| 
       7 
     | 
    
         
            -
            Contact: autosde@il.ibm.com
         
     | 
| 
       8 
     | 
    
         
            -
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version: 5.0.0
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
            =end
         
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
            require 'spec_helper'
         
     | 
| 
       14 
     | 
    
         
            -
            require 'json'
         
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
            # Unit tests for EilamTest::UserApi
         
     | 
| 
       17 
     | 
    
         
            -
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         
     | 
| 
       18 
     | 
    
         
            -
            # Please update as you see appropriate
         
     | 
| 
       19 
     | 
    
         
            -
            describe 'UserApi' do
         
     | 
| 
       20 
     | 
    
         
            -
              before do
         
     | 
| 
       21 
     | 
    
         
            -
                # run before each test
         
     | 
| 
       22 
     | 
    
         
            -
                @api_instance = EilamTest::UserApi.new
         
     | 
| 
       23 
     | 
    
         
            -
              end
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
              after do
         
     | 
| 
       26 
     | 
    
         
            -
                # run after each test
         
     | 
| 
       27 
     | 
    
         
            -
              end
         
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
              describe 'test an instance of UserApi' do
         
     | 
| 
       30 
     | 
    
         
            -
                it 'should create an instance of UserApi' do
         
     | 
| 
       31 
     | 
    
         
            -
                  expect(@api_instance).to be_instance_of(EilamTest::UserApi)
         
     | 
| 
       32 
     | 
    
         
            -
                end
         
     | 
| 
       33 
     | 
    
         
            -
              end
         
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
              # unit tests for autosde_users_get
         
     | 
| 
       36 
     | 
    
         
            -
              # @param [Hash] opts the optional parameters
         
     | 
| 
       37 
     | 
    
         
            -
              # @return [Array<UserCreate>]
         
     | 
| 
       38 
     | 
    
         
            -
              describe 'autosde_users_get test' do
         
     | 
| 
       39 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       40 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       41 
     | 
    
         
            -
                end
         
     | 
| 
       42 
     | 
    
         
            -
              end
         
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
              # unit tests for autosde_users_pk_delete
         
     | 
| 
       45 
     | 
    
         
            -
              # @param pk 
         
     | 
| 
       46 
     | 
    
         
            -
              # @param [Hash] opts the optional parameters
         
     | 
| 
       47 
     | 
    
         
            -
              # @return [Array<User>]
         
     | 
| 
       48 
     | 
    
         
            -
              describe 'autosde_users_pk_delete test' do
         
     | 
| 
       49 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       50 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       51 
     | 
    
         
            -
                end
         
     | 
| 
       52 
     | 
    
         
            -
              end
         
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
              # unit tests for autosde_users_pk_get
         
     | 
| 
       55 
     | 
    
         
            -
              # @param pk 
         
     | 
| 
       56 
     | 
    
         
            -
              # @param [Hash] opts the optional parameters
         
     | 
| 
       57 
     | 
    
         
            -
              # @return [Array<UserCreate>]
         
     | 
| 
       58 
     | 
    
         
            -
              describe 'autosde_users_pk_get test' do
         
     | 
| 
       59 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       60 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       61 
     | 
    
         
            -
                end
         
     | 
| 
       62 
     | 
    
         
            -
              end
         
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
              # unit tests for autosde_users_pk_put
         
     | 
| 
       65 
     | 
    
         
            -
              # @param pk 
         
     | 
| 
       66 
     | 
    
         
            -
              # @param user_update 
         
     | 
| 
       67 
     | 
    
         
            -
              # @param [Hash] opts the optional parameters
         
     | 
| 
       68 
     | 
    
         
            -
              # @return [UserCreate]
         
     | 
| 
       69 
     | 
    
         
            -
              describe 'autosde_users_pk_put test' do
         
     | 
| 
       70 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       71 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       72 
     | 
    
         
            -
                end
         
     | 
| 
       73 
     | 
    
         
            -
              end
         
     | 
| 
       74 
     | 
    
         
            -
             
     | 
| 
       75 
     | 
    
         
            -
              # unit tests for autosde_users_post
         
     | 
| 
       76 
     | 
    
         
            -
              # @param user_create 
         
     | 
| 
       77 
     | 
    
         
            -
              # @param [Hash] opts the optional parameters
         
     | 
| 
       78 
     | 
    
         
            -
              # @return [UserCreate]
         
     | 
| 
       79 
     | 
    
         
            -
              describe 'autosde_users_post test' do
         
     | 
| 
       80 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       81 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       82 
     | 
    
         
            -
                end
         
     | 
| 
       83 
     | 
    
         
            -
              end
         
     | 
| 
       84 
     | 
    
         
            -
             
     | 
| 
       85 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,45 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            =begin
         
     | 
| 
       2 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
            The version of the OpenAPI document: 1.0.0
         
     | 
| 
       7 
     | 
    
         
            -
            Contact: autosde@il.ibm.com
         
     | 
| 
       8 
     | 
    
         
            -
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version: 5.0.0
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
            =end
         
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
            require 'spec_helper'
         
     | 
| 
       14 
     | 
    
         
            -
            require 'json'
         
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
            # Unit tests for EilamTest::ValidateSystemApi
         
     | 
| 
       17 
     | 
    
         
            -
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         
     | 
| 
       18 
     | 
    
         
            -
            # Please update as you see appropriate
         
     | 
| 
       19 
     | 
    
         
            -
            describe 'ValidateSystemApi' do
         
     | 
| 
       20 
     | 
    
         
            -
              before do
         
     | 
| 
       21 
     | 
    
         
            -
                # run before each test
         
     | 
| 
       22 
     | 
    
         
            -
                @api_instance = EilamTest::ValidateSystemApi.new
         
     | 
| 
       23 
     | 
    
         
            -
              end
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
              after do
         
     | 
| 
       26 
     | 
    
         
            -
                # run after each test
         
     | 
| 
       27 
     | 
    
         
            -
              end
         
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
              describe 'test an instance of ValidateSystemApi' do
         
     | 
| 
       30 
     | 
    
         
            -
                it 'should create an instance of ValidateSystemApi' do
         
     | 
| 
       31 
     | 
    
         
            -
                  expect(@api_instance).to be_instance_of(EilamTest::ValidateSystemApi)
         
     | 
| 
       32 
     | 
    
         
            -
                end
         
     | 
| 
       33 
     | 
    
         
            -
              end
         
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
              # unit tests for validate_system_post
         
     | 
| 
       36 
     | 
    
         
            -
              # @param storage_system_create 
         
     | 
| 
       37 
     | 
    
         
            -
              # @param [Hash] opts the optional parameters
         
     | 
| 
       38 
     | 
    
         
            -
              # @return [ValidateSystem]
         
     | 
| 
       39 
     | 
    
         
            -
              describe 'validate_system_post test' do
         
     | 
| 
       40 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       41 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       42 
     | 
    
         
            -
                end
         
     | 
| 
       43 
     | 
    
         
            -
              end
         
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
            end
         
     | 
    
        data/spec/models/event_spec.rb
    DELETED
    
    | 
         @@ -1,76 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            =begin
         
     | 
| 
       2 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
            The version of the OpenAPI document: 1.0.0
         
     | 
| 
       7 
     | 
    
         
            -
            Contact: autosde@il.ibm.com
         
     | 
| 
       8 
     | 
    
         
            -
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version: 5.0.0
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
            =end
         
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
            require 'spec_helper'
         
     | 
| 
       14 
     | 
    
         
            -
            require 'json'
         
     | 
| 
       15 
     | 
    
         
            -
            require 'date'
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
            # Unit tests for EilamTest::Event
         
     | 
| 
       18 
     | 
    
         
            -
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         
     | 
| 
       19 
     | 
    
         
            -
            # Please update as you see appropriate
         
     | 
| 
       20 
     | 
    
         
            -
            describe EilamTest::Event do
         
     | 
| 
       21 
     | 
    
         
            -
              let(:instance) { EilamTest::Event.new }
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
              describe 'test an instance of Event' do
         
     | 
| 
       24 
     | 
    
         
            -
                it 'should create an instance of Event' do
         
     | 
| 
       25 
     | 
    
         
            -
                  expect(instance).to be_instance_of(EilamTest::Event)
         
     | 
| 
       26 
     | 
    
         
            -
                end
         
     | 
| 
       27 
     | 
    
         
            -
              end
         
     | 
| 
       28 
     | 
    
         
            -
              describe 'test attribute "description"' do
         
     | 
| 
       29 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       30 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       31 
     | 
    
         
            -
                end
         
     | 
| 
       32 
     | 
    
         
            -
              end
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
              describe 'test attribute "error_code"' do
         
     | 
| 
       35 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       36 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       37 
     | 
    
         
            -
                end
         
     | 
| 
       38 
     | 
    
         
            -
              end
         
     | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
              describe 'test attribute "event_id"' do
         
     | 
| 
       41 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       42 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       43 
     | 
    
         
            -
                end
         
     | 
| 
       44 
     | 
    
         
            -
              end
         
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
       46 
     | 
    
         
            -
              describe 'test attribute "event_type"' do
         
     | 
| 
       47 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       48 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       49 
     | 
    
         
            -
                end
         
     | 
| 
       50 
     | 
    
         
            -
              end
         
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
              describe 'test attribute "fixed"' do
         
     | 
| 
       53 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       54 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       55 
     | 
    
         
            -
                end
         
     | 
| 
       56 
     | 
    
         
            -
              end
         
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
     | 
    
         
            -
              describe 'test attribute "last_timestamp"' do
         
     | 
| 
       59 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       60 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       61 
     | 
    
         
            -
                end
         
     | 
| 
       62 
     | 
    
         
            -
              end
         
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
              describe 'test attribute "storage_system"' do
         
     | 
| 
       65 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       66 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       67 
     | 
    
         
            -
                end
         
     | 
| 
       68 
     | 
    
         
            -
              end
         
     | 
| 
       69 
     | 
    
         
            -
             
     | 
| 
       70 
     | 
    
         
            -
              describe 'test attribute "uuid"' do
         
     | 
| 
       71 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       72 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       73 
     | 
    
         
            -
                end
         
     | 
| 
       74 
     | 
    
         
            -
              end
         
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,94 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            =begin
         
     | 
| 
       2 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
            #Site Manager API
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
            The version of the OpenAPI document: 1.0.0
         
     | 
| 
       7 
     | 
    
         
            -
            Contact: autosde@il.ibm.com
         
     | 
| 
       8 
     | 
    
         
            -
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version: 5.0.0
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
            =end
         
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
            require 'spec_helper'
         
     | 
| 
       14 
     | 
    
         
            -
            require 'json'
         
     | 
| 
       15 
     | 
    
         
            -
            require 'date'
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
            # Unit tests for EilamTest::UserCreate
         
     | 
| 
       18 
     | 
    
         
            -
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         
     | 
| 
       19 
     | 
    
         
            -
            # Please update as you see appropriate
         
     | 
| 
       20 
     | 
    
         
            -
            describe EilamTest::UserCreate do
         
     | 
| 
       21 
     | 
    
         
            -
              let(:instance) { EilamTest::UserCreate.new }
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
              describe 'test an instance of UserCreate' do
         
     | 
| 
       24 
     | 
    
         
            -
                it 'should create an instance of UserCreate' do
         
     | 
| 
       25 
     | 
    
         
            -
                  expect(instance).to be_instance_of(EilamTest::UserCreate)
         
     | 
| 
       26 
     | 
    
         
            -
                end
         
     | 
| 
       27 
     | 
    
         
            -
              end
         
     | 
| 
       28 
     | 
    
         
            -
              describe 'test attribute "date_joined"' do
         
     | 
| 
       29 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       30 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       31 
     | 
    
         
            -
                end
         
     | 
| 
       32 
     | 
    
         
            -
              end
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
              describe 'test attribute "email"' do
         
     | 
| 
       35 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       36 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       37 
     | 
    
         
            -
                end
         
     | 
| 
       38 
     | 
    
         
            -
              end
         
     | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
              describe 'test attribute "first_name"' do
         
     | 
| 
       41 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       42 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       43 
     | 
    
         
            -
                end
         
     | 
| 
       44 
     | 
    
         
            -
              end
         
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
       46 
     | 
    
         
            -
              describe 'test attribute "is_active"' do
         
     | 
| 
       47 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       48 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       49 
     | 
    
         
            -
                end
         
     | 
| 
       50 
     | 
    
         
            -
              end
         
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
              describe 'test attribute "is_staff"' do
         
     | 
| 
       53 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       54 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       55 
     | 
    
         
            -
                end
         
     | 
| 
       56 
     | 
    
         
            -
              end
         
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
     | 
    
         
            -
              describe 'test attribute "is_superuser"' do
         
     | 
| 
       59 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       60 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       61 
     | 
    
         
            -
                end
         
     | 
| 
       62 
     | 
    
         
            -
              end
         
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
              describe 'test attribute "last_login"' do
         
     | 
| 
       65 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       66 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       67 
     | 
    
         
            -
                end
         
     | 
| 
       68 
     | 
    
         
            -
              end
         
     | 
| 
       69 
     | 
    
         
            -
             
     | 
| 
       70 
     | 
    
         
            -
              describe 'test attribute "last_name"' do
         
     | 
| 
       71 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       72 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       73 
     | 
    
         
            -
                end
         
     | 
| 
       74 
     | 
    
         
            -
              end
         
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
              describe 'test attribute "password"' do
         
     | 
| 
       77 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       78 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       79 
     | 
    
         
            -
                end
         
     | 
| 
       80 
     | 
    
         
            -
              end
         
     | 
| 
       81 
     | 
    
         
            -
             
     | 
| 
       82 
     | 
    
         
            -
              describe 'test attribute "username"' do
         
     | 
| 
       83 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       84 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       85 
     | 
    
         
            -
                end
         
     | 
| 
       86 
     | 
    
         
            -
              end
         
     | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
       88 
     | 
    
         
            -
              describe 'test attribute "uuid"' do
         
     | 
| 
       89 
     | 
    
         
            -
                it 'should work' do
         
     | 
| 
       90 
     | 
    
         
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       91 
     | 
    
         
            -
                end
         
     | 
| 
       92 
     | 
    
         
            -
              end
         
     | 
| 
       93 
     | 
    
         
            -
             
     | 
| 
       94 
     | 
    
         
            -
            end
         
     |