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

de.gold.scim.common.resources.complex.PatchConfig Maven / Gradle / Ivy

The newest version!
package de.gold.scim.common.resources.complex;

import java.util.Optional;

import de.gold.scim.common.constants.AttributeNames;
import de.gold.scim.common.resources.base.ScimObjectNode;
import lombok.Builder;


/**
 * author Pascal Knueppel 
* created at: 18.10.2019 - 11:12
*
* A complex type that specifies PATCH configuration options. REQUIRED. See Section 3.5.2 of [RFC7644]. */ public class PatchConfig extends ScimObjectNode { @Builder public PatchConfig(Boolean supported) { super(null); setSupported(supported); } /** * A Boolean value specifying whether or not the operation is supported. REQUIRED. */ public boolean isSupported() { return getBooleanAttribute(AttributeNames.RFC7643.SUPPORTED).orElse(false); } /** * A Boolean value specifying whether or not the operation is supported. REQUIRED. */ public void setSupported(Boolean supported) { setAttribute(AttributeNames.RFC7643.SUPPORTED, Optional.ofNullable(supported).orElse(false)); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy