Class: Azure::Portal::Mgmt::V2018_10_01_preview::Models::DashboardPartsPosition

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-10-01-preview/generated/azure_mgmt_portal/models/dashboard_parts_position.rb

Overview

The dashboard’s part position.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#col_spanFloat

Returns The dashboard’s part column span.

Returns:

  • (Float)

    The dashboard’s part column span.



25
26
27
# File 'lib/2018-10-01-preview/generated/azure_mgmt_portal/models/dashboard_parts_position.rb', line 25

def col_span
  @col_span
end

#metadataObject

Returns The dashboard part’s metadata.

Returns:

  • The dashboard part’s metadata.



28
29
30
# File 'lib/2018-10-01-preview/generated/azure_mgmt_portal/models/dashboard_parts_position.rb', line 28

def 
  @metadata
end

#row_spanFloat

Returns The dashboard’s part row span.

Returns:

  • (Float)

    The dashboard’s part row span.



22
23
24
# File 'lib/2018-10-01-preview/generated/azure_mgmt_portal/models/dashboard_parts_position.rb', line 22

def row_span
  @row_span
end

#xFloat

Returns The dashboard’s part x coordinate.

Returns:

  • (Float)

    The dashboard’s part x coordinate.



16
17
18
# File 'lib/2018-10-01-preview/generated/azure_mgmt_portal/models/dashboard_parts_position.rb', line 16

def x
  @x
end

#yFloat

Returns The dashboard’s part y coordinate.

Returns:

  • (Float)

    The dashboard’s part y coordinate.



19
20
21
# File 'lib/2018-10-01-preview/generated/azure_mgmt_portal/models/dashboard_parts_position.rb', line 19

def y
  @y
end

Class Method Details

.mapperObject

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



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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/2018-10-01-preview/generated/azure_mgmt_portal/models/dashboard_parts_position.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DashboardParts_position',
    type: {
      name: 'Composite',
      class_name: 'DashboardPartsPosition',
      model_properties: {
        x: {
          client_side_validation: true,
          required: false,
          serialized_name: 'x',
          type: {
            name: 'Double'
          }
        },
        y: {
          client_side_validation: true,
          required: false,
          serialized_name: 'y',
          type: {
            name: 'Double'
          }
        },
        row_span: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rowSpan',
          type: {
            name: 'Double'
          }
        },
        col_span: {
          client_side_validation: true,
          required: false,
          serialized_name: 'colSpan',
          type: {
            name: 'Double'
          }
        },
        metadata: {
          client_side_validation: true,
          required: false,
          serialized_name: 'metadata',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        }
      }
    }
  }
end