Sha256: 7a0e25a5cc5d6e1f627570f20d7f26f7c51ea16ffaae1b75bd9c3d421a8f017a
Contents?: true
Size: 1.86 KB
Versions: 3
Compression:
Stored size: 1.86 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::ServiceFabric::V6_5_0_36 module Models # # Represents the base type for property operations that can be put into a # batch and submitted. # class PropertyBatchOperation include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["CheckExists"] = "CheckExistsPropertyBatchOperation" @@discriminatorMap["CheckSequence"] = "CheckSequencePropertyBatchOperation" @@discriminatorMap["CheckValue"] = "CheckValuePropertyBatchOperation" @@discriminatorMap["Delete"] = "DeletePropertyBatchOperation" @@discriminatorMap["Get"] = "GetPropertyBatchOperation" @@discriminatorMap["Put"] = "PutPropertyBatchOperation" def initialize @Kind = "PropertyBatchOperation" end attr_accessor :Kind # @return [String] The name of the Service Fabric property. attr_accessor :property_name # # Mapper for PropertyBatchOperation class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PropertyBatchOperation', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'PropertyBatchOperation', class_name: 'PropertyBatchOperation', model_properties: { property_name: { client_side_validation: true, required: true, serialized_name: 'PropertyName', type: { name: 'String' } } } } } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems