![]() |
ObjectiveC SDK
1.0
|
00001 // 00002 // TelekomServiceStatusResponse.h 00003 // common 00004 00005 /* 00006 * This file is part of the Telekom Objective C SDK 00007 * Copyright 2011 Deutsche Telekom AG 00008 * 00009 * Licensed under the Apache License, Version 2.0 (the "License"); 00010 * you may not use this file except in compliance with the License. 00011 * You may obtain a copy of the License at 00012 * 00013 * http://www.apache.org/licenses/LICENSE-2.0 00014 * 00015 * Unless required by applicable law or agreed to in writing, software 00016 * distributed under the License is distributed on an "AS IS" BASIS, 00017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00018 * See the License for the specific language governing permissions and 00019 * limitations under the License. 00020 */ 00021 00023 00027 #import <Foundation/Foundation.h> 00028 00029 00030 @interface TelekomServiceStatusResponse : NSObject { 00031 00032 // the status code 00033 NSString* statusCode; 00034 00035 // the status constant 00036 int statusConstant; 00037 00038 // the status message 00039 NSString* statusMessage; 00040 00041 // german status description 00042 NSString* statusDescriptionGerman; 00043 00044 // english status description 00045 NSString* statusDescriptionEnglish; 00046 } 00047 00048 @property (nonatomic, retain) NSString* statusCode; 00049 @property (nonatomic, retain) NSString* statusMessage; 00050 @property (nonatomic, retain) NSString* statusDescriptionGerman; 00051 @property (nonatomic, retain) NSString* statusDescriptionEnglish; 00052 00053 00063 - (void) setTelekomServiceStatusResponse: (NSString*) givenstatusCode withStatusConstant: (int) givenStatusConstant withStatusMessage: (NSString*) givenStatusMessage withStatusDescriptionGerman: (NSString*) givenStatusDescriptionGerman withStatusDescriptionEnglish: (NSString*) givenStatusDescriptionEnglish; 00064 00065 00075 - (TelekomServiceStatusResponse*) initWith: (NSString*) givenstatusCode withStatusConstant: (int) givenStatusConstant withStatusMessage: (NSString*) givenStatusMessage withStatusDescriptionGerman: (NSString*) givenStatusDescriptionGerman withStatusDescriptionEnglish: (NSString*) givenStatusDescriptionEnglish; 00076 00077 00083 - (BOOL) equals: (int) givenStatusCode; 00084 00085 @end
1.7.5