autosde_openapi_client 1.1.11 → 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/docs/SystemType.md +1 -1
- data/docs/SystemTypeCreate.md +1 -1
- data/lib/autosde_openapi_client/models/system_type.rb +3 -3
- data/lib/autosde_openapi_client/models/system_type_create.rb +3 -3
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/spec/models/system_type_create_spec.rb +1 -1
- data/spec/models/system_type_spec.rb +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 912bcf519ee24a77b1e324f3539e82ceed91cb316373b2f18166e8dc356a3a99
         | 
| 4 | 
            +
              data.tar.gz: 80e32029bc2b64d7a7a09d8c5f7a2bd96c2e38da00c5b5d84cc2dfb0ece848e3
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: fbeef371ef3384b695c7d284504f5927852e0e633de6dd4011ed208479ac360136ba961d74bf46aa00d9cb4d368dfbe6ff5b29c5951c5ff51e2fcb3e3e46654e
         | 
| 7 | 
            +
              data.tar.gz: 2345acc5f052612eef0f515f5b360a40c489af7011c081bf861c853bf4dc1fcdb2f34a804c74248475b060706f480701fd1c1c7a735ce40440300ef650f98f94
         | 
    
        data/docs/SystemType.md
    CHANGED
    
    | @@ -5,7 +5,7 @@ | |
| 5 5 | 
             
            | Name | Type | Description | Notes |
         | 
| 6 6 | 
             
            | ---- | ---- | ----------- | ----- |
         | 
| 7 7 | 
             
            | **component_state** | **String** | component_state | [optional] |
         | 
