Class: Google::Apis::AndroidenterpriseV1::ListEnterprisesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb

Overview

The matching enterprise resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListEnterprisesResponse

Returns a new instance of ListEnterprisesResponse



652
653
654
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 652

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enterpriseArray<Google::Apis::AndroidenterpriseV1::Enterprise>

An enterprise. Corresponds to the JSON property enterprise



644
645
646
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 644

def enterprise
  @enterprise
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidenterprise#enterprisesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


650
651
652
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 650

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



657
658
659
660
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 657

def update!(**args)
  @enterprise = args[:enterprise] if args.key?(:enterprise)
  @kind = args[:kind] if args.key?(:kind)
end