Class: Azure::Security::Mgmt::V2020_01_01::Models::PublisherInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-01-01/generated/azure_mgmt_security/models/publisher_info.rb

Overview

Represents the publisher information of a process/rule

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#binary_nameString

resource

Returns:

  • (String)

    The “OriginalName” field taken from the file’s version



26
27
28
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/publisher_info.rb', line 26

def binary_name
  @binary_name
end

#product_nameString

resource

Returns:

  • (String)

    The product name taken from the file’s version



22
23
24
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/publisher_info.rb', line 22

def product_name
  @product_name
end

#publisher_nameString

sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country

Returns:

  • (String)

    The Subject field of the x.509 certificate used to



18
19
20
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/publisher_info.rb', line 18

def publisher_name
  @publisher_name
end

#versionString

resource

Returns:

  • (String)

    The binary file version taken from the file’s version



30
31
32
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/publisher_info.rb', line 30

def version
  @version
end

Class Method Details

.mapperObject

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



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
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/publisher_info.rb', line 37

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PublisherInfo',
    type: {
      name: 'Composite',
      class_name: 'PublisherInfo',
      model_properties: {
        publisher_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publisherName',
          type: {
            name: 'String'
          }
        },
        product_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'productName',
          type: {
            name: 'String'
          }
        },
        binary_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'binaryName',
          type: {
            name: 'String'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'version',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end