Class: DockerEngineAPI::Models::NetworkInspectResponse::Container

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/docker_engine_api/models/network_inspect_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(containers: nil, services: nil, status: nil) ⇒ Object

Some parameter documentations has been truncated, see DockerEngineAPI::Models::NetworkInspectResponse for more details.

The body of the “get network” http response message.

Parameters:



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
# File 'lib/docker_engine_api/models/network_inspect_response.rb', line 43

class Container < DockerEngineAPI::Internal::Type::BaseModel
  # @!attribute endpoint_id
  #
  #   @return [String, nil]
  optional :endpoint_id, String, api_name: :EndpointID

  # @!attribute i_pv4_address
  #
  #   @return [String, nil]
  optional :i_pv4_address, String, api_name: :IPv4Address

  # @!attribute i_pv6_address
  #
  #   @return [String, nil]
  optional :i_pv6_address, String, api_name: :IPv6Address

  # @!attribute mac_address
  #
  #   @return [String, nil]
  optional :mac_address, String, api_name: :MacAddress

  # @!attribute name
  #
  #   @return [String, nil]
  optional :name, String, api_name: :Name

  # @!method initialize(endpoint_id: nil, i_pv4_address: nil, i_pv6_address: nil, mac_address: nil, name: nil)
  #   contains network resources allocated and used for a container in a network.
  #
  #   @param endpoint_id [String]
  #   @param i_pv4_address [String]
  #   @param i_pv6_address [String]
  #   @param mac_address [String]
  #   @param name [String]
end

Instance Attribute Details

#endpoint_idString?

Returns:

  • (String, nil)


47
# File 'lib/docker_engine_api/models/network_inspect_response.rb', line 47

optional :endpoint_id, String, api_name: :EndpointID

#i_pv4_addressString?

Returns:

  • (String, nil)


52
# File 'lib/docker_engine_api/models/network_inspect_response.rb', line 52

optional :i_pv4_address, String, api_name: :IPv4Address

#i_pv6_addressString?

Returns:

  • (String, nil)


57
# File 'lib/docker_engine_api/models/network_inspect_response.rb', line 57

optional :i_pv6_address, String, api_name: :IPv6Address

#mac_addressString?

Returns:

  • (String, nil)


62
# File 'lib/docker_engine_api/models/network_inspect_response.rb', line 62

optional :mac_address, String, api_name: :MacAddress

#nameString?

Returns:

  • (String, nil)


67
# File 'lib/docker_engine_api/models/network_inspect_response.rb', line 67

optional :name, String, api_name: :Name