internal string CreateFloatingIpJsonFixtrue(string id, string ipAddress, FloatingIpStatus status) { var payloadFixture = @"{{ ""router_id"": ""fafac59b-a94a-4525-8700-f4f448e0ac97"", ""status"": ""{1}"", ""tenant_id"": ""ffe683d1060449d09dac0bf9d7a371cd"", ""floating_network_id"": ""3eaab3f7-d3f2-430f-aa73-d07f39aae8f4"", ""fixed_ip_address"": ""10.0.0.2"", ""floating_ip_address"": ""{2}"", ""port_id"": ""9da94672-6e6b-446c-9579-3dd5484b31fd"", ""id"": ""{0}"" }}"; return(string.Format(payloadFixture, id, status, ipAddress)); }
/// <summary> /// Create a new instance of the FloatingIp class. /// </summary> /// <param name="id">The Id of the floating ip.</param> /// <param name="FloatingIpAddress">The floating ip address of the floating ip.</param> /// <param name="status">The status of the floating ip.</param> internal FloatingIp(string id, string FloatingIpAddress, FloatingIpStatus status) { this.Id = id; this.FloatingIpAddress = FloatingIpAddress; this.Status = status; }
/// <summary> /// Create a new instance of the FloatingIp class. /// </summary> /// <param name="id">The Id of the floating ip.</param> /// <param name="FloatingIpAddress">The floating ip address of the floating ip.</param> /// <param name="status">The status of the floating ip.</param> internal FloatingIp(string id, string FloatingIpAddress, FloatingIpStatus status) { this.Id = id; this.FloatingIpAddress = FloatingIpAddress; this.Status = status; }