Class: Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb

Overview

The parameters supplied to the create or update runbook operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#runbook_contentString

Returns Content of the Runbook.

Returns:

  • (String)

    Content of the Runbook.



16
17
18
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb', line 16

def runbook_content
  @runbook_content
end

Class Method Details

.mapperObject

Mapper for RunbookCreateOrUpdateDraftParameters class as Ruby Hash. This will be used for serialization/deserialization.



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RunbookCreateOrUpdateDraftParameters',
    type: {
      name: 'Composite',
      class_name: 'RunbookCreateOrUpdateDraftParameters',
      model_properties: {
        runbook_content: {
          client_side_validation: true,
          required: true,
          serialized_name: 'runbookContent',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end