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

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

Go to download

A library of mostly generated request/response classes for the Black Duck REST API.

There is a newer version: 2019.2.0.2
Show newest version
/**
 * 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 java.util.Optional;
import com.synopsys.integration.blackduck.api.core.LinkResponse;
import com.synopsys.integration.blackduck.api.core.BlackDuckView;
import java.util.Optional;
import com.synopsys.integration.blackduck.api.core.LinkMultipleResponses;
import com.synopsys.integration.blackduck.api.generated.view.UserView;

/**
* this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
* **/
public class UserGroupViewV4 extends BlackDuckView {
	public static final String mediaType = "application/vnd.blackducksoftware.user-4+json";

	public static final Map links = new HashMap<>();
        public static final String USERS_LINK = "users";

	public static final LinkMultipleResponses USERS_LINK_RESPONSE = new LinkMultipleResponses(USERS_LINK, UserView.class);

    static {
	links.put(USERS_LINK, USERS_LINK_RESPONSE);
    }

    private Boolean active;
    private String userGroup;
    private String externalName;
    private String name;
    private Boolean default_;
    private String createdFrom;

    public Boolean getActive() {
	return active;
    }

    public void setActive(Boolean active) {
	this.active = active;
    }

    public String getUserGroup() {
	return userGroup;
    }

    public void setUserGroup(String userGroup) {
	this.userGroup = userGroup;
    }

    public String getExternalName() {
	return externalName;
    }

    public void setExternalName(String externalName) {
	this.externalName = externalName;
    }

    public String getName() {
	return name;
    }

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

    public Boolean getDefault_() {
	return default_;
    }

    public void setDefault_(Boolean default_) {
	this.default_ = default_;
    }

    public String getCreatedFrom() {
	return createdFrom;
    }

    public void setCreatedFrom(String createdFrom) {
	this.createdFrom = createdFrom;
    }


    public String getMediaType() {
	return mediaType;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy