fi.metatavu.metaform.client.ExportThemesApi Maven / Gradle / Ivy
package fi.metatavu.metaform.client;
import fi.metatavu.metaform.ApiClient;
import fi.metatavu.metaform.EncodingUtils;
import fi.metatavu.metaform.client.BadRequest;
import fi.metatavu.metaform.client.ExportTheme;
import fi.metatavu.metaform.client.ExportThemeFile;
import fi.metatavu.metaform.client.Forbidden;
import fi.metatavu.metaform.client.InternalServerError;
import fi.metatavu.metaform.client.NotFound;
import java.util.UUID;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import feign.*;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-29T14:02:51.404+03:00")
public interface ExportThemesApi extends ApiClient.Api {
/**
* create new form export theme
* Creates new form export theme
* @param realmId realm id (required)
* @param payload Payload (required)
* @return ExportTheme
*/
@RequestLine("POST /realms/{realmId}/exportThemes")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ExportTheme createExportTheme(@Param("realmId") String realmId, ExportTheme payload);
/**
* create new export theme file
* Creates new export theme file
* @param realmId realm id (required)
* @param exportThemeId export theme id (required)
* @param payload Payload (required)
* @return ExportThemeFile
*/
@RequestLine("POST /realms/{realmId}/exportThemes/{exportThemeId}/files")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ExportThemeFile createExportThemeFile(@Param("realmId") String realmId, @Param("exportThemeId") UUID exportThemeId, ExportThemeFile payload);
/**
* Deletes an export theme
* Deletes an export theme
* @param realmId realm id (required)
* @param exportThemeId export theme id (required)
*/
@RequestLine("DELETE /realms/{realmId}/exportThemes/{exportThemeId}")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
void deleteExportTheme(@Param("realmId") String realmId, @Param("exportThemeId") UUID exportThemeId);
/**
* Deletes an export theme file
* Deletes an export theme file
* @param realmId realm id (required)
* @param exportThemeId export theme id (required)
* @param exportThemeFileId export theme file id (required)
*/
@RequestLine("DELETE /realms/{realmId}/exportThemes/{exportThemeId}/files/{exportThemeFileId}")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
void deleteExportThemeFile(@Param("realmId") String realmId, @Param("exportThemeId") UUID exportThemeId, @Param("exportThemeFileId") UUID exportThemeFileId);
/**
* Finds single export theme
* Finds single export theme
* @param realmId realm id (required)
* @param exportThemeId export theme id (required)
* @return ExportTheme
*/
@RequestLine("GET /realms/{realmId}/exportThemes/{exportThemeId}")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ExportTheme findExportTheme(@Param("realmId") String realmId, @Param("exportThemeId") UUID exportThemeId);
/**
* Finds single export theme file
* Finds single export theme file
* @param realmId realm id (required)
* @param exportThemeId export theme id (required)
* @param exportThemeFileId export theme file id (required)
* @return ExportThemeFile
*/
@RequestLine("GET /realms/{realmId}/exportThemes/{exportThemeId}/files/{exportThemeFileId}")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ExportThemeFile findExportThemeFile(@Param("realmId") String realmId, @Param("exportThemeId") UUID exportThemeId, @Param("exportThemeFileId") UUID exportThemeFileId);
/**
* Lists files of export theme
* Lists files of export theme
* @param realmId realm id (required)
* @param exportThemeId export theme id (required)
* @return List<ExportThemeFile>
*/
@RequestLine("GET /realms/{realmId}/exportThemes/{exportThemeId}/files")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
List listExportThemeFiles(@Param("realmId") String realmId, @Param("exportThemeId") UUID exportThemeId);
/**
* Lists form export themes
* Lists export themes
* @param realmId realm id (required)
* @return List<ExportTheme>
*/
@RequestLine("GET /realms/{realmId}/exportThemes")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
List listExportThemes(@Param("realmId") String realmId);
/**
* Updates export theme
* Updates export theme
* @param realmId realm id (required)
* @param exportThemeId ExportTheme id (required)
* @param payload Payload (required)
* @return ExportTheme
*/
@RequestLine("PUT /realms/{realmId}/exportThemes/{exportThemeId}")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ExportTheme updateExportTheme(@Param("realmId") String realmId, @Param("exportThemeId") UUID exportThemeId, ExportTheme payload);
/**
* Updates export theme file
* Updates export theme file
* @param realmId realm id (required)
* @param exportThemeId ExportTheme id (required)
* @param exportThemeFileId ExportThemeFile file id (required)
* @param payload Payload (required)
* @return ExportThemeFile
*/
@RequestLine("PUT /realms/{realmId}/exportThemes/{exportThemeId}/files/{exportThemeFileId}")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ExportThemeFile updateExportThemeFile(@Param("realmId") String realmId, @Param("exportThemeId") UUID exportThemeId, @Param("exportThemeFileId") UUID exportThemeFileId, ExportThemeFile payload);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy