# 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::Monitor::Mgmt::V2015_05_01 module Models # # Work item configuration creation payload # class WorkItemCreateConfiguration include MsRestAzure # @return [String] Unique connector id attr_accessor :connector_id # @return [String] Serialized JSON object for detailed properties attr_accessor :connector_data_configuration # @return [Boolean] Boolean indicating validate only attr_accessor :validate_only # @return [Hash{String => String}] Custom work item properties attr_accessor :work_item_properties # # Mapper for WorkItemCreateConfiguration class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WorkItemCreateConfiguration', type: { name: 'Composite', class_name: 'WorkItemCreateConfiguration', model_properties: { connector_id: { client_side_validation: true, required: false, serialized_name: 'ConnectorId', type: { name: 'String' } }, connector_data_configuration: { client_side_validation: true, required: false, serialized_name: 'ConnectorDataConfiguration', type: { name: 'String' } }, validate_only: { client_side_validation: true, required: false, serialized_name: 'ValidateOnly', type: { name: 'Boolean' } }, work_item_properties: { client_side_validation: true, required: false, serialized_name: 'WorkItemProperties', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end