| 8 | 
            -
            | **name** | **String** | name | [optional][default to ' | 
| 8 | 
            +
            | **name** | **String** | name | [optional][default to 'IBM_FlashSystems'] |
         | 
| 9 9 | 
             
            | **short_version** | **String** | short_version | [optional] |
         | 
| 10 10 | 
             
            | **uuid** | **String** | uuid | [optional] |
         | 
| 11 11 | 
             
            | **version** | **String** | SystemType version | [optional] |
         | 
    
        data/docs/SystemTypeCreate.md
    CHANGED
    
    | @@ -5,7 +5,7 @@ | |
| 5 5 | 
             
            | Name | Type | Description | Notes |
         | 
| 6 6 | 
             
            | ---- | ---- | ----------- | ----- |
         | 
| 7 7 | 
             
            | **component_state** | **String** | component_state | [optional] |
         | 
| 8 | 
            -
            | **name** | **String** | name | [optional][default to ' | 
| 8 | 
            +
            | **name** | **String** | name | [optional][default to 'IBM_FlashSystems'] |
         | 
| 9 9 | 
             
            | **short_version** | **String** | short_version | [optional] |
         | 
| 10 10 | 
             
            | **super_type** | **String** | super_type | [optional][default to 'null'] |
         | 
| 11 11 | 
             
            | **uuid** | **String** | uuid | [optional] |
         | 
| @@ -108,7 +108,7 @@ module AutosdeOpenapiClient | |
| 108 108 | 
             
                  if attributes.key?(:'name')
         | 
| 109 109 | 
             
                    self.name = attributes[:'name']
         | 
| 110 110 | 
             
                  else
         | 
| 111 | 
            -
                    self.name = ' | 
| 111 | 
            +
                    self.name = 'IBM_FlashSystems'
         | 
| 112 112 | 
             
                  end
         | 
| 113 113 |  | 
| 114 114 | 
             
                  if attributes.key?(:'short_version')
         | 
| @@ -149,7 +149,7 @@ module AutosdeOpenapiClient | |
| 149 149 | 
             
                  component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
         | 
| 150 150 | 
             
                  return false unless component_state_validator.valid?(@component_state)
         | 
| 151 151 | 
             
                  return false if !@component_state.nil? && @component_state.to_s.length > 32
         | 
| 152 | 
            -
                  name_validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00" | 
| 152 | 
            +
                  name_validator = EnumAttributeValidator.new('String', ["IBM_FlashSystems", "a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00"])
         | 
| 153 153 | 
             
                  return false unless name_validator.valid?(@name)
         | 
| 154 154 | 
             
                  return false if !@name.nil? && @name.to_s.length > 255
         | 
| 155 155 | 
             
                  return false if !@short_version.nil? && @short_version.to_s.length > 255
         | 
| @@ -169,7 +169,7 @@ module AutosdeOpenapiClient | |
| 169 169 | 
             
                # Custom attribute writer method checking allowed values (enum).
         | 
| 170 170 | 
             
                # @param [Object] name Object to be assigned
         | 
| 171 171 | 
             
                def name=(name)
         | 
| 172 | 
            -
                  validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00" | 
| 172 | 
            +
                  validator = EnumAttributeValidator.new('String', ["IBM_FlashSystems", "a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00"])
         | 
| 173 173 | 
             
                  unless validator.valid?(name)
         | 
| 174 174 | 
             
                    fail ArgumentError, "invalid value for \"name\", must be one of #{validator.allowable_values}."
         | 
| 175 175 | 
             
                  end
         | 
| @@ -113,7 +113,7 @@ module AutosdeOpenapiClient | |
| 113 113 | 
             
                  if attributes.key?(:'name')
         | 
| 114 114 | 
             
                    self.name = attributes[:'name']
         | 
| 115 115 | 
             
                  else
         | 
| 116 | 
            -
                    self.name = ' | 
| 116 | 
            +
                    self.name = 'IBM_FlashSystems'
         | 
| 117 117 | 
             
                  end
         | 
| 118 118 |  | 
| 119 119 | 
             
                  if attributes.key?(:'short_version')
         | 
| @@ -160,7 +160,7 @@ module AutosdeOpenapiClient | |
| 160 160 | 
             
                  component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
         | 
| 161 161 | 
             
                  return false unless component_state_validator.valid?(@component_state)
         | 
| 162 162 | 
             
                  return false if !@component_state.nil? && @component_state.to_s.length > 32
         | 
| 163 | 
            -
                  name_validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00" | 
| 163 | 
            +
                  name_validator = EnumAttributeValidator.new('String', ["IBM_FlashSystems", "a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00"])
         | 
| 164 164 | 
             
                  return false unless name_validator.valid?(@name)
         | 
| 165 165 | 
             
                  return false if !@name.nil? && @name.to_s.length > 255
         | 
| 166 166 | 
             
                  return false if !@short_version.nil? && @short_version.to_s.length > 255
         | 
| @@ -180,7 +180,7 @@ module AutosdeOpenapiClient | |
| 180 180 | 
             
                # Custom attribute writer method checking allowed values (enum).
         | 
| 181 181 | 
             
                # @param [Object] name Object to be assigned
         | 
| 182 182 | 
             
                def name=(name)
         | 
| 183 | 
            -
                  validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00" | 
| 183 | 
            +
                  validator = EnumAttributeValidator.new('String', ["IBM_FlashSystems", "a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00"])
         | 
| 184 184 | 
             
                  unless validator.valid?(name)
         | 
| 185 185 | 
             
                    fail ArgumentError, "invalid value for \"name\", must be one of #{validator.allowable_values}."
         | 
| 186 186 | 
             
                  end
         | 
| @@ -3,7 +3,7 @@ | |
| 3 3 |  | 
| 4 4 | 
             
            #Site Manager API
         | 
| 5 5 |  | 
| 6 | 
            -
            The version of the OpenAPI document: 1.1. | 
| 6 | 
            +
            The version of the OpenAPI document: 1.1.12
         | 
| 7 7 | 
             
            Contact: autosde@il.ibm.com
         | 
| 8 8 | 
             
            Generated by: https://openapi-generator.tech
         | 
| 9 9 | 
             
            OpenAPI Generator version: 5.0.0
         | 
| @@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0 | |
| 11 11 | 
             
            =end
         | 
| 12 12 |  | 
| 13 13 | 
             
            module AutosdeOpenapiClient
         | 
| 14 | 
            -
              VERSION = '1.1. | 
| 14 | 
            +
              VERSION = '1.1.12'
         | 
| 15 15 | 
             
            end
         | 
| @@ -38,7 +38,7 @@ describe AutosdeOpenapiClient::SystemTypeCreate do | |
| 38 38 | 
             
              describe 'test attribute "name"' do
         | 
| 39 39 | 
             
                it 'should work' do
         | 
| 40 40 | 
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 41 | 
            -
                  # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00" | 
| 41 | 
            +
                  # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["IBM_FlashSystems", "a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00"])
         | 
| 42 42 | 
             
                  # validator.allowable_values.each do |value|
         | 
| 43 43 | 
             
                  #   expect { instance.name = value }.not_to raise_error
         | 
| 44 44 | 
             
                  # end
         | 
| @@ -38,7 +38,7 @@ describe AutosdeOpenapiClient::SystemType do | |
| 38 38 | 
             
              describe 'test attribute "name"' do
         | 
| 39 39 | 
             
                it 'should work' do
         | 
| 40 40 | 
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 41 | 
            -
                  # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00" | 
| 41 | 
            +
                  # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["IBM_FlashSystems", "a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00"])
         | 
| 42 42 | 
             
                  # validator.allowable_values.each do |value|
         | 
| 43 43 | 
             
                  #   expect { instance.name = value }.not_to raise_error
         | 
| 44 44 | 
             
                  # end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: autosde_openapi_client
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.1. | 
| 4 | 
            +
              version: 1.1.12
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - OpenAPI-Generator
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2022-03- | 
| 11 | 
            +
            date: 2022-03-22 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: typhoeus
         |