forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Azure/master
Fetching upstream
- Loading branch information
Showing
11 changed files
with
773 additions
and
50 deletions.
There are no files selected for viewing
162 changes: 115 additions & 47 deletions
162
...ebus/src/main/java/com/microsoft/windowsazure/services/servicebus/ServiceBusContract.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
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
59 changes: 59 additions & 0 deletions
59
...main/java/com/microsoft/windowsazure/services/servicebus/models/CreateEventHubResult.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,59 @@ | ||
/** | ||
* | ||
* Copyright (c) Microsoft and contributors. All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
package com.microsoft.windowsazure.services.servicebus.models; | ||
|
||
/** | ||
* Represents the result of a <code>createTopic</code> operation. | ||
*/ | ||
public class CreateEventHubResult { | ||
|
||
private EventHubInfo value; | ||
|
||
/** | ||
* Creates an instance of the <code>CreateEventHubResult</code> class. | ||
* | ||
* @param value | ||
* A {@link EventHubInfo} object assigned as the value of the | ||
* result. | ||
*/ | ||
public CreateEventHubResult(EventHubInfo value) { | ||
this.setValue(value); | ||
} | ||
|
||
/** | ||
* Specfies the value of the result. | ||
* | ||
* @param value | ||
* A {@link EventHubInfo} object assigned as the value of the | ||
* result. | ||
*/ | ||
public void setValue(EventHubInfo value) { | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Returns the value of the result. | ||
* | ||
* @return A {@link EventHubInfo} object that represents the value of the | ||
* result. | ||
*/ | ||
public EventHubInfo getValue() { | ||
return value; | ||
} | ||
|
||
} |
Oops, something went wrong.