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

com.synopsys.integration.blackduck.api.generated.view.RoleAssignmentViewV4 Maven / Gradle / Ivy

/**
 * blackduck-common-api
 *
 * Copyright (c) 2020 Synopsys, Inc.
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you 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.synopsys.integration.blackduck.api.generated.view;

import java.util.HashMap;
import java.util.Map;
import com.synopsys.integration.blackduck.api.core.BlackDuckView;
import com.synopsys.integration.blackduck.api.core.response.LinkResponse;
import com.synopsys.integration.blackduck.api.core.response.LinkSingleResponse;
import com.synopsys.integration.blackduck.api.generated.view.UserView;

/**
* RoleAssignmentViewV4 is now called UserRoleAssignmentView
* this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
* **/
public class RoleAssignmentViewV4 extends BlackDuckView {
	public static final Map links = new HashMap<>();

    public static final String USER_LINK = "user";

	public static final LinkSingleResponse USER_LINK_RESPONSE = new LinkSingleResponse(USER_LINK, UserView.class);

    static {
	    links.put(USER_LINK, USER_LINK_RESPONSE);
    }

    private String scope;
    private String name;
    private String role;
    private String description;

    public String getScope() {
	    return scope;
    }

    public void setScope(String scope) {
	    this.scope = scope;
    }

    public String getName() {
	    return name;
    }

    public void setName(String name) {
	    this.name = name;
    }

    public String getRole() {
	    return role;
    }

    public void setRole(String role) {
	    this.role = role;
    }

    public String getDescription() {
	    return description;
    }

    public void setDescription(String description) {
	    this.description = description;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy