Class: Schemas::Common_types::IpAddressType
- Inherits:
-
Object
- Object
- Schemas::Common_types::IpAddressType
- Defined in:
- lib/bluevia/schemas/common_types.rb
Overview
http://www.telefonica.com/schemas/UNICA/REST/common/v1IpAddressType
ipv4 - (any)
ipv6 - (any)
Instance Attribute Summary collapse
-
#ipv4 ⇒ Object
Returns the value of attribute ipv4.
-
#ipv6 ⇒ Object
Returns the value of attribute ipv6.
Instance Method Summary collapse
-
#initialize(ipv4 = nil, ipv6 = nil) ⇒ IpAddressType
constructor
A new instance of IpAddressType.
Constructor Details
#initialize(ipv4 = nil, ipv6 = nil) ⇒ IpAddressType
Returns a new instance of IpAddressType.
70 71 72 73 |
# File 'lib/bluevia/schemas/common_types.rb', line 70 def initialize(ipv4 = nil, ipv6 = nil) @ipv4 = ipv4 @ipv6 = ipv6 end |
Instance Attribute Details
#ipv4 ⇒ Object
Returns the value of attribute ipv4.
67 68 69 |
# File 'lib/bluevia/schemas/common_types.rb', line 67 def ipv4 @ipv4 end |
#ipv6 ⇒ Object
Returns the value of attribute ipv6.
68 69 70 |
# File 'lib/bluevia/schemas/common_types.rb', line 68 def ipv6 @ipv6 end |