Class: Keystone::V2_0::Resource::Endpoint

Inherits:
Base
  • Object
show all
Defined in:
lib/keystone/v2_0/resource/endpoint.rb

Constant Summary collapse

@@attr_mappings =
{ "id"          => :id,
"service_id"  => :service_id,
"region"      => :region,
"adminurl"    => :admin_url,
"internalurl" => :internal_url,
"publicurl"   => :public_url,
"enabled"     => :enabled }

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Keystone::V2_0::Resource::Base

Instance Attribute Details

#admin_urlObject

Returns the value of attribute admin_url.



10
11
12
# File 'lib/keystone/v2_0/resource/endpoint.rb', line 10

def admin_url
  @admin_url
end

#enabledObject

Returns the value of attribute enabled.



13
14
15
# File 'lib/keystone/v2_0/resource/endpoint.rb', line 13

def enabled
  @enabled
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/keystone/v2_0/resource/endpoint.rb', line 7

def id
  @id
end

#internal_urlObject

Returns the value of attribute internal_url.



11
12
13
# File 'lib/keystone/v2_0/resource/endpoint.rb', line 11

def internal_url
  @internal_url
end

#public_urlObject

Returns the value of attribute public_url.



12
13
14
# File 'lib/keystone/v2_0/resource/endpoint.rb', line 12

def public_url
  @public_url
end

#regionObject

Returns the value of attribute region.



9
10
11
# File 'lib/keystone/v2_0/resource/endpoint.rb', line 9

def region
  @region
end

#service_idObject

Returns the value of attribute service_id.



8
9
10
# File 'lib/keystone/v2_0/resource/endpoint.rb', line 8

def service_id
  @service_id
end

Class Method Details

.attr_mappingsObject



23
24
25
# File 'lib/keystone/v2_0/resource/endpoint.rb', line 23

def self.attr_mappings
  @@attr_mappings
end