forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Albert Cheng
committed
Oct 16, 2012
1 parent
52b13cc
commit 0862d5f
Showing
12 changed files
with
602 additions
and
1 deletion.
There are no files selected for viewing
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
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
109 changes: 109 additions & 0 deletions
109
.../com/microsoft/windowsazure/services/media/implementation/content/MediaProcessorType.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,109 @@ | ||
/** | ||
* Copyright 2012 Microsoft Corporation | ||
* | ||
* 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.media.implementation.content; | ||
|
||
import javax.xml.bind.annotation.XmlAccessType; | ||
import javax.xml.bind.annotation.XmlAccessorType; | ||
import javax.xml.bind.annotation.XmlElement; | ||
|
||
/** | ||
* This type maps the XML returned in the odata ATOM serialization | ||
* for Asset entities. | ||
* | ||
*/ | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
public class MediaProcessorType implements MediaServiceDTO { | ||
|
||
@XmlElement(name = "Id", namespace = Constants.ODATA_DATA_NS) | ||
protected String id; | ||
|
||
@XmlElement(name = "Name", namespace = Constants.ODATA_DATA_NS) | ||
protected String name; | ||
|
||
@XmlElement(name = "Description", namespace = Constants.ODATA_DATA_NS) | ||
protected String description; | ||
|
||
@XmlElement(name = "Sku", namespace = Constants.ODATA_DATA_NS) | ||
protected String sku; | ||
|
||
@XmlElement(name = "Vendor", namespace = Constants.ODATA_DATA_NS) | ||
protected String vendor; | ||
|
||
@XmlElement(name = "Version", namespace = Constants.ODATA_DATA_NS) | ||
protected String version; | ||
|
||
/** | ||
* @return the id | ||
*/ | ||
public String getId() { | ||
return id; | ||
} | ||
|
||
/** | ||
* @param id | ||
* the id to set | ||
*/ | ||
public void setId(String id) { | ||
this.id = id; | ||
} | ||
|
||
/** | ||
* @return the name | ||
*/ | ||
public String getName() { | ||
return name; | ||
} | ||
|
||
/** | ||
* @param name | ||
* the name to set | ||
*/ | ||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String getDescription() { | ||
return this.description; | ||
} | ||
|
||
public void setDescription(String description) { | ||
this.description = description; | ||
} | ||
|
||
public String getSku() { | ||
return this.sku; | ||
} | ||
|
||
public void setSku(String sku) { | ||
this.sku = sku; | ||
} | ||
|
||
public String getVendor() { | ||
return vendor; | ||
} | ||
|
||
public void setVendor(String vendor) { | ||
this.vendor = vendor; | ||
} | ||
|
||
public String getVersion() { | ||
return null; | ||
} | ||
|
||
public void setVersion(String version) { | ||
this.version = version; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
|
||
public class ListAssetsOptions { | ||
|
||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...ain/java/com/microsoft/windowsazure/services/media/models/ListMediaProcessorsOptions.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,22 @@ | ||
/** | ||
* Copyright 2012 Microsoft Corporation | ||
* | ||
* 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.media.models; | ||
|
||
/** | ||
* The Class ListLocatorsOptions. | ||
*/ | ||
public class ListMediaProcessorsOptions { | ||
|
||
} |
48 changes: 48 additions & 0 deletions
48
...main/java/com/microsoft/windowsazure/services/media/models/ListMediaProcessorsResult.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,48 @@ | ||
/** | ||
* Copyright 2011 Microsoft Corporation | ||
* | ||
* 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.media.models; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* The Class ListMediaProcessorsResult. | ||
*/ | ||
public class ListMediaProcessorsResult { | ||
|
||
/** The media processor infos. */ | ||
private List<MediaProcessorInfo> mediaProcessorInfos; | ||
|
||
/** | ||
* Gets the media processor infos. | ||
* | ||
* @return the media processor infos | ||
*/ | ||
public List<MediaProcessorInfo> getMediaProcessorInfos() { | ||
return mediaProcessorInfos; | ||
} | ||
|
||
/** | ||
* Sets the media processor infos. | ||
* | ||
* @param mediaProcessorInfos | ||
* the media processor infos | ||
* @return the list media processor result | ||
*/ | ||
public ListMediaProcessorsResult setMediaProcessorInfos(List<MediaProcessorInfo> mediaProcessorInfos) { | ||
this.mediaProcessorInfos = mediaProcessorInfos; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.