-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from ed5299b6ec825b140ef6df20a613e2f723df3069 (#3267)
updating operationId for tansactions to Noun_verb as per feedback.
- Loading branch information
1 parent
a529f81
commit 911e1e0
Showing
10 changed files
with
771 additions
and
197 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...microsoft/azure/management/billing/v2018_11_01_preview/TransactionsByBillingProfiles.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.billing.v2018_11_01_preview; | ||
|
||
import rx.Observable; | ||
import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.TransactionsByBillingProfilesInner; | ||
import com.microsoft.azure.arm.model.HasInner; | ||
|
||
/** | ||
* Type representing TransactionsByBillingProfiles. | ||
*/ | ||
public interface TransactionsByBillingProfiles extends HasInner<TransactionsByBillingProfilesInner> { | ||
/** | ||
* Lists the transactions by billingProfileName for given start date and end date. | ||
* | ||
* @param billingAccountName billing Account Id. | ||
* @param billingProfileName Billing Profile Id. | ||
* @param startDate Start date | ||
* @param endDate End date | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Observable<TransactionsListResult> listAsync(String billingAccountName, String billingProfileName, String startDate, String endDate); | ||
|
||
} |
31 changes: 31 additions & 0 deletions
31
...microsoft/azure/management/billing/v2018_11_01_preview/TransactionsByInvoiceSections.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.billing.v2018_11_01_preview; | ||
|
||
import rx.Observable; | ||
import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.TransactionsByInvoiceSectionsInner; | ||
import com.microsoft.azure.arm.model.HasInner; | ||
|
||
/** | ||
* Type representing TransactionsByInvoiceSections. | ||
*/ | ||
public interface TransactionsByInvoiceSections extends HasInner<TransactionsByInvoiceSectionsInner> { | ||
/** | ||
* Lists the transactions by invoiceSectionName for given start date and end date. | ||
* | ||
* @param billingAccountName billing Account Id. | ||
* @param invoiceSectionName InvoiceSection Id. | ||
* @param startDate Start date | ||
* @param endDate End date | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Observable<TransactionsListResult> listAsync(String billingAccountName, String invoiceSectionName, String startDate, String endDate); | ||
|
||
} |
32 changes: 32 additions & 0 deletions
32
...va/com/microsoft/azure/management/billing/v2018_11_01_preview/TransactionsListResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.billing.v2018_11_01_preview; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.arm.resources.models.HasManager; | ||
import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager; | ||
import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.TransactionsListResultInner; | ||
import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.TransactionsSummaryInner; | ||
import java.util.List; | ||
|
||
/** | ||
* Type representing TransactionsListResult. | ||
*/ | ||
public interface TransactionsListResult extends HasInner<TransactionsListResultInner>, HasManager<BillingManager> { | ||
/** | ||
* @return the nextLink value. | ||
*/ | ||
String nextLink(); | ||
|
||
/** | ||
* @return the value value. | ||
*/ | ||
List<TransactionsSummaryInner> value(); | ||
|
||
} |
225 changes: 28 additions & 197 deletions
225
...re/management/billing/v2018_11_01_preview/implementation/BillingManagementClientImpl.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...agement/billing/v2018_11_01_preview/implementation/TransactionsByBillingProfilesImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* abc | ||
*/ | ||
|
||
package com.microsoft.azure.management.billing.v2018_11_01_preview.implementation; | ||
|
||
import com.microsoft.azure.arm.model.implementation.WrapperImpl; | ||
import com.microsoft.azure.management.billing.v2018_11_01_preview.TransactionsByBillingProfiles; | ||
import rx.functions.Func1; | ||
import rx.Observable; | ||
import com.microsoft.azure.management.billing.v2018_11_01_preview.TransactionsListResult; | ||
|
||
class TransactionsByBillingProfilesImpl extends WrapperImpl<TransactionsByBillingProfilesInner> implements TransactionsByBillingProfiles { | ||
private final BillingManager manager; | ||
|
||
TransactionsByBillingProfilesImpl(BillingManager manager) { | ||
super(manager.inner().transactionsByBillingProfiles()); | ||
this.manager = manager; | ||
} | ||
|
||
public BillingManager manager() { | ||
return this.manager; | ||
} | ||
|
||
@Override | ||
public Observable<TransactionsListResult> listAsync(String billingAccountName, String billingProfileName, String startDate, String endDate) { | ||
TransactionsByBillingProfilesInner client = this.inner(); | ||
return client.listAsync(billingAccountName, billingProfileName, startDate, endDate) | ||
.map(new Func1<TransactionsListResultInner, TransactionsListResult>() { | ||
@Override | ||
public TransactionsListResult call(TransactionsListResultInner inner) { | ||
return new TransactionsListResultImpl(inner, manager()); | ||
} | ||
}); | ||
} | ||
|
||
} |
Oops, something went wrong.