Class: Azure::Automation::Mgmt::V2015_10_31::Models::JobStream

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

Overview

Definition of the job stream.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

Returns Gets or sets the id of the resource.

Returns:

  • (String)

    Gets or sets the id of the resource.



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

def id
  @id
end

#job_stream_idString

Returns Gets or sets the id of the job stream.

Returns:

  • (String)

    Gets or sets the id of the job stream.



19
20
21
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb', line 19

def job_stream_id
  @job_stream_id
end

#stream_textString

Returns Gets or sets the stream text.

Returns:

  • (String)

    Gets or sets the stream text.



30
31
32
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb', line 30

def stream_text
  @stream_text
end

#stream_typeJobStreamType

include: ‘Progress’, ‘Output’, ‘Warning’, ‘Error’, ‘Debug’, ‘Verbose’, ‘Any’

Returns:

  • (JobStreamType)

    Gets or sets the stream type. Possible values



27
28
29
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb', line 27

def stream_type
  @stream_type
end

#summaryString

Returns Gets or sets the summary.

Returns:

  • (String)

    Gets or sets the summary.



33
34
35
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb', line 33

def summary
  @summary
end

#timeDateTime

Returns Gets or sets the creation time of the job.

Returns:

  • (DateTime)

    Gets or sets the creation time of the job.



22
23
24
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb', line 22

def time
  @time
end

#valueObject

Returns Gets or sets the values of the job stream.

Returns:

  • Gets or sets the values of the job stream.



36
37
38
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb', line 36

def value
  @value
end

Class Method Details

.mapperObject

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



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JobStream',
    type: {
      name: 'Composite',
      class_name: 'JobStream',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        job_stream_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.jobStreamId',
          type: {
            name: 'String'
          }
        },
        time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.time',
          type: {
            name: 'DateTime'
          }
        },
        stream_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.streamType',
          type: {
            name: 'String'
          }
        },
        stream_text: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.streamText',
          type: {
            name: 'String'
          }
        },
        summary: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.summary',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.value',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        }
      }
    }
  }
end