Class: Azure::Storage::Mgmt::V2020_08_01_preview::Models::OperationDisplay

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-08-01-preview/generated/azure_mgmt_storage/models/operation_display.rb

Overview

Display metadata associated with the operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns Description of the operation.

Returns:

  • (String)

    Description of the operation.



25
26
27
# File 'lib/2020-08-01-preview/generated/azure_mgmt_storage/models/operation_display.rb', line 25

def description
  @description
end

#operationString

Returns Type of operation: get, read, delete, etc.

Returns:

  • (String)

    Type of operation: get, read, delete, etc.



22
23
24
# File 'lib/2020-08-01-preview/generated/azure_mgmt_storage/models/operation_display.rb', line 22

def operation
  @operation
end

#providerString

Returns Service provider: Microsoft Storage.

Returns:

  • (String)

    Service provider: Microsoft Storage.



16
17
18
# File 'lib/2020-08-01-preview/generated/azure_mgmt_storage/models/operation_display.rb', line 16

def provider
  @provider
end

#resourceString

Returns Resource on which the operation is performed etc.

Returns:

  • (String)

    Resource on which the operation is performed etc.



19
20
21
# File 'lib/2020-08-01-preview/generated/azure_mgmt_storage/models/operation_display.rb', line 19

def resource
  @resource
end

Class Method Details

.mapperObject

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



32
33
34
35
36
37
38
39
40
41
42
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
# File 'lib/2020-08-01-preview/generated/azure_mgmt_storage/models/operation_display.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Operation_display',
    type: {
      name: 'Composite',
      class_name: 'OperationDisplay',
      model_properties: {
        provider: {
          client_side_validation: true,
          required: false,
          serialized_name: 'provider',
          type: {
            name: 'String'
          }
        },
        resource: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resource',
          type: {
            name: 'String'
          }
        },
        operation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'operation',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end