# 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 # # Mapper for HybridRunbookWorkerGroup class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'HybridRunbookWorkerGroup', type: { name: 'Composite', class_name: 'HybridRunbookWorkerGroup', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } }, hybrid_runbook_workers: { required: false, serialized_name: 'hybridRunbookWorkers', type: { name: 'Sequence', element: { required: false, serialized_name: 'HybridRunbookWorkerElementType', type: { name: 'Composite', class_name: 'HybridRunbookWorker' } } } }, credential: { required: false, serialized_name: 'credential', type: { name: 'Composite', class_name: 'RunAsCredentialAssociationProperty' } } } } } end end end end