@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-12T14:56:03.264844-05:00[America/New_York]") public class ChannelRestApi extends Object
Constructor and Description |
---|
ChannelRestApi() |
ChannelRestApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
Channel |
createChannel(String sessionid,
ChannelRequest channelRequest)
Creates a new channel
|
ApiResponse<Channel> |
createChannelWithHttpInfo(String sessionid,
ChannelRequest channelRequest)
Creates a new channel
|
Channel |
deleteChannel(String sessionid,
Long id)
Deletes a channels
|
ApiResponse<Channel> |
deleteChannelWithHttpInfo(String sessionid,
Long id)
Deletes a channels
|
ApiClient |
getApiClient()
Get the API client
|
List<Channel> |
getUserAvailableChannels(String sessionid)
Gets channels that user can subscribe to
|
ApiResponse<List<Channel>> |
getUserAvailableChannelsWithHttpInfo(String sessionid)
Gets channels that user can subscribe to
|
List<Channel> |
getUserManageableChannels(String sessionid)
Gets channels that user can update and delete
|
ApiResponse<List<Channel>> |
getUserManageableChannelsWithHttpInfo(String sessionid)
Gets channels that user can update and delete
|
void |
setApiClient(ApiClient apiClient)
Set the API client
|
Channel |
updateChannel(String sessionid,
ChannelUpdate channelUpdate)
Updates a channels
|
ApiResponse<Channel> |
updateChannelWithHttpInfo(String sessionid,
ChannelUpdate channelUpdate)
Updates a channels
|
public ChannelRestApi()
public ChannelRestApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- an instance of API clientpublic Channel createChannel(String sessionid, ChannelRequest channelRequest) throws ApiException
sessionid
- (required)channelRequest
- (required)ApiException
- if fails to make API callpublic ApiResponse<Channel> createChannelWithHttpInfo(String sessionid, ChannelRequest channelRequest) throws ApiException
sessionid
- (required)channelRequest
- (required)ApiException
- if fails to make API callpublic Channel deleteChannel(String sessionid, Long id) throws ApiException
sessionid
- (required)id
- (required)ApiException
- if fails to make API callpublic ApiResponse<Channel> deleteChannelWithHttpInfo(String sessionid, Long id) throws ApiException
sessionid
- (required)id
- (required)ApiException
- if fails to make API callpublic List<Channel> getUserAvailableChannels(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<List<Channel>> getUserAvailableChannelsWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic List<Channel> getUserManageableChannels(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<List<Channel>> getUserManageableChannelsWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic Channel updateChannel(String sessionid, ChannelUpdate channelUpdate) throws ApiException
sessionid
- (required)channelUpdate
- (required)ApiException
- if fails to make API callpublic ApiResponse<Channel> updateChannelWithHttpInfo(String sessionid, ChannelUpdate channelUpdate) throws ApiException
sessionid
- (required)channelUpdate
- (required)ApiException
- if fails to make API call