public static class Asset.Updater extends EntityOperationBase implements EntityUpdateOperation
EntityOperationBase.EntityIdUriBuilder, EntityOperationBase.EntityUriBuilder| Modifier | Constructor and Description |
|---|---|
protected |
Updater(String assetId)
Instantiates a new updater.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getRequestContents()
Get the contents of the merge request that will be sent to the server.
|
Asset.Updater |
setAlternateId(String alternateId)
Sets new alternate id for asset.
|
Asset.Updater |
setName(String name)
Sets new name for asset.
|
void |
setProxyData(EntityProxyData proxyData)
Supplies the current proxy information to the action.
|
getAcceptType, getContentType, getProxyData, getUri, processResponseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAcceptType, getContentType, getUri, processResponseprotected Updater(String assetId)
assetId - the asset idpublic void setProxyData(EntityProxyData proxyData)
EntityOperationsetProxyData in interface EntityOperationsetProxyData in class EntityOperationBasepublic Object getRequestContents()
EntityUpdateOperationgetRequestContents in interface EntityUpdateOperationpublic Asset.Updater setName(String name)
name - The new namepublic Asset.Updater setAlternateId(String alternateId)
alternateId - the new alternate id/**
* Copyright 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.
*/