Class: Azure::PolicyInsights::Mgmt::V2019_10_01::Models::SlimPolicyMetadata

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb

Overview

Slim version of policy metadata resource definition, excluding properties with large strings

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_content_urlString

metadata.

Returns:

  • (String)

    Url for getting additional content about the resource



30
31
32
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 30

def additional_content_url
  @additional_content_url
end

#categoryString

Returns The category of the policy metadata.

Returns:

  • (String)

    The category of the policy metadata.



20
21
22
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 20

def category
  @category
end

#idString

Returns The ID of the policy metadata.

Returns:

  • (String)

    The ID of the policy metadata.



36
37
38
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 36

def id
  @id
end

#metadataObject

Returns Additional metadata.

Returns:

  • Additional metadata.



33
34
35
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 33

def 
  
end

#metadata_idString

Returns The policy metadata identifier.

Returns:

  • (String)

    The policy metadata identifier.



17
18
19
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 17

def 
  
end

#nameString

Returns The name of the policy metadata.

Returns:

  • (String)

    The name of the policy metadata.



42
43
44
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 42

def name
  @name
end

#ownerString

Returns The owner of the policy metadata.

Returns:

  • (String)

    The owner of the policy metadata.



26
27
28
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 26

def owner
  @owner
end

#titleString

Returns The title of the policy metadata.

Returns:

  • (String)

    The title of the policy metadata.



23
24
25
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 23

def title
  @title
end

#typeString

Returns The type of the policy metadata.

Returns:

  • (String)

    The type of the policy metadata.



39
40
41
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 39

def type
  @type
end

Class Method Details

.mapperObject

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



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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 49

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SlimPolicyMetadata',
    type: {
      name: 'Composite',
      class_name: 'SlimPolicyMetadata',
      model_properties: {
        metadata_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.metadataId',
          type: {
            name: 'String'
          }
        },
        category: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.category',
          type: {
            name: 'String'
          }
        },
        title: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.title',
          type: {
            name: 'String'
          }
        },
        owner: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.owner',
          type: {
            name: 'String'
          }
        },
        additional_content_url: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.additionalContentUrl',
          type: {
            name: 'String'
          }
        },
        metadata: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.metadata',
          type: {
            name: 'Object'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end