All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.internet2.middleware.grouper.ws.rest.attribute.WsRestAttributeDefDeleteRequest Maven / Gradle / Ivy

There is a newer version: 5.13.5
Show newest version
/*******************************************************************************
 * Copyright 2016 Internet2
 * 
 * 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 edu.internet2.middleware.grouper.ws.rest.attribute;

import edu.internet2.middleware.grouper.ws.coresoap.WsAttributeDefLookup;
import edu.internet2.middleware.grouper.ws.coresoap.WsParam;
import edu.internet2.middleware.grouper.ws.coresoap.WsSubjectLookup;
import edu.internet2.middleware.grouper.ws.rest.WsRequestBean;
import edu.internet2.middleware.grouper.ws.rest.method.GrouperRestHttpMethod;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * bean that will be the data from rest request
 *
 */
@ApiModel(description = "bean that will be the data from rest request for deleting attribute defs

actAsSubjectLookup: If allowed to act as other users (e.g. if a UI uses the Grouper WS behind the scenes), specify the user to act as here
" + "

wsAttributeDefLookups: AttributeDefs to be deleted
" + "

params: optional params for this request
") public class WsRestAttributeDefDeleteRequest implements WsRequestBean { /** field */ private WsAttributeDefLookup[] wsAttributeDefLookups; /** field */ private String txType; /** field */ private String clientVersion; /** field */ private WsSubjectLookup actAsSubjectLookup; /** field */ private WsParam[] params; /** * @return the clientVersion */ @ApiModelProperty(value = "Version of the client (i.e. that the client was coded against)", example = "v2_6_001") public String getClientVersion() { return this.clientVersion; } /** * @param clientVersion1 the clientVersion to set */ public void setClientVersion(String clientVersion1) { this.clientVersion = clientVersion1; } /** * @return the actAsSubjectLookup */ @ApiModelProperty(value = "If allowed to act as other users (e.g. if a UI uses the Grouper WS behind the scenes), specify the user") public WsSubjectLookup getActAsSubjectLookup() { return this.actAsSubjectLookup; } /** * @param actAsSubjectLookup1 the actAsSubjectLookup to set */ public void setActAsSubjectLookup(WsSubjectLookup actAsSubjectLookup1) { this.actAsSubjectLookup = actAsSubjectLookup1; } /** * @return the params */ public WsParam[] getParams() { return this.params; } /** * @param params1 the params to set */ public void setParams(WsParam[] params1) { this.params = params1; } /** * @see edu.internet2.middleware.grouper.ws.rest.WsRequestBean#retrieveRestHttpMethod() */ @Override public GrouperRestHttpMethod retrieveRestHttpMethod() { return GrouperRestHttpMethod.DELETE; } /** * field * @return the txType */ @ApiModelProperty(value = "is the GrouperTransactionType for the request. If blank, defaults to NONE (will finish as much as possible). Generally the only values for this param that make sense are NONE (or blank), and READ_WRITE_NEW.", example = "READ_WRITE_NEW") public String getTxType() { return this.txType; } /** * field * @param txType1 the txType to set */ public void setTxType(String txType1) { this.txType = txType1; } /** * field * @return the wsAttributeDefLookups */ public WsAttributeDefLookup[] getWsAttributeDefLookups() { return this.wsAttributeDefLookups; } /** * field * @param wsAttributeDefLookups1 the wsAttributeDefLookups to set */ public void setWsAttributeDefLookups(WsAttributeDefLookup[] wsAttributeDefLookups1) { this.wsAttributeDefLookups = wsAttributeDefLookups1; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy