# 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::Automation::Mgmt::V2015_10_31 module Models # # Definition of hybrid runbook worker group. # class HybridRunbookWorkerGroup include MsRestAzure # @return [String] Gets or sets the id of the resource. attr_accessor :id # @return [String] Gets or sets the name of the group. attr_accessor :name # @return [Array] Gets or sets the list of hybrid # runbook workers. attr_accessor :hybrid_runbook_workers # @return [RunAsCredentialAssociationProperty] Sets the credential of a # worker group. attr_accessor :credential # @return [GroupTypeEnum] Type of the HybridWorkerGroup. Possible values # include: 'User', 'System' attr_accessor :group_type # # Mapper for HybridRunbookWorkerGroup class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'HybridRunbookWorkerGroup', type: { name: 'Composite', class_name: 'HybridRunbookWorkerGroup', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, hybrid_runbook_workers: { client_side_validation: true, required: false, serialized_name: 'hybridRunbookWorkers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'HybridRunbookWorkerElementType', type: { name: 'Composite', class_name: 'HybridRunbookWorker' } } } }, credential: { client_side_validation: true, required: false, serialized_name: 'credential', type: { name: 'Composite', class_name: 'RunAsCredentialAssociationProperty' } }, group_type: { client_side_validation: true, required: false, serialized_name: 'groupType', type: { name: 'String' } } } } } end end end end