Sha256: 948e033eb05e4e781ee7b39490bed5e15e87d520273898d4243ea89e1790d014

Contents?: true

Size: 1.48 KB

Versions: 5

Compression:

Stored size: 1.48 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Cosmosdb::Mgmt::V2020_03_01
  module Models
    #
    # Cosmos DB SQL userDefinedFunction resource object
    #
    class SqlUserDefinedFunctionResource

      include MsRestAzure

      # @return [String] Name of the Cosmos DB SQL userDefinedFunction
      attr_accessor :id

      # @return [String] Body of the User Defined Function
      attr_accessor :body


      #
      # Mapper for SqlUserDefinedFunctionResource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SqlUserDefinedFunctionResource',
          type: {
            name: 'Composite',
            class_name: 'SqlUserDefinedFunctionResource',
            model_properties: {
              id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              body: {
                client_side_validation: true,
                required: false,
                serialized_name: 'body',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb
azure_mgmt_cosmosdb-0.24.0 lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb
azure_mgmt_cosmosdb-0.23.1 lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb
azure_mgmt_cosmosdb-0.22.0 lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb
azure_mgmt_cosmosdb-0.21.2 lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb