com.microsoft.graph.serializer.ISerializer

Here are the examples of the java api com.microsoft.graph.serializer.ISerializer taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1861 Examples 7

19 Source : MockBaseClient.java
with MIT License
from microsoftgraph

public void setSerializer(final ISerializer serializer) {
    mSerializer = serializer;
}

19 Source : BaseClient.java
with MIT License
from microsoftgraph

/**
 * Sets the serializer
 *
 * @param serializer The serializer
 */
public void setSerializer(final ISerializer serializer) {
    this.serializer = serializer;
}

18 Source : CoreHttpProviderTests.java
with MIT License
from microsoftgraph

@Test
public void emptyPostContentTypeIsNotReset() {
    final String contentTypeValue = "application/json";
    final HeaderOption ctype = new HeaderOption("Content-Type", contentTypeValue);
    final ArrayList<Option> options = new ArrayList<>();
    options.add(ctype);
    final IHttpRequest absRequest = new BaseRequest<String>("https://localhost", mock(IBaseClient.clreplaced), options, String.clreplaced) {

        {
            this.setHttpMethod(HttpMethod.POST);
        }
    };
    final ISerializer serializer = mock(ISerializer.clreplaced);
    final ILogger logger = mock(ILogger.clreplaced);
    mProvider = new CoreHttpProvider(serializer, logger, new OkHttpClient.Builder().build());
    final Request request = mProvider.getHttpRequest(absRequest, String.clreplaced, null);
    replacedertEquals(contentTypeValue, request.body().contentType().toString());
}

18 Source : CoreHttpProviderTests.java
with MIT License
from microsoftgraph

@Test
public void emptyPostContentTypeIsNotSet() {
    final IHttpRequest absRequest = new BaseRequest<String>("https://localhost", mock(IBaseClient.clreplaced), Collections.emptyList(), String.clreplaced) {

        {
            this.setHttpMethod(HttpMethod.POST);
        }
    };
    final ISerializer serializer = mock(ISerializer.clreplaced);
    final ILogger logger = mock(ILogger.clreplaced);
    mProvider = new CoreHttpProvider(serializer, logger, new OkHttpClient.Builder().build());
    final Request request = mProvider.getHttpRequest(absRequest, String.clreplaced, null);
    replacedertNull(request.body().contentType());
}

18 Source : GraphServiceClientTest.java
with MIT License
from microsoftgraph

@Test
public void testOverrideOfSerializer() {
    ISerializer serializer = new ISerializer() {

        @Override
        public <T> String serializeObject(T serializableObject) {
            return null;
        }

        @Nullable
        @Override
        public <T> T deserializeObject(String inputString, Clreplaced<T> clazz, Map<String, List<String>> responseHeaders) {
            return null;
        }

        @Override
        public <T> T deserializeObject(InputStream inputStream, Clreplaced<T> clazz, Map<String, List<String>> responseHeaders) {
            return null;
        }

        @Nullable
        @Override
        public <T> T deserializeObject(JsonElement jsonElement, Clreplaced<T> clazz, Map<String, List<String>> responseHeaders) {
            return null;
        }
    };
    final IBaseClient<?> client = BaseClient.builder().serializer(serializer).authenticationProvider(getAuthProvider()).buildClient();
    replacedertEquals(serializer, client.getSerializer());
    replacedertNotNull(client.getHttpProvider());
    replacedertNotNull(client.getLogger());
    replacedertEquals(serializer, client.getHttpProvider().getSerializer());
}

18 Source : BaseClientTests.java
with MIT License
from microsoftgraph

/**
 * Test cases for {@see BaseClient}
 */
public clreplaced BaseClientTests {

    public static final String DEFAULT_GRAPH_ENDPOINT = "https://graph.microsoft.com/v1.0";

    private BaseClient<Request> baseClient;

    private IHttpProvider<Request> mHttpProvider;

    private ILogger mLogger;

    private ISerializer mSerializer;

    @BeforeEach
    public void setUp() throws Exception {
        baseClient = new BaseClient<>();
        mLogger = mock(ILogger.clreplaced);
        mSerializer = mock(ISerializer.clreplaced);
        mHttpProvider = new CoreHttpProvider(mSerializer, mLogger, new OkHttpClient.Builder().build());
    }

    @Test
    public void testNotNull() {
        replacedertNotNull(baseClient);
        replacedertNotNull(mHttpProvider);
        replacedertNotNull(mLogger);
        replacedertNotNull(mSerializer);
    }

    @Test
    public void testEndPoint() {
        replacedertEquals(DEFAULT_GRAPH_ENDPOINT, baseClient.getServiceRoot());
        String expectedServiceRoot = "https://foo.bar";
        baseClient.setServiceRoot(expectedServiceRoot);
        replacedertEquals(expectedServiceRoot, baseClient.getServiceRoot());
    }

    @Test
    public void testHttpProvider() {
        replacedertNull(baseClient.getHttpProvider());
        baseClient.setHttpProvider(mHttpProvider);
        replacedertEquals(mHttpProvider, baseClient.getHttpProvider());
    }

    public void testLogger() {
        replacedertNull(baseClient.getLogger());
        baseClient.setLogger(mLogger);
        replacedertEquals(mLogger, baseClient.getLogger());
    }

    @Test
    public void testSerializer() {
        replacedertNull(baseClient.getSerializer());
        baseClient.setSerializer(mSerializer);
        replacedertEquals(mSerializer, baseClient.getSerializer());
    }

    @Test
    public void testCustomRequest() {
        baseClient.setHttpProvider(new CoreHttpProvider(new DefaultSerializer(mLogger), mLogger, new OkHttpClient.Builder().build()));
        final CustomRequestBuilder<JsonElement> simpleRequestBuilder = baseClient.customRequest("");
        replacedertNotNull(simpleRequestBuilder);
        final CustomRequestBuilder<String> stringRequestBuilder = baseClient.customRequest("", String.clreplaced);
        replacedertNotNull(stringRequestBuilder);
        final CustomRequest<String> abs = stringRequestBuilder.buildRequest();
        abs.setHttpMethod(HttpMethod.POST);
        final Request nat = abs.getHttpRequest("somestring");
        replacedertEquals("\"somestring\"", getStringFromRequestBody(nat));
        replacedertEquals("application", nat.body().contentType().type());
        replacedertEquals("json", nat.body().contentType().subtype());
    }

    private String getStringFromRequestBody(Request request) {
        try {
            try (final ByteArrayOutputStream out = new ByteArrayOutputStream()) {
                final BufferedSink buffer = Okio.buffer(Okio.sink(out));
                final RequestBody body = request.body();
                if (body != null)
                    body.writeTo(buffer);
                try (final ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray())) {
                    return CoreHttpProvider.streamToString(in);
                }
            }
        } catch (Exception ex) {
            ex.printStackTrace();
            return "";
        }
    }
}

18 Source : ReferenceRequestBody.java
with MIT License
from microsoftgraph

/**
 * Sets the raw JSON object
 *
 * @param serializer the serializer
 * @param json       the JSON object to set this object to
 */
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
}

18 Source : GraphServiceException.java
with MIT License
from microsoftgraph

private static GraphErrorResponse parseErrorResponse(@Nonnull ISerializer serializer, @Nonnull Response response) throws IOException {
    Objects.requireNonNull(serializer, "serializer is required.");
    Objects.requireNonNull(response, "response is required.");
    byte[] responseBytes;
    try (final ResponseBody body = response.body()) {
        if (body == null) {
            responseBytes = new byte[] {};
        } else {
            try (final InputStream is = body.byteStream()) {
                responseBytes = ByteStreams.toByteArray(is);
            }
        }
    }
    GraphErrorResponse error;
    try {
        // we need a "copy" of the stream, so we can log the raw output if it cannot be parsed
        error = serializer.deserializeObject(new ByteArrayInputStream(responseBytes), GraphErrorResponse.clreplaced, response.headers().toMultimap());
    } catch (final Exception ex) {
        error = new GraphErrorResponse();
        error.error = new GraphError();
        error.error.code = "Unable to parse error response message";
        error.error.message = "Raw error: " + new String(responseBytes, UTF_8);
        error.error.innererror = new GraphInnerError();
        error.error.innererror.code = ex.getMessage();
    }
    return error;
}

18 Source : BaseClient.java
with MIT License
from microsoftgraph

/**
 * A client that communications with an OData service
 * @param <nativeRequestType> type of a request for the native http client
 */
public clreplaced BaseClient<nativeRequestType> implements IBaseClient<nativeRequestType> {

    /**
     * Restricted constructor
     */
    protected BaseClient() {
    }

    /**
     * The default endpoint for the Microsoft Graph Service
     */
    public static final String DEFAULT_GRAPH_ENDPOINT = "https://graph.microsoft.com/v1.0";

    /**
     * The current endpoint
     */
    private String endpoint;

    @Override
    @Nonnull
    public String getServiceRoot() {
        if (endpoint == null) {
            endpoint = DEFAULT_GRAPH_ENDPOINT;
        }
        return endpoint;
    }

    @Override
    public void setServiceRoot(@Nonnull final String value) {
        endpoint = Objects.requireNonNull(value, "value parameter cannot be null");
    }

    /**
     *  Send a custom request to Graph
     *
     *  @param url
     * 			the full URL to make a request with
     *  @param responseType
     * 			the response clreplaced to deserialize the response into
     *  @return the instance of this builder
     */
    @Nonnull
    public <T> CustomRequestBuilder<T> customRequest(@Nonnull final String url, @Nonnull final Clreplaced<T> responseType) {
        Objects.requireNonNull(url, "url parameter cannot be null");
        Objects.requireNonNull(responseType, "responseType parameter cannot be null");
        return new CustomRequestBuilder<>(getServiceRoot() + url, this, null, responseType);
    }

    /**
     *  Send a custom request to Graph
     *
     *  @param url
     * 			the full URL to make a request with
     *  @return the instance of this builder
     */
    @Nonnull
    public CustomRequestBuilder<JsonElement> customRequest(@Nonnull final String url) {
        return this.customRequest(url, JsonElement.clreplaced);
    }

    /**
     * Get the batch request builder.
     * @return a request builder to execute a batch.
     */
    @Nonnull
    public BatchRequestBuilder batch() {
        return new BatchRequestBuilder(getServiceRoot() + "/$batch", this, Collections.emptyList());
    }

    /**
     * Gets the builder to start configuring the client
     *
     * @return builder to start configuring the client
     */
    @Nonnull
    public static Builder<OkHttpClient, Request> builder() {
        return builder(OkHttpClient.clreplaced, Request.clreplaced);
    }

    /**
     * Gets the builder to start configuring the client
     *
     * @param <nativeClient> the type of the native http client
     * @param <nativeRequest> the type of the native http request
     * @param nativeClientClreplaced the clreplaced of the native http client
     * @param nativeRequestClreplaced the clreplaced of the native http request
     * @return builder to start configuring the client
     */
    @Nonnull
    public static <nativeClient, nativeRequest> Builder<nativeClient, nativeRequest> builder(@Nonnull final Clreplaced<nativeClient> nativeClientClreplaced, @Nonnull final Clreplaced<nativeRequest> nativeRequestClreplaced) {
        return new Builder<>();
    }

    /**
     * Builder to help configure the Graph service client
     * @param <httpClientType> type of the native http library client
     * @param <nativeRequestType> type of a request for the native http client
     */
    public static clreplaced Builder<httpClientType, nativeRequestType> {

        private ISerializer serializer;

        private IHttpProvider<nativeRequestType> httpProvider;

        private ILogger logger;

        private httpClientType httpClient;

        private IAuthenticationProvider auth;

        private IAuthenticationProvider getAuthenticationProvider() {
            if (auth == null) {
                throw new NullPointerException("auth");
            } else {
                return auth;
            }
        }

        private ILogger getLogger() {
            if (logger == null) {
                return new DefaultLogger();
            } else {
                return logger;
            }
        }

        private ISerializer getSerializer() {
            if (serializer == null) {
                return new DefaultSerializer(getLogger());
            } else {
                return serializer;
            }
        }

        @SuppressWarnings("unchecked")
        private httpClientType getHttpClient() {
            if (httpClient == null) {
                return (httpClientType) HttpClients.createDefault(getAuthenticationProvider());
            } else {
                return httpClient;
            }
        }

        @SuppressWarnings("unchecked")
        private IHttpProvider<nativeRequestType> getHttpProvider() {
            if (httpProvider == null) {
                return (IHttpProvider<nativeRequestType>) new CoreHttpProvider(getSerializer(), getLogger(), (OkHttpClient) getHttpClient());
            } else {
                return httpProvider;
            }
        }

        /**
         *  Sets the serializer.
         *
         *  @param serializer
         * 			the serializer
         *  @return the instance of this builder
         */
        @Nonnull
        public Builder<httpClientType, nativeRequestType> serializer(@Nonnull final ISerializer serializer) {
            Objects.requireNonNull(serializer, "parameter serializer cannot be null");
            this.serializer = serializer;
            return this;
        }

        /**
         *  Sets the httpProvider
         *
         *  @param httpProvider
         * 			the httpProvider
         *  @return the instance of this builder
         */
        @Nonnull
        public Builder<httpClientType, nativeRequestType> httpProvider(@Nonnull final IHttpProvider<nativeRequestType> httpProvider) {
            Objects.requireNonNull(httpProvider, "parameter httpProvider cannot be null");
            this.httpProvider = httpProvider;
            return this;
        }

        /**
         *  Sets the logger
         *
         *  @param logger
         * 			the logger
         *  @return the instance of this builder
         */
        @Nonnull
        public Builder<httpClientType, nativeRequestType> logger(@Nonnull final ILogger logger) {
            Objects.requireNonNull(logger, "parameter logger cannot be null");
            this.logger = logger;
            return this;
        }

        /**
         * Sets the http client
         *
         * @param client the http client
         *
         * @return the instance of this builder
         */
        @Nonnull
        public Builder<httpClientType, nativeRequestType> httpClient(@Nonnull final httpClientType client) {
            Objects.requireNonNull(client, "parameter client cannot be null");
            this.httpClient = client;
            return this;
        }

        /**
         * Sets the authentication provider
         *
         * @param auth the authentication provider
         * @return the instance of this builder
         */
        @Nonnull
        public Builder<httpClientType, nativeRequestType> authenticationProvider(@Nonnull final IAuthenticationProvider auth) {
            Objects.requireNonNull(auth, "parameter auth cannot be null");
            this.auth = auth;
            return this;
        }

        /**
         *  Builds and returns the Graph service client.
         *
         *  @param instance the instance to set the information for
         *  @param <ClientType> the type of the client to return
         *  @return the Graph service client object
         *  @throws ClientException
         * 			 if there was an exception creating the client
         */
        @Nonnull
        protected <ClientType extends BaseClient<nativeRequestType>> ClientType buildClient(@Nonnull ClientType instance) throws ClientException {
            Objects.requireNonNull(instance, "The instance cannot be null");
            instance.setHttpProvider(this.getHttpProvider());
            instance.setLogger(this.getLogger());
            instance.setSerializer(this.getSerializer());
            return instance;
        }

        /**
         *  Builds and returns the Graph service client.
         *
         *  @return the Graph service client object
         *  @throws ClientException
         * 			 if there was an exception creating the client
         */
        @Nonnull
        public IBaseClient<nativeRequestType> buildClient() throws ClientException {
            return buildClient(new BaseClient<>());
        }
    }

    /**
     * The HTTP provider instance
     */
    private IHttpProvider<nativeRequestType> httpProvider;

    /**
     * The logger
     */
    private ILogger logger;

    /**
     * The serializer instance
     */
    private ISerializer serializer;

    /**
     * Gets the HTTP provider
     *
     * @return The HTTP provider
     */
    @Override
    @Nullable
    public IHttpProvider<nativeRequestType> getHttpProvider() {
        return httpProvider;
    }

    /**
     * Gets the logger
     *
     * @return The logger
     */
    @Nullable
    public ILogger getLogger() {
        return logger;
    }

    /**
     * Gets the serializer
     *
     * @return The serializer
     */
    @Override
    @Nullable
    public ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the logger
     *
     * @param logger The logger
     */
    protected void setLogger(@Nonnull final ILogger logger) {
        Objects.requireNonNull(logger, "parameter logger cannot be null");
        this.logger = logger;
    }

    /**
     * Sets the HTTP provider
     *
     * @param httpProvider The HTTP provider
     */
    protected void setHttpProvider(@Nonnull final IHttpProvider<nativeRequestType> httpProvider) {
        Objects.requireNonNull(httpProvider, "parameter httpProvider cannot be null");
        this.httpProvider = httpProvider;
    }

    /**
     * Sets the serializer
     *
     * @param serializer The serializer
     */
    public void setSerializer(@Nonnull final ISerializer serializer) {
        Objects.requireNonNull(serializer, "parameter serializer cannot be null");
        this.serializer = serializer;
    }

    /**
     * Gets the service SDK version if the service SDK is in use, null otherwise
     * @return the service SDK version if the service SDK is in use, null otherwise
     */
    @Override
    @Nullable
    public String getServiceSDKVersion() {
        return null;
    }
}

18 Source : BaseClient.java
with MIT License
from microsoftgraph

/**
 * Sets the serializer
 *
 * @param serializer The serializer
 */
public void setSerializer(@Nonnull final ISerializer serializer) {
    Objects.requireNonNull(serializer, "parameter serializer cannot be null");
    this.serializer = serializer;
}

18 Source : ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.java
with MIT License
from microsoftgraph

/**
 * Sets the raw JSON object
 *
 * @param serializer the serializer
 * @param json the JSON object to set this object to
 */
public void setRawObject(final ISerializer serializer, final JsonObject json) {
    this.serializer = serializer;
    rawObject = json;
}

18 Source : WorkbookRangeSort.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Workbook Range Sort.
 */
public clreplaced WorkbookRangeSort extends Enreplacedy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : WorkbookFunctions.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Workbook Functions.
 */
public clreplaced WorkbookFunctions extends Enreplacedy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : WorkbookChartFill.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Workbook Chart Fill.
 */
public clreplaced WorkbookChartFill extends Enreplacedy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : WindowsInformationProtectionStoreApp.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Windows Information Protection Store App.
 */
public clreplaced WindowsInformationProtectionStoreApp extends WindowsInformationProtectionApp implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : UpdateRecordingStatusOperation.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Update Recording Status Operation.
 */
public clreplaced UpdateRecordingStatusOperation extends CommsOperation implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : UnmuteParticipantOperation.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Unmute Participant Operation.
 */
public clreplaced UnmuteParticipantOperation extends CommsOperation implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : TokenLifetimePolicy.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Token Lifetime Policy.
 */
public clreplaced TokenLifetimePolicy extends StsPolicy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : TokenIssuancePolicy.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Token Issuance Policy.
 */
public clreplaced TokenIssuancePolicy extends StsPolicy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : TeleconferenceDeviceScreenSharingQuality.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Teleconference Device Screen Sharing Quality.
 */
public clreplaced TeleconferenceDeviceScreenSharingQuality extends TeleconferenceDeviceVideoQuality implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : TeleconferenceDeviceAudioQuality.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Teleconference Device Audio Quality.
 */
public clreplaced TeleconferenceDeviceAudioQuality extends TeleconferenceDeviceMediaQuality implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : TeamworkBot.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Teamwork Bot.
 */
public clreplaced TeamworkBot extends Enreplacedy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : TeamsTemplate.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Teams Template.
 */
public clreplaced TeamsTemplate extends Enreplacedy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : SubscribeToToneOperation.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Subscribe To Tone Operation.
 */
public clreplaced SubscribeToToneOperation extends CommsOperation implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : SearchEntity.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Search Enreplacedy.
 */
public clreplaced SearchEnreplacedy extends Enreplacedy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : ReferenceAttachment.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Reference Attachment.
 */
public clreplaced ReferenceAttachment extends Attachment implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : PlayPromptOperation.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Play Prompt Operation.
 */
public clreplaced PlayPromptOperation extends CommsOperation implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : OutgoingCallOptions.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Outgoing Call Options.
 */
public clreplaced OutgoingCallOptions extends CallOptions implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : OrganizationalBrandingLocalization.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Organizational Branding Localization.
 */
public clreplaced OrganizationalBrandingLocalization extends OrganizationalBrandingProperties implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : MuteParticipantOperation.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Mute Participant Operation.
 */
public clreplaced MuteParticipantOperation extends CommsOperation implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : MdmWindowsInformationProtectionPolicy.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Mdm Windows Information Protection Policy.
 */
public clreplaced MdmWindowsInformationProtectionPolicy extends WindowsInformationProtection implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : MacOSOfficeSuiteApp.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Mac OSOffice Suite App.
 */
public clreplaced MacOSOfficeSuiteApp extends MobileApp implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : MacOSDeviceFeaturesConfiguration.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Mac OSDevice Features Configuration.
 */
public clreplaced MacOSDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigurationBase implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : IosVppEBookAssignment.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Ios Vpp EBook replacedignment.
 */
public clreplaced IosVppEBookreplacedignment extends ManagedEBookreplacedignment implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : IosManagedAppRegistration.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Ios Managed App Registration.
 */
public clreplaced IosManagedAppRegistration extends ManagedAppRegistration implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : IosCertificateProfile.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Ios Certificate Profile.
 */
public clreplaced IosCertificateProfile extends DeviceConfiguration implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : HomeRealmDiscoveryPolicy.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Home Realm Discovery Policy.
 */
public clreplaced HomeRealmDiscoveryPolicy extends StsPolicy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : FieldValueSet.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Field Value Set.
 */
public clreplaced FieldValueSet extends Enreplacedy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : Extension.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Extension.
 */
public clreplaced Extension extends Enreplacedy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : ExclusionGroupAssignmentTarget.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Exclusion Group replacedignment Target.
 */
public clreplaced ExclusionGroupreplacedignmentTarget extends GroupreplacedignmentTarget implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : DeviceAndAppManagementRoleDefinition.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Device And App Management Role Definition.
 */
public clreplaced DeviceAndAppManagementRoleDefinition extends RoleDefinition implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : ClaimsMappingPolicy.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Claims Mapping Policy.
 */
public clreplaced ClaimsMappingPolicy extends StsPolicy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : ChatMessageHostedContent.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Chat Message Hosted Content.
 */
public clreplaced ChatMessageHostedContent extends Enreplacedy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : CancelMediaProcessingOperation.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Cancel Media Processing Operation.
 */
public clreplaced CancelMediaProcessingOperation extends CommsOperation implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : AuthenticationMethod.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Authentication Method.
 */
public clreplaced AuthenticationMethod extends Enreplacedy implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : ApplicationEnforcedRestrictionsSessionControl.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Application Enforced Restrictions Session Control.
 */
public clreplaced ApplicationEnforcedRestrictionsSessionControl extends ConditionalAccessSessionControl implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : AppleDeviceFeaturesConfigurationBase.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Apple Device Features Configuration Base.
 */
public clreplaced AppleDeviceFeaturesConfigurationBase extends DeviceConfiguration implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : AndroidManagedAppRegistration.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the Android Managed App Registration.
 */
public clreplaced AndroidManagedAppRegistration extends ManagedAppRegistration implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : AllLicensedUsersAssignmentTarget.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the All Licensed Users replacedignment Target.
 */
public clreplaced AllLicensedUsersreplacedignmentTarget extends DeviceAndAppManagementreplacedignmentTarget implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

18 Source : AllDevicesAssignmentTarget.java
with MIT License
from microsoftgraph

// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
 * The clreplaced for the All Devices replacedignment Target.
 */
public clreplaced AllDevicesreplacedignmentTarget extends DeviceAndAppManagementreplacedignmentTarget implements IJsonBackedObject {

    /**
     * The raw representation of this clreplaced
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this clreplaced
     *
     * @return the raw representation of this clreplaced
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(final ISerializer serializer, final JsonObject json) {
        this.serializer = serializer;
        rawObject = json;
    }
}

See More Examples