Sha256: 258a400b7115b2165dbe5b0ebddfc1d0101961ecc500a98ed8d28ce83357e069
Contents?: true
Size: 1.86 KB
Versions: 2
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::V7_0_0_42 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
2 entries across 2 versions & 1 rubygems