Class: Azure::Profiles::Latest::Links::Mgmt::LinksClass

Inherits:
Object
  • Object
show all
Defined in:
lib/latest/modules/links_profile_module.rb

Overview

Links

Defined Under Namespace

Classes: ModelClasses

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configurable, base_url = nil, options = nil) ⇒ LinksClass

Returns a new instance of LinksClass.



25
26
27
28
29
30
31
32
33
34
35
# File 'lib/latest/modules/links_profile_module.rb', line 25

def initialize(configurable, base_url=nil, options=nil)
  @configurable, @base_url, @options = configurable, base_url, options

  client_0 = Azure::Links::Mgmt::V2016_09_01::ManagementLinkClient.new(configurable.credentials, base_url, options)
  if(client_0.respond_to?(:subscription_id))
    client_0.subscription_id = configurable.subscription_id
  end
  @resource_links = client_0.resource_links

  @model_classes = ModelClasses.new
end

Instance Attribute Details

#base_urlObject (readonly)

Returns the value of attribute base_url.



23
24
25
# File 'lib/latest/modules/links_profile_module.rb', line 23

def base_url
  @base_url
end

#configurableObject (readonly)

Returns the value of attribute configurable.



23
24
25
# File 'lib/latest/modules/links_profile_module.rb', line 23

def configurable
  @configurable
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



23
24
25
# File 'lib/latest/modules/links_profile_module.rb', line 23

def model_classes
  @model_classes
end

#optionsObject (readonly)

Returns the value of attribute options.



23
24
25
# File 'lib/latest/modules/links_profile_module.rb', line 23

def options
  @options
end

Returns the value of attribute resource_links.



23
24
25
# File 'lib/latest/modules/links_profile_module.rb', line 23

def resource_links
  @resource_links
end