702
702
} ]
703
703
}
704
704
};
705
- defs.AnyOfbody_2 = ;
705
+ defs.AnyOfbody_1ParrotsItems = {};
706
+ defs.AnyOfbody_2 = {};
706
707
defs.ApiResponse = {
707
708
"type" : "object",
708
709
"properties" : {
849
850
}
850
851
}
851
852
};
852
- defs.OneOfAllPetsResponseItems = ;
853
- defs.OneOfPartMasterOrigin = ;
854
- defs.OneOfPup = ;
855
- defs.OneOfinline_response_200_1 = ;
853
+ defs.OneOfAllPetsResponseItems = {};
854
+ defs.OneOfPartMasterDestination = {};
855
+ defs.OneOfPartMasterOrigin = {};
856
+ defs.OneOfPetPartItems = {};
857
+ defs.OneOfPup = {};
858
+ defs.OneOfinline_response_200ParrotsItems = {};
859
+ defs.OneOfinline_response_200_1 = {};
860
+ defs.OneOfval_MembersVal_memberItems = {};
856
861
defs.Order = {
857
862
"type" : "object",
858
863
"properties" : {
@@ -2475,8 +2480,9 @@ <h3>Usage and SDK Samples</h3>
2475
2480
String petType = petType_example; // String | type of food
2476
2481
String status = status_example; // String | status
2477
2482
Long petId = 789; // Long | ID of pet to return
2483
+ String sessionId = sessionId_example; // String | session id
2478
2484
try {
2479
- apiInstance.feedPet(body, token, petType, status, petId);
2485
+ apiInstance.feedPet(body, token, petType, status, petId, sessionId );
2480
2486
} catch (ApiException e) {
2481
2487
System.err.println("Exception when calling PetApi#feedPet");
2482
2488
e.printStackTrace();
@@ -2497,8 +2503,9 @@ <h3>Usage and SDK Samples</h3>
2497
2503
String petType = petType_example; // String | type of food
2498
2504
String status = status_example; // String | status
2499
2505
Long petId = 789; // Long | ID of pet to return
2506
+ String sessionId = sessionId_example; // String | session id
2500
2507
try {
2501
- apiInstance.feedPet(body, token, petType, status, petId);
2508
+ apiInstance.feedPet(body, token, petType, status, petId, sessionId );
2502
2509
} catch (ApiException e) {
2503
2510
System.err.println("Exception when calling PetApi#feedPet");
2504
2511
e.printStackTrace();
@@ -2516,6 +2523,7 @@ <h3>Usage and SDK Samples</h3>
2516
2523
String *petType = petType_example; // type of food
2517
2524
String *status = status_example; // status
2518
2525
Long *petId = 789; // ID of pet to return
2526
+ String *sessionId = sessionId_example; // session id
2519
2527
2520
2528
PetApi *apiInstance = [[PetApi alloc] init];
2521
2529
@@ -2525,6 +2533,7 @@ <h3>Usage and SDK Samples</h3>
2525
2533
petType:petType
2526
2534
status:status
2527
2535
petId:petId
2536
+ sessionId:sessionId
2528
2537
completionHandler: ^(NSError* error) {
2529
2538
if (error) {
2530
2539
NSLog(@"Error: %@", error);
@@ -2542,6 +2551,7 @@ <h3>Usage and SDK Samples</h3>
2542
2551
var petType = petType_example; // {{String}} type of food
2543
2552
var status = status_example; // {{String}} status
2544
2553
var petId = 789; // {{Long}} ID of pet to return
2554
+ var sessionId = sessionId_example; // {{String}} session id
2545
2555
2546
2556
var callback = function(error, data, response) {
2547
2557
if (error) {
@@ -2550,7 +2560,7 @@ <h3>Usage and SDK Samples</h3>
2550
2560
console.log('API called successfully.');
2551
2561
}
2552
2562
};
2553
- api.feedPet(bodytokenpetTypestatuspetId , callback);
2563
+ api.feedPet(bodytokenpetTypestatuspetIdsessionId , callback);
2554
2564
</code></pre>
2555
2565
</div>
2556
2566
@@ -2577,11 +2587,12 @@ <h3>Usage and SDK Samples</h3>
2577
2587
var petType = petType_example; // String | type of food
2578
2588
var status = status_example; // String | status
2579
2589
var petId = 789; // Long | ID of pet to return
2590
+ var sessionId = sessionId_example; // String | session id
2580
2591
2581
2592
try
2582
2593
{
2583
2594
// Find pet by ID
2584
- apiInstance.feedPet(body, token, petType, status, petId);
2595
+ apiInstance.feedPet(body, token, petType, status, petId, sessionId );
2585
2596
}
2586
2597
catch (Exception e)
2587
2598
{
@@ -2603,9 +2614,10 @@ <h3>Usage and SDK Samples</h3>
2603
2614
$petType = petType_example; // String | type of food
2604
2615
$status = status_example; // String | status
2605
2616
$petId = 789; // Long | ID of pet to return
2617
+ $sessionId = sessionId_example; // String | session id
2606
2618
2607
2619
try {
2608
- $api_instance->feedPet($body, $token, $petType, $status, $petId);
2620
+ $api_instance->feedPet($body, $token, $petType, $status, $petId, $sessionId );
2609
2621
} catch (Exception $e) {
2610
2622
echo 'Exception when calling PetApi->feedPet: ', $e->getMessage(), PHP_EOL;
2611
2623
}
@@ -2623,9 +2635,10 @@ <h3>Usage and SDK Samples</h3>
2623
2635
my $petType = petType_example; # String | type of food
2624
2636
my $status = status_example; # String | status
2625
2637
my $petId = 789; # Long | ID of pet to return
2638
+ my $sessionId = sessionId_example; # String | session id
2626
2639
2627
2640
eval {
2628
- $api_instance->feedPet(body => $body, token => $token, petType => $petType, status => $status, petId => $petId);
2641
+ $api_instance->feedPet(body => $body, token => $token, petType => $petType, status => $status, petId => $petId, sessionId => $sessionId );
2629
2642
};
2630
2643
if ($@) {
2631
2644
warn "Exception when calling PetApi->feedPet: $@\n";
@@ -2646,10 +2659,11 @@ <h3>Usage and SDK Samples</h3>
2646
2659
petType = petType_example # String | type of food
2647
2660
status = status_example # String | status
2648
2661
petId = 789 # Long | ID of pet to return
2662
+ sessionId = sessionId_example # String | session id
2649
2663
2650
2664
try:
2651
2665
# Find pet by ID
2652
- api_instance.feed_pet(body, token, petType, status, petId)
2666
+ api_instance.feed_pet(body, token, petType, status, petId, sessionId )
2653
2667
except ApiException as e:
2654
2668
print("Exception when calling PetApi->feedPet: %s\n" % e)</code></pre>
2655
2669
</div>
0 commit comments